From d9d5efc8bdf3233f18aa6b8f78016bf3170f7808 Mon Sep 17 00:00:00 2001 From: Jin Lei <54836179+msJinLei@users.noreply.github.com> Date: Mon, 26 Oct 2020 13:51:32 +0800 Subject: [PATCH 01/51] Generate flexible server cmdlets (#13269) --- src/MySql/docs/Az.MySql.md | 91 ++- src/MySql/docs/Get-AzMySqlConfiguration.md | 1 + src/MySql/docs/Get-AzMySqlConnectionString.md | 2 +- src/MySql/docs/Get-AzMySqlFirewallRule.md | 1 + src/MySql/docs/Get-AzMySqlFlexibleServer.md | 173 ++++++ .../Get-AzMySqlFlexibleServerConfiguration.md | 120 ++++ .../docs/Get-AzMySqlFlexibleServerDatabase.md | 120 ++++ .../Get-AzMySqlFlexibleServerFirewallRule.md | 120 ++++ .../docs/Get-AzMySqlFlexibleServerKey.md | 183 ++++++ .../docs/Get-AzMySqlFlexibleServerReplica.md | 120 ++++ ...Get-AzMySqlFlexibleServersConfiguration.md | 178 ++++++ .../Get-AzMySqlFlexibleServersDatabase.md | 178 ++++++ .../Get-AzMySqlFlexibleServersFirewallRule.md | 178 ++++++ .../Get-AzMySqlLocationBasedCapability.md | 104 ++++ src/MySql/docs/Get-AzMySqlServer.md | 1 + .../docs/Get-AzMySqlVirtualNetworkRule.md | 1 + .../Get-AzMySqlVirtualNetworkSubnetUsage.md | 228 +++++++ src/MySql/docs/New-AzMySqlFlexibleServer.md | 586 ++++++++++++++++++ .../docs/New-AzMySqlFlexibleServerDatabase.md | 227 +++++++ .../New-AzMySqlFlexibleServerFirewallRule.md | 229 +++++++ .../docs/New-AzMySqlFlexibleServerKey.md | 212 +++++++ src/MySql/docs/New-AzMySqlReplica.md | 2 +- .../docs/New-AzMySqlVirtualNetworkRule.md | 20 +- src/MySql/docs/Remove-AzMySqlFirewallRule.md | 1 + .../docs/Remove-AzMySqlFlexibleServer.md | 239 +++++++ .../docs/Remove-AzMySqlFlexibleServerKey.md | 255 ++++++++ .../Remove-AzMySqlFlexibleServersDatabase.md | 255 ++++++++ ...move-AzMySqlFlexibleServersFirewallRule.md | 255 ++++++++ src/MySql/docs/Remove-AzMySqlServer.md | 1 + .../docs/Remove-AzMySqlVirtualNetworkRule.md | 1 + .../docs/Restart-AzMySqlFlexibleServer.md | 239 +++++++ src/MySql/docs/Restart-AzMySqlServer.md | 1 + src/MySql/docs/Restore-AzMySqlServer.md | 2 +- .../docs/Set-AzMySqlFlexibleServerDatabase.md | 262 ++++++++ .../Set-AzMySqlFlexibleServerFirewallRule.md | 264 ++++++++ .../docs/Set-AzMySqlFlexibleServerKey.md | 246 ++++++++ src/MySql/docs/Start-AzMySqlFlexibleServer.md | 239 +++++++ src/MySql/docs/Stop-AzMySqlFlexibleServer.md | 239 +++++++ ...-AzMySqlFlexibleServersNameAvailability.md | 228 +++++++ .../docs/Test-AzMySqlNameAvailability.md | 227 +++++++ src/MySql/docs/Update-AzMySqlConfiguration.md | 1 + src/MySql/docs/Update-AzMySqlFirewallRule.md | 1 + .../docs/Update-AzMySqlFlexibleServer.md | 480 ++++++++++++++ ...ate-AzMySqlFlexibleServersConfiguration.md | 270 ++++++++ src/MySql/docs/Update-AzMySqlServer.md | 1 + .../docs/Update-AzMySqlVirtualNetworkRule.md | 1 + .../examples/Get-AzMySqlFlexibleServer.md | 18 + .../Get-AzMySqlFlexibleServerConfiguration.md | 18 + .../Get-AzMySqlFlexibleServerDatabase.md | 18 + .../Get-AzMySqlFlexibleServerFirewallRule.md | 18 + .../examples/Get-AzMySqlFlexibleServerKey.md | 18 + .../Get-AzMySqlFlexibleServerReplica.md | 18 + ...Get-AzMySqlFlexibleServersConfiguration.md | 18 + .../Get-AzMySqlFlexibleServersDatabase.md | 18 + .../Get-AzMySqlFlexibleServersFirewallRule.md | 18 + .../Get-AzMySqlLocationBasedCapability.md | 18 + .../Get-AzMySqlVirtualNetworkSubnetUsage.md | 18 + .../examples/New-AzMySqlFlexibleServer.md | 18 + .../New-AzMySqlFlexibleServerDatabase.md | 18 + .../New-AzMySqlFlexibleServerFirewallRule.md | 18 + .../examples/New-AzMySqlFlexibleServerKey.md | 18 + .../examples/New-AzMySqlVirtualNetworkRule.md | 21 +- .../examples/Remove-AzMySqlFlexibleServer.md | 18 + .../Remove-AzMySqlFlexibleServerKey.md | 18 + .../Remove-AzMySqlFlexibleServersDatabase.md | 18 + ...move-AzMySqlFlexibleServersFirewallRule.md | 18 + .../examples/Restart-AzMySqlFlexibleServer.md | 18 + .../Set-AzMySqlFlexibleServerDatabase.md | 18 + .../Set-AzMySqlFlexibleServerFirewallRule.md | 18 + .../examples/Set-AzMySqlFlexibleServerKey.md | 18 + .../examples/Start-AzMySqlFlexibleServer.md | 18 + .../examples/Stop-AzMySqlFlexibleServer.md | 18 + ...-AzMySqlFlexibleServersNameAvailability.md | 18 + .../examples/Test-AzMySqlNameAvailability.md | 18 + .../examples/Update-AzMySqlFlexibleServer.md | 18 + ...ate-AzMySqlFlexibleServersConfiguration.md | 18 + src/MySql/readme.md | 25 +- 77 files changed, 7327 insertions(+), 24 deletions(-) create mode 100644 src/MySql/docs/Get-AzMySqlFlexibleServer.md create mode 100644 src/MySql/docs/Get-AzMySqlFlexibleServerConfiguration.md create mode 100644 src/MySql/docs/Get-AzMySqlFlexibleServerDatabase.md create mode 100644 src/MySql/docs/Get-AzMySqlFlexibleServerFirewallRule.md create mode 100644 src/MySql/docs/Get-AzMySqlFlexibleServerKey.md create mode 100644 src/MySql/docs/Get-AzMySqlFlexibleServerReplica.md create mode 100644 src/MySql/docs/Get-AzMySqlFlexibleServersConfiguration.md create mode 100644 src/MySql/docs/Get-AzMySqlFlexibleServersDatabase.md create mode 100644 src/MySql/docs/Get-AzMySqlFlexibleServersFirewallRule.md create mode 100644 src/MySql/docs/Get-AzMySqlLocationBasedCapability.md create mode 100644 src/MySql/docs/Get-AzMySqlVirtualNetworkSubnetUsage.md create mode 100644 src/MySql/docs/New-AzMySqlFlexibleServer.md create mode 100644 src/MySql/docs/New-AzMySqlFlexibleServerDatabase.md create mode 100644 src/MySql/docs/New-AzMySqlFlexibleServerFirewallRule.md create mode 100644 src/MySql/docs/New-AzMySqlFlexibleServerKey.md create mode 100644 src/MySql/docs/Remove-AzMySqlFlexibleServer.md create mode 100644 src/MySql/docs/Remove-AzMySqlFlexibleServerKey.md create mode 100644 src/MySql/docs/Remove-AzMySqlFlexibleServersDatabase.md create mode 100644 src/MySql/docs/Remove-AzMySqlFlexibleServersFirewallRule.md create mode 100644 src/MySql/docs/Restart-AzMySqlFlexibleServer.md create mode 100644 src/MySql/docs/Set-AzMySqlFlexibleServerDatabase.md create mode 100644 src/MySql/docs/Set-AzMySqlFlexibleServerFirewallRule.md create mode 100644 src/MySql/docs/Set-AzMySqlFlexibleServerKey.md create mode 100644 src/MySql/docs/Start-AzMySqlFlexibleServer.md create mode 100644 src/MySql/docs/Stop-AzMySqlFlexibleServer.md create mode 100644 src/MySql/docs/Test-AzMySqlFlexibleServersNameAvailability.md create mode 100644 src/MySql/docs/Test-AzMySqlNameAvailability.md create mode 100644 src/MySql/docs/Update-AzMySqlFlexibleServer.md create mode 100644 src/MySql/docs/Update-AzMySqlFlexibleServersConfiguration.md create mode 100644 src/MySql/examples/Get-AzMySqlFlexibleServer.md create mode 100644 src/MySql/examples/Get-AzMySqlFlexibleServerConfiguration.md create mode 100644 src/MySql/examples/Get-AzMySqlFlexibleServerDatabase.md create mode 100644 src/MySql/examples/Get-AzMySqlFlexibleServerFirewallRule.md create mode 100644 src/MySql/examples/Get-AzMySqlFlexibleServerKey.md create mode 100644 src/MySql/examples/Get-AzMySqlFlexibleServerReplica.md create mode 100644 src/MySql/examples/Get-AzMySqlFlexibleServersConfiguration.md create mode 100644 src/MySql/examples/Get-AzMySqlFlexibleServersDatabase.md create mode 100644 src/MySql/examples/Get-AzMySqlFlexibleServersFirewallRule.md create mode 100644 src/MySql/examples/Get-AzMySqlLocationBasedCapability.md create mode 100644 src/MySql/examples/Get-AzMySqlVirtualNetworkSubnetUsage.md create mode 100644 src/MySql/examples/New-AzMySqlFlexibleServer.md create mode 100644 src/MySql/examples/New-AzMySqlFlexibleServerDatabase.md create mode 100644 src/MySql/examples/New-AzMySqlFlexibleServerFirewallRule.md create mode 100644 src/MySql/examples/New-AzMySqlFlexibleServerKey.md create mode 100644 src/MySql/examples/Remove-AzMySqlFlexibleServer.md create mode 100644 src/MySql/examples/Remove-AzMySqlFlexibleServerKey.md create mode 100644 src/MySql/examples/Remove-AzMySqlFlexibleServersDatabase.md create mode 100644 src/MySql/examples/Remove-AzMySqlFlexibleServersFirewallRule.md create mode 100644 src/MySql/examples/Restart-AzMySqlFlexibleServer.md create mode 100644 src/MySql/examples/Set-AzMySqlFlexibleServerDatabase.md create mode 100644 src/MySql/examples/Set-AzMySqlFlexibleServerFirewallRule.md create mode 100644 src/MySql/examples/Set-AzMySqlFlexibleServerKey.md create mode 100644 src/MySql/examples/Start-AzMySqlFlexibleServer.md create mode 100644 src/MySql/examples/Stop-AzMySqlFlexibleServer.md create mode 100644 src/MySql/examples/Test-AzMySqlFlexibleServersNameAvailability.md create mode 100644 src/MySql/examples/Test-AzMySqlNameAvailability.md create mode 100644 src/MySql/examples/Update-AzMySqlFlexibleServer.md create mode 100644 src/MySql/examples/Update-AzMySqlFlexibleServersConfiguration.md diff --git a/src/MySql/docs/Az.MySql.md b/src/MySql/docs/Az.MySql.md index 07dda35b8bd1..1e1f59bac940 100644 --- a/src/MySql/docs/Az.MySql.md +++ b/src/MySql/docs/Az.MySql.md @@ -1,6 +1,6 @@ --- Module Name: Az.MySql -Module Guid: 71b613fa-1c6a-420e-976b-91de82d27c68 +Module Guid: 0c9ad3d3-5d2e-4727-8628-71ff53cf49a2 Download Help Link: https://docs.microsoft.com/en-us/powershell/module/az.mysql Help Version: 1.0.0.0 Locale: en-US @@ -20,6 +20,36 @@ Get the connection string according to client connection provider. ### [Get-AzMySqlFirewallRule](Get-AzMySqlFirewallRule.md) Gets information about a server firewall rule. +### [Get-AzMySqlFlexibleServer](Get-AzMySqlFlexibleServer.md) +Gets information about a server. + +### [Get-AzMySqlFlexibleServerConfiguration](Get-AzMySqlFlexibleServerConfiguration.md) +List all the configurations in a given server. + +### [Get-AzMySqlFlexibleServerDatabase](Get-AzMySqlFlexibleServerDatabase.md) +List all the databases in a given server. + +### [Get-AzMySqlFlexibleServerFirewallRule](Get-AzMySqlFlexibleServerFirewallRule.md) +List all the firewall rules in a given server. + +### [Get-AzMySqlFlexibleServerKey](Get-AzMySqlFlexibleServerKey.md) +Gets a server key. + +### [Get-AzMySqlFlexibleServerReplica](Get-AzMySqlFlexibleServerReplica.md) +List all the replicas for a given server. + +### [Get-AzMySqlFlexibleServersConfiguration](Get-AzMySqlFlexibleServersConfiguration.md) +Gets information about a configuration of server. + +### [Get-AzMySqlFlexibleServersDatabase](Get-AzMySqlFlexibleServersDatabase.md) +Gets information about a database. + +### [Get-AzMySqlFlexibleServersFirewallRule](Get-AzMySqlFlexibleServersFirewallRule.md) +Gets information about a server firewall rule. + +### [Get-AzMySqlLocationBasedCapability](Get-AzMySqlLocationBasedCapability.md) +Get capabilities at specified location in a given subscription. + ### [Get-AzMySqlReplica](Get-AzMySqlReplica.md) List all the replicas for a given server. @@ -29,9 +59,25 @@ Gets information about a server. ### [Get-AzMySqlVirtualNetworkRule](Get-AzMySqlVirtualNetworkRule.md) Gets a virtual network rule. +### [Get-AzMySqlVirtualNetworkSubnetUsage](Get-AzMySqlVirtualNetworkSubnetUsage.md) +Get virtual network subnet usage for a given vNet resource id. + ### [New-AzMySqlFirewallRule](New-AzMySqlFirewallRule.md) Creates a new firewall rule or updates an existing firewall rule. +### [New-AzMySqlFlexibleServer](New-AzMySqlFlexibleServer.md) +Creates a new server or updates an existing server. +The update action will overwrite the existing server. + +### [New-AzMySqlFlexibleServerDatabase](New-AzMySqlFlexibleServerDatabase.md) +Creates a new database or updates an existing database. + +### [New-AzMySqlFlexibleServerFirewallRule](New-AzMySqlFlexibleServerFirewallRule.md) +Creates a new firewall rule or updates an existing firewall rule. + +### [New-AzMySqlFlexibleServerKey](New-AzMySqlFlexibleServerKey.md) +Creates or updates a MySQL Server key. + ### [New-AzMySqlReplica](New-AzMySqlReplica.md) Creates a new replica from an existing database. @@ -44,18 +90,54 @@ Creates or updates an existing virtual network rule. ### [Remove-AzMySqlFirewallRule](Remove-AzMySqlFirewallRule.md) Deletes a server firewall rule. +### [Remove-AzMySqlFlexibleServer](Remove-AzMySqlFlexibleServer.md) +Deletes a server. + +### [Remove-AzMySqlFlexibleServerKey](Remove-AzMySqlFlexibleServerKey.md) +Deletes the MySQL Server key with the given name. + +### [Remove-AzMySqlFlexibleServersDatabase](Remove-AzMySqlFlexibleServersDatabase.md) +Deletes a database. + +### [Remove-AzMySqlFlexibleServersFirewallRule](Remove-AzMySqlFlexibleServersFirewallRule.md) +Deletes a firewall rule. + ### [Remove-AzMySqlServer](Remove-AzMySqlServer.md) Deletes a server. ### [Remove-AzMySqlVirtualNetworkRule](Remove-AzMySqlVirtualNetworkRule.md) Deletes the virtual network rule with the given name. +### [Restart-AzMySqlFlexibleServer](Restart-AzMySqlFlexibleServer.md) +Restarts a server. + ### [Restart-AzMySqlServer](Restart-AzMySqlServer.md) Restarts a server. ### [Restore-AzMySqlServer](Restore-AzMySqlServer.md) Restore a server from an existing backup +### [Set-AzMySqlFlexibleServerDatabase](Set-AzMySqlFlexibleServerDatabase.md) +Creates a new database or updates an existing database. + +### [Set-AzMySqlFlexibleServerFirewallRule](Set-AzMySqlFlexibleServerFirewallRule.md) +Creates a new firewall rule or updates an existing firewall rule. + +### [Set-AzMySqlFlexibleServerKey](Set-AzMySqlFlexibleServerKey.md) +Creates or updates a MySQL Server key. + +### [Start-AzMySqlFlexibleServer](Start-AzMySqlFlexibleServer.md) +Starts a server. + +### [Stop-AzMySqlFlexibleServer](Stop-AzMySqlFlexibleServer.md) +Stops a server. + +### [Test-AzMySqlFlexibleServersNameAvailability](Test-AzMySqlFlexibleServersNameAvailability.md) +Check the availability of name for server + +### [Test-AzMySqlNameAvailability](Test-AzMySqlNameAvailability.md) +Check the availability of name for resource + ### [Update-AzMySqlConfiguration](Update-AzMySqlConfiguration.md) Updates a configuration of a server. Use Update-AzMySqlServer instead if you want update AdministratorLoginPassword, sku, etc. @@ -63,6 +145,13 @@ Use Update-AzMySqlServer instead if you want update AdministratorLoginPassword, ### [Update-AzMySqlFirewallRule](Update-AzMySqlFirewallRule.md) Creates a new firewall rule or updates an existing firewall rule. +### [Update-AzMySqlFlexibleServer](Update-AzMySqlFlexibleServer.md) +Updates an existing server. +The request body can contain one to many of the properties present in the normal server definition. + +### [Update-AzMySqlFlexibleServersConfiguration](Update-AzMySqlFlexibleServersConfiguration.md) +Updates a configuration of a server. + ### [Update-AzMySqlServer](Update-AzMySqlServer.md) Updates an existing server. The request body can contain one to many of the properties present in the normal server definition. diff --git a/src/MySql/docs/Get-AzMySqlConfiguration.md b/src/MySql/docs/Get-AzMySqlConfiguration.md index 50efb1f5315f..e38c2f7c6429 100644 --- a/src/MySql/docs/Get-AzMySqlConfiguration.md +++ b/src/MySql/docs/Get-AzMySqlConfiguration.md @@ -183,6 +183,7 @@ INPUTOBJECT : Identity Parameter - `[DatabaseName ]`: The name of the database. - `[FirewallRuleName ]`: The name of the server firewall rule. - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. - `[LocationName ]`: The name of the location. - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - `[SecurityAlertPolicyName ]`: The name of the security alert policy. diff --git a/src/MySql/docs/Get-AzMySqlConnectionString.md b/src/MySql/docs/Get-AzMySqlConnectionString.md index 1b6a5e256eb9..d586aefc49ad 100644 --- a/src/MySql/docs/Get-AzMySqlConnectionString.md +++ b/src/MySql/docs/Get-AzMySqlConnectionString.md @@ -162,6 +162,7 @@ To create the parameters described below, construct a hash table containing the INPUTOBJECT : The source server object to create replica from. - `Location `: The geo-location where the resource lives + - `SkuName `: The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. - `[Tag ]`: Resource tags. - `[(Any) ]`: This indicates any property can be added to this object. - `[AdministratorLogin ]`: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). @@ -176,7 +177,6 @@ INPUTOBJECT : The source server object to create replica from. - `[ReplicationRole ]`: The replication role of the server. - `[SkuCapacity ]`: The scale up/out capacity, representing server's compute units. - `[SkuFamily ]`: The family of hardware. - - `[SkuName ]`: The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. - `[SkuSize ]`: The size code, to be interpreted by resource as appropriate. - `[SkuTier ]`: The tier of the particular SKU, e.g. Basic. - `[SslEnforcement ]`: Enable ssl enforcement or not when connect to server. diff --git a/src/MySql/docs/Get-AzMySqlFirewallRule.md b/src/MySql/docs/Get-AzMySqlFirewallRule.md index 02a7cf376106..9fa728f0c250 100644 --- a/src/MySql/docs/Get-AzMySqlFirewallRule.md +++ b/src/MySql/docs/Get-AzMySqlFirewallRule.md @@ -187,6 +187,7 @@ INPUTOBJECT : Identity Parameter - `[DatabaseName ]`: The name of the database. - `[FirewallRuleName ]`: The name of the server firewall rule. - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. - `[LocationName ]`: The name of the location. - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - `[SecurityAlertPolicyName ]`: The name of the security alert policy. diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServer.md b/src/MySql/docs/Get-AzMySqlFlexibleServer.md new file mode 100644 index 000000000000..7b68b309fdd9 --- /dev/null +++ b/src/MySql/docs/Get-AzMySqlFlexibleServer.md @@ -0,0 +1,173 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserver +schema: 2.0.0 +--- + +# Get-AzMySqlFlexibleServer + +## SYNOPSIS +Gets information about a server. + +## SYNTAX + +### List1 (Default) +``` +Get-AzMySqlFlexibleServer [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzMySqlFlexibleServer -ResourceGroupName -ServerName [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzMySqlFlexibleServer -InputObject [-DefaultProfile ] [] +``` + +### List +``` +Get-AzMySqlFlexibleServer -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +## DESCRIPTION +Gets information about a server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: Get, List, List1 +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServerConfiguration.md b/src/MySql/docs/Get-AzMySqlFlexibleServerConfiguration.md new file mode 100644 index 000000000000..db702aed60ae --- /dev/null +++ b/src/MySql/docs/Get-AzMySqlFlexibleServerConfiguration.md @@ -0,0 +1,120 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserverconfiguration +schema: 2.0.0 +--- + +# Get-AzMySqlFlexibleServerConfiguration + +## SYNOPSIS +List all the configurations in a given server. + +## SYNTAX + +``` +Get-AzMySqlFlexibleServerConfiguration -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +## DESCRIPTION +List all the configurations in a given server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IConfigurationAutoGenerated + +## NOTES + +ALIASES + +## RELATED LINKS + diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServerDatabase.md b/src/MySql/docs/Get-AzMySqlFlexibleServerDatabase.md new file mode 100644 index 000000000000..d5d919d1c7b3 --- /dev/null +++ b/src/MySql/docs/Get-AzMySqlFlexibleServerDatabase.md @@ -0,0 +1,120 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserverdatabase +schema: 2.0.0 +--- + +# Get-AzMySqlFlexibleServerDatabase + +## SYNOPSIS +List all the databases in a given server. + +## SYNTAX + +``` +Get-AzMySqlFlexibleServerDatabase -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +## DESCRIPTION +List all the databases in a given server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IDatabase + +## NOTES + +ALIASES + +## RELATED LINKS + diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServerFirewallRule.md b/src/MySql/docs/Get-AzMySqlFlexibleServerFirewallRule.md new file mode 100644 index 000000000000..efe2333d51fa --- /dev/null +++ b/src/MySql/docs/Get-AzMySqlFlexibleServerFirewallRule.md @@ -0,0 +1,120 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserverfirewallrule +schema: 2.0.0 +--- + +# Get-AzMySqlFlexibleServerFirewallRule + +## SYNOPSIS +List all the firewall rules in a given server. + +## SYNTAX + +``` +Get-AzMySqlFlexibleServerFirewallRule -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +## DESCRIPTION +List all the firewall rules in a given server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule + +## NOTES + +ALIASES + +## RELATED LINKS + diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServerKey.md b/src/MySql/docs/Get-AzMySqlFlexibleServerKey.md new file mode 100644 index 000000000000..69f865b01d57 --- /dev/null +++ b/src/MySql/docs/Get-AzMySqlFlexibleServerKey.md @@ -0,0 +1,183 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserverkey +schema: 2.0.0 +--- + +# Get-AzMySqlFlexibleServerKey + +## SYNOPSIS +Gets a server key. + +## SYNTAX + +### List (Default) +``` +Get-AzMySqlFlexibleServerKey -ResourceGroupName -ServerName [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzMySqlFlexibleServerKey -KeyName -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzMySqlFlexibleServerKey -InputObject [-DefaultProfile ] [] +``` + +## DESCRIPTION +Gets a server key. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -KeyName +The name of the server key. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerKey + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServerReplica.md b/src/MySql/docs/Get-AzMySqlFlexibleServerReplica.md new file mode 100644 index 000000000000..7243fc1aa637 --- /dev/null +++ b/src/MySql/docs/Get-AzMySqlFlexibleServerReplica.md @@ -0,0 +1,120 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserverreplica +schema: 2.0.0 +--- + +# Get-AzMySqlFlexibleServerReplica + +## SYNOPSIS +List all the replicas for a given server. + +## SYNTAX + +``` +Get-AzMySqlFlexibleServerReplica -ResourceGroupName -ServerName [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +## DESCRIPTION +List all the replicas for a given server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated + +## NOTES + +ALIASES + +## RELATED LINKS + diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServersConfiguration.md b/src/MySql/docs/Get-AzMySqlFlexibleServersConfiguration.md new file mode 100644 index 000000000000..e6651ade703a --- /dev/null +++ b/src/MySql/docs/Get-AzMySqlFlexibleServersConfiguration.md @@ -0,0 +1,178 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserversconfiguration +schema: 2.0.0 +--- + +# Get-AzMySqlFlexibleServersConfiguration + +## SYNOPSIS +Gets information about a configuration of server. + +## SYNTAX + +### Get (Default) +``` +Get-AzMySqlFlexibleServersConfiguration -ConfigurationName -ResourceGroupName + -ServerName [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzMySqlFlexibleServersConfiguration -InputObject [-DefaultProfile ] + [] +``` + +## DESCRIPTION +Gets information about a configuration of server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -ConfigurationName +The name of the server configuration. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: Get +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IConfigurationAutoGenerated + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServersDatabase.md b/src/MySql/docs/Get-AzMySqlFlexibleServersDatabase.md new file mode 100644 index 000000000000..0a39a62254f7 --- /dev/null +++ b/src/MySql/docs/Get-AzMySqlFlexibleServersDatabase.md @@ -0,0 +1,178 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserversdatabase +schema: 2.0.0 +--- + +# Get-AzMySqlFlexibleServersDatabase + +## SYNOPSIS +Gets information about a database. + +## SYNTAX + +### Get (Default) +``` +Get-AzMySqlFlexibleServersDatabase -DatabaseName -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzMySqlFlexibleServersDatabase -InputObject [-DefaultProfile ] + [] +``` + +## DESCRIPTION +Gets information about a database. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DatabaseName +The name of the database. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: Get +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IDatabase + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServersFirewallRule.md b/src/MySql/docs/Get-AzMySqlFlexibleServersFirewallRule.md new file mode 100644 index 000000000000..0935d4c8186a --- /dev/null +++ b/src/MySql/docs/Get-AzMySqlFlexibleServersFirewallRule.md @@ -0,0 +1,178 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserversfirewallrule +schema: 2.0.0 +--- + +# Get-AzMySqlFlexibleServersFirewallRule + +## SYNOPSIS +Gets information about a server firewall rule. + +## SYNTAX + +### Get (Default) +``` +Get-AzMySqlFlexibleServersFirewallRule -FirewallRuleName -ResourceGroupName + -ServerName [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzMySqlFlexibleServersFirewallRule -InputObject [-DefaultProfile ] + [] +``` + +## DESCRIPTION +Gets information about a server firewall rule. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FirewallRuleName +The name of the server firewall rule. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: Get +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Get-AzMySqlLocationBasedCapability.md b/src/MySql/docs/Get-AzMySqlLocationBasedCapability.md new file mode 100644 index 000000000000..51e7c5f46e48 --- /dev/null +++ b/src/MySql/docs/Get-AzMySqlLocationBasedCapability.md @@ -0,0 +1,104 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqllocationbasedcapability +schema: 2.0.0 +--- + +# Get-AzMySqlLocationBasedCapability + +## SYNOPSIS +Get capabilities at specified location in a given subscription. + +## SYNTAX + +``` +Get-AzMySqlLocationBasedCapability -LocationName [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +## DESCRIPTION +Get capabilities at specified location in a given subscription. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocationName +The name of the location. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ICapabilityProperties + +## NOTES + +ALIASES + +## RELATED LINKS + diff --git a/src/MySql/docs/Get-AzMySqlServer.md b/src/MySql/docs/Get-AzMySqlServer.md index 2858d27dc39f..0aecfacce834 100644 --- a/src/MySql/docs/Get-AzMySqlServer.md +++ b/src/MySql/docs/Get-AzMySqlServer.md @@ -188,6 +188,7 @@ INPUTOBJECT : Identity Parameter - `[DatabaseName ]`: The name of the database. - `[FirewallRuleName ]`: The name of the server firewall rule. - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. - `[LocationName ]`: The name of the location. - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - `[SecurityAlertPolicyName ]`: The name of the security alert policy. diff --git a/src/MySql/docs/Get-AzMySqlVirtualNetworkRule.md b/src/MySql/docs/Get-AzMySqlVirtualNetworkRule.md index 1ec1563c6c33..133da7f19ef7 100644 --- a/src/MySql/docs/Get-AzMySqlVirtualNetworkRule.md +++ b/src/MySql/docs/Get-AzMySqlVirtualNetworkRule.md @@ -203,6 +203,7 @@ INPUTOBJECT : Identity Parameter - `[DatabaseName ]`: The name of the database. - `[FirewallRuleName ]`: The name of the server firewall rule. - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. - `[LocationName ]`: The name of the location. - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - `[SecurityAlertPolicyName ]`: The name of the security alert policy. diff --git a/src/MySql/docs/Get-AzMySqlVirtualNetworkSubnetUsage.md b/src/MySql/docs/Get-AzMySqlVirtualNetworkSubnetUsage.md new file mode 100644 index 000000000000..8347e3828428 --- /dev/null +++ b/src/MySql/docs/Get-AzMySqlVirtualNetworkSubnetUsage.md @@ -0,0 +1,228 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlvirtualnetworksubnetusage +schema: 2.0.0 +--- + +# Get-AzMySqlVirtualNetworkSubnetUsage + +## SYNOPSIS +Get virtual network subnet usage for a given vNet resource id. + +## SYNTAX + +### GetExpanded (Default) +``` +Get-AzMySqlVirtualNetworkSubnetUsage -LocationName [-SubscriptionId ] + [-VirtualNetworkArmResourceId ] [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + +### Get +``` +Get-AzMySqlVirtualNetworkSubnetUsage -LocationName -Parameter + [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### GetViaIdentity +``` +Get-AzMySqlVirtualNetworkSubnetUsage -InputObject + -Parameter [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + +### GetViaIdentityExpanded +``` +Get-AzMySqlVirtualNetworkSubnetUsage -InputObject [-VirtualNetworkArmResourceId ] + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Get virtual network subnet usage for a given vNet resource id. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: GetViaIdentity, GetViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -LocationName +The name of the location. + +```yaml +Type: System.String +Parameter Sets: Get, GetExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Parameter +Virtual network subnet usage parameter +To construct, see NOTES section for PARAMETER properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IVirtualNetworkSubnetUsageParameter +Parameter Sets: Get, GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: Get, GetExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VirtualNetworkArmResourceId +Virtual network resource id. + +```yaml +Type: System.String +Parameter Sets: GetExpanded, GetViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IVirtualNetworkSubnetUsageParameter + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IDelegatedSubnetUsage + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +PARAMETER : Virtual network subnet usage parameter + - `[VirtualNetworkArmResourceId ]`: Virtual network resource id. + +## RELATED LINKS + diff --git a/src/MySql/docs/New-AzMySqlFlexibleServer.md b/src/MySql/docs/New-AzMySqlFlexibleServer.md new file mode 100644 index 000000000000..f77874a5710a --- /dev/null +++ b/src/MySql/docs/New-AzMySqlFlexibleServer.md @@ -0,0 +1,586 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlflexibleserver +schema: 2.0.0 +--- + +# New-AzMySqlFlexibleServer + +## SYNOPSIS +Creates a new server or updates an existing server. +The update action will overwrite the existing server. + +## SYNTAX + +``` +New-AzMySqlFlexibleServer -ResourceGroupName -ServerName -Location + [-SubscriptionId ] [-AdministratorLogin ] [-AdministratorLoginPassword ] + [-AvailabilityZone ] [-CreateMode ] + [-DelegatedSubnetArgumentSubnetArmResourceId ] [-HaEnabled ] + [-IdentityType ] [-InfrastructureEncryption ] + [-MaintenanceWindowCustomWindow ] [-MaintenanceWindowDayOfWeek ] + [-MaintenanceWindowStartHour ] [-MaintenanceWindowStartMinute ] [-PropertiesTag ] + [-ReplicationRole ] [-RestorePointInTime ] [-SkuName ] [-SkuTier ] + [-SourceServerId ] [-SslEnforcement ] [-StorageProfileBackupRetentionDay ] + [-StorageProfileStorageAutogrow ] [-StorageProfileStorageIop ] + [-StorageProfileStorageMb ] [-Tag ] [-Version ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Creates a new server or updates an existing server. +The update action will overwrite the existing server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AdministratorLogin +The administrator's login name of a server. +Can only be specified when the server is being created (and is required for creation). + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AdministratorLoginPassword +The password of the administrator login (required for server creation). + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AvailabilityZone +availability Zone information of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -CreateMode +The mode to create a new MySQL server. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.CreateMode +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DelegatedSubnetArgumentSubnetArmResourceId +delegated subnet arm resource id. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -HaEnabled +Enable HA or not for a server. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.HaEnabledEnum +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityType +The identity type. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ResourceIdentityType +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InfrastructureEncryption +Status showing whether the server enabled infrastructure encryption. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.InfrastructureEncryptionEnum +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Location +The geo-location where the resource lives + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MaintenanceWindowCustomWindow +indicates whether custom window is enabled or disabled + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MaintenanceWindowDayOfWeek +day of week for maintenance window + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MaintenanceWindowStartHour +start hour for maintenance window + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MaintenanceWindowStartMinute +start minute for maintenance window + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PropertiesTag +Application-specific metadata in the form of key-value pairs. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReplicationRole +The replication role. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RestorePointInTime +Restore point creation time (ISO8601 format), specifying the time to restore from. + +```yaml +Type: System.DateTime +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkuName +The name of the sku, e.g. +Standard_D32s_v3. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkuTier +The tier of the particular SKU, e.g. +GeneralPurpose. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SourceServerId +The source MySQL server id. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SslEnforcement +Enable ssl enforcement or not when connect to server. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SslEnforcementEnum +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageProfileBackupRetentionDay +Backup retention days for the server. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageProfileStorageAutogrow +Enable Storage Auto Grow. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageProfileStorageIop +Storage IOPS for a server. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageProfileStorageMb +Max storage allowed for a server. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tag +Resource tags. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Version +Server version. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerVersion +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated + +## NOTES + +ALIASES + +## RELATED LINKS + diff --git a/src/MySql/docs/New-AzMySqlFlexibleServerDatabase.md b/src/MySql/docs/New-AzMySqlFlexibleServerDatabase.md new file mode 100644 index 000000000000..a91327b0760f --- /dev/null +++ b/src/MySql/docs/New-AzMySqlFlexibleServerDatabase.md @@ -0,0 +1,227 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlflexibleserverdatabase +schema: 2.0.0 +--- + +# New-AzMySqlFlexibleServerDatabase + +## SYNOPSIS +Creates a new database or updates an existing database. + +## SYNTAX + +``` +New-AzMySqlFlexibleServerDatabase -DatabaseName -ResourceGroupName -ServerName + [-SubscriptionId ] [-Charset ] [-Collation ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Creates a new database or updates an existing database. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Charset +The charset of the database. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Collation +The collation of the database. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DatabaseName +The name of the database. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IDatabase + +## NOTES + +ALIASES + +## RELATED LINKS + diff --git a/src/MySql/docs/New-AzMySqlFlexibleServerFirewallRule.md b/src/MySql/docs/New-AzMySqlFlexibleServerFirewallRule.md new file mode 100644 index 000000000000..043ca762ed87 --- /dev/null +++ b/src/MySql/docs/New-AzMySqlFlexibleServerFirewallRule.md @@ -0,0 +1,229 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlflexibleserverfirewallrule +schema: 2.0.0 +--- + +# New-AzMySqlFlexibleServerFirewallRule + +## SYNOPSIS +Creates a new firewall rule or updates an existing firewall rule. + +## SYNTAX + +``` +New-AzMySqlFlexibleServerFirewallRule -FirewallRuleName -ResourceGroupName + -ServerName -EndIPAddress -StartIPAddress [-SubscriptionId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Creates a new firewall rule or updates an existing firewall rule. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EndIPAddress +The end IP address of the server firewall rule. +Must be IPv4 format. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FirewallRuleName +The name of the server firewall rule. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StartIPAddress +The start IP address of the server firewall rule. +Must be IPv4 format. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule + +## NOTES + +ALIASES + +## RELATED LINKS + diff --git a/src/MySql/docs/New-AzMySqlFlexibleServerKey.md b/src/MySql/docs/New-AzMySqlFlexibleServerKey.md new file mode 100644 index 000000000000..4ec62f544230 --- /dev/null +++ b/src/MySql/docs/New-AzMySqlFlexibleServerKey.md @@ -0,0 +1,212 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlflexibleserverkey +schema: 2.0.0 +--- + +# New-AzMySqlFlexibleServerKey + +## SYNOPSIS +Creates or updates a MySQL Server key. + +## SYNTAX + +``` +New-AzMySqlFlexibleServerKey -KeyName -ResourceGroupName -ServerName + [-SubscriptionId ] [-Uri ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Creates or updates a MySQL Server key. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -KeyName +The name of the server key. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Uri +The URI of the key. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerKey + +## NOTES + +ALIASES + +## RELATED LINKS + diff --git a/src/MySql/docs/New-AzMySqlReplica.md b/src/MySql/docs/New-AzMySqlReplica.md index 9094efb4afb4..4d23a93185b9 100644 --- a/src/MySql/docs/New-AzMySqlReplica.md +++ b/src/MySql/docs/New-AzMySqlReplica.md @@ -238,6 +238,7 @@ To create the parameters described below, construct a hash table containing the MASTER : The source server object to create replica from. - `Location `: The geo-location where the resource lives + - `SkuName `: The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. - `[Tag ]`: Resource tags. - `[(Any) ]`: This indicates any property can be added to this object. - `[AdministratorLogin ]`: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). @@ -252,7 +253,6 @@ MASTER : The source server object to create replica from. - `[ReplicationRole ]`: The replication role of the server. - `[SkuCapacity ]`: The scale up/out capacity, representing server's compute units. - `[SkuFamily ]`: The family of hardware. - - `[SkuName ]`: The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. - `[SkuSize ]`: The size code, to be interpreted by resource as appropriate. - `[SkuTier ]`: The tier of the particular SKU, e.g. Basic. - `[SslEnforcement ]`: Enable ssl enforcement or not when connect to server. diff --git a/src/MySql/docs/New-AzMySqlVirtualNetworkRule.md b/src/MySql/docs/New-AzMySqlVirtualNetworkRule.md index 047983425161..a3bec6784dc1 100644 --- a/src/MySql/docs/New-AzMySqlVirtualNetworkRule.md +++ b/src/MySql/docs/New-AzMySqlVirtualNetworkRule.md @@ -23,17 +23,23 @@ Creates or updates an existing virtual network rule. ## EXAMPLES -### Example 1: Create a new MySql server Virtual Network Rule +### Example 1: {{ Add title here }} ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1" -PS C:\> New-AzMySqlVirtualNetworkRule -Name vnet -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -SubnetId $ID +PS C:\> {{ Add code here }} -Name Type ----- ---- -vnet Microsoft.DBforMySQL/servers/virtualNetworkRules +{{ Add output here }} ``` -These cmdlets create a MySql server Virtual Network Rule. +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} ## PARAMETERS diff --git a/src/MySql/docs/Remove-AzMySqlFirewallRule.md b/src/MySql/docs/Remove-AzMySqlFirewallRule.md index 8b0940bf0560..2a9b617e855e 100644 --- a/src/MySql/docs/Remove-AzMySqlFirewallRule.md +++ b/src/MySql/docs/Remove-AzMySqlFirewallRule.md @@ -242,6 +242,7 @@ INPUTOBJECT : Identity Parameter - `[DatabaseName ]`: The name of the database. - `[FirewallRuleName ]`: The name of the server firewall rule. - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. - `[LocationName ]`: The name of the location. - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - `[SecurityAlertPolicyName ]`: The name of the security alert policy. diff --git a/src/MySql/docs/Remove-AzMySqlFlexibleServer.md b/src/MySql/docs/Remove-AzMySqlFlexibleServer.md new file mode 100644 index 000000000000..760b9601cbda --- /dev/null +++ b/src/MySql/docs/Remove-AzMySqlFlexibleServer.md @@ -0,0 +1,239 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/remove-azmysqlflexibleserver +schema: 2.0.0 +--- + +# Remove-AzMySqlFlexibleServer + +## SYNOPSIS +Deletes a server. + +## SYNTAX + +### Delete (Default) +``` +Remove-AzMySqlFlexibleServer -ResourceGroupName -ServerName [-SubscriptionId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentity +``` +Remove-AzMySqlFlexibleServer -InputObject [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Deletes a server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Remove-AzMySqlFlexibleServerKey.md b/src/MySql/docs/Remove-AzMySqlFlexibleServerKey.md new file mode 100644 index 000000000000..1d9c42c47d2a --- /dev/null +++ b/src/MySql/docs/Remove-AzMySqlFlexibleServerKey.md @@ -0,0 +1,255 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/remove-azmysqlflexibleserverkey +schema: 2.0.0 +--- + +# Remove-AzMySqlFlexibleServerKey + +## SYNOPSIS +Deletes the MySQL Server key with the given name. + +## SYNTAX + +### Delete (Default) +``` +Remove-AzMySqlFlexibleServerKey -KeyName -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +### DeleteViaIdentity +``` +Remove-AzMySqlFlexibleServerKey -InputObject [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Deletes the MySQL Server key with the given name. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -KeyName +The name of the server key. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Remove-AzMySqlFlexibleServersDatabase.md b/src/MySql/docs/Remove-AzMySqlFlexibleServersDatabase.md new file mode 100644 index 000000000000..623bc3b73771 --- /dev/null +++ b/src/MySql/docs/Remove-AzMySqlFlexibleServersDatabase.md @@ -0,0 +1,255 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/remove-azmysqlflexibleserversdatabase +schema: 2.0.0 +--- + +# Remove-AzMySqlFlexibleServersDatabase + +## SYNOPSIS +Deletes a database. + +## SYNTAX + +### Delete (Default) +``` +Remove-AzMySqlFlexibleServersDatabase -DatabaseName -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +### DeleteViaIdentity +``` +Remove-AzMySqlFlexibleServersDatabase -InputObject [-DefaultProfile ] [-AsJob] + [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Deletes a database. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DatabaseName +The name of the database. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Remove-AzMySqlFlexibleServersFirewallRule.md b/src/MySql/docs/Remove-AzMySqlFlexibleServersFirewallRule.md new file mode 100644 index 000000000000..827792da0c11 --- /dev/null +++ b/src/MySql/docs/Remove-AzMySqlFlexibleServersFirewallRule.md @@ -0,0 +1,255 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/remove-azmysqlflexibleserversfirewallrule +schema: 2.0.0 +--- + +# Remove-AzMySqlFlexibleServersFirewallRule + +## SYNOPSIS +Deletes a firewall rule. + +## SYNTAX + +### Delete (Default) +``` +Remove-AzMySqlFlexibleServersFirewallRule -FirewallRuleName -ResourceGroupName + -ServerName [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentity +``` +Remove-AzMySqlFlexibleServersFirewallRule -InputObject [-DefaultProfile ] [-AsJob] + [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Deletes a firewall rule. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FirewallRuleName +The name of the server firewall rule. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Remove-AzMySqlServer.md b/src/MySql/docs/Remove-AzMySqlServer.md index fbf7d517afa1..37b1679472d0 100644 --- a/src/MySql/docs/Remove-AzMySqlServer.md +++ b/src/MySql/docs/Remove-AzMySqlServer.md @@ -226,6 +226,7 @@ INPUTOBJECT : Identity Parameter - `[DatabaseName ]`: The name of the database. - `[FirewallRuleName ]`: The name of the server firewall rule. - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. - `[LocationName ]`: The name of the location. - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - `[SecurityAlertPolicyName ]`: The name of the security alert policy. diff --git a/src/MySql/docs/Remove-AzMySqlVirtualNetworkRule.md b/src/MySql/docs/Remove-AzMySqlVirtualNetworkRule.md index 91b5ec97f8b8..0dfe8e08b23d 100644 --- a/src/MySql/docs/Remove-AzMySqlVirtualNetworkRule.md +++ b/src/MySql/docs/Remove-AzMySqlVirtualNetworkRule.md @@ -242,6 +242,7 @@ INPUTOBJECT : Identity Parameter - `[DatabaseName ]`: The name of the database. - `[FirewallRuleName ]`: The name of the server firewall rule. - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. - `[LocationName ]`: The name of the location. - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - `[SecurityAlertPolicyName ]`: The name of the security alert policy. diff --git a/src/MySql/docs/Restart-AzMySqlFlexibleServer.md b/src/MySql/docs/Restart-AzMySqlFlexibleServer.md new file mode 100644 index 000000000000..5f3fa08ed63e --- /dev/null +++ b/src/MySql/docs/Restart-AzMySqlFlexibleServer.md @@ -0,0 +1,239 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/restart-azmysqlflexibleserver +schema: 2.0.0 +--- + +# Restart-AzMySqlFlexibleServer + +## SYNOPSIS +Restarts a server. + +## SYNTAX + +### Restart (Default) +``` +Restart-AzMySqlFlexibleServer -ResourceGroupName -ServerName [-SubscriptionId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### RestartViaIdentity +``` +Restart-AzMySqlFlexibleServer -InputObject [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Restarts a server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: RestartViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Restart +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Restart +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: Restart +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Restart-AzMySqlServer.md b/src/MySql/docs/Restart-AzMySqlServer.md index f194edec1de0..b5f309d4a9bc 100644 --- a/src/MySql/docs/Restart-AzMySqlServer.md +++ b/src/MySql/docs/Restart-AzMySqlServer.md @@ -226,6 +226,7 @@ INPUTOBJECT : Identity Parameter - `[DatabaseName ]`: The name of the database. - `[FirewallRuleName ]`: The name of the server firewall rule. - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. - `[LocationName ]`: The name of the location. - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - `[SecurityAlertPolicyName ]`: The name of the security alert policy. diff --git a/src/MySql/docs/Restore-AzMySqlServer.md b/src/MySql/docs/Restore-AzMySqlServer.md index ae7de5a203c7..c58cb2f77b2b 100644 --- a/src/MySql/docs/Restore-AzMySqlServer.md +++ b/src/MySql/docs/Restore-AzMySqlServer.md @@ -307,6 +307,7 @@ To create the parameters described below, construct a hash table containing the INPUTOBJECT : The source server object to restore from. - `Location `: The geo-location where the resource lives + - `SkuName `: The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. - `[Tag ]`: Resource tags. - `[(Any) ]`: This indicates any property can be added to this object. - `[AdministratorLogin ]`: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). @@ -321,7 +322,6 @@ INPUTOBJECT : The source server object to restore from. - `[ReplicationRole ]`: The replication role of the server. - `[SkuCapacity ]`: The scale up/out capacity, representing server's compute units. - `[SkuFamily ]`: The family of hardware. - - `[SkuName ]`: The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. - `[SkuSize ]`: The size code, to be interpreted by resource as appropriate. - `[SkuTier ]`: The tier of the particular SKU, e.g. Basic. - `[SslEnforcement ]`: Enable ssl enforcement or not when connect to server. diff --git a/src/MySql/docs/Set-AzMySqlFlexibleServerDatabase.md b/src/MySql/docs/Set-AzMySqlFlexibleServerDatabase.md new file mode 100644 index 000000000000..331ed33f2c5d --- /dev/null +++ b/src/MySql/docs/Set-AzMySqlFlexibleServerDatabase.md @@ -0,0 +1,262 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/set-azmysqlflexibleserverdatabase +schema: 2.0.0 +--- + +# Set-AzMySqlFlexibleServerDatabase + +## SYNOPSIS +Creates a new database or updates an existing database. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Set-AzMySqlFlexibleServerDatabase -DatabaseName -ResourceGroupName -ServerName + [-SubscriptionId ] [-Charset ] [-Collation ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### Update +``` +Set-AzMySqlFlexibleServerDatabase -DatabaseName -ResourceGroupName -ServerName + -Parameter [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Creates a new database or updates an existing database. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Charset +The charset of the database. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Collation +The collation of the database. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DatabaseName +The name of the database. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Parameter +Represents a Database. +To construct, see NOTES section for PARAMETER properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IDatabase +Parameter Sets: Update +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IDatabase + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IDatabase + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +PARAMETER : Represents a Database. + - `[Charset ]`: The charset of the database. + - `[Collation ]`: The collation of the database. + +## RELATED LINKS + diff --git a/src/MySql/docs/Set-AzMySqlFlexibleServerFirewallRule.md b/src/MySql/docs/Set-AzMySqlFlexibleServerFirewallRule.md new file mode 100644 index 000000000000..5c7ccd211646 --- /dev/null +++ b/src/MySql/docs/Set-AzMySqlFlexibleServerFirewallRule.md @@ -0,0 +1,264 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/set-azmysqlflexibleserverfirewallrule +schema: 2.0.0 +--- + +# Set-AzMySqlFlexibleServerFirewallRule + +## SYNOPSIS +Creates a new firewall rule or updates an existing firewall rule. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Set-AzMySqlFlexibleServerFirewallRule -FirewallRuleName -ResourceGroupName + -ServerName -EndIPAddress -StartIPAddress [-SubscriptionId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### Update +``` +Set-AzMySqlFlexibleServerFirewallRule -FirewallRuleName -ResourceGroupName + -ServerName -Parameter [-SubscriptionId ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Creates a new firewall rule or updates an existing firewall rule. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EndIPAddress +The end IP address of the server firewall rule. +Must be IPv4 format. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FirewallRuleName +The name of the server firewall rule. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Parameter +Represents a server firewall rule. +To construct, see NOTES section for PARAMETER properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule +Parameter Sets: Update +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StartIPAddress +The start IP address of the server firewall rule. +Must be IPv4 format. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +PARAMETER : Represents a server firewall rule. + - `EndIPAddress `: The end IP address of the server firewall rule. Must be IPv4 format. + - `StartIPAddress `: The start IP address of the server firewall rule. Must be IPv4 format. + +## RELATED LINKS + diff --git a/src/MySql/docs/Set-AzMySqlFlexibleServerKey.md b/src/MySql/docs/Set-AzMySqlFlexibleServerKey.md new file mode 100644 index 000000000000..00db0d7930af --- /dev/null +++ b/src/MySql/docs/Set-AzMySqlFlexibleServerKey.md @@ -0,0 +1,246 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/set-azmysqlflexibleserverkey +schema: 2.0.0 +--- + +# Set-AzMySqlFlexibleServerKey + +## SYNOPSIS +Creates or updates a MySQL Server key. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Set-AzMySqlFlexibleServerKey -KeyName -ResourceGroupName -ServerName + [-SubscriptionId ] [-Uri ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### Update +``` +Set-AzMySqlFlexibleServerKey -KeyName -ResourceGroupName -ServerName + -Parameter [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Creates or updates a MySQL Server key. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -KeyName +The name of the server key. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Parameter +A MySQL Server key. +To construct, see NOTES section for PARAMETER properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerKey +Parameter Sets: Update +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Uri +The URI of the key. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerKey + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerKey + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +PARAMETER : A MySQL Server key. + - `[Uri ]`: The URI of the key. + +## RELATED LINKS + diff --git a/src/MySql/docs/Start-AzMySqlFlexibleServer.md b/src/MySql/docs/Start-AzMySqlFlexibleServer.md new file mode 100644 index 000000000000..16582b9f5700 --- /dev/null +++ b/src/MySql/docs/Start-AzMySqlFlexibleServer.md @@ -0,0 +1,239 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/start-azmysqlflexibleserver +schema: 2.0.0 +--- + +# Start-AzMySqlFlexibleServer + +## SYNOPSIS +Starts a server. + +## SYNTAX + +### Start (Default) +``` +Start-AzMySqlFlexibleServer -ResourceGroupName -ServerName [-SubscriptionId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### StartViaIdentity +``` +Start-AzMySqlFlexibleServer -InputObject [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Starts a server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: StartViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Start +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Start +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: Start +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Stop-AzMySqlFlexibleServer.md b/src/MySql/docs/Stop-AzMySqlFlexibleServer.md new file mode 100644 index 000000000000..d2619e1967bc --- /dev/null +++ b/src/MySql/docs/Stop-AzMySqlFlexibleServer.md @@ -0,0 +1,239 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/stop-azmysqlflexibleserver +schema: 2.0.0 +--- + +# Stop-AzMySqlFlexibleServer + +## SYNOPSIS +Stops a server. + +## SYNTAX + +### Stop (Default) +``` +Stop-AzMySqlFlexibleServer -ResourceGroupName -ServerName [-SubscriptionId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### StopViaIdentity +``` +Stop-AzMySqlFlexibleServer -InputObject [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Stops a server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: StopViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Stop +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Stop +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: Stop +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Test-AzMySqlFlexibleServersNameAvailability.md b/src/MySql/docs/Test-AzMySqlFlexibleServersNameAvailability.md new file mode 100644 index 000000000000..3762a9d402db --- /dev/null +++ b/src/MySql/docs/Test-AzMySqlFlexibleServersNameAvailability.md @@ -0,0 +1,228 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/test-azmysqlflexibleserversnameavailability +schema: 2.0.0 +--- + +# Test-AzMySqlFlexibleServersNameAvailability + +## SYNOPSIS +Check the availability of name for server + +## SYNTAX + +### TestExpanded (Default) +``` +Test-AzMySqlFlexibleServersNameAvailability -Name [-SubscriptionId ] [-Type ] + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### Test +``` +Test-AzMySqlFlexibleServersNameAvailability -NameAvailabilityRequest + [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### TestViaIdentity +``` +Test-AzMySqlFlexibleServersNameAvailability -InputObject + -NameAvailabilityRequest [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + +### TestViaIdentityExpanded +``` +Test-AzMySqlFlexibleServersNameAvailability -InputObject -Name [-Type ] + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Check the availability of name for server + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: TestViaIdentity, TestViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Resource name to verify. + +```yaml +Type: System.String +Parameter Sets: TestExpanded, TestViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NameAvailabilityRequest +Request from client to check resource name availability. +To construct, see NOTES section for NAMEAVAILABILITYREQUEST properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.INameAvailabilityRequest +Parameter Sets: Test, TestViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: Test, TestExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Type +Resource type used for verification. + +```yaml +Type: System.String +Parameter Sets: TestExpanded, TestViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.INameAvailabilityRequest + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.INameAvailability + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +NAMEAVAILABILITYREQUEST : Request from client to check resource name availability. + - `Name `: Resource name to verify. + - `[Type ]`: Resource type used for verification. + +## RELATED LINKS + diff --git a/src/MySql/docs/Test-AzMySqlNameAvailability.md b/src/MySql/docs/Test-AzMySqlNameAvailability.md new file mode 100644 index 000000000000..8070ede088c7 --- /dev/null +++ b/src/MySql/docs/Test-AzMySqlNameAvailability.md @@ -0,0 +1,227 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/test-azmysqlnameavailability +schema: 2.0.0 +--- + +# Test-AzMySqlNameAvailability + +## SYNOPSIS +Check the availability of name for resource + +## SYNTAX + +### TestExpanded (Default) +``` +Test-AzMySqlNameAvailability -Name [-SubscriptionId ] [-Type ] + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### Test +``` +Test-AzMySqlNameAvailability -NameAvailabilityRequest [-SubscriptionId ] + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### TestViaIdentity +``` +Test-AzMySqlNameAvailability -InputObject -NameAvailabilityRequest + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### TestViaIdentityExpanded +``` +Test-AzMySqlNameAvailability -InputObject -Name [-Type ] + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Check the availability of name for resource + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: TestViaIdentity, TestViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Resource name to verify. + +```yaml +Type: System.String +Parameter Sets: TestExpanded, TestViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NameAvailabilityRequest +Request from client to check resource name availability. +To construct, see NOTES section for NAMEAVAILABILITYREQUEST properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.INameAvailabilityRequest +Parameter Sets: Test, TestViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: Test, TestExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Type +Resource type used for verification. + +```yaml +Type: System.String +Parameter Sets: TestExpanded, TestViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.INameAvailabilityRequest + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.INameAvailability + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +NAMEAVAILABILITYREQUEST : Request from client to check resource name availability. + - `Name `: Resource name to verify. + - `[Type ]`: Resource type used for verification. + +## RELATED LINKS + diff --git a/src/MySql/docs/Update-AzMySqlConfiguration.md b/src/MySql/docs/Update-AzMySqlConfiguration.md index 3a5d7fd00c2b..7203046c366a 100644 --- a/src/MySql/docs/Update-AzMySqlConfiguration.md +++ b/src/MySql/docs/Update-AzMySqlConfiguration.md @@ -265,6 +265,7 @@ INPUTOBJECT : Identity Parameter. - `[DatabaseName ]`: The name of the database. - `[FirewallRuleName ]`: The name of the server firewall rule. - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. - `[LocationName ]`: The name of the location. - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - `[SecurityAlertPolicyName ]`: The name of the security alert policy. diff --git a/src/MySql/docs/Update-AzMySqlFirewallRule.md b/src/MySql/docs/Update-AzMySqlFirewallRule.md index 2e3b54ae6b30..d26c38c6f3a5 100644 --- a/src/MySql/docs/Update-AzMySqlFirewallRule.md +++ b/src/MySql/docs/Update-AzMySqlFirewallRule.md @@ -306,6 +306,7 @@ INPUTOBJECT : Identity Parameter - `[DatabaseName ]`: The name of the database. - `[FirewallRuleName ]`: The name of the server firewall rule. - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. - `[LocationName ]`: The name of the location. - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - `[SecurityAlertPolicyName ]`: The name of the security alert policy. diff --git a/src/MySql/docs/Update-AzMySqlFlexibleServer.md b/src/MySql/docs/Update-AzMySqlFlexibleServer.md new file mode 100644 index 000000000000..d88eca7533d2 --- /dev/null +++ b/src/MySql/docs/Update-AzMySqlFlexibleServer.md @@ -0,0 +1,480 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/update-azmysqlflexibleserver +schema: 2.0.0 +--- + +# Update-AzMySqlFlexibleServer + +## SYNOPSIS +Updates an existing server. +The request body can contain one to many of the properties present in the normal server definition. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzMySqlFlexibleServer -ResourceGroupName -ServerName [-SubscriptionId ] + [-AdministratorLoginPassword ] [-DelegatedSubnetArgumentSubnetArmResourceId ] + [-HaEnabled ] [-MaintenanceWindowCustomWindow ] [-MaintenanceWindowDayOfWeek ] + [-MaintenanceWindowStartHour ] [-MaintenanceWindowStartMinute ] [-ReplicationRole ] + [-SkuName ] [-SkuTier ] [-SslEnforcement ] + [-StorageProfileBackupRetentionDay ] [-StorageProfileStorageAutogrow ] + [-StorageProfileStorageIop ] [-StorageProfileStorageMb ] [-Tag ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzMySqlFlexibleServer -InputObject [-AdministratorLoginPassword ] + [-DelegatedSubnetArgumentSubnetArmResourceId ] [-HaEnabled ] + [-MaintenanceWindowCustomWindow ] [-MaintenanceWindowDayOfWeek ] + [-MaintenanceWindowStartHour ] [-MaintenanceWindowStartMinute ] [-ReplicationRole ] + [-SkuName ] [-SkuTier ] [-SslEnforcement ] + [-StorageProfileBackupRetentionDay ] [-StorageProfileStorageAutogrow ] + [-StorageProfileStorageIop ] [-StorageProfileStorageMb ] [-Tag ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Updates an existing server. +The request body can contain one to many of the properties present in the normal server definition. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AdministratorLoginPassword +The password of the administrator login. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DelegatedSubnetArgumentSubnetArmResourceId +delegated subnet arm resource id. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -HaEnabled +Enable HA or not for a server. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.HaEnabledEnum +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -MaintenanceWindowCustomWindow +indicates whether custom window is enabled or disabled + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MaintenanceWindowDayOfWeek +day of week for maintenance window + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MaintenanceWindowStartHour +start hour for maintenance window + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MaintenanceWindowStartMinute +start minute for maintenance window + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReplicationRole +The replication role of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkuName +The name of the sku, e.g. +Standard_D32s_v3. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkuTier +The tier of the particular SKU, e.g. +GeneralPurpose. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SslEnforcement +Enable ssl enforcement or not when connect to server. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SslEnforcementEnum +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageProfileBackupRetentionDay +Backup retention days for the server. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageProfileStorageAutogrow +Enable Storage Auto Grow. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageProfileStorageIop +Storage IOPS for a server. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageProfileStorageMb +Max storage allowed for a server. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tag +Application-specific metadata in the form of key-value pairs. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Update-AzMySqlFlexibleServersConfiguration.md b/src/MySql/docs/Update-AzMySqlFlexibleServersConfiguration.md new file mode 100644 index 000000000000..ac7e177e7d0e --- /dev/null +++ b/src/MySql/docs/Update-AzMySqlFlexibleServersConfiguration.md @@ -0,0 +1,270 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/update-azmysqlflexibleserversconfiguration +schema: 2.0.0 +--- + +# Update-AzMySqlFlexibleServersConfiguration + +## SYNOPSIS +Updates a configuration of a server. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzMySqlFlexibleServersConfiguration -ConfigurationName -ResourceGroupName + -ServerName [-SubscriptionId ] [-Source ] [-Value ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzMySqlFlexibleServersConfiguration -InputObject [-Source ] [-Value ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Updates a configuration of a server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ConfigurationName +The name of the server configuration. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Source +Source of the configuration. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Value +Value of the configuration. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IConfigurationAutoGenerated + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Update-AzMySqlServer.md b/src/MySql/docs/Update-AzMySqlServer.md index 31a878f86612..c430adbd3387 100644 --- a/src/MySql/docs/Update-AzMySqlServer.md +++ b/src/MySql/docs/Update-AzMySqlServer.md @@ -394,6 +394,7 @@ INPUTOBJECT : Identity Parameter. - `[DatabaseName ]`: The name of the database. - `[FirewallRuleName ]`: The name of the server firewall rule. - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. - `[LocationName ]`: The name of the location. - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - `[SecurityAlertPolicyName ]`: The name of the security alert policy. diff --git a/src/MySql/docs/Update-AzMySqlVirtualNetworkRule.md b/src/MySql/docs/Update-AzMySqlVirtualNetworkRule.md index 1a0be2260199..72812b741b8d 100644 --- a/src/MySql/docs/Update-AzMySqlVirtualNetworkRule.md +++ b/src/MySql/docs/Update-AzMySqlVirtualNetworkRule.md @@ -281,6 +281,7 @@ INPUTOBJECT : Identity Parameter - `[DatabaseName ]`: The name of the database. - `[FirewallRuleName ]`: The name of the server firewall rule. - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. - `[LocationName ]`: The name of the location. - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - `[SecurityAlertPolicyName ]`: The name of the security alert policy. diff --git a/src/MySql/examples/Get-AzMySqlFlexibleServer.md b/src/MySql/examples/Get-AzMySqlFlexibleServer.md new file mode 100644 index 000000000000..093355d11d50 --- /dev/null +++ b/src/MySql/examples/Get-AzMySqlFlexibleServer.md @@ -0,0 +1,18 @@ +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + diff --git a/src/MySql/examples/Get-AzMySqlFlexibleServerConfiguration.md b/src/MySql/examples/Get-AzMySqlFlexibleServerConfiguration.md new file mode 100644 index 000000000000..093355d11d50 --- /dev/null +++ b/src/MySql/examples/Get-AzMySqlFlexibleServerConfiguration.md @@ -0,0 +1,18 @@ +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + diff --git a/src/MySql/examples/Get-AzMySqlFlexibleServerDatabase.md b/src/MySql/examples/Get-AzMySqlFlexibleServerDatabase.md new file mode 100644 index 000000000000..093355d11d50 --- /dev/null +++ b/src/MySql/examples/Get-AzMySqlFlexibleServerDatabase.md @@ -0,0 +1,18 @@ +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + diff --git a/src/MySql/examples/Get-AzMySqlFlexibleServerFirewallRule.md b/src/MySql/examples/Get-AzMySqlFlexibleServerFirewallRule.md new file mode 100644 index 000000000000..093355d11d50 --- /dev/null +++ b/src/MySql/examples/Get-AzMySqlFlexibleServerFirewallRule.md @@ -0,0 +1,18 @@ +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + diff --git a/src/MySql/examples/Get-AzMySqlFlexibleServerKey.md b/src/MySql/examples/Get-AzMySqlFlexibleServerKey.md new file mode 100644 index 000000000000..093355d11d50 --- /dev/null +++ b/src/MySql/examples/Get-AzMySqlFlexibleServerKey.md @@ -0,0 +1,18 @@ +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + diff --git a/src/MySql/examples/Get-AzMySqlFlexibleServerReplica.md b/src/MySql/examples/Get-AzMySqlFlexibleServerReplica.md new file mode 100644 index 000000000000..093355d11d50 --- /dev/null +++ b/src/MySql/examples/Get-AzMySqlFlexibleServerReplica.md @@ -0,0 +1,18 @@ +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + diff --git a/src/MySql/examples/Get-AzMySqlFlexibleServersConfiguration.md b/src/MySql/examples/Get-AzMySqlFlexibleServersConfiguration.md new file mode 100644 index 000000000000..093355d11d50 --- /dev/null +++ b/src/MySql/examples/Get-AzMySqlFlexibleServersConfiguration.md @@ -0,0 +1,18 @@ +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + diff --git a/src/MySql/examples/Get-AzMySqlFlexibleServersDatabase.md b/src/MySql/examples/Get-AzMySqlFlexibleServersDatabase.md new file mode 100644 index 000000000000..093355d11d50 --- /dev/null +++ b/src/MySql/examples/Get-AzMySqlFlexibleServersDatabase.md @@ -0,0 +1,18 @@ +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + diff --git a/src/MySql/examples/Get-AzMySqlFlexibleServersFirewallRule.md b/src/MySql/examples/Get-AzMySqlFlexibleServersFirewallRule.md new file mode 100644 index 000000000000..093355d11d50 --- /dev/null +++ b/src/MySql/examples/Get-AzMySqlFlexibleServersFirewallRule.md @@ -0,0 +1,18 @@ +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + diff --git a/src/MySql/examples/Get-AzMySqlLocationBasedCapability.md b/src/MySql/examples/Get-AzMySqlLocationBasedCapability.md new file mode 100644 index 000000000000..093355d11d50 --- /dev/null +++ b/src/MySql/examples/Get-AzMySqlLocationBasedCapability.md @@ -0,0 +1,18 @@ +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + diff --git a/src/MySql/examples/Get-AzMySqlVirtualNetworkSubnetUsage.md b/src/MySql/examples/Get-AzMySqlVirtualNetworkSubnetUsage.md new file mode 100644 index 000000000000..093355d11d50 --- /dev/null +++ b/src/MySql/examples/Get-AzMySqlVirtualNetworkSubnetUsage.md @@ -0,0 +1,18 @@ +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + diff --git a/src/MySql/examples/New-AzMySqlFlexibleServer.md b/src/MySql/examples/New-AzMySqlFlexibleServer.md new file mode 100644 index 000000000000..093355d11d50 --- /dev/null +++ b/src/MySql/examples/New-AzMySqlFlexibleServer.md @@ -0,0 +1,18 @@ +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + diff --git a/src/MySql/examples/New-AzMySqlFlexibleServerDatabase.md b/src/MySql/examples/New-AzMySqlFlexibleServerDatabase.md new file mode 100644 index 000000000000..093355d11d50 --- /dev/null +++ b/src/MySql/examples/New-AzMySqlFlexibleServerDatabase.md @@ -0,0 +1,18 @@ +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + diff --git a/src/MySql/examples/New-AzMySqlFlexibleServerFirewallRule.md b/src/MySql/examples/New-AzMySqlFlexibleServerFirewallRule.md new file mode 100644 index 000000000000..093355d11d50 --- /dev/null +++ b/src/MySql/examples/New-AzMySqlFlexibleServerFirewallRule.md @@ -0,0 +1,18 @@ +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + diff --git a/src/MySql/examples/New-AzMySqlFlexibleServerKey.md b/src/MySql/examples/New-AzMySqlFlexibleServerKey.md new file mode 100644 index 000000000000..093355d11d50 --- /dev/null +++ b/src/MySql/examples/New-AzMySqlFlexibleServerKey.md @@ -0,0 +1,18 @@ +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + diff --git a/src/MySql/examples/New-AzMySqlVirtualNetworkRule.md b/src/MySql/examples/New-AzMySqlVirtualNetworkRule.md index 9b5f3354f121..093355d11d50 100644 --- a/src/MySql/examples/New-AzMySqlVirtualNetworkRule.md +++ b/src/MySql/examples/New-AzMySqlVirtualNetworkRule.md @@ -1,11 +1,18 @@ -### Example 1: Create a new MySql server Virtual Network Rule +### Example 1: {{ Add title here }} ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1" -PS C:\> New-AzMySqlVirtualNetworkRule -Name vnet -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -SubnetId $ID +PS C:\> {{ Add code here }} -Name Type ----- ---- -vnet Microsoft.DBforMySQL/servers/virtualNetworkRules +{{ Add output here }} ``` -These cmdlets create a MySql server Virtual Network Rule. \ No newline at end of file +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + diff --git a/src/MySql/examples/Remove-AzMySqlFlexibleServer.md b/src/MySql/examples/Remove-AzMySqlFlexibleServer.md new file mode 100644 index 000000000000..093355d11d50 --- /dev/null +++ b/src/MySql/examples/Remove-AzMySqlFlexibleServer.md @@ -0,0 +1,18 @@ +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + diff --git a/src/MySql/examples/Remove-AzMySqlFlexibleServerKey.md b/src/MySql/examples/Remove-AzMySqlFlexibleServerKey.md new file mode 100644 index 000000000000..093355d11d50 --- /dev/null +++ b/src/MySql/examples/Remove-AzMySqlFlexibleServerKey.md @@ -0,0 +1,18 @@ +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + diff --git a/src/MySql/examples/Remove-AzMySqlFlexibleServersDatabase.md b/src/MySql/examples/Remove-AzMySqlFlexibleServersDatabase.md new file mode 100644 index 000000000000..093355d11d50 --- /dev/null +++ b/src/MySql/examples/Remove-AzMySqlFlexibleServersDatabase.md @@ -0,0 +1,18 @@ +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + diff --git a/src/MySql/examples/Remove-AzMySqlFlexibleServersFirewallRule.md b/src/MySql/examples/Remove-AzMySqlFlexibleServersFirewallRule.md new file mode 100644 index 000000000000..093355d11d50 --- /dev/null +++ b/src/MySql/examples/Remove-AzMySqlFlexibleServersFirewallRule.md @@ -0,0 +1,18 @@ +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + diff --git a/src/MySql/examples/Restart-AzMySqlFlexibleServer.md b/src/MySql/examples/Restart-AzMySqlFlexibleServer.md new file mode 100644 index 000000000000..093355d11d50 --- /dev/null +++ b/src/MySql/examples/Restart-AzMySqlFlexibleServer.md @@ -0,0 +1,18 @@ +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + diff --git a/src/MySql/examples/Set-AzMySqlFlexibleServerDatabase.md b/src/MySql/examples/Set-AzMySqlFlexibleServerDatabase.md new file mode 100644 index 000000000000..093355d11d50 --- /dev/null +++ b/src/MySql/examples/Set-AzMySqlFlexibleServerDatabase.md @@ -0,0 +1,18 @@ +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + diff --git a/src/MySql/examples/Set-AzMySqlFlexibleServerFirewallRule.md b/src/MySql/examples/Set-AzMySqlFlexibleServerFirewallRule.md new file mode 100644 index 000000000000..093355d11d50 --- /dev/null +++ b/src/MySql/examples/Set-AzMySqlFlexibleServerFirewallRule.md @@ -0,0 +1,18 @@ +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + diff --git a/src/MySql/examples/Set-AzMySqlFlexibleServerKey.md b/src/MySql/examples/Set-AzMySqlFlexibleServerKey.md new file mode 100644 index 000000000000..093355d11d50 --- /dev/null +++ b/src/MySql/examples/Set-AzMySqlFlexibleServerKey.md @@ -0,0 +1,18 @@ +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + diff --git a/src/MySql/examples/Start-AzMySqlFlexibleServer.md b/src/MySql/examples/Start-AzMySqlFlexibleServer.md new file mode 100644 index 000000000000..093355d11d50 --- /dev/null +++ b/src/MySql/examples/Start-AzMySqlFlexibleServer.md @@ -0,0 +1,18 @@ +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + diff --git a/src/MySql/examples/Stop-AzMySqlFlexibleServer.md b/src/MySql/examples/Stop-AzMySqlFlexibleServer.md new file mode 100644 index 000000000000..093355d11d50 --- /dev/null +++ b/src/MySql/examples/Stop-AzMySqlFlexibleServer.md @@ -0,0 +1,18 @@ +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + diff --git a/src/MySql/examples/Test-AzMySqlFlexibleServersNameAvailability.md b/src/MySql/examples/Test-AzMySqlFlexibleServersNameAvailability.md new file mode 100644 index 000000000000..093355d11d50 --- /dev/null +++ b/src/MySql/examples/Test-AzMySqlFlexibleServersNameAvailability.md @@ -0,0 +1,18 @@ +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + diff --git a/src/MySql/examples/Test-AzMySqlNameAvailability.md b/src/MySql/examples/Test-AzMySqlNameAvailability.md new file mode 100644 index 000000000000..093355d11d50 --- /dev/null +++ b/src/MySql/examples/Test-AzMySqlNameAvailability.md @@ -0,0 +1,18 @@ +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + diff --git a/src/MySql/examples/Update-AzMySqlFlexibleServer.md b/src/MySql/examples/Update-AzMySqlFlexibleServer.md new file mode 100644 index 000000000000..093355d11d50 --- /dev/null +++ b/src/MySql/examples/Update-AzMySqlFlexibleServer.md @@ -0,0 +1,18 @@ +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + diff --git a/src/MySql/examples/Update-AzMySqlFlexibleServersConfiguration.md b/src/MySql/examples/Update-AzMySqlFlexibleServersConfiguration.md new file mode 100644 index 000000000000..093355d11d50 --- /dev/null +++ b/src/MySql/examples/Update-AzMySqlFlexibleServersConfiguration.md @@ -0,0 +1,18 @@ +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + diff --git a/src/MySql/readme.md b/src/MySql/readme.md index 22e9328aecbf..b7dffe27674c 100644 --- a/src/MySql/readme.md +++ b/src/MySql/readme.md @@ -17,7 +17,7 @@ This directory contains the PowerShell module for the MySql service. This module was primarily generated via [AutoRest](https://github.com/Azure/autorest) using the [PowerShell](https://github.com/Azure/autorest.powershell) extension. ## Module Requirements -- [Az.Accounts module](https://www.powershellgallery.com/packages/Az.Accounts/), version 1.7.4 or greater +- [Az.Accounts module](https://www.powershellgallery.com/packages/Az.Accounts/), version 1.8.1 or greater ## Authentication AutoRest does not generate authentication code for the module. Authentication is handled via Az.Accounts by altering the HTTP payload before it is sent. @@ -47,31 +47,44 @@ In this directory, run AutoRest: > see https://aka.ms/autorest ``` yaml -branch: ae862b1c090b4c2c951ea46bf97ddbafd6f76d82 +branch: ea6d1725ca9669714cd5f5f969d026b90ecffbd1 require: - $(this-folder)/../readme.azure.noprofile.md input-file: - $(repo)/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/mysql.json - $(repo)/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/ServerSecurityAlertPolicies.json + - $(repo)/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2020-07-01-preview/mysql.json module-version: 0.1.0 title: MySQL subject-prefix: 'MySQL' directive: - - from: mysql.json + - from: swagger-document + where: $.paths..operationId + transform: return $.replace(/^CheckNameAvailability_Execute$/g, "NameAvailability_Test") + - from: Microsoft.DBforMySQL/stable/2017-12-01/mysql.json where: $.definitions.VirtualNetworkRule transform: $['required'] = ['properties'] + - from: Microsoft.DBforMySQL/preview/2020-07-01-preview/mysql.json + where: $.paths..operationId + transform: return $.replace(/^(Servers|ServerKeys)_/g, "flexible$1_") + - from: Microsoft.DBforMySQL/preview/2020-07-01-preview/mysql.json + where: $.paths..operationId + transform: return $.replace(/^(Replicas|FirewallRules|Databases|Configurations|NameAvailability)_/g, "flexibleServers$1_") + - from: Microsoft.DBforMySQL/preview/2020-07-01-preview/mysql.json + where: $.paths..operationId + transform: return $.replace(/^CheckVirtualNetworkSubnetUsage_Execute$/g, "VirtualNetworkSubnetUsage_Get") - where: verb: Set - subject: Configuration$|FirewallRule$|VirtualNetworkRule$ + subject: ^Configuration$|^FirewallRule$|^VirtualNetworkRule$ set: verb: Update - where: - subject: Database$|SecurityAlertPolicy$|Administrator$|LocationBasedPerformanceTier$|LogFile$|ExecuteCheckNameAvailability$ + subject: ^Database$|^LocationBasedPerformanceTier$|^LogFile$|SecurityAlertPolicy$|Administrator$ hide: true - where: verb: New$|Update$ - subject: Server$|Configuration$|FirewallRule$ + subject: ^Server$|^Configuration$|^FirewallRule$ hide: true - where: verb: New$ From f4544d52c439e363f0d98ae60cfd2fb3559f4d42 Mon Sep 17 00:00:00 2001 From: Daeun Yim Date: Tue, 27 Oct 2020 11:24:43 -0700 Subject: [PATCH 02/51] test commit with server mgmt md files --- src/MySql/docs/Get-AzMySqlFlexibleServer.md | 52 ++- .../docs/Get-AzMySqlFlexibleServerReplica.md | 19 +- src/MySql/docs/New-AzMySqlFlexibleServer.md | 331 +++++++----------- .../docs/Update-AzMySqlFlexibleServer.md | 125 ++----- 4 files changed, 202 insertions(+), 325 deletions(-) diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServer.md b/src/MySql/docs/Get-AzMySqlFlexibleServer.md index 7b68b309fdd9..78ecc70c9781 100644 --- a/src/MySql/docs/Get-AzMySqlFlexibleServer.md +++ b/src/MySql/docs/Get-AzMySqlFlexibleServer.md @@ -19,7 +19,7 @@ Get-AzMySqlFlexibleServer [-SubscriptionId ] [-DefaultProfile -ServerName [-SubscriptionId ] +Get-AzMySqlFlexibleServer -ResourceGroupName -Name [-SubscriptionId ] [-DefaultProfile ] [] ``` @@ -39,23 +39,53 @@ Gets information about a server. ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: Get MySql server with default context ```powershell -PS C:\> {{ Add code here }} +PS C:\> Get-AzMySqlFlexibleServer -{{ Add output here }} +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +mysql-test-11 eastus mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose ``` -{{ Add description here }} +This cmdlet gets MySql server with default context. -### Example 2: {{ Add title here }} +### Example 2: Get MySql server by resource group and server name ```powershell -PS C:\> {{ Add code here }} +PS C:\> Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Name mysql-test -{{ Add output here }} +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +mysql-test-11 eastus mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose ``` -{{ Add description here }} +This cmdlet gets MySql server by resource group and server name. + +### Example 3: Lists all the MySql servers in specified resource group +```powershell +PS C:\> Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +mysql-test-11 eastus mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose +mysql-test-12 eastus mysql_test2 5.7 5120 Standard_D2ds_v4 GeneralPurpose +``` + +This cmdlet lists all the MySql servers in specified resource group. + +### Example 4: Get MySql server by identity +```powershell +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test" +PS C:\> Get-AzMySqlFlexibleServer -InputObject $ID + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +mysql-test-11 eastus mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose +mysql-test-12 eastus mysql_test2 5.7 5120 Standard_D2ds_v4 GeneralPurpose +mysql-test-13 eastus mysql_test2 5.7 5120 Standard_D4ds_v4 GeneralPurpose +``` + +This cmdlet lists gets MySql server by identity. ## PARAMETERS @@ -106,13 +136,13 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ServerName +### -Name The name of the server. ```yaml Type: System.String Parameter Sets: Get -Aliases: +Aliases: ServerName Required: True Position: Named diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServerReplica.md b/src/MySql/docs/Get-AzMySqlFlexibleServerReplica.md index 7243fc1aa637..b8a4ada309fa 100644 --- a/src/MySql/docs/Get-AzMySqlFlexibleServerReplica.md +++ b/src/MySql/docs/Get-AzMySqlFlexibleServerReplica.md @@ -22,23 +22,16 @@ List all the replicas for a given server. ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: Get MySql server replica by resource group and server name ```powershell -PS C:\> {{ Add code here }} +PS C:\> Get-AzMySqlFlexibleServerReplica -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -{{ Add output here }} +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +mysql-test-11 eastus mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose ``` -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} +This cmdlet gets MySql server replica by resource group and server name. ## PARAMETERS diff --git a/src/MySql/docs/New-AzMySqlFlexibleServer.md b/src/MySql/docs/New-AzMySqlFlexibleServer.md index f77874a5710a..0655ab997282 100644 --- a/src/MySql/docs/New-AzMySqlFlexibleServer.md +++ b/src/MySql/docs/New-AzMySqlFlexibleServer.md @@ -7,56 +7,98 @@ schema: 2.0.0 # New-AzMySqlFlexibleServer -## SYNOPSIS -Creates a new server or updates an existing server. -The update action will overwrite the existing server. +## Creates aCreates a new server. A server can be generated with all arguments optional. ## SYNTAX ``` -New-AzMySqlFlexibleServer -ResourceGroupName -ServerName -Location - [-SubscriptionId ] [-AdministratorLogin ] [-AdministratorLoginPassword ] - [-AvailabilityZone ] [-CreateMode ] - [-DelegatedSubnetArgumentSubnetArmResourceId ] [-HaEnabled ] - [-IdentityType ] [-InfrastructureEncryption ] - [-MaintenanceWindowCustomWindow ] [-MaintenanceWindowDayOfWeek ] - [-MaintenanceWindowStartHour ] [-MaintenanceWindowStartMinute ] [-PropertiesTag ] - [-ReplicationRole ] [-RestorePointInTime ] [-SkuName ] [-SkuTier ] - [-SourceServerId ] [-SslEnforcement ] [-StorageProfileBackupRetentionDay ] - [-StorageProfileStorageAutogrow ] [-StorageProfileStorageIop ] - [-StorageProfileStorageMb ] [-Tag ] [-Version ] [-DefaultProfile ] - [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +New-AzMySqlFlexibleServer + [-ResourceGroupName ] [-Name -Location ] + [-SubscriptionId ] [-AdministratorUserName ] [-AdministratorLoginPassword ] + [-SubnetId ] [-HaEnabled ][-SkuName ] [-SkuTier ][-BackupRetentionDay ] + [-StorageInMb ] [-Tag ] [-Version ] + [-AddressPrefixes [String]] [-PublicAccess [String]] [-SubnetPrefixes [String]] [-VnetId [String]] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION -Creates a new server or updates an existing server. -The update action will overwrite the existing server. +Creates a new server. A server can be generated with all arguments optional. If no arguments were provided from a user, the powershell generates resource group, virtual network, and database. It also uses default values for server properties. ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: Create a new MySql flexible server with parameters ```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} +PS C:\> New-AzMySqlFlexibleServer -Name mysql-test -ResourceGroupName PowershellMySqlTest -Location eastus -AdministratorUserName mysql_test -AdministratorLoginPassword $password -SkuName Standard_B1ms -SkuTier Burstable + +Creating new vnet {vnetName} in resource group {resourceGroupName}... +Creating new subnet {subnetName} in resource group {resourceGroupName} and delegating it to "Microsoft.DBforMySQL/flexibleServers"... +Creating MySQL server {serverName} in group {resourceGroupName}... +Your server is using sku 'Standard_B1ms' (paid tier). Please refer to https://aka.ms/mysql-pricing for pricing details. +Creating MySQL database {dbname}... +"connectionString": "mysql {dbname} --host {host} --user {username} --password={password}", +"databaseName": "flexibleserverdb", +"host": "{servername}.mysql.database.azure.com", +"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}", +"location": "East US", +"version": "5.7", +"username": "{username}", +"password": "{password}", +"skuname": "Standard_B1ms" +``` + +The cmdlet generates a server with the given parameters and output important information in a visible format. The server creation automatically generates vnet and subnet in the resource group. + +### Example 2: Create a new MySql flexible server without parameters +```powershell +PS C:\> New-AzMySqlFlexibleServer -Location eastus + +Creating Resource Group {resourceGroupName}... +Creating new vnet {vnetName} in resource group {resourceGroupName}... +Creating new subnet {subnetName} in resource group {resourceGroupName} and delegating it to "Microsoft.DBforMySQL/flexibleServers"... +Creating MySQL server {serverName} in group {resourceGroupName}... +Your server is using sku 'Standard_B1ms' (paid tier). Please refer to https://aka.ms/mysql-pricing for pricing details. +Creating MySQL database {dbname}... +"connectionString": "mysql {dbname} --host {host} --user {username} --password={password}", +"databaseName": "flexibleserverdb", +"host": "{servername}.mysql.database.azure.com", +"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}", +"location": "East US", +"version": "5.7", +"username": "{username}", +"password": "{password}", +"skuname": "Standard_B1ms" +``` + +The cmdlet generates a server without given parameters and automatically generates necessary resources such as resource group, subnet, and database. The SKU and storage profile are set to default values. + +### Example 3: Create a new MySql flexible server with public access to all IPs ```powershell -PS C:\> {{ Add code here }} +PS C:\> New-AzMySqlFlexibleServer -Location eastus -PublicAccess all -{{ Add output here }} +Creating Resource Group {resourceGroupName}... +Configurint server firewall rule to accept connections from '0.0.0.0' to '255.255.255.255'... +Creating MySQL server {serverName} in group {resourceGroupName}... +Your server is using sku 'Standard_B1ms' (paid tier). Please refer to https://aka.ms/mysql-pricing for pricing details. +Creating MySQL database {dbname}... +"connectionString": "mysql {dbname} --host {host} --user {username} --password={password}", +"firewallName": "{firewallRuleName}", +"databaseName": "flexibleserverdb", +"host": "{serverName}.mysql.database.azure.com", +"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}", +"location": "East US", +"version": "5.7", +"username": "{username}", +"password": "{password}", +"skuname": "Standard_B1ms" ``` -{{ Add description here }} +The cmdlet generates a server without given parameters and automatically generates necessary resources such as resource group, subnet, and database. The SKU and storage profile are set to default values. + ## PARAMETERS -### -AdministratorLogin -The administrator's login name of a server. -Can only be specified when the server is being created (and is required for creation). +### -AdministratorUserName +The administrator\'s login name of a server. Can only be specified when the server is being created. ```yaml Type: System.String @@ -71,10 +113,10 @@ Accept wildcard characters: False ``` ### -AdministratorLoginPassword -The password of the administrator login (required for server creation). +The password of the administrator. Minimum 8 characters and maximum 128 characters. Password must contain characters from three of the following categories: English uppercase letters, English lowercase letters, numbers, and non-alphanumeric characters. ```yaml -Type: System.String +Type: System.Security.SecureString Parameter Sets: (All) Aliases: @@ -85,11 +127,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -AsJob -Run the command as a job +### -AddressPrefixes +The IP address prefix to use when creating a new virtual network in CIDR format. Default value is 10.0.0.0/16. ```yaml -Type: System.Management.Automation.SwitchParameter +Type: System.String Parameter Sets: (All) Aliases: @@ -100,11 +142,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -AvailabilityZone -availability Zone information of the server. +### -AsJob +Run the command as a job ```yaml -Type: System.String +Type: System.Management.Automation.SwitchParameter Parameter Sets: (All) Aliases: @@ -115,11 +157,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -CreateMode -The mode to create a new MySQL server. +### -AvailabilityZone +Availability zone into which to provision the resource. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.CreateMode +Type: System.String Parameter Sets: (All) Aliases: @@ -145,8 +187,8 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -DelegatedSubnetArgumentSubnetArmResourceId -delegated subnet arm resource id. +### -SubnetId +Resource ID of an existing subnet. Please note that the subnet will be delegated to Microsoft.DBforPostgreSQL/flexibleServers/Microsoft.DBforMySQL/flexibleServers.After delegation, this subnet cannot be used for any other type of Azure resources. ```yaml Type: System.String @@ -175,38 +217,8 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -IdentityType -The identity type. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ResourceIdentityType -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InfrastructureEncryption -Status showing whether the server enabled infrastructure encryption. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.InfrastructureEncryptionEnum -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Location -The geo-location where the resource lives +The location where the resource lives. ```yaml Type: System.String @@ -220,66 +232,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -MaintenanceWindowCustomWindow -indicates whether custom window is enabled or disabled - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -MaintenanceWindowDayOfWeek -day of week for maintenance window - -```yaml -Type: System.Int32 -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -MaintenanceWindowStartHour -start hour for maintenance window - -```yaml -Type: System.Int32 -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -MaintenanceWindowStartMinute -start minute for maintenance window - -```yaml -Type: System.Int32 -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -NoWait Run the command asynchronously @@ -295,23 +247,8 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -PropertiesTag -Application-specific metadata in the form of key-value pairs. - -```yaml -Type: System.Collections.Hashtable -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ReplicationRole -The replication role. +### -PublicAccess +Determines the public access. Enter single or range of IP addresses to be included in the allowed list of IPs. IP address ranges must be dash-separated and not contain any spaces. Specifying 0.0.0.0 allows public access from any resources deployed within Azure to access your server. Specifying no IP address sets the server in public access mode but does not create a firewall rule. ```yaml Type: System.String @@ -326,8 +263,7 @@ Accept wildcard characters: False ``` ### -ResourceGroupName -The name of the resource group. -The name is case insensitive. +The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal. ```yaml Type: System.String @@ -339,30 +275,16 @@ Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False -``` - -### -RestorePointInTime -Restore point creation time (ISO8601 format), specifying the time to restore from. - -```yaml -Type: System.DateTime -Parameter Sets: (All) -Aliases: -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False ``` -### -ServerName -The name of the server. +### -Name +The name of the server. The name can contain only lowercase letters, numbers, and the hyphen (-) character. Minimum 3 characters and maximum 63 characters. ```yaml Type: System.String Parameter Sets: (All) -Aliases: +Aliases: ServerName Required: True Position: Named @@ -372,8 +294,7 @@ Accept wildcard characters: False ``` ### -SkuName -The name of the sku, e.g. -Standard_D32s_v3. +The name of the compute SKU. Follows the convention Standard_{VM name}. Examples: Standard_B1ms, Standard_E16ds_v4. Default: Standard_B1ms. ```yaml Type: System.String @@ -382,15 +303,13 @@ Aliases: Required: False Position: Named -Default value: None +Default value: "Standard_B1ms" Accept pipeline input: False Accept wildcard characters: False ``` ### -SkuTier -The tier of the particular SKU, e.g. -GeneralPurpose. - +Compute tier of the server. Accepted values: Burstable, GeneralPurpose, Memory Optimized. Default: Burstable. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier Parameter Sets: (All) @@ -398,13 +317,13 @@ Aliases: Required: False Position: Named -Default value: None +Default value: "Burstable" Accept pipeline input: False Accept wildcard characters: False ``` -### -SourceServerId -The source MySQL server id. +### -SubnetPrefixes +The subnet IP address prefix to use when creating a new VNet in CIDR format. Default value is 10.0.0.0/24. ```yaml Type: System.String @@ -418,11 +337,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -SslEnforcement -Enable ssl enforcement or not when connect to server. +### -VnetId +Id of an existing virtual network or name of a new one to create. The name must be between 2 to 64 characters. The name must begin with a letter or number, end with a letter, number or underscore, and may contain only letters, numbers, underscores, periods, or hyphens. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SslEnforcementEnum +Type: System.String Parameter Sets: (All) Aliases: @@ -433,8 +352,9 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -StorageProfileBackupRetentionDay +### -BackupRetentionDay Backup retention days for the server. +Day count is between 7 and 35. ```yaml Type: System.Int32 @@ -443,46 +363,46 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 7 Accept pipeline input: False Accept wildcard characters: False ``` -### -StorageProfileStorageAutogrow -Enable Storage Auto Grow. +### -StorageInMb +The storage capacity of the server. Minimum is 5 GiB and increases in 1 GiB increments. Max is 16 TiB. Default: 10. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow +Type: System.Int32 Parameter Sets: (All) Aliases: Required: False Position: Named -Default value: None +Default value: 10 Accept pipeline input: False Accept wildcard characters: False ``` -### -StorageProfileStorageIop -Storage IOPS for a server. +### -SubscriptionId +The subscription ID that identifies an Azure subscription. ```yaml -Type: System.Int32 +Type: System.String Parameter Sets: (All) Aliases: Required: False Position: Named -Default value: None +Default value: (Get-AzContext).Subscription.Id Accept pipeline input: False Accept wildcard characters: False ``` -### -StorageProfileStorageMb -Max storage allowed for a server. +### -Tag +Application-specific metadata in the form of key-value pairs. ```yaml -Type: System.Int32 +Type: System.Collections.Hashtable Parameter Sets: (All) Aliases: @@ -493,23 +413,18 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -SubscriptionId -The ID of the target subscription. +### -Version +Server version. ```yaml -Type: System.String +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerVersion Parameter Sets: (All) Aliases: Required: False Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Tag -Resource tags. +Default value: "5.7" +irs. ```yaml Type: System.Collections.Hashtable @@ -533,7 +448,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: "5.7" Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/MySql/docs/Update-AzMySqlFlexibleServer.md b/src/MySql/docs/Update-AzMySqlFlexibleServer.md index d88eca7533d2..d0ca8de2ddaa 100644 --- a/src/MySql/docs/Update-AzMySqlFlexibleServer.md +++ b/src/MySql/docs/Update-AzMySqlFlexibleServer.md @@ -16,50 +16,50 @@ The request body can contain one to many of the properties present in the normal ### UpdateExpanded (Default) ``` Update-AzMySqlFlexibleServer -ResourceGroupName -ServerName [-SubscriptionId ] - [-AdministratorLoginPassword ] [-DelegatedSubnetArgumentSubnetArmResourceId ] - [-HaEnabled ] [-MaintenanceWindowCustomWindow ] [-MaintenanceWindowDayOfWeek ] - [-MaintenanceWindowStartHour ] [-MaintenanceWindowStartMinute ] [-ReplicationRole ] + [-AdministratorLoginPassword ] [-SubnetId ] + [-HaEnabled ] [-MaintenanceWindowWindow ] [-ReplicationRole ] [-SkuName ] [-SkuTier ] [-SslEnforcement ] - [-StorageProfileBackupRetentionDay ] [-StorageProfileStorageAutogrow ] - [-StorageProfileStorageIop ] [-StorageProfileStorageMb ] [-Tag ] + [-BackupRetentionDay ] [-StorageAutogrow ] [-StorageInMb ] [-Tag ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` ### UpdateViaIdentityExpanded ``` -Update-AzMySqlFlexibleServer -InputObject [-AdministratorLoginPassword ] - [-DelegatedSubnetArgumentSubnetArmResourceId ] [-HaEnabled ] - [-MaintenanceWindowCustomWindow ] [-MaintenanceWindowDayOfWeek ] - [-MaintenanceWindowStartHour ] [-MaintenanceWindowStartMinute ] [-ReplicationRole ] - [-SkuName ] [-SkuTier ] [-SslEnforcement ] - [-StorageProfileBackupRetentionDay ] [-StorageProfileStorageAutogrow ] - [-StorageProfileStorageIop ] [-StorageProfileStorageMb ] [-Tag ] +Update-AzMySqlFlexibleServer -InputObject [-AdministratorLoginPassword ] + [-SubnetId ] [-HaEnabled ] [-MaintenanceWindowWindow ] + [-ReplicationRole ] [-SkuName ] [-SkuTier ] [-SslEnforcement ] + [-BackupRetentionDay ] [-StorageAutogrow ] [-StorageInMb ] [-Tag ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION Updates an existing server. The request body can contain one to many of the properties present in the normal server definition. +Use Update-AzMySqlConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count. ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: Update MySql server by resource group and server name ```powershell -PS C:\> {{ Add code here }} +PS C:\> Update-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Name mysql-test -SkuName Standard_D4ds_v4 -{{ Add output here }} +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +mysql-test-11 eastus mysql_test 5.7 5120 Standard_D4ds_v4 GeneralPurpose ``` -{{ Add description here }} +This cmdlet updates MySql server by resource group and server name. -### Example 2: {{ Add title here }} +### Example 2: Update MySql server by identity. ```powershell -PS C:\> {{ Add code here }} +PS C:\> Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test | Update-AzMySqlFlexibleServer -BackupRetentionDay 23 -StorageMb 10240 -{{ Add output here }} +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +mysql-test-11 eastus mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose ``` -{{ Add description here }} +This cmdlet updates MySql server by identity. ## PARAMETERS @@ -108,8 +108,8 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -DelegatedSubnetArgumentSubnetArmResourceId -delegated subnet arm resource id. +### -SubnetId +Resource ID of an existing subnet. Please note that the subnet will be delegated to Microsoft.DBforPostgreSQL/flexibleServers/Microsoft.DBforMySQL/flexibleServers.After delegation, this subnet cannot be used for any other type of Azure resources. ```yaml Type: System.String @@ -154,8 +154,8 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` -### -MaintenanceWindowCustomWindow -indicates whether custom window is enabled or disabled +### -MaintenanceWindowWindow +Period of time (UTC) designated for maintenance. Examples: "Sun:23:30" to schedule on Sunday, 11:30pm UTC. To set back to default pass in "Disabled". ```yaml Type: System.String @@ -169,51 +169,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -MaintenanceWindowDayOfWeek -day of week for maintenance window - -```yaml -Type: System.Int32 -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -MaintenanceWindowStartHour -start hour for maintenance window - -```yaml -Type: System.Int32 -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -MaintenanceWindowStartMinute -start minute for maintenance window - -```yaml -Type: System.Int32 -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -NoWait Run the command asynchronously @@ -260,13 +215,13 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ServerName +### -Name The name of the server. ```yaml Type: System.String Parameter Sets: UpdateExpanded -Aliases: +Aliases: ServerName Required: True Position: Named @@ -276,8 +231,7 @@ Accept wildcard characters: False ``` ### -SkuName -The name of the sku, e.g. -Standard_D32s_v3. +The name of the compute SKU. Follows the convention Standard_{VM name}. Examples: Standard_B1ms, Standard_E16ds_v4. ```yaml Type: System.String @@ -292,8 +246,7 @@ Accept wildcard characters: False ``` ### -SkuTier -The tier of the particular SKU, e.g. -GeneralPurpose. +Compute tier of the server. Accepted values: Burstable, GeneralPurpose, Memory Optimized. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier @@ -322,8 +275,9 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -StorageProfileBackupRetentionDay +### -BackupRetentionDay Backup retention days for the server. +Day count is between 7 and 35. ```yaml Type: System.Int32 @@ -337,7 +291,7 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -StorageProfileStorageAutogrow +### -StorageAutogrow Enable Storage Auto Grow. ```yaml @@ -352,22 +306,7 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -StorageProfileStorageIop -Storage IOPS for a server. - -```yaml -Type: System.Int32 -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -StorageProfileStorageMb +### -StorageInMb Max storage allowed for a server. ```yaml From 29596420553f903dcf7f7bfa2f738afbb6c25d8b Mon Sep 17 00:00:00 2001 From: Daeun Yim Date: Tue, 27 Oct 2020 16:52:11 -0700 Subject: [PATCH 03/51] cmdlet design draft --- .../Get-AzMySqlFlexibleServerConfiguration.md | 106 ++++++-- .../docs/Get-AzMySqlFlexibleServerDatabase.md | 106 +++++++- .../Get-AzMySqlFlexibleServerFirewallRule.md | 107 ++++++-- .../docs/Get-AzMySqlFlexibleServerKey.md | 183 ------------- ...lFlexibleServerLocationBasedCapability.md} | 43 +-- ...Get-AzMySqlFlexibleServersConfiguration.md | 178 ------------ .../Get-AzMySqlFlexibleServersDatabase.md | 178 ------------ .../Get-AzMySqlFlexibleServersFirewallRule.md | 178 ------------ src/MySql/docs/New-AzMySqlFlexibleServer.md | 2 +- .../docs/New-AzMySqlFlexibleServerDatabase.md | 30 +- .../New-AzMySqlFlexibleServerFirewallRule.md | 58 ++-- .../docs/New-AzMySqlFlexibleServerKey.md | 212 --------------- .../docs/New-AzMySqlFlexibleServerReplica.md | 251 +++++++++++++++++ .../docs/Remove-AzMySqlFlexibleServer.md | 23 +- .../docs/Remove-AzMySqlFlexibleServerKey.md | 255 ----------------- .../Remove-AzMySqlFlexibleServersDatabase.md | 24 +- ...move-AzMySqlFlexibleServersFirewallRule.md | 25 +- .../docs/Restart-AzMySqlFlexibleServer.md | 6 +- .../docs/Restore-AzMySqlFlexibleServer.md | 257 ++++++++++++++++++ .../docs/Set-AzMySqlFlexibleServerDatabase.md | 27 +- .../Set-AzMySqlFlexibleServerFirewallRule.md | 35 ++- .../docs/Set-AzMySqlFlexibleServerKey.md | 246 ----------------- src/MySql/docs/Start-AzMySqlFlexibleServer.md | 6 +- src/MySql/docs/Stop-AzMySqlFlexibleServer.md | 6 +- ...ate-AzMySqlFlexibleServersConfiguration.md | 30 +- 25 files changed, 956 insertions(+), 1616 deletions(-) delete mode 100644 src/MySql/docs/Get-AzMySqlFlexibleServerKey.md rename src/MySql/docs/{Get-AzMySqlLocationBasedCapability.md => Get-AzMySqlFlexibleServerLocationBasedCapability.md} (51%) delete mode 100644 src/MySql/docs/Get-AzMySqlFlexibleServersConfiguration.md delete mode 100644 src/MySql/docs/Get-AzMySqlFlexibleServersDatabase.md delete mode 100644 src/MySql/docs/Get-AzMySqlFlexibleServersFirewallRule.md delete mode 100644 src/MySql/docs/New-AzMySqlFlexibleServerKey.md create mode 100644 src/MySql/docs/New-AzMySqlFlexibleServerReplica.md delete mode 100644 src/MySql/docs/Remove-AzMySqlFlexibleServerKey.md create mode 100644 src/MySql/docs/Restore-AzMySqlFlexibleServer.md delete mode 100644 src/MySql/docs/Set-AzMySqlFlexibleServerKey.md diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServerConfiguration.md b/src/MySql/docs/Get-AzMySqlFlexibleServerConfiguration.md index db702aed60ae..cc201e36ff6b 100644 --- a/src/MySql/docs/Get-AzMySqlFlexibleServerConfiguration.md +++ b/src/MySql/docs/Get-AzMySqlFlexibleServerConfiguration.md @@ -1,47 +1,81 @@ --- external help file: Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserverconfiguration +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserversconfiguration schema: 2.0.0 --- -# Get-AzMySqlFlexibleServerConfiguration +# Get-AzMySqlFlexibleServersConfiguration ## SYNOPSIS -List all the configurations in a given server. +Gets information about a configuration of server. ## SYNTAX +### Get (Default) ``` -Get-AzMySqlFlexibleServerConfiguration -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [] +Get-AzMySqlFlexibleServersConfiguration -Name -ResourceGroupName + -ServerName [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzMySqlFlexibleServersConfiguration -InputObject [-DefaultProfile ] + [] ``` ## DESCRIPTION -List all the configurations in a given server. +Gets information about a configuration of server. ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: List all configurations in specified MySql server ```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +PS C:\> Get-AzMySqlFlexibleServersConfiguration -ResourceGroupName PowershellMySqlTest -ServerName mysql-test + +Name Type +---- ---- +audit_log_enabled Microsoft.DBforMySQL/flexibleServers/configurations +audit_log_events Microsoft.DBforMySQL/flexibleServers/configurations +audit_log_exclude_users Microsoft.DBforMySQL/flexibleServers/configurations +audit_log_include_users Microsoft.DBforMySQL/flexibleServers/configurations +... +transaction_prealloc_size Microsoft.DBforMySQL/flexibleServers/configurations +tx_isolation Microsoft.DBforMySQL/flexibleServers/configurations +updatable_views_with_limit Microsoft.DBforMySQL/flexibleServers/configurations +wait_timeout Microsoft.DBforMySQL/flexibleServers/configurations ``` -{{ Add description here }} +This cmdlet lists all configurations in specified MySql server. -### Example 2: {{ Add title here }} +### Example 2: Get specified MySql configuration by name ```powershell -PS C:\> {{ Add code here }} +PS C:\> Get-AzMySqlFlexibleServersConfiguration -Name time_zone -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -{{ Add output here }} +Name Type +---- ---- +time_zone Microsoft.DBforMySQL/flexibleServers/configurations ``` -{{ Add description here }} +This cmdlet gets specified MySql configuration by name. ## PARAMETERS +### -Name +The name of the server configuration. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: ConfigurationName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -DefaultProfile The credentials, account, tenant, and subscription used for communication with Azure. @@ -57,13 +91,29 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: Get, List Aliases: Required: True @@ -78,7 +128,7 @@ The name of the server. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: Get, List Aliases: Required: True @@ -93,7 +143,7 @@ The ID of the target subscription. ```yaml Type: System.String[] -Parameter Sets: (All) +Parameter Sets: Get, List Aliases: Required: False @@ -108,6 +158,8 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + ## OUTPUTS ### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IConfigurationAutoGenerated @@ -116,5 +168,23 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ALIASES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + ## RELATED LINKS diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServerDatabase.md b/src/MySql/docs/Get-AzMySqlFlexibleServerDatabase.md index d5d919d1c7b3..e876565f53d0 100644 --- a/src/MySql/docs/Get-AzMySqlFlexibleServerDatabase.md +++ b/src/MySql/docs/Get-AzMySqlFlexibleServerDatabase.md @@ -1,47 +1,87 @@ --- external help file: Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserverdatabase +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserversdatabase schema: 2.0.0 --- # Get-AzMySqlFlexibleServerDatabase ## SYNOPSIS -List all the databases in a given server. +Gets information about a database. ## SYNTAX +### Get (Default) ``` -Get-AzMySqlFlexibleServerDatabase -ResourceGroupName -ServerName +Get-AzMySqlFlexibleServersDatabase -Name -ResourceGroupName -ServerName [-SubscriptionId ] [-DefaultProfile ] [] ``` +### GetViaIdentity +``` +Get-AzMySqlFlexibleServersDatabase -InputObject [-DefaultProfile ] + [] +``` + ## DESCRIPTION -List all the databases in a given server. +Gets information about a database. ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: Get MySql databases by resource group and server name +```powershell +PS C:\> Get-AzMySqlFlexibleServerDatabase -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -Name flexibleserverdb + +Name Charset Collation +---- -------- ------------------ +flexibleserverdb latin1 latin1_swedish_ci +``` + +This cmdlet gets MySql server by resource group and server name. + +### Example 3: Lists all the MySql databases in specified resource group ```powershell -PS C:\> {{ Add code here }} +PS C:\> Get-AzMySqlFlexibleServerDatabase -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -{{ Add output here }} +Name Charset Collation +---- -------- ------------------ +flexibleserverdb latin1 latin1_swedish_ci +performance_schema latin1 latin1_swedish_ci ``` -{{ Add description here }} +This cmdlet lists all the MySql servers in specified resource group. -### Example 2: {{ Add title here }} +### Example 4: Get MySql databases by identity ```powershell -PS C:\> {{ Add code here }} +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test" +PS C:\> Get-AzMySqlFlexibleServerDatabase -InputObject $ID -{{ Add output here }} +Name Charset Collation +---- -------- ------------------ +flexibleserverdb latin1 latin1_swedish_ci +performance_schema latin1 latin1_swedish_ci ``` -{{ Add description here }} +This cmdlet lists gets MySql server by identity. ## PARAMETERS +### -Name +The name of the database. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: DatabaseName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -DefaultProfile The credentials, account, tenant, and subscription used for communication with Azure. @@ -57,13 +97,29 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: Get Aliases: Required: True @@ -78,7 +134,7 @@ The name of the server. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: Get Aliases: Required: True @@ -93,7 +149,7 @@ The ID of the target subscription. ```yaml Type: System.String[] -Parameter Sets: (All) +Parameter Sets: Get Aliases: Required: False @@ -108,6 +164,8 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + ## OUTPUTS ### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IDatabase @@ -116,5 +174,23 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ALIASES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + ## RELATED LINKS diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServerFirewallRule.md b/src/MySql/docs/Get-AzMySqlFlexibleServerFirewallRule.md index efe2333d51fa..d1c432e98df8 100644 --- a/src/MySql/docs/Get-AzMySqlFlexibleServerFirewallRule.md +++ b/src/MySql/docs/Get-AzMySqlFlexibleServerFirewallRule.md @@ -1,44 +1,68 @@ --- external help file: Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserverfirewallrule +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserversfirewallrule schema: 2.0.0 --- # Get-AzMySqlFlexibleServerFirewallRule ## SYNOPSIS -List all the firewall rules in a given server. +Gets information about a server firewall rule. ## SYNTAX +### Get (Default) ``` -Get-AzMySqlFlexibleServerFirewallRule -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [] +Get-AzMySqlFlexibleServerFirewallRule -FirewallRuleName -ResourceGroupName + -ServerName [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzMySqlFlexibleServerFirewallRule -InputObject [-DefaultProfile ] + [] ``` ## DESCRIPTION -List all the firewall rules in a given server. +Gets information about a server firewall rule. ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: Lists all the firewall rules in specified MySql server +```powershell +PS C:\> Get-AzMySqlFlexibleServerFirewallRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test + +FirewallRuleName StartIPAddress EndIPAddress +----------------- --------------- --------------- +firewallrule-test 12.12.12.12 23.23.23.23 +``` + +This cmdlet lists all the firewall rule in specified MySql server. + +### Example 2: Get firewall rules by name ```powershell -PS C:\> {{ Add code here }} +PS C:\> Get-AzMySqlFlexibleServerFirewallRule -FirewallRuleName firewallrule-test -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -{{ Add output here }} +FirewallRuleName StartIPAddress EndIPAddress +----------------- --------------- --------------- +firewallrule-test 12.12.12.12 23.23.23.23 ``` -{{ Add description here }} +This cmdlet gets firewall rules by name. -### Example 2: {{ Add title here }} +### Example 3: Get firewall rules by identity ```powershell -PS C:\> {{ Add code here }} +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/firewallRules/rule" +PS C:\> Get-AzMySqlFlexibleServerFirewallRule -InputObject $ID -{{ Add output here }} +FirewallRuleName StartIPAddress EndIPAddress +----------------- --------------- --------------- +firewallrule-test 12.12.12.12 23.23.23.23 +firewallrule-test2 12.12.12.15 23.23.23.25 ``` -{{ Add description here }} +This cmdlet gets firewall rules by identity. ## PARAMETERS @@ -57,13 +81,44 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -FirewallRuleName +The name of the server firewall rule. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: Get Aliases: Required: True @@ -78,7 +133,7 @@ The name of the server. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: Get Aliases: Required: True @@ -93,7 +148,7 @@ The ID of the target subscription. ```yaml Type: System.String[] -Parameter Sets: (All) +Parameter Sets: Get Aliases: Required: False @@ -108,6 +163,8 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + ## OUTPUTS ### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule @@ -116,5 +173,23 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ALIASES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + ## RELATED LINKS diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServerKey.md b/src/MySql/docs/Get-AzMySqlFlexibleServerKey.md deleted file mode 100644 index 69f865b01d57..000000000000 --- a/src/MySql/docs/Get-AzMySqlFlexibleServerKey.md +++ /dev/null @@ -1,183 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserverkey -schema: 2.0.0 ---- - -# Get-AzMySqlFlexibleServerKey - -## SYNOPSIS -Gets a server key. - -## SYNTAX - -### List (Default) -``` -Get-AzMySqlFlexibleServerKey -ResourceGroupName -ServerName [-SubscriptionId ] - [-DefaultProfile ] [] -``` - -### Get -``` -Get-AzMySqlFlexibleServerKey -KeyName -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [] -``` - -### GetViaIdentity -``` -Get-AzMySqlFlexibleServerKey -InputObject [-DefaultProfile ] [] -``` - -## DESCRIPTION -Gets a server key. - -## EXAMPLES - -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -## PARAMETERS - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity -Parameter Sets: GetViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -KeyName -The name of the server key. - -```yaml -Type: System.String -Parameter Sets: Get -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Get, List -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Get, List -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String[] -Parameter Sets: Get, List -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerKey - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[KeyName ]`: The name of the server key. - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/MySql/docs/Get-AzMySqlLocationBasedCapability.md b/src/MySql/docs/Get-AzMySqlFlexibleServerLocationBasedCapability.md similarity index 51% rename from src/MySql/docs/Get-AzMySqlLocationBasedCapability.md rename to src/MySql/docs/Get-AzMySqlFlexibleServerLocationBasedCapability.md index 51e7c5f46e48..d6b11a209cb5 100644 --- a/src/MySql/docs/Get-AzMySqlLocationBasedCapability.md +++ b/src/MySql/docs/Get-AzMySqlFlexibleServerLocationBasedCapability.md @@ -1,11 +1,11 @@ --- external help file: Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqllocationbasedcapability +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserverlocationbasedcapability schema: 2.0.0 --- -# Get-AzMySqlLocationBasedCapability +# Get-AzMySqlFlexibleServerLocationBasedCapability ## SYNOPSIS Get capabilities at specified location in a given subscription. @@ -13,7 +13,7 @@ Get capabilities at specified location in a given subscription. ## SYNTAX ``` -Get-AzMySqlLocationBasedCapability -LocationName [-SubscriptionId ] +Get-AzMySqlFlexibleServerLocationBasedCapability -LocationName [-SubscriptionId ] [-DefaultProfile ] [] ``` @@ -22,23 +22,34 @@ Get capabilities at specified location in a given subscription. ## EXAMPLES -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` +### Example 1: List available SKUs and their properties in the location -{{ Add description here }} - -### Example 2: {{ Add title here }} ```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +PS C:\> Get-AzMySqlFlexibleServerLocationBasedCapability -LocationName eastus +For prices please refer to https://aka.ms/mysql-pricing + +SKU Tier VCore Memory Max Disk IOPS +----------------- --------------- ------- -------- --------------- +Standard_B1s Burstable 1 1 GiB 320 +Standard_B1ms Burstable 1 2 GiB 640 +Standard_B2s Burstable 2 4 GiB 1280 +Standard_D2ds_v4 GeneralPurpose 2 8 GiB 3200 +Standard_D4ds_v4 GeneralPurpose 4 16 GiB 6400 +Standard_D8ds_v4 GeneralPurpose 8 32 GiB 12800 +Standard_D16ds_v4 GeneralPurpose 16 64 GiB 20000 +Standard_D32ds_v4 GeneralPurpose 32 128 GiB 20000 +Standard_D48ds_v4 GeneralPurpose 48 192 GiB 20000 +Standard_D64ds_v4 GeneralPurpose 64 256 GiB 20000 +Standard_E2ds_v4 MemoryOptimized 2 16 GiB 3200 +Standard_E4ds_v4 MemoryOptimized 4 32 GiB 6400 +Standard_E8ds_v4 MemoryOptimized 8 64 GiB 12800 +Standard_E16ds_v4 MemoryOptimized 16 128 GiB 20000 +Standard_E32ds_v4 MemoryOptimized 32 256 GiB 20000 +Standard_E48ds_v4 MemoryOptimized 48 384 GiB 20000 +Standard_E64ds_v4 MemoryOptimized 64 512 GiB 20000 ``` -{{ Add description here }} +Provide available skus in the location ## PARAMETERS diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServersConfiguration.md b/src/MySql/docs/Get-AzMySqlFlexibleServersConfiguration.md deleted file mode 100644 index e6651ade703a..000000000000 --- a/src/MySql/docs/Get-AzMySqlFlexibleServersConfiguration.md +++ /dev/null @@ -1,178 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserversconfiguration -schema: 2.0.0 ---- - -# Get-AzMySqlFlexibleServersConfiguration - -## SYNOPSIS -Gets information about a configuration of server. - -## SYNTAX - -### Get (Default) -``` -Get-AzMySqlFlexibleServersConfiguration -ConfigurationName -ResourceGroupName - -ServerName [-SubscriptionId ] [-DefaultProfile ] [] -``` - -### GetViaIdentity -``` -Get-AzMySqlFlexibleServersConfiguration -InputObject [-DefaultProfile ] - [] -``` - -## DESCRIPTION -Gets information about a configuration of server. - -## EXAMPLES - -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -## PARAMETERS - -### -ConfigurationName -The name of the server configuration. - -```yaml -Type: System.String -Parameter Sets: Get -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity -Parameter Sets: GetViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Get -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Get -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String[] -Parameter Sets: Get -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IConfigurationAutoGenerated - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[KeyName ]`: The name of the server key. - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServersDatabase.md b/src/MySql/docs/Get-AzMySqlFlexibleServersDatabase.md deleted file mode 100644 index 0a39a62254f7..000000000000 --- a/src/MySql/docs/Get-AzMySqlFlexibleServersDatabase.md +++ /dev/null @@ -1,178 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserversdatabase -schema: 2.0.0 ---- - -# Get-AzMySqlFlexibleServersDatabase - -## SYNOPSIS -Gets information about a database. - -## SYNTAX - -### Get (Default) -``` -Get-AzMySqlFlexibleServersDatabase -DatabaseName -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [] -``` - -### GetViaIdentity -``` -Get-AzMySqlFlexibleServersDatabase -InputObject [-DefaultProfile ] - [] -``` - -## DESCRIPTION -Gets information about a database. - -## EXAMPLES - -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -## PARAMETERS - -### -DatabaseName -The name of the database. - -```yaml -Type: System.String -Parameter Sets: Get -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity -Parameter Sets: GetViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Get -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Get -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String[] -Parameter Sets: Get -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IDatabase - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[KeyName ]`: The name of the server key. - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServersFirewallRule.md b/src/MySql/docs/Get-AzMySqlFlexibleServersFirewallRule.md deleted file mode 100644 index 0935d4c8186a..000000000000 --- a/src/MySql/docs/Get-AzMySqlFlexibleServersFirewallRule.md +++ /dev/null @@ -1,178 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserversfirewallrule -schema: 2.0.0 ---- - -# Get-AzMySqlFlexibleServersFirewallRule - -## SYNOPSIS -Gets information about a server firewall rule. - -## SYNTAX - -### Get (Default) -``` -Get-AzMySqlFlexibleServersFirewallRule -FirewallRuleName -ResourceGroupName - -ServerName [-SubscriptionId ] [-DefaultProfile ] [] -``` - -### GetViaIdentity -``` -Get-AzMySqlFlexibleServersFirewallRule -InputObject [-DefaultProfile ] - [] -``` - -## DESCRIPTION -Gets information about a server firewall rule. - -## EXAMPLES - -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -## PARAMETERS - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -FirewallRuleName -The name of the server firewall rule. - -```yaml -Type: System.String -Parameter Sets: Get -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity -Parameter Sets: GetViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Get -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Get -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String[] -Parameter Sets: Get -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[KeyName ]`: The name of the server key. - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/MySql/docs/New-AzMySqlFlexibleServer.md b/src/MySql/docs/New-AzMySqlFlexibleServer.md index 0655ab997282..1b64e4d839d3 100644 --- a/src/MySql/docs/New-AzMySqlFlexibleServer.md +++ b/src/MySql/docs/New-AzMySqlFlexibleServer.md @@ -7,7 +7,7 @@ schema: 2.0.0 # New-AzMySqlFlexibleServer -## Creates aCreates a new server. A server can be generated with all arguments optional. +## Creates a new server. A server can be generated with all arguments optional. ## SYNTAX diff --git a/src/MySql/docs/New-AzMySqlFlexibleServerDatabase.md b/src/MySql/docs/New-AzMySqlFlexibleServerDatabase.md index a91327b0760f..5eba92615406 100644 --- a/src/MySql/docs/New-AzMySqlFlexibleServerDatabase.md +++ b/src/MySql/docs/New-AzMySqlFlexibleServerDatabase.md @@ -8,38 +8,30 @@ schema: 2.0.0 # New-AzMySqlFlexibleServerDatabase ## SYNOPSIS -Creates a new database or updates an existing database. +Creates a new database ## SYNTAX ``` -New-AzMySqlFlexibleServerDatabase -DatabaseName -ResourceGroupName -ServerName +New-AzMySqlFlexibleServerDatabase -Name -ResourceGroupName -ServerName [-SubscriptionId ] [-Charset ] [-Collation ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION -Creates a new database or updates an existing database. +Creates a new database ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: Create a new MySql server database ```powershell -PS C:\> {{ Add code here }} +PS C:\> New-AzMySqlFlexibleServerDatabase -Name databasetest -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -{{ Add output here }} +Name Charset Collation +---- -------- ------------------ +databasetest latin1 latin1_swedish_ci ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} +Create a database with default settings. ## PARAMETERS @@ -88,13 +80,13 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -DatabaseName +### -Name The name of the database. ```yaml Type: System.String Parameter Sets: (All) -Aliases: +Aliases: DatabaseName Required: True Position: Named diff --git a/src/MySql/docs/New-AzMySqlFlexibleServerFirewallRule.md b/src/MySql/docs/New-AzMySqlFlexibleServerFirewallRule.md index 043ca762ed87..1255c9a27a7a 100644 --- a/src/MySql/docs/New-AzMySqlFlexibleServerFirewallRule.md +++ b/src/MySql/docs/New-AzMySqlFlexibleServerFirewallRule.md @@ -8,38 +8,64 @@ schema: 2.0.0 # New-AzMySqlFlexibleServerFirewallRule ## SYNOPSIS -Creates a new firewall rule or updates an existing firewall rule. +Creates a new firewall rule. ## SYNTAX ``` -New-AzMySqlFlexibleServerFirewallRule -FirewallRuleName -ResourceGroupName - -ServerName -EndIPAddress -StartIPAddress [-SubscriptionId ] +New-AzMySqlFlexibleServerFirewallRule -ResourceGroupName -ServerName -EndIPAddress -StartIPAddress + [-SubscriptionId ] [-Name ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION -Creates a new firewall rule or updates an existing firewall rule. +Creates a new firewall rule. ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: Create a new MySql server Firewall Rule ```powershell -PS C:\> {{ Add code here }} +PS C:\> New-AzMySqlFirewallRule -Name firewallrule-test -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 -{{ Add output here }} +Name StartIPAddress EndIPAddress +----------------- -------------- ------------ +firewallrule-test 0.0.0.0 0.0.0.1 ``` -{{ Add description here }} +This cmdlets create a MySql server Firewall Rule. -### Example 2: {{ Add title here }} +### Example 2: Create a new MySql Firewall Rule without giving a name ```powershell -PS C:\> {{ Add code here }} +PS C:\> New-AzMySqlFirewallRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 -{{ Add output here }} +Name StartIPAddress EndIPAddress +---- -------------- ------------ +FirewallIPAddress__2020-08-11_18-19-27 0.0.0.1 0.0.0.1 ``` -{{ Add description here }} +This cmdlets create a MySql Firewall Rule using -ClientIPAddress. + +### Example 3: Create a new MySql Firewall Rule to allow all IPs +```powershell +PS C:\> New-AzMySqlFirewallRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -EndIPAddress 255.255.255.255 -StartIPAddress 0.0.0.0 + +Name StartIPAddress EndIPAddress +---- -------------- ------------ +AllowAll_2020-08-11_18-19-27 0.0.0.0 255.255.255.255 +``` + +This cmdlets create a new MySql Firewall Rule to allow all IPs. + +### Example 3: Create a new MySql Firewall Rule to allow all Azure resources +```powershell +PS C:\> New-AzMySqlFirewallRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -StartIPAddress 0.0.0.0 + +Name StartIPAddress EndIPAddress +---- -------------- ------------ +AllowAllAzureServicesAndResourcesWithinAzureIps_2020-08-11_18-19-27 0.0.0.0 0.0.0.0 +``` + +This cmdlets create a new MySql Firewall Rule to allow all azure resources. ## PARAMETERS @@ -75,7 +101,7 @@ Accept wildcard characters: False ### -EndIPAddress The end IP address of the server firewall rule. -Must be IPv4 format. +Must be IPv4 format. Use value '0.0.0.0' to represent all Azure-internal IP addresses. ```yaml Type: System.String @@ -89,13 +115,13 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -FirewallRuleName +### -Name The name of the server firewall rule. ```yaml Type: System.String Parameter Sets: (All) -Aliases: +Aliases: FirewallRuleName Required: True Position: Named @@ -152,7 +178,7 @@ Accept wildcard characters: False ### -StartIPAddress The start IP address of the server firewall rule. -Must be IPv4 format. +Must be IPv4 format. Use value '0.0.0.0' to represent all Azure-internal IP addresses. ```yaml Type: System.String diff --git a/src/MySql/docs/New-AzMySqlFlexibleServerKey.md b/src/MySql/docs/New-AzMySqlFlexibleServerKey.md deleted file mode 100644 index 4ec62f544230..000000000000 --- a/src/MySql/docs/New-AzMySqlFlexibleServerKey.md +++ /dev/null @@ -1,212 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlflexibleserverkey -schema: 2.0.0 ---- - -# New-AzMySqlFlexibleServerKey - -## SYNOPSIS -Creates or updates a MySQL Server key. - -## SYNTAX - -``` -New-AzMySqlFlexibleServerKey -KeyName -ResourceGroupName -ServerName - [-SubscriptionId ] [-Uri ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] - [-WhatIf] [] -``` - -## DESCRIPTION -Creates or updates a MySQL Server key. - -## EXAMPLES - -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -## PARAMETERS - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -KeyName -The name of the server key. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Uri -The URI of the key. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerKey - -## NOTES - -ALIASES - -## RELATED LINKS - diff --git a/src/MySql/docs/New-AzMySqlFlexibleServerReplica.md b/src/MySql/docs/New-AzMySqlFlexibleServerReplica.md new file mode 100644 index 000000000000..60c555ef09f7 --- /dev/null +++ b/src/MySql/docs/New-AzMySqlFlexibleServerReplica.md @@ -0,0 +1,251 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlreplica +schema: 2.0.0 +--- + +# New-AzMySqlFlexibleServerReplica + +## SYNOPSIS +Creates a new replica from an existing database. + +## SYNTAX + +``` +New-AzMySqlFlexibleServerReplica -Replica -ResourceGroupName -Master [-SubscriptionId ] + [-Location ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Creates a new replica from an existing database. + +## EXAMPLES + +### Example 1: Create a new MySql server replica +```powershell +PS C:\> Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test | New-AzMySqlFlexibleServerReplica -Replica mysql-test-replica -ResourceGroupName PowershellMySqlTest + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ------- ------- +mysql-test-replica eastus mysql_test 5.7 10240 Standard_B1ms Burstable +``` + +This cmdlet creates a new MySql server replica. + +### Example 2: Create a new MySql server replica +```powershell +PS C:\> $mysql = Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test +PS C:\> New-AzMySqlFlexibleServerReplica -Master $mysql -Replica mysql-test-replica -ResourceGroupName PowershellMySqlTest + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ------- ------- +mysql-test-replica eastus mysql_test 5.7 10240 Standard_B1ms Burstable +``` + +This cmdlet with parameter master(inputobject) creates a new MySql server replica. + +## PARAMETERS + +### -AsJob +Run the command as a job. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Location +The location the resource resides in. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Master +The source server object to create replica from. +To construct, see NOTES section for MASTER properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer +Parameter Sets: (All) +Aliases: InputObject + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Replica +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: ReplicaServerName, Name + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The subscription ID that identifies an Azure subscription. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +MASTER : The source server object to create replica from. + - `Location `: The geo-location where the resource lives + - `SkuName `: The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. + - `[Tag ]`: Resource tags. + - `[(Any) ]`: This indicates any property can be added to this object. + - `[AdministratorLogin ]`: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). + - `[EarliestRestoreDate ]`: Earliest restore point creation time (ISO8601 format) + - `[FullyQualifiedDomainName ]`: The fully qualified domain name of a server. + - `[IdentityType ]`: The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. + - `[InfrastructureEncryption ]`: Status showing whether the server enabled infrastructure encryption. + - `[MasterServerId ]`: The master server id of a replica server. + - `[MinimalTlsVersion ]`: Enforce a minimal Tls version for the server. + - `[PublicNetworkAccess ]`: Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' + - `[ReplicaCapacity ]`: The maximum number of replicas that a master server can have. + - `[ReplicationRole ]`: The replication role of the server. + - `[SkuCapacity ]`: The scale up/out capacity, representing server's compute units. + - `[SkuFamily ]`: The family of hardware. + - `[SkuSize ]`: The size code, to be interpreted by resource as appropriate. + - `[SkuTier ]`: The tier of the particular SKU, e.g. Basic. + - `[SslEnforcement ]`: Enable ssl enforcement or not when connect to server. + - `[StorageProfileBackupRetentionDay ]`: Backup retention days for the server. + - `[StorageProfileGeoRedundantBackup ]`: Enable Geo-redundant or not for server backup. + - `[StorageProfileStorageAutogrow ]`: Enable Storage Auto Grow. + - `[StorageProfileStorageMb ]`: Max storage allowed for a server. + - `[UserVisibleState ]`: A state of a server that is visible to user. + - `[Version ]`: Server version. + +## RELATED LINKS + diff --git a/src/MySql/docs/Remove-AzMySqlFlexibleServer.md b/src/MySql/docs/Remove-AzMySqlFlexibleServer.md index 760b9601cbda..1de911a89686 100644 --- a/src/MySql/docs/Remove-AzMySqlFlexibleServer.md +++ b/src/MySql/docs/Remove-AzMySqlFlexibleServer.md @@ -14,7 +14,7 @@ Deletes a server. ### Delete (Default) ``` -Remove-AzMySqlFlexibleServer -ResourceGroupName -ServerName [-SubscriptionId ] +Remove-AzMySqlFlexibleServer -ResourceGroupName -Name [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] ``` @@ -29,23 +29,22 @@ Deletes a server. ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: Remove MySql server by resourceGroup and server name ```powershell -PS C:\> {{ Add code here }} +PS C:\> Remove-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Name mysql-test -{{ Add output here }} ``` -{{ Add description here }} +This cmdlet removes MySql server by resourceGroup and server name. -### Example 2: {{ Add title here }} +### Example 2: Remove MySql server by identity ```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test" +PS C:\> Remove-AzMySqlFlexibleServer -InputObject $ID + ``` -{{ Add description here }} +These cmdlets remove MySql server by identity. ## PARAMETERS @@ -141,13 +140,13 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ServerName +### -Name The name of the server. ```yaml Type: System.String Parameter Sets: Delete -Aliases: +Aliases: ServerName Required: True Position: Named diff --git a/src/MySql/docs/Remove-AzMySqlFlexibleServerKey.md b/src/MySql/docs/Remove-AzMySqlFlexibleServerKey.md deleted file mode 100644 index 1d9c42c47d2a..000000000000 --- a/src/MySql/docs/Remove-AzMySqlFlexibleServerKey.md +++ /dev/null @@ -1,255 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/remove-azmysqlflexibleserverkey -schema: 2.0.0 ---- - -# Remove-AzMySqlFlexibleServerKey - -## SYNOPSIS -Deletes the MySQL Server key with the given name. - -## SYNTAX - -### Delete (Default) -``` -Remove-AzMySqlFlexibleServerKey -KeyName -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] - [] -``` - -### DeleteViaIdentity -``` -Remove-AzMySqlFlexibleServerKey -InputObject [-DefaultProfile ] [-AsJob] [-NoWait] - [-PassThru] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Deletes the MySQL Server key with the given name. - -## EXAMPLES - -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -## PARAMETERS - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity -Parameter Sets: DeleteViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -KeyName -The name of the server key. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PassThru -Returns true when the command succeeds - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity - -## OUTPUTS - -### System.Boolean - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[KeyName ]`: The name of the server key. - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/MySql/docs/Remove-AzMySqlFlexibleServersDatabase.md b/src/MySql/docs/Remove-AzMySqlFlexibleServersDatabase.md index 623bc3b73771..a8b82668b01f 100644 --- a/src/MySql/docs/Remove-AzMySqlFlexibleServersDatabase.md +++ b/src/MySql/docs/Remove-AzMySqlFlexibleServersDatabase.md @@ -14,7 +14,7 @@ Deletes a database. ### Delete (Default) ``` -Remove-AzMySqlFlexibleServersDatabase -DatabaseName -ResourceGroupName -ServerName +Remove-AzMySqlFlexibleServersDatabase -Name -ResourceGroupName -ServerName [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] ``` @@ -30,23 +30,21 @@ Deletes a database. ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: Remove MySql database by name ```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +PS C:\> Remove-AzMySqlFlexibleServersDatabase -Name databasetest -ResourceGroupName PowershellMySqlTest -ServerName mysql-test ``` -{{ Add description here }} +This cmdlet removes MySql database by name. -### Example 2: {{ Add title here }} +### Example 2: Remove MySql database by identity ```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test/databases/databasetest" +PS C:\> Remove-AzMySqlFlexibleServersDatabase -InputObject $ID + ``` -{{ Add description here }} +These cmdlets remove MySql database by identity. ## PARAMETERS @@ -65,13 +63,13 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -DatabaseName +### -Name The name of the database. ```yaml Type: System.String Parameter Sets: Delete -Aliases: +Aliases: DatabaseName Required: True Position: Named diff --git a/src/MySql/docs/Remove-AzMySqlFlexibleServersFirewallRule.md b/src/MySql/docs/Remove-AzMySqlFlexibleServersFirewallRule.md index 827792da0c11..584b3ce02c2a 100644 --- a/src/MySql/docs/Remove-AzMySqlFlexibleServersFirewallRule.md +++ b/src/MySql/docs/Remove-AzMySqlFlexibleServersFirewallRule.md @@ -14,7 +14,7 @@ Deletes a firewall rule. ### Delete (Default) ``` -Remove-AzMySqlFlexibleServersFirewallRule -FirewallRuleName -ResourceGroupName +Remove-AzMySqlFlexibleServersFirewallRule -Name -ResourceGroupName -ServerName [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] ``` @@ -26,27 +26,26 @@ Remove-AzMySqlFlexibleServersFirewallRule -InputObject [-Defaul ``` ## DESCRIPTION -Deletes a firewall rule. +Deletes a server firewall rule. ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: Remove MySql Firewall Rule by name ```powershell -PS C:\> {{ Add code here }} +PS C:\> Remove-AzMySqlFlexibleServersFirewallRule -Name firewall-rule-test -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -{{ Add output here }} ``` -{{ Add description here }} +This cmdlet removes MySql Firewall Rule by name. -### Example 2: {{ Add title here }} +### Example 2: Remove MySql Firewall Rule by identity ```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test/firewallRules/firewall-rule-test" +PS C:\> Remove-AzMySqlFlexibleServersFirewallRule -InputObject $ID + ``` -{{ Add description here }} +These cmdlets remove MySql Firewall Rule by identity. ## PARAMETERS @@ -80,13 +79,13 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -FirewallRuleName +### -Name The name of the server firewall rule. ```yaml Type: System.String Parameter Sets: Delete -Aliases: +Aliases: FirewallRuleName Required: True Position: Named diff --git a/src/MySql/docs/Restart-AzMySqlFlexibleServer.md b/src/MySql/docs/Restart-AzMySqlFlexibleServer.md index 5f3fa08ed63e..fa696bbbfdb3 100644 --- a/src/MySql/docs/Restart-AzMySqlFlexibleServer.md +++ b/src/MySql/docs/Restart-AzMySqlFlexibleServer.md @@ -14,7 +14,7 @@ Restarts a server. ### Restart (Default) ``` -Restart-AzMySqlFlexibleServer -ResourceGroupName -ServerName [-SubscriptionId ] +Restart-AzMySqlFlexibleServer -ResourceGroupName -Name [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] ``` @@ -141,13 +141,13 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ServerName +### -Name The name of the server. ```yaml Type: System.String Parameter Sets: Restart -Aliases: +Aliases: ServerName Required: True Position: Named diff --git a/src/MySql/docs/Restore-AzMySqlFlexibleServer.md b/src/MySql/docs/Restore-AzMySqlFlexibleServer.md new file mode 100644 index 000000000000..db2b1a6b0aab --- /dev/null +++ b/src/MySql/docs/Restore-AzMySqlFlexibleServer.md @@ -0,0 +1,257 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/restore-azmysqlserver +schema: 2.0.0 +--- + +# Restore-AzMySqlFlexibleServer + +## SYNOPSIS +Restore a server from an existing backup + +## SYNTAX + +### PointInTimeRestore +``` +Restore-AzMySqlFlexibleServer -Name -ResourceGroupName -InputObject + -RestorePointInTime [-SubscriptionId ] [-Location ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Restore a server from an existing backup + +## EXAMPLES + +### Example 1: Restore MySql server using PointInTime Restore +```powershell +PS C:\> $restorePointInTime = (Get-Date).AddMinutes(-10) +PS C:\> Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test | Restore-AzMySqlFlexibleServer -Name mysql-test-restore -ResourceGroupName PowershellMySqlTest -RestorePointInTime $restorePointInTime + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ------- ------- +mysql-test-restore eastus mysql_test 5.7 10240 Standard_B1ms Burstable +``` + +These cmdlets restore MySql server using PointInTime Restore. + +## PARAMETERS + +### -AsJob +Run the command as a job. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +The source server object to restore from. +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Location +The location the resource resides in. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RestorePointInTime +The location the resource resides in. + +```yaml +Type: System.DateTime +Parameter Sets: PointInTimeRestore +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The subscription ID that identifies an Azure subscription. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : The source server object to restore from. + - `Location `: The geo-location where the resource lives + - `SkuName `: The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. + - `[Tag ]`: Resource tags. + - `[(Any) ]`: This indicates any property can be added to this object. + - `[AdministratorLogin ]`: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). + - `[EarliestRestoreDate ]`: Earliest restore point creation time (ISO8601 format) + - `[FullyQualifiedDomainName ]`: The fully qualified domain name of a server. + - `[IdentityType ]`: The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. + - `[InfrastructureEncryption ]`: Status showing whether the server enabled infrastructure encryption. + - `[MasterServerId ]`: The master server id of a replica server. + - `[MinimalTlsVersion ]`: Enforce a minimal Tls version for the server. + - `[PublicNetworkAccess ]`: Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' + - `[ReplicaCapacity ]`: The maximum number of replicas that a master server can have. + - `[ReplicationRole ]`: The replication role of the server. + - `[SkuCapacity ]`: The scale up/out capacity, representing server's compute units. + - `[SkuFamily ]`: The family of hardware. + - `[SkuSize ]`: The size code, to be interpreted by resource as appropriate. + - `[SkuTier ]`: The tier of the particular SKU, e.g. Basic. + - `[SslEnforcement ]`: Enable ssl enforcement or not when connect to server. + - `[StorageProfileBackupRetentionDay ]`: Backup retention days for the server. + - `[StorageProfileGeoRedundantBackup ]`: Enable Geo-redundant or not for server backup. + - `[StorageProfileStorageAutogrow ]`: Enable Storage Auto Grow. + - `[StorageProfileStorageMb ]`: Max storage allowed for a server. + - `[UserVisibleState ]`: A state of a server that is visible to user. + - `[Version ]`: Server version. + +## RELATED LINKS + diff --git a/src/MySql/docs/Set-AzMySqlFlexibleServerDatabase.md b/src/MySql/docs/Set-AzMySqlFlexibleServerDatabase.md index 331ed33f2c5d..cec45e838164 100644 --- a/src/MySql/docs/Set-AzMySqlFlexibleServerDatabase.md +++ b/src/MySql/docs/Set-AzMySqlFlexibleServerDatabase.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Set-AzMySqlFlexibleServerDatabase ## SYNOPSIS -Creates a new database or updates an existing database. +Updates an existing database. ## SYNTAX @@ -27,27 +27,30 @@ Set-AzMySqlFlexibleServerDatabase -DatabaseName -ResourceGroupName {{ Add code here }} +PS C:\> New-AzMySqlFlexibleServerDatabase -Name database-test -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -Charset utf8 -{{ Add output here }} +Name Charset Collation +---- -------- ------------------ +databasetest utf8 latin1_swedish_ci ``` +Update a database by resource name. -{{ Add description here }} - -### Example 2: {{ Add title here }} +### Example 2: Update MySql database by parameter. ```powershell -PS C:\> {{ Add code here }} +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/databases/databasetest" +PS C:\> New-AzMySqlFlexibleServerDatabase -Parameter $ID -Charset utf8 -{{ Add output here }} +Name Charset Collation +---- -------- ------------------ +databasetest utf8 latin1_swedish_ci ``` - -{{ Add description here }} +Update a database by parameter ## PARAMETERS diff --git a/src/MySql/docs/Set-AzMySqlFlexibleServerFirewallRule.md b/src/MySql/docs/Set-AzMySqlFlexibleServerFirewallRule.md index 5c7ccd211646..b9667a7f890a 100644 --- a/src/MySql/docs/Set-AzMySqlFlexibleServerFirewallRule.md +++ b/src/MySql/docs/Set-AzMySqlFlexibleServerFirewallRule.md @@ -8,46 +8,51 @@ schema: 2.0.0 # Set-AzMySqlFlexibleServerFirewallRule ## SYNOPSIS -Creates a new firewall rule or updates an existing firewall rule. +Updates an existing firewall rule. ## SYNTAX ### UpdateExpanded (Default) ``` -Set-AzMySqlFlexibleServerFirewallRule -FirewallRuleName -ResourceGroupName +Set-AzMySqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName -EndIPAddress -StartIPAddress [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` ### Update ``` -Set-AzMySqlFlexibleServerFirewallRule -FirewallRuleName -ResourceGroupName - -ServerName -Parameter [-SubscriptionId ] [-DefaultProfile ] +Set-AzMySqlFlexibleServerFirewallRule -Parameter + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION -Creates a new firewall rule or updates an existing firewall rule. +Updates an existing firewall rule. ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: Update MySql Firewall Rule by name ```powershell -PS C:\> {{ Add code here }} +PS C:\> Update-AzMySqlFlexibleServerFirewallRule -Name rule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 -{{ Add output here }} +Name StartIPAddress EndIPAddress +---- -------------- ------------ +rule 0.0.0.2 0.0.0.3 ``` -{{ Add description here }} +This cmdlet updates MySql Firewall Rule by name. -### Example 2: {{ Add title here }} +### Example 2: Update MySql Firewall Rule by identity. ```powershell -PS C:\> {{ Add code here }} +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test/firewallRules/rule" +PS C:\> Update-AzMySqlFlexibleServerFirewallRule -InputObject $ID -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 -{{ Add output here }} +Name StartIPAddress EndIPAddress +---- -------------- ------------ +rule 0.0.0.2 0.0.0.3 ``` -{{ Add description here }} +These cmdlets update MySql Firewall Rule by identity. ## PARAMETERS @@ -97,13 +102,13 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -FirewallRuleName +### -Name The name of the server firewall rule. ```yaml Type: System.String Parameter Sets: (All) -Aliases: +Aliases: FirewallRuleName Required: True Position: Named diff --git a/src/MySql/docs/Set-AzMySqlFlexibleServerKey.md b/src/MySql/docs/Set-AzMySqlFlexibleServerKey.md deleted file mode 100644 index 00db0d7930af..000000000000 --- a/src/MySql/docs/Set-AzMySqlFlexibleServerKey.md +++ /dev/null @@ -1,246 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/set-azmysqlflexibleserverkey -schema: 2.0.0 ---- - -# Set-AzMySqlFlexibleServerKey - -## SYNOPSIS -Creates or updates a MySQL Server key. - -## SYNTAX - -### UpdateExpanded (Default) -``` -Set-AzMySqlFlexibleServerKey -KeyName -ResourceGroupName -ServerName - [-SubscriptionId ] [-Uri ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] - [-WhatIf] [] -``` - -### Update -``` -Set-AzMySqlFlexibleServerKey -KeyName -ResourceGroupName -ServerName - -Parameter [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] - [-WhatIf] [] -``` - -## DESCRIPTION -Creates or updates a MySQL Server key. - -## EXAMPLES - -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -## PARAMETERS - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -KeyName -The name of the server key. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Parameter -A MySQL Server key. -To construct, see NOTES section for PARAMETER properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerKey -Parameter Sets: Update -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Uri -The URI of the key. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerKey - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerKey - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -PARAMETER : A MySQL Server key. - - `[Uri ]`: The URI of the key. - -## RELATED LINKS - diff --git a/src/MySql/docs/Start-AzMySqlFlexibleServer.md b/src/MySql/docs/Start-AzMySqlFlexibleServer.md index 16582b9f5700..b8df06178a1a 100644 --- a/src/MySql/docs/Start-AzMySqlFlexibleServer.md +++ b/src/MySql/docs/Start-AzMySqlFlexibleServer.md @@ -14,7 +14,7 @@ Starts a server. ### Start (Default) ``` -Start-AzMySqlFlexibleServer -ResourceGroupName -ServerName [-SubscriptionId ] +Start-AzMySqlFlexibleServer -ResourceGroupName -Name [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] ``` @@ -141,13 +141,13 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ServerName +### -Name The name of the server. ```yaml Type: System.String Parameter Sets: Start -Aliases: +Aliases: ServerName Required: True Position: Named diff --git a/src/MySql/docs/Stop-AzMySqlFlexibleServer.md b/src/MySql/docs/Stop-AzMySqlFlexibleServer.md index d2619e1967bc..7fb429dbe048 100644 --- a/src/MySql/docs/Stop-AzMySqlFlexibleServer.md +++ b/src/MySql/docs/Stop-AzMySqlFlexibleServer.md @@ -14,7 +14,7 @@ Stops a server. ### Stop (Default) ``` -Stop-AzMySqlFlexibleServer -ResourceGroupName -ServerName [-SubscriptionId ] +Stop-AzMySqlFlexibleServer -ResourceGroupName -Name [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] ``` @@ -141,13 +141,13 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ServerName +### -Name The name of the server. ```yaml Type: System.String Parameter Sets: Stop -Aliases: +Aliases: ServerName Required: True Position: Named diff --git a/src/MySql/docs/Update-AzMySqlFlexibleServersConfiguration.md b/src/MySql/docs/Update-AzMySqlFlexibleServersConfiguration.md index ac7e177e7d0e..4d29f8242087 100644 --- a/src/MySql/docs/Update-AzMySqlFlexibleServersConfiguration.md +++ b/src/MySql/docs/Update-AzMySqlFlexibleServersConfiguration.md @@ -9,12 +9,13 @@ schema: 2.0.0 ## SYNOPSIS Updates a configuration of a server. +Use Update-AzMySqlFlexibleServer instead if you want update AdministratorLoginPassword, sku, etc. ## SYNTAX ### UpdateExpanded (Default) ``` -Update-AzMySqlFlexibleServersConfiguration -ConfigurationName -ResourceGroupName +Update-AzMySqlFlexibleServersConfiguration -Name -ResourceGroupName -ServerName [-SubscriptionId ] [-Source ] [-Value ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` @@ -27,26 +28,33 @@ Update-AzMySqlFlexibleServersConfiguration -InputObject [-Sourc ## DESCRIPTION Updates a configuration of a server. +Use Update-AzMySqlFlexibleServer instead if you want update AdministratorLoginPassword, sku, etc. ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: Update MySql configuration by name ```powershell -PS C:\> {{ Add code here }} +PS C:\> Update-AzMySqlFlexibleServer -Name net_retry_count -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -Value 15 -{{ Add output here }} +Name Value +---- ----- +net_retry_count 15 ``` -{{ Add description here }} +This cmdlet updates MySql configuration by name. -### Example 2: {{ Add title here }} +### Example 2: Update MySql configuration by identity. ```powershell -PS C:\> {{ Add code here }} +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test/configurations/wait_timeout" +PS C:\> Update-AzMySqlFlexibleServer -InputObject $ID -Value 150 -{{ Add output here }} +Name Value +---- ----- +wait_timeout 150 ``` -{{ Add description here }} +These cmdlets update MySql configuration by identity. + ## PARAMETERS @@ -65,13 +73,13 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ConfigurationName +### -Name The name of the server configuration. ```yaml Type: System.String Parameter Sets: UpdateExpanded -Aliases: +Aliases: ConfigurationName Required: True Position: Named From 417cd56cc7fafb8843fc5ed85a16cd9a1df7df42 Mon Sep 17 00:00:00 2001 From: Daeun Yim Date: Tue, 27 Oct 2020 18:27:16 -0700 Subject: [PATCH 04/51] fixed errors for mysql md files --- src/MySql/docs/Get-AzMySqlFlexibleServer.md | 8 +- .../Get-AzMySqlFlexibleServerConfiguration.md | 52 ++-- .../docs/Get-AzMySqlFlexibleServerDatabase.md | 47 ++-- .../Get-AzMySqlFlexibleServerFirewallRule.md | 36 +-- src/MySql/docs/New-AzMySqlFlexibleServer.md | 36 +-- .../New-AzMySqlFlexibleServerFirewallRule.md | 2 +- .../docs/Restart-AzMySqlFlexibleServer.md | 17 +- src/MySql/docs/Start-AzMySqlFlexibleServer.md | 17 +- src/MySql/docs/Stop-AzMySqlFlexibleServer.md | 18 +- ...-AzMySqlFlexibleServersNameAvailability.md | 228 ------------------ ...ate-AzMySqlFlexibleServersConfiguration.md | 12 +- 11 files changed, 114 insertions(+), 359 deletions(-) delete mode 100644 src/MySql/docs/Test-AzMySqlFlexibleServersNameAvailability.md diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServer.md b/src/MySql/docs/Get-AzMySqlFlexibleServer.md index 78ecc70c9781..22eb78c9653a 100644 --- a/src/MySql/docs/Get-AzMySqlFlexibleServer.md +++ b/src/MySql/docs/Get-AzMySqlFlexibleServer.md @@ -48,7 +48,7 @@ Name Location AdministratorLogin Version StorageProfileStorageMb SkuNam mysql-test-11 eastus mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose ``` -This cmdlet gets MySql server with default context. +This cmdlet gets MySql servers with default context. ### Example 2: Get MySql server by resource group and server name ```powershell @@ -59,7 +59,7 @@ Name Location AdministratorLogin Version StorageProfileStorageMb SkuNam mysql-test-11 eastus mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose ``` -This cmdlet gets MySql server by resource group and server name. +This cmdlet gets MySql servers by resource group and server name. ### Example 3: Lists all the MySql servers in specified resource group ```powershell @@ -71,7 +71,7 @@ mysql-test-11 eastus mysql_test 5.7 5120 Standa mysql-test-12 eastus mysql_test2 5.7 5120 Standard_D2ds_v4 GeneralPurpose ``` -This cmdlet lists all the MySql servers in specified resource group. +This cmdlet lists all the MySql servers in the specified resource group. ### Example 4: Get MySql server by identity ```powershell @@ -85,7 +85,7 @@ mysql-test-12 eastus mysql_test2 5.7 5120 Standa mysql-test-13 eastus mysql_test2 5.7 5120 Standard_D4ds_v4 GeneralPurpose ``` -This cmdlet lists gets MySql server by identity. +This cmdlet lists gets MySql servers by identity. ## PARAMETERS diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServerConfiguration.md b/src/MySql/docs/Get-AzMySqlFlexibleServerConfiguration.md index cc201e36ff6b..3a78f2ca9a84 100644 --- a/src/MySql/docs/Get-AzMySqlFlexibleServerConfiguration.md +++ b/src/MySql/docs/Get-AzMySqlFlexibleServerConfiguration.md @@ -1,11 +1,11 @@ --- external help file: Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserversconfiguration +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-AzMySqlFlexibleServerConfiguration schema: 2.0.0 --- -# Get-AzMySqlFlexibleServersConfiguration +# Get-AzMySqlFlexibleServerConfiguration ## SYNOPSIS Gets information about a configuration of server. @@ -14,50 +14,52 @@ Gets information about a configuration of server. ### Get (Default) ``` -Get-AzMySqlFlexibleServersConfiguration -Name -ResourceGroupName +Get-AzMySqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName [-SubscriptionId ] [-DefaultProfile ] [] ``` ### GetViaIdentity ``` -Get-AzMySqlFlexibleServersConfiguration -InputObject [-DefaultProfile ] +Get-AzMySqlFlexibleServerConfiguration -InputObject [-DefaultProfile ] [] ``` +### List +``` +Get-AzMySqlFlexibleServerConfiguration -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + ## DESCRIPTION Gets information about a configuration of server. ## EXAMPLES -### Example 1: List all configurations in specified MySql server +### Example 1: Get specified MySql configuration by name ```powershell -PS C:\> Get-AzMySqlFlexibleServersConfiguration -ResourceGroupName PowershellMySqlTest -ServerName mysql-test - -Name Type ----- ---- -audit_log_enabled Microsoft.DBforMySQL/flexibleServers/configurations -audit_log_events Microsoft.DBforMySQL/flexibleServers/configurations -audit_log_exclude_users Microsoft.DBforMySQL/flexibleServers/configurations -audit_log_include_users Microsoft.DBforMySQL/flexibleServers/configurations -... -transaction_prealloc_size Microsoft.DBforMySQL/flexibleServers/configurations -tx_isolation Microsoft.DBforMySQL/flexibleServers/configurations -updatable_views_with_limit Microsoft.DBforMySQL/flexibleServers/configurations -wait_timeout Microsoft.DBforMySQL/flexibleServers/configurations +PS C:\> Get-AzMySqlFlexibleServerConfiguration -Name wait_timeout -ResourceGroupName PowershellMySqlTest -ServerName mysql-test + +Name Value DefaultValue Source AllowedValues DataType +---- ------ ------------ ------- ------------- --------- +wait_timeout 28800 28800 system-default 1-31536000 Integer ``` -This cmdlet lists all configurations in specified MySql server. +This cmdlet gets specified MySql configuration by name. -### Example 2: Get specified MySql configuration by name +### Example 2: List all configurations in specified MySql server ```powershell -PS C:\> Get-AzMySqlFlexibleServersConfiguration -Name time_zone -ResourceGroupName PowershellMySqlTest -ServerName mysql-test +PS C:\> Get-AzMySqlFlexibleServerConfiguration -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -Name Type ----- ---- -time_zone Microsoft.DBforMySQL/flexibleServers/configurations +Name Value DefaultValue Source AllowedValues DataType +---- ------ ------------ ------- ------------- --------- +archive OFF OFF system-default ON, OFF Enumeration +... +wait_timeout 28800 28800 system-default 1-31536000 Integer ``` -This cmdlet gets specified MySql configuration by name. +This cmdlet lists all configurations in specified MySql server. + + ## PARAMETERS diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServerDatabase.md b/src/MySql/docs/Get-AzMySqlFlexibleServerDatabase.md index e876565f53d0..2c3accb05ee8 100644 --- a/src/MySql/docs/Get-AzMySqlFlexibleServerDatabase.md +++ b/src/MySql/docs/Get-AzMySqlFlexibleServerDatabase.md @@ -1,35 +1,42 @@ --- external help file: Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserversdatabase +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-AzMySqlFlexibleServerDatabase schema: 2.0.0 --- # Get-AzMySqlFlexibleServerDatabase ## SYNOPSIS -Gets information about a database. +Gets information about a MySQL database. ## SYNTAX ### Get (Default) ``` -Get-AzMySqlFlexibleServersDatabase -Name -ResourceGroupName -ServerName +Get-AzMySqlFlexibleServerDatabase -Name -ResourceGroupName -ServerName [-SubscriptionId ] [-DefaultProfile ] [] ``` ### GetViaIdentity ``` -Get-AzMySqlFlexibleServersDatabase -InputObject [-DefaultProfile ] +Get-AzMySqlFlexibleServerDatabase -InputObject [-DefaultProfile ] [] ``` +### List +``` +Get-AzMySqlFlexibleServerDatabase -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + ## DESCRIPTION -Gets information about a database. +Gets information about a MySQL database. +List all the databases in a given server. ## EXAMPLES -### Example 1: Get MySql databases by resource group and server name +### Example 1: Get a MySql database by resource name ```powershell PS C:\> Get-AzMySqlFlexibleServerDatabase -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -Name flexibleserverdb @@ -38,32 +45,32 @@ Name Charset Collation flexibleserverdb latin1 latin1_swedish_ci ``` -This cmdlet gets MySql server by resource group and server name. +This cmdlet gets MySql server by resource name. -### Example 3: Lists all the MySql databases in specified resource group +### Example 2: Get MySql databases by identity ```powershell -PS C:\> Get-AzMySqlFlexibleServerDatabase -ResourceGroupName PowershellMySqlTest -ServerName mysql-test +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test" +PS C:\> Get-AzMySqlFlexibleServerDatabase -InputObject $ID -Name Charset Collation +Name Charset Collation ---- -------- ------------------ flexibleserverdb latin1 latin1_swedish_ci -performance_schema latin1 latin1_swedish_ci +performance_schema latin1 latin1_swedish_ci ``` -This cmdlet lists all the MySql servers in specified resource group. +This cmdlet gets a MySql server by identity. -### Example 4: Get MySql databases by identity +### Example 3: Lists all the MySql databases in the specified server ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test" -PS C:\> Get-AzMySqlFlexibleServerDatabase -InputObject $ID +PS C:\> Get-AzMySqlFlexibleServerDatabase -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -Name Charset Collation +Name Charset Collation ---- -------- ------------------ flexibleserverdb latin1 latin1_swedish_ci -performance_schema latin1 latin1_swedish_ci +performance_schema latin1 latin1_swedish_ci ``` -This cmdlet lists gets MySql server by identity. +This cmdlet lists all the MySql servers in specified the server. ## PARAMETERS @@ -119,7 +126,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: Get +Parameter Sets: Get, List Aliases: Required: True @@ -134,7 +141,7 @@ The name of the server. ```yaml Type: System.String -Parameter Sets: Get +Parameter Sets: Get, List Aliases: Required: True diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServerFirewallRule.md b/src/MySql/docs/Get-AzMySqlFlexibleServerFirewallRule.md index d1c432e98df8..f296e54f2a27 100644 --- a/src/MySql/docs/Get-AzMySqlFlexibleServerFirewallRule.md +++ b/src/MySql/docs/Get-AzMySqlFlexibleServerFirewallRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserversfirewallrule +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-AzMySqlFlexibleServerFirewallRule schema: 2.0.0 --- @@ -24,37 +24,43 @@ Get-AzMySqlFlexibleServerFirewallRule -InputObject [-DefaultPro [] ``` +### List +``` +Get-AzMySqlFlexibleServerFirewallRule -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + ## DESCRIPTION Gets information about a server firewall rule. ## EXAMPLES -### Example 1: Lists all the firewall rules in specified MySql server +### Example 1: Get firewall rules by name ```powershell -PS C:\> Get-AzMySqlFlexibleServerFirewallRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test +PS C:\> Get-AzMySqlFlexibleServerFirewallRule -Name firewallrule-test -ResourceGroupName PowershellMySqlTest -ServerName mysql-test FirewallRuleName StartIPAddress EndIPAddress ----------------- --------------- --------------- firewallrule-test 12.12.12.12 23.23.23.23 ``` -This cmdlet lists all the firewall rule in specified MySql server. +This cmdlet gets firewall rules by name. -### Example 2: Get firewall rules by name +### Example 2: Get firewall rules by identity ```powershell -PS C:\> Get-AzMySqlFlexibleServerFirewallRule -FirewallRuleName firewallrule-test -ResourceGroupName PowershellMySqlTest -ServerName mysql-test +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/firewallRules/firewallrule-test" +PS C:\> Get-AzMySqlFlexibleServerFirewallRule -InputObject $ID FirewallRuleName StartIPAddress EndIPAddress ----------------- --------------- --------------- firewallrule-test 12.12.12.12 23.23.23.23 ``` -This cmdlet gets firewall rules by name. +This cmdlet gets firewall rules by identity. -### Example 3: Get firewall rules by identity +### Example 3: Lists all the firewall rules in the specified MySql server ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/firewallRules/rule" -PS C:\> Get-AzMySqlFlexibleServerFirewallRule -InputObject $ID +PS C:\> Get-AzMySqlFlexibleServerFirewallRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test FirewallRuleName StartIPAddress EndIPAddress ----------------- --------------- --------------- @@ -62,7 +68,7 @@ firewallrule-test 12.12.12.12 23.23.23.23 firewallrule-test2 12.12.12.15 23.23.23.25 ``` -This cmdlet gets firewall rules by identity. +This cmdlet lists all the firewall rule in specified MySql server. ## PARAMETERS @@ -81,13 +87,13 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -FirewallRuleName +### -Name The name of the server firewall rule. ```yaml Type: System.String Parameter Sets: Get -Aliases: +Aliases: FirewallRuleName Required: True Position: Named @@ -118,7 +124,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: Get +Parameter Sets: Get, List Aliases: Required: True @@ -133,7 +139,7 @@ The name of the server. ```yaml Type: System.String -Parameter Sets: Get +Parameter Sets: Get, List Aliases: Required: True diff --git a/src/MySql/docs/New-AzMySqlFlexibleServer.md b/src/MySql/docs/New-AzMySqlFlexibleServer.md index 1b64e4d839d3..cd031ca32d6f 100644 --- a/src/MySql/docs/New-AzMySqlFlexibleServer.md +++ b/src/MySql/docs/New-AzMySqlFlexibleServer.md @@ -15,9 +15,9 @@ schema: 2.0.0 New-AzMySqlFlexibleServer [-ResourceGroupName ] [-Name -Location ] [-SubscriptionId ] [-AdministratorUserName ] [-AdministratorLoginPassword ] - [-SubnetId ] [-HaEnabled ][-SkuName ] [-SkuTier ][-BackupRetentionDay ] + [-HaEnabled ][-SkuName ] [-SkuTier ][-BackupRetentionDay ] [-StorageInMb ] [-Tag ] [-Version ] - [-AddressPrefixes [String]] [-PublicAccess [String]] [-SubnetPrefixes [String]] [-VnetId [String]] + [-AddressPrefixes [String]] [-PublicAccess [String]] [-SubnetPrefixes [String]] [-VnetId [String]] [-SubnetId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` @@ -28,7 +28,8 @@ Creates a new server. A server can be generated with all arguments optional. If ### Example 1: Create a new MySql flexible server with parameters ```powershell -PS C:\> New-AzMySqlFlexibleServer -Name mysql-test -ResourceGroupName PowershellMySqlTest -Location eastus -AdministratorUserName mysql_test -AdministratorLoginPassword $password -SkuName Standard_B1ms -SkuTier Burstable +PS C:\> New-AzMySqlFlexibleServer -Name mysql-test -ResourceGroupName PowershellMySqlTest \ +-Location eastus -AdministratorUserName mysql_test -AdministratorLoginPassword $password -SkuName Standard_B1ms -SkuTier Burstable Creating new vnet {vnetName} in resource group {resourceGroupName}... Creating new subnet {subnetName} in resource group {resourceGroupName} and delegating it to "Microsoft.DBforMySQL/flexibleServers"... @@ -46,7 +47,7 @@ Creating MySQL database {dbname}... "skuname": "Standard_B1ms" ``` -The cmdlet generates a server with the given parameters and output important information in a visible format. The server creation automatically generates vnet and subnet in the resource group. +The cmdlet generates a server with the given parameters and output important information in a visible format. The server creation automatically generates vnet, subnet, and database in the resource group. ### Example 2: Create a new MySql flexible server without parameters ```powershell @@ -69,7 +70,7 @@ Creating MySQL database {dbname}... "skuname": "Standard_B1ms" ``` -The cmdlet generates a server without given parameters and automatically generates necessary resources such as resource group, subnet, and database. The SKU and storage profile are set to default values. +When no parameters are given, the cmdlet automatically generates necessary resources such as resource group, vnet, and database. The SKU and storage profile are set to default values. ### Example 3: Create a new MySql flexible server with public access to all IPs ```powershell @@ -421,31 +422,6 @@ Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerVersion Parameter Sets: (All) Aliases: -Required: False -Position: Named -Default value: "5.7" -irs. - -```yaml -Type: System.Collections.Hashtable -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Version -Server version. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerVersion -Parameter Sets: (All) -Aliases: - Required: False Position: Named Default value: "5.7" diff --git a/src/MySql/docs/New-AzMySqlFlexibleServerFirewallRule.md b/src/MySql/docs/New-AzMySqlFlexibleServerFirewallRule.md index 1255c9a27a7a..4cbe799493e0 100644 --- a/src/MySql/docs/New-AzMySqlFlexibleServerFirewallRule.md +++ b/src/MySql/docs/New-AzMySqlFlexibleServerFirewallRule.md @@ -34,7 +34,7 @@ firewallrule-test 0.0.0.0 0.0.0.1 This cmdlets create a MySql server Firewall Rule. -### Example 2: Create a new MySql Firewall Rule without giving a name +### Example 2: Create a new MySql Firewall Rule without name ```powershell PS C:\> New-AzMySqlFirewallRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 diff --git a/src/MySql/docs/Restart-AzMySqlFlexibleServer.md b/src/MySql/docs/Restart-AzMySqlFlexibleServer.md index fa696bbbfdb3..4f6f3bd519aa 100644 --- a/src/MySql/docs/Restart-AzMySqlFlexibleServer.md +++ b/src/MySql/docs/Restart-AzMySqlFlexibleServer.md @@ -29,23 +29,20 @@ Restarts a server. ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: Restart the server by resource name ```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +PS C:\> Restart-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Name mysql-test ``` -{{ Add description here }} +Restart the server by name -### Example 2: {{ Add title here }} +### Example 2: Restart the server by identity ```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test" +PS C:\> Restart-AzMySqlFlexibleServer -InputObject $ID ``` -{{ Add description here }} +Restart the server by identity ## PARAMETERS diff --git a/src/MySql/docs/Start-AzMySqlFlexibleServer.md b/src/MySql/docs/Start-AzMySqlFlexibleServer.md index b8df06178a1a..9e5fc56686b3 100644 --- a/src/MySql/docs/Start-AzMySqlFlexibleServer.md +++ b/src/MySql/docs/Start-AzMySqlFlexibleServer.md @@ -29,23 +29,20 @@ Starts a server. ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: Start the server by resource name ```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +PS C:\> Start-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Name mysql-test ``` -{{ Add description here }} +Start the server by name -### Example 2: {{ Add title here }} +### Example 2: Start the server by identity ```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test" +PS C:\> Start-AzMySqlFlexibleServer -InputObject $ID ``` -{{ Add description here }} +Start the server by identity ## PARAMETERS diff --git a/src/MySql/docs/Stop-AzMySqlFlexibleServer.md b/src/MySql/docs/Stop-AzMySqlFlexibleServer.md index 7fb429dbe048..232c68d0e4e3 100644 --- a/src/MySql/docs/Stop-AzMySqlFlexibleServer.md +++ b/src/MySql/docs/Stop-AzMySqlFlexibleServer.md @@ -29,23 +29,21 @@ Stops a server. ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: Stop the server by resource name ```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +PS C:\> Stop-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Name mysql-test ``` -{{ Add description here }} +Stop the server by name -### Example 2: {{ Add title here }} +### Example 2: Stop the server by identity ```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test" +PS C:\> Stop-AzMySqlFlexibleServer -InputObject $ID ``` -{{ Add description here }} +Stop the server by identity + ## PARAMETERS diff --git a/src/MySql/docs/Test-AzMySqlFlexibleServersNameAvailability.md b/src/MySql/docs/Test-AzMySqlFlexibleServersNameAvailability.md deleted file mode 100644 index 3762a9d402db..000000000000 --- a/src/MySql/docs/Test-AzMySqlFlexibleServersNameAvailability.md +++ /dev/null @@ -1,228 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/test-azmysqlflexibleserversnameavailability -schema: 2.0.0 ---- - -# Test-AzMySqlFlexibleServersNameAvailability - -## SYNOPSIS -Check the availability of name for server - -## SYNTAX - -### TestExpanded (Default) -``` -Test-AzMySqlFlexibleServersNameAvailability -Name [-SubscriptionId ] [-Type ] - [-DefaultProfile ] [-Confirm] [-WhatIf] [] -``` - -### Test -``` -Test-AzMySqlFlexibleServersNameAvailability -NameAvailabilityRequest - [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] -``` - -### TestViaIdentity -``` -Test-AzMySqlFlexibleServersNameAvailability -InputObject - -NameAvailabilityRequest [-DefaultProfile ] [-Confirm] [-WhatIf] - [] -``` - -### TestViaIdentityExpanded -``` -Test-AzMySqlFlexibleServersNameAvailability -InputObject -Name [-Type ] - [-DefaultProfile ] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Check the availability of name for server - -## EXAMPLES - -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -## PARAMETERS - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity -Parameter Sets: TestViaIdentity, TestViaIdentityExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -Resource name to verify. - -```yaml -Type: System.String -Parameter Sets: TestExpanded, TestViaIdentityExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NameAvailabilityRequest -Request from client to check resource name availability. -To construct, see NOTES section for NAMEAVAILABILITYREQUEST properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.INameAvailabilityRequest -Parameter Sets: Test, TestViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: Test, TestExpanded -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Type -Resource type used for verification. - -```yaml -Type: System.String -Parameter Sets: TestExpanded, TestViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.INameAvailabilityRequest - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.INameAvailability - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[KeyName ]`: The name of the server key. - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -NAMEAVAILABILITYREQUEST : Request from client to check resource name availability. - - `Name `: Resource name to verify. - - `[Type ]`: Resource type used for verification. - -## RELATED LINKS - diff --git a/src/MySql/docs/Update-AzMySqlFlexibleServersConfiguration.md b/src/MySql/docs/Update-AzMySqlFlexibleServersConfiguration.md index 4d29f8242087..c1342f061d3c 100644 --- a/src/MySql/docs/Update-AzMySqlFlexibleServersConfiguration.md +++ b/src/MySql/docs/Update-AzMySqlFlexibleServersConfiguration.md @@ -36,9 +36,9 @@ Use Update-AzMySqlFlexibleServer instead if you want update AdministratorLoginPa ```powershell PS C:\> Update-AzMySqlFlexibleServer -Name net_retry_count -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -Value 15 -Name Value ----- ----- -net_retry_count 15 +Name Value DefaultValue Source AllowedValues DataType +---- ------ ------------ ------- ------------- --------- +net_retry_count 15 10 user-override 1-4294967295 Integer ``` This cmdlet updates MySql configuration by name. @@ -48,9 +48,9 @@ This cmdlet updates MySql configuration by name. PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test/configurations/wait_timeout" PS C:\> Update-AzMySqlFlexibleServer -InputObject $ID -Value 150 -Name Value ----- ----- -wait_timeout 150 +Name Value DefaultValue Source AllowedValues DataType +---- ------ ------------ ------- ------------- --------- +wait_timeout 150 28800 system-default 1-31536000 Integer ``` These cmdlets update MySql configuration by identity. From d15f5689e7f68a44c0be3b366db154b3bffa0b93 Mon Sep 17 00:00:00 2001 From: Daeun Yim Date: Tue, 27 Oct 2020 18:35:45 -0700 Subject: [PATCH 05/51] fixed errors for mysql md files --- ...ServersDatabase.md => Remove-AzMySqlFlexibleServerDatabase.md} | 0 ...irewallRule.md => Remove-AzMySqlFlexibleServerFirewallRule.md} | 0 ...figuration.md => Update-AzMySqlFlexibleServerConfiguration.md} | 0 3 files changed, 0 insertions(+), 0 deletions(-) rename src/MySql/docs/{Remove-AzMySqlFlexibleServersDatabase.md => Remove-AzMySqlFlexibleServerDatabase.md} (100%) rename src/MySql/docs/{Remove-AzMySqlFlexibleServersFirewallRule.md => Remove-AzMySqlFlexibleServerFirewallRule.md} (100%) rename src/MySql/docs/{Update-AzMySqlFlexibleServersConfiguration.md => Update-AzMySqlFlexibleServerConfiguration.md} (100%) diff --git a/src/MySql/docs/Remove-AzMySqlFlexibleServersDatabase.md b/src/MySql/docs/Remove-AzMySqlFlexibleServerDatabase.md similarity index 100% rename from src/MySql/docs/Remove-AzMySqlFlexibleServersDatabase.md rename to src/MySql/docs/Remove-AzMySqlFlexibleServerDatabase.md diff --git a/src/MySql/docs/Remove-AzMySqlFlexibleServersFirewallRule.md b/src/MySql/docs/Remove-AzMySqlFlexibleServerFirewallRule.md similarity index 100% rename from src/MySql/docs/Remove-AzMySqlFlexibleServersFirewallRule.md rename to src/MySql/docs/Remove-AzMySqlFlexibleServerFirewallRule.md diff --git a/src/MySql/docs/Update-AzMySqlFlexibleServersConfiguration.md b/src/MySql/docs/Update-AzMySqlFlexibleServerConfiguration.md similarity index 100% rename from src/MySql/docs/Update-AzMySqlFlexibleServersConfiguration.md rename to src/MySql/docs/Update-AzMySqlFlexibleServerConfiguration.md From cb87cf9e3291c553452b510e9ebfc5db75f9b6e6 Mon Sep 17 00:00:00 2001 From: Daeun Yim Date: Wed, 28 Oct 2020 23:32:40 -0700 Subject: [PATCH 06/51] fixing mistakes --- .../New-AzMySqlFlexibleServerFirewallRule.md | 28 +-- .../Remove-AzMySqlFlexibleServerDatabase.md | 12 +- ...emove-AzMySqlFlexibleServerFirewallRule.md | 8 +- .../docs/Set-AzMySqlFlexibleServerDatabase.md | 4 +- .../Set-AzMySqlFlexibleServerFirewallRule.md | 4 +- .../docs/Test-AzMySqlNameAvailability.md | 227 ------------------ ...date-AzMySqlFlexibleServerConfiguration.md | 8 +- 7 files changed, 27 insertions(+), 264 deletions(-) delete mode 100644 src/MySql/docs/Test-AzMySqlNameAvailability.md diff --git a/src/MySql/docs/New-AzMySqlFlexibleServerFirewallRule.md b/src/MySql/docs/New-AzMySqlFlexibleServerFirewallRule.md index 4cbe799493e0..8deecf203718 100644 --- a/src/MySql/docs/New-AzMySqlFlexibleServerFirewallRule.md +++ b/src/MySql/docs/New-AzMySqlFlexibleServerFirewallRule.md @@ -25,7 +25,7 @@ Creates a new firewall rule. ### Example 1: Create a new MySql server Firewall Rule ```powershell -PS C:\> New-AzMySqlFirewallRule -Name firewallrule-test -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 +PS C:\> New-AzMySqlFlexibleServerFirewallRule -Name firewallrule-test -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 Name StartIPAddress EndIPAddress ----------------- -------------- ------------ @@ -34,35 +34,25 @@ firewallrule-test 0.0.0.0 0.0.0.1 This cmdlets create a MySql server Firewall Rule. -### Example 2: Create a new MySql Firewall Rule without name -```powershell -PS C:\> New-AzMySqlFirewallRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 - -Name StartIPAddress EndIPAddress ----- -------------- ------------ -FirewallIPAddress__2020-08-11_18-19-27 0.0.0.1 0.0.0.1 -``` - -This cmdlets create a MySql Firewall Rule using -ClientIPAddress. ### Example 3: Create a new MySql Firewall Rule to allow all IPs ```powershell -PS C:\> New-AzMySqlFirewallRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -EndIPAddress 255.255.255.255 -StartIPAddress 0.0.0.0 +PS C:\> New-AzMySqlFlexibleServerFirewallRule -Name firewallrule-test -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -EndIPAddress 255.255.255.255 -StartIPAddress 0.0.0.0 -Name StartIPAddress EndIPAddress ----- -------------- ------------ -AllowAll_2020-08-11_18-19-27 0.0.0.0 255.255.255.255 +Name StartIPAddress EndIPAddress +---- -------------- ------------ +firewallrule-test 0.0.0.0 255.255.255.255 ``` This cmdlets create a new MySql Firewall Rule to allow all IPs. ### Example 3: Create a new MySql Firewall Rule to allow all Azure resources ```powershell -PS C:\> New-AzMySqlFirewallRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -StartIPAddress 0.0.0.0 +PS C:\> New-AzMySqlFlexibleServerFirewallRule -Name firewallrule-test -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -StartIPAddress 0.0.0.0 -Name StartIPAddress EndIPAddress ----- -------------- ------------ -AllowAllAzureServicesAndResourcesWithinAzureIps_2020-08-11_18-19-27 0.0.0.0 0.0.0.0 +Name StartIPAddress EndIPAddress +---- -------------- ------------ +firewallrule-test 0.0.0.0 0.0.0.0 ``` This cmdlets create a new MySql Firewall Rule to allow all azure resources. diff --git a/src/MySql/docs/Remove-AzMySqlFlexibleServerDatabase.md b/src/MySql/docs/Remove-AzMySqlFlexibleServerDatabase.md index a8b82668b01f..ec8cce9461a4 100644 --- a/src/MySql/docs/Remove-AzMySqlFlexibleServerDatabase.md +++ b/src/MySql/docs/Remove-AzMySqlFlexibleServerDatabase.md @@ -1,11 +1,11 @@ --- external help file: Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/remove-azmysqlflexibleserversdatabase +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/remove-azmysqlflexibleserverdatabase schema: 2.0.0 --- -# Remove-AzMySqlFlexibleServersDatabase +# Remove-AzMySqlFlexibleServerDatabase ## SYNOPSIS Deletes a database. @@ -14,14 +14,14 @@ Deletes a database. ### Delete (Default) ``` -Remove-AzMySqlFlexibleServersDatabase -Name -ResourceGroupName -ServerName +Remove-AzMySqlFlexibleServerDatabase -Name -ResourceGroupName -ServerName [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] ``` ### DeleteViaIdentity ``` -Remove-AzMySqlFlexibleServersDatabase -InputObject [-DefaultProfile ] [-AsJob] +Remove-AzMySqlFlexibleServerDatabase -InputObject [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] ``` @@ -32,7 +32,7 @@ Deletes a database. ### Example 1: Remove MySql database by name ```powershell -PS C:\> Remove-AzMySqlFlexibleServersDatabase -Name databasetest -ResourceGroupName PowershellMySqlTest -ServerName mysql-test +PS C:\> Remove-AzMySqlFlexibleServerDatabase -Name databasetest -ResourceGroupName PowershellMySqlTest -ServerName mysql-test ``` This cmdlet removes MySql database by name. @@ -40,7 +40,7 @@ This cmdlet removes MySql database by name. ### Example 2: Remove MySql database by identity ```powershell PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test/databases/databasetest" -PS C:\> Remove-AzMySqlFlexibleServersDatabase -InputObject $ID +PS C:\> Remove-AzMySqlFlexibleServerDatabase -InputObject $ID ``` diff --git a/src/MySql/docs/Remove-AzMySqlFlexibleServerFirewallRule.md b/src/MySql/docs/Remove-AzMySqlFlexibleServerFirewallRule.md index 584b3ce02c2a..e29555de3f87 100644 --- a/src/MySql/docs/Remove-AzMySqlFlexibleServerFirewallRule.md +++ b/src/MySql/docs/Remove-AzMySqlFlexibleServerFirewallRule.md @@ -14,14 +14,14 @@ Deletes a firewall rule. ### Delete (Default) ``` -Remove-AzMySqlFlexibleServersFirewallRule -Name -ResourceGroupName +Remove-AzMySqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] ``` ### DeleteViaIdentity ``` -Remove-AzMySqlFlexibleServersFirewallRule -InputObject [-DefaultProfile ] [-AsJob] +Remove-AzMySqlFlexibleServerFirewallRule -InputObject [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] ``` @@ -32,7 +32,7 @@ Deletes a server firewall rule. ### Example 1: Remove MySql Firewall Rule by name ```powershell -PS C:\> Remove-AzMySqlFlexibleServersFirewallRule -Name firewall-rule-test -ResourceGroupName PowershellMySqlTest -ServerName mysql-test +PS C:\> Remove-AzMySqlFlexibleServerFirewallRule -Name firewall-rule-test -ResourceGroupName PowershellMySqlTest -ServerName mysql-test ``` @@ -41,7 +41,7 @@ This cmdlet removes MySql Firewall Rule by name. ### Example 2: Remove MySql Firewall Rule by identity ```powershell PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test/firewallRules/firewall-rule-test" -PS C:\> Remove-AzMySqlFlexibleServersFirewallRule -InputObject $ID +PS C:\> Remove-AzMySqlFlexibleServerFirewallRule -InputObject $ID ``` diff --git a/src/MySql/docs/Set-AzMySqlFlexibleServerDatabase.md b/src/MySql/docs/Set-AzMySqlFlexibleServerDatabase.md index cec45e838164..a8cf3f59642e 100644 --- a/src/MySql/docs/Set-AzMySqlFlexibleServerDatabase.md +++ b/src/MySql/docs/Set-AzMySqlFlexibleServerDatabase.md @@ -33,7 +33,7 @@ Updates an existing database. ### Example 1: Create a new MySql server database ```powershell -PS C:\> New-AzMySqlFlexibleServerDatabase -Name database-test -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -Charset utf8 +PS C:\> Set-AzMySqlFlexibleServerDatabase -Name database-test -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -Charset utf8 Name Charset Collation ---- -------- ------------------ @@ -44,7 +44,7 @@ Update a database by resource name. ### Example 2: Update MySql database by parameter. ```powershell PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/databases/databasetest" -PS C:\> New-AzMySqlFlexibleServerDatabase -Parameter $ID -Charset utf8 +PS C:\> Set-AzMySqlFlexibleServerDatabase -Parameter $ID -Charset utf8 Name Charset Collation ---- -------- ------------------ diff --git a/src/MySql/docs/Set-AzMySqlFlexibleServerFirewallRule.md b/src/MySql/docs/Set-AzMySqlFlexibleServerFirewallRule.md index b9667a7f890a..d8a5604b5f4e 100644 --- a/src/MySql/docs/Set-AzMySqlFlexibleServerFirewallRule.md +++ b/src/MySql/docs/Set-AzMySqlFlexibleServerFirewallRule.md @@ -33,7 +33,7 @@ Updates an existing firewall rule. ### Example 1: Update MySql Firewall Rule by name ```powershell -PS C:\> Update-AzMySqlFlexibleServerFirewallRule -Name rule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 +PS C:\> Set-AzMySqlFlexibleServerFirewallRule -Name rule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 Name StartIPAddress EndIPAddress ---- -------------- ------------ @@ -45,7 +45,7 @@ This cmdlet updates MySql Firewall Rule by name. ### Example 2: Update MySql Firewall Rule by identity. ```powershell PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test/firewallRules/rule" -PS C:\> Update-AzMySqlFlexibleServerFirewallRule -InputObject $ID -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 +PS C:\> Set-AzMySqlFlexibleServerFirewallRule -InputObject $ID -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 Name StartIPAddress EndIPAddress ---- -------------- ------------ diff --git a/src/MySql/docs/Test-AzMySqlNameAvailability.md b/src/MySql/docs/Test-AzMySqlNameAvailability.md deleted file mode 100644 index 8070ede088c7..000000000000 --- a/src/MySql/docs/Test-AzMySqlNameAvailability.md +++ /dev/null @@ -1,227 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/test-azmysqlnameavailability -schema: 2.0.0 ---- - -# Test-AzMySqlNameAvailability - -## SYNOPSIS -Check the availability of name for resource - -## SYNTAX - -### TestExpanded (Default) -``` -Test-AzMySqlNameAvailability -Name [-SubscriptionId ] [-Type ] - [-DefaultProfile ] [-Confirm] [-WhatIf] [] -``` - -### Test -``` -Test-AzMySqlNameAvailability -NameAvailabilityRequest [-SubscriptionId ] - [-DefaultProfile ] [-Confirm] [-WhatIf] [] -``` - -### TestViaIdentity -``` -Test-AzMySqlNameAvailability -InputObject -NameAvailabilityRequest - [-DefaultProfile ] [-Confirm] [-WhatIf] [] -``` - -### TestViaIdentityExpanded -``` -Test-AzMySqlNameAvailability -InputObject -Name [-Type ] - [-DefaultProfile ] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Check the availability of name for resource - -## EXAMPLES - -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -## PARAMETERS - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity -Parameter Sets: TestViaIdentity, TestViaIdentityExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -Resource name to verify. - -```yaml -Type: System.String -Parameter Sets: TestExpanded, TestViaIdentityExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NameAvailabilityRequest -Request from client to check resource name availability. -To construct, see NOTES section for NAMEAVAILABILITYREQUEST properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.INameAvailabilityRequest -Parameter Sets: Test, TestViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: Test, TestExpanded -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Type -Resource type used for verification. - -```yaml -Type: System.String -Parameter Sets: TestExpanded, TestViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.INameAvailabilityRequest - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.INameAvailability - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[KeyName ]`: The name of the server key. - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -NAMEAVAILABILITYREQUEST : Request from client to check resource name availability. - - `Name `: Resource name to verify. - - `[Type ]`: Resource type used for verification. - -## RELATED LINKS - diff --git a/src/MySql/docs/Update-AzMySqlFlexibleServerConfiguration.md b/src/MySql/docs/Update-AzMySqlFlexibleServerConfiguration.md index c1342f061d3c..53eaeecc4068 100644 --- a/src/MySql/docs/Update-AzMySqlFlexibleServerConfiguration.md +++ b/src/MySql/docs/Update-AzMySqlFlexibleServerConfiguration.md @@ -1,11 +1,11 @@ --- external help file: Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/update-azmysqlflexibleserversconfiguration +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/update-azmysqlflexibleserverconfiguration schema: 2.0.0 --- -# Update-AzMySqlFlexibleServersConfiguration +# Update-AzMySqlFlexibleServerConfiguration ## SYNOPSIS Updates a configuration of a server. @@ -15,14 +15,14 @@ Use Update-AzMySqlFlexibleServer instead if you want update AdministratorLoginPa ### UpdateExpanded (Default) ``` -Update-AzMySqlFlexibleServersConfiguration -Name -ResourceGroupName +Update-AzMySqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName [-SubscriptionId ] [-Source ] [-Value ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` ### UpdateViaIdentityExpanded ``` -Update-AzMySqlFlexibleServersConfiguration -InputObject [-Source ] [-Value ] +Update-AzMySqlFlexibleServerConfiguration -InputObject [-Source ] [-Value ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` From b4e271bdf201b7529fc8b104c8dc522b5ae753a9 Mon Sep 17 00:00:00 2001 From: Daeun Yim Date: Mon, 2 Nov 2020 10:40:22 -0800 Subject: [PATCH 07/51] resolved comments --- src/MySql/docs/Get-AzMySqlFlexibleServer.md | 2 -- ...t-AzMySqlFlexibleServerLocationBasedCapability.md | 8 ++++---- src/MySql/docs/New-AzMySqlFlexibleServer.md | 8 ++++---- src/MySql/docs/Update-AzMySqlFlexibleServer.md | 10 +++++----- ...se.md => Update-AzMySqlFlexibleServerDatabase.md} | 12 ++++++------ ...d => Update-AzMySqlFlexibleServerFirewallRule.md} | 12 ++++++------ 6 files changed, 25 insertions(+), 27 deletions(-) rename src/MySql/docs/{Set-AzMySqlFlexibleServerDatabase.md => Update-AzMySqlFlexibleServerDatabase.md} (91%) rename src/MySql/docs/{Set-AzMySqlFlexibleServerFirewallRule.md => Update-AzMySqlFlexibleServerFirewallRule.md} (91%) diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServer.md b/src/MySql/docs/Get-AzMySqlFlexibleServer.md index 22eb78c9653a..0e28979966a8 100644 --- a/src/MySql/docs/Get-AzMySqlFlexibleServer.md +++ b/src/MySql/docs/Get-AzMySqlFlexibleServer.md @@ -81,8 +81,6 @@ PS C:\> Get-AzMySqlFlexibleServer -InputObject $ID Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ---- -------- ------------------ ------- ----------------------- ---------------- ------------- mysql-test-11 eastus mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose -mysql-test-12 eastus mysql_test2 5.7 5120 Standard_D2ds_v4 GeneralPurpose -mysql-test-13 eastus mysql_test2 5.7 5120 Standard_D4ds_v4 GeneralPurpose ``` This cmdlet lists gets MySql servers by identity. diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServerLocationBasedCapability.md b/src/MySql/docs/Get-AzMySqlFlexibleServerLocationBasedCapability.md index d6b11a209cb5..5956a29c12f7 100644 --- a/src/MySql/docs/Get-AzMySqlFlexibleServerLocationBasedCapability.md +++ b/src/MySql/docs/Get-AzMySqlFlexibleServerLocationBasedCapability.md @@ -13,7 +13,7 @@ Get capabilities at specified location in a given subscription. ## SYNTAX ``` -Get-AzMySqlFlexibleServerLocationBasedCapability -LocationName [-SubscriptionId ] +Get-AzMySqlFlexibleServerLocationBasedCapability -Location [-SubscriptionId ] [-DefaultProfile ] [] ``` @@ -25,7 +25,7 @@ Get capabilities at specified location in a given subscription. ### Example 1: List available SKUs and their properties in the location ```powershell -PS C:\> Get-AzMySqlFlexibleServerLocationBasedCapability -LocationName eastus +PS C:\> Get-AzMySqlFlexibleServerLocationBasedCapability -Location eastus For prices please refer to https://aka.ms/mysql-pricing SKU Tier VCore Memory Max Disk IOPS @@ -68,13 +68,13 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -LocationName +### -Location The name of the location. ```yaml Type: System.String Parameter Sets: (All) -Aliases: +Aliases: LocationName Required: True Position: Named diff --git a/src/MySql/docs/New-AzMySqlFlexibleServer.md b/src/MySql/docs/New-AzMySqlFlexibleServer.md index cd031ca32d6f..1eaff1ca8752 100644 --- a/src/MySql/docs/New-AzMySqlFlexibleServer.md +++ b/src/MySql/docs/New-AzMySqlFlexibleServer.md @@ -15,9 +15,9 @@ schema: 2.0.0 New-AzMySqlFlexibleServer [-ResourceGroupName ] [-Name -Location ] [-SubscriptionId ] [-AdministratorUserName ] [-AdministratorLoginPassword ] - [-HaEnabled ][-SkuName ] [-SkuTier ][-BackupRetentionDay ] + [-HaEnabled ][-Sku ] [-SkuTier ][-BackupRetentionDay ] [-StorageInMb ] [-Tag ] [-Version ] - [-AddressPrefixes [String]] [-PublicAccess [String]] [-SubnetPrefixes [String]] [-VnetId [String]] [-SubnetId ] + [-AddressPrefix [String]] [-PublicAccess [String]] [-SubnetPrefix [String]] [-VnetId [String]] [-SubnetId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` @@ -29,7 +29,7 @@ Creates a new server. A server can be generated with all arguments optional. If ### Example 1: Create a new MySql flexible server with parameters ```powershell PS C:\> New-AzMySqlFlexibleServer -Name mysql-test -ResourceGroupName PowershellMySqlTest \ --Location eastus -AdministratorUserName mysql_test -AdministratorLoginPassword $password -SkuName Standard_B1ms -SkuTier Burstable +-Location eastus -AdministratorUserName mysql_test -AdministratorLoginPassword $password -Sku Standard_B1ms -SkuTier Burstable Creating new vnet {vnetName} in resource group {resourceGroupName}... Creating new subnet {subnetName} in resource group {resourceGroupName} and delegating it to "Microsoft.DBforMySQL/flexibleServers"... @@ -294,7 +294,7 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -SkuName +### -Sku The name of the compute SKU. Follows the convention Standard_{VM name}. Examples: Standard_B1ms, Standard_E16ds_v4. Default: Standard_B1ms. ```yaml diff --git a/src/MySql/docs/Update-AzMySqlFlexibleServer.md b/src/MySql/docs/Update-AzMySqlFlexibleServer.md index d0ca8de2ddaa..b2e03b16240e 100644 --- a/src/MySql/docs/Update-AzMySqlFlexibleServer.md +++ b/src/MySql/docs/Update-AzMySqlFlexibleServer.md @@ -18,7 +18,7 @@ The request body can contain one to many of the properties present in the normal Update-AzMySqlFlexibleServer -ResourceGroupName -ServerName [-SubscriptionId ] [-AdministratorLoginPassword ] [-SubnetId ] [-HaEnabled ] [-MaintenanceWindowWindow ] [-ReplicationRole ] - [-SkuName ] [-SkuTier ] [-SslEnforcement ] + [-Sku ] [-SkuTier ] [-SslEnforcement ] [-BackupRetentionDay ] [-StorageAutogrow ] [-StorageInMb ] [-Tag ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` @@ -27,7 +27,7 @@ Update-AzMySqlFlexibleServer -ResourceGroupName -ServerName [- ``` Update-AzMySqlFlexibleServer -InputObject [-AdministratorLoginPassword ] [-SubnetId ] [-HaEnabled ] [-MaintenanceWindowWindow ] - [-ReplicationRole ] [-SkuName ] [-SkuTier ] [-SslEnforcement ] + [-ReplicationRole ] [-Sku ] [-SkuTier ] [-SslEnforcement ] [-BackupRetentionDay ] [-StorageAutogrow ] [-StorageInMb ] [-Tag ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` @@ -41,7 +41,7 @@ Use Update-AzMySqlConfiguration instead if you want update server parameters suc ### Example 1: Update MySql server by resource group and server name ```powershell -PS C:\> Update-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Name mysql-test -SkuName Standard_D4ds_v4 +PS C:\> Update-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Name mysql-test -Sku Standard_D4ds_v4 Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ---- -------- ------------------ ------- ----------------------- ---------------- ------------- @@ -67,7 +67,7 @@ This cmdlet updates MySql server by identity. The password of the administrator login. ```yaml -Type: System.String +Type: System.Security.SecureString Parameter Sets: (All) Aliases: @@ -230,7 +230,7 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -SkuName +### -Sku The name of the compute SKU. Follows the convention Standard_{VM name}. Examples: Standard_B1ms, Standard_E16ds_v4. ```yaml diff --git a/src/MySql/docs/Set-AzMySqlFlexibleServerDatabase.md b/src/MySql/docs/Update-AzMySqlFlexibleServerDatabase.md similarity index 91% rename from src/MySql/docs/Set-AzMySqlFlexibleServerDatabase.md rename to src/MySql/docs/Update-AzMySqlFlexibleServerDatabase.md index a8cf3f59642e..74257652214f 100644 --- a/src/MySql/docs/Set-AzMySqlFlexibleServerDatabase.md +++ b/src/MySql/docs/Update-AzMySqlFlexibleServerDatabase.md @@ -1,11 +1,11 @@ --- external help file: Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/set-azmysqlflexibleserverdatabase +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/Update-azmysqlflexibleserverdatabase schema: 2.0.0 --- -# Set-AzMySqlFlexibleServerDatabase +# Update-AzMySqlFlexibleServerDatabase ## SYNOPSIS Updates an existing database. @@ -14,14 +14,14 @@ Updates an existing database. ### UpdateExpanded (Default) ``` -Set-AzMySqlFlexibleServerDatabase -DatabaseName -ResourceGroupName -ServerName +Update-AzMySqlFlexibleServerDatabase -DatabaseName -ResourceGroupName -ServerName [-SubscriptionId ] [-Charset ] [-Collation ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` ### Update ``` -Set-AzMySqlFlexibleServerDatabase -DatabaseName -ResourceGroupName -ServerName +Update-AzMySqlFlexibleServerDatabase -DatabaseName -ResourceGroupName -ServerName -Parameter [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` @@ -33,7 +33,7 @@ Updates an existing database. ### Example 1: Create a new MySql server database ```powershell -PS C:\> Set-AzMySqlFlexibleServerDatabase -Name database-test -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -Charset utf8 +PS C:\> Update-AzMySqlFlexibleServerDatabase -Name database-test -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -Charset utf8 Name Charset Collation ---- -------- ------------------ @@ -44,7 +44,7 @@ Update a database by resource name. ### Example 2: Update MySql database by parameter. ```powershell PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/databases/databasetest" -PS C:\> Set-AzMySqlFlexibleServerDatabase -Parameter $ID -Charset utf8 +PS C:\> Update-AzMySqlFlexibleServerDatabase -Parameter $ID -Charset utf8 Name Charset Collation ---- -------- ------------------ diff --git a/src/MySql/docs/Set-AzMySqlFlexibleServerFirewallRule.md b/src/MySql/docs/Update-AzMySqlFlexibleServerFirewallRule.md similarity index 91% rename from src/MySql/docs/Set-AzMySqlFlexibleServerFirewallRule.md rename to src/MySql/docs/Update-AzMySqlFlexibleServerFirewallRule.md index d8a5604b5f4e..7d18adb9bba5 100644 --- a/src/MySql/docs/Set-AzMySqlFlexibleServerFirewallRule.md +++ b/src/MySql/docs/Update-AzMySqlFlexibleServerFirewallRule.md @@ -1,11 +1,11 @@ --- external help file: Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/set-azmysqlflexibleserverfirewallrule +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/Update-azmysqlflexibleserverfirewallrule schema: 2.0.0 --- -# Set-AzMySqlFlexibleServerFirewallRule +# Update-AzMySqlFlexibleServerFirewallRule ## SYNOPSIS Updates an existing firewall rule. @@ -14,14 +14,14 @@ Updates an existing firewall rule. ### UpdateExpanded (Default) ``` -Set-AzMySqlFlexibleServerFirewallRule -Name -ResourceGroupName +Update-AzMySqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName -EndIPAddress -StartIPAddress [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` ### Update ``` -Set-AzMySqlFlexibleServerFirewallRule -Parameter +Update-AzMySqlFlexibleServerFirewallRule -Parameter [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` @@ -33,7 +33,7 @@ Updates an existing firewall rule. ### Example 1: Update MySql Firewall Rule by name ```powershell -PS C:\> Set-AzMySqlFlexibleServerFirewallRule -Name rule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 +PS C:\> Update-AzMySqlFlexibleServerFirewallRule -Name rule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 Name StartIPAddress EndIPAddress ---- -------------- ------------ @@ -45,7 +45,7 @@ This cmdlet updates MySql Firewall Rule by name. ### Example 2: Update MySql Firewall Rule by identity. ```powershell PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test/firewallRules/rule" -PS C:\> Set-AzMySqlFlexibleServerFirewallRule -InputObject $ID -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 +PS C:\> Update-AzMySqlFlexibleServerFirewallRule -InputObject $ID -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 Name StartIPAddress EndIPAddress ---- -------------- ------------ From 38ed2253034d6e064e7257e223d5a6a5a3b71d23 Mon Sep 17 00:00:00 2001 From: Daeun Yim Date: Fri, 6 Nov 2020 14:42:45 -0800 Subject: [PATCH 08/51] mysql cmdlets customization verified --- .../custom/New-AzMySqlFlexibleServer.ps1 | 203 ++++++++++++++++++ .../New-AzMySqlFlexibleServerFirewallRule.ps1 | 182 ++++++++++++++++ .../New-AzMySqlFlexibleServerReplica.ps1 | 122 +++++++++++ ...MySqlFlexibleServer_PointInTimeRestore.ps1 | 125 +++++++++++ .../custom/Update-AzMySqlFlexibleServer.ps1 | 183 ++++++++++++++++ ...date-AzMySqlFlexibleServerFirewallRule.ps1 | 162 ++++++++++++++ src/MySql/readme.md | 72 ++++++- 7 files changed, 1044 insertions(+), 5 deletions(-) create mode 100644 src/MySql/custom/New-AzMySqlFlexibleServer.ps1 create mode 100644 src/MySql/custom/New-AzMySqlFlexibleServerFirewallRule.ps1 create mode 100644 src/MySql/custom/New-AzMySqlFlexibleServerReplica.ps1 create mode 100644 src/MySql/custom/Restore-AzMySqlFlexibleServer_PointInTimeRestore.ps1 create mode 100644 src/MySql/custom/Update-AzMySqlFlexibleServer.ps1 create mode 100644 src/MySql/custom/Update-AzMySqlFlexibleServerFirewallRule.ps1 diff --git a/src/MySql/custom/New-AzMySqlFlexibleServer.ps1 b/src/MySql/custom/New-AzMySqlFlexibleServer.ps1 new file mode 100644 index 000000000000..e75a1a026a56 --- /dev/null +++ b/src/MySql/custom/New-AzMySqlFlexibleServer.ps1 @@ -0,0 +1,203 @@ + +# ---------------------------------------------------------------------------------- +# +# Copyright Microsoft Corporation +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ---------------------------------------------------------------------------------- + +function New-AzMySqlFlexibleServer { + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated])] + [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Description('Creates a new server.')] + param( + [Parameter(Mandatory, HelpMessage = 'The name of the server.')] + [Alias('ServerName')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [System.String] + ${Name}, + + [Parameter(Mandatory, HelpMessage = 'The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [System.String] + ${ResourceGroupName}, + + [Parameter(HelpMessage='The subscription ID that identifies an Azure subscription.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String] + ${SubscriptionId}, + + [Parameter(HelpMessage = 'The location the resource resides in.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.String] + ${Location}, + + [Parameter(Mandatory, HelpMessage = 'The location the resource resides in.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.String] + ${AdministratorUserName}, + + [Parameter(Mandatory, HelpMessage = 'The location the resource resides in.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + # [System.Security.SecureString] + [System.String] + [ValidateNotNullOrEmpty()] + ${AdministratorLoginPassword}, + + [Parameter(HelpMessage = 'The name of the sku, typically, tier + family + cores, e.g. Standard_B1ms, Standard_D2ds_v4.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.String] + ${Sku}, + + [Parameter(HelpMessage = 'Compute tier of the server. Accepted values: Burstable, GeneralPurpose, Memory Optimized. Default: Burstable.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.String] + ${SkuTier}, + + [Parameter(HelpMessage = "Backup retention days for the server. Day count is between 7 and 35.")] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.Int32] + ${BackupRetentionDay}, + + [Parameter(HelpMessage = 'Max storage allowed for a server.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.Int32] + ${StorageInMb}, + + [Parameter(HelpMessage = 'Application-specific metadata in the form of key-value pairs.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateTags]))] + [System.Collections.Hashtable] + ${Tag}, + + [Parameter(HelpMessage = 'Server version.')] + [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerVersion])] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerVersion] + ${Version}, + + [Parameter(HelpMessage = 'The credentials, account, tenant, and subscription used for communication with Azure.')] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Azure')] + [System.Management.Automation.PSObject] + ${DefaultProfile}, + + [Parameter(HelpMessage = 'Run the command as a job.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + ${AsJob}, + + [Parameter(DontShow, HelpMessage = 'Wait for .NET debugger to attach.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline. + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline. + ${HttpPipelinePrepend}, + + [Parameter(HelpMessage = 'Run the command asynchronously.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + ${NoWait}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use. + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call. + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy. + ${ProxyUseDefaultCredentials} + ) + + process { + try { + if ($PSBoundParameters.ContainsKey('Name')) { + $PSBoundParameters.ServerName = $PSBoundParameters['Name'] + $null = $PSBoundParameters.Remove('Name') + } + + if ($PSBoundParameters.ContainsKey('Sku')) { + $PSBoundParameters.SkuName = $PSBoundParameters['Sku'] + $null = $PSBoundParameters.Remove('Sku') + } + else { + $PSBoundParameters.SkuName = 'Standard_B1ms' + } + + if ($PSBoundParameters.ContainsKey('BackupRetentionDay')) { + $PSBoundParameters.StorageProfileBackupRetentionDay = $PSBoundParameters['BackupRetentionDay'] + $null = $PSBoundParameters.Remove('BackupRetentionDay') + } + else { + $PSBoundParameters.StorageProfileBackupRetentionDay = 7 + } + + if ($PSBoundParameters.ContainsKey('StorageInMb')) { + $PSBoundParameters.StorageProfileStorageMb = $PSBoundParameters['StorageInMb'] + $null = $PSBoundParameters.Remove('StorageInMb') + } + else { + $PSBoundParameters.StorageProfileStorageMb = 10240 + } + + if (!$PSBoundParameters.ContainsKey('Version')) { + $PSBoundParameters.Version = '5.7' + } + + if (!$PSBoundParameters.ContainsKey('SkuTier')) { + $PSBoundParameters.SkuTier = 'Burstable' + } + + if (!$PSBoundParameters.ContainsKey('Location')) { + $PSBoundParameters.Location = 'westus2' + } + + if ($PSBoundParameters.ContainsKey('AdministratorUserName')) { + $PSBoundParameters.AdministratorLogin = $PSBoundParameters['AdministratorUserName'] + $null = $PSBoundParameters.Remove('AdministratorUserName') + } + + $PSBoundParameters.CreateMode = [Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.CreateMode]::Default + # Write-Output ConvertTo-SecureString $PSBoundParameters['AdministratorLoginPassword'] -AsPlainText -Force + # Write-Output . "$PSScriptRoot/../utils/Unprotect-SecureString.ps1" $PSBoundParameters['AdministratorLoginPassword'] + # $PSBoundParameters.AdministratorLoginPassword = ConvertTo-SecureString $PSBoundParameters['AdministratorLoginPassword'] -AsPlainText -Force + + Az.MySql.internal\New-AzMySqlFlexibleServer @PSBoundParameters + } catch { + throw + } + } +} + + diff --git a/src/MySql/custom/New-AzMySqlFlexibleServerFirewallRule.ps1 b/src/MySql/custom/New-AzMySqlFlexibleServerFirewallRule.ps1 new file mode 100644 index 000000000000..f769101b126c --- /dev/null +++ b/src/MySql/custom/New-AzMySqlFlexibleServerFirewallRule.ps1 @@ -0,0 +1,182 @@ + +# ---------------------------------------------------------------------------------- +# +# Copyright Microsoft Corporation +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ---------------------------------------------------------------------------------- + +<# +.Synopsis +Creates a new firewall rule or updates an existing firewall rule. +.Description +Creates a new firewall rule or updates an existing firewall rule. +#> +function New-AzMySqlFlexibleServerFirewallRule { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule])] +[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +param( + [Parameter()] + [Alias('FirewallRuleName')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [System.String] + # The name of the server firewall rule. + # If not specified, the default is undefined. + # If AllowAll is present, the default name is AllowAll_yyyy-MM-dd_HH-mm-ss. + ${Name}, + + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [System.String] + # The name of the resource group. + # The name is case insensitive. + ${ResourceGroupName}, + + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [System.String] + # The name of the server. + ${ServerName}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String] + # The ID of the target subscription. + ${SubscriptionId}, + + [Parameter(ParameterSetName='CreateExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.String] + # The end IP address of the server firewall rule. + # Must be IPv4 format. + ${EndIPAddress}, + + [Parameter(ParameterSetName='CreateExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.String] + # The start IP address of the server firewall rule. + # Must be IPv4 format. + ${StartIPAddress}, + + [Parameter(ParameterSetName='ClientIPAddress', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.String] + # Client specified single IP of the server firewall rule. + # Must be IPv4 format. + ${ClientIPAddress}, + + [Parameter(ParameterSetName='AllowAll', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Present to allow all range IPs, from 0.0.0.0 to 255.255.255.255. + ${AllowAll}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Azure')] + [System.Management.Automation.PSObject] + # The credentials, account, tenant, and subscription used for communication with Azure. + ${DefaultProfile}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command as a job + ${AsJob}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command asynchronously + ${NoWait}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} +) + +process { + try { + if($PSBoundParameters.ContainsKey('AllowAll')) + { + if(!$PSBoundParameters.ContainsKey('Name')) + { + $PSBoundParameters['Name'] = Get-Date -Format "AllowAll_yyyy-MM-dd_HH-mm-ss" + } + $PSBoundParameters['StartIPAddress'] = "0.0.0.0" + $PSBoundParameters['EndIPAddress'] = "255.255.255.255" + + $null = $PSBoundParameters.Remove('AllowAll') + } + elseif($PSBoundParameters.ContainsKey('ClientIPAddress')) + { + $PSBoundParameters['StartIPAddress'] = $PSBoundParameters['ClientIPAddress'] + $PSBoundParameters['EndIPAddress'] = $PSBoundParameters['ClientIPAddress'] + + if(!$PSBoundParameters.ContainsKey('Name')) + { + $PSBoundParameters['Name'] = "ClientIPAddress_" + (Get-Date -Format "yyyy-MM-dd_HH-mm-ss") + } + + $null = $PSBoundParameters.Remove('ClientIPAddress') + } + else + { + if(!$PSBoundParameters.ContainsKey('Name')) + { + $PSBoundParameters['Name'] = "undefined" + } + } + $PSBoundParameters['FirewallRuleName'] = $PSBoundParameters['Name'] + $null = $PSBoundParameters.Remove('Name') + + Az.MySql.internal\New-AzMySqlFlexibleServerFirewallRule @PSBoundParameters + } catch { + throw + } +} +} diff --git a/src/MySql/custom/New-AzMySqlFlexibleServerReplica.ps1 b/src/MySql/custom/New-AzMySqlFlexibleServerReplica.ps1 new file mode 100644 index 000000000000..60068173d5f4 --- /dev/null +++ b/src/MySql/custom/New-AzMySqlFlexibleServerReplica.ps1 @@ -0,0 +1,122 @@ + +# ---------------------------------------------------------------------------------- +# +# Copyright Microsoft Corporation +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ---------------------------------------------------------------------------------- + +function New-AzMySqlFlexibleServerReplica { + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated])] + [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Description('Creates a new replica from an existing database.')] + param( + [Parameter(Mandatory, HelpMessage = 'The name of the server.')] + [Alias('ReplicaServerName', 'Name')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [System.String] + ${Replica}, + + [Parameter(Mandatory, HelpMessage = 'The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [System.String] + ${ResourceGroupName}, + + [Parameter(HelpMessage='The subscription ID that identifies an Azure subscription.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String] + ${SubscriptionId}, + + [Parameter(Mandatory, ValueFromPipeline, HelpMessage = 'The source server object to create replica from.')] + [Alias('InputObject')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated] + ${Master}, + + [Parameter(HelpMessage = 'The credentials, account, tenant, and subscription used for communication with Azure.')] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Azure')] + [System.Management.Automation.PSObject] + ${DefaultProfile}, + + [Parameter(HelpMessage = 'Run the command as a job.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + ${AsJob}, + + [Parameter(DontShow, HelpMessage = 'Wait for .NET debugger to attach.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline. + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline. + ${HttpPipelinePrepend}, + + [Parameter(HelpMessage = 'Run the command asynchronously.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + ${NoWait}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use. + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call. + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy. + ${ProxyUseDefaultCredentials} + ) + + process { + try { + $PSBoundParameters.CreateMode = [Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.CreateMode]::Replica + + $server = $PSBoundParameters['Master'] + $PSBoundParameters.SourceServerId = $server.Id + $PSBoundParameters.Location = $server.Location + $null = $PSBoundParameters.Remove('Master') + + if ($PSBoundParameters.ContainsKey('Replica')) + { + $PSBoundParameters['ServerName'] = $PSBoundParameters['Replica'] + $null = $PSBoundParameters.Remove('Replica') + } + + Az.MySql.internal\New-AzMySqlFlexibleServer @PSBoundParameters + } catch { + throw + } + } +} + + diff --git a/src/MySql/custom/Restore-AzMySqlFlexibleServer_PointInTimeRestore.ps1 b/src/MySql/custom/Restore-AzMySqlFlexibleServer_PointInTimeRestore.ps1 new file mode 100644 index 000000000000..fd235dd472b6 --- /dev/null +++ b/src/MySql/custom/Restore-AzMySqlFlexibleServer_PointInTimeRestore.ps1 @@ -0,0 +1,125 @@ + +# ---------------------------------------------------------------------------------- +# +# Copyright Microsoft Corporation +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ---------------------------------------------------------------------------------- + +function Restore-AzMySqlFlexibleServer_PointInTimeRestore { + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated])] + [CmdletBinding(PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Description('Restore a server from an existing backup')] + param( + [Parameter(Mandatory, HelpMessage = 'The name of the server.')] + [Alias('ServerName')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [System.String] + ${Name}, + + [Parameter(Mandatory, HelpMessage = 'The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [System.String] + ${ResourceGroupName}, + + [Parameter(HelpMessage='The subscription ID that identifies an Azure subscription.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String] + ${SubscriptionId}, + + [Parameter(Mandatory, HelpMessage = 'The location the resource resides in.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.DateTime] + ${RestorePointInTime}, + + [Parameter(Mandatory, ValueFromPipeline, HelpMessage = 'The source server object to restore from.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated] + ${InputObject}, + + [Parameter(HelpMessage = 'The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.String] + ${Sku}, + + [Parameter(HelpMessage = 'The credentials, account, tenant, and subscription used for communication with Azure.')] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Azure')] + [System.Management.Automation.PSObject] + ${DefaultProfile}, + + [Parameter(HelpMessage = 'Run the command as a job.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + ${AsJob}, + + [Parameter(DontShow, HelpMessage = 'Wait for .NET debugger to attach.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline. + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline. + ${HttpPipelinePrepend}, + + [Parameter(HelpMessage = 'Run the command asynchronously.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + ${NoWait}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use. + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call. + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy. + ${ProxyUseDefaultCredentials} + ) + + process { + try { + $PSBoundParameters.CreateMode = [Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.CreateMode]::PointInTimeRestore + + $server = $PSBoundParameters['InputObject'] + $PSBoundParameters.SourceServerId = $server.Id + $PSBoundParameters.Location = $server.Location + $null = $PSBoundParameters.Remove('InputObject') + + Az.MySql.internal\New-AzMySqlFlexibleServer @PSBoundParameters + } catch { + throw + } + } +} + + diff --git a/src/MySql/custom/Update-AzMySqlFlexibleServer.ps1 b/src/MySql/custom/Update-AzMySqlFlexibleServer.ps1 new file mode 100644 index 000000000000..d7e835d2a682 --- /dev/null +++ b/src/MySql/custom/Update-AzMySqlFlexibleServer.ps1 @@ -0,0 +1,183 @@ + +# ---------------------------------------------------------------------------------- +# +# Copyright Microsoft Corporation +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ---------------------------------------------------------------------------------- + +function Update-AzMySqlFlexibleServer { + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer])] + [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Description('Updates an existing server. The request body can contain one to many of the properties present in the normal server definition. Use Update-AzMySqlConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count.')] + param( + [Parameter(ParameterSetName='UpdateExpanded', Mandatory, HelpMessage='The name of the server.')] + [Alias('ServerName')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [System.String] + ${Name}, + + [Parameter(ParameterSetName='UpdateExpanded', Mandatory, HelpMessage='The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [System.String] + ${ResourceGroupName}, + + [Parameter(ParameterSetName='UpdateExpanded', HelpMessage='The subscription ID that identifies an Azure subscription.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String] + ${SubscriptionId}, + + [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline, HelpMessage='Identity Parameter. To construct, see NOTES section for INPUTOBJECT properties and create a hash table.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity] + ${InputObject}, + + [Parameter(HelpMessage='The password of the administrator login.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.Security.SecureString] + ${AdministratorLoginPassword}, + + [Parameter(HelpMessage='The replication role of the server.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.String] + ${ReplicationRole}, + + [Parameter(HelpMessage='The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.String] + ${Sku}, + + [Parameter(HelpMessage='The tier of the particular SKU, e.g. Basic.')] + [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier])] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier] + ${SkuTier}, + + [Parameter(HelpMessage='Enable or disable high availability feature.')] + [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.HaEnabledEnum])] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.HaEnabledEnum] + # Enable HA or not for a server. + ${HaEnabled}, + + [Parameter(HelpMessage='Enable ssl enforcement or not when connect to server.')] + [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SslEnforcementEnum])] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SslEnforcementEnum] + ${SslEnforcement}, + + [Parameter(HelpMessage='Backup retention days for the server. Day count is between 7 and 35.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.Int32] + ${BackupRetentionDay}, + + [Parameter(HelpMessage='Enable Storage Auto Grow.')] + [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow])] + [Validateset('Enabled', 'Disabled')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow] + ${StorageAutogrow}, + + [Parameter(HelpMessage='Max storage allowed for a server.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.Int32] + ${StorageInMb}, + + [Parameter(HelpMessage='Application-specific metadata in the form of key-value pairs.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerUpdateParametersTags]))] + [System.Collections.Hashtable] + ${Tag}, + + [Parameter(HelpMessage = 'The credentials, account, tenant, and subscription used for communication with Azure.')] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Azure')] + [System.Management.Automation.PSObject] + ${DefaultProfile}, + + [Parameter(HelpMessage = 'Run the command as a job.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + ${AsJob}, + + [Parameter(DontShow, HelpMessage = 'Wait for .NET debugger to attach.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline. + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline. + ${HttpPipelinePrepend}, + + [Parameter(HelpMessage = 'Run the command asynchronously.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + ${NoWait}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use. + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call. + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy. + ${ProxyUseDefaultCredentials} + ) + + process { + try { + if ($PSBoundParameters.ContainsKey('StorageInMb')) { + $PSBoundParameters.StorageProfileStorageMb = $PSBoundParameters['StorageInMb'] + $null = $PSBoundParameters.Remove('StorageInMb') + } + + if ($PSBoundParameters.ContainsKey('Sku')) { + $PSBoundParameters.SkuName = $PSBoundParameters['Sku'] + $null = $PSBoundParameters.Remove('Sku') + } + + if ($PSBoundParameters.ContainsKey('BackupRetentionDay')) { + $PSBoundParameters.StorageProfileBackupRetentionDay = $PSBoundParameters['BackupRetentionDay'] + $null = $PSBoundParameters.Remove('BackupRetentionDay') + } + + if ($PSBoundParameters.ContainsKey('StorageAutogrow')) { + $PSBoundParameters.StorageProfileStorageAutogrow = $PSBoundParameters['StorageAutogrow'] + $null = $PSBoundParameters.Remove('StorageAutogrow') + } + + Az.MySql.internal\Update-AzMySqlFlexibleServer @PSBoundParameters + } catch { + throw + } + } +} diff --git a/src/MySql/custom/Update-AzMySqlFlexibleServerFirewallRule.ps1 b/src/MySql/custom/Update-AzMySqlFlexibleServerFirewallRule.ps1 new file mode 100644 index 000000000000..a3a9f2946de7 --- /dev/null +++ b/src/MySql/custom/Update-AzMySqlFlexibleServerFirewallRule.ps1 @@ -0,0 +1,162 @@ + +# ---------------------------------------------------------------------------------- +# +# Copyright Microsoft Corporation +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ---------------------------------------------------------------------------------- + +<# +.Synopsis +Creates a new firewall rule or updates an existing firewall rule. +.Description +Creates a new firewall rule or updates an existing firewall rule. +#> +function Update-AzMySqlFlexibleServerFirewallRule { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule])] +[CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +param( + [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] + [Parameter(ParameterSetName='ClientIPAddress', Mandatory)] + [Alias('FirewallRuleName')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [System.String] + # The name of the server firewall rule. + ${Name}, + + [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] + [Parameter(ParameterSetName='ClientIPAddress', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [System.String] + # The name of the resource group. + # The name is case insensitive. + ${ResourceGroupName}, + + [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] + [Parameter(ParameterSetName='ClientIPAddress', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [System.String] + # The name of the server. + ${ServerName}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='ClientIPAddress')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String] + # The ID of the target subscription. + ${SubscriptionId}, + + [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='ClientIPAddressViaIdentity', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity] + # Identity Parameter + # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + ${InputObject}, + + [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.String] + # The end IP address of the server firewall rule. + # Must be IPv4 format. + ${EndIPAddress}, + + [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.String] + # The start IP address of the server firewall rule. + # Must be IPv4 format. + ${StartIPAddress}, + + [Parameter(ParameterSetName='ClientIPAddress', Mandatory)] + [Parameter(ParameterSetName='ClientIPAddressViaIdentity', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.String] + # Client specified single IP of the server firewall rule. + # Must be IPv4 format. + ${ClientIPAddress}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Azure')] + [System.Management.Automation.PSObject] + # The credentials, account, tenant, and subscription used for communication with Azure. + ${DefaultProfile}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command as a job + ${AsJob}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command asynchronously + ${NoWait}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} +) + +process { + try { + if($PSBoundParameters.ContainsKey('ClientIPAddress')) + { + $PSBoundParameters['StartIPAddress'] = $PSBoundParameters['ClientIPAddress'] + $PSBoundParameters['EndIPAddress'] = $PSBoundParameters['ClientIPAddress'] + $null = $PSBoundParameters.Remove('ClientIPAddress') + } + Az.MySql.internal\Update-AzMySqlFlexibleServerFirewallRule @PSBoundParameters + } catch { + throw + } +} +} diff --git a/src/MySql/readme.md b/src/MySql/readme.md index b7dffe27674c..134cf0ec0dff 100644 --- a/src/MySql/readme.md +++ b/src/MySql/readme.md @@ -70,25 +70,39 @@ directive: transform: return $.replace(/^(Servers|ServerKeys)_/g, "flexible$1_") - from: Microsoft.DBforMySQL/preview/2020-07-01-preview/mysql.json where: $.paths..operationId - transform: return $.replace(/^(Replicas|FirewallRules|Databases|Configurations|NameAvailability)_/g, "flexibleServers$1_") + transform: return $.replace(/^(Replicas|FirewallRules|Databases|Configurations|NameAvailability|LocationBasedCapabilities)_/g, "flexibleServer$1_") - from: Microsoft.DBforMySQL/preview/2020-07-01-preview/mysql.json where: $.paths..operationId - transform: return $.replace(/^CheckVirtualNetworkSubnetUsage_Execute$/g, "VirtualNetworkSubnetUsage_Get") + transform: return $.replace(/^CheckVirtualNetworkSubnetUsage_Execute$/g,"flexibleServerVirtualNetworkSubnetUsage_Get") + - from: Microsoft.DBforMySQL/preview/2020-07-01-preview/mysql.json + where: + verb: Restore$ + subject: ^FlexibleServer$ + hide: true + - where: + verb: Get$ + subject: ^FlexibleServerVirtualNetworkSubnetUsage$|^FlexibleServerLocationBasedPerformanceTier$ + hide: true + - where: + verb: Test$ + subject: ^FlexibleServerNameAvailability$ + hide: true - where: verb: Set - subject: ^Configuration$|^FirewallRule$|^VirtualNetworkRule$ + subject: ^Configuration$|^FirewallRule$|^VirtualNetworkRule$|^flexibleServerDatabase|^flexibleServerFirewallRule$ set: verb: Update - where: - subject: ^Database$|^LocationBasedPerformanceTier$|^LogFile$|SecurityAlertPolicy$|Administrator$ + subject: ^Database$|^LocationBasedPerformanceTier$|^LogFile$|SecurityAlertPolicy$|Administrator$|NameAvailability$|^FlexibleServerKey$|^FlexibleServerVirtualNetworkSubnetUsage$ hide: true - where: verb: New$|Update$ - subject: ^Server$|^Configuration$|^FirewallRule$ + subject: ^Server$|^Configuration$|^FirewallRule$|^FlexibleServer$|^FlexibleServerFirewallRule$ hide: true - where: verb: New$ variant: ^Create$|^CreateViaIdentity + subject: ^Server$|^Configuration$|^FirewallRule$|^Database$|^LocationBasedPerformanceTier$|^LogFile$| SecurityAlertPolicy$|Administrator$|NameAvailability$|^VirtualNetworkRule$ hide: true - where: verb: New$|Update$ @@ -112,6 +126,18 @@ directive: - SkuName - SkuTier - SslEnforcement + - where: + model-name: ServerAutoGenerated + set: + format-table: + properties: + - Name + - Location + - SkuName + - SkuTier + - AdministratorLogin + - Version + - StorageProfileStorageMb - where: model-name: Configuration set: @@ -119,6 +145,9 @@ directive: properties: - Name - Value + - AllowedValues + - Source + - DefaultValue - where: model-name: FirewallRule set: @@ -127,6 +156,39 @@ directive: - Name - StartIPAddress - EndIPAddress + - where: + model-name: Database + set: + format-table: + properties: + - Name + - Charset + - Collation + - Id + - where: + subject: ^FlexibleServer$ + parameter-name: ServerName + set: + parameter-name: Name + alias: ServerName + - where: + subject: ^FlexibleServerFirewallRule$ + parameter-name: FirewallRuleName + set: + parameter-name: Name + alias: FirewallRuleName + - where: + subject: ^FlexibleServerDatabase$ + parameter-name: DatabaseName + set: + parameter-name: Name + alias: DatabaseName + - where: + subject: ^FlexibleServerConfiguration$ + parameter-name: ConfigurationName + set: + parameter-name: Name + alias: ConfigurationName - where: parameter-name: StorageProfileBackupRetentionDay subject: Server From e72cbc1ce751921990cc08a836a6a6782c562f8b Mon Sep 17 00:00:00 2001 From: Daeun Yim Date: Sat, 7 Nov 2020 15:39:54 -0800 Subject: [PATCH 09/51] mysql modified --- src/MySql/custom/New-AzMySqlFlexibleServer.ps1 | 4 ++-- src/MySql/custom/New-AzMySqlServer.ps1 | 4 ++-- .../custom/Update-AzMySqlFlexibleServer.ps1 | 2 +- src/MySql/readme.md | 18 ++++++++++++++---- 4 files changed, 19 insertions(+), 9 deletions(-) diff --git a/src/MySql/custom/New-AzMySqlFlexibleServer.ps1 b/src/MySql/custom/New-AzMySqlFlexibleServer.ps1 index e75a1a026a56..410c412d9256 100644 --- a/src/MySql/custom/New-AzMySqlFlexibleServer.ps1 +++ b/src/MySql/custom/New-AzMySqlFlexibleServer.ps1 @@ -40,12 +40,12 @@ function New-AzMySqlFlexibleServer { [System.String] ${Location}, - [Parameter(Mandatory, HelpMessage = 'The location the resource resides in.')] + [Parameter(Mandatory, HelpMessage = 'Administrator username for the server. Once set, it cannot be changed.')] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] [System.String] ${AdministratorUserName}, - [Parameter(Mandatory, HelpMessage = 'The location the resource resides in.')] + [Parameter(Mandatory, HelpMessage = 'The password of the administrator. Minimum 8 characters and maximum 128 characters. Password must contain characters from three of the following categories: English uppercase letters, English lowercase letters, numbers, and non-alphanumeric characters.')] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] # [System.Security.SecureString] [System.String] diff --git a/src/MySql/custom/New-AzMySqlServer.ps1 b/src/MySql/custom/New-AzMySqlServer.ps1 index 9bd4268ee6be..08b267a26ce0 100644 --- a/src/MySql/custom/New-AzMySqlServer.ps1 +++ b/src/MySql/custom/New-AzMySqlServer.ps1 @@ -40,12 +40,12 @@ function New-AzMySqlServer { [System.String] ${Location}, - [Parameter(Mandatory, HelpMessage = 'The location the resource resides in.')] + [Parameter(Mandatory, HelpMessage = 'Administrator username for the server. Once set, it cannot be changed.')] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] [System.String] ${AdministratorUserName}, - [Parameter(Mandatory, HelpMessage = 'The location the resource resides in.')] + [Parameter(Mandatory, HelpMessage = 'The password of the administrator. Minimum 8 characters and maximum 128 characters. Password must contain characters from three of the following categories: English uppercase letters, English lowercase letters, numbers, and non-alphanumeric characters.')] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] [System.Security.SecureString] [ValidateNotNullOrEmpty()] diff --git a/src/MySql/custom/Update-AzMySqlFlexibleServer.ps1 b/src/MySql/custom/Update-AzMySqlFlexibleServer.ps1 index d7e835d2a682..a263d8e94c35 100644 --- a/src/MySql/custom/Update-AzMySqlFlexibleServer.ps1 +++ b/src/MySql/custom/Update-AzMySqlFlexibleServer.ps1 @@ -14,7 +14,7 @@ # ---------------------------------------------------------------------------------- function Update-AzMySqlFlexibleServer { - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer])] + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Description('Updates an existing server. The request body can contain one to many of the properties present in the normal server definition. Use Update-AzMySqlConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count.')] param( diff --git a/src/MySql/readme.md b/src/MySql/readme.md index 134cf0ec0dff..a944f15bfdc5 100644 --- a/src/MySql/readme.md +++ b/src/MySql/readme.md @@ -100,9 +100,9 @@ directive: subject: ^Server$|^Configuration$|^FirewallRule$|^FlexibleServer$|^FlexibleServerFirewallRule$ hide: true - where: - verb: New$ - variant: ^Create$|^CreateViaIdentity - subject: ^Server$|^Configuration$|^FirewallRule$|^Database$|^LocationBasedPerformanceTier$|^LogFile$| SecurityAlertPolicy$|Administrator$|NameAvailability$|^VirtualNetworkRule$ + verb: New$ + variant: ^Create$|^CreateViaIdentity + subject: ^Server$|^Configuration$|^FirewallRule$|^Database$|^LocationBasedPerformanceTier$|^LogFile$|SecurityAlertPolicy$|Administrator$|NameAvailability$|^VirtualNetworkRule$ hide: true - where: verb: New$|Update$ @@ -145,9 +145,19 @@ directive: properties: - Name - Value - - AllowedValues + - AllowedValue - Source - DefaultValue + - where: + model-name: ConfigurationAutoGenerated + set: + format-table: + properties: + - Name + - Value + - AllowedValue + - Source + - DefaultValue - where: model-name: FirewallRule set: From a8f6afc01f9b6018a812b443d419d1a2d4e7457b Mon Sep 17 00:00:00 2001 From: Daeun Yim Date: Sat, 7 Nov 2020 15:41:06 -0800 Subject: [PATCH 10/51] postgres customized cmdlets and readme --- .../custom/New-AzPostgreSqlFlexibleServer.ps1 | 203 ++++++++++++++++++ ...AzPostgreSqlFlexibleServerFirewallRule.ps1 | 182 ++++++++++++++++ .../custom/New-AzPostgreSqlServer.ps1 | 4 +- ...reSqlFlexibleServer_PointInTimeRestore.ps1 | 124 +++++++++++ .../Update-AzPostgreSqlFlexibleServer.ps1 | 183 ++++++++++++++++ ...AzPostgreSqlFlexibleServerFirewallRule.ps1 | 162 ++++++++++++++ src/PostgreSql/readme.md | 116 ++++++++-- 7 files changed, 957 insertions(+), 17 deletions(-) create mode 100644 src/PostgreSql/custom/New-AzPostgreSqlFlexibleServer.ps1 create mode 100644 src/PostgreSql/custom/New-AzPostgreSqlFlexibleServerFirewallRule.ps1 create mode 100644 src/PostgreSql/custom/Restore-AzPostgreSqlFlexibleServer_PointInTimeRestore.ps1 create mode 100644 src/PostgreSql/custom/Update-AzPostgreSqlFlexibleServer.ps1 create mode 100644 src/PostgreSql/custom/Update-AzPostgreSqlFlexibleServerFirewallRule.ps1 diff --git a/src/PostgreSql/custom/New-AzPostgreSqlFlexibleServer.ps1 b/src/PostgreSql/custom/New-AzPostgreSqlFlexibleServer.ps1 new file mode 100644 index 000000000000..2b69f99bd729 --- /dev/null +++ b/src/PostgreSql/custom/New-AzPostgreSqlFlexibleServer.ps1 @@ -0,0 +1,203 @@ + +# ---------------------------------------------------------------------------------- +# +# Copyright Microsoft Corporation +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ---------------------------------------------------------------------------------- + +function New-AzPostgreSqlFlexibleServer { + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20200214Preview.IServerAutoGenerated])] + [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Description('Creates a new server.')] + param( + [Parameter(Mandatory, HelpMessage = 'The name of the server.')] + [Alias('ServerName')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] + [System.String] + ${Name}, + + [Parameter(Mandatory, HelpMessage = 'The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal.')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] + [System.String] + ${ResourceGroupName}, + + [Parameter(HelpMessage='The subscription ID that identifies an Azure subscription.')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String] + ${SubscriptionId}, + + [Parameter(HelpMessage = 'The location the resource resides in.')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] + [System.String] + ${Location}, + + [Parameter(Mandatory, HelpMessage = 'Administrator username for the server. Once set, it cannot be changed.')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] + [System.String] + ${AdministratorUserName}, + + [Parameter(Mandatory, HelpMessage = 'The password of the administrator. Minimum 8 characters and maximum 128 characters. Password must contain characters from three of the following categories: English uppercase letters, English lowercase letters, numbers, and non-alphanumeric characters.')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] + # [System.Security.SecureString] + [System.String] + [ValidateNotNullOrEmpty()] + ${AdministratorLoginPassword}, + + [Parameter(HelpMessage = 'The name of the sku, typically, tier + family + cores, e.g. Standard_B1ms, Standard_D2ds_v4.')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] + [System.String] + ${Sku}, + + [Parameter(HelpMessage = 'Compute tier of the server. Accepted values: Burstable, GeneralPurpose, Memory Optimized. Default: Burstable.')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] + [System.String] + ${SkuTier}, + + [Parameter(HelpMessage = "Backup retention days for the server. Day count is between 7 and 35.")] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] + [System.Int32] + ${BackupRetentionDay}, + + [Parameter(HelpMessage = 'Max storage allowed for a server.')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] + [System.Int32] + ${StorageInMb}, + + [Parameter(HelpMessage = 'Application-specific metadata in the form of key-value pairs.')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IServerForCreateTags]))] + [System.Collections.Hashtable] + ${Tag}, + + [Parameter(HelpMessage = 'Server version.')] + [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.ServerVersion])] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.ServerVersion] + ${Version}, + + [Parameter(HelpMessage = 'The credentials, account, tenant, and subscription used for communication with Azure.')] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Azure')] + [System.Management.Automation.PSObject] + ${DefaultProfile}, + + [Parameter(HelpMessage = 'Run the command as a job.')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + ${AsJob}, + + [Parameter(DontShow, HelpMessage = 'Wait for .NET debugger to attach.')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline. + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline. + ${HttpPipelinePrepend}, + + [Parameter(HelpMessage = 'Run the command asynchronously.')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + ${NoWait}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use. + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call. + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy. + ${ProxyUseDefaultCredentials} + ) + + process { + try { + if ($PSBoundParameters.ContainsKey('Name')) { + $PSBoundParameters.ServerName = $PSBoundParameters['Name'] + $null = $PSBoundParameters.Remove('Name') + } + + if ($PSBoundParameters.ContainsKey('Sku')) { + $PSBoundParameters.SkuName = $PSBoundParameters['Sku'] + $null = $PSBoundParameters.Remove('Sku') + } + else { + $PSBoundParameters.SkuName = 'Standard_D2s_v3' + } + + if ($PSBoundParameters.ContainsKey('BackupRetentionDay')) { + $PSBoundParameters.StorageProfileBackupRetentionDay = $PSBoundParameters['BackupRetentionDay'] + $null = $PSBoundParameters.Remove('BackupRetentionDay') + } + else { + $PSBoundParameters.StorageProfileBackupRetentionDay = 7 + } + + if ($PSBoundParameters.ContainsKey('StorageInMb')) { + $PSBoundParameters.StorageProfileStorageMb = $PSBoundParameters['StorageInMb'] + $null = $PSBoundParameters.Remove('StorageInMb') + } + else { + $PSBoundParameters.StorageProfileStorageMb = 128*1024 + } + + if (!$PSBoundParameters.ContainsKey('Version')) { + $PSBoundParameters.Version = '12' + } + + if (!$PSBoundParameters.ContainsKey('SkuTier')) { + $PSBoundParameters.SkuTier = 'GeneralPurpose' + } + + if (!$PSBoundParameters.ContainsKey('Location')) { + $PSBoundParameters.Location = 'eastus' + } + + if ($PSBoundParameters.ContainsKey('AdministratorUserName')) { + $PSBoundParameters.AdministratorLogin = $PSBoundParameters['AdministratorUserName'] + $null = $PSBoundParameters.Remove('AdministratorUserName') + } + + $PSBoundParameters.CreateMode = [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.CreateMode]::Default + # Write-Output ConvertTo-SecureString $PSBoundParameters['AdministratorLoginPassword'] -AsPlainText -Force + # Write-Output . "$PSScriptRoot/../utils/Unprotect-SecureString.ps1" $PSBoundParameters['AdministratorLoginPassword'] + # $PSBoundParameters.AdministratorLoginPassword = ConvertTo-SecureString $PSBoundParameters['AdministratorLoginPassword'] -AsPlainText -Force + + Az.PostgreSql.internal\New-AzPostgreSqlFlexibleServer @PSBoundParameters + } catch { + throw + } + } +} + + diff --git a/src/PostgreSql/custom/New-AzPostgreSqlFlexibleServerFirewallRule.ps1 b/src/PostgreSql/custom/New-AzPostgreSqlFlexibleServerFirewallRule.ps1 new file mode 100644 index 000000000000..7f1c53834b3c --- /dev/null +++ b/src/PostgreSql/custom/New-AzPostgreSqlFlexibleServerFirewallRule.ps1 @@ -0,0 +1,182 @@ + +# ---------------------------------------------------------------------------------- +# +# Copyright Microsoft Corporation +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ---------------------------------------------------------------------------------- + +<# +.Synopsis +Creates a new firewall rule or updates an existing firewall rule. +.Description +Creates a new firewall rule or updates an existing firewall rule. +#> +function New-AzPostgreSqlFlexibleServerFirewallRule { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IFirewallRule])] +[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +param( + [Parameter()] + [Alias('FirewallRuleName')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] + [System.String] + # The name of the server firewall rule. + # If not specified, the default is undefined. + # If AllowAll is present, the default name is AllowAll_yyyy-MM-dd_HH-mm-ss. + ${Name}, + + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] + [System.String] + # The name of the resource group. + # The name is case insensitive. + ${ResourceGroupName}, + + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] + [System.String] + # The name of the server. + ${ServerName}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String] + # The ID of the target subscription. + ${SubscriptionId}, + + [Parameter(ParameterSetName='CreateExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] + [System.String] + # The end IP address of the server firewall rule. + # Must be IPv4 format. + ${EndIPAddress}, + + [Parameter(ParameterSetName='CreateExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] + [System.String] + # The start IP address of the server firewall rule. + # Must be IPv4 format. + ${StartIPAddress}, + + [Parameter(ParameterSetName='ClientIPAddress', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] + [System.String] + # Client specified single IP of the server firewall rule. + # Must be IPv4 format. + ${ClientIPAddress}, + + [Parameter(ParameterSetName='AllowAll', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Present to allow all range IPs, from 0.0.0.0 to 255.255.255.255. + ${AllowAll}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Azure')] + [System.Management.Automation.PSObject] + # The credentials, account, tenant, and subscription used for communication with Azure. + ${DefaultProfile}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command as a job + ${AsJob}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command asynchronously + ${NoWait}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} +) + +process { + try { + if($PSBoundParameters.ContainsKey('AllowAll')) + { + if(!$PSBoundParameters.ContainsKey('Name')) + { + $PSBoundParameters['Name'] = Get-Date -Format "AllowAll_yyyy-MM-dd_HH-mm-ss" + } + $PSBoundParameters['StartIPAddress'] = "0.0.0.0" + $PSBoundParameters['EndIPAddress'] = "255.255.255.255" + + $null = $PSBoundParameters.Remove('AllowAll') + } + elseif($PSBoundParameters.ContainsKey('ClientIPAddress')) + { + $PSBoundParameters['StartIPAddress'] = $PSBoundParameters['ClientIPAddress'] + $PSBoundParameters['EndIPAddress'] = $PSBoundParameters['ClientIPAddress'] + + if(!$PSBoundParameters.ContainsKey('Name')) + { + $PSBoundParameters['Name'] = "ClientIPAddress_" + (Get-Date -Format "yyyy-MM-dd_HH-mm-ss") + } + + $null = $PSBoundParameters.Remove('ClientIPAddress') + } + else + { + if(!$PSBoundParameters.ContainsKey('Name')) + { + $PSBoundParameters['Name'] = "undefined" + } + } + $PSBoundParameters['FirewallRuleName'] = $PSBoundParameters['Name'] + $null = $PSBoundParameters.Remove('Name') + + Az.PostgreSql.internal\New-AzPostgreSqlFlexibleServerFirewallRule @PSBoundParameters + } catch { + throw + } +} +} diff --git a/src/PostgreSql/custom/New-AzPostgreSqlServer.ps1 b/src/PostgreSql/custom/New-AzPostgreSqlServer.ps1 index a50aac928c0c..6a61e38e24fb 100644 --- a/src/PostgreSql/custom/New-AzPostgreSqlServer.ps1 +++ b/src/PostgreSql/custom/New-AzPostgreSqlServer.ps1 @@ -40,12 +40,12 @@ function New-AzPostgreSqlServer { [System.String] ${Location}, - [Parameter(Mandatory, HelpMessage = 'The location the resource resides in.')] + [Parameter(Mandatory, HelpMessage = 'Administrator username for the server. Once set, it cannot be changed.')] [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] [System.String] ${AdministratorUserName}, - [Parameter(Mandatory, HelpMessage = 'The location the resource resides in.')] + [Parameter(Mandatory, HelpMessage = 'The password of the administrator. Minimum 8 characters and maximum 128 characters. Password must contain characters from three of the following categories: English uppercase letters, English lowercase letters, numbers, and non-alphanumeric characters.')] [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] [System.Security.SecureString] [ValidateNotNullOrEmpty()] diff --git a/src/PostgreSql/custom/Restore-AzPostgreSqlFlexibleServer_PointInTimeRestore.ps1 b/src/PostgreSql/custom/Restore-AzPostgreSqlFlexibleServer_PointInTimeRestore.ps1 new file mode 100644 index 000000000000..8c63b38fec44 --- /dev/null +++ b/src/PostgreSql/custom/Restore-AzPostgreSqlFlexibleServer_PointInTimeRestore.ps1 @@ -0,0 +1,124 @@ + +# ---------------------------------------------------------------------------------- +# +# Copyright Microsoft Corporation +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ---------------------------------------------------------------------------------- + +function Restore-AzPostgreSqlFlexibleServer_PointInTimeRestore { + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20200214Preview.IServerAutoGenerated])] + [CmdletBinding(PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Description('Restore a server from an existing backup')] + param( + [Parameter(Mandatory, HelpMessage = 'The name of the server.')] + [Alias('ServerName')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] + [System.String] + ${Name}, + + [Parameter(Mandatory, HelpMessage = 'The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal.')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] + [System.String] + ${ResourceGroupName}, + + [Parameter(HelpMessage='The subscription ID that identifies an Azure subscription.')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String] + ${SubscriptionId}, + + [Parameter(Mandatory, HelpMessage = 'The point in time to restore from (ISO8601 format), e.g., 2017-04-26T02:10:00+08:00.')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] + [System.DateTime] + ${RestorePointInTime}, + + [Parameter(Mandatory, HelpMessage = 'The location the resource resides in.')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] + [System.String] + ${Location}, + + [Parameter(Mandatory, HelpMessage = 'The name of the source server.')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] + [System.String] + ${SourceServerName}, + + [Parameter(HelpMessage = 'The credentials, account, tenant, and subscription used for communication with Azure.')] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Azure')] + [System.Management.Automation.PSObject] + ${DefaultProfile}, + + [Parameter(HelpMessage = 'Run the command as a job.')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + ${AsJob}, + + [Parameter(DontShow, HelpMessage = 'Wait for .NET debugger to attach.')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline. + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline. + ${HttpPipelinePrepend}, + + [Parameter(HelpMessage = 'Run the command asynchronously.')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + ${NoWait}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use. + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call. + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy. + ${ProxyUseDefaultCredentials} + ) + + process { + try { + $PSBoundParameters.CreateMode = [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.CreateMode]::PointInTimeRestore + + $PSBoundParameters.PointInTimeUTC = $PSBoundParameters["RestorePointInTime"] + $null = $PSBoundParameters.Remove('RestorePointInTime') + + + Az.PostgreSql.internal\New-AzPostgreSqlFlexibleServer @PSBoundParameters + } catch { + throw + } + } +} + + diff --git a/src/PostgreSql/custom/Update-AzPostgreSqlFlexibleServer.ps1 b/src/PostgreSql/custom/Update-AzPostgreSqlFlexibleServer.ps1 new file mode 100644 index 000000000000..ff08affd53ef --- /dev/null +++ b/src/PostgreSql/custom/Update-AzPostgreSqlFlexibleServer.ps1 @@ -0,0 +1,183 @@ + +# ---------------------------------------------------------------------------------- +# +# Copyright Microsoft Corporation +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ---------------------------------------------------------------------------------- + +function Update-AzPostgreSqlFlexibleServer { + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20200214Preview.IServerAutogenerated])] + [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Description('Updates an existing server. The request body can contain one to many of the properties present in the normal server definition. Use Update-AzPostgreSqlConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count.')] + param( + [Parameter(ParameterSetName='UpdateExpanded', Mandatory, HelpMessage='The name of the server.')] + [Alias('ServerName')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] + [System.String] + ${Name}, + + [Parameter(ParameterSetName='UpdateExpanded', Mandatory, HelpMessage='The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] + [System.String] + ${ResourceGroupName}, + + [Parameter(ParameterSetName='UpdateExpanded', HelpMessage='The subscription ID that identifies an Azure subscription.')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String] + ${SubscriptionId}, + + [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline, HelpMessage='Identity Parameter. To construct, see NOTES section for INPUTOBJECT properties and create a hash table.')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity] + ${InputObject}, + + [Parameter(HelpMessage='The password of the administrator login.')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] + [System.Security.SecureString] + ${AdministratorLoginPassword}, + + [Parameter(HelpMessage='The replication role of the server.')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] + [System.String] + ${ReplicationRole}, + + [Parameter(HelpMessage='The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8.')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] + [System.String] + ${Sku}, + + [Parameter(HelpMessage='The tier of the particular SKU, e.g. Basic.')] + [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.SkuTier])] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.SkuTier] + ${SkuTier}, + + [Parameter(HelpMessage='Enable or disable high availability feature.')] + [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.HaEnabledEnum])] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.HaEnabledEnum] + # Enable HA or not for a server. + ${HaEnabled}, + + [Parameter(HelpMessage='Enable ssl enforcement or not when connect to server.')] + [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.SslEnforcementEnum])] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.SslEnforcementEnum] + ${SslEnforcement}, + + [Parameter(HelpMessage='Backup retention days for the server. Day count is between 7 and 35.')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] + [System.Int32] + ${BackupRetentionDay}, + + [Parameter(HelpMessage='Enable Storage Auto Grow.')] + [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.StorageAutogrow])] + [Validateset('Enabled', 'Disabled')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.StorageAutogrow] + ${StorageAutogrow}, + + [Parameter(HelpMessage='Max storage allowed for a server.')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] + [System.Int32] + ${StorageInMb}, + + [Parameter(HelpMessage='Application-specific metadata in the form of key-value pairs.')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IServerUpdateParametersTags]))] + [System.Collections.Hashtable] + ${Tag}, + + [Parameter(HelpMessage = 'The credentials, account, tenant, and subscription used for communication with Azure.')] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Azure')] + [System.Management.Automation.PSObject] + ${DefaultProfile}, + + [Parameter(HelpMessage = 'Run the command as a job.')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + ${AsJob}, + + [Parameter(DontShow, HelpMessage = 'Wait for .NET debugger to attach.')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline. + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline. + ${HttpPipelinePrepend}, + + [Parameter(HelpMessage = 'Run the command asynchronously.')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + ${NoWait}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use. + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call. + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy. + ${ProxyUseDefaultCredentials} + ) + + process { + try { + if ($PSBoundParameters.ContainsKey('StorageInMb')) { + $PSBoundParameters.StorageProfileStorageMb = $PSBoundParameters['StorageInMb'] + $null = $PSBoundParameters.Remove('StorageInMb') + } + + if ($PSBoundParameters.ContainsKey('Sku')) { + $PSBoundParameters.SkuName = $PSBoundParameters['Sku'] + $null = $PSBoundParameters.Remove('Sku') + } + + if ($PSBoundParameters.ContainsKey('BackupRetentionDay')) { + $PSBoundParameters.StorageProfileBackupRetentionDay = $PSBoundParameters['BackupRetentionDay'] + $null = $PSBoundParameters.Remove('BackupRetentionDay') + } + + if ($PSBoundParameters.ContainsKey('StorageAutogrow')) { + $PSBoundParameters.StorageProfileStorageAutogrow = $PSBoundParameters['StorageAutogrow'] + $null = $PSBoundParameters.Remove('StorageAutogrow') + } + + Az.PostgreSql.internal\Update-AzPostgreSqlFlexibleServer @PSBoundParameters + } catch { + throw + } + } +} diff --git a/src/PostgreSql/custom/Update-AzPostgreSqlFlexibleServerFirewallRule.ps1 b/src/PostgreSql/custom/Update-AzPostgreSqlFlexibleServerFirewallRule.ps1 new file mode 100644 index 000000000000..c78a72ef842b --- /dev/null +++ b/src/PostgreSql/custom/Update-AzPostgreSqlFlexibleServerFirewallRule.ps1 @@ -0,0 +1,162 @@ + +# ---------------------------------------------------------------------------------- +# +# Copyright Microsoft Corporation +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ---------------------------------------------------------------------------------- + +<# +.Synopsis +Creates a new firewall rule or updates an existing firewall rule. +.Description +Creates a new firewall rule or updates an existing firewall rule. +#> +function Update-AzPostgreSqlFlexibleServerFirewallRule { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IFirewallRule])] +[CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +param( + [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] + [Parameter(ParameterSetName='ClientIPAddress', Mandatory)] + [Alias('FirewallRuleName')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] + [System.String] + # The name of the server firewall rule. + ${Name}, + + [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] + [Parameter(ParameterSetName='ClientIPAddress', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] + [System.String] + # The name of the resource group. + # The name is case insensitive. + ${ResourceGroupName}, + + [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] + [Parameter(ParameterSetName='ClientIPAddress', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] + [System.String] + # The name of the server. + ${ServerName}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='ClientIPAddress')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String] + # The ID of the target subscription. + ${SubscriptionId}, + + [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='ClientIPAddressViaIdentity', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity] + # Identity Parameter + # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + ${InputObject}, + + [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] + [System.String] + # The end IP address of the server firewall rule. + # Must be IPv4 format. + ${EndIPAddress}, + + [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] + [System.String] + # The start IP address of the server firewall rule. + # Must be IPv4 format. + ${StartIPAddress}, + + [Parameter(ParameterSetName='ClientIPAddress', Mandatory)] + [Parameter(ParameterSetName='ClientIPAddressViaIdentity', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] + [System.String] + # Client specified single IP of the server firewall rule. + # Must be IPv4 format. + ${ClientIPAddress}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Azure')] + [System.Management.Automation.PSObject] + # The credentials, account, tenant, and subscription used for communication with Azure. + ${DefaultProfile}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command as a job + ${AsJob}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command asynchronously + ${NoWait}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} +) + +process { + try { + if($PSBoundParameters.ContainsKey('ClientIPAddress')) + { + $PSBoundParameters['StartIPAddress'] = $PSBoundParameters['ClientIPAddress'] + $PSBoundParameters['EndIPAddress'] = $PSBoundParameters['ClientIPAddress'] + $null = $PSBoundParameters.Remove('ClientIPAddress') + } + Az.PostgreSql.internal\Update-AzPostgreSqlFlexibleServerFirewallRule @PSBoundParameters + } catch { + throw + } +} +} diff --git a/src/PostgreSql/readme.md b/src/PostgreSql/readme.md index 99a3d5495a43..77f4c8b85424 100644 --- a/src/PostgreSql/readme.md +++ b/src/PostgreSql/readme.md @@ -17,7 +17,7 @@ This directory contains the PowerShell module for the PostgreSql service. This module was primarily generated via [AutoRest](https://github.com/Azure/autorest) using the [PowerShell](https://github.com/Azure/autorest.powershell) extension. ## Module Requirements -- [Az.Accounts module](https://www.powershellgallery.com/packages/Az.Accounts/), version 1.7.4 or greater +- [Az.Accounts module](https://www.powershellgallery.com/packages/Az.Accounts/), version 1.8.1 or greater ## Authentication AutoRest does not generate authentication code for the module. Authentication is handled via Az.Accounts by altering the HTTP payload before it is sent. @@ -47,35 +47,62 @@ In this directory, run AutoRest: > see https://aka.ms/autorest ``` yaml -branch: ae862b1c090b4c2c951ea46bf97ddbafd6f76d82 +branch: 82831834a7ce4b999d6fec363c0391da80ac2674 require: - $(this-folder)/../readme.azure.noprofile.md input-file: - $(repo)/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/postgresql.json - $(repo)/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/ServerSecurityAlertPolicies.json + - $(repo)/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-preview/postgresql.json module-version: 0.1.0 title: PostgreSQL subject-prefix: 'PostgreSQL' directive: - - from: postgresql.json + - from: swagger-document + where: $.paths..operationId + transform: return $.replace(/^CheckNameAvailability_Execute$/g, "NameAvailability_Test") + - from: Microsoft.DBforPostgreSQL/stable/2017-12-01/postgresql.json where: $.definitions.VirtualNetworkRule transform: $['required'] = ['properties'] + - from: Microsoft.DBforPostgreSQL/preview/2020-02-14-preview/postgresql.json + where: $.paths..operationId + transform: return $.replace(/^(Servers|ServerKeys)_/g, "flexible$1_") + - from: Microsoft.DBforPostgreSQL/preview/2020-02-14-preview/postgresql.json + where: $.paths..operationId + transform: return $.replace(/^(FirewallRules|Configurations|NameAvailabilities|LocationBasedCapabilities)_/g, "flexibleServer$1_") + - from: Microsoft.DBforPostgreSQL/preview/2020-02-14-preview/postgresql.json + where: $.paths..operationId + transform: return $.replace(/^CheckVirtualNetworkSubnetUsage_Execute$/g,"flexibleServerVirtualNetworkSubnetUsage_Get") + - from: Microsoft.DBforMySQL/preview/2020-07-01-preview/mysql.json + where: + verb: Restore$ + subject: ^FlexibleServer$ + hide: true + - where: + verb: Invoke$ + subject: ^ExecuteFlexibleServerVirtualNetworkSubnetUsage$|^ExecuteFlexibleServerLocationBasedCapabilities$ + hide: true + - where: + verb: Test$ + subject: ^FlexibleServerNameAvailability$ + hide: true - where: verb: Set - subject: Configuration$|FirewallRule$|VirtualNetworkRule$ + subject: Configuration$|FirewallRule$|VirtualNetworkRule$|^flexibleServerFirewallRule$ set: verb: Update - where: - subject: Database$|SecurityAlertPolicy$|Administrator$|LocationBasedPerformanceTier$|LogFile$|ExecuteCheckNameAvailability$ + subject: ^Database$|^ServerSecurityAlertPolicy$|^ServerAdministrator$|^LocationBasedPerformanceTier$|^LogFile$|^NameAvailability$|^FlexibleServerKey$|^FlexibleServerVirtualNetworkSubnetUsage$ hide: true - where: verb: New$|Update$ - subject: Server$|Configuration$|FirewallRule$ + subject: ^Server$|^Configuration$|^FirewallRule$|^FlexibleServer$|^FlexibleServerFirewallRule$ hide: true - where: - verb: New$ - variant: ^Create$|^CreateViaIdentity + verb: New$ + variant: ^Create$|^CreateViaIdentity + subject: ^Server$|^Configuration$|^FirewallRule$|^Database$|^LocationBasedPerformanceTier$|^LogFile$|^SecurityAlertPolicy$|^Administrator$|^NameAvailability$|^VirtualNetworkRule$ hide: true - where: verb: New$|Update$ @@ -88,32 +115,90 @@ directive: parameter-name: SubnetId - where: model-name: Server + set: + format-table: + properties: + - Name + - Location + - AdministratorLogin + - Version + - StorageProfileStorageMb + - SkuName + - SkuTier + - SslEnforcement + - where: + model-name: ServerAutoGenerated set: format-table: properties: - Name - Location + - SkuName + - SkuTier - AdministratorLogin - Version - StorageProfileStorageMb - - SkuName - - SkuTier - - SslEnforcement - where: model-name: Configuration set: format-table: properties: - - Name - - Value + - Name + - Value + - AllowedValue + - Source + - DefaultValue + - where: + model-name: ConfigurationAutoGenerated + set: + format-table: + properties: + - Name + - Value + - AllowedValue + - Source + - DefaultValue - where: model-name: FirewallRule + set: + format-table: + properties: + - Name + - StartIPAddress + - EndIPAddress + - where: + model-name: Database set: format-table: properties: - Name - - StartIPAddress - - EndIPAddress + - Charset + - Collation + - Id + - where: + subject: ^FlexibleServer$ + parameter-name: ServerName + set: + parameter-name: Name + alias: ServerName + - where: + subject: ^FlexibleServerFirewallRule$ + parameter-name: FirewallRuleName + set: + parameter-name: Name + alias: FirewallRuleName + - where: + subject: ^FlexibleServerDatabase$ + parameter-name: DatabaseName + set: + parameter-name: Name + alias: DatabaseName + - where: + subject: ^FlexibleServerConfiguration$ + parameter-name: ConfigurationName + set: + parameter-name: Name + alias: ConfigurationName - where: parameter-name: StorageProfileBackupRetentionDay subject: Server @@ -128,3 +213,4 @@ directive: - from: source-file-csharp where: $ transform: $ = $.replace('public int StorageProfileBackupRetentionDay', '[System.Management.Automation.ValidateRangeAttribute(7,35)]\n public int StorageProfileBackupRetentionDay'); +``` From 04c3cd3723d97434a7ca94df3b661ebdca85cd0d Mon Sep 17 00:00:00 2001 From: Daeun Yim Date: Mon, 9 Nov 2020 03:26:38 -0800 Subject: [PATCH 11/51] mysql postgres customized cmdlets and docs --- src/MySql/custom/Az.MySql.custom.psm1 | 17 + .../custom/New-AzMySqlFlexibleServer.ps1 | 7 +- src/MySql/docs/Az.MySql.md | 68 +-- src/MySql/docs/Get-AzMySqlFlexibleServer.md | 20 +- .../Get-AzMySqlFlexibleServerConfiguration.md | 52 ++- .../docs/Get-AzMySqlFlexibleServerDatabase.md | 53 ++- .../Get-AzMySqlFlexibleServerFirewallRule.md | 48 +-- ...qlFlexibleServerLocationBasedCapability.md | 7 +- src/MySql/docs/New-AzMySqlFlexibleServer.md | 194 +++------ .../docs/New-AzMySqlFlexibleServerDatabase.md | 76 +++- .../New-AzMySqlFlexibleServerFirewallRule.md | 93 +++-- .../docs/New-AzMySqlFlexibleServerReplica.md | 64 ++- src/MySql/docs/New-AzMySqlServer.md | 7 +- .../docs/Remove-AzMySqlFlexibleServer.md | 32 +- .../Remove-AzMySqlFlexibleServerDatabase.md | 30 +- ...emove-AzMySqlFlexibleServerFirewallRule.md | 38 +- .../docs/Restart-AzMySqlFlexibleServer.md | 32 +- .../docs/Restore-AzMySqlFlexibleServer.md | 94 ++--- src/MySql/docs/Start-AzMySqlFlexibleServer.md | 32 +- src/MySql/docs/Stop-AzMySqlFlexibleServer.md | 33 +- .../docs/Update-AzMySqlFlexibleServer.md | 102 ++--- ...date-AzMySqlFlexibleServerConfiguration.md | 39 +- .../Update-AzMySqlFlexibleServerDatabase.md | 94 +++-- ...pdate-AzMySqlFlexibleServerFirewallRule.md | 108 +++-- .../examples/Get-AzMySqlFlexibleServer.md | 43 +- .../Get-AzMySqlFlexibleServerConfiguration.md | 23 +- .../Get-AzMySqlFlexibleServerDatabase.md | 33 +- .../Get-AzMySqlFlexibleServerFirewallRule.md | 32 +- .../examples/Get-AzMySqlFlexibleServerKey.md | 18 - ...qlFlexibleServerLocationBasedCapability.md | 28 ++ .../Get-AzMySqlFlexibleServerReplica.md | 20 +- ...Get-AzMySqlFlexibleServersConfiguration.md | 18 - .../Get-AzMySqlFlexibleServersDatabase.md | 18 - .../Get-AzMySqlFlexibleServersFirewallRule.md | 18 - .../Get-AzMySqlLocationBasedCapability.md | 18 - .../Get-AzMySqlVirtualNetworkSubnetUsage.md | 18 - .../examples/New-AzMySqlFlexibleServer.md | 66 ++- .../New-AzMySqlFlexibleServerDatabase.md | 21 +- .../New-AzMySqlFlexibleServerFirewallRule.md | 31 +- .../examples/New-AzMySqlFlexibleServerKey.md | 18 - .../New-AzMySqlFlexibleServerReplica.md | 22 + .../examples/Remove-AzMySqlFlexibleServer.md | 18 +- .../Remove-AzMySqlFlexibleServerDatabase.md | 15 + ...emove-AzMySqlFlexibleServerFirewallRule.md | 16 + .../Remove-AzMySqlFlexibleServerKey.md | 18 - .../Remove-AzMySqlFlexibleServersDatabase.md | 18 - ...move-AzMySqlFlexibleServersFirewallRule.md | 18 - .../examples/Restart-AzMySqlFlexibleServer.md | 18 +- .../examples/Restore-AzMySqlFlexibleServer.md | 11 + .../Set-AzMySqlFlexibleServerDatabase.md | 18 - .../Set-AzMySqlFlexibleServerFirewallRule.md | 18 - .../examples/Set-AzMySqlFlexibleServerKey.md | 18 - .../examples/Start-AzMySqlFlexibleServer.md | 18 +- .../examples/Stop-AzMySqlFlexibleServer.md | 19 +- ...-AzMySqlFlexibleServersNameAvailability.md | 18 - .../examples/Test-AzMySqlNameAvailability.md | 18 - .../examples/Update-AzMySqlFlexibleServer.md | 21 +- ...date-AzMySqlFlexibleServerConfiguration.md | 23 ++ .../Update-AzMySqlFlexibleServerDatabase.md | 20 + ...pdate-AzMySqlFlexibleServerFirewallRule.md | 22 + ...ate-AzMySqlFlexibleServersConfiguration.md | 18 - src/MySql/examples/readme.md | 11 + .../custom/Az.PostgreSql.custom.psm1 | 17 + .../custom/New-AzPostgreSqlFlexibleServer.ps1 | 7 +- src/PostgreSql/docs/Az.PostgreSql.md | 49 ++- .../docs/Get-AzPostgreSqlConnectionString.md | 6 +- .../docs/Get-AzPostgreSqlFlexibleServer.md | 173 ++++++++ ...AzPostgreSqlFlexibleServerConfiguration.md | 183 +++++++++ ...-AzPostgreSqlFlexibleServerFirewallRule.md | 183 +++++++++ ...qlFlexibleServerLocationBasedCapability.md | 146 +++++++ .../docs/New-AzPostgreSqlFlexibleServer.md | 325 +++++++++++++++ ...-AzPostgreSqlFlexibleServerFirewallRule.md | 277 +++++++++++++ .../docs/New-AzPostgreSqlReplica.md | 6 +- src/PostgreSql/docs/New-AzPostgreSqlServer.md | 7 +- .../docs/Remove-AzPostgreSqlFlexibleServer.md | 238 +++++++++++ ...AzPostgreSqlFlexibleServerFirewallRule.md} | 136 +++--- .../Restart-AzPostgreSqlFlexibleServer.md | 238 +++++++++++ .../Restore-AzPostgreSqlFlexibleServer.md | 226 ++++++++++ .../docs/Restore-AzPostgreSqlServer.md | 6 +- .../docs/Start-AzPostgreSqlFlexibleServer.md | 238 +++++++++++ .../docs/Stop-AzPostgreSqlFlexibleServer.md | 238 +++++++++++ .../docs/Update-AzPostgreSqlFlexibleServer.md | 386 ++++++++++++++++++ ...AzPostgreSqlFlexibleServerConfiguration.md | 269 ++++++++++++ ...-AzPostgreSqlFlexibleServerFirewallRule.md | 301 ++++++++++++++ .../Get-AzPostgreSqlFlexibleServer.md | 45 ++ ...AzPostgreSqlFlexibleServerConfiguration.md | 23 ++ ...-AzPostgreSqlFlexibleServerFirewallRule.md | 34 ++ ...qlFlexibleServerLocationBasedCapability.md | 27 ++ .../New-AzPostgreSqlFlexibleServer.md | 68 +++ ...-AzPostgreSqlFlexibleServerFirewallRule.md | 33 ++ .../Remove-AzPostgreSqlFlexibleServer.md | 16 + ...-AzPostgreSqlFlexibleServerFirewallRule.md | 16 + .../Restart-AzPostgreSqlFlexibleServer.md | 14 + .../Restore-AzPostgreSqlFlexibleServer.md | 11 + .../Start-AzPostgreSqlFlexibleServer.md | 14 + .../Stop-AzPostgreSqlFlexibleServer.md | 15 + .../Update-AzPostgreSqlFlexibleServer.md | 21 + ...AzPostgreSqlFlexibleServerConfiguration.md | 23 ++ ...-AzPostgreSqlFlexibleServerFirewallRule.md | 22 + src/PostgreSql/readme.md | 9 +- 100 files changed, 5036 insertions(+), 1169 deletions(-) create mode 100644 src/MySql/custom/Az.MySql.custom.psm1 delete mode 100644 src/MySql/examples/Get-AzMySqlFlexibleServerKey.md create mode 100644 src/MySql/examples/Get-AzMySqlFlexibleServerLocationBasedCapability.md delete mode 100644 src/MySql/examples/Get-AzMySqlFlexibleServersConfiguration.md delete mode 100644 src/MySql/examples/Get-AzMySqlFlexibleServersDatabase.md delete mode 100644 src/MySql/examples/Get-AzMySqlFlexibleServersFirewallRule.md delete mode 100644 src/MySql/examples/Get-AzMySqlLocationBasedCapability.md delete mode 100644 src/MySql/examples/Get-AzMySqlVirtualNetworkSubnetUsage.md delete mode 100644 src/MySql/examples/New-AzMySqlFlexibleServerKey.md create mode 100644 src/MySql/examples/New-AzMySqlFlexibleServerReplica.md create mode 100644 src/MySql/examples/Remove-AzMySqlFlexibleServerDatabase.md create mode 100644 src/MySql/examples/Remove-AzMySqlFlexibleServerFirewallRule.md delete mode 100644 src/MySql/examples/Remove-AzMySqlFlexibleServerKey.md delete mode 100644 src/MySql/examples/Remove-AzMySqlFlexibleServersDatabase.md delete mode 100644 src/MySql/examples/Remove-AzMySqlFlexibleServersFirewallRule.md create mode 100644 src/MySql/examples/Restore-AzMySqlFlexibleServer.md delete mode 100644 src/MySql/examples/Set-AzMySqlFlexibleServerDatabase.md delete mode 100644 src/MySql/examples/Set-AzMySqlFlexibleServerFirewallRule.md delete mode 100644 src/MySql/examples/Set-AzMySqlFlexibleServerKey.md delete mode 100644 src/MySql/examples/Test-AzMySqlFlexibleServersNameAvailability.md delete mode 100644 src/MySql/examples/Test-AzMySqlNameAvailability.md create mode 100644 src/MySql/examples/Update-AzMySqlFlexibleServerConfiguration.md create mode 100644 src/MySql/examples/Update-AzMySqlFlexibleServerDatabase.md create mode 100644 src/MySql/examples/Update-AzMySqlFlexibleServerFirewallRule.md delete mode 100644 src/MySql/examples/Update-AzMySqlFlexibleServersConfiguration.md create mode 100644 src/MySql/examples/readme.md create mode 100644 src/PostgreSql/custom/Az.PostgreSql.custom.psm1 create mode 100644 src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerConfiguration.md create mode 100644 src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerFirewallRule.md create mode 100644 src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerLocationBasedCapability.md create mode 100644 src/PostgreSql/docs/New-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSql/docs/New-AzPostgreSqlFlexibleServerFirewallRule.md create mode 100644 src/PostgreSql/docs/Remove-AzPostgreSqlFlexibleServer.md rename src/{MySql/docs/Get-AzMySqlVirtualNetworkSubnetUsage.md => PostgreSql/docs/Remove-AzPostgreSqlFlexibleServerFirewallRule.md} (61%) create mode 100644 src/PostgreSql/docs/Restart-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSql/docs/Restore-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSql/docs/Start-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSql/docs/Stop-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServerConfiguration.md create mode 100644 src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServerFirewallRule.md create mode 100644 src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServerConfiguration.md create mode 100644 src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServerFirewallRule.md create mode 100644 src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServerLocationBasedCapability.md create mode 100644 src/PostgreSql/examples/New-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSql/examples/New-AzPostgreSqlFlexibleServerFirewallRule.md create mode 100644 src/PostgreSql/examples/Remove-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSql/examples/Remove-AzPostgreSqlFlexibleServerFirewallRule.md create mode 100644 src/PostgreSql/examples/Restart-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSql/examples/Restore-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSql/examples/Start-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSql/examples/Stop-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServerConfiguration.md create mode 100644 src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServerFirewallRule.md diff --git a/src/MySql/custom/Az.MySql.custom.psm1 b/src/MySql/custom/Az.MySql.custom.psm1 new file mode 100644 index 000000000000..09c4eb0b3234 --- /dev/null +++ b/src/MySql/custom/Az.MySql.custom.psm1 @@ -0,0 +1,17 @@ +# region Generated + # Load the private module dll + $null = Import-Module -PassThru -Name (Join-Path $PSScriptRoot '..\bin\Az.MySql.private.dll') + + # Load the internal module + $internalModulePath = Join-Path $PSScriptRoot '..\internal\Az.MySql.internal.psm1' + if(Test-Path $internalModulePath) { + $null = Import-Module -Name $internalModulePath + } + + # Export nothing to clear implicit exports + Export-ModuleMember + + # Export script cmdlets + Get-ChildItem -Path $PSScriptRoot -Recurse -Include '*.ps1' -File | ForEach-Object { . $_.FullName } + Export-ModuleMember -Function (Get-ScriptCmdlet -ScriptFolder $PSScriptRoot) -Alias (Get-ScriptCmdlet -ScriptFolder $PSScriptRoot -AsAlias) +# endregion diff --git a/src/MySql/custom/New-AzMySqlFlexibleServer.ps1 b/src/MySql/custom/New-AzMySqlFlexibleServer.ps1 index 410c412d9256..34b9300a4013 100644 --- a/src/MySql/custom/New-AzMySqlFlexibleServer.ps1 +++ b/src/MySql/custom/New-AzMySqlFlexibleServer.ps1 @@ -47,8 +47,7 @@ function New-AzMySqlFlexibleServer { [Parameter(Mandatory, HelpMessage = 'The password of the administrator. Minimum 8 characters and maximum 128 characters. Password must contain characters from three of the following categories: English uppercase letters, English lowercase letters, numbers, and non-alphanumeric characters.')] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] - # [System.Security.SecureString] - [System.String] + [System.Security.SecureString] [ValidateNotNullOrEmpty()] ${AdministratorLoginPassword}, @@ -189,9 +188,7 @@ function New-AzMySqlFlexibleServer { } $PSBoundParameters.CreateMode = [Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.CreateMode]::Default - # Write-Output ConvertTo-SecureString $PSBoundParameters['AdministratorLoginPassword'] -AsPlainText -Force - # Write-Output . "$PSScriptRoot/../utils/Unprotect-SecureString.ps1" $PSBoundParameters['AdministratorLoginPassword'] - # $PSBoundParameters.AdministratorLoginPassword = ConvertTo-SecureString $PSBoundParameters['AdministratorLoginPassword'] -AsPlainText -Force + $PSBoundParameters.AdministratorLoginPassword = . "$PSScriptRoot/../utils/Unprotect-SecureString.ps1" $PSBoundParameters['AdministratorLoginPassword'] Az.MySql.internal\New-AzMySqlFlexibleServer @PSBoundParameters } catch { diff --git a/src/MySql/docs/Az.MySql.md b/src/MySql/docs/Az.MySql.md index 1e1f59bac940..499b13261611 100644 --- a/src/MySql/docs/Az.MySql.md +++ b/src/MySql/docs/Az.MySql.md @@ -1,6 +1,6 @@ --- Module Name: Az.MySql -Module Guid: 0c9ad3d3-5d2e-4727-8628-71ff53cf49a2 +Module Guid: 364024d1-7eb3-40de-8ccc-62bbc67820d6 Download Help Link: https://docs.microsoft.com/en-us/powershell/module/az.mysql Help Version: 1.0.0.0 Locale: en-US @@ -24,32 +24,20 @@ Gets information about a server firewall rule. Gets information about a server. ### [Get-AzMySqlFlexibleServerConfiguration](Get-AzMySqlFlexibleServerConfiguration.md) -List all the configurations in a given server. +Gets information about a configuration of server. ### [Get-AzMySqlFlexibleServerDatabase](Get-AzMySqlFlexibleServerDatabase.md) -List all the databases in a given server. +Gets information about a database. ### [Get-AzMySqlFlexibleServerFirewallRule](Get-AzMySqlFlexibleServerFirewallRule.md) -List all the firewall rules in a given server. +Gets information about a server firewall rule. -### [Get-AzMySqlFlexibleServerKey](Get-AzMySqlFlexibleServerKey.md) -Gets a server key. +### [Get-AzMySqlFlexibleServerLocationBasedCapability](Get-AzMySqlFlexibleServerLocationBasedCapability.md) +Get capabilities at specified location in a given subscription. ### [Get-AzMySqlFlexibleServerReplica](Get-AzMySqlFlexibleServerReplica.md) List all the replicas for a given server. -### [Get-AzMySqlFlexibleServersConfiguration](Get-AzMySqlFlexibleServersConfiguration.md) -Gets information about a configuration of server. - -### [Get-AzMySqlFlexibleServersDatabase](Get-AzMySqlFlexibleServersDatabase.md) -Gets information about a database. - -### [Get-AzMySqlFlexibleServersFirewallRule](Get-AzMySqlFlexibleServersFirewallRule.md) -Gets information about a server firewall rule. - -### [Get-AzMySqlLocationBasedCapability](Get-AzMySqlLocationBasedCapability.md) -Get capabilities at specified location in a given subscription. - ### [Get-AzMySqlReplica](Get-AzMySqlReplica.md) List all the replicas for a given server. @@ -59,15 +47,11 @@ Gets information about a server. ### [Get-AzMySqlVirtualNetworkRule](Get-AzMySqlVirtualNetworkRule.md) Gets a virtual network rule. -### [Get-AzMySqlVirtualNetworkSubnetUsage](Get-AzMySqlVirtualNetworkSubnetUsage.md) -Get virtual network subnet usage for a given vNet resource id. - ### [New-AzMySqlFirewallRule](New-AzMySqlFirewallRule.md) Creates a new firewall rule or updates an existing firewall rule. ### [New-AzMySqlFlexibleServer](New-AzMySqlFlexibleServer.md) -Creates a new server or updates an existing server. -The update action will overwrite the existing server. +Creates a new server. ### [New-AzMySqlFlexibleServerDatabase](New-AzMySqlFlexibleServerDatabase.md) Creates a new database or updates an existing database. @@ -75,8 +59,8 @@ Creates a new database or updates an existing database. ### [New-AzMySqlFlexibleServerFirewallRule](New-AzMySqlFlexibleServerFirewallRule.md) Creates a new firewall rule or updates an existing firewall rule. -### [New-AzMySqlFlexibleServerKey](New-AzMySqlFlexibleServerKey.md) -Creates or updates a MySQL Server key. +### [New-AzMySqlFlexibleServerReplica](New-AzMySqlFlexibleServerReplica.md) +Creates a new replica from an existing database. ### [New-AzMySqlReplica](New-AzMySqlReplica.md) Creates a new replica from an existing database. @@ -93,13 +77,10 @@ Deletes a server firewall rule. ### [Remove-AzMySqlFlexibleServer](Remove-AzMySqlFlexibleServer.md) Deletes a server. -### [Remove-AzMySqlFlexibleServerKey](Remove-AzMySqlFlexibleServerKey.md) -Deletes the MySQL Server key with the given name. - -### [Remove-AzMySqlFlexibleServersDatabase](Remove-AzMySqlFlexibleServersDatabase.md) +### [Remove-AzMySqlFlexibleServerDatabase](Remove-AzMySqlFlexibleServerDatabase.md) Deletes a database. -### [Remove-AzMySqlFlexibleServersFirewallRule](Remove-AzMySqlFlexibleServersFirewallRule.md) +### [Remove-AzMySqlFlexibleServerFirewallRule](Remove-AzMySqlFlexibleServerFirewallRule.md) Deletes a firewall rule. ### [Remove-AzMySqlServer](Remove-AzMySqlServer.md) @@ -114,17 +95,11 @@ Restarts a server. ### [Restart-AzMySqlServer](Restart-AzMySqlServer.md) Restarts a server. -### [Restore-AzMySqlServer](Restore-AzMySqlServer.md) +### [Restore-AzMySqlFlexibleServer](Restore-AzMySqlFlexibleServer.md) Restore a server from an existing backup -### [Set-AzMySqlFlexibleServerDatabase](Set-AzMySqlFlexibleServerDatabase.md) -Creates a new database or updates an existing database. - -### [Set-AzMySqlFlexibleServerFirewallRule](Set-AzMySqlFlexibleServerFirewallRule.md) -Creates a new firewall rule or updates an existing firewall rule. - -### [Set-AzMySqlFlexibleServerKey](Set-AzMySqlFlexibleServerKey.md) -Creates or updates a MySQL Server key. +### [Restore-AzMySqlServer](Restore-AzMySqlServer.md) +Restore a server from an existing backup ### [Start-AzMySqlFlexibleServer](Start-AzMySqlFlexibleServer.md) Starts a server. @@ -132,12 +107,6 @@ Starts a server. ### [Stop-AzMySqlFlexibleServer](Stop-AzMySqlFlexibleServer.md) Stops a server. -### [Test-AzMySqlFlexibleServersNameAvailability](Test-AzMySqlFlexibleServersNameAvailability.md) -Check the availability of name for server - -### [Test-AzMySqlNameAvailability](Test-AzMySqlNameAvailability.md) -Check the availability of name for resource - ### [Update-AzMySqlConfiguration](Update-AzMySqlConfiguration.md) Updates a configuration of a server. Use Update-AzMySqlServer instead if you want update AdministratorLoginPassword, sku, etc. @@ -148,10 +117,17 @@ Creates a new firewall rule or updates an existing firewall rule. ### [Update-AzMySqlFlexibleServer](Update-AzMySqlFlexibleServer.md) Updates an existing server. The request body can contain one to many of the properties present in the normal server definition. +Use Update-AzMySqlConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count. -### [Update-AzMySqlFlexibleServersConfiguration](Update-AzMySqlFlexibleServersConfiguration.md) +### [Update-AzMySqlFlexibleServerConfiguration](Update-AzMySqlFlexibleServerConfiguration.md) Updates a configuration of a server. +### [Update-AzMySqlFlexibleServerDatabase](Update-AzMySqlFlexibleServerDatabase.md) +Creates a new database or updates an existing database. + +### [Update-AzMySqlFlexibleServerFirewallRule](Update-AzMySqlFlexibleServerFirewallRule.md) +Creates a new firewall rule or updates an existing firewall rule. + ### [Update-AzMySqlServer](Update-AzMySqlServer.md) Updates an existing server. The request body can contain one to many of the properties present in the normal server definition. diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServer.md b/src/MySql/docs/Get-AzMySqlFlexibleServer.md index 0e28979966a8..55f82cc8f393 100644 --- a/src/MySql/docs/Get-AzMySqlFlexibleServer.md +++ b/src/MySql/docs/Get-AzMySqlFlexibleServer.md @@ -19,7 +19,7 @@ Get-AzMySqlFlexibleServer [-SubscriptionId ] [-DefaultProfile -Name [-SubscriptionId ] +Get-AzMySqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] [-DefaultProfile ] [] ``` @@ -118,14 +118,13 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. +### -Name +The name of the server. ```yaml Type: System.String -Parameter Sets: Get, List -Aliases: +Parameter Sets: Get +Aliases: ServerName Required: True Position: Named @@ -134,13 +133,14 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Name -The name of the server. +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. ```yaml Type: System.String -Parameter Sets: Get -Aliases: ServerName +Parameter Sets: Get, List +Aliases: Required: True Position: Named diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServerConfiguration.md b/src/MySql/docs/Get-AzMySqlFlexibleServerConfiguration.md index 3a78f2ca9a84..bada4ae12539 100644 --- a/src/MySql/docs/Get-AzMySqlFlexibleServerConfiguration.md +++ b/src/MySql/docs/Get-AzMySqlFlexibleServerConfiguration.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-AzMySqlFlexibleServerConfiguration +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserverconfiguration schema: 2.0.0 --- @@ -12,22 +12,22 @@ Gets information about a configuration of server. ## SYNTAX -### Get (Default) +### List (Default) ``` -Get-AzMySqlFlexibleServerConfiguration -Name -ResourceGroupName - -ServerName [-SubscriptionId ] [-DefaultProfile ] [] +Get-AzMySqlFlexibleServerConfiguration -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] ``` -### GetViaIdentity +### Get ``` -Get-AzMySqlFlexibleServerConfiguration -InputObject [-DefaultProfile ] - [] +Get-AzMySqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] ``` -### List +### GetViaIdentity ``` -Get-AzMySqlFlexibleServerConfiguration -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [] +Get-AzMySqlFlexibleServerConfiguration -InputObject [-DefaultProfile ] + [] ``` ## DESCRIPTION @@ -59,25 +59,8 @@ wait_timeout 28800 28800 system-default 1-31536000 Integer This cmdlet lists all configurations in specified MySql server. - - ## PARAMETERS -### -Name -The name of the server configuration. - -```yaml -Type: System.String -Parameter Sets: Get -Aliases: ConfigurationName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -DefaultProfile The credentials, account, tenant, and subscription used for communication with Azure. @@ -109,6 +92,21 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -Name +The name of the server configuration. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: ConfigurationName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServerDatabase.md b/src/MySql/docs/Get-AzMySqlFlexibleServerDatabase.md index 2c3accb05ee8..d8d1d47f21ea 100644 --- a/src/MySql/docs/Get-AzMySqlFlexibleServerDatabase.md +++ b/src/MySql/docs/Get-AzMySqlFlexibleServerDatabase.md @@ -1,18 +1,24 @@ --- external help file: Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-AzMySqlFlexibleServerDatabase +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserverdatabase schema: 2.0.0 --- # Get-AzMySqlFlexibleServerDatabase ## SYNOPSIS -Gets information about a MySQL database. +Gets information about a database. ## SYNTAX -### Get (Default) +### List (Default) +``` +Get-AzMySqlFlexibleServerDatabase -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### Get ``` Get-AzMySqlFlexibleServerDatabase -Name -ResourceGroupName -ServerName [-SubscriptionId ] [-DefaultProfile ] [] @@ -24,15 +30,8 @@ Get-AzMySqlFlexibleServerDatabase -InputObject [-DefaultProfile [] ``` -### List -``` -Get-AzMySqlFlexibleServerDatabase -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [] -``` - ## DESCRIPTION -Gets information about a MySQL database. -List all the databases in a given server. +Gets information about a database. ## EXAMPLES @@ -74,21 +73,6 @@ This cmdlet lists all the MySql servers in specified the server. ## PARAMETERS -### -Name -The name of the database. - -```yaml -Type: System.String -Parameter Sets: Get -Aliases: DatabaseName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -DefaultProfile The credentials, account, tenant, and subscription used for communication with Azure. @@ -120,6 +104,21 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -Name +The name of the database. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: DatabaseName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. @@ -156,7 +155,7 @@ The ID of the target subscription. ```yaml Type: System.String[] -Parameter Sets: Get +Parameter Sets: Get, List Aliases: Required: False diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServerFirewallRule.md b/src/MySql/docs/Get-AzMySqlFlexibleServerFirewallRule.md index f296e54f2a27..c7e3bd9cc4db 100644 --- a/src/MySql/docs/Get-AzMySqlFlexibleServerFirewallRule.md +++ b/src/MySql/docs/Get-AzMySqlFlexibleServerFirewallRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-AzMySqlFlexibleServerFirewallRule +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserverfirewallrule schema: 2.0.0 --- @@ -12,22 +12,22 @@ Gets information about a server firewall rule. ## SYNTAX -### Get (Default) +### List (Default) ``` -Get-AzMySqlFlexibleServerFirewallRule -FirewallRuleName -ResourceGroupName - -ServerName [-SubscriptionId ] [-DefaultProfile ] [] +Get-AzMySqlFlexibleServerFirewallRule -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] ``` -### GetViaIdentity +### Get ``` -Get-AzMySqlFlexibleServerFirewallRule -InputObject [-DefaultProfile ] - [] +Get-AzMySqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] ``` -### List +### GetViaIdentity ``` -Get-AzMySqlFlexibleServerFirewallRule -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [] +Get-AzMySqlFlexibleServerFirewallRule -InputObject [-DefaultProfile ] + [] ``` ## DESCRIPTION @@ -87,34 +87,34 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Name -The name of the server firewall rule. +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml -Type: System.String -Parameter Sets: Get -Aliases: FirewallRuleName +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: GetViaIdentity +Aliases: Required: True Position: Named Default value: None -Accept pipeline input: False +Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. +### -Name +The name of the server firewall rule. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity -Parameter Sets: GetViaIdentity -Aliases: +Type: System.String +Parameter Sets: Get +Aliases: FirewallRuleName Required: True Position: Named Default value: None -Accept pipeline input: True (ByValue) +Accept pipeline input: False Accept wildcard characters: False ``` @@ -154,7 +154,7 @@ The ID of the target subscription. ```yaml Type: System.String[] -Parameter Sets: Get +Parameter Sets: Get, List Aliases: Required: False diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServerLocationBasedCapability.md b/src/MySql/docs/Get-AzMySqlFlexibleServerLocationBasedCapability.md index 5956a29c12f7..ca2e0198d11c 100644 --- a/src/MySql/docs/Get-AzMySqlFlexibleServerLocationBasedCapability.md +++ b/src/MySql/docs/Get-AzMySqlFlexibleServerLocationBasedCapability.md @@ -13,7 +13,7 @@ Get capabilities at specified location in a given subscription. ## SYNTAX ``` -Get-AzMySqlFlexibleServerLocationBasedCapability -Location [-SubscriptionId ] +Get-AzMySqlFlexibleServerLocationBasedCapability -LocationName [-SubscriptionId ] [-DefaultProfile ] [] ``` @@ -23,7 +23,6 @@ Get capabilities at specified location in a given subscription. ## EXAMPLES ### Example 1: List available SKUs and their properties in the location - ```powershell PS C:\> Get-AzMySqlFlexibleServerLocationBasedCapability -Location eastus For prices please refer to https://aka.ms/mysql-pricing @@ -68,13 +67,13 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Location +### -LocationName The name of the location. ```yaml Type: System.String Parameter Sets: (All) -Aliases: LocationName +Aliases: Required: True Position: Named diff --git a/src/MySql/docs/New-AzMySqlFlexibleServer.md b/src/MySql/docs/New-AzMySqlFlexibleServer.md index 1eaff1ca8752..4dc1349aff99 100644 --- a/src/MySql/docs/New-AzMySqlFlexibleServer.md +++ b/src/MySql/docs/New-AzMySqlFlexibleServer.md @@ -7,29 +7,28 @@ schema: 2.0.0 # New-AzMySqlFlexibleServer -## Creates a new server. A server can be generated with all arguments optional. +## SYNOPSIS +Creates a new server. ## SYNTAX ``` -New-AzMySqlFlexibleServer - [-ResourceGroupName ] [-Name -Location ] - [-SubscriptionId ] [-AdministratorUserName ] [-AdministratorLoginPassword ] - [-HaEnabled ][-Sku ] [-SkuTier ][-BackupRetentionDay ] - [-StorageInMb ] [-Tag ] [-Version ] - [-AddressPrefix [String]] [-PublicAccess [String]] [-SubnetPrefix [String]] [-VnetId [String]] [-SubnetId ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +New-AzMySqlFlexibleServer -Name -ResourceGroupName + -AdministratorLoginPassword -AdministratorUserName [-SubscriptionId ] + [-BackupRetentionDay ] [-Location ] [-Sku ] [-SkuTier ] [-StorageInMb ] + [-Tag ] [-Version ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] ``` ## DESCRIPTION -Creates a new server. A server can be generated with all arguments optional. If no arguments were provided from a user, the powershell generates resource group, virtual network, and database. It also uses default values for server properties. +Creates a new server. ## EXAMPLES ### Example 1: Create a new MySql flexible server with parameters ```powershell PS C:\> New-AzMySqlFlexibleServer -Name mysql-test -ResourceGroupName PowershellMySqlTest \ --Location eastus -AdministratorUserName mysql_test -AdministratorLoginPassword $password -Sku Standard_B1ms -SkuTier Burstable +-Location westus2 -AdministratorUserName mysql_test -AdministratorLoginPassword $password -Sku Standard_B1ms -SkuTier Burstable Creating new vnet {vnetName} in resource group {resourceGroupName}... Creating new subnet {subnetName} in resource group {resourceGroupName} and delegating it to "Microsoft.DBforMySQL/flexibleServers"... @@ -40,18 +39,19 @@ Creating MySQL database {dbname}... "databaseName": "flexibleserverdb", "host": "{servername}.mysql.database.azure.com", "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}", -"location": "East US", +"location": "West US 2", "version": "5.7", "username": "{username}", "password": "{password}", "skuname": "Standard_B1ms" ``` -The cmdlet generates a server with the given parameters and output important information in a visible format. The server creation automatically generates vnet, subnet, and database in the resource group. +The cmdlet generates a server with the given parameters and output important information in a visible format. +The server creation automatically generates vnet, subnet, and database in the resource group. ### Example 2: Create a new MySql flexible server without parameters ```powershell -PS C:\> New-AzMySqlFlexibleServer -Location eastus +PS C:\> New-AzMySqlFlexibleServer Creating Resource Group {resourceGroupName}... Creating new vnet {vnetName} in resource group {resourceGroupName}... @@ -63,18 +63,19 @@ Creating MySQL database {dbname}... "databaseName": "flexibleserverdb", "host": "{servername}.mysql.database.azure.com", "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}", -"location": "East US", +"location": "West US 2", "version": "5.7", "username": "{username}", "password": "{password}", "skuname": "Standard_B1ms" ``` -When no parameters are given, the cmdlet automatically generates necessary resources such as resource group, vnet, and database. The SKU and storage profile are set to default values. +When no parameters are given, the cmdlet automatically generates necessary resources such as resource group, vnet, and database. +The SKU and storage profile are set to default values. ### Example 3: Create a new MySql flexible server with public access to all IPs ```powershell -PS C:\> New-AzMySqlFlexibleServer -Location eastus -PublicAccess all +PS C:\> New-AzMySqlFlexibleServer -PublicAccess all Creating Resource Group {resourceGroupName}... Configurint server firewall rule to accept connections from '0.0.0.0' to '255.255.255.255'... @@ -86,57 +87,45 @@ Creating MySQL database {dbname}... "databaseName": "flexibleserverdb", "host": "{serverName}.mysql.database.azure.com", "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}", -"location": "East US", +"location": "West US 2", "version": "5.7", "username": "{username}", "password": "{password}", "skuname": "Standard_B1ms" ``` -The cmdlet generates a server without given parameters and automatically generates necessary resources such as resource group, subnet, and database. The SKU and storage profile are set to default values. - +The cmdlet generates a server without given parameters and automatically generates necessary resources such as resource group, subnet, and database. +The SKU and storage profile are set to default values. ## PARAMETERS -### -AdministratorUserName -The administrator\'s login name of a server. Can only be specified when the server is being created. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -AdministratorLoginPassword -The password of the administrator. Minimum 8 characters and maximum 128 characters. Password must contain characters from three of the following categories: English uppercase letters, English lowercase letters, numbers, and non-alphanumeric characters. +The password of the administrator. +Minimum 8 characters and maximum 128 characters. +Password must contain characters from three of the following categories: English uppercase letters, English lowercase letters, numbers, and non-alphanumeric characters. ```yaml Type: System.Security.SecureString Parameter Sets: (All) Aliases: -Required: False +Required: True Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` -### -AddressPrefixes -The IP address prefix to use when creating a new virtual network in CIDR format. Default value is 10.0.0.0/16. +### -AdministratorUserName +Administrator username for the server. +Once set, it cannot be changed. ```yaml Type: System.String Parameter Sets: (All) Aliases: -Required: False +Required: True Position: Named Default value: None Accept pipeline input: False @@ -144,7 +133,7 @@ Accept wildcard characters: False ``` ### -AsJob -Run the command as a job +Run the command as a job. ```yaml Type: System.Management.Automation.SwitchParameter @@ -158,11 +147,12 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -AvailabilityZone -Availability zone into which to provision the resource. +### -BackupRetentionDay +Backup retention days for the server. +Day count is between 7 and 35. ```yaml -Type: System.String +Type: System.Int32 Parameter Sets: (All) Aliases: @@ -188,8 +178,8 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -SubnetId -Resource ID of an existing subnet. Please note that the subnet will be delegated to Microsoft.DBforPostgreSQL/flexibleServers/Microsoft.DBforMySQL/flexibleServers.After delegation, this subnet cannot be used for any other type of Azure resources. +### -Location +The location the resource resides in. ```yaml Type: System.String @@ -203,28 +193,13 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -HaEnabled -Enable HA or not for a server. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.HaEnabledEnum -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Location -The location where the resource lives. +### -Name +The name of the server. ```yaml Type: System.String Parameter Sets: (All) -Aliases: +Aliases: ServerName Required: True Position: Named @@ -234,7 +209,7 @@ Accept wildcard characters: False ``` ### -NoWait -Run the command asynchronously +Run the command asynchronously. ```yaml Type: System.Management.Automation.SwitchParameter @@ -248,21 +223,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -PublicAccess -Determines the public access. Enter single or range of IP addresses to be included in the allowed list of IPs. IP address ranges must be dash-separated and not contain any spaces. Specifying 0.0.0.0 allows public access from any resources deployed within Azure to access your server. Specifying no IP address sets the server in public access mode but does not create a firewall rule. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal. @@ -271,22 +231,6 @@ Type: System.String Parameter Sets: (All) Aliases: -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False - -``` - -### -Name -The name of the server. The name can contain only lowercase letters, numbers, and the hyphen (-) character. Minimum 3 characters and maximum 63 characters. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: ServerName - Required: True Position: Named Default value: None @@ -295,36 +239,8 @@ Accept wildcard characters: False ``` ### -Sku -The name of the compute SKU. Follows the convention Standard_{VM name}. Examples: Standard_B1ms, Standard_E16ds_v4. Default: Standard_B1ms. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: "Standard_B1ms" -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SkuTier -Compute tier of the server. Accepted values: Burstable, GeneralPurpose, Memory Optimized. Default: Burstable. -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: "Burstable" -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubnetPrefixes -The subnet IP address prefix to use when creating a new VNet in CIDR format. Default value is 10.0.0.0/24. +The name of the sku, typically, tier + family + cores, e.g. +Standard_B1ms, Standard_D2ds_v4. ```yaml Type: System.String @@ -338,8 +254,10 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -VnetId -Id of an existing virtual network or name of a new one to create. The name must be between 2 to 64 characters. The name must begin with a letter or number, end with a letter, number or underscore, and may contain only letters, numbers, underscores, periods, or hyphens. +### -SkuTier +Compute tier of the server. +Accepted values: Burstable, GeneralPurpose, Memory Optimized. +Default: Burstable. ```yaml Type: System.String @@ -353,24 +271,8 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -BackupRetentionDay -Backup retention days for the server. -Day count is between 7 and 35. - -```yaml -Type: System.Int32 -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: 7 -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -StorageInMb -The storage capacity of the server. Minimum is 5 GiB and increases in 1 GiB increments. Max is 16 TiB. Default: 10. +Max storage allowed for a server. ```yaml Type: System.Int32 @@ -379,7 +281,7 @@ Aliases: Required: False Position: Named -Default value: 10 +Default value: None Accept pipeline input: False Accept wildcard characters: False ``` @@ -424,7 +326,7 @@ Aliases: Required: False Position: Named -Default value: "5.7" +Default value: None Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/MySql/docs/New-AzMySqlFlexibleServerDatabase.md b/src/MySql/docs/New-AzMySqlFlexibleServerDatabase.md index 5eba92615406..c6ff04d467bf 100644 --- a/src/MySql/docs/New-AzMySqlFlexibleServerDatabase.md +++ b/src/MySql/docs/New-AzMySqlFlexibleServerDatabase.md @@ -8,18 +8,25 @@ schema: 2.0.0 # New-AzMySqlFlexibleServerDatabase ## SYNOPSIS -Creates a new database +Creates a new database or updates an existing database. ## SYNTAX +### CreateExpanded (Default) ``` New-AzMySqlFlexibleServerDatabase -Name -ResourceGroupName -ServerName [-SubscriptionId ] [-Charset ] [-Collation ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` +### CreateViaIdentityExpanded +``` +New-AzMySqlFlexibleServerDatabase -InputObject [-Charset ] [-Collation ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION -Creates a new database +Creates a new database or updates an existing database. ## EXAMPLES @@ -31,6 +38,7 @@ Name Charset Collation ---- -------- ------------------ databasetest latin1 latin1_swedish_ci ``` + Create a database with default settings. ## PARAMETERS @@ -80,30 +88,46 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Name -The name of the database. +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. ```yaml -Type: System.String +Type: System.Management.Automation.PSObject Parameter Sets: (All) -Aliases: DatabaseName +Aliases: AzureRMContext, AzureCredential -Required: True +Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: CreateViaIdentityExpanded +Aliases: -Required: False +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the database. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: DatabaseName + +Required: True Position: Named Default value: None Accept pipeline input: False @@ -131,7 +155,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -146,7 +170,7 @@ The name of the server. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -161,7 +185,7 @@ The ID of the target subscription. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -207,6 +231,8 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + ## OUTPUTS ### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IDatabase @@ -215,5 +241,23 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ALIASES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + ## RELATED LINKS diff --git a/src/MySql/docs/New-AzMySqlFlexibleServerFirewallRule.md b/src/MySql/docs/New-AzMySqlFlexibleServerFirewallRule.md index 8deecf203718..4a337eb76ce8 100644 --- a/src/MySql/docs/New-AzMySqlFlexibleServerFirewallRule.md +++ b/src/MySql/docs/New-AzMySqlFlexibleServerFirewallRule.md @@ -8,18 +8,33 @@ schema: 2.0.0 # New-AzMySqlFlexibleServerFirewallRule ## SYNOPSIS -Creates a new firewall rule. +Creates a new firewall rule or updates an existing firewall rule. ## SYNTAX +### CreateExpanded (Default) ``` -New-AzMySqlFlexibleServerFirewallRule -ResourceGroupName -ServerName -EndIPAddress -StartIPAddress - [-SubscriptionId ] [-Name ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +New-AzMySqlFlexibleServerFirewallRule -ResourceGroupName -ServerName -EndIPAddress + -StartIPAddress [-Name ] [-SubscriptionId ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### AllowAll +``` +New-AzMySqlFlexibleServerFirewallRule -ResourceGroupName -ServerName -AllowAll + [-Name ] [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### ClientIPAddress +``` +New-AzMySqlFlexibleServerFirewallRule -ResourceGroupName -ServerName + -ClientIPAddress [-Name ] [-SubscriptionId ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION -Creates a new firewall rule. +Creates a new firewall rule or updates an existing firewall rule. ## EXAMPLES @@ -34,31 +49,45 @@ firewallrule-test 0.0.0.0 0.0.0.1 This cmdlets create a MySql server Firewall Rule. - -### Example 3: Create a new MySql Firewall Rule to allow all IPs +### Example 2: Create a new MySql Firewall Rule using -ClientIPAddress. ```powershell -PS C:\> New-AzMySqlFlexibleServerFirewallRule -Name firewallrule-test -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -EndIPAddress 255.255.255.255 -StartIPAddress 0.0.0.0 +PS C:\> New-AzMySqlFlexibleServerFirewallRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -ClientIPAddress 0.0.0.1 -Name StartIPAddress EndIPAddress ----- -------------- ------------ -firewallrule-test 0.0.0.0 255.255.255.255 +Name StartIPAddress EndIPAddress +---- -------------- ------------ +ClientIPAddress_2020-08-11_18-19-27 0.0.0.1 0.0.0.1 ``` -This cmdlets create a new MySql Firewall Rule to allow all IPs. +This cmdlets create a MySql Firewall Rule using -ClientIPAddress. -### Example 3: Create a new MySql Firewall Rule to allow all Azure resources +### Example 3: Create a new MySql Firewall Rule to allow all IPs ```powershell -PS C:\> New-AzMySqlFlexibleServerFirewallRule -Name firewallrule-test -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -StartIPAddress 0.0.0.0 +PS C:\> New-AzMySqlFlexibleServerFirewallRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -AllowAll -Name StartIPAddress EndIPAddress ----- -------------- ------------ -firewallrule-test 0.0.0.0 0.0.0.0 +Name StartIPAddress EndIPAddress +---- -------------- ------------ +AllowAll_2020-08-11_18-19-27 0.0.0.0 255.255.255.255 ``` -This cmdlets create a new MySql Firewall Rule to allow all azure resources. +This cmdlets create a new MySql Firewall Rule to allow all IPs. ## PARAMETERS +### -AllowAll +Present to allow all range IPs, from 0.0.0.0 to 255.255.255.255. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: AllowAll +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AsJob Run the command as a job @@ -74,6 +103,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ClientIPAddress +Client specified single IP of the server firewall rule. +Must be IPv4 format. + +```yaml +Type: System.String +Parameter Sets: ClientIPAddress +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -DefaultProfile The credentials, account, tenant, and subscription used for communication with Azure. @@ -91,11 +136,11 @@ Accept wildcard characters: False ### -EndIPAddress The end IP address of the server firewall rule. -Must be IPv4 format. Use value '0.0.0.0' to represent all Azure-internal IP addresses. +Must be IPv4 format. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -107,13 +152,15 @@ Accept wildcard characters: False ### -Name The name of the server firewall rule. +If not specified, the default is undefined. +If AllowAll is present, the default name is AllowAll_yyyy-MM-dd_HH-mm-ss. ```yaml Type: System.String Parameter Sets: (All) Aliases: FirewallRuleName -Required: True +Required: False Position: Named Default value: None Accept pipeline input: False @@ -168,11 +215,11 @@ Accept wildcard characters: False ### -StartIPAddress The start IP address of the server firewall rule. -Must be IPv4 format. Use value '0.0.0.0' to represent all Azure-internal IP addresses. +Must be IPv4 format. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True diff --git a/src/MySql/docs/New-AzMySqlFlexibleServerReplica.md b/src/MySql/docs/New-AzMySqlFlexibleServerReplica.md index 60c555ef09f7..a0057eca801d 100644 --- a/src/MySql/docs/New-AzMySqlFlexibleServerReplica.md +++ b/src/MySql/docs/New-AzMySqlFlexibleServerReplica.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlreplica +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlflexibleserverreplica schema: 2.0.0 --- @@ -13,8 +13,8 @@ Creates a new replica from an existing database. ## SYNTAX ``` -New-AzMySqlFlexibleServerReplica -Replica -ResourceGroupName -Master [-SubscriptionId ] - [-Location ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] +New-AzMySqlFlexibleServerReplica -Replica -ResourceGroupName -Master + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` @@ -78,27 +78,12 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Location -The location the resource resides in. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Master The source server object to create replica from. To construct, see NOTES section for MASTER properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated Parameter Sets: (All) Aliases: InputObject @@ -205,11 +190,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated ## NOTES @@ -220,31 +205,34 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -MASTER : The source server object to create replica from. +MASTER : The source server object to create replica from. - `Location `: The geo-location where the resource lives - - `SkuName `: The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. + - `SkuName `: The name of the sku, e.g. Standard_D32s_v3. + - `SkuTier `: The tier of the particular SKU, e.g. GeneralPurpose. - `[Tag ]`: Resource tags. - `[(Any) ]`: This indicates any property can be added to this object. - `[AdministratorLogin ]`: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). - - `[EarliestRestoreDate ]`: Earliest restore point creation time (ISO8601 format) - - `[FullyQualifiedDomainName ]`: The fully qualified domain name of a server. - - `[IdentityType ]`: The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. - - `[InfrastructureEncryption ]`: Status showing whether the server enabled infrastructure encryption. - - `[MasterServerId ]`: The master server id of a replica server. - - `[MinimalTlsVersion ]`: Enforce a minimal Tls version for the server. - - `[PublicNetworkAccess ]`: Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' - - `[ReplicaCapacity ]`: The maximum number of replicas that a master server can have. - - `[ReplicationRole ]`: The replication role of the server. - - `[SkuCapacity ]`: The scale up/out capacity, representing server's compute units. - - `[SkuFamily ]`: The family of hardware. - - `[SkuSize ]`: The size code, to be interpreted by resource as appropriate. - - `[SkuTier ]`: The tier of the particular SKU, e.g. Basic. + - `[AdministratorLoginPassword ]`: The password of the administrator login (required for server creation). + - `[AvailabilityZone ]`: availability Zone information of the server. + - `[CreateMode ]`: The mode to create a new MySQL server. + - `[DelegatedSubnetArgumentSubnetArmResourceId ]`: delegated subnet arm resource id. + - `[HaEnabled ]`: Enable HA or not for a server. + - `[IdentityType ]`: The identity type. + - `[InfrastructureEncryption ]`: Status showing whether the server enabled infrastructure encryption. + - `[MaintenanceWindowCustomWindow ]`: indicates whether custom window is enabled or disabled + - `[MaintenanceWindowDayOfWeek ]`: day of week for maintenance window + - `[MaintenanceWindowStartHour ]`: start hour for maintenance window + - `[MaintenanceWindowStartMinute ]`: start minute for maintenance window + - `[PropertiesTag ]`: Application-specific metadata in the form of key-value pairs. + - `[(Any) ]`: This indicates any property can be added to this object. + - `[ReplicationRole ]`: The replication role. + - `[RestorePointInTime ]`: Restore point creation time (ISO8601 format), specifying the time to restore from. + - `[SourceServerId ]`: The source MySQL server id. - `[SslEnforcement ]`: Enable ssl enforcement or not when connect to server. - `[StorageProfileBackupRetentionDay ]`: Backup retention days for the server. - - `[StorageProfileGeoRedundantBackup ]`: Enable Geo-redundant or not for server backup. - `[StorageProfileStorageAutogrow ]`: Enable Storage Auto Grow. + - `[StorageProfileStorageIop ]`: Storage IOPS for a server. - `[StorageProfileStorageMb ]`: Max storage allowed for a server. - - `[UserVisibleState ]`: A state of a server that is visible to user. - `[Version ]`: Server version. ## RELATED LINKS diff --git a/src/MySql/docs/New-AzMySqlServer.md b/src/MySql/docs/New-AzMySqlServer.md index 551d9b624ac1..ae4ee28f4106 100644 --- a/src/MySql/docs/New-AzMySqlServer.md +++ b/src/MySql/docs/New-AzMySqlServer.md @@ -40,7 +40,9 @@ These cmdlets create a new MySql server. ## PARAMETERS ### -AdministratorLoginPassword -The location the resource resides in. +The password of the administrator. +Minimum 8 characters and maximum 128 characters. +Password must contain characters from three of the following categories: English uppercase letters, English lowercase letters, numbers, and non-alphanumeric characters. ```yaml Type: System.Security.SecureString @@ -55,7 +57,8 @@ Accept wildcard characters: False ``` ### -AdministratorUserName -The location the resource resides in. +Administrator username for the server. +Once set, it cannot be changed. ```yaml Type: System.String diff --git a/src/MySql/docs/Remove-AzMySqlFlexibleServer.md b/src/MySql/docs/Remove-AzMySqlFlexibleServer.md index 1de911a89686..4edf5a2e29b4 100644 --- a/src/MySql/docs/Remove-AzMySqlFlexibleServer.md +++ b/src/MySql/docs/Remove-AzMySqlFlexibleServer.md @@ -14,7 +14,7 @@ Deletes a server. ### Delete (Default) ``` -Remove-AzMySqlFlexibleServer -ResourceGroupName -Name [-SubscriptionId ] +Remove-AzMySqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] ``` @@ -94,6 +94,21 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -NoWait Run the command asynchronously @@ -140,21 +155,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Name -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: ServerName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -SubscriptionId The ID of the target subscription. diff --git a/src/MySql/docs/Remove-AzMySqlFlexibleServerDatabase.md b/src/MySql/docs/Remove-AzMySqlFlexibleServerDatabase.md index ec8cce9461a4..dfa77b04448c 100644 --- a/src/MySql/docs/Remove-AzMySqlFlexibleServerDatabase.md +++ b/src/MySql/docs/Remove-AzMySqlFlexibleServerDatabase.md @@ -63,21 +63,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Name -The name of the database. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: DatabaseName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -DefaultProfile The credentials, account, tenant, and subscription used for communication with Azure. @@ -109,6 +94,21 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -Name +The name of the database. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: DatabaseName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -NoWait Run the command asynchronously diff --git a/src/MySql/docs/Remove-AzMySqlFlexibleServerFirewallRule.md b/src/MySql/docs/Remove-AzMySqlFlexibleServerFirewallRule.md index e29555de3f87..33e375ce216e 100644 --- a/src/MySql/docs/Remove-AzMySqlFlexibleServerFirewallRule.md +++ b/src/MySql/docs/Remove-AzMySqlFlexibleServerFirewallRule.md @@ -1,11 +1,11 @@ --- external help file: Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/remove-azmysqlflexibleserversfirewallrule +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/remove-azmysqlflexibleserverfirewallrule schema: 2.0.0 --- -# Remove-AzMySqlFlexibleServersFirewallRule +# Remove-AzMySqlFlexibleServerFirewallRule ## SYNOPSIS Deletes a firewall rule. @@ -14,9 +14,9 @@ Deletes a firewall rule. ### Delete (Default) ``` -Remove-AzMySqlFlexibleServerFirewallRule -Name -ResourceGroupName - -ServerName [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] - [-Confirm] [-WhatIf] [] +Remove-AzMySqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] + [] ``` ### DeleteViaIdentity @@ -26,7 +26,7 @@ Remove-AzMySqlFlexibleServerFirewallRule -InputObject [-Default ``` ## DESCRIPTION -Deletes a server firewall rule. +Deletes a firewall rule. ## EXAMPLES @@ -79,34 +79,34 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Name -The name of the server firewall rule. +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml -Type: System.String -Parameter Sets: Delete -Aliases: FirewallRuleName +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: DeleteViaIdentity +Aliases: Required: True Position: Named Default value: None -Accept pipeline input: False +Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. +### -Name +The name of the server firewall rule. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity -Parameter Sets: DeleteViaIdentity -Aliases: +Type: System.String +Parameter Sets: Delete +Aliases: FirewallRuleName Required: True Position: Named Default value: None -Accept pipeline input: True (ByValue) +Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/MySql/docs/Restart-AzMySqlFlexibleServer.md b/src/MySql/docs/Restart-AzMySqlFlexibleServer.md index 4f6f3bd519aa..abc246f7a550 100644 --- a/src/MySql/docs/Restart-AzMySqlFlexibleServer.md +++ b/src/MySql/docs/Restart-AzMySqlFlexibleServer.md @@ -14,7 +14,7 @@ Restarts a server. ### Restart (Default) ``` -Restart-AzMySqlFlexibleServer -ResourceGroupName -Name [-SubscriptionId ] +Restart-AzMySqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] ``` @@ -92,6 +92,21 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Restart +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -NoWait Run the command asynchronously @@ -138,21 +153,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Name -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Restart -Aliases: ServerName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -SubscriptionId The ID of the target subscription. diff --git a/src/MySql/docs/Restore-AzMySqlFlexibleServer.md b/src/MySql/docs/Restore-AzMySqlFlexibleServer.md index db2b1a6b0aab..24add4f05a52 100644 --- a/src/MySql/docs/Restore-AzMySqlFlexibleServer.md +++ b/src/MySql/docs/Restore-AzMySqlFlexibleServer.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/restore-azmysqlserver +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/restore-azmysqlflexibleserver schema: 2.0.0 --- @@ -12,12 +12,10 @@ Restore a server from an existing backup ## SYNTAX -### PointInTimeRestore ``` -Restore-AzMySqlFlexibleServer -Name -ResourceGroupName -InputObject - -RestorePointInTime [-SubscriptionId ] [-Location ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] - [] +Restore-AzMySqlFlexibleServer -Name -ResourceGroupName -InputObject + -RestorePointInTime [-SubscriptionId ] [-Sku ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -28,11 +26,11 @@ Restore a server from an existing backup ### Example 1: Restore MySql server using PointInTime Restore ```powershell PS C:\> $restorePointInTime = (Get-Date).AddMinutes(-10) -PS C:\> Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test | Restore-AzMySqlFlexibleServer -Name mysql-test-restore -ResourceGroupName PowershellMySqlTest -RestorePointInTime $restorePointInTime +PS C:\> Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test | Restore-AzMySqlFlexibleServer -Name mysql-test-restore -ResourceGroupName PowershellMySqlTest -RestorePointInTime $restorePointInTime -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ------- ------- -mysql-test-restore eastus mysql_test 5.7 10240 Standard_B1ms Burstable +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ------- ------- +mysql-test-restore eastus mysql_test 5.7 10240 Standard_D2ds_v4 GeneralPurpose ``` These cmdlets restore MySql server using PointInTime Restore. @@ -74,7 +72,7 @@ The source server object to restore from. To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated Parameter Sets: (All) Aliases: @@ -85,21 +83,6 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` -### -Location -The location the resource resides in. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Name The name of the server. @@ -150,7 +133,7 @@ The location the resource resides in. ```yaml Type: System.DateTime -Parameter Sets: PointInTimeRestore +Parameter Sets: (All) Aliases: Required: True @@ -160,6 +143,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -Sku +The name of the sku, typically, tier + family + cores, e.g. +B_Gen4_1, GP_Gen5_8. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -SubscriptionId The subscription ID that identifies an Azure subscription. @@ -211,11 +210,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated ## NOTES @@ -226,31 +225,34 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -INPUTOBJECT : The source server object to restore from. +INPUTOBJECT : The source server object to restore from. - `Location `: The geo-location where the resource lives - - `SkuName `: The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. + - `SkuName `: The name of the sku, e.g. Standard_D32s_v3. + - `SkuTier `: The tier of the particular SKU, e.g. GeneralPurpose. - `[Tag ]`: Resource tags. - `[(Any) ]`: This indicates any property can be added to this object. - `[AdministratorLogin ]`: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). - - `[EarliestRestoreDate ]`: Earliest restore point creation time (ISO8601 format) - - `[FullyQualifiedDomainName ]`: The fully qualified domain name of a server. - - `[IdentityType ]`: The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. - - `[InfrastructureEncryption ]`: Status showing whether the server enabled infrastructure encryption. - - `[MasterServerId ]`: The master server id of a replica server. - - `[MinimalTlsVersion ]`: Enforce a minimal Tls version for the server. - - `[PublicNetworkAccess ]`: Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' - - `[ReplicaCapacity ]`: The maximum number of replicas that a master server can have. - - `[ReplicationRole ]`: The replication role of the server. - - `[SkuCapacity ]`: The scale up/out capacity, representing server's compute units. - - `[SkuFamily ]`: The family of hardware. - - `[SkuSize ]`: The size code, to be interpreted by resource as appropriate. - - `[SkuTier ]`: The tier of the particular SKU, e.g. Basic. + - `[AdministratorLoginPassword ]`: The password of the administrator login (required for server creation). + - `[AvailabilityZone ]`: availability Zone information of the server. + - `[CreateMode ]`: The mode to create a new MySQL server. + - `[DelegatedSubnetArgumentSubnetArmResourceId ]`: delegated subnet arm resource id. + - `[HaEnabled ]`: Enable HA or not for a server. + - `[IdentityType ]`: The identity type. + - `[InfrastructureEncryption ]`: Status showing whether the server enabled infrastructure encryption. + - `[MaintenanceWindowCustomWindow ]`: indicates whether custom window is enabled or disabled + - `[MaintenanceWindowDayOfWeek ]`: day of week for maintenance window + - `[MaintenanceWindowStartHour ]`: start hour for maintenance window + - `[MaintenanceWindowStartMinute ]`: start minute for maintenance window + - `[PropertiesTag ]`: Application-specific metadata in the form of key-value pairs. + - `[(Any) ]`: This indicates any property can be added to this object. + - `[ReplicationRole ]`: The replication role. + - `[RestorePointInTime ]`: Restore point creation time (ISO8601 format), specifying the time to restore from. + - `[SourceServerId ]`: The source MySQL server id. - `[SslEnforcement ]`: Enable ssl enforcement or not when connect to server. - `[StorageProfileBackupRetentionDay ]`: Backup retention days for the server. - - `[StorageProfileGeoRedundantBackup ]`: Enable Geo-redundant or not for server backup. - `[StorageProfileStorageAutogrow ]`: Enable Storage Auto Grow. + - `[StorageProfileStorageIop ]`: Storage IOPS for a server. - `[StorageProfileStorageMb ]`: Max storage allowed for a server. - - `[UserVisibleState ]`: A state of a server that is visible to user. - `[Version ]`: Server version. ## RELATED LINKS diff --git a/src/MySql/docs/Start-AzMySqlFlexibleServer.md b/src/MySql/docs/Start-AzMySqlFlexibleServer.md index 9e5fc56686b3..14a06af7cdea 100644 --- a/src/MySql/docs/Start-AzMySqlFlexibleServer.md +++ b/src/MySql/docs/Start-AzMySqlFlexibleServer.md @@ -14,7 +14,7 @@ Starts a server. ### Start (Default) ``` -Start-AzMySqlFlexibleServer -ResourceGroupName -Name [-SubscriptionId ] +Start-AzMySqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] ``` @@ -92,6 +92,21 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Start +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -NoWait Run the command asynchronously @@ -138,21 +153,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Name -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Start -Aliases: ServerName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -SubscriptionId The ID of the target subscription. diff --git a/src/MySql/docs/Stop-AzMySqlFlexibleServer.md b/src/MySql/docs/Stop-AzMySqlFlexibleServer.md index 232c68d0e4e3..cacdde999079 100644 --- a/src/MySql/docs/Stop-AzMySqlFlexibleServer.md +++ b/src/MySql/docs/Stop-AzMySqlFlexibleServer.md @@ -14,7 +14,7 @@ Stops a server. ### Stop (Default) ``` -Stop-AzMySqlFlexibleServer -ResourceGroupName -Name [-SubscriptionId ] +Stop-AzMySqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] ``` @@ -44,7 +44,6 @@ PS C:\> Stop-AzMySqlFlexibleServer -InputObject $ID Stop the server by identity - ## PARAMETERS ### -AsJob @@ -93,6 +92,21 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Stop +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -NoWait Run the command asynchronously @@ -139,21 +153,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Name -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Stop -Aliases: ServerName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -SubscriptionId The ID of the target subscription. diff --git a/src/MySql/docs/Update-AzMySqlFlexibleServer.md b/src/MySql/docs/Update-AzMySqlFlexibleServer.md index b2e03b16240e..51bf6ee760e4 100644 --- a/src/MySql/docs/Update-AzMySqlFlexibleServer.md +++ b/src/MySql/docs/Update-AzMySqlFlexibleServer.md @@ -10,26 +10,26 @@ schema: 2.0.0 ## SYNOPSIS Updates an existing server. The request body can contain one to many of the properties present in the normal server definition. +Use Update-AzMySqlConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count. ## SYNTAX ### UpdateExpanded (Default) ``` -Update-AzMySqlFlexibleServer -ResourceGroupName -ServerName [-SubscriptionId ] - [-AdministratorLoginPassword ] [-SubnetId ] - [-HaEnabled ] [-MaintenanceWindowWindow ] [-ReplicationRole ] - [-Sku ] [-SkuTier ] [-SslEnforcement ] - [-BackupRetentionDay ] [-StorageAutogrow ] [-StorageInMb ] [-Tag ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +Update-AzMySqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + [-AdministratorLoginPassword ] [-BackupRetentionDay ] [-HaEnabled ] + [-ReplicationRole ] [-Sku ] [-SkuTier ] [-SslEnforcement ] + [-StorageAutogrow ] [-StorageInMb ] [-Tag ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` ### UpdateViaIdentityExpanded ``` -Update-AzMySqlFlexibleServer -InputObject [-AdministratorLoginPassword ] - [-SubnetId ] [-HaEnabled ] [-MaintenanceWindowWindow ] - [-ReplicationRole ] [-Sku ] [-SkuTier ] [-SslEnforcement ] - [-BackupRetentionDay ] [-StorageAutogrow ] [-StorageInMb ] [-Tag ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +Update-AzMySqlFlexibleServer -InputObject [-AdministratorLoginPassword ] + [-BackupRetentionDay ] [-HaEnabled ] [-ReplicationRole ] [-Sku ] + [-SkuTier ] [-SslEnforcement ] [-StorageAutogrow ] + [-StorageInMb ] [-Tag ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] ``` ## DESCRIPTION @@ -79,7 +79,7 @@ Accept wildcard characters: False ``` ### -AsJob -Run the command as a job +Run the command as a job. ```yaml Type: System.Management.Automation.SwitchParameter @@ -93,13 +93,14 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +### -BackupRetentionDay +Backup retention days for the server. +Day count is between 7 and 35. ```yaml -Type: System.Management.Automation.PSObject +Type: System.Int32 Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential +Aliases: Required: False Position: Named @@ -108,13 +109,13 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -SubnetId -Resource ID of an existing subnet. Please note that the subnet will be delegated to Microsoft.DBforPostgreSQL/flexibleServers/Microsoft.DBforMySQL/flexibleServers.After delegation, this subnet cannot be used for any other type of Azure resources. +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. ```yaml -Type: System.String +Type: System.Management.Automation.PSObject Parameter Sets: (All) -Aliases: +Aliases: AzureRMContext, AzureCredential Required: False Position: Named @@ -124,7 +125,7 @@ Accept wildcard characters: False ``` ### -HaEnabled -Enable HA or not for a server. +Enable or disable high availability feature. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.HaEnabledEnum @@ -139,7 +140,7 @@ Accept wildcard characters: False ``` ### -InputObject -Identity Parameter +Identity Parameter. To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml @@ -154,15 +155,15 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` -### -MaintenanceWindowWindow -Period of time (UTC) designated for maintenance. Examples: "Sun:23:30" to schedule on Sunday, 11:30pm UTC. To set back to default pass in "Disabled". +### -Name +The name of the server. ```yaml Type: System.String -Parameter Sets: (All) -Aliases: +Parameter Sets: UpdateExpanded +Aliases: ServerName -Required: False +Required: True Position: Named Default value: None Accept pipeline input: False @@ -170,7 +171,7 @@ Accept wildcard characters: False ``` ### -NoWait -Run the command asynchronously +Run the command asynchronously. ```yaml Type: System.Management.Automation.SwitchParameter @@ -200,8 +201,8 @@ Accept wildcard characters: False ``` ### -ResourceGroupName -The name of the resource group. -The name is case insensitive. +The name of the resource group that contains the resource. +You can obtain this value from the Azure Resource Manager API or the portal. ```yaml Type: System.String @@ -215,23 +216,9 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Name -The name of the server. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded -Aliases: ServerName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Sku -The name of the compute SKU. Follows the convention Standard_{VM name}. Examples: Standard_B1ms, Standard_E16ds_v4. +The name of the sku, typically, tier + family + cores, e.g. +B_Gen4_1, GP_Gen5_8. ```yaml Type: System.String @@ -246,7 +233,8 @@ Accept wildcard characters: False ``` ### -SkuTier -Compute tier of the server. Accepted values: Burstable, GeneralPurpose, Memory Optimized. +The tier of the particular SKU, e.g. +Basic. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier @@ -275,22 +263,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -BackupRetentionDay -Backup retention days for the server. -Day count is between 7 and 35. - -```yaml -Type: System.Int32 -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -StorageAutogrow Enable Storage Auto Grow. @@ -322,7 +294,7 @@ Accept wildcard characters: False ``` ### -SubscriptionId -The ID of the target subscription. +The subscription ID that identifies an Azure subscription. ```yaml Type: System.String @@ -402,7 +374,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -INPUTOBJECT : Identity Parameter +INPUTOBJECT : Identity Parameter. - `[ConfigurationName ]`: The name of the server configuration. - `[DatabaseName ]`: The name of the database. - `[FirewallRuleName ]`: The name of the server firewall rule. diff --git a/src/MySql/docs/Update-AzMySqlFlexibleServerConfiguration.md b/src/MySql/docs/Update-AzMySqlFlexibleServerConfiguration.md index 53eaeecc4068..8d1e2fc9280e 100644 --- a/src/MySql/docs/Update-AzMySqlFlexibleServerConfiguration.md +++ b/src/MySql/docs/Update-AzMySqlFlexibleServerConfiguration.md @@ -9,15 +9,14 @@ schema: 2.0.0 ## SYNOPSIS Updates a configuration of a server. -Use Update-AzMySqlFlexibleServer instead if you want update AdministratorLoginPassword, sku, etc. ## SYNTAX ### UpdateExpanded (Default) ``` -Update-AzMySqlFlexibleServerConfiguration -Name -ResourceGroupName - -ServerName [-SubscriptionId ] [-Source ] [-Value ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +Update-AzMySqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-Source ] [-Value ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] ``` ### UpdateViaIdentityExpanded @@ -28,7 +27,6 @@ Update-AzMySqlFlexibleServerConfiguration -InputObject [-Source ## DESCRIPTION Updates a configuration of a server. -Use Update-AzMySqlFlexibleServer instead if you want update AdministratorLoginPassword, sku, etc. ## EXAMPLES @@ -55,7 +53,6 @@ wait_timeout 150 28800 system-default 1-31536000 Integer These cmdlets update MySql configuration by identity. - ## PARAMETERS ### -AsJob @@ -73,21 +70,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Name -The name of the server configuration. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded -Aliases: ConfigurationName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -DefaultProfile The credentials, account, tenant, and subscription used for communication with Azure. @@ -119,6 +101,21 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -Name +The name of the server configuration. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: ConfigurationName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -NoWait Run the command asynchronously diff --git a/src/MySql/docs/Update-AzMySqlFlexibleServerDatabase.md b/src/MySql/docs/Update-AzMySqlFlexibleServerDatabase.md index 74257652214f..be46a3d5466d 100644 --- a/src/MySql/docs/Update-AzMySqlFlexibleServerDatabase.md +++ b/src/MySql/docs/Update-AzMySqlFlexibleServerDatabase.md @@ -1,33 +1,32 @@ --- external help file: Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/Update-azmysqlflexibleserverdatabase +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/update-azmysqlflexibleserverdatabase schema: 2.0.0 --- # Update-AzMySqlFlexibleServerDatabase ## SYNOPSIS -Updates an existing database. +Creates a new database or updates an existing database. ## SYNTAX ### UpdateExpanded (Default) ``` -Update-AzMySqlFlexibleServerDatabase -DatabaseName -ResourceGroupName -ServerName +Update-AzMySqlFlexibleServerDatabase -Name -ResourceGroupName -ServerName [-SubscriptionId ] [-Charset ] [-Collation ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` -### Update +### UpdateViaIdentityExpanded ``` -Update-AzMySqlFlexibleServerDatabase -DatabaseName -ResourceGroupName -ServerName - -Parameter [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] - [-WhatIf] [] +Update-AzMySqlFlexibleServerDatabase -InputObject [-Charset ] [-Collation ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION -Updates an existing database. +Creates a new database or updates an existing database. ## EXAMPLES @@ -39,6 +38,7 @@ Name Charset Collation ---- -------- ------------------ databasetest utf8 latin1_swedish_ci ``` + Update a database by resource name. ### Example 2: Update MySql database by parameter. @@ -50,6 +50,7 @@ Name Charset Collation ---- -------- ------------------ databasetest utf8 latin1_swedish_ci ``` + Update a database by parameter ## PARAMETERS @@ -74,7 +75,7 @@ The charset of the database. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: (All) Aliases: Required: False @@ -89,7 +90,7 @@ The collation of the database. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: (All) Aliases: Required: False @@ -99,64 +100,64 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -DatabaseName -The name of the database. +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. ```yaml -Type: System.String +Type: System.Management.Automation.PSObject Parameter Sets: (All) -Aliases: +Aliases: AzureRMContext, AzureCredential -Required: True +Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: -Required: False +Required: True Position: Named Default value: None -Accept pipeline input: False +Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` -### -NoWait -Run the command asynchronously +### -Name +The name of the database. ```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: DatabaseName -Required: False +Required: True Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` -### -Parameter -Represents a Database. -To construct, see NOTES section for PARAMETER properties and create a hash table. +### -NoWait +Run the command asynchronously ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IDatabase -Parameter Sets: Update +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) Aliases: -Required: True +Required: False Position: Named Default value: None -Accept pipeline input: True (ByValue) +Accept pipeline input: False Accept wildcard characters: False ``` @@ -166,7 +167,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded Aliases: Required: True @@ -181,7 +182,7 @@ The name of the server. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded Aliases: Required: True @@ -196,7 +197,7 @@ The ID of the target subscription. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded Aliases: Required: False @@ -242,7 +243,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IDatabase +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity ## OUTPUTS @@ -257,9 +258,18 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -PARAMETER : Represents a Database. - - `[Charset ]`: The charset of the database. - - `[Collation ]`: The collation of the database. +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. ## RELATED LINKS diff --git a/src/MySql/docs/Update-AzMySqlFlexibleServerFirewallRule.md b/src/MySql/docs/Update-AzMySqlFlexibleServerFirewallRule.md index 7d18adb9bba5..25f340cce244 100644 --- a/src/MySql/docs/Update-AzMySqlFlexibleServerFirewallRule.md +++ b/src/MySql/docs/Update-AzMySqlFlexibleServerFirewallRule.md @@ -1,33 +1,46 @@ --- external help file: Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/Update-azmysqlflexibleserverfirewallrule +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/update-azmysqlflexibleserverfirewallrule schema: 2.0.0 --- # Update-AzMySqlFlexibleServerFirewallRule ## SYNOPSIS -Updates an existing firewall rule. +Creates a new firewall rule or updates an existing firewall rule. ## SYNTAX ### UpdateExpanded (Default) ``` -Update-AzMySqlFlexibleServerFirewallRule -Name -ResourceGroupName - -ServerName -EndIPAddress -StartIPAddress [-SubscriptionId ] +Update-AzMySqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName + -EndIPAddress -StartIPAddress [-SubscriptionId ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### ClientIPAddress +``` +Update-AzMySqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName + -ClientIPAddress [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### ClientIPAddressViaIdentity +``` +Update-AzMySqlFlexibleServerFirewallRule -InputObject -ClientIPAddress [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` -### Update +### UpdateViaIdentityExpanded ``` -Update-AzMySqlFlexibleServerFirewallRule -Parameter - [-SubscriptionId ] [-DefaultProfile ] - [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +Update-AzMySqlFlexibleServerFirewallRule -InputObject -EndIPAddress + -StartIPAddress [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION -Updates an existing firewall rule. +Creates a new firewall rule or updates an existing firewall rule. ## EXAMPLES @@ -71,6 +84,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ClientIPAddress +Client specified single IP of the server firewall rule. +Must be IPv4 format. + +```yaml +Type: System.String +Parameter Sets: ClientIPAddress, ClientIPAddressViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -DefaultProfile The credentials, account, tenant, and subscription used for communication with Azure. @@ -92,7 +121,7 @@ Must be IPv4 format. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: True @@ -102,12 +131,28 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: ClientIPAddressViaIdentity, UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -Name The name of the server firewall rule. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: ClientIPAddress, UpdateExpanded Aliases: FirewallRuleName Required: True @@ -132,29 +177,13 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Parameter -Represents a server firewall rule. -To construct, see NOTES section for PARAMETER properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule -Parameter Sets: Update -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. The name is case insensitive. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: ClientIPAddress, UpdateExpanded Aliases: Required: True @@ -169,7 +198,7 @@ The name of the server. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: ClientIPAddress, UpdateExpanded Aliases: Required: True @@ -185,7 +214,7 @@ Must be IPv4 format. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: True @@ -200,7 +229,7 @@ The ID of the target subscription. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: ClientIPAddress, UpdateExpanded Aliases: Required: False @@ -246,7 +275,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity ## OUTPUTS @@ -261,9 +290,18 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -PARAMETER : Represents a server firewall rule. - - `EndIPAddress `: The end IP address of the server firewall rule. Must be IPv4 format. - - `StartIPAddress `: The start IP address of the server firewall rule. Must be IPv4 format. +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. ## RELATED LINKS diff --git a/src/MySql/examples/Get-AzMySqlFlexibleServer.md b/src/MySql/examples/Get-AzMySqlFlexibleServer.md index 093355d11d50..b2a58f894305 100644 --- a/src/MySql/examples/Get-AzMySqlFlexibleServer.md +++ b/src/MySql/examples/Get-AzMySqlFlexibleServer.md @@ -1,18 +1,45 @@ -### Example 1: {{ Add title here }} +### Example 1: Get MySql server with default context ```powershell -PS C:\> {{ Add code here }} +PS C:\> Get-AzMySqlFlexibleServer -{{ Add output here }} +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +mysql-test-11 eastus mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose ``` -{{ Add description here }} +This cmdlet gets MySql servers with default context. -### Example 2: {{ Add title here }} +### Example 2: Get MySql server by resource group and server name ```powershell -PS C:\> {{ Add code here }} +PS C:\> Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Name mysql-test -{{ Add output here }} +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +mysql-test-11 eastus mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose ``` -{{ Add description here }} +This cmdlet gets MySql servers by resource group and server name. +### Example 3: Lists all the MySql servers in specified resource group +```powershell +PS C:\> Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +mysql-test-11 eastus mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose +mysql-test-12 eastus mysql_test2 5.7 5120 Standard_D2ds_v4 GeneralPurpose +``` + +This cmdlet lists all the MySql servers in the specified resource group. + +### Example 4: Get MySql server by identity +```powershell +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test" +PS C:\> Get-AzMySqlFlexibleServer -InputObject $ID + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +mysql-test-11 eastus mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose +``` + +This cmdlet lists gets MySql servers by identity. \ No newline at end of file diff --git a/src/MySql/examples/Get-AzMySqlFlexibleServerConfiguration.md b/src/MySql/examples/Get-AzMySqlFlexibleServerConfiguration.md index 093355d11d50..fcfd07b097a6 100644 --- a/src/MySql/examples/Get-AzMySqlFlexibleServerConfiguration.md +++ b/src/MySql/examples/Get-AzMySqlFlexibleServerConfiguration.md @@ -1,18 +1,23 @@ -### Example 1: {{ Add title here }} +### Example 1: Get specified MySql configuration by name ```powershell -PS C:\> {{ Add code here }} +PS C:\> Get-AzMySqlFlexibleServerConfiguration -Name wait_timeout -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -{{ Add output here }} +Name Value DefaultValue Source AllowedValues DataType +---- ------ ------------ ------- ------------- --------- +wait_timeout 28800 28800 system-default 1-31536000 Integer ``` -{{ Add description here }} +This cmdlet gets specified MySql configuration by name. -### Example 2: {{ Add title here }} +### Example 2: List all configurations in specified MySql server ```powershell -PS C:\> {{ Add code here }} +PS C:\> Get-AzMySqlFlexibleServerConfiguration -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -{{ Add output here }} +Name Value DefaultValue Source AllowedValues DataType +---- ------ ------------ ------- ------------- --------- +archive OFF OFF system-default ON, OFF Enumeration +... +wait_timeout 28800 28800 system-default 1-31536000 Integer ``` -{{ Add description here }} - +This cmdlet lists all configurations in specified MySql server. \ No newline at end of file diff --git a/src/MySql/examples/Get-AzMySqlFlexibleServerDatabase.md b/src/MySql/examples/Get-AzMySqlFlexibleServerDatabase.md index 093355d11d50..063587d5ec8d 100644 --- a/src/MySql/examples/Get-AzMySqlFlexibleServerDatabase.md +++ b/src/MySql/examples/Get-AzMySqlFlexibleServerDatabase.md @@ -1,18 +1,35 @@ -### Example 1: {{ Add title here }} +### Example 1: Get a MySql database by resource name ```powershell -PS C:\> {{ Add code here }} +PS C:\> Get-AzMySqlFlexibleServerDatabase -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -Name flexibleserverdb -{{ Add output here }} +Name Charset Collation +---- -------- ------------------ +flexibleserverdb latin1 latin1_swedish_ci ``` -{{ Add description here }} +This cmdlet gets MySql server by resource name. -### Example 2: {{ Add title here }} +### Example 2: Get MySql databases by identity ```powershell -PS C:\> {{ Add code here }} +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test" +PS C:\> Get-AzMySqlFlexibleServerDatabase -InputObject $ID -{{ Add output here }} +Name Charset Collation +---- -------- ------------------ +flexibleserverdb latin1 latin1_swedish_ci +performance_schema latin1 latin1_swedish_ci ``` -{{ Add description here }} +This cmdlet gets a MySql server by identity. +### Example 3: Lists all the MySql databases in the specified server +```powershell +PS C:\> Get-AzMySqlFlexibleServerDatabase -ResourceGroupName PowershellMySqlTest -ServerName mysql-test + +Name Charset Collation +---- -------- ------------------ +flexibleserverdb latin1 latin1_swedish_ci +performance_schema latin1 latin1_swedish_ci +``` + +This cmdlet lists all the MySql servers in specified the server. \ No newline at end of file diff --git a/src/MySql/examples/Get-AzMySqlFlexibleServerFirewallRule.md b/src/MySql/examples/Get-AzMySqlFlexibleServerFirewallRule.md index 093355d11d50..f7dc0487fcd5 100644 --- a/src/MySql/examples/Get-AzMySqlFlexibleServerFirewallRule.md +++ b/src/MySql/examples/Get-AzMySqlFlexibleServerFirewallRule.md @@ -1,18 +1,34 @@ -### Example 1: {{ Add title here }} +### Example 1: Get firewall rules by name ```powershell -PS C:\> {{ Add code here }} +PS C:\> Get-AzMySqlFlexibleServerFirewallRule -Name firewallrule-test -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -{{ Add output here }} +FirewallRuleName StartIPAddress EndIPAddress +----------------- --------------- --------------- +firewallrule-test 12.12.12.12 23.23.23.23 ``` -{{ Add description here }} +This cmdlet gets firewall rules by name. -### Example 2: {{ Add title here }} +### Example 2: Get firewall rules by identity ```powershell -PS C:\> {{ Add code here }} +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/firewallRules/firewallrule-test" +PS C:\> Get-AzMySqlFlexibleServerFirewallRule -InputObject $ID -{{ Add output here }} +FirewallRuleName StartIPAddress EndIPAddress +----------------- --------------- --------------- +firewallrule-test 12.12.12.12 23.23.23.23 ``` -{{ Add description here }} +This cmdlet gets firewall rules by identity. +### Example 3: Lists all the firewall rules in the specified MySql server +```powershell +PS C:\> Get-AzMySqlFlexibleServerFirewallRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test + +FirewallRuleName StartIPAddress EndIPAddress +----------------- --------------- --------------- +firewallrule-test 12.12.12.12 23.23.23.23 +firewallrule-test2 12.12.12.15 23.23.23.25 +``` + +This cmdlet lists all the firewall rule in specified MySql server. \ No newline at end of file diff --git a/src/MySql/examples/Get-AzMySqlFlexibleServerKey.md b/src/MySql/examples/Get-AzMySqlFlexibleServerKey.md deleted file mode 100644 index 093355d11d50..000000000000 --- a/src/MySql/examples/Get-AzMySqlFlexibleServerKey.md +++ /dev/null @@ -1,18 +0,0 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - diff --git a/src/MySql/examples/Get-AzMySqlFlexibleServerLocationBasedCapability.md b/src/MySql/examples/Get-AzMySqlFlexibleServerLocationBasedCapability.md new file mode 100644 index 000000000000..456f513fbeaf --- /dev/null +++ b/src/MySql/examples/Get-AzMySqlFlexibleServerLocationBasedCapability.md @@ -0,0 +1,28 @@ +### Example 1: List available SKUs and their properties in the location + +```powershell +PS C:\> Get-AzMySqlFlexibleServerLocationBasedCapability -Location eastus +For prices please refer to https://aka.ms/mysql-pricing + +SKU Tier VCore Memory Max Disk IOPS +----------------- --------------- ------- -------- --------------- +Standard_B1s Burstable 1 1 GiB 320 +Standard_B1ms Burstable 1 2 GiB 640 +Standard_B2s Burstable 2 4 GiB 1280 +Standard_D2ds_v4 GeneralPurpose 2 8 GiB 3200 +Standard_D4ds_v4 GeneralPurpose 4 16 GiB 6400 +Standard_D8ds_v4 GeneralPurpose 8 32 GiB 12800 +Standard_D16ds_v4 GeneralPurpose 16 64 GiB 20000 +Standard_D32ds_v4 GeneralPurpose 32 128 GiB 20000 +Standard_D48ds_v4 GeneralPurpose 48 192 GiB 20000 +Standard_D64ds_v4 GeneralPurpose 64 256 GiB 20000 +Standard_E2ds_v4 MemoryOptimized 2 16 GiB 3200 +Standard_E4ds_v4 MemoryOptimized 4 32 GiB 6400 +Standard_E8ds_v4 MemoryOptimized 8 64 GiB 12800 +Standard_E16ds_v4 MemoryOptimized 16 128 GiB 20000 +Standard_E32ds_v4 MemoryOptimized 32 256 GiB 20000 +Standard_E48ds_v4 MemoryOptimized 48 384 GiB 20000 +Standard_E64ds_v4 MemoryOptimized 64 512 GiB 20000 +``` + +Provide available skus in the location \ No newline at end of file diff --git a/src/MySql/examples/Get-AzMySqlFlexibleServerReplica.md b/src/MySql/examples/Get-AzMySqlFlexibleServerReplica.md index 093355d11d50..bae0e94f6a37 100644 --- a/src/MySql/examples/Get-AzMySqlFlexibleServerReplica.md +++ b/src/MySql/examples/Get-AzMySqlFlexibleServerReplica.md @@ -1,18 +1,10 @@ -### Example 1: {{ Add title here }} +### Example 1: Get MySql server replica by resource group and server name ```powershell -PS C:\> {{ Add code here }} +PS C:\> Get-AzMySqlFlexibleServerReplica -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -{{ Add output here }} +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +mysql-test-11 eastus mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose ``` -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +This cmdlet gets MySql server replica by resource group and server name. diff --git a/src/MySql/examples/Get-AzMySqlFlexibleServersConfiguration.md b/src/MySql/examples/Get-AzMySqlFlexibleServersConfiguration.md deleted file mode 100644 index 093355d11d50..000000000000 --- a/src/MySql/examples/Get-AzMySqlFlexibleServersConfiguration.md +++ /dev/null @@ -1,18 +0,0 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - diff --git a/src/MySql/examples/Get-AzMySqlFlexibleServersDatabase.md b/src/MySql/examples/Get-AzMySqlFlexibleServersDatabase.md deleted file mode 100644 index 093355d11d50..000000000000 --- a/src/MySql/examples/Get-AzMySqlFlexibleServersDatabase.md +++ /dev/null @@ -1,18 +0,0 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - diff --git a/src/MySql/examples/Get-AzMySqlFlexibleServersFirewallRule.md b/src/MySql/examples/Get-AzMySqlFlexibleServersFirewallRule.md deleted file mode 100644 index 093355d11d50..000000000000 --- a/src/MySql/examples/Get-AzMySqlFlexibleServersFirewallRule.md +++ /dev/null @@ -1,18 +0,0 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - diff --git a/src/MySql/examples/Get-AzMySqlLocationBasedCapability.md b/src/MySql/examples/Get-AzMySqlLocationBasedCapability.md deleted file mode 100644 index 093355d11d50..000000000000 --- a/src/MySql/examples/Get-AzMySqlLocationBasedCapability.md +++ /dev/null @@ -1,18 +0,0 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - diff --git a/src/MySql/examples/Get-AzMySqlVirtualNetworkSubnetUsage.md b/src/MySql/examples/Get-AzMySqlVirtualNetworkSubnetUsage.md deleted file mode 100644 index 093355d11d50..000000000000 --- a/src/MySql/examples/Get-AzMySqlVirtualNetworkSubnetUsage.md +++ /dev/null @@ -1,18 +0,0 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - diff --git a/src/MySql/examples/New-AzMySqlFlexibleServer.md b/src/MySql/examples/New-AzMySqlFlexibleServer.md index 093355d11d50..a11ade625037 100644 --- a/src/MySql/examples/New-AzMySqlFlexibleServer.md +++ b/src/MySql/examples/New-AzMySqlFlexibleServer.md @@ -1,18 +1,68 @@ -### Example 1: {{ Add title here }} +### Example 1: Create a new MySql flexible server with parameters ```powershell -PS C:\> {{ Add code here }} +PS C:\> New-AzMySqlFlexibleServer -Name mysql-test -ResourceGroupName PowershellMySqlTest \ +-Location westus2 -AdministratorUserName mysql_test -AdministratorLoginPassword $password -Sku Standard_B1ms -SkuTier Burstable -{{ Add output here }} +Creating new vnet {vnetName} in resource group {resourceGroupName}... +Creating new subnet {subnetName} in resource group {resourceGroupName} and delegating it to "Microsoft.DBforMySQL/flexibleServers"... +Creating MySQL server {serverName} in group {resourceGroupName}... +Your server is using sku 'Standard_B1ms' (paid tier). Please refer to https://aka.ms/mysql-pricing for pricing details. +Creating MySQL database {dbname}... +"connectionString": "mysql {dbname} --host {host} --user {username} --password={password}", +"databaseName": "flexibleserverdb", +"host": "{servername}.mysql.database.azure.com", +"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}", +"location": "West US 2", +"version": "5.7", +"username": "{username}", +"password": "{password}", +"skuname": "Standard_B1ms" ``` -{{ Add description here }} +The cmdlet generates a server with the given parameters and output important information in a visible format. The server creation automatically generates vnet, subnet, and database in the resource group. -### Example 2: {{ Add title here }} +### Example 2: Create a new MySql flexible server without parameters ```powershell -PS C:\> {{ Add code here }} +PS C:\> New-AzMySqlFlexibleServer -{{ Add output here }} +Creating Resource Group {resourceGroupName}... +Creating new vnet {vnetName} in resource group {resourceGroupName}... +Creating new subnet {subnetName} in resource group {resourceGroupName} and delegating it to "Microsoft.DBforMySQL/flexibleServers"... +Creating MySQL server {serverName} in group {resourceGroupName}... +Your server is using sku 'Standard_B1ms' (paid tier). Please refer to https://aka.ms/mysql-pricing for pricing details. +Creating MySQL database {dbname}... +"connectionString": "mysql {dbname} --host {host} --user {username} --password={password}", +"databaseName": "flexibleserverdb", +"host": "{servername}.mysql.database.azure.com", +"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}", +"location": "West US 2", +"version": "5.7", +"username": "{username}", +"password": "{password}", +"skuname": "Standard_B1ms" ``` -{{ Add description here }} +When no parameters are given, the cmdlet automatically generates necessary resources such as resource group, vnet, and database. The SKU and storage profile are set to default values. +### Example 3: Create a new MySql flexible server with public access to all IPs +```powershell +PS C:\> New-AzMySqlFlexibleServer -PublicAccess all + +Creating Resource Group {resourceGroupName}... +Configurint server firewall rule to accept connections from '0.0.0.0' to '255.255.255.255'... +Creating MySQL server {serverName} in group {resourceGroupName}... +Your server is using sku 'Standard_B1ms' (paid tier). Please refer to https://aka.ms/mysql-pricing for pricing details. +Creating MySQL database {dbname}... +"connectionString": "mysql {dbname} --host {host} --user {username} --password={password}", +"firewallName": "{firewallRuleName}", +"databaseName": "flexibleserverdb", +"host": "{serverName}.mysql.database.azure.com", +"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}", +"location": "West US 2", +"version": "5.7", +"username": "{username}", +"password": "{password}", +"skuname": "Standard_B1ms" +``` + +The cmdlet generates a server without given parameters and automatically generates necessary resources such as resource group, subnet, and database. The SKU and storage profile are set to default values. diff --git a/src/MySql/examples/New-AzMySqlFlexibleServerDatabase.md b/src/MySql/examples/New-AzMySqlFlexibleServerDatabase.md index 093355d11d50..b5b7f4e3b90f 100644 --- a/src/MySql/examples/New-AzMySqlFlexibleServerDatabase.md +++ b/src/MySql/examples/New-AzMySqlFlexibleServerDatabase.md @@ -1,18 +1,9 @@ -### Example 1: {{ Add title here }} +### Example 1: Create a new MySql server database ```powershell -PS C:\> {{ Add code here }} +PS C:\> New-AzMySqlFlexibleServerDatabase -Name databasetest -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -{{ Add output here }} +Name Charset Collation +---- -------- ------------------ +databasetest latin1 latin1_swedish_ci ``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +Create a database with default settings. diff --git a/src/MySql/examples/New-AzMySqlFlexibleServerFirewallRule.md b/src/MySql/examples/New-AzMySqlFlexibleServerFirewallRule.md index 093355d11d50..a83a9b2ccb7f 100644 --- a/src/MySql/examples/New-AzMySqlFlexibleServerFirewallRule.md +++ b/src/MySql/examples/New-AzMySqlFlexibleServerFirewallRule.md @@ -1,18 +1,33 @@ -### Example 1: {{ Add title here }} +### Example 1: Create a new MySql server Firewall Rule ```powershell -PS C:\> {{ Add code here }} +PS C:\> New-AzMySqlFlexibleServerFirewallRule -Name firewallrule-test -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 -{{ Add output here }} +Name StartIPAddress EndIPAddress +----------------- -------------- ------------ +firewallrule-test 0.0.0.0 0.0.0.1 ``` -{{ Add description here }} +This cmdlets create a MySql server Firewall Rule. -### Example 2: {{ Add title here }} + +### Example 2: Create a new MySql Firewall Rule using -ClientIPAddress. ```powershell -PS C:\> {{ Add code here }} +PS C:\> New-AzMySqlFlexibleServerFirewallRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -ClientIPAddress 0.0.0.1 -{{ Add output here }} +Name StartIPAddress EndIPAddress +---- -------------- ------------ +ClientIPAddress_2020-08-11_18-19-27 0.0.0.1 0.0.0.1 ``` -{{ Add description here }} +This cmdlets create a MySql Firewall Rule using -ClientIPAddress. + +### Example 3: Create a new MySql Firewall Rule to allow all IPs +```powershell +PS C:\> New-AzMySqlFlexibleServerFirewallRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -AllowAll + +Name StartIPAddress EndIPAddress +---- -------------- ------------ +AllowAll_2020-08-11_18-19-27 0.0.0.0 255.255.255.255 +``` +This cmdlets create a new MySql Firewall Rule to allow all IPs. \ No newline at end of file diff --git a/src/MySql/examples/New-AzMySqlFlexibleServerKey.md b/src/MySql/examples/New-AzMySqlFlexibleServerKey.md deleted file mode 100644 index 093355d11d50..000000000000 --- a/src/MySql/examples/New-AzMySqlFlexibleServerKey.md +++ /dev/null @@ -1,18 +0,0 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - diff --git a/src/MySql/examples/New-AzMySqlFlexibleServerReplica.md b/src/MySql/examples/New-AzMySqlFlexibleServerReplica.md new file mode 100644 index 000000000000..1216995b4c24 --- /dev/null +++ b/src/MySql/examples/New-AzMySqlFlexibleServerReplica.md @@ -0,0 +1,22 @@ +### Example 1: Create a new MySql server replica +```powershell +PS C:\> Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test | New-AzMySqlFlexibleServerReplica -Replica mysql-test-replica -ResourceGroupName PowershellMySqlTest + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ------- ------- +mysql-test-replica eastus mysql_test 5.7 10240 Standard_B1ms Burstable +``` + +This cmdlet creates a new MySql server replica. + +### Example 2: Create a new MySql server replica +```powershell +PS C:\> $mysql = Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test +PS C:\> New-AzMySqlFlexibleServerReplica -Master $mysql -Replica mysql-test-replica -ResourceGroupName PowershellMySqlTest + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ------- ------- +mysql-test-replica eastus mysql_test 5.7 10240 Standard_B1ms Burstable +``` + +This cmdlet with parameter master(inputobject) creates a new MySql server replica. diff --git a/src/MySql/examples/Remove-AzMySqlFlexibleServer.md b/src/MySql/examples/Remove-AzMySqlFlexibleServer.md index 093355d11d50..39150bcb1aeb 100644 --- a/src/MySql/examples/Remove-AzMySqlFlexibleServer.md +++ b/src/MySql/examples/Remove-AzMySqlFlexibleServer.md @@ -1,18 +1,16 @@ -### Example 1: {{ Add title here }} +### Example 1: Remove MySql server by resourceGroup and server name ```powershell -PS C:\> {{ Add code here }} +PS C:\> Remove-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Name mysql-test -{{ Add output here }} ``` -{{ Add description here }} +This cmdlet removes MySql server by resourceGroup and server name. -### Example 2: {{ Add title here }} +### Example 2: Remove MySql server by identity ```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test" +PS C:\> Remove-AzMySqlFlexibleServer -InputObject $ID + ``` -{{ Add description here }} - +These cmdlets remove MySql server by identity. \ No newline at end of file diff --git a/src/MySql/examples/Remove-AzMySqlFlexibleServerDatabase.md b/src/MySql/examples/Remove-AzMySqlFlexibleServerDatabase.md new file mode 100644 index 000000000000..db0a35d680fb --- /dev/null +++ b/src/MySql/examples/Remove-AzMySqlFlexibleServerDatabase.md @@ -0,0 +1,15 @@ +### Example 1: Remove MySql database by name +```powershell +PS C:\> Remove-AzMySqlFlexibleServerDatabase -Name databasetest -ResourceGroupName PowershellMySqlTest -ServerName mysql-test +``` + +This cmdlet removes MySql database by name. + +### Example 2: Remove MySql database by identity +```powershell +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test/databases/databasetest" +PS C:\> Remove-AzMySqlFlexibleServerDatabase -InputObject $ID + +``` + +These cmdlets remove MySql database by identity. diff --git a/src/MySql/examples/Remove-AzMySqlFlexibleServerFirewallRule.md b/src/MySql/examples/Remove-AzMySqlFlexibleServerFirewallRule.md new file mode 100644 index 000000000000..203f32361915 --- /dev/null +++ b/src/MySql/examples/Remove-AzMySqlFlexibleServerFirewallRule.md @@ -0,0 +1,16 @@ +### Example 1: Remove MySql Firewall Rule by name +```powershell +PS C:\> Remove-AzMySqlFlexibleServerFirewallRule -Name firewall-rule-test -ResourceGroupName PowershellMySqlTest -ServerName mysql-test + +``` + +This cmdlet removes MySql Firewall Rule by name. + +### Example 2: Remove MySql Firewall Rule by identity +```powershell +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test/firewallRules/firewall-rule-test" +PS C:\> Remove-AzMySqlFlexibleServerFirewallRule -InputObject $ID + +``` + +These cmdlets remove MySql Firewall Rule by identity. diff --git a/src/MySql/examples/Remove-AzMySqlFlexibleServerKey.md b/src/MySql/examples/Remove-AzMySqlFlexibleServerKey.md deleted file mode 100644 index 093355d11d50..000000000000 --- a/src/MySql/examples/Remove-AzMySqlFlexibleServerKey.md +++ /dev/null @@ -1,18 +0,0 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - diff --git a/src/MySql/examples/Remove-AzMySqlFlexibleServersDatabase.md b/src/MySql/examples/Remove-AzMySqlFlexibleServersDatabase.md deleted file mode 100644 index 093355d11d50..000000000000 --- a/src/MySql/examples/Remove-AzMySqlFlexibleServersDatabase.md +++ /dev/null @@ -1,18 +0,0 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - diff --git a/src/MySql/examples/Remove-AzMySqlFlexibleServersFirewallRule.md b/src/MySql/examples/Remove-AzMySqlFlexibleServersFirewallRule.md deleted file mode 100644 index 093355d11d50..000000000000 --- a/src/MySql/examples/Remove-AzMySqlFlexibleServersFirewallRule.md +++ /dev/null @@ -1,18 +0,0 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - diff --git a/src/MySql/examples/Restart-AzMySqlFlexibleServer.md b/src/MySql/examples/Restart-AzMySqlFlexibleServer.md index 093355d11d50..07b0010a86a4 100644 --- a/src/MySql/examples/Restart-AzMySqlFlexibleServer.md +++ b/src/MySql/examples/Restart-AzMySqlFlexibleServer.md @@ -1,18 +1,14 @@ -### Example 1: {{ Add title here }} +### Example 1: Restart the server by resource name ```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +PS C:\> Restart-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Name mysql-test ``` -{{ Add description here }} +Restart the server by name -### Example 2: {{ Add title here }} +### Example 2: Restart the server by identity ```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test" +PS C:\> Restart-AzMySqlFlexibleServer -InputObject $ID ``` -{{ Add description here }} - +Restart the server by identity diff --git a/src/MySql/examples/Restore-AzMySqlFlexibleServer.md b/src/MySql/examples/Restore-AzMySqlFlexibleServer.md new file mode 100644 index 000000000000..96b9cf4f7367 --- /dev/null +++ b/src/MySql/examples/Restore-AzMySqlFlexibleServer.md @@ -0,0 +1,11 @@ +### Example 1: Restore MySql server using PointInTime Restore +```powershell +PS C:\> $restorePointInTime = (Get-Date).AddMinutes(-10) +PS C:\> Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test | Restore-AzMySqlFlexibleServer -Name mysql-test-restore -ResourceGroupName PowershellMySqlTest -RestorePointInTime $restorePointInTime + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ------- ------- +mysql-test-restore eastus mysql_test 5.7 10240 Standard_D2ds_v4 GeneralPurpose +``` + +These cmdlets restore MySql server using PointInTime Restore. diff --git a/src/MySql/examples/Set-AzMySqlFlexibleServerDatabase.md b/src/MySql/examples/Set-AzMySqlFlexibleServerDatabase.md deleted file mode 100644 index 093355d11d50..000000000000 --- a/src/MySql/examples/Set-AzMySqlFlexibleServerDatabase.md +++ /dev/null @@ -1,18 +0,0 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - diff --git a/src/MySql/examples/Set-AzMySqlFlexibleServerFirewallRule.md b/src/MySql/examples/Set-AzMySqlFlexibleServerFirewallRule.md deleted file mode 100644 index 093355d11d50..000000000000 --- a/src/MySql/examples/Set-AzMySqlFlexibleServerFirewallRule.md +++ /dev/null @@ -1,18 +0,0 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - diff --git a/src/MySql/examples/Set-AzMySqlFlexibleServerKey.md b/src/MySql/examples/Set-AzMySqlFlexibleServerKey.md deleted file mode 100644 index 093355d11d50..000000000000 --- a/src/MySql/examples/Set-AzMySqlFlexibleServerKey.md +++ /dev/null @@ -1,18 +0,0 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - diff --git a/src/MySql/examples/Start-AzMySqlFlexibleServer.md b/src/MySql/examples/Start-AzMySqlFlexibleServer.md index 093355d11d50..8af2208d92f8 100644 --- a/src/MySql/examples/Start-AzMySqlFlexibleServer.md +++ b/src/MySql/examples/Start-AzMySqlFlexibleServer.md @@ -1,18 +1,14 @@ -### Example 1: {{ Add title here }} +### Example 1: Start the server by resource name ```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +PS C:\> Start-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Name mysql-test ``` -{{ Add description here }} +Start the server by name -### Example 2: {{ Add title here }} +### Example 2: Start the server by identity ```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test" +PS C:\> Start-AzMySqlFlexibleServer -InputObject $ID ``` -{{ Add description here }} - +Start the server by identity diff --git a/src/MySql/examples/Stop-AzMySqlFlexibleServer.md b/src/MySql/examples/Stop-AzMySqlFlexibleServer.md index 093355d11d50..673058dfec24 100644 --- a/src/MySql/examples/Stop-AzMySqlFlexibleServer.md +++ b/src/MySql/examples/Stop-AzMySqlFlexibleServer.md @@ -1,18 +1,15 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} -{{ Add output here }} +### Example 1: Stop the server by resource name +```powershell +PS C:\> Stop-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Name mysql-test ``` -{{ Add description here }} +Stop the server by name -### Example 2: {{ Add title here }} +### Example 2: Stop the server by identity ```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test" +PS C:\> Stop-AzMySqlFlexibleServer -InputObject $ID ``` -{{ Add description here }} - +Stop the server by identity diff --git a/src/MySql/examples/Test-AzMySqlFlexibleServersNameAvailability.md b/src/MySql/examples/Test-AzMySqlFlexibleServersNameAvailability.md deleted file mode 100644 index 093355d11d50..000000000000 --- a/src/MySql/examples/Test-AzMySqlFlexibleServersNameAvailability.md +++ /dev/null @@ -1,18 +0,0 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - diff --git a/src/MySql/examples/Test-AzMySqlNameAvailability.md b/src/MySql/examples/Test-AzMySqlNameAvailability.md deleted file mode 100644 index 093355d11d50..000000000000 --- a/src/MySql/examples/Test-AzMySqlNameAvailability.md +++ /dev/null @@ -1,18 +0,0 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - diff --git a/src/MySql/examples/Update-AzMySqlFlexibleServer.md b/src/MySql/examples/Update-AzMySqlFlexibleServer.md index 093355d11d50..ffb38925301d 100644 --- a/src/MySql/examples/Update-AzMySqlFlexibleServer.md +++ b/src/MySql/examples/Update-AzMySqlFlexibleServer.md @@ -1,18 +1,21 @@ -### Example 1: {{ Add title here }} +### Example 1: Update MySql server by resource group and server name ```powershell -PS C:\> {{ Add code here }} +PS C:\> Update-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Name mysql-test -Sku Standard_D4ds_v4 -{{ Add output here }} +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +mysql-test-11 eastus mysql_test 5.7 5120 Standard_D4ds_v4 GeneralPurpose ``` -{{ Add description here }} +This cmdlet updates MySql server by resource group and server name. -### Example 2: {{ Add title here }} +### Example 2: Update MySql server by identity. ```powershell -PS C:\> {{ Add code here }} +PS C:\> Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test | Update-AzMySqlFlexibleServer -BackupRetentionDay 23 -StorageMb 10240 -{{ Add output here }} +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +mysql-test-11 eastus mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose ``` -{{ Add description here }} - +This cmdlet updates MySql server by identity. diff --git a/src/MySql/examples/Update-AzMySqlFlexibleServerConfiguration.md b/src/MySql/examples/Update-AzMySqlFlexibleServerConfiguration.md new file mode 100644 index 000000000000..ecc1a327b439 --- /dev/null +++ b/src/MySql/examples/Update-AzMySqlFlexibleServerConfiguration.md @@ -0,0 +1,23 @@ +### Example 1: Update MySql configuration by name +```powershell +PS C:\> Update-AzMySqlFlexibleServer -Name net_retry_count -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -Value 15 + +Name Value DefaultValue Source AllowedValues DataType +---- ------ ------------ ------- ------------- --------- +net_retry_count 15 10 user-override 1-4294967295 Integer +``` + +This cmdlet updates MySql configuration by name. + +### Example 2: Update MySql configuration by identity. +```powershell +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test/configurations/wait_timeout" +PS C:\> Update-AzMySqlFlexibleServer -InputObject $ID -Value 150 + +Name Value DefaultValue Source AllowedValues DataType +---- ------ ------------ ------- ------------- --------- +wait_timeout 150 28800 system-default 1-31536000 Integer +``` + +These cmdlets update MySql configuration by identity. + diff --git a/src/MySql/examples/Update-AzMySqlFlexibleServerDatabase.md b/src/MySql/examples/Update-AzMySqlFlexibleServerDatabase.md new file mode 100644 index 000000000000..e0dd92ec2e65 --- /dev/null +++ b/src/MySql/examples/Update-AzMySqlFlexibleServerDatabase.md @@ -0,0 +1,20 @@ +### Example 1: Create a new MySql server database +```powershell +PS C:\> Update-AzMySqlFlexibleServerDatabase -Name database-test -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -Charset utf8 + +Name Charset Collation +---- -------- ------------------ +databasetest utf8 latin1_swedish_ci +``` +Update a database by resource name. + +### Example 2: Update MySql database by parameter. +```powershell +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/databases/databasetest" +PS C:\> Update-AzMySqlFlexibleServerDatabase -Parameter $ID -Charset utf8 + +Name Charset Collation +---- -------- ------------------ +databasetest utf8 latin1_swedish_ci +``` +Update a database by parameter diff --git a/src/MySql/examples/Update-AzMySqlFlexibleServerFirewallRule.md b/src/MySql/examples/Update-AzMySqlFlexibleServerFirewallRule.md new file mode 100644 index 000000000000..a7cd8e26dfec --- /dev/null +++ b/src/MySql/examples/Update-AzMySqlFlexibleServerFirewallRule.md @@ -0,0 +1,22 @@ +### Example 1: Update MySql Firewall Rule by name +```powershell +PS C:\> Update-AzMySqlFlexibleServerFirewallRule -Name rule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 + +Name StartIPAddress EndIPAddress +---- -------------- ------------ +rule 0.0.0.2 0.0.0.3 +``` + +This cmdlet updates MySql Firewall Rule by name. + +### Example 2: Update MySql Firewall Rule by identity. +```powershell +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test/firewallRules/rule" +PS C:\> Update-AzMySqlFlexibleServerFirewallRule -InputObject $ID -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 + +Name StartIPAddress EndIPAddress +---- -------------- ------------ +rule 0.0.0.2 0.0.0.3 +``` + +These cmdlets update MySql Firewall Rule by identity. diff --git a/src/MySql/examples/Update-AzMySqlFlexibleServersConfiguration.md b/src/MySql/examples/Update-AzMySqlFlexibleServersConfiguration.md deleted file mode 100644 index 093355d11d50..000000000000 --- a/src/MySql/examples/Update-AzMySqlFlexibleServersConfiguration.md +++ /dev/null @@ -1,18 +0,0 @@ -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - diff --git a/src/MySql/examples/readme.md b/src/MySql/examples/readme.md new file mode 100644 index 000000000000..ac871d71fc72 --- /dev/null +++ b/src/MySql/examples/readme.md @@ -0,0 +1,11 @@ +# Examples +This directory contains examples from the exported cmdlets of the module. When `build-module.ps1` is ran, example stub files will be generated here. If your module support Azure Profiles, the example stubs will be in individual profile folders. These example stubs should be updated to show how the cmdlet is used. The examples are imported into the documentation when `generate-help.ps1` is ran. + +## Info +- Modifiable: yes +- Generated: partial +- Committed: yes +- Packaged: no + +## Purpose +This separates the example documentation details from the generated documentation information provided directly from the generated cmdlets. Since the cmdlets don't have examples from the REST spec, this provides a means to add examples easily. The example stubs provide the markdown format that is required. The 3 core elements are: the name of the example, the code information of the example, and the description of the example. That information, if the markdown format is followed, will be available to documentation generation and be part of the documents in the `..\docs` folder. \ No newline at end of file diff --git a/src/PostgreSql/custom/Az.PostgreSql.custom.psm1 b/src/PostgreSql/custom/Az.PostgreSql.custom.psm1 new file mode 100644 index 000000000000..638c9dbd7ca3 --- /dev/null +++ b/src/PostgreSql/custom/Az.PostgreSql.custom.psm1 @@ -0,0 +1,17 @@ +# region Generated + # Load the private module dll + $null = Import-Module -PassThru -Name (Join-Path $PSScriptRoot '..\bin\Az.PostgreSql.private.dll') + + # Load the internal module + $internalModulePath = Join-Path $PSScriptRoot '..\internal\Az.PostgreSql.internal.psm1' + if(Test-Path $internalModulePath) { + $null = Import-Module -Name $internalModulePath + } + + # Export nothing to clear implicit exports + Export-ModuleMember + + # Export script cmdlets + Get-ChildItem -Path $PSScriptRoot -Recurse -Include '*.ps1' -File | ForEach-Object { . $_.FullName } + Export-ModuleMember -Function (Get-ScriptCmdlet -ScriptFolder $PSScriptRoot) -Alias (Get-ScriptCmdlet -ScriptFolder $PSScriptRoot -AsAlias) +# endregion diff --git a/src/PostgreSql/custom/New-AzPostgreSqlFlexibleServer.ps1 b/src/PostgreSql/custom/New-AzPostgreSqlFlexibleServer.ps1 index 2b69f99bd729..968ec6946ffe 100644 --- a/src/PostgreSql/custom/New-AzPostgreSqlFlexibleServer.ps1 +++ b/src/PostgreSql/custom/New-AzPostgreSqlFlexibleServer.ps1 @@ -47,8 +47,7 @@ function New-AzPostgreSqlFlexibleServer { [Parameter(Mandatory, HelpMessage = 'The password of the administrator. Minimum 8 characters and maximum 128 characters. Password must contain characters from three of the following categories: English uppercase letters, English lowercase letters, numbers, and non-alphanumeric characters.')] [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] - # [System.Security.SecureString] - [System.String] + [System.Security.SecureString] [ValidateNotNullOrEmpty()] ${AdministratorLoginPassword}, @@ -189,9 +188,7 @@ function New-AzPostgreSqlFlexibleServer { } $PSBoundParameters.CreateMode = [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.CreateMode]::Default - # Write-Output ConvertTo-SecureString $PSBoundParameters['AdministratorLoginPassword'] -AsPlainText -Force - # Write-Output . "$PSScriptRoot/../utils/Unprotect-SecureString.ps1" $PSBoundParameters['AdministratorLoginPassword'] - # $PSBoundParameters.AdministratorLoginPassword = ConvertTo-SecureString $PSBoundParameters['AdministratorLoginPassword'] -AsPlainText -Force + $PSBoundParameters.AdministratorLoginPassword = . "$PSScriptRoot/../utils/Unprotect-SecureString.ps1" $PSBoundParameters['AdministratorLoginPassword'] Az.PostgreSql.internal\New-AzPostgreSqlFlexibleServer @PSBoundParameters } catch { diff --git a/src/PostgreSql/docs/Az.PostgreSql.md b/src/PostgreSql/docs/Az.PostgreSql.md index 069833a9cd28..055197471521 100644 --- a/src/PostgreSql/docs/Az.PostgreSql.md +++ b/src/PostgreSql/docs/Az.PostgreSql.md @@ -1,6 +1,6 @@ --- Module Name: Az.PostgreSql -Module Guid: 6161c203-9460-4d33-a790-d3203d4f8370 +Module Guid: 4af7c147-6216-404c-810d-627432f22b6a Download Help Link: https://docs.microsoft.com/en-us/powershell/module/az.postgresql Help Version: 1.0.0.0 Locale: en-US @@ -20,6 +20,18 @@ Get the connection string according to client connection provider. ### [Get-AzPostgreSqlFirewallRule](Get-AzPostgreSqlFirewallRule.md) Gets information about a server firewall rule. +### [Get-AzPostgreSqlFlexibleServer](Get-AzPostgreSqlFlexibleServer.md) +Gets information about a server. + +### [Get-AzPostgreSqlFlexibleServerConfiguration](Get-AzPostgreSqlFlexibleServerConfiguration.md) +Gets information about a configuration of server. + +### [Get-AzPostgreSqlFlexibleServerFirewallRule](Get-AzPostgreSqlFlexibleServerFirewallRule.md) +List all the firewall rules in a given server. + +### [Get-AzPostgreSqlFlexibleServerLocationBasedCapability](Get-AzPostgreSqlFlexibleServerLocationBasedCapability.md) +Get capabilities at specified location in a given subscription. + ### [Get-AzPostgreSqlReplica](Get-AzPostgreSqlReplica.md) List all the replicas for a given server. @@ -32,6 +44,12 @@ Gets a virtual network rule. ### [New-AzPostgreSqlFirewallRule](New-AzPostgreSqlFirewallRule.md) Creates a new firewall rule or updates an existing firewall rule. +### [New-AzPostgreSqlFlexibleServer](New-AzPostgreSqlFlexibleServer.md) +Creates a new server. + +### [New-AzPostgreSqlFlexibleServerFirewallRule](New-AzPostgreSqlFlexibleServerFirewallRule.md) +Creates a new firewall rule or updates an existing firewall rule. + ### [New-AzPostgreSqlReplica](New-AzPostgreSqlReplica.md) Creates a new replica from an existing database. @@ -44,18 +62,36 @@ Creates or updates an existing virtual network rule. ### [Remove-AzPostgreSqlFirewallRule](Remove-AzPostgreSqlFirewallRule.md) Deletes a server firewall rule. +### [Remove-AzPostgreSqlFlexibleServer](Remove-AzPostgreSqlFlexibleServer.md) +Deletes a server. + +### [Remove-AzPostgreSqlFlexibleServerFirewallRule](Remove-AzPostgreSqlFlexibleServerFirewallRule.md) +Deletes a PostgreSQL server firewall rule. + ### [Remove-AzPostgreSqlServer](Remove-AzPostgreSqlServer.md) Deletes a server. ### [Remove-AzPostgreSqlVirtualNetworkRule](Remove-AzPostgreSqlVirtualNetworkRule.md) Deletes the virtual network rule with the given name. +### [Restart-AzPostgreSqlFlexibleServer](Restart-AzPostgreSqlFlexibleServer.md) +Restarts a server. + ### [Restart-AzPostgreSqlServer](Restart-AzPostgreSqlServer.md) Restarts a server. +### [Restore-AzPostgreSqlFlexibleServer](Restore-AzPostgreSqlFlexibleServer.md) +Restore a server from an existing backup + ### [Restore-AzPostgreSqlServer](Restore-AzPostgreSqlServer.md) Restore a server from an existing backup +### [Start-AzPostgreSqlFlexibleServer](Start-AzPostgreSqlFlexibleServer.md) +Starts a server. + +### [Stop-AzPostgreSqlFlexibleServer](Stop-AzPostgreSqlFlexibleServer.md) +Stops a server. + ### [Update-AzPostgreSqlConfiguration](Update-AzPostgreSqlConfiguration.md) Updates a configuration of a server. Use Update-AzPostgreSqlServer instead if you want update AdministratorLoginPassword, sku, etc. @@ -63,6 +99,17 @@ Use Update-AzPostgreSqlServer instead if you want update AdministratorLoginPassw ### [Update-AzPostgreSqlFirewallRule](Update-AzPostgreSqlFirewallRule.md) Creates a new firewall rule or updates an existing firewall rule. +### [Update-AzPostgreSqlFlexibleServer](Update-AzPostgreSqlFlexibleServer.md) +Updates an existing server. +The request body can contain one to many of the properties present in the normal server definition. +Use Update-AzPostgreSqlConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count. + +### [Update-AzPostgreSqlFlexibleServerConfiguration](Update-AzPostgreSqlFlexibleServerConfiguration.md) +Updates a configuration of a server. + +### [Update-AzPostgreSqlFlexibleServerFirewallRule](Update-AzPostgreSqlFlexibleServerFirewallRule.md) +Creates a new firewall rule or updates an existing firewall rule. + ### [Update-AzPostgreSqlServer](Update-AzPostgreSqlServer.md) Updates an existing server. The request body can contain one to many of the properties present in the normal server definition. diff --git a/src/PostgreSql/docs/Get-AzPostgreSqlConnectionString.md b/src/PostgreSql/docs/Get-AzPostgreSqlConnectionString.md index 1fce66e0cd96..b4111f50f648 100644 --- a/src/PostgreSql/docs/Get-AzPostgreSqlConnectionString.md +++ b/src/PostgreSql/docs/Get-AzPostgreSqlConnectionString.md @@ -161,8 +161,9 @@ To create the parameters described below, construct a hash table containing the INPUTOBJECT : The source server object to create replica from. - - `Location `: The location the resource resides in. - - `[Tag ]`: Application-specific metadata in the form of key-value pairs. + - `Location `: The geo-location where the resource lives + - `SkuName `: The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. + - `[Tag ]`: Resource tags. - `[(Any) ]`: This indicates any property can be added to this object. - `[AdministratorLogin ]`: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). - `[EarliestRestoreDate ]`: Earliest restore point creation time (ISO8601 format) @@ -176,7 +177,6 @@ INPUTOBJECT : The source server object to create replica from. - `[ReplicationRole ]`: The replication role of the server. - `[SkuCapacity ]`: The scale up/out capacity, representing server's compute units. - `[SkuFamily ]`: The family of hardware. - - `[SkuName ]`: The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. - `[SkuSize ]`: The size code, to be interpreted by resource as appropriate. - `[SkuTier ]`: The tier of the particular SKU, e.g. Basic. - `[SslEnforcement ]`: Enable ssl enforcement or not when connect to server. diff --git a/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..fbc5c02fbe75 --- /dev/null +++ b/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,173 @@ +--- +external help file: +Module Name: Az.PostgreSql +online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/get-azpostgresqlflexibleserver +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServer + +## SYNOPSIS +Gets information about a server. + +## SYNTAX + +### List1 (Default) +``` +Get-AzPostgreSqlFlexibleServer [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzPostgreSqlFlexibleServer -InputObject [-DefaultProfile ] + [] +``` + +### List +``` +Get-AzPostgreSqlFlexibleServer -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +## DESCRIPTION +Gets information about a server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: Get, List, List1 +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20200214Preview.IServerAutoGenerated + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerConfiguration.md b/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerConfiguration.md new file mode 100644 index 000000000000..a9eed0b4740e --- /dev/null +++ b/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerConfiguration.md @@ -0,0 +1,183 @@ +--- +external help file: +Module Name: Az.PostgreSql +online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/get-azpostgresqlflexibleserverconfiguration +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerConfiguration + +## SYNOPSIS +Gets information about a configuration of server. + +## SYNTAX + +### List (Default) +``` +Get-AzPostgreSqlFlexibleServerConfiguration -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzPostgreSqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzPostgreSqlFlexibleServerConfiguration -InputObject [-DefaultProfile ] + [] +``` + +## DESCRIPTION +Gets information about a configuration of server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server configuration. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: ConfigurationName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20200214Preview.IConfigurationAutoGenerated + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerFirewallRule.md new file mode 100644 index 000000000000..522cc18ff7b0 --- /dev/null +++ b/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerFirewallRule.md @@ -0,0 +1,183 @@ +--- +external help file: +Module Name: Az.PostgreSql +online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/get-azpostgresqlflexibleserverfirewallrule +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerFirewallRule + +## SYNOPSIS +List all the firewall rules in a given server. + +## SYNTAX + +### List (Default) +``` +Get-AzPostgreSqlFlexibleServerFirewallRule -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzPostgreSqlFlexibleServerFirewallRule -InputObject [-DefaultProfile ] + [] +``` + +## DESCRIPTION +List all the firewall rules in a given server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server firewall rule. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: FirewallRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IFirewallRule + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerLocationBasedCapability.md b/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerLocationBasedCapability.md new file mode 100644 index 000000000000..e9c8dd117134 --- /dev/null +++ b/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerLocationBasedCapability.md @@ -0,0 +1,146 @@ +--- +external help file: +Module Name: Az.PostgreSql +online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/get-azpostgresqlflexibleserverlocationbasedcapability +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerLocationBasedCapability + +## SYNOPSIS +Get capabilities at specified location in a given subscription. + +## SYNTAX + +### Get (Default) +``` +Get-AzPostgreSqlFlexibleServerLocationBasedCapability -LocationName [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzPostgreSqlFlexibleServerLocationBasedCapability -InputObject + [-DefaultProfile ] [] +``` + +## DESCRIPTION +Get capabilities at specified location in a given subscription. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -LocationName +The name of the location. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: Get +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20200214Preview.ICapabilityProperties + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/PostgreSql/docs/New-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/docs/New-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..aea3e939a1d1 --- /dev/null +++ b/src/PostgreSql/docs/New-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,325 @@ +--- +external help file: +Module Name: Az.PostgreSql +online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/new-azpostgresqlflexibleserver +schema: 2.0.0 +--- + +# New-AzPostgreSqlFlexibleServer + +## SYNOPSIS +Creates a new server. + +## SYNTAX + +``` +New-AzPostgreSqlFlexibleServer -Name -ResourceGroupName + -AdministratorLoginPassword -AdministratorUserName [-SubscriptionId ] + [-BackupRetentionDay ] [-Location ] [-Sku ] [-SkuTier ] [-StorageInMb ] + [-Tag ] [-Version ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Creates a new server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AdministratorLoginPassword +The password of the administrator. +Minimum 8 characters and maximum 128 characters. +Password must contain characters from three of the following categories: English uppercase letters, English lowercase letters, numbers, and non-alphanumeric characters. + +```yaml +Type: System.Security.SecureString +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AdministratorUserName +Administrator username for the server. +Once set, it cannot be changed. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -BackupRetentionDay +Backup retention days for the server. +Day count is between 7 and 35. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Location +The location the resource resides in. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Sku +The name of the sku, typically, tier + family + cores, e.g. +Standard_B1ms, Standard_D2ds_v4. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkuTier +Compute tier of the server. +Accepted values: Burstable, GeneralPurpose, Memory Optimized. +Default: Burstable. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageInMb +Max storage allowed for a server. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The subscription ID that identifies an Azure subscription. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tag +Application-specific metadata in the form of key-value pairs. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Version +Server version. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.ServerVersion +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20200214Preview.IServerAutoGenerated + +## NOTES + +ALIASES + +## RELATED LINKS + diff --git a/src/PostgreSql/docs/New-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSql/docs/New-AzPostgreSqlFlexibleServerFirewallRule.md new file mode 100644 index 000000000000..2f5b1615e6b4 --- /dev/null +++ b/src/PostgreSql/docs/New-AzPostgreSqlFlexibleServerFirewallRule.md @@ -0,0 +1,277 @@ +--- +external help file: +Module Name: Az.PostgreSql +online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/new-azpostgresqlflexibleserverfirewallrule +schema: 2.0.0 +--- + +# New-AzPostgreSqlFlexibleServerFirewallRule + +## SYNOPSIS +Creates a new firewall rule or updates an existing firewall rule. + +## SYNTAX + +### CreateExpanded (Default) +``` +New-AzPostgreSqlFlexibleServerFirewallRule -ResourceGroupName -ServerName + -EndIPAddress -StartIPAddress [-Name ] [-SubscriptionId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### AllowAll +``` +New-AzPostgreSqlFlexibleServerFirewallRule -ResourceGroupName -ServerName -AllowAll + [-Name ] [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### ClientIPAddress +``` +New-AzPostgreSqlFlexibleServerFirewallRule -ResourceGroupName -ServerName + -ClientIPAddress [-Name ] [-SubscriptionId ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Creates a new firewall rule or updates an existing firewall rule. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AllowAll +Present to allow all range IPs, from 0.0.0.0 to 255.255.255.255. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: AllowAll +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClientIPAddress +Client specified single IP of the server firewall rule. +Must be IPv4 format. + +```yaml +Type: System.String +Parameter Sets: ClientIPAddress +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EndIPAddress +The end IP address of the server firewall rule. +Must be IPv4 format. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the server firewall rule. +If not specified, the default is undefined. +If AllowAll is present, the default name is AllowAll_yyyy-MM-dd_HH-mm-ss. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: FirewallRuleName + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StartIPAddress +The start IP address of the server firewall rule. +Must be IPv4 format. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IFirewallRule + +## NOTES + +ALIASES + +## RELATED LINKS + diff --git a/src/PostgreSql/docs/New-AzPostgreSqlReplica.md b/src/PostgreSql/docs/New-AzPostgreSqlReplica.md index 6c50ab6d579d..6fd9461ea9c3 100644 --- a/src/PostgreSql/docs/New-AzPostgreSqlReplica.md +++ b/src/PostgreSql/docs/New-AzPostgreSqlReplica.md @@ -237,8 +237,9 @@ To create the parameters described below, construct a hash table containing the MASTER : The source server object to create replica from. - - `Location `: The location the resource resides in. - - `[Tag ]`: Application-specific metadata in the form of key-value pairs. + - `Location `: The geo-location where the resource lives + - `SkuName `: The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. + - `[Tag ]`: Resource tags. - `[(Any) ]`: This indicates any property can be added to this object. - `[AdministratorLogin ]`: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). - `[EarliestRestoreDate ]`: Earliest restore point creation time (ISO8601 format) @@ -252,7 +253,6 @@ MASTER : The source server object to create replica from. - `[ReplicationRole ]`: The replication role of the server. - `[SkuCapacity ]`: The scale up/out capacity, representing server's compute units. - `[SkuFamily ]`: The family of hardware. - - `[SkuName ]`: The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. - `[SkuSize ]`: The size code, to be interpreted by resource as appropriate. - `[SkuTier ]`: The tier of the particular SKU, e.g. Basic. - `[SslEnforcement ]`: Enable ssl enforcement or not when connect to server. diff --git a/src/PostgreSql/docs/New-AzPostgreSqlServer.md b/src/PostgreSql/docs/New-AzPostgreSqlServer.md index 305800fd859e..3f419fb15f55 100644 --- a/src/PostgreSql/docs/New-AzPostgreSqlServer.md +++ b/src/PostgreSql/docs/New-AzPostgreSqlServer.md @@ -40,7 +40,9 @@ These cmdlets create a new PostgreSql server. ## PARAMETERS ### -AdministratorLoginPassword -The location the resource resides in. +The password of the administrator. +Minimum 8 characters and maximum 128 characters. +Password must contain characters from three of the following categories: English uppercase letters, English lowercase letters, numbers, and non-alphanumeric characters. ```yaml Type: System.Security.SecureString @@ -55,7 +57,8 @@ Accept wildcard characters: False ``` ### -AdministratorUserName -The location the resource resides in. +Administrator username for the server. +Once set, it cannot be changed. ```yaml Type: System.String diff --git a/src/PostgreSql/docs/Remove-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/docs/Remove-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..2ad531307e4b --- /dev/null +++ b/src/PostgreSql/docs/Remove-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,238 @@ +--- +external help file: +Module Name: Az.PostgreSql +online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/remove-azpostgresqlflexibleserver +schema: 2.0.0 +--- + +# Remove-AzPostgreSqlFlexibleServer + +## SYNOPSIS +Deletes a server. + +## SYNTAX + +### Delete (Default) +``` +Remove-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentity +``` +Remove-AzPostgreSqlFlexibleServer -InputObject [-DefaultProfile ] [-AsJob] + [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Deletes a server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Get-AzMySqlVirtualNetworkSubnetUsage.md b/src/PostgreSql/docs/Remove-AzPostgreSqlFlexibleServerFirewallRule.md similarity index 61% rename from src/MySql/docs/Get-AzMySqlVirtualNetworkSubnetUsage.md rename to src/PostgreSql/docs/Remove-AzPostgreSqlFlexibleServerFirewallRule.md index 8347e3828428..3030f6b8535d 100644 --- a/src/MySql/docs/Get-AzMySqlVirtualNetworkSubnetUsage.md +++ b/src/PostgreSql/docs/Remove-AzPostgreSqlFlexibleServerFirewallRule.md @@ -1,45 +1,32 @@ --- external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlvirtualnetworksubnetusage +Module Name: Az.PostgreSql +online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/remove-azpostgresqlflexibleserverfirewallrule schema: 2.0.0 --- -# Get-AzMySqlVirtualNetworkSubnetUsage +# Remove-AzPostgreSqlFlexibleServerFirewallRule ## SYNOPSIS -Get virtual network subnet usage for a given vNet resource id. +Deletes a PostgreSQL server firewall rule. ## SYNTAX -### GetExpanded (Default) +### Delete (Default) ``` -Get-AzMySqlVirtualNetworkSubnetUsage -LocationName [-SubscriptionId ] - [-VirtualNetworkArmResourceId ] [-DefaultProfile ] [-Confirm] [-WhatIf] +Remove-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] ``` -### Get +### DeleteViaIdentity ``` -Get-AzMySqlVirtualNetworkSubnetUsage -LocationName -Parameter - [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] -``` - -### GetViaIdentity -``` -Get-AzMySqlVirtualNetworkSubnetUsage -InputObject - -Parameter [-DefaultProfile ] [-Confirm] [-WhatIf] - [] -``` - -### GetViaIdentityExpanded -``` -Get-AzMySqlVirtualNetworkSubnetUsage -InputObject [-VirtualNetworkArmResourceId ] - [-DefaultProfile ] [-Confirm] [-WhatIf] [] +Remove-AzPostgreSqlFlexibleServerFirewallRule -InputObject [-DefaultProfile ] + [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION -Get virtual network subnet usage for a given vNet resource id. +Deletes a PostgreSQL server firewall rule. ## EXAMPLES @@ -63,6 +50,21 @@ PS C:\> {{ Add code here }} ## PARAMETERS +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -DefaultProfile The credentials, account, tenant, and subscription used for communication with Azure. @@ -83,8 +85,8 @@ Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity -Parameter Sets: GetViaIdentity, GetViaIdentityExpanded +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity +Parameter Sets: DeleteViaIdentity Aliases: Required: True @@ -94,13 +96,13 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` -### -LocationName -The name of the location. +### -Name +The name of the server firewall rule. ```yaml Type: System.String -Parameter Sets: Get, GetExpanded -Aliases: +Parameter Sets: Delete +Aliases: FirewallRuleName Required: True Position: Named @@ -109,52 +111,82 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Parameter -Virtual network subnet usage parameter -To construct, see NOTES section for PARAMETER properties and create a hash table. +### -NoWait +Run the command asynchronously ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IVirtualNetworkSubnetUsageParameter -Parameter Sets: Get, GetViaIdentity +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) Aliases: -Required: True +Required: False Position: Named Default value: None -Accept pipeline input: True (ByValue) +Accept pipeline input: False Accept wildcard characters: False ``` -### -SubscriptionId -The ID of the target subscription. +### -PassThru +Returns true when the command succeeds ```yaml -Type: System.String[] -Parameter Sets: Get, GetExpanded +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) Aliases: Required: False Position: Named -Default value: (Get-AzContext).Subscription.Id +Default value: None Accept pipeline input: False Accept wildcard characters: False ``` -### -VirtualNetworkArmResourceId -Virtual network resource id. +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. ```yaml Type: System.String -Parameter Sets: GetExpanded, GetViaIdentityExpanded +Parameter Sets: Delete Aliases: -Required: False +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Confirm Prompts you for confirmation before running the cmdlet. @@ -191,13 +223,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IVirtualNetworkSubnetUsageParameter - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IDelegatedSubnetUsage +### System.Boolean ## NOTES @@ -208,12 +238,11 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -INPUTOBJECT : Identity Parameter +INPUTOBJECT : Identity Parameter - `[ConfigurationName ]`: The name of the server configuration. - `[DatabaseName ]`: The name of the database. - `[FirewallRuleName ]`: The name of the server firewall rule. - `[Id ]`: Resource identity path - - `[KeyName ]`: The name of the server key. - `[LocationName ]`: The name of the location. - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - `[SecurityAlertPolicyName ]`: The name of the security alert policy. @@ -221,8 +250,5 @@ INPUTOBJECT : Identity Parameter - `[SubscriptionId ]`: The ID of the target subscription. - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. -PARAMETER : Virtual network subnet usage parameter - - `[VirtualNetworkArmResourceId ]`: Virtual network resource id. - ## RELATED LINKS diff --git a/src/PostgreSql/docs/Restart-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/docs/Restart-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..9ba01fa1ccf2 --- /dev/null +++ b/src/PostgreSql/docs/Restart-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,238 @@ +--- +external help file: +Module Name: Az.PostgreSql +online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/restart-azpostgresqlflexibleserver +schema: 2.0.0 +--- + +# Restart-AzPostgreSqlFlexibleServer + +## SYNOPSIS +Restarts a server. + +## SYNTAX + +### Restart (Default) +``` +Restart-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### RestartViaIdentity +``` +Restart-AzPostgreSqlFlexibleServer -InputObject [-DefaultProfile ] [-AsJob] + [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Restarts a server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity +Parameter Sets: RestartViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Restart +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Restart +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: Restart +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/PostgreSql/docs/Restore-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/docs/Restore-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..0c66e1d748c3 --- /dev/null +++ b/src/PostgreSql/docs/Restore-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,226 @@ +--- +external help file: +Module Name: Az.PostgreSql +online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/restore-azpostgresqlflexibleserver +schema: 2.0.0 +--- + +# Restore-AzPostgreSqlFlexibleServer + +## SYNOPSIS +Restore a server from an existing backup + +## SYNTAX + +``` +Restore-AzPostgreSqlFlexibleServer -Name -ResourceGroupName -SourceServerName + -Location -RestorePointInTime [-SubscriptionId ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Restore a server from an existing backup + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Location +The location the resource resides in. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RestorePointInTime +The point in time to restore from (ISO8601 format), e.g., 2017-04-26T02:10:00+08:00. + +```yaml +Type: System.DateTime +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SourceServerName +The name of the source server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The subscription ID that identifies an Azure subscription. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20200214Preview.IServerAutoGenerated + +## NOTES + +ALIASES + +## RELATED LINKS + diff --git a/src/PostgreSql/docs/Restore-AzPostgreSqlServer.md b/src/PostgreSql/docs/Restore-AzPostgreSqlServer.md index 30f9aa4f991e..0f247721f768 100644 --- a/src/PostgreSql/docs/Restore-AzPostgreSqlServer.md +++ b/src/PostgreSql/docs/Restore-AzPostgreSqlServer.md @@ -306,8 +306,9 @@ To create the parameters described below, construct a hash table containing the INPUTOBJECT : The source server object to restore from. - - `Location `: The location the resource resides in. - - `[Tag ]`: Application-specific metadata in the form of key-value pairs. + - `Location `: The geo-location where the resource lives + - `SkuName `: The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. + - `[Tag ]`: Resource tags. - `[(Any) ]`: This indicates any property can be added to this object. - `[AdministratorLogin ]`: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). - `[EarliestRestoreDate ]`: Earliest restore point creation time (ISO8601 format) @@ -321,7 +322,6 @@ INPUTOBJECT : The source server object to restore from. - `[ReplicationRole ]`: The replication role of the server. - `[SkuCapacity ]`: The scale up/out capacity, representing server's compute units. - `[SkuFamily ]`: The family of hardware. - - `[SkuName ]`: The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. - `[SkuSize ]`: The size code, to be interpreted by resource as appropriate. - `[SkuTier ]`: The tier of the particular SKU, e.g. Basic. - `[SslEnforcement ]`: Enable ssl enforcement or not when connect to server. diff --git a/src/PostgreSql/docs/Start-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/docs/Start-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..8cca58d349ce --- /dev/null +++ b/src/PostgreSql/docs/Start-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,238 @@ +--- +external help file: +Module Name: Az.PostgreSql +online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/start-azpostgresqlflexibleserver +schema: 2.0.0 +--- + +# Start-AzPostgreSqlFlexibleServer + +## SYNOPSIS +Starts a server. + +## SYNTAX + +### Start (Default) +``` +Start-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### StartViaIdentity +``` +Start-AzPostgreSqlFlexibleServer -InputObject [-DefaultProfile ] [-AsJob] + [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Starts a server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity +Parameter Sets: StartViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Start +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Start +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: Start +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/PostgreSql/docs/Stop-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/docs/Stop-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..6827e4305fbc --- /dev/null +++ b/src/PostgreSql/docs/Stop-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,238 @@ +--- +external help file: +Module Name: Az.PostgreSql +online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/stop-azpostgresqlflexibleserver +schema: 2.0.0 +--- + +# Stop-AzPostgreSqlFlexibleServer + +## SYNOPSIS +Stops a server. + +## SYNTAX + +### Stop (Default) +``` +Stop-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### StopViaIdentity +``` +Stop-AzPostgreSqlFlexibleServer -InputObject [-DefaultProfile ] [-AsJob] + [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Stops a server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity +Parameter Sets: StopViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Stop +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Stop +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: Stop +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..e312b0db5686 --- /dev/null +++ b/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,386 @@ +--- +external help file: +Module Name: Az.PostgreSql +online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/update-azpostgresqlflexibleserver +schema: 2.0.0 +--- + +# Update-AzPostgreSqlFlexibleServer + +## SYNOPSIS +Updates an existing server. +The request body can contain one to many of the properties present in the normal server definition. +Use Update-AzPostgreSqlConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + [-AdministratorLoginPassword ] [-BackupRetentionDay ] [-HaEnabled ] + [-ReplicationRole ] [-Sku ] [-SkuTier ] [-SslEnforcement ] + [-StorageAutogrow ] [-StorageInMb ] [-Tag ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzPostgreSqlFlexibleServer -InputObject + [-AdministratorLoginPassword ] [-BackupRetentionDay ] [-HaEnabled ] + [-ReplicationRole ] [-Sku ] [-SkuTier ] [-SslEnforcement ] + [-StorageAutogrow ] [-StorageInMb ] [-Tag ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Updates an existing server. +The request body can contain one to many of the properties present in the normal server definition. +Use Update-AzPostgreSqlConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AdministratorLoginPassword +The password of the administrator login. + +```yaml +Type: System.Security.SecureString +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -BackupRetentionDay +Backup retention days for the server. +Day count is between 7 and 35. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -HaEnabled +Enable or disable high availability feature. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.HaEnabledEnum +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter. +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReplicationRole +The replication role of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group that contains the resource. +You can obtain this value from the Azure Resource Manager API or the portal. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Sku +The name of the sku, typically, tier + family + cores, e.g. +B_Gen4_1, GP_Gen5_8. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkuTier +The tier of the particular SKU, e.g. +Basic. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.SkuTier +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SslEnforcement +Enable ssl enforcement or not when connect to server. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.SslEnforcementEnum +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageAutogrow +Enable Storage Auto Grow. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.StorageAutogrow +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageInMb +Max storage allowed for a server. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The subscription ID that identifies an Azure subscription. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tag +Application-specific metadata in the form of key-value pairs. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20200214Preview.IServerAutoGenerated + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter. + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServerConfiguration.md b/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServerConfiguration.md new file mode 100644 index 000000000000..6a72442e25a7 --- /dev/null +++ b/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServerConfiguration.md @@ -0,0 +1,269 @@ +--- +external help file: +Module Name: Az.PostgreSql +online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/update-azpostgresqlflexibleserverconfiguration +schema: 2.0.0 +--- + +# Update-AzPostgreSqlFlexibleServerConfiguration + +## SYNOPSIS +Updates a configuration of a server. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzPostgreSqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-Source ] [-Value ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzPostgreSqlFlexibleServerConfiguration -InputObject [-Source ] + [-Value ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Updates a configuration of a server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server configuration. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: ConfigurationName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Source +Source of the configuration. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Value +Value of the configuration. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20200214Preview.IConfigurationAutoGenerated + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServerFirewallRule.md new file mode 100644 index 000000000000..952a232cb0da --- /dev/null +++ b/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServerFirewallRule.md @@ -0,0 +1,301 @@ +--- +external help file: +Module Name: Az.PostgreSql +online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/update-azpostgresqlflexibleserverfirewallrule +schema: 2.0.0 +--- + +# Update-AzPostgreSqlFlexibleServerFirewallRule + +## SYNOPSIS +Creates a new firewall rule or updates an existing firewall rule. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName + -EndIPAddress -StartIPAddress [-SubscriptionId ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### ClientIPAddress +``` +Update-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName + -ClientIPAddress [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### ClientIPAddressViaIdentity +``` +Update-AzPostgreSqlFlexibleServerFirewallRule -InputObject -ClientIPAddress + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzPostgreSqlFlexibleServerFirewallRule -InputObject -EndIPAddress + -StartIPAddress [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Creates a new firewall rule or updates an existing firewall rule. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClientIPAddress +Client specified single IP of the server firewall rule. +Must be IPv4 format. + +```yaml +Type: System.String +Parameter Sets: ClientIPAddress, ClientIPAddressViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EndIPAddress +The end IP address of the server firewall rule. +Must be IPv4 format. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity +Parameter Sets: ClientIPAddressViaIdentity, UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server firewall rule. + +```yaml +Type: System.String +Parameter Sets: ClientIPAddress, UpdateExpanded +Aliases: FirewallRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: ClientIPAddress, UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: ClientIPAddress, UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StartIPAddress +The start IP address of the server firewall rule. +Must be IPv4 format. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: ClientIPAddress, UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IFirewallRule + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..830d3ca8b866 --- /dev/null +++ b/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,45 @@ +### Example 1: Get PostgreSql server with default context +```powershell +PS C:\> Get-AzPostgreSqlFlexibleServer + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +postgresql-test-11 eastus postgresql-test 5.7 32768 Standard_D2ds_v4 GeneralPurpose +``` + +This cmdlet gets PostgreSql servers with default context. + +### Example 2: Get PostgreSql server by resource group and server name +```powershell +PS C:\> Get-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -Name PostgreSql-test + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +postgresql-test-11 eastus postgresql-test 5.7 32768 Standard_D2s_v3 GeneralPurpose +``` + +This cmdlet gets PostgreSql servers by resource group and server name. + +### Example 3: Lists all the PostgreSql servers in specified resource group +```powershell +PS C:\> Get-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +postgresql-test-11 eastus postgresql-test 5.7 32768 Standard_D2s_v3 GeneralPurpose +postgresql-test-12 eastus postgresql-test2 5.7 32768 Standard_D2s_v3 GeneralPurpose +``` + +This cmdlet lists all the PostgreSql servers in the specified resource group. + +### Example 4: Get PostgreSql server by identity +```powershell +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test" +PS C:\> Get-AzPostgreSqlFlexibleServer -InputObject $ID + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +postgresql-test-11 eastus postgresql-test 12 32768 Standard_D2s_v3 GeneralPurpose +``` + +This cmdlet lists gets PostgreSql servers by identity. \ No newline at end of file diff --git a/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServerConfiguration.md b/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServerConfiguration.md new file mode 100644 index 000000000000..2a1446222be8 --- /dev/null +++ b/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServerConfiguration.md @@ -0,0 +1,23 @@ +### Example 1: Get specified PostgreSql configuration by name +```powershell +PS C:\> Get-AzPostgreSqlFlexibleServerConfiguration -Name work_mem -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test + +Name Value DefaultValue Source AllowedValues DataType +---- ------ ------------ ------- ------------- --------- +work_mem 4096 4096 system-default 4096-2097151 Integer +``` + +This cmdlet gets specified PostgreSql configuration by name. + +### Example 2: List all configurations in specified PostgreSql server +```powershell +PS C:\> Get-AzPostgreSqlFlexibleServerConfiguration -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test + +Name Value DefaultValue Source AllowedValues DataType +---- ------ ------------ ------- ------------- --------- +application_name "" "" system-default [A-Za-z0-9._-]* String +... +pgbouncer.enabled false false system-default true, false Boolean +``` + +This cmdlet lists all configurations in specified PostgreSql server. \ No newline at end of file diff --git a/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServerFirewallRule.md new file mode 100644 index 000000000000..aa033b0bb8dc --- /dev/null +++ b/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServerFirewallRule.md @@ -0,0 +1,34 @@ +### Example 1: Get firewall rules by name +```powershell +PS C:\> Get-AzPostgreSqlFlexibleServerFirewallRule -Name firewallrule-test -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test + +FirewallRuleName StartIPAddress EndIPAddress +----------------- --------------- --------------- +firewallrule-test 12.12.12.12 23.23.23.23 +``` + +This cmdlet gets firewall rules by name. + +### Example 2: Get firewall rules by identity +```powershell +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test/firewallRules/firewallrule-test" +PS C:\> Get-AzPostgreSqlFlexibleServerFirewallRule -InputObject $ID + +FirewallRuleName StartIPAddress EndIPAddress +----------------- --------------- --------------- +firewallrule-test 12.12.12.12 23.23.23.23 +``` + +This cmdlet gets firewall rules by identity. + +### Example 3: Lists all the firewall rules in the specified PostgreSql server +```powershell +PS C:\> Get-AzPostgreSqlFlexibleServerFirewallRule -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test + +FirewallRuleName StartIPAddress EndIPAddress +----------------- --------------- --------------- +firewallrule-test 12.12.12.12 23.23.23.23 +firewallrule-test2 12.12.12.15 23.23.23.25 +``` + +This cmdlet lists all the firewall rule in specified PostgreSql server. \ No newline at end of file diff --git a/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServerLocationBasedCapability.md b/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServerLocationBasedCapability.md new file mode 100644 index 000000000000..f20531ee7b83 --- /dev/null +++ b/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServerLocationBasedCapability.md @@ -0,0 +1,27 @@ +### Example 1: List available SKUs and their properties in the location + +```powershell +PS C:\> Get-AzPostgreSqlFlexibleServerLocationBasedCapability -Location eastus +For prices please refer to https://aka.ms/postgresql-pricing + +SKU Tier VCore Memory Max Disk IOPS +---------------- --------------- ------- -------- --------------- +Standard_B1ms Burstable 1 2 GiB 640 +Standard_B2s Burstable 2 4 GiB 1280 +Standard_D2s_v3 GeneralPurpose 2 8 GiB 3200 +Standard_D4s_v3 GeneralPurpose 4 16 GiB 6400 +Standard_D8s_v3 GeneralPurpose 8 32 GiB 12800 +Standard_D16s_v3 GeneralPurpose 16 64 GiB 18000 +Standard_D32s_v3 GeneralPurpose 32 128 GiB 18000 +Standard_D48s_v3 GeneralPurpose 48 192 GiB 18000 +Standard_D64s_v3 GeneralPurpose 64 256 GiB 18000 +Standard_E2s_v3 MemoryOptimized 2 16 GiB 3200 +Standard_E4s_v3 MemoryOptimized 4 32 GiB 6400 +Standard_E8s_v3 MemoryOptimized 8 64 GiB 12800 +Standard_E16s_v3 MemoryOptimized 16 128 GiB 18000 +Standard_E32s_v3 MemoryOptimized 32 256 GiB 18000 +Standard_E48s_v3 MemoryOptimized 48 384 GiB 18000 +Standard_E64s_v3 MemoryOptimized 64 432 GiB 18000 +``` + +Provide available skus in the location \ No newline at end of file diff --git a/src/PostgreSql/examples/New-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/examples/New-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..310e33061072 --- /dev/null +++ b/src/PostgreSql/examples/New-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,68 @@ +### Example 1: Create a new PostgreSql flexible server with parameters +```powershell +PS C:\> New-AzPostgreSqlFlexibleServer -Name postgresql-test -ResourceGroupName PowershellPostgreSqlTest \ +-Location eastus -AdministratorUserName postgresqltest -AdministratorLoginPassword $password -Sku Standard_B1ms -SkuTier Burstable + +Creating new vnet {vnetName} in resource group {resourceGroupName}... +Creating new subnet {subnetName} in resource group {resourceGroupName} and delegating it to "Microsoft.DBforPostgreSQL/flexibleServers"... +Creating PostgreSql server {serverName} in group {resourceGroupName}... +Your server is using sku 'Standard_B1ms' (paid tier). Please refer to https://aka.ms/postgresql-pricing for pricing details. +Creating PostgreSql database {dbname}... +"connectionString": "postgresql://{username}:{password}@{servername}.postgres.database.azure.com/postgres?sslmode=require", +"databaseName": "{dbname}", +"host": "{servername}.PostgreSql.database.azure.com", +"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreS!L/flexibleServers/{serverName}", +"location": "East US", +"version": "12", +"username": "{username}", +"password": "{password}", +"skuname": "Standard_B1ms" +``` + +The cmdlet generates a server with the given parameters and output important information in a visible format. The server creation automatically generates vnet, subnet, and database in the resource group. + +### Example 2: Create a new PostgreSql flexible server without parameters +```powershell +PS C:\> New-AzPostgreSqlFlexibleServer + +Creating Resource Group {resourceGroupName}... +Creating new vnet {vnetName} in resource group {resourceGroupName}... +Creating new subnet {subnetName} in resource group {resourceGroupName} and delegating it to "Microsoft.DBforPostgreSql/flexibleServers"... +Creating PostgreSql server {serverName} in group {resourceGroupName}... +Your server is using sku 'Standard_D2s_v3' (paid tier). Please refer to https://aka.ms/postgresql-pricing for pricing details. +Creating PostgreSql database {dbname}... +"connectionString": "postgresql://{username}:{password}@{servername}.postgres.database.azure.com/postgres?sslmode=require", +"databaseName": "flexibleserverdb", +"host": "{servername}.PostgreSql.database.azure.com", +"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSql/flexibleServers/{serverName}", +"location": "East US", +"version": "12", +"username": "{username}", +"password": "{password}", +"skuname": "Standard_D2s_v3" +``` + +When no parameters are given, the cmdlet automatically generates necessary resources such as resource group, vnet, and database. The SKU and storage profile are set to default values. + +### Example 3: Create a new PostgreSql flexible server with public access to all IPs +```powershell +PS C:\> New-AzPostgreSqlFlexibleServer -PublicAccess all + +Creating Resource Group {resourceGroupName}... +Configurint server firewall rule to accept connections from '0.0.0.0' to '255.255.255.255'... +Creating PostgreSql server {serverName} in group {resourceGroupName}... +Your server is using sku 'Standard_D2s_v3' (paid tier). Please refer to https://aka.ms/postgresql-pricing for pricing details. +Creating PostgreSql database {dbname}... +"connectionString": "postgresql://{username}:{password}@{servername}.postgres.database.azure.com/postgres?sslmode=require", +"firewallName": "{firewallRuleName}", +"databaseName": "flexibleserverdb", +"host": "{serverName}.PostgreSql.database.azure.com", +"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}", +"location": "East US", +"version": "12", +"username": "{username}", +"password": "{password}", +"skuname": "Standard_D2s_v3" +``` + +The cmdlet generates a server without given parameters and automatically generates necessary resources such as resource group, subnet, and database. The SKU and storage profile are set to default values. diff --git a/src/PostgreSql/examples/New-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSql/examples/New-AzPostgreSqlFlexibleServerFirewallRule.md new file mode 100644 index 000000000000..1d545d9f9a49 --- /dev/null +++ b/src/PostgreSql/examples/New-AzPostgreSqlFlexibleServerFirewallRule.md @@ -0,0 +1,33 @@ +### Example 1: Create a new PostgreSql server Firewall Rule +```powershell +PS C:\> New-AzPostgreSqlFlexibleServerFirewallRule -Name firewallrule-test -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 + +Name StartIPAddress EndIPAddress +----------------- -------------- ------------ +firewallrule-test 0.0.0.0 0.0.0.1 +``` + +This cmdlets create a PostgreSql server Firewall Rule. + + +### Example 2: Create a new PostgreSql Firewall Rule using -ClientIPAddress. +```powershell +PS C:\> New-AzPostgreSqlFlexibleServerFirewallRule -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test -ClientIPAddress 0.0.0.1 + +Name StartIPAddress EndIPAddress +---- -------------- ------------ +ClientIPAddress_2020-08-11_18-19-27 0.0.0.1 0.0.0.1 +``` + +This cmdlets create a PostgreSql Firewall Rule using -ClientIPAddress. + +### Example 3: Create a new PostgreSql Firewall Rule to allow all IPs +```powershell +PS C:\> New-AzPostgreSqlFlexibleServerFirewallRule -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test -AllowAll + +Name StartIPAddress EndIPAddress +---- -------------- ------------ +AllowAll_2020-08-11_18-19-27 0.0.0.0 255.255.255.255 +``` + +This cmdlets create a new PostgreSql Firewall Rule to allow all IPs. \ No newline at end of file diff --git a/src/PostgreSql/examples/Remove-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/examples/Remove-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..fc80a337cecb --- /dev/null +++ b/src/PostgreSql/examples/Remove-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,16 @@ +### Example 1: Remove PostgreSql server by resourceGroup and server name +```powershell +PS C:\> Remove-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -Name postgresql-test + +``` + +This cmdlet removes PostgreSql server by resourceGroup and server name. + +### Example 2: Remove PostgreSql server by identity +```powershell +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test" +PS C:\> Remove-AzPostgreSqlFlexibleServer -InputObject $ID + +``` + +These cmdlets remove PostgreSql server by identity. \ No newline at end of file diff --git a/src/PostgreSql/examples/Remove-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSql/examples/Remove-AzPostgreSqlFlexibleServerFirewallRule.md new file mode 100644 index 000000000000..0a3141303005 --- /dev/null +++ b/src/PostgreSql/examples/Remove-AzPostgreSqlFlexibleServerFirewallRule.md @@ -0,0 +1,16 @@ +### Example 1: Remove PostgreSql Firewall Rule by name +```powershell +PS C:\> Remove-AzPostgreSqlFlexibleServerFirewallRule -Name firewall-rule-test -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test + +``` + +This cmdlet removes PostgreSql Firewall Rule by name. + +### Example 2: Remove PostgreSql Firewall Rule by identity +```powershell +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test/firewallRules/firewall-rule-test" +PS C:\> Remove-AzPostgreSqlFlexibleServerFirewallRule -InputObject $ID + +``` + +These cmdlets remove PostgreSql Firewall Rule by identity. diff --git a/src/PostgreSql/examples/Restart-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/examples/Restart-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..0ba79ce99461 --- /dev/null +++ b/src/PostgreSql/examples/Restart-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,14 @@ +### Example 1: Restart the server by resource name +```powershell +PS C:\> Restart-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -Name postgresql-test +``` + +Restart the server by name + +### Example 2: Restart the server by identity +```powershell +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test" +PS C:\> Restart-AzPostgreSqlFlexibleServer -InputObject $ID +``` + +Restart the server by identity diff --git a/src/PostgreSql/examples/Restore-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/examples/Restore-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..0785d3804330 --- /dev/null +++ b/src/PostgreSql/examples/Restore-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,11 @@ +### Example 1: Restore PostgreSql server using PointInTime Restore +```powershell +PS C:\> $restorePointInTime = (Get-Date).AddMinutes(-10) +PS C:\> Restore-AzPostgreSqlFlexibleServer -Name PostgreSql-test-restore -ResourceGroupName PowershellPostgreSqlTest -SourceServerName postgresql-test -Location westus2 -RestorePointInTime $restorePointInTime + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ------- ------- +PostgreSql-test-restore eastus postgresql_test 5.7 10240 Standard_D2s_v3 GeneralPurpose +``` + +These cmdlets restore PostgreSql server using PointInTime Restore. diff --git a/src/PostgreSql/examples/Start-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/examples/Start-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..b0ea5e58a3b7 --- /dev/null +++ b/src/PostgreSql/examples/Start-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,14 @@ +### Example 1: Start the server by resource name +```powershell +PS C:\> Start-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -Name postgresql-test +``` + +Start the server by name + +### Example 2: Start the server by identity +```powershell +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test" +PS C:\> Start-AzPostgreSqlFlexibleServer -InputObject $ID +``` + +Start the server by identity diff --git a/src/PostgreSql/examples/Stop-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/examples/Stop-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..7b1e5010b67c --- /dev/null +++ b/src/PostgreSql/examples/Stop-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,15 @@ + +### Example 1: Stop the server by resource name +```powershell +PS C:\> Stop-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -Name postgresql-test +``` + +Stop the server by name + +### Example 2: Stop the server by identity +```powershell +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test" +PS C:\> Stop-AzPostgreSqlFlexibleServer -InputObject $ID +``` + +Stop the server by identity diff --git a/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..abe60be1c4ff --- /dev/null +++ b/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,21 @@ +### Example 1: Update PostgreSql server by resource group and server name +```powershell +PS C:\> Update-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -Name postgresql-test -Sku Standard_D4s_v3 + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +postgresql-test-11 eastus PostgreSql_test 12 5120 Standard_D4s_v3 GeneralPurpose +``` + +This cmdlet updates PostgreSql server by resource group and server name. + +### Example 2: Update PostgreSql server by identity. +```powershell +PS C:\> Get-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test | Update-AzPostgreSqlFlexibleServer -BackupRetentionDay 23 -StorageMb 10240 + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +postgresql-test-11 eastus PostgreSql_test 12 5120 Standard_D2ds_v4 GeneralPurpose +``` + +This cmdlet updates PostgreSql server by identity. diff --git a/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServerConfiguration.md b/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServerConfiguration.md new file mode 100644 index 000000000000..09900236b420 --- /dev/null +++ b/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServerConfiguration.md @@ -0,0 +1,23 @@ +### Example 1: Update PostgreSql configuration by name +```powershell +PS C:\> Update-AzPostgreSqlFlexibleServer -Name work_mem -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test -Value 15 + +Name Value DefaultValue Source AllowedValues DataType +---- ------ ------------ ------- ------------- --------- +work_mem 10240 4096 user-override 4096-2097151 Integer +``` + +This cmdlet updates PostgreSql configuration by name. + +### Example 2: Update PostgreSql configuration by identity. +```powershell +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSql/flexibleServers/PostgreSql-test/configurations/wait_timeout" +PS C:\> Update-AzPostgreSqlFlexibleServer -InputObject $ID -Value 10240 + +Name Value DefaultValue Source AllowedValues DataType +---- ------ ------------ ------- ------------- --------- +work_mem 10240 4096 system-default 4096-2097151 Integer +``` + +These cmdlets update PostgreSql configuration by identity. + diff --git a/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServerFirewallRule.md new file mode 100644 index 000000000000..20121400a721 --- /dev/null +++ b/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServerFirewallRule.md @@ -0,0 +1,22 @@ +### Example 1: Update PostgreSql Firewall Rule by name +```powershell +PS C:\> Update-AzPostgreSqlFlexibleServerFirewallRule -Name rule -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 + +Name StartIPAddress EndIPAddress +---- -------------- ------------ +rule 0.0.0.2 0.0.0.3 +``` + +This cmdlet updates PostgreSql Firewall Rule by name. + +### Example 2: Update PostgreSql Firewall Rule by identity. +```powershell +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test/firewallRules/rule" +PS C:\> Update-AzPostgreSqlFlexibleServerFirewallRule -InputObject $ID -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 + +Name StartIPAddress EndIPAddress +---- -------------- ------------ +rule 0.0.0.2 0.0.0.3 +``` + +These cmdlets update PostgreSql Firewall Rule by identity. diff --git a/src/PostgreSql/readme.md b/src/PostgreSql/readme.md index 77f4c8b85424..35c71231f83c 100644 --- a/src/PostgreSql/readme.md +++ b/src/PostgreSql/readme.md @@ -62,6 +62,9 @@ directive: - from: swagger-document where: $.paths..operationId transform: return $.replace(/^CheckNameAvailability_Execute$/g, "NameAvailability_Test") + - from: swagger-document + where: $.paths..operationId + transform: return $.replace(/^LocationBasedCapabilities_Execute$/g, "LocationBasedCapabilities_Get") - from: Microsoft.DBforPostgreSQL/stable/2017-12-01/postgresql.json where: $.definitions.VirtualNetworkRule transform: $['required'] = ['properties'] @@ -73,15 +76,15 @@ directive: transform: return $.replace(/^(FirewallRules|Configurations|NameAvailabilities|LocationBasedCapabilities)_/g, "flexibleServer$1_") - from: Microsoft.DBforPostgreSQL/preview/2020-02-14-preview/postgresql.json where: $.paths..operationId - transform: return $.replace(/^CheckVirtualNetworkSubnetUsage_Execute$/g,"flexibleServerVirtualNetworkSubnetUsage_Get") + transform: return $.replace(/^VirtualNetworkSubnetUsage_Execute$/g,"flexibleServerVirtualNetworkSubnetUsage_Get") - from: Microsoft.DBforMySQL/preview/2020-07-01-preview/mysql.json where: verb: Restore$ subject: ^FlexibleServer$ hide: true - where: - verb: Invoke$ - subject: ^ExecuteFlexibleServerVirtualNetworkSubnetUsage$|^ExecuteFlexibleServerLocationBasedCapabilities$ + verb: Get$ + subject: ^FlexibleServerVirtualNetworkSubnetUsage$ hide: true - where: verb: Test$ From eee92704d2e265eb381b9185ef6c86dcb5b0fac9 Mon Sep 17 00:00:00 2001 From: Daeun Yim Date: Wed, 11 Nov 2020 10:41:36 -0800 Subject: [PATCH 12/51] initial commit for mysql pg module --- ...ate-AzMySqlFlexibleServerConfiguration.ps1 | 138 ++ src/MySql/docs/Az.MySql.md | 4 +- .../Get-AzMySqlFlexibleServerConfiguration.md | 24 +- .../docs/Get-AzMySqlFlexibleServerDatabase.md | 2 +- .../Get-AzMySqlFlexibleServerFirewallRule.md | 2 +- ...date-AzMySqlFlexibleServerConfiguration.md | 76 +- .../Update-AzMySqlFlexibleServerDatabase.md | 2 +- .../Get-AzMySqlFlexibleServerConfiguration.md | 24 +- .../Get-AzMySqlFlexibleServerDatabase.md | 2 +- .../Get-AzMySqlFlexibleServerFirewallRule.md | 4 +- .../examples/Restart-AzMySqlFlexibleServer.md | 2 +- .../examples/Start-AzMySqlFlexibleServer.md | 2 +- .../examples/Stop-AzMySqlFlexibleServer.md | 2 +- ...date-AzMySqlFlexibleServerConfiguration.md | 2 +- .../Update-AzMySqlFlexibleServerDatabase.md | 2 +- src/MySql/examples/readme.md | 11 - src/MySql/readme.md | 4 + src/MySql/test/Az.MySql-TestResults.xml | 216 +- .../Get-AzMySqlConfiguration.Recording.json | 93 +- ...Get-AzMySqlConnectionString.Recording.json | 288 +-- .../Get-AzMySqlFirewallRule.Recording.json | 798 +----- .../Get-AzMySqlFlexibleServer.Recording.json | 158 ++ .../test/Get-AzMySqlFlexibleServer.Tests.ps1 | 43 + ...FlexibleServerConfiguration.Recording.json | 119 + ...MySqlFlexibleServerConfiguration.Tests.ps1 | 36 + ...MySqlFlexibleServerDatabase.Recording.json | 356 +++ ...et-AzMySqlFlexibleServerDatabase.Tests.ps1 | 40 + ...lFlexibleServerFirewallRule.Recording.json | 355 +++ ...zMySqlFlexibleServerFirewallRule.Tests.ps1 | 40 + ...bleServerLocationBasedCapability.Tests.ps1 | 18 + ...zMySqlFlexibleServerReplica.Recording.json | 357 +++ ...Get-AzMySqlFlexibleServerReplica.Tests.ps1 | 23 + .../test/Get-AzMySqlReplica.Recording.json | 980 +------- .../test/Get-AzMySqlServer.Recording.json | 113 +- ...t-AzMySqlVirtualNetworkRule.Recording.json | 798 +----- .../New-AzMySqlFirewallRule.Recording.json | 675 +---- .../New-AzMySqlFlexibleServer.Recording.json | 398 +++ .../test/New-AzMySqlFlexibleServer.Tests.ps1 | 26 + ...MySqlFlexibleServerDatabase.Recording.json | 239 ++ ...ew-AzMySqlFlexibleServerDatabase.Tests.ps1 | 24 + ...lFlexibleServerFirewallRule.Recording.json | 710 ++++++ ...zMySqlFlexibleServerFirewallRule.Tests.ps1 | 39 + ...zMySqlFlexibleServerReplica.Recording.json | 357 +++ ...New-AzMySqlFlexibleServerReplica.Tests.ps1 | 24 + .../test/New-AzMySqlServer.Recording.json | 278 --- src/MySql/test/New-AzMySqlServer.Tests.ps1 | 3 + .../New-AzMySqlServerReplica.Recording.json | 1021 +------- ...w-AzMySqlVirtualNetworkRule.Recording.json | 227 +- .../Remove-AzMySqlFirewallRule.Recording.json | 474 ---- ...emove-AzMySqlFlexibleServer.Recording.json | 437 ++++ .../Remove-AzMySqlFlexibleServer.Tests.ps1 | 29 + ...MySqlFlexibleServerDatabase.Recording.json | 476 ++++ ...ve-AzMySqlFlexibleServerDatabase.Tests.ps1 | 29 + ...lFlexibleServerFirewallRule.Recording.json | 474 ++++ ...zMySqlFlexibleServerFirewallRule.Tests.ps1 | 25 + .../test/Remove-AzMySqlServer.Recording.json | 554 ----- ...e-AzMySqlVirtualNetworkRule.Recording.json | 454 +--- ...start-AzMySqlFlexibleServer.Recording.json | 244 ++ .../Restart-AzMySqlFlexibleServer.Tests.ps1 | 27 + .../test/Restart-AzMySqlServer.Recording.json | 482 ---- ...store-AzMySqlFlexibleServer.Recording.json | 157 ++ .../Restore-AzMySqlFlexibleServer.Tests.ps1 | 21 + .../test/Restore-AzMySqlServer.Recording.json | 2170 +---------------- ...Start-AzMySqlFlexibleServer.Recording.json | 244 ++ .../Start-AzMySqlFlexibleServer.Tests.ps1 | 29 + .../Stop-AzMySqlFlexibleServer.Recording.json | 123 + .../test/Stop-AzMySqlFlexibleServer.Tests.ps1 | 27 + ...Update-AzMySqlConfiguration.Recording.json | 225 +- .../Update-AzMySqlFirewallRule.Recording.json | 686 +----- ...pdate-AzMySqlFlexibleServer.Recording.json | 234 ++ .../Update-AzMySqlFlexibleServer.Tests.ps1 | 29 + ...FlexibleServerConfiguration.Recording.json | 234 ++ ...MySqlFlexibleServerConfiguration.Tests.ps1 | 27 + ...MySqlFlexibleServerDatabase.Recording.json | 471 ++++ ...te-AzMySqlFlexibleServerDatabase.Tests.ps1 | 33 + ...lFlexibleServerFirewallRule.Recording.json | 582 +++++ ...zMySqlFlexibleServerFirewallRule.Tests.ps1 | 41 + .../test/Update-AzMySqlServer.Recording.json | 252 +- ...e-AzMySqlVirtualNetworkRule.Recording.json | 686 +----- src/MySql/test/env.json | 20 +- src/MySql/test/utils.ps1 | 16 +- src/PostgreSql/docs/Az.PostgreSql.md | 2 +- .../docs/Get-AzPostgreSqlFlexibleServer.md | 44 +- ...AzPostgreSqlFlexibleServerConfiguration.md | 22 +- ...-AzPostgreSqlFlexibleServerFirewallRule.md | 33 +- ...qlFlexibleServerLocationBasedCapability.md | 37 +- .../docs/New-AzPostgreSqlFlexibleServer.md | 72 +- ...-AzPostgreSqlFlexibleServerFirewallRule.md | 31 +- .../docs/Remove-AzPostgreSqlFlexibleServer.md | 17 +- ...-AzPostgreSqlFlexibleServerFirewallRule.md | 17 +- .../Restart-AzPostgreSqlFlexibleServer.md | 17 +- .../Restore-AzPostgreSqlFlexibleServer.md | 20 +- .../docs/Start-AzPostgreSqlFlexibleServer.md | 17 +- .../docs/Stop-AzPostgreSqlFlexibleServer.md | 17 +- .../docs/Update-AzPostgreSqlFlexibleServer.md | 20 +- ...AzPostgreSqlFlexibleServerConfiguration.md | 21 +- ...-AzPostgreSqlFlexibleServerFirewallRule.md | 21 +- ...AzPostgreSqlFlexibleServerConfiguration.md | 4 +- .../Restart-AzPostgreSqlFlexibleServer.md | 2 +- .../Restore-AzPostgreSqlFlexibleServer.md | 4 +- .../Start-AzPostgreSqlFlexibleServer.md | 2 +- .../Stop-AzPostgreSqlFlexibleServer.md | 2 +- ...t-AzPostgreSqlConfiguration.Recording.json | 93 +- ...zPostgreSqlConnectionString.Recording.json | 366 +-- ...et-AzPostgreSqlFirewallRule.Recording.json | 786 +----- ...-AzPostgreSqlFlexibleServer.Recording.json | 158 ++ .../Get-AzPostgreSqlFlexibleServer.Tests.ps1 | 43 + ...FlexibleServerConfiguration.Recording.json | 119 + ...reSqlFlexibleServerConfiguration.Tests.ps1 | 36 + ...lFlexibleServerFirewallRule.Recording.json | 355 +++ ...greSqlFlexibleServerFirewallRule.Tests.ps1 | 40 + ...bleServerLocationBasedCapability.Tests.ps1 | 22 + .../New-AzPostgreSqlFlexibleServer.Tests.ps1 | 25 + ...lFlexibleServerFirewallRule.Recording.json | 710 ++++++ ...greSqlFlexibleServerFirewallRule.Tests.ps1 | 39 + ...-AzPostgreSqlFlexibleServer.Recording.json | 190 ++ ...emove-AzPostgreSqlFlexibleServer.Tests.ps1 | 29 + ...lFlexibleServerFirewallRule.Recording.json | 474 ++++ ...greSqlFlexibleServerFirewallRule.Tests.ps1 | 25 + ...-AzPostgreSqlFlexibleServer.Recording.json | 244 ++ ...start-AzPostgreSqlFlexibleServer.Tests.ps1 | 27 + ...store-AzPostgreSqlFlexibleServer.Tests.ps1 | 21 + ...-AzPostgreSqlFlexibleServer.Recording.json | 484 ++++ ...Start-AzPostgreSqlFlexibleServer.Tests.ps1 | 29 + ...-AzPostgreSqlFlexibleServer.Recording.json | 123 + .../Stop-AzPostgreSqlFlexibleServer.Tests.ps1 | 27 + ...-AzPostgreSqlFlexibleServer.Recording.json | 234 ++ ...pdate-AzPostgreSqlFlexibleServer.Tests.ps1 | 29 + ...reSqlFlexibleServerConfiguration.Tests.ps1 | 27 + ...lFlexibleServerFirewallRule.Recording.json | 466 ++++ ...greSqlFlexibleServerFirewallRule.Tests.ps1 | 41 + src/PostgreSql/test/env.json | 16 +- src/PostgreSql/test/utils.ps1 | 11 +- 133 files changed, 12406 insertions(+), 12472 deletions(-) create mode 100644 src/MySql/custom/Update-AzMySqlFlexibleServerConfiguration.ps1 delete mode 100644 src/MySql/examples/readme.md create mode 100644 src/MySql/test/Get-AzMySqlFlexibleServer.Recording.json create mode 100644 src/MySql/test/Get-AzMySqlFlexibleServer.Tests.ps1 create mode 100644 src/MySql/test/Get-AzMySqlFlexibleServerConfiguration.Recording.json create mode 100644 src/MySql/test/Get-AzMySqlFlexibleServerConfiguration.Tests.ps1 create mode 100644 src/MySql/test/Get-AzMySqlFlexibleServerDatabase.Recording.json create mode 100644 src/MySql/test/Get-AzMySqlFlexibleServerDatabase.Tests.ps1 create mode 100644 src/MySql/test/Get-AzMySqlFlexibleServerFirewallRule.Recording.json create mode 100644 src/MySql/test/Get-AzMySqlFlexibleServerFirewallRule.Tests.ps1 create mode 100644 src/MySql/test/Get-AzMySqlFlexibleServerLocationBasedCapability.Tests.ps1 create mode 100644 src/MySql/test/Get-AzMySqlFlexibleServerReplica.Recording.json create mode 100644 src/MySql/test/Get-AzMySqlFlexibleServerReplica.Tests.ps1 create mode 100644 src/MySql/test/New-AzMySqlFlexibleServer.Recording.json create mode 100644 src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 create mode 100644 src/MySql/test/New-AzMySqlFlexibleServerDatabase.Recording.json create mode 100644 src/MySql/test/New-AzMySqlFlexibleServerDatabase.Tests.ps1 create mode 100644 src/MySql/test/New-AzMySqlFlexibleServerFirewallRule.Recording.json create mode 100644 src/MySql/test/New-AzMySqlFlexibleServerFirewallRule.Tests.ps1 create mode 100644 src/MySql/test/New-AzMySqlFlexibleServerReplica.Recording.json create mode 100644 src/MySql/test/New-AzMySqlFlexibleServerReplica.Tests.ps1 delete mode 100644 src/MySql/test/New-AzMySqlServer.Recording.json delete mode 100644 src/MySql/test/Remove-AzMySqlFirewallRule.Recording.json create mode 100644 src/MySql/test/Remove-AzMySqlFlexibleServer.Recording.json create mode 100644 src/MySql/test/Remove-AzMySqlFlexibleServer.Tests.ps1 create mode 100644 src/MySql/test/Remove-AzMySqlFlexibleServerDatabase.Recording.json create mode 100644 src/MySql/test/Remove-AzMySqlFlexibleServerDatabase.Tests.ps1 create mode 100644 src/MySql/test/Remove-AzMySqlFlexibleServerFirewallRule.Recording.json create mode 100644 src/MySql/test/Remove-AzMySqlFlexibleServerFirewallRule.Tests.ps1 delete mode 100644 src/MySql/test/Remove-AzMySqlServer.Recording.json create mode 100644 src/MySql/test/Restart-AzMySqlFlexibleServer.Recording.json create mode 100644 src/MySql/test/Restart-AzMySqlFlexibleServer.Tests.ps1 delete mode 100644 src/MySql/test/Restart-AzMySqlServer.Recording.json create mode 100644 src/MySql/test/Restore-AzMySqlFlexibleServer.Recording.json create mode 100644 src/MySql/test/Restore-AzMySqlFlexibleServer.Tests.ps1 create mode 100644 src/MySql/test/Start-AzMySqlFlexibleServer.Recording.json create mode 100644 src/MySql/test/Start-AzMySqlFlexibleServer.Tests.ps1 create mode 100644 src/MySql/test/Stop-AzMySqlFlexibleServer.Recording.json create mode 100644 src/MySql/test/Stop-AzMySqlFlexibleServer.Tests.ps1 create mode 100644 src/MySql/test/Update-AzMySqlFlexibleServer.Recording.json create mode 100644 src/MySql/test/Update-AzMySqlFlexibleServer.Tests.ps1 create mode 100644 src/MySql/test/Update-AzMySqlFlexibleServerConfiguration.Recording.json create mode 100644 src/MySql/test/Update-AzMySqlFlexibleServerConfiguration.Tests.ps1 create mode 100644 src/MySql/test/Update-AzMySqlFlexibleServerDatabase.Recording.json create mode 100644 src/MySql/test/Update-AzMySqlFlexibleServerDatabase.Tests.ps1 create mode 100644 src/MySql/test/Update-AzMySqlFlexibleServerFirewallRule.Recording.json create mode 100644 src/MySql/test/Update-AzMySqlFlexibleServerFirewallRule.Tests.ps1 create mode 100644 src/PostgreSql/test/Get-AzPostgreSqlFlexibleServer.Recording.json create mode 100644 src/PostgreSql/test/Get-AzPostgreSqlFlexibleServer.Tests.ps1 create mode 100644 src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerConfiguration.Recording.json create mode 100644 src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerConfiguration.Tests.ps1 create mode 100644 src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerFirewallRule.Recording.json create mode 100644 src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 create mode 100644 src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerLocationBasedCapability.Tests.ps1 create mode 100644 src/PostgreSql/test/New-AzPostgreSqlFlexibleServer.Tests.ps1 create mode 100644 src/PostgreSql/test/New-AzPostgreSqlFlexibleServerFirewallRule.Recording.json create mode 100644 src/PostgreSql/test/New-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 create mode 100644 src/PostgreSql/test/Remove-AzPostgreSqlFlexibleServer.Recording.json create mode 100644 src/PostgreSql/test/Remove-AzPostgreSqlFlexibleServer.Tests.ps1 create mode 100644 src/PostgreSql/test/Remove-AzPostgreSqlFlexibleServerFirewallRule.Recording.json create mode 100644 src/PostgreSql/test/Remove-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 create mode 100644 src/PostgreSql/test/Restart-AzPostgreSqlFlexibleServer.Recording.json create mode 100644 src/PostgreSql/test/Restart-AzPostgreSqlFlexibleServer.Tests.ps1 create mode 100644 src/PostgreSql/test/Restore-AzPostgreSqlFlexibleServer.Tests.ps1 create mode 100644 src/PostgreSql/test/Start-AzPostgreSqlFlexibleServer.Recording.json create mode 100644 src/PostgreSql/test/Start-AzPostgreSqlFlexibleServer.Tests.ps1 create mode 100644 src/PostgreSql/test/Stop-AzPostgreSqlFlexibleServer.Recording.json create mode 100644 src/PostgreSql/test/Stop-AzPostgreSqlFlexibleServer.Tests.ps1 create mode 100644 src/PostgreSql/test/Update-AzPostgreSqlFlexibleServer.Recording.json create mode 100644 src/PostgreSql/test/Update-AzPostgreSqlFlexibleServer.Tests.ps1 create mode 100644 src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerConfiguration.Tests.ps1 create mode 100644 src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerFirewallRule.Recording.json create mode 100644 src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 diff --git a/src/MySql/custom/Update-AzMySqlFlexibleServerConfiguration.ps1 b/src/MySql/custom/Update-AzMySqlFlexibleServerConfiguration.ps1 new file mode 100644 index 000000000000..ac805f2225cb --- /dev/null +++ b/src/MySql/custom/Update-AzMySqlFlexibleServerConfiguration.ps1 @@ -0,0 +1,138 @@ +function Update-AzMySqlFlexibleServerConfiguration { + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IConfigurationAutoGenerated])] + [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +param( + [Parameter(ParameterSetName='Update', Mandatory)] + [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] + [Alias('ConfigurationName')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [System.String] + # The name of the server configuration. + ${Name}, + + [Parameter(ParameterSetName='Update', Mandatory)] + [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [System.String] + # The name of the resource group. + # The name is case insensitive. + ${ResourceGroupName}, + + [Parameter(ParameterSetName='Update', Mandatory)] + [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [System.String] + # The name of the server. + ${ServerName}, + + [Parameter(ParameterSetName='Update')] + [Parameter(ParameterSetName='UpdateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String] + # The ID of the target subscription. + ${SubscriptionId}, + + [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity] + # Identity Parameter + # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + ${InputObject}, + + [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IConfigurationAutoGenerated] + # Represents a Configuration. + # To construct, see NOTES section for PARAMETER properties and create a hash table. + ${Parameter}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [Parameter(HelpMessage = 'The source of the updating value. The default value is user-override')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.String] + # Source of the configuration. + ${Source}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.String] + # Value of the configuration. + ${Value}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Azure')] + [System.Management.Automation.PSObject] + # The credentials, account, tenant, and subscription used for communication with Azure. + ${DefaultProfile}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command as a job + ${AsJob}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command asynchronously + ${NoWait}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} +) + +process { + try { + if(!$PSBoundParameters.ContainsKey('Source')) + { + $PSBoundParameters.Source = 'user-override' + } + Az.MySql.internal\Update-AzMySqlFlexibleServerConfiguration @PSBoundParameters + } catch { + throw + } +} +} \ No newline at end of file diff --git a/src/MySql/docs/Az.MySql.md b/src/MySql/docs/Az.MySql.md index 499b13261611..1677b8b41651 100644 --- a/src/MySql/docs/Az.MySql.md +++ b/src/MySql/docs/Az.MySql.md @@ -1,6 +1,6 @@ --- Module Name: Az.MySql -Module Guid: 364024d1-7eb3-40de-8ccc-62bbc67820d6 +Module Guid: 76b5feb1-33ce-4d47-8f6a-037908babd06 Download Help Link: https://docs.microsoft.com/en-us/powershell/module/az.mysql Help Version: 1.0.0.0 Locale: en-US @@ -120,7 +120,7 @@ The request body can contain one to many of the properties present in the normal Use Update-AzMySqlConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count. ### [Update-AzMySqlFlexibleServerConfiguration](Update-AzMySqlFlexibleServerConfiguration.md) -Updates a configuration of a server. + ### [Update-AzMySqlFlexibleServerDatabase](Update-AzMySqlFlexibleServerDatabase.md) Creates a new database or updates an existing database. diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServerConfiguration.md b/src/MySql/docs/Get-AzMySqlFlexibleServerConfiguration.md index bada4ae12539..51ff9d91a78a 100644 --- a/src/MySql/docs/Get-AzMySqlFlexibleServerConfiguration.md +++ b/src/MySql/docs/Get-AzMySqlFlexibleServerConfiguration.md @@ -35,7 +35,20 @@ Gets information about a configuration of server. ## EXAMPLES -### Example 1: Get specified MySql configuration by name +### Example 1: List all configurations in specified MySql server +```powershell +PS C:\> Get-AzMySqlFlexibleServerConfiguration -ResourceGroupName PowershellMySqlTest -ServerName mysql-test + +Name Value DefaultValue Source AllowedValues DataType +---- ------ ------------ ------- ------------- --------- +archive OFF OFF system-default ON, OFF Enumeration +... +wait_timeout 28800 28800 system-default 1-31536000 Integer +``` + +This cmdlet lists all configurations in specified MySql server. + +### Example 2: Get specified MySql configuration by name ```powershell PS C:\> Get-AzMySqlFlexibleServerConfiguration -Name wait_timeout -ResourceGroupName PowershellMySqlTest -ServerName mysql-test @@ -46,18 +59,17 @@ wait_timeout 28800 28800 system-default 1-31536000 Integer This cmdlet gets specified MySql configuration by name. -### Example 2: List all configurations in specified MySql server +### Example 3: List configuration by identity ```powershell -PS C:\> Get-AzMySqlFlexibleServerConfiguration -ResourceGroupName PowershellMySqlTest -ServerName mysql-test +PS C:\> $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySql/flexibleServers/$($env.serverName)/configurations/wait_timeout" +Get-AzMySqlFlexibleServerConfiguration -Name wait_timeout -ResourceGroupName PowershellMySqlTest -ServerName mysql-test Name Value DefaultValue Source AllowedValues DataType ---- ------ ------------ ------- ------------- --------- -archive OFF OFF system-default ON, OFF Enumeration -... wait_timeout 28800 28800 system-default 1-31536000 Integer ``` -This cmdlet lists all configurations in specified MySql server. +This cmdlet gets specified MySql configuration by identity. ## PARAMETERS diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServerDatabase.md b/src/MySql/docs/Get-AzMySqlFlexibleServerDatabase.md index d8d1d47f21ea..2a415e00e5c5 100644 --- a/src/MySql/docs/Get-AzMySqlFlexibleServerDatabase.md +++ b/src/MySql/docs/Get-AzMySqlFlexibleServerDatabase.md @@ -48,7 +48,7 @@ This cmdlet gets MySql server by resource name. ### Example 2: Get MySql databases by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test" PS C:\> Get-AzMySqlFlexibleServerDatabase -InputObject $ID Name Charset Collation diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServerFirewallRule.md b/src/MySql/docs/Get-AzMySqlFlexibleServerFirewallRule.md index c7e3bd9cc4db..06986c636935 100644 --- a/src/MySql/docs/Get-AzMySqlFlexibleServerFirewallRule.md +++ b/src/MySql/docs/Get-AzMySqlFlexibleServerFirewallRule.md @@ -48,7 +48,7 @@ This cmdlet gets firewall rules by name. ### Example 2: Get firewall rules by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/firewallRules/firewallrule-test" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/servers/mysql-test/firewallRules/firewallrule-test" PS C:\> Get-AzMySqlFlexibleServerFirewallRule -InputObject $ID FirewallRuleName StartIPAddress EndIPAddress diff --git a/src/MySql/docs/Update-AzMySqlFlexibleServerConfiguration.md b/src/MySql/docs/Update-AzMySqlFlexibleServerConfiguration.md index 8d1e2fc9280e..1fd0fc67cf21 100644 --- a/src/MySql/docs/Update-AzMySqlFlexibleServerConfiguration.md +++ b/src/MySql/docs/Update-AzMySqlFlexibleServerConfiguration.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Update-AzMySqlFlexibleServerConfiguration ## SYNOPSIS -Updates a configuration of a server. + ## SYNTAX @@ -19,6 +19,20 @@ Update-AzMySqlFlexibleServerConfiguration -Name -ResourceGroupName ] ``` +### Update +``` +Update-AzMySqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName + -Parameter [-SubscriptionId ] [-Source ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentity +``` +Update-AzMySqlFlexibleServerConfiguration -InputObject + -Parameter [-Source ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + ### UpdateViaIdentityExpanded ``` Update-AzMySqlFlexibleServerConfiguration -InputObject [-Source ] [-Value ] @@ -26,7 +40,7 @@ Update-AzMySqlFlexibleServerConfiguration -InputObject [-Source ``` ## DESCRIPTION -Updates a configuration of a server. + ## EXAMPLES @@ -43,7 +57,7 @@ This cmdlet updates MySql configuration by name. ### Example 2: Update MySql configuration by identity. ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test/configurations/wait_timeout" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/configurations/wait_timeout" PS C:\> Update-AzMySqlFlexibleServer -InputObject $ID -Value 150 Name Value DefaultValue Source AllowedValues DataType @@ -56,7 +70,7 @@ These cmdlets update MySql configuration by identity. ## PARAMETERS ### -AsJob -Run the command as a job + ```yaml Type: System.Management.Automation.SwitchParameter @@ -71,7 +85,7 @@ Accept wildcard characters: False ``` ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. + ```yaml Type: System.Management.Automation.PSObject @@ -86,12 +100,11 @@ Accept wildcard characters: False ``` ### -InputObject -Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity -Parameter Sets: UpdateViaIdentityExpanded +Parameter Sets: UpdateViaIdentity, UpdateViaIdentityExpanded Aliases: Required: True @@ -102,11 +115,11 @@ Accept wildcard characters: False ``` ### -Name -The name of the server configuration. + ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: Update, UpdateExpanded Aliases: ConfigurationName Required: True @@ -117,7 +130,7 @@ Accept wildcard characters: False ``` ### -NoWait -Run the command asynchronously + ```yaml Type: System.Management.Automation.SwitchParameter @@ -131,13 +144,27 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -Parameter +To construct, see NOTES section for PARAMETER properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IConfigurationAutoGenerated +Parameter Sets: Update, UpdateViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -ResourceGroupName -The name of the resource group. -The name is case insensitive. + ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: Update, UpdateExpanded Aliases: Required: True @@ -148,11 +175,11 @@ Accept wildcard characters: False ``` ### -ServerName -The name of the server. + ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: Update, UpdateExpanded Aliases: Required: True @@ -163,7 +190,8 @@ Accept wildcard characters: False ``` ### -Source -Source of the configuration. +The source of the updating value. +The default value is user-override ```yaml Type: System.String @@ -178,11 +206,11 @@ Accept wildcard characters: False ``` ### -SubscriptionId -The ID of the target subscription. + ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: Update, UpdateExpanded Aliases: Required: False @@ -193,11 +221,11 @@ Accept wildcard characters: False ``` ### -Value -Value of the configuration. + ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -243,6 +271,8 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IConfigurationAutoGenerated + ### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity ## OUTPUTS @@ -258,7 +288,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -INPUTOBJECT : Identity Parameter +INPUTOBJECT : - `[ConfigurationName ]`: The name of the server configuration. - `[DatabaseName ]`: The name of the database. - `[FirewallRuleName ]`: The name of the server firewall rule. @@ -271,5 +301,9 @@ INPUTOBJECT : Identity Parameter - `[SubscriptionId ]`: The ID of the target subscription. - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. +PARAMETER : + - `[Source ]`: Source of the configuration. + - `[Value ]`: Value of the configuration. + ## RELATED LINKS diff --git a/src/MySql/docs/Update-AzMySqlFlexibleServerDatabase.md b/src/MySql/docs/Update-AzMySqlFlexibleServerDatabase.md index be46a3d5466d..42aef88488c8 100644 --- a/src/MySql/docs/Update-AzMySqlFlexibleServerDatabase.md +++ b/src/MySql/docs/Update-AzMySqlFlexibleServerDatabase.md @@ -43,7 +43,7 @@ Update a database by resource name. ### Example 2: Update MySql database by parameter. ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/databases/databasetest" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/servers/mysql-test/databases/databasetest" PS C:\> Update-AzMySqlFlexibleServerDatabase -Parameter $ID -Charset utf8 Name Charset Collation diff --git a/src/MySql/examples/Get-AzMySqlFlexibleServerConfiguration.md b/src/MySql/examples/Get-AzMySqlFlexibleServerConfiguration.md index fcfd07b097a6..c25b48741760 100644 --- a/src/MySql/examples/Get-AzMySqlFlexibleServerConfiguration.md +++ b/src/MySql/examples/Get-AzMySqlFlexibleServerConfiguration.md @@ -1,4 +1,17 @@ -### Example 1: Get specified MySql configuration by name +### Example 1: List all configurations in specified MySql server +```powershell +PS C:\> Get-AzMySqlFlexibleServerConfiguration -ResourceGroupName PowershellMySqlTest -ServerName mysql-test + +Name Value DefaultValue Source AllowedValues DataType +---- ------ ------------ ------- ------------- --------- +archive OFF OFF system-default ON, OFF Enumeration +... +wait_timeout 28800 28800 system-default 1-31536000 Integer +``` + +This cmdlet lists all configurations in specified MySql server. + +### Example 2: Get specified MySql configuration by name ```powershell PS C:\> Get-AzMySqlFlexibleServerConfiguration -Name wait_timeout -ResourceGroupName PowershellMySqlTest -ServerName mysql-test @@ -9,15 +22,14 @@ wait_timeout 28800 28800 system-default 1-31536000 Integer This cmdlet gets specified MySql configuration by name. -### Example 2: List all configurations in specified MySql server +### Example 3: List configuration by identity ```powershell -PS C:\> Get-AzMySqlFlexibleServerConfiguration -ResourceGroupName PowershellMySqlTest -ServerName mysql-test +PS C:\> $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySql/flexibleServers/$($env.serverName)/configurations/wait_timeout" +Get-AzMySqlFlexibleServerConfiguration -Name wait_timeout -ResourceGroupName PowershellMySqlTest -ServerName mysql-test Name Value DefaultValue Source AllowedValues DataType ---- ------ ------------ ------- ------------- --------- -archive OFF OFF system-default ON, OFF Enumeration -... wait_timeout 28800 28800 system-default 1-31536000 Integer ``` -This cmdlet lists all configurations in specified MySql server. \ No newline at end of file +This cmdlet gets specified MySql configuration by identity. \ No newline at end of file diff --git a/src/MySql/examples/Get-AzMySqlFlexibleServerDatabase.md b/src/MySql/examples/Get-AzMySqlFlexibleServerDatabase.md index 063587d5ec8d..aae9780b97b2 100644 --- a/src/MySql/examples/Get-AzMySqlFlexibleServerDatabase.md +++ b/src/MySql/examples/Get-AzMySqlFlexibleServerDatabase.md @@ -11,7 +11,7 @@ This cmdlet gets MySql server by resource name. ### Example 2: Get MySql databases by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test" PS C:\> Get-AzMySqlFlexibleServerDatabase -InputObject $ID Name Charset Collation diff --git a/src/MySql/examples/Get-AzMySqlFlexibleServerFirewallRule.md b/src/MySql/examples/Get-AzMySqlFlexibleServerFirewallRule.md index f7dc0487fcd5..2716beac48bf 100644 --- a/src/MySql/examples/Get-AzMySqlFlexibleServerFirewallRule.md +++ b/src/MySql/examples/Get-AzMySqlFlexibleServerFirewallRule.md @@ -11,7 +11,7 @@ This cmdlet gets firewall rules by name. ### Example 2: Get firewall rules by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/firewallRules/firewallrule-test" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/servers/mysql-test/firewallRules/firewallrule-test" PS C:\> Get-AzMySqlFlexibleServerFirewallRule -InputObject $ID FirewallRuleName StartIPAddress EndIPAddress @@ -31,4 +31,4 @@ firewallrule-test 12.12.12.12 23.23.23.23 firewallrule-test2 12.12.12.15 23.23.23.25 ``` -This cmdlet lists all the firewall rule in specified MySql server. \ No newline at end of file +This cmdlet lists all the firewall rule in specified MySql server. diff --git a/src/MySql/examples/Restart-AzMySqlFlexibleServer.md b/src/MySql/examples/Restart-AzMySqlFlexibleServer.md index 07b0010a86a4..5edf353079b6 100644 --- a/src/MySql/examples/Restart-AzMySqlFlexibleServer.md +++ b/src/MySql/examples/Restart-AzMySqlFlexibleServer.md @@ -7,7 +7,7 @@ Restart the server by name ### Example 2: Restart the server by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test/restart" PS C:\> Restart-AzMySqlFlexibleServer -InputObject $ID ``` diff --git a/src/MySql/examples/Start-AzMySqlFlexibleServer.md b/src/MySql/examples/Start-AzMySqlFlexibleServer.md index 8af2208d92f8..7aaf7582e5a4 100644 --- a/src/MySql/examples/Start-AzMySqlFlexibleServer.md +++ b/src/MySql/examples/Start-AzMySqlFlexibleServer.md @@ -7,7 +7,7 @@ Start the server by name ### Example 2: Start the server by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test/start" PS C:\> Start-AzMySqlFlexibleServer -InputObject $ID ``` diff --git a/src/MySql/examples/Stop-AzMySqlFlexibleServer.md b/src/MySql/examples/Stop-AzMySqlFlexibleServer.md index 673058dfec24..dbf88001bf4d 100644 --- a/src/MySql/examples/Stop-AzMySqlFlexibleServer.md +++ b/src/MySql/examples/Stop-AzMySqlFlexibleServer.md @@ -8,7 +8,7 @@ Stop the server by name ### Example 2: Stop the server by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test/stop" PS C:\> Stop-AzMySqlFlexibleServer -InputObject $ID ``` diff --git a/src/MySql/examples/Update-AzMySqlFlexibleServerConfiguration.md b/src/MySql/examples/Update-AzMySqlFlexibleServerConfiguration.md index ecc1a327b439..2a2345ea23cc 100644 --- a/src/MySql/examples/Update-AzMySqlFlexibleServerConfiguration.md +++ b/src/MySql/examples/Update-AzMySqlFlexibleServerConfiguration.md @@ -11,7 +11,7 @@ This cmdlet updates MySql configuration by name. ### Example 2: Update MySql configuration by identity. ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test/configurations/wait_timeout" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/configurations/wait_timeout" PS C:\> Update-AzMySqlFlexibleServer -InputObject $ID -Value 150 Name Value DefaultValue Source AllowedValues DataType diff --git a/src/MySql/examples/Update-AzMySqlFlexibleServerDatabase.md b/src/MySql/examples/Update-AzMySqlFlexibleServerDatabase.md index e0dd92ec2e65..623e96310a29 100644 --- a/src/MySql/examples/Update-AzMySqlFlexibleServerDatabase.md +++ b/src/MySql/examples/Update-AzMySqlFlexibleServerDatabase.md @@ -10,7 +10,7 @@ Update a database by resource name. ### Example 2: Update MySql database by parameter. ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/databases/databasetest" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/servers/mysql-test/databases/databasetest" PS C:\> Update-AzMySqlFlexibleServerDatabase -Parameter $ID -Charset utf8 Name Charset Collation diff --git a/src/MySql/examples/readme.md b/src/MySql/examples/readme.md deleted file mode 100644 index ac871d71fc72..000000000000 --- a/src/MySql/examples/readme.md +++ /dev/null @@ -1,11 +0,0 @@ -# Examples -This directory contains examples from the exported cmdlets of the module. When `build-module.ps1` is ran, example stub files will be generated here. If your module support Azure Profiles, the example stubs will be in individual profile folders. These example stubs should be updated to show how the cmdlet is used. The examples are imported into the documentation when `generate-help.ps1` is ran. - -## Info -- Modifiable: yes -- Generated: partial -- Committed: yes -- Packaged: no - -## Purpose -This separates the example documentation details from the generated documentation information provided directly from the generated cmdlets. Since the cmdlets don't have examples from the REST spec, this provides a means to add examples easily. The example stubs provide the markdown format that is required. The 3 core elements are: the name of the example, the code information of the example, and the description of the example. That information, if the markdown format is followed, will be available to documentation generation and be part of the documents in the `..\docs` folder. \ No newline at end of file diff --git a/src/MySql/readme.md b/src/MySql/readme.md index a944f15bfdc5..368af7d69f41 100644 --- a/src/MySql/readme.md +++ b/src/MySql/readme.md @@ -99,6 +99,10 @@ directive: verb: New$|Update$ subject: ^Server$|^Configuration$|^FirewallRule$|^FlexibleServer$|^FlexibleServerFirewallRule$ hide: true + - where: + verb: Update$ + subject: ^FlexibleServerConfiguration$ + hide: true - where: verb: New$ variant: ^Create$|^CreateViaIdentity diff --git a/src/MySql/test/Az.MySql-TestResults.xml b/src/MySql/test/Az.MySql-TestResults.xml index 59c73b1999bf..04297cda91d1 100644 --- a/src/MySql/test/Az.MySql-TestResults.xml +++ b/src/MySql/test/Az.MySql-TestResults.xml @@ -1,197 +1,31 @@  - - + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + Expected no exception to be thrown, but an exception "[OperationFailed] : Operation Restart failed, because server mysql-test-100 is busy with other operations." was thrown from C:\Users\daeunyim\work\azure-powershell\src\MySql\test\Restart-AzMySqlFlexibleServer.Tests.ps1:17 char:13 + + Restart-AzMySqlFlexibleServer -ResourceGroupName $env.res … + + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~. + at <ScriptBlock>, C:\Users\daeunyim\work\azure-powershell\src\MySql\test\Restart-AzMySqlFlexibleServer.Tests.ps1: line 18 +18: } | Should -Not -Throw + + + + + Expected no exception to be thrown, but an exception "[OperationFailed] : Operation Restart failed, because server mysql-test-100 is busy with other operations." was thrown from C:\Users\daeunyim\work\azure-powershell\src\MySql\test\Restart-AzMySqlFlexibleServer.Tests.ps1:24 char:13 + + Restart-AzMySqlFlexibleServer -InputObject $ID + + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~. + at <ScriptBlock>, C:\Users\daeunyim\work\azure-powershell\src\MySql\test\Restart-AzMySqlFlexibleServer.Tests.ps1: line 25 +25: } | Should -Not -Throw + + diff --git a/src/MySql/test/Get-AzMySqlConfiguration.Recording.json b/src/MySql/test/Get-AzMySqlConfiguration.Recording.json index 0849b54d8500..948d7fbc3098 100644 --- a/src/MySql/test/Get-AzMySqlConfiguration.Recording.json +++ b/src/MySql/test/Get-AzMySqlConfiguration.Recording.json @@ -1,53 +1,14 @@ { - "Get-AzMySqlConfiguration+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations?api-version=2017-12-01+1": { + "Get-AzMySqlConfiguration+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "1" ], - "x-ms-client-request-id": [ "a45b33cb-c5e1-40b1-9bfc-9a987932a5e5" ], - "CommandName": [ "Get-AzMySqlConfiguration" ], - "FullCommandName": [ "Get-AzMySqlConfiguration_List" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "d10ec4f7-ff7a-4a42-a932-cf3e51a792cd" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], - "x-ms-correlation-request-id": [ "9f628787-a5c0-4594-844a-839f207f05c1" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T051316Z:9f628787-a5c0-4594-844a-839f207f05c1" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 05:13:15 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "102078" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"value\":[{\"properties\":{\"value\":\"OFF\",\"description\":\"Allow to audit the log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/audit_log_enabled\",\"name\":\"audit_log_enabled\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"CONNECTION\",\"description\":\"Select the events to audit logs.\",\"defaultValue\":\"CONNECTION\",\"dataType\":\"Set\",\"allowedValues\":\"DDL,DML_SELECT,DML_NONSELECT,DCL,ADMIN,DML,GENERAL,CONNECTION,TABLE_ACCESS\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/audit_log_events\",\"name\":\"audit_log_events\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"azure_superuser\",\"description\":\"The comma-separated user list whose commands will not be in the audit logs.\",\"defaultValue\":\"azure_superuser\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/audit_log_exclude_users\",\"name\":\"audit_log_exclude_users\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"The comma-separated user list whose commands will be in the audit logs. It takes higher priority if the same user name is found in audit_log_exclude_users.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/audit_log_include_users\",\"name\":\"audit_log_include_users\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The number of seconds for automatic binary log file removal. The default is 0, which means no automatic removal. Possible removals happen at startup and when the binary log is flushed.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/binlog_expire_logs_seconds\",\"name\":\"binlog_expire_logs_seconds\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Controls how many microseconds the binary log commit waits before synchronizing the binary log file to disk.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0,11-1000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/binlog_group_commit_sync_delay\",\"name\":\"binlog_group_commit_sync_delay\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The maximum number of transactions to wait for before aborting the current delay as specified by binlog-group-commit-sync-delay.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/binlog_group_commit_sync_no_delay_count\",\"name\":\"binlog_group_commit_sync_no_delay_count\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"minimal\",\"description\":\"For MySQL row-based replication, this variable determines how row images are written to the binary log.\",\"defaultValue\":\"minimal\",\"dataType\":\"Enumeration\",\"allowedValues\":\"full,minimal,noblob\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/binlog_row_image\",\"name\":\"binlog_row_image\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"30\",\"description\":\"The binlog max capacity for stop.\",\"defaultValue\":\"30\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/binlog_sum_size_for_stop_pct_max\",\"name\":\"binlog_sum_size_for_stop_pct_max\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"latin1\",\"description\":\"Use charset_name as the default server character set.\",\"defaultValue\":\"latin1\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ARMSCII8,ASCII,BIG5,BINARY,CP1250,CP1251,CP1256,CP1257,CP850,CP852,CP866,CP932,DEC8,EUCJPMS,EUCKR,GB18030,GB2312,GBK,GEOSTD8,GREEK,HEBREW,HP8,KEYBCS2,KOI8R,KOI8U,LATIN1,LATIN2,LATIN5,LATIN7,MACCE,MACROMAN,SJIS,SWE7,TIS620,UCS2,UJIS,UTF16,UTF16LE,UTF32,UTF8,UTF8MB4\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/character_set_server\",\"name\":\"character_set_server\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"latin1_swedish_ci\",\"description\":\"The server\u0027s default collation.\",\"defaultValue\":\"latin1_swedish_ci\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ARMSCII8_BIN,ARMSCII8_GENERAL_CI,ASCII_BIN,ASCII_GENERAL_CI,BIG5_BIN,BIG5_CHINESE_CI,BINARY,CP1250_BIN,CP1250_CROATIAN_CI,CP1250_CZECH_CS,CP1250_GENERAL_CI,CP1250_POLISH_CI,CP1251_BIN,CP1251_BULGARIAN_CI,CP1251_GENERAL_CI,CP1251_GENERAL_CS,CP1251_UKRAINIAN_CI,CP1256_BIN,CP1256_GENERAL_CI,CP1257_BIN,CP1257_GENERAL_CI,CP1257_LITHUANIAN_CI,CP850_BIN,CP850_GENERAL_CI,CP852_BIN,CP852_GENERAL_CI,CP866_BIN,CP866_GENERAL_CI,CP932_BIN,CP932_JAPANESE_CI,DEC8_BIN,DEC8_SWEDISH_CI,EUCJPMS_BIN,EUCJPMS_JAPANESE_CI,EUCKR_BIN,EUCKR_KOREAN_CI,GB18030_BIN,GB18030_CHINESE_CI,GB18030_UNICODE_520_CI,GB2312_BIN,GB2312_CHINESE_CI,GBK_BIN,GBK_CHINESE_CI,GEOSTD8_BIN,GEOSTD8_GENERAL_CI,GREEK_BIN,GREEK_GENERAL_CI,HEBREW_BIN,HEBREW_GENERAL_CI,HP8_BIN,HP8_ENGLISH_CI,KEYBCS2_BIN,KEYBCS2_GENERAL_CI,KOI8R_BIN,KOI8R_GENERAL_CI,KOI8U_BIN,KOI8U_GENERAL_CI,LATIN1_BIN,LATIN1_DANISH_CI,LATIN1_GENERAL_CI,LATIN1_GENERAL_CS,LATIN1_GERMAN1_CI,LATIN1_GERMAN2_CI,LATIN1_SPANISH_CI,LATIN1_SWEDISH_CI,LATIN2_BIN,LATIN2_CROATIAN_CI,LATIN2_CZECH_CS,LATIN2_GENERAL_CI,LATIN2_HUNGARIAN_CI,LATIN5_BIN,LATIN5_TURKISH_CI,LATIN7_BIN,LATIN7_ESTONIAN_CS,LATIN7_GENERAL_CI,LATIN7_GENERAL_CS,MACCE_BIN,MACCE_GENERAL_CI,MACROMAN_BIN,MACROMAN_GENERAL_CI,SJIS_BIN,SJIS_JAPANESE_CI,SWE7_BIN,SWE7_SWEDISH_CI,TIS620_BIN,TIS620_THAI_CI,UCS2_BIN,UCS2_CROATIAN_CI,UCS2_CZECH_CI,UCS2_DANISH_CI,UCS2_ESPERANTO_CI,UCS2_ESTONIAN_CI,UCS2_GENERAL_CI,UCS2_GENERAL_MYSQL500_CI,UCS2_GERMAN2_CI,UCS2_HUNGARIAN_CI,UCS2_ICELANDIC_CI,UCS2_LATVIAN_CI,UCS2_LITHUANIAN_CI,UCS2_PERSIAN_CI,UCS2_POLISH_CI,UCS2_ROMAN_CI,UCS2_ROMANIAN_CI,UCS2_SINHALA_CI,UCS2_SLOVAK_CI,UCS2_SLOVENIAN_CI,UCS2_SPANISH_CI,UCS2_SPANISH2_CI,UCS2_SWEDISH_CI,UCS2_TURKISH_CI,UCS2_UNICODE_520_CI,UCS2_UNICODE_CI,UCS2_VIETNAMESE_CI,UJIS_BIN,UJIS_JAPANESE_CI,UTF16_BIN,UTF16_CROATIAN_CI,UTF16_CZECH_CI,UTF16_DANISH_CI,UTF16_ESPERANTO_CI,UTF16_ESTONIAN_CI,UTF16_GENERAL_CI,UTF16_GERMAN2_CI,UTF16_HUNGARIAN_CI,UTF16_ICELANDIC_CI,UTF16_LATVIAN_CI,UTF16_LITHUANIAN_CI,UTF16_PERSIAN_CI,UTF16_POLISH_CI,UTF16_ROMAN_CI,UTF16_ROMANIAN_CI,UTF16_SINHALA_CI,UTF16_SLOVAK_CI,UTF16_SLOVENIAN_CI,UTF16_SPANISH_CI,UTF16_SPANISH2_CI,UTF16_SWEDISH_CI,UTF16_TURKISH_CI,UTF16_UNICODE_520_CI,UTF16_UNICODE_CI,UTF16_VIETNAMESE_CI,UTF16LE_BIN,UTF16LE_GENERAL_CI,UTF32_BIN,UTF32_CROATIAN_CI,UTF32_CZECH_CI,UTF32_DANISH_CI,UTF32_ESPERANTO_CI,UTF32_ESTONIAN_CI,UTF32_GENERAL_CI,UTF32_GERMAN2_CI,UTF32_HUNGARIAN_CI,UTF32_ICELANDIC_CI,UTF32_LATVIAN_CI,UTF32_LITHUANIAN_CI,UTF32_PERSIAN_CI,UTF32_POLISH_CI,UTF32_ROMAN_CI,UTF32_ROMANIAN_CI,UTF32_SINHALA_CI,UTF32_SLOVAK_CI,UTF32_SLOVENIAN_CI,UTF32_SPANISH_CI,UTF32_SPANISH2_CI,UTF32_SWEDISH_CI,UTF32_TURKISH_CI,UTF32_UNICODE_520_CI,UTF32_UNICODE_CI,UTF32_VIETNAMESE_CI,UTF8_BIN,UTF8_CROATIAN_CI,UTF8_CZECH_CI,UTF8_DANISH_CI,UTF8_ESPERANTO_CI,UTF8_ESTONIAN_CI,UTF8_GENERAL_CI,UTF8_GENERAL_MYSQL500_CI,UTF8_GERMAN2_CI,UTF8_HUNGARIAN_CI,UTF8_ICELANDIC_CI,UTF8_LATVIAN_CI,UTF8_LITHUANIAN_CI,UTF8_PERSIAN_CI,UTF8_POLISH_CI,UTF8_ROMAN_CI,UTF8_ROMANIAN_CI,UTF8_SINHALA_CI,UTF8_SLOVAK_CI,UTF8_SLOVENIAN_CI,UTF8_SPANISH_CI,UTF8_SPANISH2_CI,UTF8_SWEDISH_CI,UTF8_TURKISH_CI,UTF8_UNICODE_520_CI,UTF8_UNICODE_CI,UTF8_VIETNAMESE_CI,UTF8MB4_BIN,UTF8MB4_CROATIAN_CI,UTF8MB4_CZECH_CI,UTF8MB4_DANISH_CI,UTF8MB4_ESPERANTO_CI,UTF8MB4_ESTONIAN_CI,UTF8MB4_GENERAL_CI,UTF8MB4_GERMAN2_CI,UTF8MB4_HUNGARIAN_CI,UTF8MB4_ICELANDIC_CI,UTF8MB4_LATVIAN_CI,UTF8MB4_LITHUANIAN_CI,UTF8MB4_PERSIAN_CI,UTF8MB4_POLISH_CI,UTF8MB4_ROMAN_CI,UTF8MB4_ROMANIAN_CI,UTF8MB4_SINHALA_CI,UTF8MB4_SLOVAK_CI,UTF8MB4_SLOVENIAN_CI,UTF8MB4_SPANISH_CI,UTF8MB4_SPANISH2_CI,UTF8MB4_SWEDISH_CI,UTF8MB4_TURKISH_CI,UTF8MB4_UNICODE_520_CI,UTF8MB4_UNICODE_CI,UTF8MB4_VIETNAMESE_CI\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/collation_server\",\"name\":\"collation_server\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The default mode value to use for the WEEK() function.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-7\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/default_week_format\",\"name\":\"default_week_format\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"Number of digits by which to increase the scale of the result of division operations.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"0-30\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/div_precision_increment\",\"name\":\"div_precision_increment\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"This variable indicates the number of equality ranges in an equality comparison condition when the optimizer should switch from using index dives to index statistics in estimating the number of qualifying rows.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/eq_range_index_dive_limit\",\"name\":\"eq_range_index_dive_limit\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Indicates the status of the Event Scheduler. It is always OFF for a replica server to keep the replication consistency.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/event_scheduler\",\"name\":\"event_scheduler\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"If this is set to a nonzero value, all tables are closed every flush_time seconds to free up resources and synchronize unflushed data to disk.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-8640000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/flush_time\",\"name\":\"flush_time\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"20\",\"description\":\"The number of top matches to use for full-text searches performed using WITH QUERY EXPANSION.\",\"defaultValue\":\"20\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/ft_query_expansion_limit\",\"name\":\"ft_query_expansion_limit\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"Maximum allowed result length in bytes for the GROUP_CONCAT().\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"4-16777216\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/group_concat_max_len\",\"name\":\"group_concat_max_len\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"A string to be executed by the server for each client that connects.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/init_connect\",\"name\":\"init_connect\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Specifies whether to dynamically adjust the rate of flushing dirty pages in the InnoDB buffer pool based on the workload. Adjusting the flush rate dynamically is intended to avoid bursts of I/O activity.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_adaptive_flushing\",\"name\":\"innodb_adaptive_flushing\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Defines the low water mark representing percentage of redo log capacity at which adaptive flushing is enabled.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-70\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_adaptive_flushing_lwm\",\"name\":\"innodb_adaptive_flushing_lwm\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Whether innodb adaptive hash indexes are enabled or disabled.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_adaptive_hash_index\",\"name\":\"innodb_adaptive_hash_index\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"Partitions the adaptive hash index search system. Each index is bound to a specific partition, with each partition protected by a separate latch. \",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"1-512\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_adaptive_hash_index_parts\",\"name\":\"innodb_adaptive_hash_index_parts\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"150000\",\"description\":\"Permits InnoDB to automatically adjust the value of innodb_thread_sleep_delay up or down according to the current workload.\",\"defaultValue\":\"150000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_adaptive_max_sleep_delay\",\"name\":\"innodb_adaptive_max_sleep_delay\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"The increment size (in megabytes) for extending the size of an auto-extending InnoDB system tablespace file when it becomes full.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"1-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_autoextend_increment\",\"name\":\"innodb_autoextend_increment\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"The lock mode to use for generating auto-increment values.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0,1,2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_autoinc_lock_mode\",\"name\":\"innodb_autoinc_lock_mode\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"25\",\"description\":\"Specifies the percentage of the most recently used pages for each buffer pool to read out and dump.\",\"defaultValue\":\"25\",\"dataType\":\"Integer\",\"allowedValues\":\"1-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_buffer_pool_dump_pct\",\"name\":\"innodb_buffer_pool_dump_pct\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"16106127360\",\"description\":\"The size in bytes of the buffer pool, the memory area where InnoDB caches table and index data.\",\"defaultValue\":\"16106127360\",\"dataType\":\"Integer\",\"allowedValues\":\"134217728-16106127360\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_buffer_pool_size\",\"name\":\"innodb_buffer_pool_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"25\",\"description\":\"Maximum size for the InnoDB change buffer, as a percentage of the total size of the buffer pool. You might increase this value for a MySQL server with heavy insert, update, and delete activity, or decrease it for a MySQL server with unchanging data used for reporting.\",\"defaultValue\":\"25\",\"dataType\":\"Integer\",\"allowedValues\":\"0-50\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_change_buffer_max_size\",\"name\":\"innodb_change_buffer_max_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"all\",\"description\":\"Whether InnoDB performs change buffering, an optimization that delays write operations to secondary indexes so that the I/O operations can be performed sequentially.\",\"defaultValue\":\"all\",\"dataType\":\"Enumeration\",\"allowedValues\":\"none,inserts,deletes,changes,purges,all\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_change_buffering\",\"name\":\"innodb_change_buffering\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Enables per-index compression-related statistics in the INFORMATION_SCHEMA.INNODB_CMP_PER_INDEX table. Because these statistics can be expensive to gather, only enable this option on development, test, or slave instances during performance tuning related to InnoDB compressed tables.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_cmp_per_index_enabled\",\"name\":\"innodb_cmp_per_index_enabled\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The number of threads that can commit at the same time. A value of 0 (the default) permits any number of transactions to commit simultaneously. The value of innodb_commit_concurrency cannot be changed at runtime from zero to nonzero or vice versa. The value can be changed from one nonzero value to another.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_commit_concurrency\",\"name\":\"innodb_commit_concurrency\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"5\",\"description\":\"Defines the compression failure rate threshold for a table, as a percentage, at which point MySQL begins adding padding within compressed pages to avoid expensive compression failures.\",\"defaultValue\":\"5\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_compression_failure_threshold_pct\",\"name\":\"innodb_compression_failure_threshold_pct\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"6\",\"description\":\"Specifies the level of zlib compression to use for InnoDB compressed tables and indexes. A higher value lets you fit more data onto a storage device, at the expense of more CPU overhead during compression. A lower value lets you reduce CPU overhead when storage space is not critical, or you expect the data is not especially compressible.\",\"defaultValue\":\"6\",\"dataType\":\"Integer\",\"allowedValues\":\"0-9\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_compression_level\",\"name\":\"innodb_compression_level\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"Specifies the maximum percentage that can be reserved as free space within each compressed page, allowing room to reorganize the data and modification log within the page when a compressed table or index is updated and the data might be recompressed. Only applies when innodb_compression_failure_threshold_pct is set to a nonzero value, and the rate of compression failures passes the cutoff point.\",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"0-75\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_compression_pad_pct_max\",\"name\":\"innodb_compression_pad_pct_max\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"5000\",\"description\":\"Determines the number of threads that can enter InnoDB concurrently.\",\"defaultValue\":\"5000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_concurrency_tickets\",\"name\":\"innodb_concurrency_tickets\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"This option is used to disable deadlock detection. On high concurrency systems, deadlock detection can cause a slowdown when numerous threads wait for the same lock.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_deadlock_detect\",\"name\":\"innodb_deadlock_detect\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"DYNAMIC\",\"description\":\"The innodb_default_row_format option defines the default row format for InnoDB tables and user-created temporary tables.\",\"defaultValue\":\"DYNAMIC\",\"dataType\":\"Enumeration\",\"allowedValues\":\"DYNAMIC,COMPACT,REDUNDANT\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_default_row_format\",\"name\":\"innodb_default_row_format\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"Barracuda\",\"description\":\"Indicates the InnoDB file format for file-per-table tablespaces.\",\"defaultValue\":\"Barracuda\",\"dataType\":\"Enumeration\",\"allowedValues\":\"Antelope,Barracuda\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_file_format\",\"name\":\"innodb_file_format\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"InnoDB stores the data and indexes for each newly created table in a separate .ibd file instead of the system tablespace. It cannot be updated any more for a master/replica server to keep the replication consistency.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_file_per_table\",\"name\":\"innodb_file_per_table\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"InnoDB performs a bulk load when creating or rebuilding indexes.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"10-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_fill_factor\",\"name\":\"innodb_fill_factor\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"8000000\",\"description\":\"The memory allocated, in bytes, for the InnoDB FULLTEXT search index cache, which holds a parsed document in memory while creating an InnoDB FULLTEXT index.\",\"defaultValue\":\"8000000\",\"dataType\":\"Integer\",\"allowedValues\":\"1600000-80000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_ft_cache_size\",\"name\":\"innodb_ft_cache_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Specifies that a set of stopwords is associated with an InnoDB FULLTEXT index at the time the index is created.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_ft_enable_stopword\",\"name\":\"innodb_ft_enable_stopword\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"84\",\"description\":\"Maximum character length of words that are stored in an InnoDB FULLTEXT index.\",\"defaultValue\":\"84\",\"dataType\":\"Integer\",\"allowedValues\":\"10-84\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_ft_max_token_size\",\"name\":\"innodb_ft_max_token_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"3\",\"description\":\"Minimum length of words that are stored in an InnoDB FULLTEXT index.\",\"defaultValue\":\"3\",\"dataType\":\"Integer\",\"allowedValues\":\"0-16\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_ft_min_token_size\",\"name\":\"innodb_ft_min_token_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"2000\",\"description\":\"Number of words to process during each OPTIMIZE TABLE operation on an InnoDB FULLTEXT index.\",\"defaultValue\":\"2000\",\"dataType\":\"Integer\",\"allowedValues\":\"1000-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_ft_num_word_optimize\",\"name\":\"innodb_ft_num_word_optimize\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"2000000000\",\"description\":\"The InnoDB full-text search query result cache limit (defined in bytes) per full-text search query or per thread.\",\"defaultValue\":\"2000000000\",\"dataType\":\"Integer\",\"allowedValues\":\"1000000-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_ft_result_cache_limit\",\"name\":\"innodb_ft_result_cache_limit\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Number of threads used in parallel to index and tokenize text in an InnoDB FULLTEXT index when building a search index.\",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"1-32\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_ft_sort_pll_degree\",\"name\":\"innodb_ft_sort_pll_degree\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"640000000\",\"description\":\"The total memory allocated, in bytes, for the InnoDB full-text search index cache for all tables.\",\"defaultValue\":\"640000000\",\"dataType\":\"Integer\",\"allowedValues\":\"32000000-1280000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_ft_total_cache_size\",\"name\":\"innodb_ft_total_cache_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"Sets an upper limit on I/O activity performed by InnoDB background tasks, such as flushing pages from the buffer pool and merging data from the change buffer.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"100-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_io_capacity\",\"name\":\"innodb_io_capacity\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"2000\",\"description\":\"If flushing activity falls behind, InnoDB can flush more aggressively than the limit imposed by innodb_io_capacity. innodb_io_capacity_max defines an upper limit the number of I/O operations performed per second by InnoDB background tasks in such situations.\",\"defaultValue\":\"2000\",\"dataType\":\"Integer\",\"allowedValues\":\"100-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_io_capacity_max\",\"name\":\"innodb_io_capacity_max\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"When this option is enabled, index key prefixes longer than 767 bytes (up to 3072 bytes) are allowed for InnoDB tables that use DYNAMIC or COMPRESSED row format.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_large_prefix\",\"name\":\"innodb_large_prefix\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"The length of time in seconds an InnoDB transaction waits for a row lock before giving up.\",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"1-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_lock_wait_timeout\",\"name\":\"innodb_lock_wait_timeout\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Specifies whether images of re-compressed pages are written to the redo log.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_log_compressed_pages\",\"name\":\"innodb_log_compressed_pages\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"A parameter that influences the algorithms and heuristics for the flush operation for the InnoDB buffer pool.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"100-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_lru_scan_depth\",\"name\":\"innodb_lru_scan_depth\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"75\",\"description\":\"InnoDB tries to flush data from the buffer pool so that the percentage of dirty pages does not exceed this value.\",\"defaultValue\":\"75\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-99.99\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_max_dirty_pages_pct\",\"name\":\"innodb_max_dirty_pages_pct\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Defines a low water mark representing the percentage of dirty pages at which preflushing is enabled to control the dirty page ratio.\",\"defaultValue\":\"0\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-99.99\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_max_dirty_pages_pct_lwm\",\"name\":\"innodb_max_dirty_pages_pct_lwm\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Defines the maximum length of the purge queue. The default value of 0 indicates no limit (no delays).\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_max_purge_lag\",\"name\":\"innodb_max_purge_lag\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Specifies the maximum delay in microseconds for the delay imposed by the innodb_max_purge_lag configuration option.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-10000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_max_purge_lag_delay\",\"name\":\"innodb_max_purge_lag_delay\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"37\",\"description\":\"Specifies the approximate percentage of the InnoDB buffer pool used for the old block sublist.\",\"defaultValue\":\"37\",\"dataType\":\"Integer\",\"allowedValues\":\"5-95\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_old_blocks_pct\",\"name\":\"innodb_old_blocks_pct\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1000\",\"description\":\"Non-zero values protect against the buffer pool being filled by data that is referenced only for a brief period, such as during a full table scan.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_old_blocks_time\",\"name\":\"innodb_old_blocks_time\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"134217728\",\"description\":\"Specifies an upper limit on the size of the temporary log files used during online DDL operations for InnoDB tables.\",\"defaultValue\":\"134217728\",\"dataType\":\"Integer\",\"allowedValues\":\"65536-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_online_alter_log_max_size\",\"name\":\"innodb_online_alter_log_max_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Changes the way OPTIMIZE TABLE operates on InnoDB tables. Intended to be enabled temporarily, during maintenance operations for InnoDB tables with FULLTEXT indexes.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_optimize_fulltext_only\",\"name\":\"innodb_optimize_fulltext_only\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"The number of page cleaner threads that flush dirty pages from buffer pool instances.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"1-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_page_cleaners\",\"name\":\"innodb_page_cleaners\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"300\",\"description\":\"Defines the number of undo log pages that purge parses and processes in one batch from the history list.\",\"defaultValue\":\"300\",\"dataType\":\"Integer\",\"allowedValues\":\"1-5000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_purge_batch_size\",\"name\":\"innodb_purge_batch_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"128\",\"description\":\"Defines the frequency with which the purge system frees rollback segments in terms of the number of times that purge is invoked. Reducing this value increases the frequency with which the purge thread frees rollback segments.\",\"defaultValue\":\"128\",\"dataType\":\"Integer\",\"allowedValues\":\"1-128\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_purge_rseg_truncate_frequency\",\"name\":\"innodb_purge_rseg_truncate_frequency\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"The number of background threads devoted to the InnoDB purge operation.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"1-32\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_purge_threads\",\"name\":\"innodb_purge_threads\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Enables the random read-ahead technique for optimizing InnoDB I/O.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_random_read_ahead\",\"name\":\"innodb_random_read_ahead\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"56\",\"description\":\"Controls the sensitivity of linear read-ahead that InnoDB uses to prefetch pages into the buffer pool.\",\"defaultValue\":\"56\",\"dataType\":\"Integer\",\"allowedValues\":\"0-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_read_ahead_threshold\",\"name\":\"innodb_read_ahead_threshold\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"The number of I/O threads for read operations in InnoDB.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"1-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_read_io_threads\",\"name\":\"innodb_read_io_threads\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"128\",\"description\":\"Defines the number of rollback segments used by InnoDB.\",\"defaultValue\":\"128\",\"dataType\":\"Integer\",\"allowedValues\":\"1-128\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_rollback_segments\",\"name\":\"innodb_rollback_segments\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Causes InnoDB to automatically recalculate persistent statistics after the data in a table is changed substantially.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_stats_auto_recalc\",\"name\":\"innodb_stats_auto_recalc\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\" Enabled to ensure that InnoDB includes delete-marked records when calculating persistent optimizer statistics.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_stats_include_delete_marked\",\"name\":\"innodb_stats_include_delete_marked\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"nulls_equal\",\"description\":\"How the server treats NULL values when collecting statistics about the distribution of index values for InnoDB tables.\",\"defaultValue\":\"nulls_equal\",\"dataType\":\"Enumeration\",\"allowedValues\":\"nulls_equal,nulls_unequal,nulls_ignored\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_stats_method\",\"name\":\"innodb_stats_method\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This option only applies when optimizer statistics are configured to be non-persistent. When innodb_stats_on_metadata is enabled, InnoDB updates non-persistent statistics when metadata statements such as SHOW TABLE STATUS or when accessing the INFORMATION_SCHEMA.TABLES or INFORMATION_SCHEMA.STATISTICS tables.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_stats_on_metadata\",\"name\":\"innodb_stats_on_metadata\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Specifies whether InnoDB index statistics are persisted to disk. Otherwise, statistics may be recalculated frequently which can lead to variations in query execution plans.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_stats_persistent\",\"name\":\"innodb_stats_persistent\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"20\",\"description\":\"The number of index pages to sample when estimating cardinality and other statistics for an indexed column, such as those calculated by ANALYZE TABLE.\",\"defaultValue\":\"20\",\"dataType\":\"Integer\",\"allowedValues\":\"1-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_stats_persistent_sample_pages\",\"name\":\"innodb_stats_persistent_sample_pages\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"The number of index pages to sample when estimating cardinality and other statistics for an indexed column, such as those calculated by ANALYZE TABLE.\",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"1-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_stats_transient_sample_pages\",\"name\":\"innodb_stats_transient_sample_pages\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Defines the size of the mutex/lock wait array. Increasing the value splits the internal data structure used to coordinate threads, for higher concurrency in workloads with large numbers of waiting threads. \",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"1-1024\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_sync_array_size\",\"name\":\"innodb_sync_array_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"The default value of innodb_table_locks is 1, which means that LOCK TABLES causes InnoDB to lock a table internally if autocommit = 0.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_table_locks\",\"name\":\"innodb_table_locks\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"InnoDB tries to keep the number of operating system threads concurrently inside InnoDB less than or equal to the limit given by this variable.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_thread_concurrency\",\"name\":\"innodb_thread_concurrency\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"10000\",\"description\":\"Defines how long InnoDB threads sleep before joining the InnoDB queue, in microseconds.\",\"defaultValue\":\"10000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_thread_sleep_delay\",\"name\":\"innodb_thread_sleep_delay\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"The number of I/O threads for write operations in InnoDB.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"1-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_write_io_threads\",\"name\":\"innodb_write_io_threads\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"28800\",\"description\":\"Number of seconds the server waits for activity on an interactive connection before closing it.\",\"defaultValue\":\"28800\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/interactive_timeout\",\"name\":\"interactive_timeout\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"262144\",\"description\":\"The minimum size of the buffer that is used for plain index scans, range index scans, and joins that do not use indexes and thus perform full table scans.\",\"defaultValue\":\"262144\",\"dataType\":\"Integer\",\"allowedValues\":\"128-536870912\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/join_buffer_size\",\"name\":\"join_buffer_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"This variable controls server-side LOCAL capability for LOAD DATA statements.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/local_infile\",\"name\":\"local_infile\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"31536000\",\"description\":\"This variable specifies the timeout in seconds for attempts to acquire metadata locks.\",\"defaultValue\":\"31536000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/lock_wait_timeout\",\"name\":\"lock_wait_timeout\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This variable applies when binary logging is enabled. It controls whether stored function creators can be trusted not to create stored functions that will cause unsafe events to be written to the binary log. It cannot be updated any more for a master/replica server to keep the replication consistency.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/log_bin_trust_function_creators\",\"name\":\"log_bin_trust_function_creators\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"FILE\",\"description\":\"The destination for general query log and slow query log output.\",\"defaultValue\":\"FILE\",\"dataType\":\"Set\",\"allowedValues\":\"FILE,NONE\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/log_output\",\"name\":\"log_output\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Logs queries that are expected to retrieve all rows to slow query log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/log_queries_not_using_indexes\",\"name\":\"log_queries_not_using_indexes\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Include slow administrative statements in the statements written to the slow query log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/log_slow_admin_statements\",\"name\":\"log_slow_admin_statements\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"When the slow query log is enabled, this variable enables logging for queries that have taken more than long_query_time seconds to execute on the slave.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/log_slow_slave_statements\",\"name\":\"log_slow_slave_statements\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Limits the number of such queries per minute that can be written to the slow query log.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/log_throttle_queries_not_using_indexes\",\"name\":\"log_throttle_queries_not_using_indexes\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"If a query takes longer than this many seconds, the server increments the Slow_queries status variable.\",\"defaultValue\":\"10\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/long_query_time\",\"name\":\"long_query_time\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"If set to 1, table names are stored in lowercase on disk and comparisons are not case sensitive. If set to 2, table names are stored as given but compared in lowercase.\",\"defaultValue\":\"1\",\"dataType\":\"Enumeration\",\"allowedValues\":\"1,2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/lower_case_table_names\",\"name\":\"lower_case_table_names\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"536870912\",\"description\":\"The maximum size of one packet or any generated/intermediate string, or any parameter sent by the mysql_stmt_send_long_data() C API function.\",\"defaultValue\":\"536870912\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/max_allowed_packet\",\"name\":\"max_allowed_packet\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"If more than this many successive connection requests from a host are interrupted without a successful connection, the server blocks that host from further connections.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/max_connect_errors\",\"name\":\"max_connect_errors\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"625\",\"description\":\"The maximum permitted number of simultaneous client connections.\",\"defaultValue\":\"625\",\"dataType\":\"Integer\",\"allowedValues\":\"10-1250\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/max_connections\",\"name\":\"max_connections\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"The maximum number of bytes available for computing normalized statement digests.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/max_digest_length\",\"name\":\"max_digest_length\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"The maximum number of error, warning, and note messages to be stored for display by the SHOW ERRORS and SHOW WARNINGS statements.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"0-65535\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/max_error_count\",\"name\":\"max_error_count\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The execution timeout for SELECT statements, in milliseconds. If the value is 0, timeouts are not enabled.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/max_execution_time\",\"name\":\"max_execution_time\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"16777216\",\"description\":\"This variable sets the maximum size to which user-created MEMORY tables are permitted to grow.\",\"defaultValue\":\"16777216\",\"dataType\":\"Integer\",\"allowedValues\":\"16384-536870912\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/max_heap_table_size\",\"name\":\"max_heap_table_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"18446744073709551615\",\"description\":\"Do not permit statements that probably need to examine more than max_join_size rows\",\"defaultValue\":\"18446744073709551615\",\"dataType\":\"Integer\",\"allowedValues\":\"1-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/max_join_size\",\"name\":\"max_join_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"The cutoff on the size of index values that determines which filesort algorithm to use.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"4-8388608\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/max_length_for_sort_data\",\"name\":\"max_length_for_sort_data\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"65536\",\"description\":\"The maximum value of the points_per_circle argument to the ST_Buffer_Strategy() function.\",\"defaultValue\":\"65536\",\"dataType\":\"Integer\",\"allowedValues\":\"3-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/max_points_in_geometry\",\"name\":\"max_points_in_geometry\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"16382\",\"description\":\"This variable limits the total number of prepared statements in the server.\",\"defaultValue\":\"16382\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/max_prepared_stmt_count\",\"name\":\"max_prepared_stmt_count\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4294967295\",\"description\":\"Limit the assumed maximum number of seeks when looking up rows based on a key.\",\"defaultValue\":\"4294967295\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/max_seeks_for_key\",\"name\":\"max_seeks_for_key\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"The number of bytes to use when sorting data values.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"4-8388608\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/max_sort_length\",\"name\":\"max_sort_length\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The number of times that any given stored procedure may be called recursively. The default value for this option is 0, which completely disables recursion in stored procedures.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-255\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/max_sp_recursion_depth\",\"name\":\"max_sp_recursion_depth\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The maximum number of simultaneous connections permitted to any given MySQL user account. A value of 0 (the default) means \u0027no limit.\u0027\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/max_user_connections\",\"name\":\"max_user_connections\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4294967295\",\"description\":\"After this many write locks, permit some pending read lock requests to be processed in between.\",\"defaultValue\":\"4294967295\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/max_write_lock_count\",\"name\":\"max_write_lock_count\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Can be used to cause queries which examine fewer than the stated number of rows not to be logged.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/min_examined_row_limit\",\"name\":\"min_examined_row_limit\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"16384\",\"description\":\"Each client thread is associated with a connection buffer and result buffer. Both begin with a size given by net_buffer_length but are dynamically enlarged up to max_allowed_packet bytes as needed.\",\"defaultValue\":\"16384\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/net_buffer_length\",\"name\":\"net_buffer_length\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"120\",\"description\":\"The number of seconds the server waits for network reading action, especially for LOAD DATA LOCAL FILE.\",\"defaultValue\":\"120\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/net_read_timeout\",\"name\":\"net_read_timeout\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"If a read or write on a communication port is interrupted, retry this many times before giving up.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/net_retry_count\",\"name\":\"net_retry_count\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"240\",\"description\":\"The number of seconds the server waits for network writing action, especially for LOAD DATA LOCAL FILE.\",\"defaultValue\":\"240\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/net_write_timeout\",\"name\":\"net_write_timeout\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Defines the n-gram token size for the n-gram full-text parser. \",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/ngram_token_size\",\"name\":\"ngram_token_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Controls the heuristics applied during query optimization to prune less-promising partial plans from the optimizer search space.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0,1\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/optimizer_prune_level\",\"name\":\"optimizer_prune_level\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"62\",\"description\":\"The maximum depth of search performed by the query optimizer.\",\"defaultValue\":\"62\",\"dataType\":\"Integer\",\"allowedValues\":\"0-62\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/optimizer_search_depth\",\"name\":\"optimizer_search_depth\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"default\",\"description\":\"The value of this variable is a set of flags, each of which has a value of on or off to indicate whether the corresponding optimizer behavior is enabled or disabled.\",\"defaultValue\":\"default\",\"dataType\":\"Set\",\"allowedValues\":\"default,batched_key_access=on,batched_key_access=off,block_nested_loop=on,block_nested_loop=off,condition_fanout_filter=on,condition_fanout_filter=off,derived_merge=on,derived_merge=off,duplicateweedout=on,duplicateweedout=off,engine_condition_pushdown=on,engine_condition_pushdown=off,firstmatch=on,firstmatch=off,index_condition_pushdown=on,index_condition_pushdown=off,index_merge=on,index_merge=off,index_merge_intersection=on,index_merge_intersection=off,index_merge_sort_union=on,index_merge_sort_union=off,index_merge_union=on,index_merge_union=off,loosescan=on,loosescan=off,materialization=on,materialization=off,mrr=on,mrr=off,mrr_cost_based=on,mrr_cost_based=off,semijoin=on,semijoin=off,subquery_materialization_cost_based=on,subquery_materialization_cost_based=off,use_index_extensions=on,use_index_extensions=off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/optimizer_switch\",\"name\":\"optimizer_switch\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"18446744073709551615\",\"description\":\"The maximum amount of memory available to the parser.\",\"defaultValue\":\"18446744073709551615\",\"dataType\":\"Integer\",\"allowedValues\":\"10000000-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/parser_max_mem_size\",\"name\":\"parser_max_mem_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"The value of this variable is ON or OFF to indicate whether the Performance Schema is enabled.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/performance_schema\",\"name\":\"performance_schema\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"32768\",\"description\":\"The size of the buffer that is allocated when preloading indexes.\",\"defaultValue\":\"32768\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/preload_buffer_size\",\"name\":\"preload_buffer_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1048576\",\"description\":\"Do not cache results that are larger than this number of bytes.\",\"defaultValue\":\"1048576\",\"dataType\":\"Integer\",\"allowedValues\":\"0-33554432\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/query_cache_limit\",\"name\":\"query_cache_limit\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"The minimum size (in bytes) for blocks allocated by the query cache.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"512-32768\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/query_cache_min_res_unit\",\"name\":\"query_cache_min_res_unit\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The amount of memory allocated for caching query results.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0,102400-33554432\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/query_cache_size\",\"name\":\"query_cache_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Set the query cache type.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF,DEMAND\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/query_cache_type\",\"name\":\"query_cache_type\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"8192\",\"description\":\"The size of the persistent buffer used for statement parsing and execution. This buffer is not freed between statements. If you are running complex queries, a larger value might be helpful in improving performance, because it can reduce the need for the server to perform memory allocation during query execution operations.\",\"defaultValue\":\"8192\",\"dataType\":\"Integer\",\"allowedValues\":\"8192-32768\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/query_prealloc_size\",\"name\":\"query_prealloc_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"15\",\"description\":\"The query store capture interval in minutes. Allows to specify the interval in which the query metrics are aggregated.\",\"defaultValue\":\"15\",\"dataType\":\"Integer\",\"allowedValues\":\"5-60\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/query_store_capture_interval\",\"name\":\"query_store_capture_interval\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"NONE\",\"description\":\"The query store capture mode, NONE means do not capture any statements. NOTE: If performance_schema is OFF, turning on query_store_capture_mode will turn on performance_schema and a subset of performance schema instruments required for this feature.\",\"defaultValue\":\"NONE\",\"dataType\":\"Enumeration\",\"allowedValues\":\"NONE,ALL\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/query_store_capture_mode\",\"name\":\"query_store_capture_mode\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"NO\",\"description\":\"Turning ON or OFF to capture all the utility queries that is executing in the system.\",\"defaultValue\":\"NO\",\"dataType\":\"Enumeration\",\"allowedValues\":\"YES,NO\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/query_store_capture_utility_queries\",\"name\":\"query_store_capture_utility_queries\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"7\",\"description\":\"The query store capture interval in minutes. Allows to specify the interval in which the query metrics are aggregated.\",\"defaultValue\":\"7\",\"dataType\":\"Integer\",\"allowedValues\":\"1-30\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/query_store_retention_period_in_days\",\"name\":\"query_store_retention_period_in_days\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"NONE\",\"description\":\"The query store wait event sampling capture mode, NONE means do not capture any wait events.\",\"defaultValue\":\"NONE\",\"dataType\":\"Enumeration\",\"allowedValues\":\"NONE,ALL\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/query_store_wait_sampling_capture_mode\",\"name\":\"query_store_wait_sampling_capture_mode\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"30\",\"description\":\"The query store wait event sampling frequency in seconds.\",\"defaultValue\":\"30\",\"dataType\":\"Integer\",\"allowedValues\":\"5-300\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/query_store_wait_sampling_frequency\",\"name\":\"query_store_wait_sampling_frequency\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"The size of blocks that are allocated when doing range optimization.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-32768\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/range_alloc_block_size\",\"name\":\"range_alloc_block_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"8388608\",\"description\":\"The limit on memory consumption for the range optimizer. A value of 0 means \u0027no limit.\u0027\",\"defaultValue\":\"8388608\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-33554432\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/range_optimizer_max_mem_size\",\"name\":\"range_optimizer_max_mem_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This parameter controls whetherthe server permits no client updates. When the server is read replica or server storage is full, this parameter will not take effect.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/read_only\",\"name\":\"read_only\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Indicate server support redirection.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/redirect_enabled\",\"name\":\"redirect_enabled\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1073741824\",\"description\":\"This option places an upper limit on the total size in bytes of all relay logs on the slave.\",\"defaultValue\":\"1073741824\",\"dataType\":\"Integer\",\"allowedValues\":\"1073741824-3221225472\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/relay_log_space_limit\",\"name\":\"relay_log_space_limit\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"mysql.%\",\"description\":\"Creates a replication filter which keeps the slave thread from replicating a statement in which any table matches the given wildcard pattern. To specify more than one table to ignore, use comma-separated list.\",\"defaultValue\":\"mysql.%\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/replicate_wild_ignore_table\",\"name\":\"replicate_wild_ignore_table\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1409435902\",\"description\":\"The server ID, used in replication to give each master and slave a unique identity.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"1000-4294967295\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/server_id\",\"name\":\"server_id\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Controls whether the server tracks changes to the default schema (database) name within the current session and makes this information available to the client when changes occur.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/session_track_schema\",\"name\":\"session_track_schema\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Controls whether the server tracks changes to the state of the current session and notifies the client when state changes occur.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/session_track_state_change\",\"name\":\"session_track_state_change\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Affects whether MySQL 5.6 compatibility is enabled with respect to how system and status variable information is provided by the INFORMATION_SCHEMA and Performance Schema tables, and also by the SHOW VARIABLES and SHOW STATUS statements.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/show_compatibility_56\",\"name\":\"show_compatibility_56\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This prevents people from using the SHOW DATABASES statement if they do not have the SHOW DATABASES privilege. \",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/skip_show_database\",\"name\":\"skip_show_database\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"60\",\"description\":\"The number of seconds to wait for more data from the master before the slave considers the connection broken, aborts the read, and tries to reconnect.\",\"defaultValue\":\"60\",\"dataType\":\"Integer\",\"allowedValues\":\"30-3600\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/slave_net_timeout\",\"name\":\"slave_net_timeout\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Enable or disable the slow query log\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/slow_query_log\",\"name\":\"slow_query_log\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"524288\",\"description\":\"Each session that must perform a sort allocates a buffer of this size.\",\"defaultValue\":\"524288\",\"dataType\":\"Integer\",\"allowedValues\":\"32768-8388608\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/sort_buffer_size\",\"name\":\"sort_buffer_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"The current server SQL mode.\",\"defaultValue\":\"\",\"dataType\":\"Set\",\"allowedValues\":\",ALLOW_INVALID_DATES,ANSI_QUOTES,ERROR_FOR_DIVISION_BY_ZERO,HIGH_NOT_PRECEDENCE,IGNORE_SPACE,NO_AUTO_CREATE_USER,NO_AUTO_VALUE_ON_ZERO,NO_BACKSLASH_ESCAPES,NO_DIR_IN_CREATE,NO_ENGINE_SUBSTITUTION,NO_FIELD_OPTIONS,NO_KEY_OPTIONS,NO_TABLE_OPTIONS,NO_UNSIGNED_SUBTRACTION,NO_ZERO_DATE,NO_ZERO_IN_DATE,ONLY_FULL_GROUP_BY,PAD_CHAR_TO_FULL_LENGTH,PIPES_AS_CONCAT,REAL_AS_FLOAT,STRICT_ALL_TABLES,STRICT_TRANS_TABLES\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/sql_mode\",\"name\":\"sql_mode\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"256\",\"description\":\"Sets a soft upper limit for the number of cached stored routines per connection.\",\"defaultValue\":\"256\",\"dataType\":\"Integer\",\"allowedValues\":\"16-524288\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/stored_program_cache\",\"name\":\"stored_program_cache\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"5000\",\"description\":\"The number of table definitions (from .frm files) that can be stored in the definition cache.\",\"defaultValue\":\"5000\",\"dataType\":\"Integer\",\"allowedValues\":\"400-524288\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/table_definition_cache\",\"name\":\"table_definition_cache\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"5000\",\"description\":\"The number of open tables for all threads.\",\"defaultValue\":\"5000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-40000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/table_open_cache\",\"name\":\"table_open_cache\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"The number of open tables cache instances.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"1-16\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/table_open_cache_instances\",\"name\":\"table_open_cache_instances\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"14\",\"description\":\"How many threads the server should cache for reuse. The default value is 8 + (max_connections / 100), capped to a limit of 100.\",\"defaultValue\":\"14\",\"dataType\":\"Integer\",\"allowedValues\":\"0-16384\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/thread_cache_size\",\"name\":\"thread_cache_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"one-thread-per-connection\",\"description\":\"The thread-handling model used by the server for connection threads.\",\"defaultValue\":\"one-thread-per-connection\",\"dataType\":\"Enumeration\",\"allowedValues\":\"one-thread-per-connection,pool-of-threads\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/thread_handling\",\"name\":\"thread_handling\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Maximum time for a thread to run continously (unit: us).\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/thread_pool_batch_max_time\",\"name\":\"thread_pool_batch_max_time\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Maximum time for a thread to wait for socket ready (unit: us).\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/thread_pool_batch_wait_timeout\",\"name\":\"thread_pool_batch_wait_timeout\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"65535\",\"description\":\"The minimal number of threads in the thread pool. Only works when thread_handling=pool-of-threads.\",\"defaultValue\":\"65535\",\"dataType\":\"Integer\",\"allowedValues\":\"1-65535\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/thread_pool_max_threads\",\"name\":\"thread_pool_max_threads\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"The maximal number of threads in the thread pool. Only works when thread_handling=pool-of-threads.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"1-65535\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/thread_pool_min_threads\",\"name\":\"thread_pool_min_threads\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"SYSTEM\",\"description\":\"The server time zone\",\"defaultValue\":\"SYSTEM\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/time_zone\",\"name\":\"time_zone\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"16777216\",\"description\":\"The maximum size of internal in-memory temporary tables. This variable does not apply to user-created MEMORY tables.\",\"defaultValue\":\"16777216\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-134217728\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/tmp_table_size\",\"name\":\"tmp_table_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"8192\",\"description\":\"The amount in bytes by which to increase a per-transaction memory pool which needs memory.\",\"defaultValue\":\"8192\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-131072\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/transaction_alloc_block_size\",\"name\":\"transaction_alloc_block_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"There is a per-transaction memory pool from which various transaction-related allocations take memory. The initial size of the pool in bytes is transaction_prealloc_size.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-131072\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/transaction_prealloc_size\",\"name\":\"transaction_prealloc_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"REPEATABLE-READ\",\"description\":\"The default transaction isolation level.\",\"defaultValue\":\"REPEATABLE-READ\",\"dataType\":\"Enumeration\",\"allowedValues\":\"READ-UNCOMMITTED,READ-COMMITTED,REPEATABLE-READ,SERIALIZABLE\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/tx_isolation\",\"name\":\"tx_isolation\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"YES\",\"description\":\"This variable controls whether updates to a view can be made when the view does not contain all columns of the primary key defined in the underlying table, if the update statement contains a LIMIT clause.\",\"defaultValue\":\"YES\",\"dataType\":\"Enumeration\",\"allowedValues\":\"YES,NO\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/updatable_views_with_limit\",\"name\":\"updatable_views_with_limit\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"120\",\"description\":\"The number of seconds the server waits for activity on a noninteractive connection before closing it.\",\"defaultValue\":\"120\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/wait_timeout\",\"name\":\"wait_timeout\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"}]}" - } - }, - "Get-AzMySqlConfiguration+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/time_zone?api-version=2017-12-01+1": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/time_zone?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2" ], - "x-ms-client-request-id": [ "e3a53f10-2523-43fd-b9e5-55de88d1d7f6" ], + "x-ms-client-request-id": [ "a642c95b-46bb-4d30-b42a-a1f60cc1fb88" ], "CommandName": [ "Get-AzMySqlConfiguration" ], - "FullCommandName": [ "Get-AzMySqlConfiguration_Get" ], + "FullCommandName": [ "Get-AzMySqlConfiguration_List" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], "Authorization": [ "[Filtered]" ] @@ -56,37 +17,36 @@ } }, "Response": { - "StatusCode": 200, + "StatusCode": 404, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "73bb490f-638c-4ca8-950a-66fcde558cb3" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], - "x-ms-correlation-request-id": [ "835068ae-3be0-4d95-aace-2354402c6b6c" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T051317Z:835068ae-3be0-4d95-aace-2354402c6b6c" ], + "x-ms-failure-cause": [ "gateway" ], + "x-ms-request-id": [ "69e7a0c8-38cd-4194-a38a-7edbfeb42df1" ], + "x-ms-correlation-request-id": [ "69e7a0c8-38cd-4194-a38a-7edbfeb42df1" ], + "x-ms-routing-request-id": [ "WESTUS2:20201110T002705Z:69e7a0c8-38cd-4194-a38a-7edbfeb42df1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 05:13:16 GMT" ] + "Date": [ "Tue, 10 Nov 2020 00:27:05 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "452" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] + "Expires": [ "-1" ], + "Content-Length": [ "224" ] }, - "Content": "{\"properties\":{\"value\":\"SYSTEM\",\"description\":\"The server time zone\",\"defaultValue\":\"SYSTEM\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/time_zone\",\"name\":\"time_zone\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"}" + "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForMySQL/servers/mysql-test-100\u0027 under resource group \u0027MySqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" } }, - "Get-AzMySqlConfiguration+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/server_id?api-version=2017-12-01+1": { + "Get-AzMySqlConfiguration+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/time_zone?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/server_id?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/time_zone?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "06c9387e-598c-4895-be18-823ed84674a9" ], + "x-ms-client-request-id": [ "367e9964-87ce-40ab-a109-2e6f63d442c2" ], "CommandName": [ "Get-AzMySqlConfiguration" ], - "FullCommandName": [ "Get-AzMySqlConfiguration_GetViaIdentity" ], + "FullCommandName": [ "Get-AzMySqlConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], "Authorization": [ "[Filtered]" ] @@ -95,25 +55,24 @@ } }, "Response": { - "StatusCode": 200, + "StatusCode": 404, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "0eda62b0-bba8-4562-bf25-86b6dbea0ba2" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], - "x-ms-correlation-request-id": [ "ed6f7e52-9b8e-4e15-b397-de91cc2a5560" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T051317Z:ed6f7e52-9b8e-4e15-b397-de91cc2a5560" ], + "x-ms-failure-cause": [ "gateway" ], + "x-ms-request-id": [ "f3ad731b-dca3-4636-bee8-fa6b962e4ef3" ], + "x-ms-correlation-request-id": [ "f3ad731b-dca3-4636-bee8-fa6b962e4ef3" ], + "x-ms-routing-request-id": [ "WESTUS2:20201110T002706Z:f3ad731b-dca3-4636-bee8-fa6b962e4ef3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 05:13:17 GMT" ] + "Date": [ "Tue, 10 Nov 2020 00:27:05 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "532" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] + "Expires": [ "-1" ], + "Content-Length": [ "224" ] }, - "Content": "{\"properties\":{\"value\":\"1409435902\",\"description\":\"The server ID, used in replication to give each master and slave a unique identity.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"1000-4294967295\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/server_id\",\"name\":\"server_id\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"}" + "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForMySQL/servers/mysql-test-100\u0027 under resource group \u0027MySqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" } } } \ No newline at end of file diff --git a/src/MySql/test/Get-AzMySqlConnectionString.Recording.json b/src/MySql/test/Get-AzMySqlConnectionString.Recording.json index 0e531a8ab8e9..1c3840b0af54 100644 --- a/src/MySql/test/Get-AzMySqlConnectionString.Recording.json +++ b/src/MySql/test/Get-AzMySqlConnectionString.Recording.json @@ -1,12 +1,12 @@ { - "Get-AzMySqlConnectionString+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { + "Get-AzMySqlConnectionString+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { - "x-ms-unique-id": [ "1" ], - "x-ms-client-request-id": [ "8b669176-768e-4373-aeb6-1abacd11d2cb" ], + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "90c81efd-c0b3-40ae-a4e8-02005a4cb434" ], "CommandName": [ "Az.MySql\\Get-AzMySqlServer" ], "FullCommandName": [ "Get-AzMySqlServer_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -17,35 +17,34 @@ } }, "Response": { - "StatusCode": 200, + "StatusCode": 404, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "0647ea03-bdb8-42ef-9527-460f25917278" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], - "x-ms-correlation-request-id": [ "56261382-f1a4-4aa6-bbf1-ab1c60fd1099" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T051559Z:56261382-f1a4-4aa6-bbf1-ab1c60fd1099" ], + "x-ms-failure-cause": [ "gateway" ], + "x-ms-request-id": [ "c81510e4-52bf-4436-a8ff-74c995994675" ], + "x-ms-correlation-request-id": [ "c81510e4-52bf-4436-a8ff-74c995994675" ], + "x-ms-routing-request-id": [ "WESTUS2:20201110T002706Z:c81510e4-52bf-4436-a8ff-74c995994675" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 05:15:58 GMT" ] + "Date": [ "Tue, 10 Nov 2020 00:27:06 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "905" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] + "Expires": [ "-1" ], + "Content-Length": [ "224" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForMySQL/servers/mysql-test-100\u0027 under resource group \u0027MySqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" } }, - "Get-AzMySqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { + "Get-AzMySqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { - "x-ms-unique-id": [ "2" ], - "x-ms-client-request-id": [ "0b7980dc-56f9-4ba5-90f0-5572c60a09d1" ], + "x-ms-unique-id": [ "5" ], + "x-ms-client-request-id": [ "0bbf49eb-0767-4ba8-9436-20363ab26225" ], "CommandName": [ "Get-AzMySqlServer" ], "FullCommandName": [ "Get-AzMySqlServer_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -56,259 +55,24 @@ } }, "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "49c5afbf-cc1b-4ab3-9ce0-e288aa84f4ca" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], - "x-ms-correlation-request-id": [ "9220f83f-4b06-421c-8152-332eb77696ed" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T051559Z:9220f83f-4b06-421c-8152-332eb77696ed" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 05:15:59 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "905" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" - } - }, - "Get-AzMySqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "e5c8a22b-7f1d-45a4-a7d4-32ebd83803fa" ], - "CommandName": [ "Az.MySql\\Get-AzMySqlServer" ], - "FullCommandName": [ "Get-AzMySqlServer_GetViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "a105431f-76b9-4aaa-b889-1916cace7c07" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], - "x-ms-correlation-request-id": [ "63fcd9ab-5c59-4746-8b44-4ce91e9cdd16" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T051600Z:63fcd9ab-5c59-4746-8b44-4ce91e9cdd16" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 05:15:59 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "905" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" - } - }, - "Get-AzMySqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "0d7a708d-3385-4b00-b64c-b7e87c09ede5" ], - "CommandName": [ "Az.MySql\\Get-AzMySqlServer" ], - "FullCommandName": [ "Get-AzMySqlServer_GetViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "4b614e87-fec6-4819-ad38-031dfcc89c19" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], - "x-ms-correlation-request-id": [ "582c4ee4-8e56-4481-9677-aa2ac9b92fa7" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T051600Z:582c4ee4-8e56-4481-9677-aa2ac9b92fa7" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 05:16:00 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "905" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" - } - }, - "Get-AzMySqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+4": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "5" ], - "x-ms-client-request-id": [ "46cab763-6454-4d60-a168-e50a4d2d21ae" ], - "CommandName": [ "Az.MySql\\Get-AzMySqlServer" ], - "FullCommandName": [ "Get-AzMySqlServer_GetViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "172dc265-964c-4cc0-bb0e-81d6acd06f2c" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], - "x-ms-correlation-request-id": [ "05c4b7f6-70c9-4d93-8301-f0c4b6772b12" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T051601Z:05c4b7f6-70c9-4d93-8301-f0c4b6772b12" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 05:16:00 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "905" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" - } - }, - "Get-AzMySqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+5": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "6" ], - "x-ms-client-request-id": [ "b1698ce7-c92a-4d41-bbe1-73d7105284d3" ], - "CommandName": [ "Az.MySql\\Get-AzMySqlServer" ], - "FullCommandName": [ "Get-AzMySqlServer_GetViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "7425a73d-f6a8-4e17-b536-25f12bab355a" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], - "x-ms-correlation-request-id": [ "316e6b08-9830-4ebb-a084-90b977654e41" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T051601Z:316e6b08-9830-4ebb-a084-90b977654e41" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 05:16:01 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "905" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" - } - }, - "Get-AzMySqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "7" ], - "x-ms-client-request-id": [ "9d3eb22d-fe5a-4449-933d-7e8a337a4ee1" ], - "CommandName": [ "Az.MySql\\Get-AzMySqlServer" ], - "FullCommandName": [ "Get-AzMySqlServer_GetViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "4d837d7b-9622-4981-850d-2a009b227b0b" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], - "x-ms-correlation-request-id": [ "39a6ec2e-c629-4568-857e-c522d52f48b6" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T051601Z:39a6ec2e-c629-4568-857e-c522d52f48b6" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 05:16:01 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "905" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" - } - }, - "Get-AzMySqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+7": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "8" ], - "x-ms-client-request-id": [ "f1c27efb-e75e-4c97-94e5-8a187c53d15f" ], - "CommandName": [ "Az.MySql\\Get-AzMySqlServer" ], - "FullCommandName": [ "Get-AzMySqlServer_GetViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, + "StatusCode": 404, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "6df02656-7980-4f42-83e1-adea0c5a73ce" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], - "x-ms-correlation-request-id": [ "84e5fb63-7320-4de3-9d40-812fd8527d46" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T051602Z:84e5fb63-7320-4de3-9d40-812fd8527d46" ], + "x-ms-failure-cause": [ "gateway" ], + "x-ms-request-id": [ "b1d1f805-9774-49a5-944c-fc55c503211a" ], + "x-ms-correlation-request-id": [ "b1d1f805-9774-49a5-944c-fc55c503211a" ], + "x-ms-routing-request-id": [ "WESTUS2:20201110T002707Z:b1d1f805-9774-49a5-944c-fc55c503211a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 05:16:01 GMT" ] + "Date": [ "Tue, 10 Nov 2020 00:27:06 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "905" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] + "Expires": [ "-1" ], + "Content-Length": [ "224" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForMySQL/servers/mysql-test-100\u0027 under resource group \u0027MySqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" } } } \ No newline at end of file diff --git a/src/MySql/test/Get-AzMySqlFirewallRule.Recording.json b/src/MySql/test/Get-AzMySqlFirewallRule.Recording.json index f81bce1b53ce..410da43da3a5 100644 --- a/src/MySql/test/Get-AzMySqlFirewallRule.Recording.json +++ b/src/MySql/test/Get-AzMySqlFirewallRule.Recording.json @@ -1,827 +1,101 @@ { - "Get-AzMySqlFirewallRule+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { + "Get-AzMySqlFirewallRule+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"endIpAddress\": \"0.0.0.1\",\n \"startIpAddress\": \"0.0.0.0\"\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "88" ] + "Content-Length": [ "93" ] } }, "Response": { - "StatusCode": 202, + "StatusCode": 404, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/6be5f02d-99c6-48a2-b817-a102f1802474?api-version=2017-12-01" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/6be5f02d-99c6-48a2-b817-a102f1802474?api-version=2017-12-01" ], - "x-ms-request-id": [ "6be5f02d-99c6-48a2-b817-a102f1802474" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-correlation-request-id": [ "b95e08d1-077b-40e9-a67f-ce4ebe40de4a" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T052427Z:b95e08d1-077b-40e9-a67f-ce4ebe40de4a" ], + "x-ms-failure-cause": [ "gateway" ], + "x-ms-request-id": [ "1cffd503-5b3a-4e9f-a258-6f753e50ddef" ], + "x-ms-correlation-request-id": [ "1cffd503-5b3a-4e9f-a258-6f753e50ddef" ], + "x-ms-routing-request-id": [ "WESTUS2:20201110T002707Z:1cffd503-5b3a-4e9f-a258-6f753e50ddef" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 05:24:26 GMT" ] + "Date": [ "Tue, 10 Nov 2020 00:27:07 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "86" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-07-24T05:24:25.77Z\"}" - } - }, - "Get-AzMySqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/6be5f02d-99c6-48a2-b817-a102f1802474?api-version=2017-12-01+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/6be5f02d-99c6-48a2-b817-a102f1802474?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "1", "2" ], - "x-ms-client-request-id": [ "dbe2b2a8-aa9d-46f3-8793-76d592cadceb", "dbe2b2a8-aa9d-46f3-8793-76d592cadceb" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule" ], - "FullCommandName": [ "New-AzMySqlFirewallRule_CreateExpanded", "New-AzMySqlFirewallRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "a1115fcb-23bd-40bc-88ea-16ee11160cff" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], - "x-ms-correlation-request-id": [ "9e9cbde0-b675-4805-9767-8a0b24261b18" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T052442Z:9e9cbde0-b675-4805-9767-8a0b24261b18" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 05:24:42 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "106" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"6be5f02d-99c6-48a2-b817-a102f1802474\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T05:24:25.77Z\"}" - } - }, - "Get-AzMySqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "1", "2", "3" ], - "x-ms-client-request-id": [ "dbe2b2a8-aa9d-46f3-8793-76d592cadceb", "dbe2b2a8-aa9d-46f3-8793-76d592cadceb", "dbe2b2a8-aa9d-46f3-8793-76d592cadceb" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule" ], - "FullCommandName": [ "New-AzMySqlFirewallRule_CreateExpanded", "New-AzMySqlFirewallRule_CreateExpanded", "New-AzMySqlFirewallRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "009d1164-cc43-4426-b6ee-f48fb2a9a09d" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], - "x-ms-correlation-request-id": [ "980ac573-898b-4659-96ae-36127e2d0919" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T052442Z:980ac573-898b-4659-96ae-36127e2d0919" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 05:24:42 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "305" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/servers/firewallRules\"}" - } - }, - "Get-AzMySqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules?api-version=2017-12-01+4": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "3e4a617c-bca1-496b-acd9-86556712bbc7" ], - "CommandName": [ "Get-AzMySqlFirewallRule" ], - "FullCommandName": [ "Get-AzMySqlFirewallRule_List" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "e11bdb2b-051e-4441-932e-8fcb44aad0c9" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], - "x-ms-correlation-request-id": [ "54e48022-6517-4eb4-a0e3-ac4c10d0ea9d" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T052443Z:54e48022-6517-4eb4-a0e3-ac4c10d0ea9d" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 05:24:43 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "317" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"value\":[{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/servers/firewallRules\"}]}" - } - }, - "Get-AzMySqlFirewallRule+[NoContext]+List+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+5": { - "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "5" ], - "x-ms-client-request-id": [ "ea402944-a618-4c64-bccf-7d672fce0e43" ], - "CommandName": [ "Remove-AzMySqlFirewallRule" ], - "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/a0fe98ac-ab84-42fc-a143-e4f0905a1843?api-version=2017-12-01" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/a0fe98ac-ab84-42fc-a143-e4f0905a1843?api-version=2017-12-01" ], - "x-ms-request-id": [ "a0fe98ac-ab84-42fc-a143-e4f0905a1843" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], - "x-ms-correlation-request-id": [ "300ebabc-6b6b-4f81-933a-99a9012b911f" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T052444Z:300ebabc-6b6b-4f81-933a-99a9012b911f" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 05:24:44 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "84" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-07-24T05:24:43.817Z\"}" - } - }, - "Get-AzMySqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/a0fe98ac-ab84-42fc-a143-e4f0905a1843?api-version=2017-12-01+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/a0fe98ac-ab84-42fc-a143-e4f0905a1843?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "5", "6" ], - "x-ms-client-request-id": [ "ea402944-a618-4c64-bccf-7d672fce0e43", "ea402944-a618-4c64-bccf-7d672fce0e43" ], - "CommandName": [ "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule" ], - "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "6afda5af-f5bc-4494-86b6-6117f48d241f" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], - "x-ms-correlation-request-id": [ "70a04b38-ec02-4784-a248-402028c4b4f4" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T052500Z:70a04b38-ec02-4784-a248-402028c4b4f4" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 05:25:00 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"a0fe98ac-ab84-42fc-a143-e4f0905a1843\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T05:24:43.817Z\"}" - } - }, - "Get-AzMySqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/a0fe98ac-ab84-42fc-a143-e4f0905a1843?api-version=2017-12-01+7": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/a0fe98ac-ab84-42fc-a143-e4f0905a1843?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "5", "6", "7" ], - "x-ms-client-request-id": [ "ea402944-a618-4c64-bccf-7d672fce0e43", "ea402944-a618-4c64-bccf-7d672fce0e43", "ea402944-a618-4c64-bccf-7d672fce0e43" ], - "CommandName": [ "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule" ], - "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "49934721-2166-4352-8ec5-02a80967f46d" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], - "x-ms-correlation-request-id": [ "5931d3f2-27d2-430d-8b5e-286a31b87f7f" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T052500Z:5931d3f2-27d2-430d-8b5e-286a31b87f7f" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 05:25:00 GMT" ] - }, - "ContentHeaders": { "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "224" ] }, - "Content": null + "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForMySQL/servers/mysql-test-100\u0027 under resource group \u0027MySqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" } }, - "Get-AzMySqlFirewallRule+[NoContext]+Get+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { + "Get-AzMySqlFirewallRule+[NoContext]+Get+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"endIpAddress\": \"0.0.0.1\",\n \"startIpAddress\": \"0.0.0.0\"\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "88" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/32c7fbff-0076-4284-88ed-a58c6c5dc049?api-version=2017-12-01" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/32c7fbff-0076-4284-88ed-a58c6c5dc049?api-version=2017-12-01" ], - "x-ms-request-id": [ "32c7fbff-0076-4284-88ed-a58c6c5dc049" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], - "x-ms-correlation-request-id": [ "169e67a1-a93c-4797-a0ba-f611062bc57b" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T052502Z:169e67a1-a93c-4797-a0ba-f611062bc57b" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 05:25:02 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "86" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-07-24T05:25:01.13Z\"}" - } - }, - "Get-AzMySqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/32c7fbff-0076-4284-88ed-a58c6c5dc049?api-version=2017-12-01+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/32c7fbff-0076-4284-88ed-a58c6c5dc049?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "8", "9" ], - "x-ms-client-request-id": [ "21907da2-899e-45a9-b460-d9194c20dbe3", "21907da2-899e-45a9-b460-d9194c20dbe3" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule" ], - "FullCommandName": [ "New-AzMySqlFirewallRule_CreateExpanded", "New-AzMySqlFirewallRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "beffded2-b008-4835-9f6c-8c739a696135" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], - "x-ms-correlation-request-id": [ "e291441c-9a14-458b-a210-baef790d3b16" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T052517Z:e291441c-9a14-458b-a210-baef790d3b16" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 05:25:17 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "106" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"32c7fbff-0076-4284-88ed-a58c6c5dc049\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T05:25:01.13Z\"}" - } - }, - "Get-AzMySqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "8", "9", "10" ], - "x-ms-client-request-id": [ "21907da2-899e-45a9-b460-d9194c20dbe3", "21907da2-899e-45a9-b460-d9194c20dbe3", "21907da2-899e-45a9-b460-d9194c20dbe3" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule" ], - "FullCommandName": [ "New-AzMySqlFirewallRule_CreateExpanded", "New-AzMySqlFirewallRule_CreateExpanded", "New-AzMySqlFirewallRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "3d87f33a-dedc-4057-b1ac-052f5db64f81" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], - "x-ms-correlation-request-id": [ "7d3e8aaf-f61b-4282-8e23-e83ace68e7d3" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T052518Z:7d3e8aaf-f61b-4282-8e23-e83ace68e7d3" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 05:25:17 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "305" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/servers/firewallRules\"}" - } - }, - "Get-AzMySqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+4": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "11" ], - "x-ms-client-request-id": [ "531dbebe-38c0-44c9-a721-7db822aa72ab" ], - "CommandName": [ "Get-AzMySqlFirewallRule" ], - "FullCommandName": [ "Get-AzMySqlFirewallRule_Get" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { + "Content-Length": [ "93" ] } }, "Response": { - "StatusCode": 200, + "StatusCode": 404, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "1e46c895-6164-42e0-9998-6654bf46394b" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], - "x-ms-correlation-request-id": [ "dcd82b13-59ab-4de3-8f9d-3909b08b6123" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T052518Z:dcd82b13-59ab-4de3-8f9d-3909b08b6123" ], + "x-ms-failure-cause": [ "gateway" ], + "x-ms-request-id": [ "15c329c6-077b-4da1-8c5e-e764f3c47246" ], + "x-ms-correlation-request-id": [ "15c329c6-077b-4da1-8c5e-e764f3c47246" ], + "x-ms-routing-request-id": [ "WESTUS2:20201110T002707Z:15c329c6-077b-4da1-8c5e-e764f3c47246" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 05:25:18 GMT" ] + "Date": [ "Tue, 10 Nov 2020 00:27:07 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "305" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/servers/firewallRules\"}" - } - }, - "Get-AzMySqlFirewallRule+[NoContext]+Get+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+5": { - "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "12" ], - "x-ms-client-request-id": [ "82a047a1-6ab2-4eec-b8d1-de99643f0aab" ], - "CommandName": [ "Remove-AzMySqlFirewallRule" ], - "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/ec6ea1ad-4667-4ae5-aa62-19a01bd6b18c?api-version=2017-12-01" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ec6ea1ad-4667-4ae5-aa62-19a01bd6b18c?api-version=2017-12-01" ], - "x-ms-request-id": [ "ec6ea1ad-4667-4ae5-aa62-19a01bd6b18c" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14998" ], - "x-ms-correlation-request-id": [ "1a4ef829-c652-4e52-9ea7-807ed84d5b30" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T052520Z:1a4ef829-c652-4e52-9ea7-807ed84d5b30" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 05:25:19 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "84" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-07-24T05:25:18.897Z\"}" - } - }, - "Get-AzMySqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ec6ea1ad-4667-4ae5-aa62-19a01bd6b18c?api-version=2017-12-01+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ec6ea1ad-4667-4ae5-aa62-19a01bd6b18c?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "12", "13" ], - "x-ms-client-request-id": [ "82a047a1-6ab2-4eec-b8d1-de99643f0aab", "82a047a1-6ab2-4eec-b8d1-de99643f0aab" ], - "CommandName": [ "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule" ], - "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "f0de194a-5399-49be-ae04-f2c296b20882" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], - "x-ms-correlation-request-id": [ "416d1067-598d-467a-a457-b023a05f323f" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T052535Z:416d1067-598d-467a-a457-b023a05f323f" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 05:25:35 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"ec6ea1ad-4667-4ae5-aa62-19a01bd6b18c\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T05:25:18.897Z\"}" - } - }, - "Get-AzMySqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/ec6ea1ad-4667-4ae5-aa62-19a01bd6b18c?api-version=2017-12-01+7": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/ec6ea1ad-4667-4ae5-aa62-19a01bd6b18c?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "12", "13", "14" ], - "x-ms-client-request-id": [ "82a047a1-6ab2-4eec-b8d1-de99643f0aab", "82a047a1-6ab2-4eec-b8d1-de99643f0aab", "82a047a1-6ab2-4eec-b8d1-de99643f0aab" ], - "CommandName": [ "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule" ], - "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "fb19cf2b-b38b-4288-9512-cd2ac988cfb8" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], - "x-ms-correlation-request-id": [ "7863e58d-5843-44ef-b30b-3b5bd3bf2402" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T052535Z:7863e58d-5843-44ef-b30b-3b5bd3bf2402" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 05:25:35 GMT" ] - }, - "ContentHeaders": { "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "224" ] }, - "Content": null + "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForMySQL/servers/mysql-test-100\u0027 under resource group \u0027MySqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" } }, - "Get-AzMySqlFirewallRule+[NoContext]+GetViaIdentity+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { + "Get-AzMySqlFirewallRule+[NoContext]+GetViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"endIpAddress\": \"0.0.0.1\",\n \"startIpAddress\": \"0.0.0.0\"\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "88" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/45403173-0f51-4d6c-be03-f0b08a4ea1fa?api-version=2017-12-01" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/45403173-0f51-4d6c-be03-f0b08a4ea1fa?api-version=2017-12-01" ], - "x-ms-request-id": [ "45403173-0f51-4d6c-be03-f0b08a4ea1fa" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], - "x-ms-correlation-request-id": [ "5a084777-3221-4c9e-865b-0b29ee2f7b59" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T052537Z:5a084777-3221-4c9e-865b-0b29ee2f7b59" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 05:25:37 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "86" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-07-24T05:25:36.24Z\"}" - } - }, - "Get-AzMySqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/45403173-0f51-4d6c-be03-f0b08a4ea1fa?api-version=2017-12-01+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/45403173-0f51-4d6c-be03-f0b08a4ea1fa?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "15", "16" ], - "x-ms-client-request-id": [ "667b8aa2-e2a6-4ce3-86ea-752034fe44c9", "667b8aa2-e2a6-4ce3-86ea-752034fe44c9" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule" ], - "FullCommandName": [ "New-AzMySqlFirewallRule_CreateExpanded", "New-AzMySqlFirewallRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "58352c06-b222-4195-9ad1-19deb7f01596" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], - "x-ms-correlation-request-id": [ "b7ee91e7-c5ff-4f53-82b6-efe06e557290" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T052552Z:b7ee91e7-c5ff-4f53-82b6-efe06e557290" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 05:25:52 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "106" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"45403173-0f51-4d6c-be03-f0b08a4ea1fa\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T05:25:36.24Z\"}" - } - }, - "Get-AzMySqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "15", "16", "17" ], - "x-ms-client-request-id": [ "667b8aa2-e2a6-4ce3-86ea-752034fe44c9", "667b8aa2-e2a6-4ce3-86ea-752034fe44c9", "667b8aa2-e2a6-4ce3-86ea-752034fe44c9" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule" ], - "FullCommandName": [ "New-AzMySqlFirewallRule_CreateExpanded", "New-AzMySqlFirewallRule_CreateExpanded", "New-AzMySqlFirewallRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "07f96ea6-2b68-4e52-9272-4fb792a05cf4" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], - "x-ms-correlation-request-id": [ "17199711-5cc8-49bd-9ebf-216b6889b78b" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T052553Z:17199711-5cc8-49bd-9ebf-216b6889b78b" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 05:25:52 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "305" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/servers/firewallRules\"}" - } - }, - "Get-AzMySqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+4": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "18" ], - "x-ms-client-request-id": [ "06a99d7a-a1eb-4181-8208-8349db0399cf" ], - "CommandName": [ "Get-AzMySqlFirewallRule" ], - "FullCommandName": [ "Get-AzMySqlFirewallRule_GetViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "0bbbe837-7a21-4c4e-b696-1b5ec17e39aa" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], - "x-ms-correlation-request-id": [ "c95af1da-322f-454a-88ea-bdc5a7b15f7c" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T052553Z:c95af1da-322f-454a-88ea-bdc5a7b15f7c" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 05:25:53 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "305" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/servers/firewallRules\"}" - } - }, - "Get-AzMySqlFirewallRule+[NoContext]+GetViaIdentity+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+5": { - "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "19" ], - "x-ms-client-request-id": [ "ea367a72-86e4-4c85-8ed9-bce0ac43e35a" ], - "CommandName": [ "Remove-AzMySqlFirewallRule" ], - "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/03d7b0c5-6fc4-44b0-a051-0df46b347c8c?api-version=2017-12-01" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/03d7b0c5-6fc4-44b0-a051-0df46b347c8c?api-version=2017-12-01" ], - "x-ms-request-id": [ "03d7b0c5-6fc4-44b0-a051-0df46b347c8c" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14997" ], - "x-ms-correlation-request-id": [ "a7485db5-13ad-4c35-b492-0a532e9a0b96" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T052555Z:a7485db5-13ad-4c35-b492-0a532e9a0b96" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 05:25:54 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "84" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-07-24T05:25:54.037Z\"}" - } - }, - "Get-AzMySqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/03d7b0c5-6fc4-44b0-a051-0df46b347c8c?api-version=2017-12-01+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/03d7b0c5-6fc4-44b0-a051-0df46b347c8c?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "19", "20" ], - "x-ms-client-request-id": [ "ea367a72-86e4-4c85-8ed9-bce0ac43e35a", "ea367a72-86e4-4c85-8ed9-bce0ac43e35a" ], - "CommandName": [ "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule" ], - "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { + "Content-Length": [ "93" ] } }, "Response": { - "StatusCode": 200, + "StatusCode": 404, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "40ef670a-398f-47ff-98cc-ee07cf8925e7" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], - "x-ms-correlation-request-id": [ "1732cded-6589-46a9-8b19-f79f7e410042" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T052610Z:1732cded-6589-46a9-8b19-f79f7e410042" ], + "x-ms-failure-cause": [ "gateway" ], + "x-ms-request-id": [ "aa5ded21-256f-4e18-8af3-721c97e316a6" ], + "x-ms-correlation-request-id": [ "aa5ded21-256f-4e18-8af3-721c97e316a6" ], + "x-ms-routing-request-id": [ "WESTUS2:20201110T002708Z:aa5ded21-256f-4e18-8af3-721c97e316a6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 05:26:09 GMT" ] + "Date": [ "Tue, 10 Nov 2020 00:27:07 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "107" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"03d7b0c5-6fc4-44b0-a051-0df46b347c8c\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T05:25:54.037Z\"}" - } - }, - "Get-AzMySqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/03d7b0c5-6fc4-44b0-a051-0df46b347c8c?api-version=2017-12-01+7": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/03d7b0c5-6fc4-44b0-a051-0df46b347c8c?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "19", "20", "21" ], - "x-ms-client-request-id": [ "ea367a72-86e4-4c85-8ed9-bce0ac43e35a", "ea367a72-86e4-4c85-8ed9-bce0ac43e35a", "ea367a72-86e4-4c85-8ed9-bce0ac43e35a" ], - "CommandName": [ "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule" ], - "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "60548a2b-d315-4333-86ec-94d49b21c453" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], - "x-ms-correlation-request-id": [ "78dbb9c6-161d-4f33-b0fd-a45b3dc8714d" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T052610Z:78dbb9c6-161d-4f33-b0fd-a45b3dc8714d" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 05:26:10 GMT" ] - }, - "ContentHeaders": { "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "224" ] }, - "Content": null + "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForMySQL/servers/mysql-test-100\u0027 under resource group \u0027MySqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" } } } \ No newline at end of file diff --git a/src/MySql/test/Get-AzMySqlFlexibleServer.Recording.json b/src/MySql/test/Get-AzMySqlFlexibleServer.Recording.json new file mode 100644 index 000000000000..d1dc52ca890e --- /dev/null +++ b/src/MySql/test/Get-AzMySqlFlexibleServer.Recording.json @@ -0,0 +1,158 @@ +{ + "Get-AzMySqlFlexibleServer+[NoContext]+List1+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySql/flexibleServers?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySql/flexibleServers?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1" ], + "x-ms-client-request-id": [ "f88474f9-0a45-4b75-b14a-6917c8cc1a4b" ], + "CommandName": [ "Get-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Get-AzMySqlFlexibleServer_List1" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-original-request-ids": [ "dda5279c-7870-48c2-b639-7dde2d2fd031", "37561901-7038-4788-9406-15360c6342bf" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-request-id": [ "7263f6c4-d61b-48e3-8b71-edc311c24626" ], + "x-ms-correlation-request-id": [ "7263f6c4-d61b-48e3-8b71-edc311c24626" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064349Z:7263f6c4-d61b-48e3-8b71-edc311c24626" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Wed, 11 Nov 2020 06:43:49 GMT" ] + }, + "ContentHeaders": { + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ], + "Content-Length": [ "9128" ] + }, + "Content": "{\"value\":[{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"daeunyim\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"daeun-powershell-server.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-05T22:52:03.0402396+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/daeun-powershell-mysql/providers/Microsoft.DBforMySQL/flexibleServers/daeun-powershell-server\",\"name\":\"daeun-powershell-server\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"speedySnail9\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"server012637588.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-05T18:08:43.7580523+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/daeun-cli-test/providers/Microsoft.Network/virtualNetworks/VNET012637588/subnets/Subnet012637588\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/daeun-cli-test/providers/Microsoft.DBforMySQL/flexibleServers/server012637588\",\"name\":\"server012637588\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"liquidRaccoon8\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"server022804110.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-04T19:54:26.7636175+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group1482159619/providers/Microsoft.Network/virtualNetworks/VNET022804110/subnets/Subnet022804110\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group1482159619/providers/Microsoft.DBforMySQL/flexibleServers/server022804110\",\"name\":\"server022804110\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"prizeStork9\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"server168864419.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-04T19:38:08.4695498+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group4637056872/providers/Microsoft.Network/virtualNetworks/VNET168864419/subnets/Subnet168864419\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group4637056872/providers/Microsoft.DBforMySQL/flexibleServers/server168864419\",\"name\":\"server168864419\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"famousOstrich3\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"server293736511.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-04T21:33:22.0805152+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group2718179930/providers/Microsoft.Network/virtualNetworks/VNET293736511/subnets/Subnet293736511\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group2718179930/providers/Microsoft.DBforMySQL/flexibleServers/server293736511\",\"name\":\"server293736511\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"admiredCattle5\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"server353717254.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-04T19:02:49.9648937+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group2742570377/providers/Microsoft.Network/virtualNetworks/VNET353717254/subnets/Subnet353717254\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group2742570377/providers/Microsoft.DBforMySQL/flexibleServers/server353717254\",\"name\":\"server353717254\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"shyGull9\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"server561537754.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-09T09:20:18.4548363+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/daeun-powershell-mysql/providers/Microsoft.Network/virtualNetworks/VNET561537754/subnets/Subnet561537754\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/daeun-powershell-mysql/providers/Microsoft.DBforMySQL/flexibleServers/server561537754\",\"name\":\"server561537754\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"adminuser\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysqlrwtestfs.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-04T06:43:49.6738646+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/mysqlrwtestrg/providers/Microsoft.DBforMySQL/flexibleServers/mysqlrwtestfs\",\"name\":\"mysqlrwtestfs\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}]}" + } + }, + "Get-AzMySqlFlexibleServer+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2" ], + "x-ms-client-request-id": [ "c75b0008-9695-4b92-b8de-3f53651f27f0" ], + "CommandName": [ "Get-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Get-AzMySqlFlexibleServer_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "82ca106e-1c62-4c12-8754-f6c7a86549fe" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-correlation-request-id": [ "1579df2f-2813-4d93-b932-7d72edbfd533" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064350Z:1579df2f-2813-4d93-b932-7d72edbfd533" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:43:49 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "937" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + } + }, + "Get-AzMySqlFlexibleServer+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "3" ], + "x-ms-client-request-id": [ "8be249c5-1955-4cbb-9fc8-3b2c7957a631" ], + "CommandName": [ "Get-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Get-AzMySqlFlexibleServer_List" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "68a8fe03-8523-4667-907d-1868b369e2d6" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-correlation-request-id": [ "8856ded0-6cd5-4da6-81cf-0299c1985c3d" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064350Z:8856ded0-6cd5-4da6-81cf-0299c1985c3d" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:43:49 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "857" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"value\":[{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}]}" + } + }, + "Get-AzMySqlFlexibleServer+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "254d0724-6b69-4292-bb6f-7cffd6abd89e" ], + "CommandName": [ "Get-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Get-AzMySqlFlexibleServer_GetViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "9acc05e7-ad2f-48fe-afe3-1a471fa64c0a" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-correlation-request-id": [ "e39dee8d-5c5f-4dc9-a7e3-3b96c44516a4" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064350Z:e39dee8d-5c5f-4dc9-a7e3-3b96c44516a4" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:43:50 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "937" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + } + } +} \ No newline at end of file diff --git a/src/MySql/test/Get-AzMySqlFlexibleServer.Tests.ps1 b/src/MySql/test/Get-AzMySqlFlexibleServer.Tests.ps1 new file mode 100644 index 000000000000..9b2dbbcb7745 --- /dev/null +++ b/src/MySql/test/Get-AzMySqlFlexibleServer.Tests.ps1 @@ -0,0 +1,43 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzMySqlFlexibleServer.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'Get-AzMySqlFlexibleServer' { + It 'List1' { + { + $servers = Get-AzMySqlFlexibleServer + $servers.Count | Should -BeGreaterOrEqual 1 + } | Should -Not -Throw + } + + It 'Get' { + { + $servers = Get-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName + $servers.Name | Should -Be $env.serverName + } | Should -Not -Throw + } + + It 'List' { + { + $servers = Get-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup + $servers.Count | Should -Be 1 + } | Should -Not -Throw + } + + It 'GetViaIdentity' { + { + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySql/flexibleServers/$($env.serverName)" + $servers = Get-AzMySqlFlexibleServer -InputObject $ID + $servers.Name | Should -Be $env.serverName + } | Should -Not -Throw + } +} diff --git a/src/MySql/test/Get-AzMySqlFlexibleServerConfiguration.Recording.json b/src/MySql/test/Get-AzMySqlFlexibleServerConfiguration.Recording.json new file mode 100644 index 000000000000..693f3ad39045 --- /dev/null +++ b/src/MySql/test/Get-AzMySqlFlexibleServerConfiguration.Recording.json @@ -0,0 +1,119 @@ +{ + "Get-AzMySqlFlexibleServerConfiguration+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/configurations?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/configurations?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1" ], + "x-ms-client-request-id": [ "16855943-b601-4c48-83f2-44da7e2d9c3b" ], + "CommandName": [ "Get-AzMySqlFlexibleServerConfiguration" ], + "FullCommandName": [ "Get-AzMySqlFlexibleServerConfiguration_List" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "b38ee2d9-9fb0-4022-8d24-cd23153b589f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-correlation-request-id": [ "aeeaaeb8-c890-48bf-bb08-0a83f5f51211" ], + "x-ms-routing-request-id": [ "WESTUS:20201110T222004Z:aeeaaeb8-c890-48bf-bb08-0a83f5f51211" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 22:20:04 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "223458" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"value\":[{\"properties\":{\"value\":\"OFF\",\"description\":\"Tell the server to enable or disable archive engine.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/archive\",\"name\":\"archive\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Allow to audit the log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/audit_log_enabled\",\"name\":\"audit_log_enabled\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"CONNECTION\",\"description\":\"Select the events to audit logs.\",\"defaultValue\":\"CONNECTION\",\"dataType\":\"Set\",\"allowedValues\":\"DDL,DML_SELECT,DML_NONSELECT,DCL,ADMIN,DML,GENERAL,CONNECTION,TABLE_ACCESS\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/audit_log_events\",\"name\":\"audit_log_events\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"azure_superuser\",\"description\":\"The comma-separated user list whose commands will not be in the audit logs.\",\"defaultValue\":\"azure_superuser\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/audit_log_exclude_users\",\"name\":\"audit_log_exclude_users\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"The comma-separated user list whose commands will be in the audit logs. It takes higher priority if the same user name is found in audit_log_exclude_users.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/audit_log_include_users\",\"name\":\"audit_log_include_users\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Allow to audit the slow log.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/audit_slow_log_enabled\",\"name\":\"audit_slow_log_enabled\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Controls whether the server autogenerates SSL key and certificate files in the data directory, if they do not already exist.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/auto_generate_certs\",\"name\":\"auto_generate_certs\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"The autocommit mode. If set to ON, all changes to a table take effect immediately. If set to OFF, you must use COMMIT to accept a transaction or ROLLBACK to cancel it.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/autocommit\",\"name\":\"autocommit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This variable controls whether ALTER TABLE implicitly upgrades temporal columns found to be in pre-5.6.4 format.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/avoid_temporal_upgrade\",\"name\":\"avoid_temporal_upgrade\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"271\",\"description\":\"The number of outstanding connection requests MySQL can have\",\"defaultValue\":\"271\",\"dataType\":\"Integer\",\"allowedValues\":\"0-65535\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/back_log\",\"name\":\"back_log\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1048576\",\"description\":\"The size of the cache to hold changes to the binary log during a transaction.\",\"defaultValue\":\"1048576\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967296\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/binlog_cache_size\",\"name\":\"binlog_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"CRC32\",\"description\":\"When enabled, this variable causes the master to write a checksum for each event in the binary log.\",\"defaultValue\":\"CRC32\",\"dataType\":\"Enumeration\",\"allowedValues\":\"NONE,CRC32\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/binlog_checksum\",\"name\":\"binlog_checksum\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ABORT_SERVER\",\"description\":\"Controls what happens when the server cannot write to the binary log, which can cause the master\u0027s log to become inconsistent and replication slaves to lose synchronization.\",\"defaultValue\":\"ABORT_SERVER\",\"dataType\":\"Enumeration\",\"allowedValues\":\"IGNORE_ERROR,ABORT_SERVER\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/binlog_error_action\",\"name\":\"binlog_error_action\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The number of seconds for automatic binary log file removal. The default is 0, which means no automatic removal. Possible removals happen at startup and when the binary log is flushed.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/binlog_expire_logs_seconds\",\"name\":\"binlog_expire_logs_seconds\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ROW\",\"description\":\"This variable sets the binary logging format, and can be any one of STATEMENT, ROW, or MIXED.\",\"defaultValue\":\"ROW\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ROW,STATEMENT,MIXED\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/binlog_format\",\"name\":\"binlog_format\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Controls how many microseconds the binary log commit waits before synchronizing the binary log file to disk.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0,11-1000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/binlog_group_commit_sync_delay\",\"name\":\"binlog_group_commit_sync_delay\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The maximum number of transactions to wait for before aborting the current delay as specified by binlog-group-commit-sync-delay.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/binlog_group_commit_sync_no_delay_count\",\"name\":\"binlog_group_commit_sync_no_delay_count\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"This variable controls how binary log files are iterated during the search for GTIDs when MySQL starts or restarts.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/binlog_gtid_simple_recovery\",\"name\":\"binlog_gtid_simple_recovery\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"If this variable is enabled (the default), transactions are committed in the same order they are written to the binary log. If disabled, transactions may be committed in parallel.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/binlog_order_commits\",\"name\":\"binlog_order_commits\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"minimal\",\"description\":\"For MySQL row-based replication, this variable determines how row images are written to the binary log.\",\"defaultValue\":\"minimal\",\"dataType\":\"Enumeration\",\"allowedValues\":\"full,minimal,noblob\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/binlog_row_image\",\"name\":\"binlog_row_image\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"The binlog_rows_query_log_events system variable affects row-based logging only. When enabled, it causes the MySQL Server to write informational log events such as row query log events into its binary log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/binlog_rows_query_log_events\",\"name\":\"binlog_rows_query_log_events\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"32768\",\"description\":\"This variable determines the size of the cache for the binary log to hold nontransactional statements issued during a transaction.\",\"defaultValue\":\"32768\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/binlog_stmt_cache_size\",\"name\":\"binlog_stmt_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1048576\",\"description\":\"Specify the maximum size of a row-based binary log event in bytes.\",\"defaultValue\":\"1048576\",\"dataType\":\"Integer\",\"allowedValues\":\"256-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/binlog-row-event-max-size\",\"name\":\"binlog-row-event-max-size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Tell the server to enable or disable blackhole engine.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/blackhole\",\"name\":\"blackhole\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"aes-128-ecb\",\"description\":\"This variable controls the block encryption mode for block-based algorithms such as AES.\",\"defaultValue\":\"aes-128-ecb\",\"dataType\":\"Enumeration\",\"allowedValues\":\"aes-128-ecb,aes-192-ecb,aes-256-ecb,aes-128-cbc,aes-192-cbc,aes-256-cbc\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/block_encryption_mode\",\"name\":\"block_encryption_mode\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8388608\",\"description\":\"Limits the size of the MyISAM cache tree in bytes per thread.\",\"defaultValue\":\"8388608\",\"dataType\":\"Integer\",\"allowedValues\":\"0-18446744073709547520\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/bulk_insert_buffer_size\",\"name\":\"bulk_insert_buffer_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"latin1\",\"description\":\"Use charset_name as the default server character set.\",\"defaultValue\":\"latin1\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ARMSCII8,ASCII,BIG5,BINARY,CP1250,CP1251,CP1256,CP1257,CP850,CP852,CP866,CP932,DEC8,EUCJPMS,EUCKR,GB18030,GB2312,GBK,GEOSTD8,GREEK,HEBREW,HP8,KEYBCS2,KOI8R,KOI8U,LATIN1,LATIN2,LATIN5,LATIN7,MACCE,MACROMAN,SJIS,SWE7,TIS620,UCS2,UJIS,UTF16,UTF16LE,UTF32,UTF8,UTF8MB4\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/character_set_server\",\"name\":\"character_set_server\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"latin1_swedish_ci\",\"description\":\"The server\u0027s default collation.\",\"defaultValue\":\"latin1_swedish_ci\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ARMSCII8_BIN,ARMSCII8_GENERAL_CI,ASCII_BIN,ASCII_GENERAL_CI,BIG5_BIN,BIG5_CHINESE_CI,BINARY,CP1250_BIN,CP1250_CROATIAN_CI,CP1250_CZECH_CS,CP1250_GENERAL_CI,CP1250_POLISH_CI,CP1251_BIN,CP1251_BULGARIAN_CI,CP1251_GENERAL_CI,CP1251_GENERAL_CS,CP1251_UKRAINIAN_CI,CP1256_BIN,CP1256_GENERAL_CI,CP1257_BIN,CP1257_GENERAL_CI,CP1257_LITHUANIAN_CI,CP850_BIN,CP850_GENERAL_CI,CP852_BIN,CP852_GENERAL_CI,CP866_BIN,CP866_GENERAL_CI,CP932_BIN,CP932_JAPANESE_CI,DEC8_BIN,DEC8_SWEDISH_CI,EUCJPMS_BIN,EUCJPMS_JAPANESE_CI,EUCKR_BIN,EUCKR_KOREAN_CI,GB18030_BIN,GB18030_CHINESE_CI,GB18030_UNICODE_520_CI,GB2312_BIN,GB2312_CHINESE_CI,GBK_BIN,GBK_CHINESE_CI,GEOSTD8_BIN,GEOSTD8_GENERAL_CI,GREEK_BIN,GREEK_GENERAL_CI,HEBREW_BIN,HEBREW_GENERAL_CI,HP8_BIN,HP8_ENGLISH_CI,KEYBCS2_BIN,KEYBCS2_GENERAL_CI,KOI8R_BIN,KOI8R_GENERAL_CI,KOI8U_BIN,KOI8U_GENERAL_CI,LATIN1_BIN,LATIN1_DANISH_CI,LATIN1_GENERAL_CI,LATIN1_GENERAL_CS,LATIN1_GERMAN1_CI,LATIN1_GERMAN2_CI,LATIN1_SPANISH_CI,LATIN1_SWEDISH_CI,LATIN2_BIN,LATIN2_CROATIAN_CI,LATIN2_CZECH_CS,LATIN2_GENERAL_CI,LATIN2_HUNGARIAN_CI,LATIN5_BIN,LATIN5_TURKISH_CI,LATIN7_BIN,LATIN7_ESTONIAN_CS,LATIN7_GENERAL_CI,LATIN7_GENERAL_CS,MACCE_BIN,MACCE_GENERAL_CI,MACROMAN_BIN,MACROMAN_GENERAL_CI,SJIS_BIN,SJIS_JAPANESE_CI,SWE7_BIN,SWE7_SWEDISH_CI,TIS620_BIN,TIS620_THAI_CI,UCS2_BIN,UCS2_CROATIAN_CI,UCS2_CZECH_CI,UCS2_DANISH_CI,UCS2_ESPERANTO_CI,UCS2_ESTONIAN_CI,UCS2_GENERAL_CI,UCS2_GENERAL_MYSQL500_CI,UCS2_GERMAN2_CI,UCS2_HUNGARIAN_CI,UCS2_ICELANDIC_CI,UCS2_LATVIAN_CI,UCS2_LITHUANIAN_CI,UCS2_PERSIAN_CI,UCS2_POLISH_CI,UCS2_ROMAN_CI,UCS2_ROMANIAN_CI,UCS2_SINHALA_CI,UCS2_SLOVAK_CI,UCS2_SLOVENIAN_CI,UCS2_SPANISH_CI,UCS2_SPANISH2_CI,UCS2_SWEDISH_CI,UCS2_TURKISH_CI,UCS2_UNICODE_520_CI,UCS2_UNICODE_CI,UCS2_VIETNAMESE_CI,UJIS_BIN,UJIS_JAPANESE_CI,UTF16_BIN,UTF16_CROATIAN_CI,UTF16_CZECH_CI,UTF16_DANISH_CI,UTF16_ESPERANTO_CI,UTF16_ESTONIAN_CI,UTF16_GENERAL_CI,UTF16_GERMAN2_CI,UTF16_HUNGARIAN_CI,UTF16_ICELANDIC_CI,UTF16_LATVIAN_CI,UTF16_LITHUANIAN_CI,UTF16_PERSIAN_CI,UTF16_POLISH_CI,UTF16_ROMAN_CI,UTF16_ROMANIAN_CI,UTF16_SINHALA_CI,UTF16_SLOVAK_CI,UTF16_SLOVENIAN_CI,UTF16_SPANISH_CI,UTF16_SPANISH2_CI,UTF16_SWEDISH_CI,UTF16_TURKISH_CI,UTF16_UNICODE_520_CI,UTF16_UNICODE_CI,UTF16_VIETNAMESE_CI,UTF16LE_BIN,UTF16LE_GENERAL_CI,UTF32_BIN,UTF32_CROATIAN_CI,UTF32_CZECH_CI,UTF32_DANISH_CI,UTF32_ESPERANTO_CI,UTF32_ESTONIAN_CI,UTF32_GENERAL_CI,UTF32_GERMAN2_CI,UTF32_HUNGARIAN_CI,UTF32_ICELANDIC_CI,UTF32_LATVIAN_CI,UTF32_LITHUANIAN_CI,UTF32_PERSIAN_CI,UTF32_POLISH_CI,UTF32_ROMAN_CI,UTF32_ROMANIAN_CI,UTF32_SINHALA_CI,UTF32_SLOVAK_CI,UTF32_SLOVENIAN_CI,UTF32_SPANISH_CI,UTF32_SPANISH2_CI,UTF32_SWEDISH_CI,UTF32_TURKISH_CI,UTF32_UNICODE_520_CI,UTF32_UNICODE_CI,UTF32_VIETNAMESE_CI,UTF8_BIN,UTF8_CROATIAN_CI,UTF8_CZECH_CI,UTF8_DANISH_CI,UTF8_ESPERANTO_CI,UTF8_ESTONIAN_CI,UTF8_GENERAL_CI,UTF8_GENERAL_MYSQL500_CI,UTF8_GERMAN2_CI,UTF8_HUNGARIAN_CI,UTF8_ICELANDIC_CI,UTF8_LATVIAN_CI,UTF8_LITHUANIAN_CI,UTF8_PERSIAN_CI,UTF8_POLISH_CI,UTF8_ROMAN_CI,UTF8_ROMANIAN_CI,UTF8_SINHALA_CI,UTF8_SLOVAK_CI,UTF8_SLOVENIAN_CI,UTF8_SPANISH_CI,UTF8_SPANISH2_CI,UTF8_SWEDISH_CI,UTF8_TURKISH_CI,UTF8_UNICODE_520_CI,UTF8_UNICODE_CI,UTF8_VIETNAMESE_CI,UTF8MB4_BIN,UTF8MB4_CROATIAN_CI,UTF8MB4_CZECH_CI,UTF8MB4_DANISH_CI,UTF8MB4_ESPERANTO_CI,UTF8MB4_ESTONIAN_CI,UTF8MB4_GENERAL_CI,UTF8MB4_GERMAN2_CI,UTF8MB4_HUNGARIAN_CI,UTF8MB4_ICELANDIC_CI,UTF8MB4_LATVIAN_CI,UTF8MB4_LITHUANIAN_CI,UTF8MB4_PERSIAN_CI,UTF8MB4_POLISH_CI,UTF8MB4_ROMAN_CI,UTF8MB4_ROMANIAN_CI,UTF8MB4_SINHALA_CI,UTF8MB4_SLOVAK_CI,UTF8MB4_SLOVENIAN_CI,UTF8MB4_SPANISH_CI,UTF8MB4_SPANISH2_CI,UTF8MB4_SWEDISH_CI,UTF8MB4_TURKISH_CI,UTF8MB4_UNICODE_520_CI,UTF8MB4_UNICODE_CI,UTF8MB4_VIETNAMESE_CI\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/collation_server\",\"name\":\"collation_server\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"NO_CHAIN\",\"description\":\"The transaction completion type.\",\"defaultValue\":\"NO_CHAIN\",\"dataType\":\"Enumeration\",\"allowedValues\":\"NO_CHAIN,CHAIN,RELEASE\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/completion_type\",\"name\":\"completion_type\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"AUTO\",\"description\":\"Allows INSERT and SELECT statements to run concurrently for MyISAM tables that have no free blocks in the middle of the data file.\",\"defaultValue\":\"AUTO\",\"dataType\":\"Enumeration\",\"allowedValues\":\"NEVER,AUTO,ALWAYS\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/concurrent_insert\",\"name\":\"concurrent_insert\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"The number of seconds that the mysqld server waits for a connect packet before responding with Bad handshake.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"2-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/connect_timeout\",\"name\":\"connect_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"mysql_native_password\",\"description\":\"The default authentication plugin\",\"defaultValue\":\"mysql_native_password\",\"dataType\":\"Enumeration\",\"allowedValues\":\"mysql_native_password,sha256_password\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/default_authentication_plugin\",\"name\":\"default_authentication_plugin\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"This variable defines the global automatic password expiration policy.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-65535\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/default_password_lifetime\",\"name\":\"default_password_lifetime\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"InnoDB\",\"description\":\"The default storage engine (table type).\",\"defaultValue\":\"InnoDB\",\"dataType\":\"Enumeration\",\"allowedValues\":\"InnoDB,CSV,MEMORY\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/default_storage_engine\",\"name\":\"default_storage_engine\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"InnoDB\",\"description\":\"The default storage engine for TEMPORARY tables.\",\"defaultValue\":\"InnoDB\",\"dataType\":\"Enumeration\",\"allowedValues\":\"InnoDB,MyISAM,CSV,PERFORMANCE_SCHEMA,MEMORY,MRG_MYISAM\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/default_tmp_storage_engine\",\"name\":\"default_tmp_storage_engine\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The default mode value to use for the WEEK() function.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-7\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/default_week_format\",\"name\":\"default_week_format\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"It specifies how to use delayed key writes.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF,ALL\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/delay_key_write\",\"name\":\"delay_key_write\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"After inserting delayed_insert_limit delayed rows, the INSERT DELAYED handler thread checks whether there are any SELECT statements pending. If so, it allows them to execute before continuing to insert delayed rows.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"1-9223372036854775807\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/delayed_insert_limit\",\"name\":\"delayed_insert_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"300\",\"description\":\"How many seconds an INSERT DELAYED handler thread should wait for INSERT statements before terminating.\",\"defaultValue\":\"300\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/delayed_insert_timeout\",\"name\":\"delayed_insert_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1000\",\"description\":\"If the queue becomes full, any client that issues an INSERT DELAYED statement waits until there is room in the queue again.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-9223372036854775807\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/delayed_queue_size\",\"name\":\"delayed_queue_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"MyISAM,BLACKHOLE,FEDEATED,ARCHIVE\",\"description\":\"This variable indicates which storage engines cannot be used to create tables or tablespaces.\",\"defaultValue\":\"MyISAM,BLACKHOLE,FEDEATED,ARCHIVE\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/disabled_storage_engines\",\"name\":\"disabled_storage_engines\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Whether to disable the startup check for tables with nonnative partitioning.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/disable-partition-engine-check\",\"name\":\"disable-partition-engine-check\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Controls how the server handles clients with expired passwords:\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/disconnect_on_expired_password\",\"name\":\"disconnect_on_expired_password\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"Number of digits by which to increase the scale of the result of division operations.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"0-30\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/div_precision_increment\",\"name\":\"div_precision_increment\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Whether optimizer JSON output should add end markers.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/end_markers_in_json\",\"name\":\"end_markers_in_json\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"When enable, this option enforces GTID consistency by allowing execution of only those statements that can be logged in a transactionally safe manner.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF,WARN\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/enforce_gtid_consistency\",\"name\":\"enforce_gtid_consistency\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"This variable indicates the number of equality ranges in an equality comparison condition when the optimizer should switch from using index dives to index statistics in estimating the number of qualifying rows.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/eq_range_index_dive_limit\",\"name\":\"eq_range_index_dive_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Indicates the status of the Event Scheduler. It is always OFF for a replica server to keep the replication consistency.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/event_scheduler\",\"name\":\"event_scheduler\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The number of days for automatic binary log file removal. The default is 0, which means no automatic removal. Possible removals happen at startup and when the binary log is flushed.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-99\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/expire_logs_days\",\"name\":\"expire_logs_days\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"[Deprecated] This system variable determines whether the server enables certain nonstandard behaviors for default values and NULL-value handling in TIMESTAMP columns.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/explicit_defaults_for_timestamp\",\"name\":\"explicit_defaults_for_timestamp\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"If ON, the server flushes (synchronizes) all changes to disk after each SQL statement. Normally, MySQL does a write of all changes to disk only after each SQL statement and lets the operating system handle the synchronizing to disk.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/flush\",\"name\":\"flush\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"If this is set to a nonzero value, all tables are closed every flush_time seconds to free up resources and synchronize unflushed data to disk.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-8640000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/flush_time\",\"name\":\"flush_time\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"+ -\u003e\u003c()~*:\\\"\\\"\u0026|\",\"description\":\"The list of operators supported by boolean full-text searches performed using IN BOOLEAN MODE.\",\"defaultValue\":\"+ -\u003e\u003c()~*:\\\"\\\"\u0026|\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/ft_boolean_syntax\",\"name\":\"ft_boolean_syntax\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"20\",\"description\":\"The number of top matches to use for full-text searches performed using WITH QUERY EXPANSION.\",\"defaultValue\":\"20\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/ft_query_expansion_limit\",\"name\":\"ft_query_expansion_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Whether the general query log is enabled.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/general_log\",\"name\":\"general_log\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"/app/work/serverlogs/mysql-general-mysql-test-100-2020111008.log\",\"description\":\"The name of the general query log file. \",\"defaultValue\":\"mysql-general.log\",\"dataType\":\"String\",\"allowedValues\":\"mysql-general.log\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/general_log_file\",\"name\":\"general_log_file\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"Maximum allowed result length in bytes for the GROUP_CONCAT().\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"4-16777216\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/group_concat_max_len\",\"name\":\"group_concat_max_len\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1000\",\"description\":\"Compress the mysql.gtid_executed table each time this many transactions have taken place.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/gtid_executed_compression_period\",\"name\":\"gtid_executed_compression_period\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Indicates if global transaction identifiers (GTIDs) are used to identify transactions.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"OFF,OFF_PERMISSIVE,ON_PERMISSIVE,ON\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/gtid_mode\",\"name\":\"gtid_mode\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"279\",\"description\":\"The size of the internal host cache.\",\"defaultValue\":\"279\",\"dataType\":\"Integer\",\"allowedValues\":\"0-65536\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/host_cache_size\",\"name\":\"host_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"A string to be executed by the server for each client that connects.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/init_connect\",\"name\":\"init_connect\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Specifies whether to dynamically adjust the rate of flushing dirty pages in the InnoDB buffer pool based on the workload. Adjusting the flush rate dynamically is intended to avoid bursts of I/O activity.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_adaptive_flushing\",\"name\":\"innodb_adaptive_flushing\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Defines the low water mark representing percentage of redo log capacity at which adaptive flushing is enabled.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-70\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_adaptive_flushing_lwm\",\"name\":\"innodb_adaptive_flushing_lwm\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Whether innodb adaptive hash indexes are enabled or disabled.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_adaptive_hash_index\",\"name\":\"innodb_adaptive_hash_index\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"Partitions the adaptive hash index search system. Each index is bound to a specific partition, with each partition protected by a separate latch. \",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"1-512\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_adaptive_hash_index_parts\",\"name\":\"innodb_adaptive_hash_index_parts\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"150000\",\"description\":\"Permits InnoDB to automatically adjust the value of innodb_thread_sleep_delay up or down according to the current workload.\",\"defaultValue\":\"150000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_adaptive_max_sleep_delay\",\"name\":\"innodb_adaptive_max_sleep_delay\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"The increment size (in megabytes) for extending the size of an auto-extending InnoDB system tablespace file when it becomes full.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"1-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_autoextend_increment\",\"name\":\"innodb_autoextend_increment\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"The lock mode to use for generating auto-increment values.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0,1,2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_autoinc_lock_mode\",\"name\":\"innodb_autoinc_lock_mode\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"134217728\",\"description\":\"Defines the chunk size for online InnoDB buffer pool resizing operations.\",\"defaultValue\":\"134217728\",\"dataType\":\"Integer\",\"allowedValues\":\"1048576-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_buffer_pool_chunk_size\",\"name\":\"innodb_buffer_pool_chunk_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Dump the buffer pool into a file named @@innodb_buffer_pool_filename\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_buffer_pool_dump_at_shutdown\",\"name\":\"innodb_buffer_pool_dump_at_shutdown\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Immediately records the pages cached in the InnoDB buffer pool.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_buffer_pool_dump_now\",\"name\":\"innodb_buffer_pool_dump_now\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"25\",\"description\":\"Specifies the percentage of the most recently used pages for each buffer pool to read out and dump.\",\"defaultValue\":\"25\",\"dataType\":\"Integer\",\"allowedValues\":\"1-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_buffer_pool_dump_pct\",\"name\":\"innodb_buffer_pool_dump_pct\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ib_buffer_pool\",\"description\":\"Specifies the file that holds the list of page numbers produced by innodb_buffer_pool_dump_at_shutdown or innodb_buffer_pool_dump_now.\",\"defaultValue\":\"ib_buffer_pool\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_buffer_pool_filename\",\"name\":\"innodb_buffer_pool_filename\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"The number of regions that the InnoDB buffer pool is divided into\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"1-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_buffer_pool_instances\",\"name\":\"innodb_buffer_pool_instances\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Interrupts the process of restoring InnoDB buffer pool contents triggered by innodb_buffer_pool_load_at_startup or innodb_buffer_pool_load_now.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_buffer_pool_load_abort\",\"name\":\"innodb_buffer_pool_load_abort\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Load the buffer pool from a file named @@innodb_buffer_pool_filename\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_buffer_pool_load_at_startup\",\"name\":\"innodb_buffer_pool_load_at_startup\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Immediately warms up the InnoDB buffer pool by loading a set of data pages, without waiting for a server restart.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_buffer_pool_load_now\",\"name\":\"innodb_buffer_pool_load_now\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"536870912\",\"description\":\"The size in bytes of the buffer pool, the memory area where InnoDB caches table and index data.\",\"defaultValue\":\"536870912\",\"dataType\":\"Integer\",\"allowedValues\":\"134217728-536870912\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_buffer_pool_size\",\"name\":\"innodb_buffer_pool_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"25\",\"description\":\"Maximum size for the InnoDB change buffer, as a percentage of the total size of the buffer pool. You might increase this value for a MySQL server with heavy insert, update, and delete activity, or decrease it for a MySQL server with unchanging data used for reporting.\",\"defaultValue\":\"25\",\"dataType\":\"Integer\",\"allowedValues\":\"0-50\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_change_buffer_max_size\",\"name\":\"innodb_change_buffer_max_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"all\",\"description\":\"Whether InnoDB performs change buffering, an optimization that delays write operations to secondary indexes so that the I/O operations can be performed sequentially.\",\"defaultValue\":\"all\",\"dataType\":\"Enumeration\",\"allowedValues\":\"none,inserts,deletes,changes,purges,all\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_change_buffering\",\"name\":\"innodb_change_buffering\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"crc32\",\"description\":\"Specifies how to generate and verify the checksum stored in the disk blocks of InnoDB tablespaces.\",\"defaultValue\":\"crc32\",\"dataType\":\"Enumeration\",\"allowedValues\":\"innodb,crc32,none,strict_innodb,strict_crc32,strict_none\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_checksum_algorithm\",\"name\":\"innodb_checksum_algorithm\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Enables per-index compression-related statistics in the INFORMATION_SCHEMA.INNODB_CMP_PER_INDEX table. Because these statistics can be expensive to gather, only enable this option on development, test, or slave instances during performance tuning related to InnoDB compressed tables.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_cmp_per_index_enabled\",\"name\":\"innodb_cmp_per_index_enabled\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The number of threads that can commit at the same time. A value of 0 (the default) permits any number of transactions to commit simultaneously. The value of innodb_commit_concurrency cannot be changed at runtime from zero to nonzero or vice versa. The value can be changed from one nonzero value to another.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_commit_concurrency\",\"name\":\"innodb_commit_concurrency\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"5\",\"description\":\"Defines the compression failure rate threshold for a table, as a percentage, at which point MySQL begins adding padding within compressed pages to avoid expensive compression failures.\",\"defaultValue\":\"5\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_compression_failure_threshold_pct\",\"name\":\"innodb_compression_failure_threshold_pct\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"6\",\"description\":\"Specifies the level of zlib compression to use for InnoDB compressed tables and indexes. A higher value lets you fit more data onto a storage device, at the expense of more CPU overhead during compression. A lower value lets you reduce CPU overhead when storage space is not critical, or you expect the data is not especially compressible.\",\"defaultValue\":\"6\",\"dataType\":\"Integer\",\"allowedValues\":\"0-9\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_compression_level\",\"name\":\"innodb_compression_level\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"Specifies the maximum percentage that can be reserved as free space within each compressed page, allowing room to reorganize the data and modification log within the page when a compressed table or index is updated and the data might be recompressed. Only applies when innodb_compression_failure_threshold_pct is set to a nonzero value, and the rate of compression failures passes the cutoff point.\",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"0-75\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_compression_pad_pct_max\",\"name\":\"innodb_compression_pad_pct_max\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"5000\",\"description\":\"Determines the number of threads that can enter InnoDB concurrently.\",\"defaultValue\":\"5000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_concurrency_tickets\",\"name\":\"innodb_concurrency_tickets\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"This option is used to disable deadlock detection. On high concurrency systems, deadlock detection can cause a slowdown when numerous threads wait for the same lock.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_deadlock_detect\",\"name\":\"innodb_deadlock_detect\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"DYNAMIC\",\"description\":\"The innodb_default_row_format option defines the default row format for InnoDB tables and user-created temporary tables.\",\"defaultValue\":\"DYNAMIC\",\"dataType\":\"Enumeration\",\"allowedValues\":\"DYNAMIC,COMPACT,REDUNDANT\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_default_row_format\",\"name\":\"innodb_default_row_format\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Disables the operating system file system cache for merge-sort temporary files. The effect is to open such files with the equivalent of O_DIRECT.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_disable_sort_file_cache\",\"name\":\"innodb_disable_sort_file_cache\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"/app/work/diskcache.data\",\"description\":\"File name of MySQL BPE file\",\"defaultValue\":\"/app/work/diskcache.data\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_disk_buffer_pool_filename\",\"name\":\"innodb_disk_buffer_pool_filename\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Size of MySQL BPE in byte\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-515396075520\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_disk_buffer_pool_size\",\"name\":\"innodb_disk_buffer_pool_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"When enabled, InnoDB stores all data twice, first to the doublewrite buffer, then to the actual data files.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_doublewrite\",\"name\":\"innodb_doublewrite\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"The InnoDB shutdown mode. If the value is 0, InnoDB does a slow shutdown, a full purge and a change buffer merge before shutting down. If the value is 1 (the default), InnoDB skips these operations at shutdown, a process known as a fast shutdown. If the value is 2, InnoDB flushes its logs and shuts down cold, as if MySQL had crashed; no committed transactions are lost, but the crash recovery operation makes the next startup take longer.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0,1,2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_fast_shutdown\",\"name\":\"innodb_fast_shutdown\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"7201\",\"description\":\"The seconds of mysql engine waiting for I/O, this threshold timeout will result in mysql engine crash.\",\"defaultValue\":\"7201\",\"dataType\":\"Integer\",\"allowedValues\":\"1-864000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_fatal_semaphore_wait_threshold\",\"name\":\"innodb_fatal_semaphore_wait_threshold\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"Barracuda\",\"description\":\"Indicates the InnoDB file format for file-per-table tablespaces.\",\"defaultValue\":\"Barracuda\",\"dataType\":\"Enumeration\",\"allowedValues\":\"Antelope,Barracuda\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_file_format\",\"name\":\"innodb_file_format\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"InnoDB stores the data and indexes for each newly created table in a separate .ibd file instead of the system tablespace. It cannot be updated any more for a master/replica server to keep the replication consistency.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_file_per_table\",\"name\":\"innodb_file_per_table\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"InnoDB performs a bulk load when creating or rebuilding indexes.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"10-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_fill_factor\",\"name\":\"innodb_fill_factor\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Write and flush the logs every N seconds. This setting has an effect only when innodb_flush_log_at_trx_commit has a value of 2.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2700\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_flush_log_at_timeout\",\"name\":\"innodb_flush_log_at_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Controls the balance between strict ACID compliance for commit operations and higher performance that is possible when commit-related I/O operations are rearranged and done in batches.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0,1,2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_flush_log_at_trx_commit\",\"name\":\"innodb_flush_log_at_trx_commit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"fsync\",\"description\":\"Defines the method used to flush data to InnoDB data files and log files, which can affect I/O throughput. \",\"defaultValue\":\"fsync\",\"dataType\":\"Enumeration\",\"allowedValues\":\"fsync,O_DSYNC,littlesync,nosync,O_DIRECT,O_DIRECT_NO_FSYNC\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_flush_method\",\"name\":\"innodb_flush_method\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Specifies whether flushing a page from the InnoDB buffer pool also flushes other dirty pages in the same extent.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0,1,2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_flush_neighbors\",\"name\":\"innodb_flush_neighbors\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Causes the innodb_io_capacity setting to be ignored for bursts of I/O activity that occur at checkpoints.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_flush_sync\",\"name\":\"innodb_flush_sync\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"30\",\"description\":\"Number of iterations for which InnoDB keeps the previously calculated snapshot of the flushing state, controlling how quickly adaptive flushing responds to changing workloads.\",\"defaultValue\":\"30\",\"dataType\":\"Integer\",\"allowedValues\":\"1-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_flushing_avg_loops\",\"name\":\"innodb_flushing_avg_loops\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Permits InnoDB to load tables at startup that are marked as corrupted. Use only during troubleshooting, to recover data that is otherwise inaccessible.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_force_load_corrupted\",\"name\":\"innodb_force_load_corrupted\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The crash recovery mode, typically only changed in serious troubleshooting situations.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-6\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_force_recovery\",\"name\":\"innodb_force_recovery\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8000000\",\"description\":\"The memory allocated, in bytes, for the InnoDB FULLTEXT search index cache, which holds a parsed document in memory while creating an InnoDB FULLTEXT index.\",\"defaultValue\":\"8000000\",\"dataType\":\"Integer\",\"allowedValues\":\"1600000-80000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_ft_cache_size\",\"name\":\"innodb_ft_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Whether to enable additional full-text search (FTS) diagnostic output. This option is primarily intended for advanced FTS debugging and will not be of interest to most users. Output is printed to the error log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_ft_enable_diag_print\",\"name\":\"innodb_ft_enable_diag_print\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Specifies that a set of stopwords is associated with an InnoDB FULLTEXT index at the time the index is created.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_ft_enable_stopword\",\"name\":\"innodb_ft_enable_stopword\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"84\",\"description\":\"Maximum character length of words that are stored in an InnoDB FULLTEXT index.\",\"defaultValue\":\"84\",\"dataType\":\"Integer\",\"allowedValues\":\"10-84\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_ft_max_token_size\",\"name\":\"innodb_ft_max_token_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"3\",\"description\":\"Minimum length of words that are stored in an InnoDB FULLTEXT index.\",\"defaultValue\":\"3\",\"dataType\":\"Integer\",\"allowedValues\":\"0-16\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_ft_min_token_size\",\"name\":\"innodb_ft_min_token_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2000\",\"description\":\"Number of words to process during each OPTIMIZE TABLE operation on an InnoDB FULLTEXT index.\",\"defaultValue\":\"2000\",\"dataType\":\"Integer\",\"allowedValues\":\"1000-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_ft_num_word_optimize\",\"name\":\"innodb_ft_num_word_optimize\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2000000000\",\"description\":\"The InnoDB full-text search query result cache limit (defined in bytes) per full-text search query or per thread.\",\"defaultValue\":\"2000000000\",\"dataType\":\"Integer\",\"allowedValues\":\"1000000-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_ft_result_cache_limit\",\"name\":\"innodb_ft_result_cache_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"This option is used to specify your own InnoDB FULLTEXT index stopword list for all InnoDB tables.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_ft_server_stopword_table\",\"name\":\"innodb_ft_server_stopword_table\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Number of threads used in parallel to index and tokenize text in an InnoDB FULLTEXT index when building a search index.\",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"1-32\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_ft_sort_pll_degree\",\"name\":\"innodb_ft_sort_pll_degree\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"640000000\",\"description\":\"The total memory allocated, in bytes, for the InnoDB full-text search index cache for all tables.\",\"defaultValue\":\"640000000\",\"dataType\":\"Integer\",\"allowedValues\":\"32000000-1600000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_ft_total_cache_size\",\"name\":\"innodb_ft_total_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"This option is used to specify your own InnoDB FULLTEXT index stopword list on a specific table.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_ft_user_stopword_table\",\"name\":\"innodb_ft_user_stopword_table\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"Sets an upper limit on I/O activity performed by InnoDB background tasks, such as flushing pages from the buffer pool and merging data from the change buffer.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"100-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_io_capacity\",\"name\":\"innodb_io_capacity\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2000\",\"description\":\"If flushing activity falls behind, InnoDB can flush more aggressively than the limit imposed by innodb_io_capacity. innodb_io_capacity_max defines an upper limit the number of I/O operations performed per second by InnoDB background tasks in such situations.\",\"defaultValue\":\"2000\",\"dataType\":\"Integer\",\"allowedValues\":\"100-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_io_capacity_max\",\"name\":\"innodb_io_capacity_max\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"When this option is enabled, index key prefixes longer than 767 bytes (up to 3072 bytes) are allowed for InnoDB tables that use DYNAMIC or COMPRESSED row format.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_large_prefix\",\"name\":\"innodb_large_prefix\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"The length of time in seconds an InnoDB transaction waits for a row lock before giving up.\",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"1-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_lock_wait_timeout\",\"name\":\"innodb_lock_wait_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"16777216\",\"description\":\"The size in bytes of the buffer that InnoDB uses to write to the log files on disk.\",\"defaultValue\":\"16777216\",\"dataType\":\"Integer\",\"allowedValues\":\"1048576-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_log_buffer_size\",\"name\":\"innodb_log_buffer_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Enables or disables checksums for redo log pages.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_log_checksums\",\"name\":\"innodb_log_checksums\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Specifies whether images of re-compressed pages are written to the redo log.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_log_compressed_pages\",\"name\":\"innodb_log_compressed_pages\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"268435456\",\"description\":\"The size in bytes of each log file in a log group. The combined size of log files (innodb_log_file_size * innodb_log_files_in_group) cannot exceed a maximum value that is slightly less than 512GB.\",\"defaultValue\":\"268435456\",\"dataType\":\"Integer\",\"allowedValues\":\"268435456-137438953472\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_log_file_size\",\"name\":\"innodb_log_file_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8192\",\"description\":\"The write-ahead block size for the redo log, in bytes.\",\"defaultValue\":\"8192\",\"dataType\":\"Integer\",\"allowedValues\":\"512-16384\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_log_write_ahead_size\",\"name\":\"innodb_log_write_ahead_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"A parameter that influences the algorithms and heuristics for the flush operation for the InnoDB buffer pool.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"100-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_lru_scan_depth\",\"name\":\"innodb_lru_scan_depth\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"75\",\"description\":\"InnoDB tries to flush data from the buffer pool so that the percentage of dirty pages does not exceed this value.\",\"defaultValue\":\"75\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-99.99\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_max_dirty_pages_pct\",\"name\":\"innodb_max_dirty_pages_pct\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Defines a low water mark representing the percentage of dirty pages at which preflushing is enabled to control the dirty page ratio.\",\"defaultValue\":\"0\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-99.99\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_max_dirty_pages_pct_lwm\",\"name\":\"innodb_max_dirty_pages_pct_lwm\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Defines the maximum length of the purge queue. The default value of 0 indicates no limit (no delays).\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_max_purge_lag\",\"name\":\"innodb_max_purge_lag\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Specifies the maximum delay in microseconds for the delay imposed by the innodb_max_purge_lag configuration option.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-10000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_max_purge_lag_delay\",\"name\":\"innodb_max_purge_lag_delay\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1073741824\",\"description\":\"Defines a threshold size for undo tablespaces.\",\"defaultValue\":\"1073741824\",\"dataType\":\"Integer\",\"allowedValues\":\"10485760-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_max_undo_log_size\",\"name\":\"innodb_max_undo_log_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Disables InnoDB metrics counters. Counter data may be queried using the INFORMATION_SCHEMA.INNODB_METRICS table.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_monitor_disable\",\"name\":\"innodb_monitor_disable\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Enables InnoDB metrics counters.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_monitor_enable\",\"name\":\"innodb_monitor_enable\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Resets the count value for InnoDB metrics counters to zero.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_monitor_reset\",\"name\":\"innodb_monitor_reset\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Resets all values (minimum, maximum, and so on) for InnoDB metrics counters.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_monitor_reset_all\",\"name\":\"innodb_monitor_reset_all\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"37\",\"description\":\"Specifies the approximate percentage of the InnoDB buffer pool used for the old block sublist.\",\"defaultValue\":\"37\",\"dataType\":\"Integer\",\"allowedValues\":\"5-95\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_old_blocks_pct\",\"name\":\"innodb_old_blocks_pct\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1000\",\"description\":\"Non-zero values protect against the buffer pool being filled by data that is referenced only for a brief period, such as during a full table scan.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_old_blocks_time\",\"name\":\"innodb_old_blocks_time\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"134217728\",\"description\":\"Specifies an upper limit on the size of the temporary log files used during online DDL operations for InnoDB tables.\",\"defaultValue\":\"134217728\",\"dataType\":\"Integer\",\"allowedValues\":\"65536-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_online_alter_log_max_size\",\"name\":\"innodb_online_alter_log_max_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"This configuration option is only relevant if you use multiple InnoDB tablespaces. It specifies the maximum number of .ibd files that MySQL can keep open at one time.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1,10-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_open_files\",\"name\":\"innodb_open_files\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Changes the way OPTIMIZE TABLE operates on InnoDB tables. Intended to be enabled temporarily, during maintenance operations for InnoDB tables with FULLTEXT indexes.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_optimize_fulltext_only\",\"name\":\"innodb_optimize_fulltext_only\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"The number of page cleaner threads that flush dirty pages from buffer pool instances.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"1-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_page_cleaners\",\"name\":\"innodb_page_cleaners\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"16384\",\"description\":\"Specifies the page size for all InnoDB tablespaces in a MySQL instance.\",\"defaultValue\":\"16384\",\"dataType\":\"Enumeration\",\"allowedValues\":\"4096,8192,16384,32768,65536\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_page_size\",\"name\":\"innodb_page_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"When this option is enabled, information about all deadlocks in InnoDB user transactions is recorded in the mysqld error log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_print_all_deadlocks\",\"name\":\"innodb_print_all_deadlocks\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"300\",\"description\":\"Defines the number of undo log pages that purge parses and processes in one batch from the history list.\",\"defaultValue\":\"300\",\"dataType\":\"Integer\",\"allowedValues\":\"1-5000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_purge_batch_size\",\"name\":\"innodb_purge_batch_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"128\",\"description\":\"Defines the frequency with which the purge system frees rollback segments in terms of the number of times that purge is invoked. Reducing this value increases the frequency with which the purge thread frees rollback segments.\",\"defaultValue\":\"128\",\"dataType\":\"Integer\",\"allowedValues\":\"1-128\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_purge_rseg_truncate_frequency\",\"name\":\"innodb_purge_rseg_truncate_frequency\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"The number of background threads devoted to the InnoDB purge operation.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"1-32\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_purge_threads\",\"name\":\"innodb_purge_threads\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Enables the random read-ahead technique for optimizing InnoDB I/O.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_random_read_ahead\",\"name\":\"innodb_random_read_ahead\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"56\",\"description\":\"Controls the sensitivity of linear read-ahead that InnoDB uses to prefetch pages into the buffer pool.\",\"defaultValue\":\"56\",\"dataType\":\"Integer\",\"allowedValues\":\"0-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_read_ahead_threshold\",\"name\":\"innodb_read_ahead_threshold\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"The number of I/O threads for read operations in InnoDB.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"1-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_read_io_threads\",\"name\":\"innodb_read_io_threads\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Starts InnoDB in read-only mode. \",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_read_only\",\"name\":\"innodb_read_only\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The replication thread delay in milliseconds on a slave server if innodb_thread_concurrency is reached.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_replication_delay\",\"name\":\"innodb_replication_delay\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"InnoDB rolls back only the last statement on a transaction timeout by default. If --innodb_rollback_on_timeout is specified, a transaction timeout causes InnoDB to abort and roll back the entire transaction.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_rollback_on_timeout\",\"name\":\"innodb_rollback_on_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"128\",\"description\":\"Defines the number of rollback segments used by InnoDB.\",\"defaultValue\":\"128\",\"dataType\":\"Integer\",\"allowedValues\":\"1-128\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_rollback_segments\",\"name\":\"innodb_rollback_segments\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1048576\",\"description\":\"Specifies the sizes of several buffers used for sorting data during creation of an InnoDB index.\",\"defaultValue\":\"1048576\",\"dataType\":\"Integer\",\"allowedValues\":\"65536-67108864\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_sort_buffer_size\",\"name\":\"innodb_sort_buffer_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"6\",\"description\":\"The maximum delay between polls for a spin lock. \",\"defaultValue\":\"6\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_spin_wait_delay\",\"name\":\"innodb_spin_wait_delay\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Causes InnoDB to automatically recalculate persistent statistics after the data in a table is changed substantially.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_stats_auto_recalc\",\"name\":\"innodb_stats_auto_recalc\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\" Enabled to ensure that InnoDB includes delete-marked records when calculating persistent optimizer statistics.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_stats_include_delete_marked\",\"name\":\"innodb_stats_include_delete_marked\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"nulls_equal\",\"description\":\"How the server treats NULL values when collecting statistics about the distribution of index values for InnoDB tables.\",\"defaultValue\":\"nulls_equal\",\"dataType\":\"Enumeration\",\"allowedValues\":\"nulls_equal,nulls_unequal,nulls_ignored\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_stats_method\",\"name\":\"innodb_stats_method\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This option only applies when optimizer statistics are configured to be non-persistent. When innodb_stats_on_metadata is enabled, InnoDB updates non-persistent statistics when metadata statements such as SHOW TABLE STATUS or when accessing the INFORMATION_SCHEMA.TABLES or INFORMATION_SCHEMA.STATISTICS tables.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_stats_on_metadata\",\"name\":\"innodb_stats_on_metadata\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Specifies whether InnoDB index statistics are persisted to disk. Otherwise, statistics may be recalculated frequently which can lead to variations in query execution plans.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_stats_persistent\",\"name\":\"innodb_stats_persistent\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"20\",\"description\":\"The number of index pages to sample when estimating cardinality and other statistics for an indexed column, such as those calculated by ANALYZE TABLE.\",\"defaultValue\":\"20\",\"dataType\":\"Integer\",\"allowedValues\":\"1-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_stats_persistent_sample_pages\",\"name\":\"innodb_stats_persistent_sample_pages\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"The number of index pages to sample when estimating cardinality and other statistics for an indexed column, such as those calculated by ANALYZE TABLE.\",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"1-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_stats_transient_sample_pages\",\"name\":\"innodb_stats_transient_sample_pages\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Enables or disables periodic output for the standard InnoDB Monitor.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_status_output\",\"name\":\"innodb_status_output\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Enables or disables the InnoDB Lock Monitor.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_status_output_locks\",\"name\":\"innodb_status_output_locks\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"When innodb_strict_mode is enabled, InnoDB returns errors rather than warnings for certain conditions.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_strict_mode\",\"name\":\"innodb_strict_mode\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Enables two phase commit in XA transactions\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_support_xa\",\"name\":\"innodb_support_xa\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Defines the size of the mutex/lock wait array. Increasing the value splits the internal data structure used to coordinate threads, for higher concurrency in workloads with large numbers of waiting threads. \",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"1-1024\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_sync_array_size\",\"name\":\"innodb_sync_array_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"30\",\"description\":\"The number of times a thread waits for an InnoDB mutex to be freed before the thread is suspended.\",\"defaultValue\":\"30\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_sync_spin_loops\",\"name\":\"innodb_sync_spin_loops\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"The default value of innodb_table_locks is 1, which means that LOCK TABLES causes InnoDB to lock a table internally if autocommit = 0.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_table_locks\",\"name\":\"innodb_table_locks\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ibtmp1:12M:autoextend\",\"description\":\"Specifies the path, file name, and file size for InnoDB temporary tablespace data files.\",\"defaultValue\":\"ibtmp1:12M:autoextend\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_temp_data_file_path\",\"name\":\"innodb_temp_data_file_path\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"InnoDB tries to keep the number of operating system threads concurrently inside InnoDB less than or equal to the limit given by this variable.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_thread_concurrency\",\"name\":\"innodb_thread_concurrency\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10000\",\"description\":\"Defines how long InnoDB threads sleep before joining the InnoDB queue, in microseconds.\",\"defaultValue\":\"10000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_thread_sleep_delay\",\"name\":\"innodb_thread_sleep_delay\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"/app/work/temp\",\"description\":\"Used to define an alternate directory for temporary sort files created during online ALTER TABLE operations that rebuild the table.\",\"defaultValue\":\"/app/work/temp\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_tmpdir\",\"name\":\"innodb_tmpdir\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"When enabled, undo tablespaces that exceed the threshold value defined by innodb_max_undo_log_size are marked for truncation.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_undo_log_truncate\",\"name\":\"innodb_undo_log_truncate\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"128\",\"description\":\"Defines how many of the rollback segments in the system tablespace that InnoDB uses within a transaction.\",\"defaultValue\":\"128\",\"dataType\":\"Integer\",\"allowedValues\":\"1-128\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_undo_logs\",\"name\":\"innodb_undo_logs\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The number of tablespace files that the undo logs are divided between, when you use a non-zero innodb_undo_logs setting.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-95\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_undo_tablespaces\",\"name\":\"innodb_undo_tablespaces\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Controls whether or not MySQL uses Linux native asynchronous IO.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_use_native_aio\",\"name\":\"innodb_use_native_aio\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"The number of I/O threads for write operations in InnoDB.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"1-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_write_io_threads\",\"name\":\"innodb_write_io_threads\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"28800\",\"description\":\"Number of seconds the server waits for activity on an interactive connection before closing it.\",\"defaultValue\":\"28800\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/interactive_timeout\",\"name\":\"interactive_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"INNODB\",\"description\":\"The storage engine for on-disk internal temporary tables \",\"defaultValue\":\"INNODB\",\"dataType\":\"Enumeration\",\"allowedValues\":\"INNODB,MYISAM\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/internal_tmp_disk_storage_engine\",\"name\":\"internal_tmp_disk_storage_engine\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"262144\",\"description\":\"The minimum size of the buffer that is used for plain index scans, range index scans, and joins that do not use indexes and thus perform full table scans.\",\"defaultValue\":\"262144\",\"dataType\":\"Integer\",\"allowedValues\":\"128-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/join_buffer_size\",\"name\":\"join_buffer_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Suppress behavior to overwrite MyISAM file created in DATA DIRECTORY or INDEX DIRECTORY.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/keep_files_on_create\",\"name\":\"keep_files_on_create\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8388608\",\"description\":\"Increase the buffer size to get better index handling used for index blocks (for all reads and multiple writes).\",\"defaultValue\":\"8388608\",\"dataType\":\"Integer\",\"allowedValues\":\"8-9223372036854771712\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/key_buffer_size\",\"name\":\"key_buffer_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"300\",\"description\":\"Controls the demotion of buffers from the hot sub-chain of a key cache to the warm sub-chain. Lower values cause demotion to happen more quickly.\",\"defaultValue\":\"300\",\"dataType\":\"Integer\",\"allowedValues\":\"100-18446744073709547520\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/key_cache_age_threshold\",\"name\":\"key_cache_age_threshold\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"Size in bytes of blocks in the key cache.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"512-16384\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/key_cache_block_size\",\"name\":\"key_cache_block_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"The division point between the hot and warm sub-chains of the key cache buffer chain. The value is the percentage of the buffer chain to use for the warm sub-chain.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"1-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/key_cache_division_limit\",\"name\":\"key_cache_division_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"en_US\",\"description\":\"This variable specifies the locale that controls the language used to display day and month names and abbreviations.\",\"defaultValue\":\"en_US\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ar_AE,ar_BH,ar_DZ,ar_EG,ar_IN,ar_IQ,ar_JO,ar_KW,ar_LB,ar_LY,ar_MA,ar_OM,ar_QA,ar_SA,ar_SD,ar_SY,ar_TN,ar_YE,be_BY,bg_BG,ca_ES,cs_CZ,da_DK,de_AT,de_BE,de_CH,de_DE,de_LU,el_GR,en_AU,en_CA,en_GB,en_IN,en_NZ,en_PH,en_US,en_ZA,en_ZW,es_AR,es_BO,es_CL,es_CO,es_CR,es_DO,es_EC,es_ES,es_GT,es_HN,es_MX,es_NI,es_PA,es_PE,es_PR,es_PY,es_SV,es_US,es_UY,es_VE,et_EE,eu_ES,fi_FI,fo_FO,fr_BE,fr_CA,fr_CH,fr_FR,fr_LU,gl_ES,gu_IN,he_IL,hi_IN,hr_HR,hu_HU,id_ID,is_IS,it_CH,it_IT,ja_JP,ko_KR,lt_LT,lv_LV,mk_MK,mn_MN,ms_MY,nb_NO,nl_BE,nl_NL,no_NO,pl_PL,pt_BR,pt_PT,ro_RO,ru_RU,ru_UA,sk_SK,sl_SI,sq_AL,sr_RS,sv_FI,sv_SE,ta_IN,te_IN,th_TH,tr_TR,uk_UA,ur_PK,vi_VN,zh_CN,zh_HK,zh_TW\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/lc_time_names\",\"name\":\"lc_time_names\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"This variable controls server-side LOCAL capability for LOAD DATA statements.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/local_infile\",\"name\":\"local_infile\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"31536000\",\"description\":\"This variable specifies the timeout in seconds for attempts to acquire metadata locks.\",\"defaultValue\":\"31536000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/lock_wait_timeout\",\"name\":\"lock_wait_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Whether binlog is enabled or not. When set to ON, it will be replaced with binlog folder /app/work/binlogs. Otherwise, it will not be introduced in my.ini.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/log_bin\",\"name\":\"log_bin\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This variable applies when binary logging is enabled. It controls whether stored function creators can be trusted not to create stored functions that will cause unsafe events to be written to the binary log. It cannot be updated any more for a master/replica server to keep the replication consistency.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/log_bin_trust_function_creators\",\"name\":\"log_bin_trust_function_creators\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Whether MySQL writes binary log events using a Version 1 or Version 2 logging events\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/log_bin_use_v1_row_events\",\"name\":\"log_bin_use_v1_row_events\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Whether to log CREATE/ALTER USER, GRANT in backward-compatible fashion\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/log_builtin_as_identified_by_password\",\"name\":\"log_builtin_as_identified_by_password\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"NONE\",\"description\":\"The destination for general query log and slow query log output.\",\"defaultValue\":\"NONE\",\"dataType\":\"Set\",\"allowedValues\":\"FILE,NONE\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/log_output\",\"name\":\"log_output\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Logs queries that are expected to retrieve all rows to slow query log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/log_queries_not_using_indexes\",\"name\":\"log_queries_not_using_indexes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Normally, a slave does not write to its own binary log any updates that are received from a master server. This option causes the slave to write the updates performed by its SQL thread to its own binary log.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/log_slave_updates\",\"name\":\"log_slave_updates\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Include slow administrative statements in the statements written to the slow query log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/log_slow_admin_statements\",\"name\":\"log_slow_admin_statements\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"When the slow query log is enabled, this variable enables logging for queries that have taken more than long_query_time seconds to execute on the slave.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/log_slow_slave_statements\",\"name\":\"log_slow_slave_statements\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"If error 1592 is encountered, controls whether the generated warnings are added to the error log or not.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/log_statements_unsafe_for_binlog\",\"name\":\"log_statements_unsafe_for_binlog\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Whether to write error log output to syslog.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/log_syslog\",\"name\":\"log_syslog\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"daemon\",\"description\":\"The facility for error log output written to syslog (what type of program is sending the message).\",\"defaultValue\":\"daemon\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/log_syslog_facility\",\"name\":\"log_syslog_facility\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Whether to include the server process ID in each line of error log output written to syslog.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/log_syslog_include_pid\",\"name\":\"log_syslog_include_pid\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"The tag to be added to the server identifier in error log output written to syslog.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/log_syslog_tag\",\"name\":\"log_syslog_tag\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Limits the number of such queries per minute that can be written to the slow query log.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/log_throttle_queries_not_using_indexes\",\"name\":\"log_throttle_queries_not_using_indexes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"UTC\",\"description\":\"This variable controls the timestamp time zone of error log messages, and of general query log and slow query log messages written to files.\",\"defaultValue\":\"UTC\",\"dataType\":\"Enumeration\",\"allowedValues\":\"UTC,SYSTEM\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/log_timestamps\",\"name\":\"log_timestamps\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Whether to produce additional warning messages to the error log.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/log_warnings\",\"name\":\"log_warnings\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"If a query takes longer than this many seconds, the server increments the Slow_queries status variable.\",\"defaultValue\":\"10\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/long_query_time\",\"name\":\"long_query_time\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"INSERT, UPDATE, DELETE, and LOCK TABLE WRITE wait until no pending SELECT. Affects only storage engines that use only table-level locking (MyISAM, MEMORY, MERGE).\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/low_priority_updates\",\"name\":\"low_priority_updates\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"If set to 1, table names are stored in lowercase on disk and comparisons are not case sensitive. If set to 2, table names are stored as given but compared in lowercase.\",\"defaultValue\":\"1\",\"dataType\":\"Enumeration\",\"allowedValues\":\"0,1\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/lower_case_table_names\",\"name\":\"lower_case_table_names\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"TABLE\",\"description\":\"The setting of this variable determines whether the slave logs master status and connection information to a FILE (master.info), or to a TABLE (mysql.slave_master_info).\",\"defaultValue\":\"TABLE\",\"dataType\":\"Enumeration\",\"allowedValues\":\"FILE,TABLE\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/master_info_repository\",\"name\":\"master_info_repository\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Enabling this variable causes the master to examine checksums when reading from the binary log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/master_verify_checksum\",\"name\":\"master_verify_checksum\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"536870912\",\"description\":\"The maximum size of one packet or any generated/intermediate string, or any parameter sent by the mysql_stmt_send_long_data() C API function.\",\"defaultValue\":\"536870912\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/max_allowed_packet\",\"name\":\"max_allowed_packet\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"18446744073709551615\",\"description\":\"If a transaction requires more than this many bytes of memory, the server generates a Multi-statement transaction required more than \u0027max_binlog_cache_size\u0027 bytes of storage error.\",\"defaultValue\":\"18446744073709551615\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/max_binlog_cache_size\",\"name\":\"max_binlog_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"104857600\",\"description\":\"If a write to the binary log causes the current log file size to exceed the value of this variable, the server rotates the binary logs (closes the current file and opens the next one).\",\"defaultValue\":\"104857600\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/max_binlog_size\",\"name\":\"max_binlog_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"18446744073709547520\",\"description\":\"If nontransactional statements within a transaction require more than this many bytes of memory, the server generates an error.\",\"defaultValue\":\"18446744073709547520\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-18446744073709547520\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/max_binlog_stmt_cache_size\",\"name\":\"max_binlog_stmt_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"If more than this many successive connection requests from a host are interrupted without a successful connection, the server blocks that host from further connections.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/max_connect_errors\",\"name\":\"max_connect_errors\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"171\",\"description\":\"The maximum permitted number of simultaneous client connections.\",\"defaultValue\":\"171\",\"dataType\":\"Integer\",\"allowedValues\":\"10-341\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/max_connections\",\"name\":\"max_connections\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"20\",\"description\":\"Do not start more than this number of threads to handle INSERT DELAYED statements.\",\"defaultValue\":\"20\",\"dataType\":\"Integer\",\"allowedValues\":\"0-16384\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/max_delayed_threads\",\"name\":\"max_delayed_threads\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"The maximum number of bytes available for computing normalized statement digests.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/max_digest_length\",\"name\":\"max_digest_length\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"The maximum number of error, warning, and note messages to be stored for display by the SHOW ERRORS and SHOW WARNINGS statements.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"0-65535\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/max_error_count\",\"name\":\"max_error_count\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The execution timeout for SELECT statements, in milliseconds. If the value is 0, timeouts are not enabled.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/max_execution_time\",\"name\":\"max_execution_time\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"16777216\",\"description\":\"This variable sets the maximum size to which user-created MEMORY tables are permitted to grow.\",\"defaultValue\":\"16777216\",\"dataType\":\"Integer\",\"allowedValues\":\"16384-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/max_heap_table_size\",\"name\":\"max_heap_table_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"18446744073709551615\",\"description\":\"Do not permit statements that probably need to examine more than max_join_size rows\",\"defaultValue\":\"18446744073709551615\",\"dataType\":\"Integer\",\"allowedValues\":\"1-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/max_join_size\",\"name\":\"max_join_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"The cutoff on the size of index values that determines which filesort algorithm to use.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"4-8388608\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/max_length_for_sort_data\",\"name\":\"max_length_for_sort_data\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"65536\",\"description\":\"The maximum value of the points_per_circle argument to the ST_Buffer_Strategy() function.\",\"defaultValue\":\"65536\",\"dataType\":\"Integer\",\"allowedValues\":\"3-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/max_points_in_geometry\",\"name\":\"max_points_in_geometry\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"16382\",\"description\":\"This variable limits the total number of prepared statements in the server.\",\"defaultValue\":\"16382\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/max_prepared_stmt_count\",\"name\":\"max_prepared_stmt_count\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"104857600\",\"description\":\"The size at which the server rotates relay log files automatically. If this value is nonzero, the relay log is rotated automatically when its size exceeds this value. If this value is zero (the default), the size at which relay log rotation occurs is determined by the value of max_binlog_size.\",\"defaultValue\":\"104857600\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/max_relay_log_size\",\"name\":\"max_relay_log_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4294967295\",\"description\":\"Limit the assumed maximum number of seeks when looking up rows based on a key.\",\"defaultValue\":\"4294967295\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/max_seeks_for_key\",\"name\":\"max_seeks_for_key\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"The number of bytes to use when sorting data values.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"4-8388608\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/max_sort_length\",\"name\":\"max_sort_length\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The number of times that any given stored procedure may be called recursively. The default value for this option is 0, which completely disables recursion in stored procedures.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-255\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/max_sp_recursion_depth\",\"name\":\"max_sp_recursion_depth\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"32\",\"description\":\"The maximum number of temporary tables a client can keep open at the same time.\",\"defaultValue\":\"32\",\"dataType\":\"Integer\",\"allowedValues\":\"1-9223372036854775807\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/max_tmp_tables\",\"name\":\"max_tmp_tables\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The maximum number of simultaneous connections permitted to any given MySQL user account. A value of 0 (the default) means \u0027no limit.\u0027\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/max_user_connections\",\"name\":\"max_user_connections\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4294967295\",\"description\":\"After this many write locks, permit some pending read lock requests to be processed in between.\",\"defaultValue\":\"4294967295\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/max_write_lock_count\",\"name\":\"max_write_lock_count\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"The size of the metadata locks cache\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"1-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/metadata_locks_cache_size\",\"name\":\"metadata_locks_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Can be used to cause queries which examine fewer than the stated number of rows not to be logged.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/min_examined_row_limit\",\"name\":\"min_examined_row_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This variable controls whether the mysql_native_password built-in authentication plugin supports proxy users.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/mysql_native_password_proxy_users\",\"name\":\"mysql_native_password_proxy_users\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"16384\",\"description\":\"Each client thread is associated with a connection buffer and result buffer. Both begin with a size given by net_buffer_length but are dynamically enlarged up to max_allowed_packet bytes as needed.\",\"defaultValue\":\"16384\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/net_buffer_length\",\"name\":\"net_buffer_length\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"120\",\"description\":\"The number of seconds the server waits for network reading action, especially for LOAD DATA LOCAL FILE.\",\"defaultValue\":\"120\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/net_read_timeout\",\"name\":\"net_read_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"If a read or write on a communication port is interrupted, retry this many times before giving up.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/net_retry_count\",\"name\":\"net_retry_count\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"240\",\"description\":\"The number of seconds the server waits for network writing action, especially for LOAD DATA LOCAL FILE.\",\"defaultValue\":\"240\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/net_write_timeout\",\"name\":\"net_write_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Defines the n-gram token size for the n-gram full-text parser. \",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/ngram_token_size\",\"name\":\"ngram_token_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"In offline mode, clients that are refused access receive an ER_SERVER_OFFLINE_MODE error.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/offline_mode\",\"name\":\"offline_mode\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Force the server to generate short (pre-4.1) password hashes for new passwords. This is useful for compatibility when the server must support older client programs.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0,2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/old_passwords\",\"name\":\"old_passwords\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"5000\",\"description\":\"The number of files that the operating system permits mysqld to open.\",\"defaultValue\":\"5000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/open_files_limit\",\"name\":\"open_files_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Controls the heuristics applied during query optimization to prune less-promising partial plans from the optimizer search space.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0,1\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/optimizer_prune_level\",\"name\":\"optimizer_prune_level\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"62\",\"description\":\"The maximum depth of search performed by the query optimizer.\",\"defaultValue\":\"62\",\"dataType\":\"Integer\",\"allowedValues\":\"0-62\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/optimizer_search_depth\",\"name\":\"optimizer_search_depth\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"default\",\"description\":\"The value of this variable is a set of flags, each of which has a value of on or off to indicate whether the corresponding optimizer behavior is enabled or disabled.\",\"defaultValue\":\"default\",\"dataType\":\"Set\",\"allowedValues\":\"default,batched_key_access=on,batched_key_access=off,block_nested_loop=on,block_nested_loop=off,condition_fanout_filter=on,condition_fanout_filter=off,derived_merge=on,derived_merge=off,duplicateweedout=on,duplicateweedout=off,engine_condition_pushdown=on,engine_condition_pushdown=off,firstmatch=on,firstmatch=off,index_condition_pushdown=on,index_condition_pushdown=off,index_merge=on,index_merge=off,index_merge_intersection=on,index_merge_intersection=off,index_merge_sort_union=on,index_merge_sort_union=off,index_merge_union=on,index_merge_union=off,loosescan=on,loosescan=off,materialization=on,materialization=off,mrr=on,mrr=off,mrr_cost_based=on,mrr_cost_based=off,semijoin=on,semijoin=off,subquery_materialization_cost_based=on,subquery_materialization_cost_based=off,use_index_extensions=on,use_index_extensions=off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/optimizer_switch\",\"name\":\"optimizer_switch\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"enabled=off,one_line=off\",\"description\":\"Controls how statements are traced.\",\"defaultValue\":\"enabled=off,one_line=off\",\"dataType\":\"Set\",\"allowedValues\":\"default,enabled=on,enabled=off,one_line=on,one_line=off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/optimizer_trace\",\"name\":\"optimizer_trace\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"greedy_search=on,range_optimizer=on,dynamic_range=on,repeated_subselect=on\",\"description\":\"Controls optimizations during statement tracing.\",\"defaultValue\":\"greedy_search=on,range_optimizer=on,dynamic_range=on,repeated_subselect=on\",\"dataType\":\"Set\",\"allowedValues\":\"default,greedy_search=on,greedy_search=off,range_optimizer=on,range_optimizer=off,dynamic_range=on,dynamic_range=off,repeated_subselect=on,repeated_subselect=off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/optimizer_trace_features\",\"name\":\"optimizer_trace_features\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Controls the limit on trace retention.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"1-9223372036854775807\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/optimizer_trace_limit\",\"name\":\"optimizer_trace_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"16384\",\"description\":\"Maximum allowed cumulated size of stored optimizer traces\",\"defaultValue\":\"16384\",\"dataType\":\"Integer\",\"allowedValues\":\"0-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/optimizer_trace_max_mem_size\",\"name\":\"optimizer_trace_max_mem_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Controls the offset on trace retention.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-9223372036854770000-9223372036854770000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/optimizer_trace_offset\",\"name\":\"optimizer_trace_offset\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"18446744073709551615\",\"description\":\"The maximum amount of memory available to the parser.\",\"defaultValue\":\"18446744073709551615\",\"dataType\":\"Integer\",\"allowedValues\":\"10000000-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/parser_max_mem_size\",\"name\":\"parser_max_mem_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"The value of this variable is ON or OFF to indicate whether the Performance Schema is enabled.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/performance_schema\",\"name\":\"performance_schema\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"80\",\"description\":\"The maximum number of condition instruments. \",\"defaultValue\":\"80\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/performance_schema_max_cond_classes\",\"name\":\"performance_schema_max_cond_classes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"80\",\"description\":\"The maximum number of file instruments. \",\"defaultValue\":\"80\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/performance_schema_max_file_classes\",\"name\":\"performance_schema_max_file_classes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"32768\",\"description\":\"The maximum number of opened file objects. \",\"defaultValue\":\"32768\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/performance_schema_max_file_handles\",\"name\":\"performance_schema_max_file_handles\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"320\",\"description\":\"The maximum number of memory instruments.\",\"defaultValue\":\"320\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1024\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/performance_schema_max_memory_classes\",\"name\":\"performance_schema_max_memory_classes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"The maximum number of mutex instruments. \",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/performance_schema_max_mutex_classes\",\"name\":\"performance_schema_max_mutex_classes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"40\",\"description\":\"The maximum number of rwlock instruments. \",\"defaultValue\":\"40\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/performance_schema_max_rwlock_classes\",\"name\":\"performance_schema_max_rwlock_classes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"The maximum number of socket instruments. \",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/performance_schema_max_socket_classes\",\"name\":\"performance_schema_max_socket_classes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"The maximum number of bytes used to store SQL statements in the SQL_TEXT column\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/performance_schema_max_sql_text_length\",\"name\":\"performance_schema_max_sql_text_length\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"150\",\"description\":\"The maximum number of stage instruments. \",\"defaultValue\":\"150\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/performance_schema_max_stage_classes\",\"name\":\"performance_schema_max_stage_classes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"The maximum depth of nested stored program calls for which the Performance Schema maintains statistics.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"1-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/performance_schema_max_statement_stack\",\"name\":\"performance_schema_max_statement_stack\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"The maximum number of thread instruments. \",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/performance_schema_max_thread_classes\",\"name\":\"performance_schema_max_thread_classes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Tells the server to load the named plugins at startup.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/plugin-load\",\"name\":\"plugin-load\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"32768\",\"description\":\"The size of the buffer that is allocated when preloading indexes.\",\"defaultValue\":\"32768\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/preload_buffer_size\",\"name\":\"preload_buffer_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"15\",\"description\":\"The number of statements for which to maintain profiling if profiling is enabled.\",\"defaultValue\":\"15\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/profiling_history_size\",\"name\":\"profiling_history_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8192\",\"description\":\"The allocation size of memory blocks that are allocated for objects created during statement parsing and execution.\",\"defaultValue\":\"8192\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/query_alloc_block_size\",\"name\":\"query_alloc_block_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1048576\",\"description\":\"Do not cache results that are larger than this number of bytes.\",\"defaultValue\":\"1048576\",\"dataType\":\"Integer\",\"allowedValues\":\"0-134217728\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/query_cache_limit\",\"name\":\"query_cache_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"The minimum size (in bytes) for blocks allocated by the query cache.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"512-131072\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/query_cache_min_res_unit\",\"name\":\"query_cache_min_res_unit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The amount of memory allocated for caching query results.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0,102400-134217728\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/query_cache_size\",\"name\":\"query_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Set the query cache type.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF,DEMAND\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/query_cache_type\",\"name\":\"query_cache_type\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Setting this variable to 1 causes acquisition of a WRITE lock for a table to invalidate any queries in the query cache that refer to the table.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/query_cache_wlock_invalidate\",\"name\":\"query_cache_wlock_invalidate\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8192\",\"description\":\"The size of the persistent buffer used for statement parsing and execution. This buffer is not freed between statements. If you are running complex queries, a larger value might be helpful in improving performance, because it can reduce the need for the server to perform memory allocation during query execution operations.\",\"defaultValue\":\"8192\",\"dataType\":\"Integer\",\"allowedValues\":\"8192-131072\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/query_prealloc_size\",\"name\":\"query_prealloc_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"The size of blocks that are allocated when doing range optimization.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-131072\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/range_alloc_block_size\",\"name\":\"range_alloc_block_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8388608\",\"description\":\"The limit on memory consumption for the range optimizer. A value of 0 means \u0027no limit.\u0027\",\"defaultValue\":\"8388608\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-134217728\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/range_optimizer_max_mem_size\",\"name\":\"range_optimizer_max_mem_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"131072\",\"description\":\"Each thread that does a sequential scan allocates this buffer. Increased value may help perf if performing many sequential scans.\",\"defaultValue\":\"131072\",\"dataType\":\"Integer\",\"allowedValues\":\"8200-2147479552\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/read_buffer_size\",\"name\":\"read_buffer_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This parameter controls whetherthe server permits no client updates. When the server is read replica or server storage is full, this parameter will not take effect.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/read_only\",\"name\":\"read_only\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"262144\",\"description\":\"Avoids disk reads when reading rows in sorted order following a key-sort operation. Large values can improve ORDER BY perf.\",\"defaultValue\":\"262144\",\"dataType\":\"Integer\",\"allowedValues\":\"8200-2147479552\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/read_rnd_buffer_size\",\"name\":\"read_rnd_buffer_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"/app/work/relaylogs/relay_bin\",\"description\":\"Relay log path.\",\"defaultValue\":\"/app/work/relaylogs/relay_bin\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/relay_log\",\"name\":\"relay_log\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"/app/work/relaylogs/relay_bin.index\",\"description\":\"Relay log index path.\",\"defaultValue\":\"/app/work/relaylogs/relay_bin.index\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/relay_log_index\",\"name\":\"relay_log_index\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"TABLE\",\"description\":\"This variable determines whether the slave\u0027s position in the relay logs is written to a FILE (relay-log.info) or to a TABLE (mysql.slave_relay_log_info).\",\"defaultValue\":\"TABLE\",\"dataType\":\"Enumeration\",\"allowedValues\":\"FILE,TABLE\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/relay_log_info_repository\",\"name\":\"relay_log_info_repository\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Disable or enable automatic purging of relay logs as soon as they are no longer needed.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/relay_log_purge\",\"name\":\"relay_log_purge\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Enables automatic relay log recovery immediately following server startup.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/relay_log_recovery\",\"name\":\"relay_log_recovery\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1073741824\",\"description\":\"This option places an upper limit on the total size in bytes of all relay logs on the slave.\",\"defaultValue\":\"1073741824\",\"dataType\":\"Integer\",\"allowedValues\":\"1073741824-3221225472\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/relay_log_space_limit\",\"name\":\"relay_log_space_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"mysql.%\",\"description\":\"Creates a replication filter which keeps the slave thread from replicating a statement in which any table matches the given wildcard pattern. To specify more than one table to ignore, use comma-separated list.\",\"defaultValue\":\"mysql.%\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/replicate_wild_ignore_table\",\"name\":\"replicate_wild_ignore_table\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Whether client connections to the server are required to use some form of secure transport. When this variable is enabled, the server permits only TCP/IP connections that use SSL, or connections that use a socket file (on Unix) or shared memory (on Windows). \",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/require_secure_transport\",\"name\":\"require_secure_transport\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"31536000\",\"description\":\"In MySQL 5.6.13 and later, you can control the length of time (in seconds) that STOP SLAVE waits before timing out by setting this variable.\",\"defaultValue\":\"31536000\",\"dataType\":\"Integer\",\"allowedValues\":\"2-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/rpl_stop_slave_timeout\",\"name\":\"rpl_stop_slave_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Blocks connections from all accounts that have passwords stored in the old (pre-4.1) format.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/secure_auth\",\"name\":\"secure_auth\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"This variable is used to limit the effect of data import and export operations, such as those performed by the LOAD DATA and SELECT ... INTO OUTFILE statements and the LOAD_FILE() function.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/secure_file_priv\",\"name\":\"secure_file_priv\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1236947509\",\"description\":\"The server ID, used in replication to give each master and slave a unique identity.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"1000-4294967295\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/server_id\",\"name\":\"server_id\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Controls whether the server tracks changes to the default schema (database) name within the current session and makes this information available to the client when changes occur.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/session_track_schema\",\"name\":\"session_track_schema\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Controls whether the server tracks changes to the state of the current session and notifies the client when state changes occur.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/session_track_state_change\",\"name\":\"session_track_state_change\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"time_zone, autocommit, character_set_client, character_set_results, character_set_connection\",\"description\":\"Controls whether the server tracks changes to the session system variables and makes this information available to the client when changes occur.\",\"defaultValue\":\"time_zone, autocommit, character_set_client, character_set_results, character_set_connection\",\"dataType\":\"Set\",\"allowedValues\":\"time_zone,autocommit,character_set_client,character_set_results,character_set_connection\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/session_track_system_variables\",\"name\":\"session_track_system_variables\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Track changes to the transaction attributes.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"OFF,STATE,CHARACTERISTICS\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/session_track_transaction_info\",\"name\":\"session_track_transaction_info\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Controls whether the server autogenerates RSA private/public key-pair files in the data directory.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/sha256_password_auto_generate_rsa_keys\",\"name\":\"sha256_password_auto_generate_rsa_keys\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Controls whether the sha256_password built-in authentication plugin supports proxy users.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/sha256_password_proxy_users\",\"name\":\"sha256_password_proxy_users\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Affects whether MySQL 5.6 compatibility is enabled with respect to how system and status variable information is provided by the INFORMATION_SCHEMA and Performance Schema tables, and also by the SHOW VARIABLES and SHOW STATUS statements.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/show_compatibility_56\",\"name\":\"show_compatibility_56\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Whether SHOW CREATE TABLE output includes comments to flag temporal columns found to be in pre-5.6.4 format.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/show_old_temporals\",\"name\":\"show_old_temporals\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Uses OS locking instead of internal\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/skip_external_locking\",\"name\":\"skip_external_locking\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Host names are not resolved. All Host column values in the grant tables must be IP numbers or localhost.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/skip_name_resolve\",\"name\":\"skip_name_resolve\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This prevents people from using the SHOW DATABASES statement if they do not have the SHOW DATABASES privilege. \",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/skip_show_database\",\"name\":\"skip_show_database\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"False\",\"description\":\"Tells the slave server not to start the slave threads when the server starts.\",\"defaultValue\":\"False\",\"dataType\":\"Enumeration\",\"allowedValues\":\"TRUE,FALSE\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/skip-slave-start\",\"name\":\"skip-slave-start\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Whether or not batched updates are enabled on replication slaves.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/slave_allow_batching\",\"name\":\"slave_allow_batching\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"512\",\"description\":\"Sets the maximum number of transactions that can be processed by a multi-threaded slave before a checkpoint operation is called to update its status as shown by SHOW SLAVE STATUS.\",\"defaultValue\":\"512\",\"dataType\":\"Integer\",\"allowedValues\":\"32-524280\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/slave_checkpoint_group\",\"name\":\"slave_checkpoint_group\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"300\",\"description\":\"Sets the maximum time (in milliseconds) that is allowed to pass before a checkpoint operation is called to update the status of a multi-threaded slave as shown by SHOW SLAVE STATUS.\",\"defaultValue\":\"300\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/slave_checkpoint_period\",\"name\":\"slave_checkpoint_period\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Whether to use compression of the slave/master protocol if both the slave and the master support it.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/slave_compressed_protocol\",\"name\":\"slave_compressed_protocol\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"STRICT\",\"description\":\"Controls how a slave thread resolves conflicts and errors during replication.\",\"defaultValue\":\"STRICT\",\"dataType\":\"Enumeration\",\"allowedValues\":\"IDEMPOTENT,STRICT\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/slave_exec_mode\",\"name\":\"slave_exec_mode\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"/app/work/temp\",\"description\":\"The name of the directory where the slave creates temporary files.\",\"defaultValue\":\"/app/work/temp\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/slave_load_tmpdir\",\"name\":\"slave_load_tmpdir\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1073741824\",\"description\":\"In MySQL 5.6.6 and later, this option sets the maximum packet size in bytes for the slave SQL and I/O threads.\",\"defaultValue\":\"1073741824\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/slave_max_allowed_packet\",\"name\":\"slave_max_allowed_packet\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"60\",\"description\":\"The number of seconds to wait for more data from the master before the slave considers the connection broken, aborts the read, and tries to reconnect.\",\"defaultValue\":\"60\",\"dataType\":\"Integer\",\"allowedValues\":\"30-3600\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/slave_net_timeout\",\"name\":\"slave_net_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"LOGICAL_CLOCK\",\"description\":\"The policy used to decide which transactions are allowed to execute in parallel on the slave.\",\"defaultValue\":\"LOGICAL_CLOCK\",\"dataType\":\"Enumeration\",\"allowedValues\":\"DATABASE,LOGICAL_CLOCK\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/slave_parallel_type\",\"name\":\"slave_parallel_type\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Sets the number of slave worker threads for executing replication events (transactions) in parallel.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-512\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/slave_parallel_workers\",\"name\":\"slave_parallel_workers\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"16777216\",\"description\":\"For multithreaded slaves, this variable sets the maximum amount of memory (in bytes) available to slave worker queues holding events not yet applied.\",\"defaultValue\":\"16777216\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/slave_pending_jobs_size_max\",\"name\":\"slave_pending_jobs_size_max\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"For multi-threaded slaves, enabling this variable ensures that transactions are externalized on the slave in the same order as they appear in the slave\u0027s relay log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/slave_preserve_commit_order\",\"name\":\"slave_preserve_commit_order\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"TABLE_SCAN,INDEX_SCAN\",\"description\":\"When preparing batches of rows for row-based logging and replication, this variable controls how the rows are searched for matches???that is, whether or not hashing is used for searches using a primary or unique key, using some other key, or using no key at all.\",\"defaultValue\":\"TABLE_SCAN,INDEX_SCAN\",\"dataType\":\"Set\",\"allowedValues\":\"TABLE_SCAN,INDEX_SCAN,HASH_SCAN\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/slave_rows_search_algorithms\",\"name\":\"slave_rows_search_algorithms\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Normally, replication stops when an error occurs on the slave. This gives you the opportunity to resolve the inconsistency in the data manually.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"OFF,all,ddl_exist_errors\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/slave_skip_errors\",\"name\":\"slave_skip_errors\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"When this option is enabled, the slave examines checksums read from the relay log, in the event of a mismatch, the slave stops with an error.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/slave_sql_verify_checksum\",\"name\":\"slave_sql_verify_checksum\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"If a replication slave SQL thread fails to execute a transaction because of an InnoDB deadlock or because the transaction\u0027s execution time exceeded InnoDB\u0027s innodb_lock_wait_timeout or NDB\u0027s TransactionDeadlockDetectionTimeout or TransactionInactiveTimeout, it automatically retries slave_transaction_retries times before stopping with an error.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/slave_transaction_retries\",\"name\":\"slave_transaction_retries\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Controls the type conversion mode in effect on the slave when using row-based replication.\",\"defaultValue\":\"\",\"dataType\":\"Set\",\"allowedValues\":\",ALL_LOSSY,ALL_NON_LOSSY,ALL_SIGNED,ALL_UNSIGNED\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/slave_type_conversions\",\"name\":\"slave_type_conversions\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Increments Slow_launch_threads if creating thread takes longer than this many seconds.\",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"0-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/slow_launch_time\",\"name\":\"slow_launch_time\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Enable or disable the slow query log\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/slow_query_log\",\"name\":\"slow_query_log\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"/app/work/serverlogs/mysql-slow-mysql-test-100-2020111008.log\",\"description\":\"The name of the slow query log file.\",\"defaultValue\":\"mysql-slow.log\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/slow_query_log_file\",\"name\":\"slow_query_log_file\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"524288\",\"description\":\"Each session that must perform a sort allocates a buffer of this size.\",\"defaultValue\":\"524288\",\"dataType\":\"Integer\",\"allowedValues\":\"32768-33554432\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/sort_buffer_size\",\"name\":\"sort_buffer_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION\",\"description\":\"The current server SQL mode.\",\"defaultValue\":\"ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION\",\"dataType\":\"Set\",\"allowedValues\":\",ALLOW_INVALID_DATES,ANSI_QUOTES,ERROR_FOR_DIVISION_BY_ZERO,HIGH_NOT_PRECEDENCE,IGNORE_SPACE,NO_AUTO_CREATE_USER,NO_AUTO_VALUE_ON_ZERO,NO_BACKSLASH_ESCAPES,NO_DIR_IN_CREATE,NO_ENGINE_SUBSTITUTION,NO_FIELD_OPTIONS,NO_KEY_OPTIONS,NO_TABLE_OPTIONS,NO_UNSIGNED_SUBTRACTION,NO_ZERO_DATE,NO_ZERO_IN_DATE,ONLY_FULL_GROUP_BY,PAD_CHAR_TO_FULL_LENGTH,PIPES_AS_CONCAT,REAL_AS_FLOAT,STRICT_ALL_TABLES,STRICT_TRANS_TABLES\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/sql_mode\",\"name\":\"sql_mode\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"When set, tables must be created with a primary key, and an existing primary key cannot be removed with \u0027ALTER TABLE\u0027. Attempts to do so will result in an error\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON, OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/sql_require_primary_key\",\"name\":\"sql_require_primary_key\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384:DHE-RSA-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-RSA-AES128-CCM:DHE-RSA-AES256-CCM:DHE-RSA-AES128-CCM8:DHE-RSA-AES256-CCM8\",\"description\":\"The list of permissible ciphers for connection encryption. By default, the FIPS cipher suites for TLS 1.2 are enforced.\",\"defaultValue\":\"ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384:DHE-RSA-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-RSA-AES128-CCM:DHE-RSA-AES256-CCM:DHE-RSA-AES128-CCM8:DHE-RSA-AES256-CCM8\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/ssl_cipher\",\"name\":\"ssl_cipher\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"256\",\"description\":\"Sets a soft upper limit for the number of cached stored routines per connection.\",\"defaultValue\":\"256\",\"dataType\":\"Integer\",\"allowedValues\":\"16-524288\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/stored_program_cache\",\"name\":\"stored_program_cache\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This parameter controls the server prohibits client updates even from users who have SUPER.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/super_read_only\",\"name\":\"super_read_only\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"The size in bytes of the buffer that InnoDB uses to write to the log files on disk.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1024\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/sync_binlog\",\"name\":\"sync_binlog\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"If this variable is set to 1, when any nontemporary table is created its .frm file is synchronized to disk\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/sync_frm\",\"name\":\"sync_frm\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The effects of this variable on a replication slave depend on whether the slave\u0027s master_info_repository is set to FILE or TABLE\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/sync_master_info\",\"name\":\"sync_master_info\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"If the value of this variable is greater than 0, the MySQL server synchronizes its relay log to disk (using fdatasync()) after every sync_relay_log events are written to the relay log.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/sync_relay_log\",\"name\":\"sync_relay_log\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"The effects of this variable on the slave depend on the server\u0027s relay_log_info_repository setting (FILE or TABLE), and if this is TABLE, additionally on whether the storage engine used by the relay log info table is transactional (such as InnoDB) or not (MyISAM). \",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/sync_relay_log_info\",\"name\":\"sync_relay_log_info\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"600\",\"description\":\"The number of table definitions (from .frm files) that can be stored in the definition cache.\",\"defaultValue\":\"600\",\"dataType\":\"Integer\",\"allowedValues\":\"400-524288\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/table_definition_cache\",\"name\":\"table_definition_cache\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"600\",\"description\":\"The number of open tables for all threads.\",\"defaultValue\":\"600\",\"dataType\":\"Integer\",\"allowedValues\":\"1-160000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/table_open_cache\",\"name\":\"table_open_cache\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"The number of open tables cache instances.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"1-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/table_open_cache_instances\",\"name\":\"table_open_cache_instances\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"9\",\"description\":\"How many threads the server should cache for reuse. The default value is 8 + (max_connections / 100), capped to a limit of 100.\",\"defaultValue\":\"9\",\"dataType\":\"Integer\",\"allowedValues\":\"0-16384\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/thread_cache_size\",\"name\":\"thread_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"one-thread-per-connection\",\"description\":\"The thread-handling model used by the server for connection threads.\",\"defaultValue\":\"one-thread-per-connection\",\"dataType\":\"Enumeration\",\"allowedValues\":\"one-thread-per-connection,no-threads,pool-of-threads,loaded-dynamically\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/thread_handling\",\"name\":\"thread_handling\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"262144\",\"description\":\"The stack size for each thread.\",\"defaultValue\":\"262144\",\"dataType\":\"Integer\",\"allowedValues\":\"131072-2147483136\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/thread_stack\",\"name\":\"thread_stack\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"+00:00\",\"description\":\"The server time zone\",\"defaultValue\":\"+00:00\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/time_zone\",\"name\":\"time_zone\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"TLSv1.2\",\"description\":\"Which protocols the server permits for encrypted connections. By default, TLS 1.2 is enforced\",\"defaultValue\":\"TLSv1.2\",\"dataType\":\"Set\",\"allowedValues\":\"TLSv1,TLSv1.1,TLSv1.2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/tls_version\",\"name\":\"tls_version\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"16777216\",\"description\":\"The maximum size of internal in-memory temporary tables. This variable does not apply to user-created MEMORY tables.\",\"defaultValue\":\"16777216\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/tmp_table_size\",\"name\":\"tmp_table_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"/app/work/temp\",\"description\":\"The path of the directory to use for creating temporary files.\",\"defaultValue\":\"/app/work/temp\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/tmpdir\",\"name\":\"tmpdir\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8192\",\"description\":\"The amount in bytes by which to increase a per-transaction memory pool which needs memory.\",\"defaultValue\":\"8192\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-131072\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/transaction_alloc_block_size\",\"name\":\"transaction_alloc_block_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"There is a per-transaction memory pool from which various transaction-related allocations take memory. The initial size of the pool in bytes is transaction_prealloc_size.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-131072\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/transaction_prealloc_size\",\"name\":\"transaction_prealloc_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Reserved for future use.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"OFF,MURMUR32\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/transaction_write_set_extraction\",\"name\":\"transaction_write_set_extraction\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"REPEATABLE-READ\",\"description\":\"The default transaction isolation level.\",\"defaultValue\":\"REPEATABLE-READ\",\"dataType\":\"Enumeration\",\"allowedValues\":\"READ-UNCOMMITTED,READ-COMMITTED,REPEATABLE-READ,SERIALIZABLE\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/tx_isolation\",\"name\":\"tx_isolation\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"YES\",\"description\":\"This variable controls whether updates to a view can be made when the view does not contain all columns of the primary key defined in the underlying table, if the update statement contains a LIMIT clause.\",\"defaultValue\":\"YES\",\"dataType\":\"Enumeration\",\"allowedValues\":\"YES,NO\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/updatable_views_with_limit\",\"name\":\"updatable_views_with_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"28800\",\"description\":\"The number of seconds the server waits for activity on a noninteractive connection before closing it.\",\"defaultValue\":\"28800\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/wait_timeout\",\"name\":\"wait_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"}]}" + } + }, + "Get-AzMySqlFlexibleServerConfiguration+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/configurations/time_zone?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/configurations/time_zone?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2" ], + "x-ms-client-request-id": [ "6413592a-6564-490a-a713-75ee8e96b100" ], + "CommandName": [ "Get-AzMySqlFlexibleServerConfiguration" ], + "FullCommandName": [ "Get-AzMySqlFlexibleServerConfiguration_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "ee55cd8e-03b5-40c2-8773-c1a569c87852" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-correlation-request-id": [ "01e89162-5591-423a-a960-241e5b41609e" ], + "x-ms-routing-request-id": [ "WESTUS:20201110T222005Z:01e89162-5591-423a-a960-241e5b41609e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 22:20:05 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "488" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"value\":\"+00:00\",\"description\":\"The server time zone\",\"defaultValue\":\"+00:00\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/time_zone\",\"name\":\"time_zone\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"}" + } + }, + "Get-AzMySqlFlexibleServerConfiguration+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/configurations/server_id?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/configurations/server_id?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "3" ], + "x-ms-client-request-id": [ "0a3e6986-cf80-4f97-9d59-aad92d37f1bd" ], + "CommandName": [ "Get-AzMySqlFlexibleServerConfiguration" ], + "FullCommandName": [ "Get-AzMySqlFlexibleServerConfiguration_GetViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "b5da3355-764a-4ad8-bdce-efa145db3ec8" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-correlation-request-id": [ "f9b291b2-3a25-4496-b3f3-7a1e31660dd5" ], + "x-ms-routing-request-id": [ "WESTUS:20201110T222006Z:f9b291b2-3a25-4496-b3f3-7a1e31660dd5" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 22:20:05 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "568" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"value\":\"1236947509\",\"description\":\"The server ID, used in replication to give each master and slave a unique identity.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"1000-4294967295\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/server_id\",\"name\":\"server_id\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"}" + } + } +} \ No newline at end of file diff --git a/src/MySql/test/Get-AzMySqlFlexibleServerConfiguration.Tests.ps1 b/src/MySql/test/Get-AzMySqlFlexibleServerConfiguration.Tests.ps1 new file mode 100644 index 000000000000..64a919a51fc6 --- /dev/null +++ b/src/MySql/test/Get-AzMySqlFlexibleServerConfiguration.Tests.ps1 @@ -0,0 +1,36 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzMySqlFlexibleServerConfiguration.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'Get-AzMySqlFlexibleServerConfiguration' { + It 'List' { + { + $config = Get-AzMySqlFlexibleServerConfiguration -ResourceGroupName $env.resourceGroup -ServerName $env.serverName + $config.Count | Should -BeGreaterOrEqual 1 + } | Should -Not -Throw + } + + It 'Get' { + { + $config = Get-AzMySqlFlexibleServerConfiguration -Name time_zone -ResourceGroupName $env.resourceGroup -ServerName $env.serverName + $config.Name | Should -Be time_zone + } | Should -Not -Throw + } + + It 'GetViaIdentity' { + { + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySql/flexibleServers/$($env.serverName)/configurations/server_id" + $config = Get-AzMySqlFlexibleServerConfiguration -InputObject $ID + $config.Name | Should -Be server_id + } | Should -Not -Throw + } +} diff --git a/src/MySql/test/Get-AzMySqlFlexibleServerDatabase.Recording.json b/src/MySql/test/Get-AzMySqlFlexibleServerDatabase.Recording.json new file mode 100644 index 000000000000..cf8a8cbc7b1a --- /dev/null +++ b/src/MySql/test/Get-AzMySqlFlexibleServerDatabase.Recording.json @@ -0,0 +1,356 @@ +{ + "Get-AzMySqlFlexibleServerDatabase+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "Content": "{\r\n \"properties\": {\r\n \"charset\": \"latin1\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "53" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/96326ee6-19e9-49da-bf99-cef36c9b88fa?api-version=2020-07-01-preview" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/96326ee6-19e9-49da-bf99-cef36c9b88fa?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "96326ee6-19e9-49da-bf99-cef36c9b88fa" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "b61c1f27-5839-4295-ba95-91f7e626b996" ], + "x-ms-routing-request-id": [ "WESTUS:20201110T220332Z:b61c1f27-5839-4295-ba95-91f7e626b996" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 22:03:32 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "93" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerDatabaseManagementOperation\",\"startTime\":\"2020-11-10T22:03:32.76Z\"}" + } + }, + "Get-AzMySqlFlexibleServerDatabase+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/96326ee6-19e9-49da-bf99-cef36c9b88fa?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/96326ee6-19e9-49da-bf99-cef36c9b88fa?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "2" ], + "x-ms-client-request-id": [ "b78e8cb3-8b5a-45fe-8249-7dca83ed365d" ], + "CommandName": [ "New-AzMySqlFlexibleServerDatabase" ], + "FullCommandName": [ "New-AzMySqlFlexibleServerDatabase_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "d68e0b6c-da50-446c-9434-1924e54da61e" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-correlation-request-id": [ "7a878465-d1b9-4564-b3e5-589809043c2f" ], + "x-ms-routing-request-id": [ "WESTUS:20201110T220348Z:7a878465-d1b9-4564-b3e5-589809043c2f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 22:03:47 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"96326ee6-19e9-49da-bf99-cef36c9b88fa\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T22:03:32.76Z\"}" + } + }, + "Get-AzMySqlFlexibleServerDatabase+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "3" ], + "x-ms-client-request-id": [ "b78e8cb3-8b5a-45fe-8249-7dca83ed365d" ], + "CommandName": [ "New-AzMySqlFlexibleServerDatabase" ], + "FullCommandName": [ "New-AzMySqlFlexibleServerDatabase_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "77b3cd47-3482-4d7e-a2f1-ff1f5b6c0207" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-correlation-request-id": [ "bfcc0b59-1aac-49f7-baa0-f0baec4fbe80" ], + "x-ms-routing-request-id": [ "WESTUS:20201110T220348Z:bfcc0b59-1aac-49f7-baa0-f0baec4fbe80" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 22:03:47 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "304" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" + } + }, + "Get-AzMySqlFlexibleServerDatabase+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "354934c3-e026-4fcc-878f-b01c1dab8880" ], + "CommandName": [ "Get-AzMySqlFlexibleServerDatabase" ], + "FullCommandName": [ "Get-AzMySqlFlexibleServerDatabase_List" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "06a0ccdf-bf87-4c38-98cf-0b08ad6ef4f4" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "ace51840-ca64-416a-a453-9a42d96d6f7e" ], + "x-ms-routing-request-id": [ "WESTUS:20201110T220348Z:ace51840-ca64-416a-a453-9a42d96d6f7e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 22:03:48 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1556" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"value\":[{\"properties\":{\"charset\":\"utf8\",\"collation\":\"utf8_general_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/databases/information_schema\",\"name\":\"information_schema\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"},{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/databases/mysql\",\"name\":\"mysql\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"},{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"},{\"properties\":{\"charset\":\"utf8\",\"collation\":\"utf8_general_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/databases/performance_schema\",\"name\":\"performance_schema\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"},{\"properties\":{\"charset\":\"utf8\",\"collation\":\"utf8_general_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/databases/sys\",\"name\":\"sys\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}]}" + } + }, + "Get-AzMySqlFlexibleServerDatabase+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "5" ], + "x-ms-client-request-id": [ "e71a9def-3afb-4b7f-a5ee-976b441a0952" ], + "CommandName": [ "Get-AzMySqlFlexibleServerDatabase" ], + "FullCommandName": [ "Get-AzMySqlFlexibleServerDatabase_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "1fe5570d-b10e-4140-b319-501d50da607e" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-correlation-request-id": [ "e0cb9f6d-e06e-42c6-acee-ef0f9b619eb3" ], + "x-ms-routing-request-id": [ "WESTUS:20201110T220349Z:e0cb9f6d-e06e-42c6-acee-ef0f9b619eb3" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 22:03:48 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "304" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" + } + }, + "Get-AzMySqlFlexibleServerDatabase+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "6" ], + "x-ms-client-request-id": [ "723f1861-52c7-4fea-ab61-e70c6864a186" ], + "CommandName": [ "Get-AzMySqlFlexibleServerDatabase" ], + "FullCommandName": [ "Get-AzMySqlFlexibleServerDatabase_GetViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "4ca591e3-07a5-4d5f-8cd5-02f1fe482df7" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "b873def8-9b4b-4688-a719-9e9bab0e26b7" ], + "x-ms-routing-request-id": [ "WESTUS:20201110T220349Z:b873def8-9b4b-4688-a719-9e9bab0e26b7" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 22:03:49 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "304" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" + } + }, + "Get-AzMySqlFlexibleServerDatabase+[NoContext]+GetViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "7" ], + "x-ms-client-request-id": [ "c05ec1b6-4f8c-42fa-ab52-ec89683ff269" ], + "CommandName": [ "Remove-AzMySqlFlexibleServerDatabase" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServerDatabase_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/868f7062-663d-46f3-83d6-1e53eba390e0?api-version=2020-07-01-preview" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/868f7062-663d-46f3-83d6-1e53eba390e0?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "868f7062-663d-46f3-83d6-1e53eba390e0" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "x-ms-correlation-request-id": [ "53eb45d6-650f-4dca-b75b-55e97e7a3835" ], + "x-ms-routing-request-id": [ "WESTUS:20201110T220350Z:53eb45d6-650f-4dca-b75b-55e97e7a3835" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 22:03:49 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "92" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropServerDatabaseManagementOperation\",\"startTime\":\"2020-11-10T22:03:50.273Z\"}" + } + }, + "Get-AzMySqlFlexibleServerDatabase+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/868f7062-663d-46f3-83d6-1e53eba390e0?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/868f7062-663d-46f3-83d6-1e53eba390e0?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "8" ], + "x-ms-client-request-id": [ "c05ec1b6-4f8c-42fa-ab52-ec89683ff269" ], + "CommandName": [ "Remove-AzMySqlFlexibleServerDatabase" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServerDatabase_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "2a17d978-d911-45ec-a15e-f7ad0bd6cf73" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "567fee58-2be3-4ea9-a09a-190b99bc0666" ], + "x-ms-routing-request-id": [ "WESTUS:20201110T220405Z:567fee58-2be3-4ea9-a09a-190b99bc0666" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 22:04:04 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"868f7062-663d-46f3-83d6-1e53eba390e0\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T22:03:50.273Z\"}" + } + }, + "Get-AzMySqlFlexibleServerDatabase+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/868f7062-663d-46f3-83d6-1e53eba390e0?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/868f7062-663d-46f3-83d6-1e53eba390e0?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "9" ], + "x-ms-client-request-id": [ "c05ec1b6-4f8c-42fa-ab52-ec89683ff269" ], + "CommandName": [ "Remove-AzMySqlFlexibleServerDatabase" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServerDatabase_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "562bc2c6-fd7f-466c-b391-57f8e3bf892b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "be5a60f5-ed70-4b1b-98ca-5a4f17d1a2de" ], + "x-ms-routing-request-id": [ "WESTUS:20201110T220405Z:be5a60f5-ed70-4b1b-98ca-5a4f17d1a2de" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 22:04:04 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "254" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" + } + } +} \ No newline at end of file diff --git a/src/MySql/test/Get-AzMySqlFlexibleServerDatabase.Tests.ps1 b/src/MySql/test/Get-AzMySqlFlexibleServerDatabase.Tests.ps1 new file mode 100644 index 000000000000..4be922f379df --- /dev/null +++ b/src/MySql/test/Get-AzMySqlFlexibleServerDatabase.Tests.ps1 @@ -0,0 +1,40 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzMySqlFlexibleServerDatabase.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'Get-AzMySqlFlexibleServerDatabase' { + It 'List' { + { + New-AzMySqlFlexibleServerDatabase -Name $env.databaseName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -Charset latin1 + $database = Get-AzMySqlFlexibleServerDatabase -ResourceGroupName $env.resourceGroup -ServerName $env.serverName + $database.Count | Should -BeGreaterThan 0 + } | Should -Not -Throw + } + + It 'Get' { + { + $database = Get-AzMySqlFlexibleServerDatabase -Name $env.databaseName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName + $database.Collation | Should -Be "latin1_swedish_ci" + $database.Charset | Should -Be "latin1" + } | Should -Not -Throw + } + + It 'GetViaIdentity' { + { + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySql/flexibleServers/$($env.serverName)/databases/$($env.databaseName)" + $database = Get-AzMySqlFlexibleServerDatabase -InputObject $ID + $database.Collation | Should -Be "latin1_swedish_ci" + $database.Charset | Should -Be "latin1" + Remove-AzMySqlFlexibleServerDatabase -Name $env.databaseName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName + } | Should -Not -Throw + } +} diff --git a/src/MySql/test/Get-AzMySqlFlexibleServerFirewallRule.Recording.json b/src/MySql/test/Get-AzMySqlFlexibleServerFirewallRule.Recording.json new file mode 100644 index 000000000000..34844cf42039 --- /dev/null +++ b/src/MySql/test/Get-AzMySqlFlexibleServerFirewallRule.Recording.json @@ -0,0 +1,355 @@ +{ + "Get-AzMySqlFlexibleServerFirewallRule+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "93" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/1e8ff943-a93f-4526-88a5-28bbe71c90eb?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/1e8ff943-a93f-4526-88a5-28bbe71c90eb?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "1e8ff943-a93f-4526-88a5-28bbe71c90eb" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-correlation-request-id": [ "f6722fee-689b-496a-bb1f-443943ab2e2d" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T085851Z:f6722fee-689b-496a-bb1f-443943ab2e2d" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 08:58:51 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "99" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-10T08:58:51.333Z\"}" + } + }, + "Get-AzMySqlFlexibleServerFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/1e8ff943-a93f-4526-88a5-28bbe71c90eb?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/1e8ff943-a93f-4526-88a5-28bbe71c90eb?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "15" ], + "x-ms-client-request-id": [ "2e215d2d-2e21-45f4-bb90-a0429f193b2f" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "New-AzMySqlFlexibleServerFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "c14e93f3-97ab-45ee-b69a-a2c59f27f479" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], + "x-ms-correlation-request-id": [ "e57a400f-a9ec-421f-b122-e1d5f00f6582" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T085951Z:e57a400f-a9ec-421f-b122-e1d5f00f6582" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 08:59:51 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"1e8ff943-a93f-4526-88a5-28bbe71c90eb\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T08:58:51.333Z\"}" + } + }, + "Get-AzMySqlFlexibleServerFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "16" ], + "x-ms-client-request-id": [ "2e215d2d-2e21-45f4-bb90-a0429f193b2f" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "New-AzMySqlFlexibleServerFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "123ab935-8d93-4d8b-8727-24d5c510a3b9" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], + "x-ms-correlation-request-id": [ "72b38835-2d21-411d-8253-a45c4acd71f9" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T085952Z:72b38835-2d21-411d-8253-a45c4acd71f9" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 08:59:51 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "149" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}" + } + }, + "Get-AzMySqlFlexibleServerFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "17" ], + "x-ms-client-request-id": [ "e4ce5b69-a37d-4239-8c7e-18caad82820b" ], + "CommandName": [ "Get-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Get-AzMySqlFlexibleServerFirewallRule_List" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "7bed6708-ccc6-4724-ab91-07f3a96b92c8" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], + "x-ms-correlation-request-id": [ "bd003fe4-59a0-42fe-b77b-7814b278b76c" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T085952Z:bd003fe4-59a0-42fe-b77b-7814b278b76c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 08:59:51 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "161" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"value\":[{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}]}" + } + }, + "Get-AzMySqlFlexibleServerFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "18" ], + "x-ms-client-request-id": [ "8ad4ff35-00a5-4b34-893c-0eda146d6fe3" ], + "CommandName": [ "Get-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Get-AzMySqlFlexibleServerFirewallRule_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "c8c89e0c-5c98-4efd-92f3-ff7cb902f288" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], + "x-ms-correlation-request-id": [ "feae2fe5-a8bb-491d-80ab-e67f7976ddf9" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T085952Z:feae2fe5-a8bb-491d-80ab-e67f7976ddf9" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 08:59:52 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "149" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}" + } + }, + "Get-AzMySqlFlexibleServerFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "19" ], + "x-ms-client-request-id": [ "9cc628db-0b1e-4407-8bd5-6818335f15c6" ], + "CommandName": [ "Get-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Get-AzMySqlFlexibleServerFirewallRule_GetViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "0a374e16-cd9e-4799-bdd6-f41ad856a054" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11980" ], + "x-ms-correlation-request-id": [ "9118538f-6a8a-407e-b80f-6a881e098f75" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T085952Z:9118538f-6a8a-407e-b80f-6a881e098f75" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 08:59:52 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "149" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}" + } + }, + "Get-AzMySqlFlexibleServerFirewallRule+[NoContext]+GetViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "20" ], + "x-ms-client-request-id": [ "bc5100ec-cce1-4d2c-b4d7-6788e3551836" ], + "CommandName": [ "Remove-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServerFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/f1d410fb-6f8f-41c6-bc39-1156abdb00d5?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f1d410fb-6f8f-41c6-bc39-1156abdb00d5?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "f1d410fb-6f8f-41c6-bc39-1156abdb00d5" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "x-ms-correlation-request-id": [ "14bdfe74-5b5b-4a3a-ae6f-5c6a09863d2f" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T085953Z:14bdfe74-5b5b-4a3a-ae6f-5c6a09863d2f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 08:59:52 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "97" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-10T08:59:53.133Z\"}" + } + }, + "Get-AzMySqlFlexibleServerFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f1d410fb-6f8f-41c6-bc39-1156abdb00d5?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f1d410fb-6f8f-41c6-bc39-1156abdb00d5?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "21" ], + "x-ms-client-request-id": [ "bc5100ec-cce1-4d2c-b4d7-6788e3551836" ], + "CommandName": [ "Remove-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServerFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "6a10b21a-2c6a-4e04-b5c4-1ee259daff38" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11979" ], + "x-ms-correlation-request-id": [ "e06fb5ef-01d1-48a1-8113-bca83ff535cd" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T090053Z:e06fb5ef-01d1-48a1-8113-bca83ff535cd" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 09:00:53 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"f1d410fb-6f8f-41c6-bc39-1156abdb00d5\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T08:59:53.133Z\"}" + } + }, + "Get-AzMySqlFlexibleServerFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/f1d410fb-6f8f-41c6-bc39-1156abdb00d5?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/f1d410fb-6f8f-41c6-bc39-1156abdb00d5?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "22" ], + "x-ms-client-request-id": [ "bc5100ec-cce1-4d2c-b4d7-6788e3551836" ], + "CommandName": [ "Remove-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServerFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "9f05b5c7-c6ac-4c43-9f42-54a97c220954" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11978" ], + "x-ms-correlation-request-id": [ "625b812c-56af-42e4-8be1-1703f191e122" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T090053Z:625b812c-56af-42e4-8be1-1703f191e122" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 09:00:53 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + } +} \ No newline at end of file diff --git a/src/MySql/test/Get-AzMySqlFlexibleServerFirewallRule.Tests.ps1 b/src/MySql/test/Get-AzMySqlFlexibleServerFirewallRule.Tests.ps1 new file mode 100644 index 000000000000..8d77ca947b60 --- /dev/null +++ b/src/MySql/test/Get-AzMySqlFlexibleServerFirewallRule.Tests.ps1 @@ -0,0 +1,40 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzMySqlFlexibleServerFirewallRule.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'Get-AzMySqlFlexibleServerFirewallRule' { + It 'List' { + { + New-AzMySqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 + $rule = Get-AzMySqlFlexibleServerFirewallRule -ResourceGroupName $env.resourceGroup -ServerName $env.serverName + $rule.Count | Should -Be 1 + } | Should -Not -Throw + } + + It 'Get' { + { + $rule = Get-AzMySqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName + $rule.StartIPAddress | Should -Be 0.0.0.0 + $rule.EndIPAddress | Should -Be 0.0.0.1 + } | Should -Not -Throw + } + + It 'GetViaIdentity' { + { + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySql/flexibleServers/$($env.serverName)/firewallRules/$($env.firewallRuleName)" + $rule = Get-AzMySqlFlexibleServerFirewallRule -InputObject $ID + $rule.StartIPAddress | Should -Be 0.0.0.0 + $rule.EndIPAddress | Should -Be 0.0.0.1 + Remove-AzMySqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName + } | Should -Not -Throw + } +} diff --git a/src/MySql/test/Get-AzMySqlFlexibleServerLocationBasedCapability.Tests.ps1 b/src/MySql/test/Get-AzMySqlFlexibleServerLocationBasedCapability.Tests.ps1 new file mode 100644 index 000000000000..7326b57344ac --- /dev/null +++ b/src/MySql/test/Get-AzMySqlFlexibleServerLocationBasedCapability.Tests.ps1 @@ -0,0 +1,18 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzMySqlFlexibleServerLocationBasedCapability.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'Get-AzMySqlFlexibleServerLocationBasedCapability' { + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/MySql/test/Get-AzMySqlFlexibleServerReplica.Recording.json b/src/MySql/test/Get-AzMySqlFlexibleServerReplica.Recording.json new file mode 100644 index 000000000000..62559a3518e6 --- /dev/null +++ b/src/MySql/test/Get-AzMySqlFlexibleServerReplica.Recording.json @@ -0,0 +1,357 @@ +{ + "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "43b5a6d0-5896-45e0-9fcc-ee9f1e9fb18c" ], + "CommandName": [ "Get-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Get-AzMySqlFlexibleServer_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "75739168-9131-4715-9dd8-d83a7701495e" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "2613edcf-bb5e-4bdc-910a-a6eec59406ac" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T005317Z:2613edcf-bb5e-4bdc-910a-a6eec59406ac" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 00:53:17 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "947" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-10T09:03:48.6930234+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"Source\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + } + }, + "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-replica?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-replica?api-version=2020-07-01-preview", + "Content": "{\r\n \"location\": \"West US 2\",\r\n \"properties\": {\r\n \"sourceServerId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\r\n \"createMode\": \"Replica\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "250" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/ae986dce-25c0-4950-9067-1ea075dea227?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ae986dce-25c0-4950-9067-1ea075dea227?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "ae986dce-25c0-4950-9067-1ea075dea227" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-correlation-request-id": [ "4d188ee2-6e02-4143-977b-9cd50309c22e" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T005317Z:4d188ee2-6e02-4143-977b-9cd50309c22e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 00:53:17 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "90" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"CreateReadReplicaManagementOperation\",\"startTime\":\"2020-11-11T00:53:17.76Z\"}" + } + }, + "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ae986dce-25c0-4950-9067-1ea075dea227?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ae986dce-25c0-4950-9067-1ea075dea227?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "6" ], + "x-ms-client-request-id": [ "a70b5c95-7d3d-4bbc-9119-f3f8db903f91" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "a0f3982e-c8b7-42f0-b515-29e9695914ff" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-correlation-request-id": [ "237fb497-1761-4965-8dc8-8e62bd96c87d" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T005418Z:237fb497-1761-4965-8dc8-8e62bd96c87d" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 00:54:17 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "197" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ae986dce-25c0-4950-9067-1ea075dea227\",\"status\":\"Failed\",\"startTime\":\"2020-11-11T00:53:17.76Z\",\"error\":{\"code\":\"ServerNameAlreadyExists\",\"message\":\"Specified server name is already used.\"}}" + } + }, + "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-replica?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-replica?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "7" ], + "x-ms-client-request-id": [ "a70b5c95-7d3d-4bbc-9119-f3f8db903f91" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "02cb3f57-29b2-45e4-9860-8cbd51293534" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "8984ea8a-b0ed-4106-954c-73aa35e410e2" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T005418Z:8984ea8a-b0ed-4106-954c-73aa35e410e2" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 00:54:17 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-replica.mysql.database.azure.com\",\"sourceServerId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T00:26:58.607359+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"Replica\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-replica\",\"name\":\"mysql-test-100-replica\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + } + }, + "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview+5": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "8" ], + "x-ms-client-request-id": [ "2afd213d-e2c1-4597-b1f6-2639dfc09f68" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/66b548b4-7dff-473e-81d1-6a5690bafeb0?api-version=2020-07-01-preview" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/66b548b4-7dff-473e-81d1-6a5690bafeb0?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "66b548b4-7dff-473e-81d1-6a5690bafeb0" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "x-ms-correlation-request-id": [ "1c4ebff9-8442-4559-b8de-5e5ffa905f54" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T005418Z:1c4ebff9-8442-4559-b8de-5e5ffa905f54" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 00:54:17 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "84" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropServerManagementOperation\",\"startTime\":\"2020-11-11T00:54:18.447Z\"}" + } + }, + "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/66b548b4-7dff-473e-81d1-6a5690bafeb0?api-version=2020-07-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/66b548b4-7dff-473e-81d1-6a5690bafeb0?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "9" ], + "x-ms-client-request-id": [ "2afd213d-e2c1-4597-b1f6-2639dfc09f68" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "2a039c28-e8b9-48ab-9193-208355dfb642" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "8c18c365-82a8-47b7-b26e-2be5a4578d6b" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T005433Z:8c18c365-82a8-47b7-b26e-2be5a4578d6b" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 00:54:33 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"66b548b4-7dff-473e-81d1-6a5690bafeb0\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T00:54:18.447Z\"}" + } + }, + "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/66b548b4-7dff-473e-81d1-6a5690bafeb0?api-version=2020-07-01-preview+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/66b548b4-7dff-473e-81d1-6a5690bafeb0?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "10" ], + "x-ms-client-request-id": [ "2afd213d-e2c1-4597-b1f6-2639dfc09f68" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "11e45489-b3b8-43c8-95c9-5f24d8f73960" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "9f646797-1cc7-4815-8f00-686b8fdd533c" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T005448Z:9f646797-1cc7-4815-8f00-686b8fdd533c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 00:54:48 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"66b548b4-7dff-473e-81d1-6a5690bafeb0\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T00:54:18.447Z\"}" + } + }, + "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/66b548b4-7dff-473e-81d1-6a5690bafeb0?api-version=2020-07-01-preview+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/66b548b4-7dff-473e-81d1-6a5690bafeb0?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "11" ], + "x-ms-client-request-id": [ "2afd213d-e2c1-4597-b1f6-2639dfc09f68" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "3ade07c1-4552-4dcd-b7b7-95a4a201f991" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-correlation-request-id": [ "424a019b-3a0e-4288-a4e8-858a31361b34" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T005503Z:424a019b-3a0e-4288-a4e8-858a31361b34" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 00:55:03 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"66b548b4-7dff-473e-81d1-6a5690bafeb0\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T00:54:18.447Z\"}" + } + }, + "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/operationResults/66b548b4-7dff-473e-81d1-6a5690bafeb0?api-version=2020-07-01-preview+9": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/66b548b4-7dff-473e-81d1-6a5690bafeb0?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "12" ], + "x-ms-client-request-id": [ "2afd213d-e2c1-4597-b1f6-2639dfc09f68" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "23658dee-14c1-4886-9342-cc532e6002d7" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], + "x-ms-correlation-request-id": [ "af91b4fc-4218-4b1f-abc5-92ec879f573c" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T005503Z:af91b4fc-4218-4b1f-abc5-92ec879f573c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 00:55:03 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + } +} \ No newline at end of file diff --git a/src/MySql/test/Get-AzMySqlFlexibleServerReplica.Tests.ps1 b/src/MySql/test/Get-AzMySqlFlexibleServerReplica.Tests.ps1 new file mode 100644 index 000000000000..5d82c8807a90 --- /dev/null +++ b/src/MySql/test/Get-AzMySqlFlexibleServerReplica.Tests.ps1 @@ -0,0 +1,23 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzMySqlFlexibleServerReplica.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'Get-AzMySqlFlexibleServerReplica' { + It 'List' { + { + $replica = Get-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -ServerName $env.serverName | New-AzMySqlFlexibleServerReplica -Replica $env.replicaName -ResourceGroupName $env.resourceGroup + $replica.Count | Should -Be 1 + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySql/flexibleServers/$($env.serverName)" + Remove-AzMySqlFlexibleServer -InputObject $ID + } | Should -Not -Throw + } +} diff --git a/src/MySql/test/Get-AzMySqlReplica.Recording.json b/src/MySql/test/Get-AzMySqlReplica.Recording.json index b9780365f810..efb717b75290 100644 --- a/src/MySql/test/Get-AzMySqlReplica.Recording.json +++ b/src/MySql/test/Get-AzMySqlReplica.Recording.json @@ -1,12 +1,12 @@ { - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { - "x-ms-unique-id": [ "1" ], - "x-ms-client-request-id": [ "d7c019d8-57ee-4f6a-b2e1-37e77d8b8284" ], + "x-ms-unique-id": [ "9" ], + "x-ms-client-request-id": [ "94bc8d24-4d17-4b97-a681-16a993b1823f" ], "CommandName": [ "Get-AzMySqlServer" ], "FullCommandName": [ "Get-AzMySqlServer_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -17,980 +17,24 @@ } }, "Response": { - "StatusCode": 200, + "StatusCode": 404, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "8d68a95e-186c-4b7c-b641-ca5f3e575539" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], - "x-ms-correlation-request-id": [ "acd0d7ad-7027-4d41-a0d8-71de0490966d" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075002Z:acd0d7ad-7027-4d41-a0d8-71de0490966d" ], + "x-ms-failure-cause": [ "gateway" ], + "x-ms-request-id": [ "6e0e369d-ebea-49fc-9c55-b7a69bb56d7a" ], + "x-ms-correlation-request-id": [ "6e0e369d-ebea-49fc-9c55-b7a69bb56d7a" ], + "x-ms-routing-request-id": [ "WESTUS2:20201110T002710Z:6e0e369d-ebea-49fc-9c55-b7a69bb56d7a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:50:02 GMT" ] + "Date": [ "Tue, 10 Nov 2020 00:27:09 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "907" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" - } - }, - "Get-AzMySqlReplica+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+2": { - "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"createMode\": \"Replica\",\n \"sourceServerId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\"\n },\n \"location\": \"eastus\"\n}", - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "233" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01" ], - "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01" ], - "x-ms-request-id": [ "ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], - "x-ms-correlation-request-id": [ "3841a27a-3348-4760-bcb1-3629c304f6b6" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075008Z:3841a27a-3348-4760-bcb1-3629c304f6b6" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:50:07 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "88" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"CreateElasticServerContinuousCopy\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" - } - }, - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3" ], - "x-ms-client-request-id": [ "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "91cbaebd-68b5-43ca-9084-21d70637ff32" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], - "x-ms-correlation-request-id": [ "10cd950a-bf63-4c1b-9748-cc6690129bb5" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075038Z:10cd950a-bf63-4c1b-9748-cc6690129bb5" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:50:37 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" - } - }, - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+4": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4" ], - "x-ms-client-request-id": [ "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "3fe6909a-026f-4eb8-8437-3b42340c7965" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], - "x-ms-correlation-request-id": [ "1bc1ea1d-155e-42a7-bf30-abe6eebc3b7c" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075108Z:1bc1ea1d-155e-42a7-bf30-abe6eebc3b7c" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:51:08 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" - } - }, - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+5": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5" ], - "x-ms-client-request-id": [ "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "5539f967-2541-43e7-891a-2ef7be5dc7e6" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], - "x-ms-correlation-request-id": [ "310e1172-05d1-4967-b3e1-33f7de40be57" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075139Z:310e1172-05d1-4967-b3e1-33f7de40be57" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:51:38 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" - } - }, - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6" ], - "x-ms-client-request-id": [ "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "d74f0c8f-346e-4569-ba63-6acab598d3eb" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], - "x-ms-correlation-request-id": [ "c0bd05f2-efc6-4d8d-a11f-26a897795257" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075209Z:c0bd05f2-efc6-4d8d-a11f-26a897795257" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:52:08 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" - } - }, - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+7": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7" ], - "x-ms-client-request-id": [ "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "ede55f2c-d9d6-447d-8629-01f8d42cfacb" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11980" ], - "x-ms-correlation-request-id": [ "70fcb7dc-8502-46f2-9118-31710965e2fc" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075239Z:70fcb7dc-8502-46f2-9118-31710965e2fc" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:52:39 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" - } - }, - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+8": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8" ], - "x-ms-client-request-id": [ "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "42df4503-e9e3-453f-a70c-aa19107e071a" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11979" ], - "x-ms-correlation-request-id": [ "031a5b57-d3da-4c44-b91b-7ac482411acc" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075310Z:031a5b57-d3da-4c44-b91b-7ac482411acc" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:53:09 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" - } - }, - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+9": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9" ], - "x-ms-client-request-id": [ "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "744e310a-473b-444b-9cae-bd0ef6d828d3" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11978" ], - "x-ms-correlation-request-id": [ "e75d32b6-e610-4a41-8f4a-a1c2a5c3474a" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075340Z:e75d32b6-e610-4a41-8f4a-a1c2a5c3474a" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:53:40 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" - } - }, - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+10": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10" ], - "x-ms-client-request-id": [ "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "26440d29-924b-4909-a987-71961f8f4cce" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11977" ], - "x-ms-correlation-request-id": [ "6aa045ad-f30e-4680-a30f-2fb3dae287b4" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075411Z:6aa045ad-f30e-4680-a30f-2fb3dae287b4" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:54:10 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" - } - }, - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+11": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11" ], - "x-ms-client-request-id": [ "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "322ef832-edf7-412b-87ef-86a59ca27508" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11976" ], - "x-ms-correlation-request-id": [ "80ad5bd0-5334-4b91-8258-d46595c278ba" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075441Z:80ad5bd0-5334-4b91-8258-d46595c278ba" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:54:41 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" - } - }, - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+12": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" ], - "x-ms-client-request-id": [ "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "cfa534f1-2b57-4aff-9610-860b1b840d51" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11975" ], - "x-ms-correlation-request-id": [ "9b2ed281-59db-4b01-ad15-7183322c2e4f" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075513Z:9b2ed281-59db-4b01-ad15-7183322c2e4f" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:55:12 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" - } - }, - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+13": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13" ], - "x-ms-client-request-id": [ "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "46011b18-34b2-4771-9fed-4f26384483fb" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11974" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-correlation-request-id": [ "83aa3f7e-bb2e-4577-92e4-bbd9c9e2cd94" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075543Z:83aa3f7e-bb2e-4577-92e4-bbd9c9e2cd94" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:55:42 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" - } - }, - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+14": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14" ], - "x-ms-client-request-id": [ "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "b06a2cef-27ec-45d6-b526-ce6812fe6635" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11971" ], - "x-ms-correlation-request-id": [ "8824a0a2-c016-410e-be2b-d4e449d10c27" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075613Z:8824a0a2-c016-410e-be2b-d4e449d10c27" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:56:13 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" - } - }, - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+15": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], - "x-ms-client-request-id": [ "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "7455bac7-80fc-4f91-8c34-dc4cfd966b4a" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11968" ], - "x-ms-correlation-request-id": [ "d5caaf0a-0e01-4099-9881-452e23d24a53" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075644Z:d5caaf0a-0e01-4099-9881-452e23d24a53" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:56:43 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" - } - }, - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+16": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16" ], - "x-ms-client-request-id": [ "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "7cd7f861-ee5b-4db8-9be1-4d0caaf6b63a" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11965" ], - "x-ms-correlation-request-id": [ "9d1adc5c-160a-4068-a074-47168f049533" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075714Z:9d1adc5c-160a-4068-a074-47168f049533" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:57:14 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" - } - }, - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+17": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17" ], - "x-ms-client-request-id": [ "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "142a01b7-c15b-4100-8118-d9fef64c1b75" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11964" ], - "x-ms-correlation-request-id": [ "2b13a3fb-d0de-4ea4-978c-c6ec78c10354" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075745Z:2b13a3fb-d0de-4ea4-978c-c6ec78c10354" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:57:44 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" - } - }, - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+18": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18" ], - "x-ms-client-request-id": [ "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "3edba23c-d98a-483b-91c5-e6bcedbb6db0" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11962" ], - "x-ms-correlation-request-id": [ "04390cf3-b5b0-4d14-b520-b4f2ee415e58" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075815Z:04390cf3-b5b0-4d14-b520-b4f2ee415e58" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:58:15 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" - } - }, - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+19": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19" ], - "x-ms-client-request-id": [ "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "d7a590a1-45d9-4614-a2a2-e3ba7619676f" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11961" ], - "x-ms-correlation-request-id": [ "5ac5e3c5-8506-41a7-b174-0fa275962491" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075846Z:5ac5e3c5-8506-41a7-b174-0fa275962491" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:58:46 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" - } - }, - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+20": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20" ], - "x-ms-client-request-id": [ "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "d5e3df2e-e0e6-4402-b505-189d70e17cbe" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11959" ], - "x-ms-correlation-request-id": [ "d0aeef13-f804-4ed5-b954-9164f1cb2384" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075917Z:d0aeef13-f804-4ed5-b954-9164f1cb2384" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:59:17 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" - } - }, - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+21": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21" ], - "x-ms-client-request-id": [ "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "abc08585-0bd0-4c36-8780-3598f179caec" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11958" ], - "x-ms-correlation-request-id": [ "4b6cccf2-73bc-4221-8702-2b4f14f9ccca" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075917Z:4b6cccf2-73bc-4221-8702-2b4f14f9ccca" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:59:17 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "1063" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100-replica.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T08:01:19.783+00:00\",\"replicationRole\":\"Replica\",\"masterServerId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica\",\"name\":\"mysql-test-100-replica\",\"type\":\"Microsoft.DBforMySQL/servers\"}" - } - }, - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/replicas?api-version=2017-12-01+22": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/replicas?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "22" ], - "x-ms-client-request-id": [ "19304014-1a24-4d07-88ff-e6eb47016052" ], - "CommandName": [ "Get-AzMySqlReplica" ], - "FullCommandName": [ "Get-AzMySqlReplica_List" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "e6a76dfd-ce32-40b8-b52e-6efa4a6ab567" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11957" ], - "x-ms-correlation-request-id": [ "c31e5a09-082f-4be7-9dfe-d874a7f3067d" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075918Z:c31e5a09-082f-4be7-9dfe-d874a7f3067d" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:59:17 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "1075" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"value\":[{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100-replica.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T08:01:19.783+00:00\",\"replicationRole\":\"Replica\",\"masterServerId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica\",\"name\":\"mysql-test-100-replica\",\"type\":\"Microsoft.DBforMySQL/servers\"}]}" - } - }, - "Get-AzMySqlReplica+[NoContext]+List+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+23": { - "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "23" ], - "x-ms-client-request-id": [ "ab80dd07-81f1-4f41-a867-13f99570c196" ], - "CommandName": [ "Remove-AzMySqlServer" ], - "FullCommandName": [ "Remove-AzMySqlServer_DeleteViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/1febca3d-6c67-4885-96a8-3b17d2aac22e?api-version=2017-12-01" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/1febca3d-6c67-4885-96a8-3b17d2aac22e?api-version=2017-12-01" ], - "x-ms-request-id": [ "1febca3d-6c67-4885-96a8-3b17d2aac22e" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14997" ], - "x-ms-correlation-request-id": [ "5510987e-ce08-4eff-bb31-81e1a6f5b474" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075919Z:5510987e-ce08-4eff-bb31-81e1a6f5b474" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:59:18 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "72" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"DropElasticServer\",\"startTime\":\"2020-07-24T07:59:18.913Z\"}" - } - }, - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/1febca3d-6c67-4885-96a8-3b17d2aac22e?api-version=2017-12-01+24": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/1febca3d-6c67-4885-96a8-3b17d2aac22e?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "23", "24" ], - "x-ms-client-request-id": [ "ab80dd07-81f1-4f41-a867-13f99570c196", "ab80dd07-81f1-4f41-a867-13f99570c196" ], - "CommandName": [ "Remove-AzMySqlServer", "Remove-AzMySqlServer" ], - "FullCommandName": [ "Remove-AzMySqlServer_DeleteViaIdentity", "Remove-AzMySqlServer_DeleteViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "b29360c5-a79d-4a99-9347-b641e38e3263" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11956" ], - "x-ms-correlation-request-id": [ "757b45c3-b23b-4878-ac89-dc319de4e2ce" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075934Z:757b45c3-b23b-4878-ac89-dc319de4e2ce" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:59:34 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"1febca3d-6c67-4885-96a8-3b17d2aac22e\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:59:18.913Z\"}" - } - }, - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/1febca3d-6c67-4885-96a8-3b17d2aac22e?api-version=2017-12-01+25": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/1febca3d-6c67-4885-96a8-3b17d2aac22e?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "23", "24", "25" ], - "x-ms-client-request-id": [ "ab80dd07-81f1-4f41-a867-13f99570c196", "ab80dd07-81f1-4f41-a867-13f99570c196", "ab80dd07-81f1-4f41-a867-13f99570c196" ], - "CommandName": [ "Remove-AzMySqlServer", "Remove-AzMySqlServer", "Remove-AzMySqlServer" ], - "FullCommandName": [ "Remove-AzMySqlServer_DeleteViaIdentity", "Remove-AzMySqlServer_DeleteViaIdentity", "Remove-AzMySqlServer_DeleteViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "c2e028ae-b1ab-41eb-bc62-a3408a3a6d50" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11955" ], - "x-ms-correlation-request-id": [ "710519c8-b0c6-4f26-addd-34068693cc2b" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075934Z:710519c8-b0c6-4f26-addd-34068693cc2b" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:59:34 GMT" ] - }, - "ContentHeaders": { "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "224" ] }, - "Content": null + "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForMySQL/servers/mysql-test-100\u0027 under resource group \u0027MySqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" } } } \ No newline at end of file diff --git a/src/MySql/test/Get-AzMySqlServer.Recording.json b/src/MySql/test/Get-AzMySqlServer.Recording.json index 8642aadaeadb..a9a3da1b790a 100644 --- a/src/MySql/test/Get-AzMySqlServer.Recording.json +++ b/src/MySql/test/Get-AzMySqlServer.Recording.json @@ -1,12 +1,12 @@ { - "Get-AzMySqlServer+[NoContext]+List1+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/servers?api-version=2017-12-01+1": { + "Get-AzMySqlServer+[NoContext]+List1+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/servers?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/servers?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/servers?api-version=2017-12-01", "Content": null, "Headers": { - "x-ms-unique-id": [ "1" ], - "x-ms-client-request-id": [ "ee25ffb0-0dc9-424d-903b-29dd0933c0e8" ], + "x-ms-unique-id": [ "10" ], + "x-ms-client-request-id": [ "813eeb7b-0025-432a-a2dd-a7cf40ce0c46" ], "CommandName": [ "Get-AzMySqlServer" ], "FullCommandName": [ "Get-AzMySqlServer_List1" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -21,31 +21,31 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "e6902d56-a3fc-4a8f-8a59-b207048a7ea1" ], + "x-ms-request-id": [ "ea6055eb-27ca-4d07-a1d6-f5f316cd9950" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], - "x-ms-correlation-request-id": [ "492f9156-37ed-4ff8-81cc-719b07010315" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T060709Z:492f9156-37ed-4ff8-81cc-719b07010315" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-correlation-request-id": [ "0666b577-f6a9-4e0f-8850-7f5da3f8eed4" ], + "x-ms-routing-request-id": [ "WESTUS2:20201110T002710Z:0666b577-f6a9-4e0f-8850-7f5da3f8eed4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:07:08 GMT" ] + "Date": [ "Tue, 10 Nov 2020 00:27:10 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "8839" ], + "Content-Length": [ "901" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"sku\":{\"name\":\"B_Gen5_2\",\"tier\":\"Basic\",\"family\":\"Gen5\",\"capacity\":2},\"properties\":{\"administratorLogin\":\"lucas\",\"storageProfile\":{\"storageMB\":51200,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"azuremysql-dev.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-17T06:07:08.9960907+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"tags\":{},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/azureps-manual-test/providers/Microsoft.DBforMySQL/servers/azuremysql-dev\",\"name\":\"azuremysql-dev\",\"type\":\"Microsoft.DBforMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"dbadmin\",\"storageProfile\":{\"storageMB\":102400,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"xdmmysql.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-17T06:07:08.9960907+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"tags\":{},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/dixue/providers/Microsoft.DBforMySQL/servers/xdmmysql\",\"name\":\"xdmmysql\",\"type\":\"Microsoft.DBforMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"adminuser\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test01.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T02:00:15.2+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.DBforMySQL/servers/mysql-test01\",\"name\":\"mysql-test01\",\"type\":\"Microsoft.DBforMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"adminuser\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test05.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T02:26:40.383+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.DBforMySQL/servers/mysql-test05\",\"name\":\"mysql-test05\",\"type\":\"Microsoft.DBforMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"adminuser\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test03.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T02:30:31.007+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.DBforMySQL/servers/mysql-test03\",\"name\":\"mysql-test03\",\"type\":\"Microsoft.DBforMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"adminuser\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test04.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T02:43:20.62+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.DBforMySQL/servers/mysql-test04\",\"name\":\"mysql-test04\",\"type\":\"Microsoft.DBforMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"adminuser\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test06.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T02:58:37.123+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.DBforMySQL/servers/mysql-test06\",\"name\":\"mysql-test06\",\"type\":\"Microsoft.DBforMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"adminuser\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test07.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:03:29.807+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.DBforMySQL/servers/mysql-test07\",\"name\":\"mysql-test07\",\"type\":\"Microsoft.DBforMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"adminuser\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-888.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T04:06:02.24+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.DBforMySQL/servers/mysql-test-888\",\"name\":\"mysql-test-888\",\"type\":\"Microsoft.DBforMySQL/servers\"}]}" + "Content": "{\"value\":[{\"sku\":{\"name\":\"GP_Gen5_2\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":2},\"properties\":{\"administratorLogin\":\"aboardJay9\",\"storageProfile\":{\"storageMB\":51200,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"server192553055.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-11-05T18:25:23.083+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/daeun-cli-test/providers/Microsoft.DBforMySQL/servers/server192553055\",\"name\":\"server192553055\",\"type\":\"Microsoft.DBforMySQL/servers\"}]}" } }, - "Get-AzMySqlServer+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { + "Get-AzMySqlServer+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { - "x-ms-unique-id": [ "2" ], - "x-ms-client-request-id": [ "2c10b66b-029b-49e3-853c-1622687cdb5a" ], + "x-ms-unique-id": [ "11" ], + "x-ms-client-request-id": [ "edc97f30-350e-4343-80f4-64da0ed504c5" ], "CommandName": [ "Get-AzMySqlServer" ], "FullCommandName": [ "Get-AzMySqlServer_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -56,35 +56,34 @@ } }, "Response": { - "StatusCode": 200, + "StatusCode": 404, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "3f2e74b9-c164-4cdd-bd6a-3c396011246b" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], - "x-ms-correlation-request-id": [ "0bc2c423-7885-49c6-8001-122ff9c8b628" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T060709Z:0bc2c423-7885-49c6-8001-122ff9c8b628" ], + "x-ms-failure-cause": [ "gateway" ], + "x-ms-request-id": [ "38f8046e-1b35-4ab9-b4bd-b2023b0f6d95" ], + "x-ms-correlation-request-id": [ "38f8046e-1b35-4ab9-b4bd-b2023b0f6d95" ], + "x-ms-routing-request-id": [ "WESTUS2:20201110T002711Z:38f8046e-1b35-4ab9-b4bd-b2023b0f6d95" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:07:09 GMT" ] + "Date": [ "Tue, 10 Nov 2020 00:27:10 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "905" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] + "Expires": [ "-1" ], + "Content-Length": [ "224" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForMySQL/servers/mysql-test-100\u0027 under resource group \u0027MySqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" } }, - "Get-AzMySqlServer+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers?api-version=2017-12-01+1": { + "Get-AzMySqlServer+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers?api-version=2017-12-01", "Content": null, "Headers": { - "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "4ac160bb-2e82-4016-b812-9fa9643c0740" ], + "x-ms-unique-id": [ "12" ], + "x-ms-client-request-id": [ "3a36b9fb-d3e3-42e0-bc66-dd6d88881cfb" ], "CommandName": [ "Get-AzMySqlServer" ], "FullCommandName": [ "Get-AzMySqlServer_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -99,60 +98,20 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "8abf4f03-06fc-4bfe-8e28-bad9e8784379" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], - "x-ms-correlation-request-id": [ "0bf85407-84c2-43d2-bd4c-377c7e0f745d" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T060710Z:0bf85407-84c2-43d2-bd4c-377c7e0f745d" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:07:09 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "893" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"value\":[{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}]}" - } - }, - "Get-AzMySqlServer+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "4e03568e-9355-4a2e-83a9-08e678364b12" ], - "CommandName": [ "Get-AzMySqlServer" ], - "FullCommandName": [ "Get-AzMySqlServer_GetViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "f4296d38-41e4-43c9-9c98-32a2bd7bd1dc" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], - "x-ms-correlation-request-id": [ "b1b2dc0b-a1b9-4b2d-80d6-175675cd3d1c" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T060710Z:b1b2dc0b-a1b9-4b2d-80d6-175675cd3d1c" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-request-id": [ "b4c11e9b-6b43-4e1c-802a-2bfb6fa043df" ], + "x-ms-correlation-request-id": [ "b4c11e9b-6b43-4e1c-802a-2bfb6fa043df" ], + "x-ms-routing-request-id": [ "WESTUS2:20201110T002711Z:b4c11e9b-6b43-4e1c-802a-2bfb6fa043df" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:07:10 GMT" ] + "Date": [ "Tue, 10 Nov 2020 00:27:10 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "905" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] + "Expires": [ "-1" ], + "Content-Length": [ "12" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + "Content": "{\"value\":[]}" } } } \ No newline at end of file diff --git a/src/MySql/test/Get-AzMySqlVirtualNetworkRule.Recording.json b/src/MySql/test/Get-AzMySqlVirtualNetworkRule.Recording.json index 908bc02d7f58..e40a2e1cf871 100644 --- a/src/MySql/test/Get-AzMySqlVirtualNetworkRule.Recording.json +++ b/src/MySql/test/Get-AzMySqlVirtualNetworkRule.Recording.json @@ -1,827 +1,101 @@ { - "Get-AzMySqlVirtualNetworkRule+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { + "Get-AzMySqlVirtualNetworkRule+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "209" ] + "Content-Length": [ "213" ] } }, "Response": { - "StatusCode": 202, + "StatusCode": 404, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/569cb4f0-1275-4372-9370-179d5ddc5b42?api-version=2017-12-01" ], - "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/569cb4f0-1275-4372-9370-179d5ddc5b42?api-version=2017-12-01" ], - "x-ms-request-id": [ "569cb4f0-1275-4372-9370-179d5ddc5b42" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-correlation-request-id": [ "69cf67ed-4d24-49ab-82e1-0e53cf547756" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T060744Z:69cf67ed-4d24-49ab-82e1-0e53cf547756" ], + "x-ms-failure-cause": [ "gateway" ], + "x-ms-request-id": [ "4bbf4acf-a00d-432a-b2a8-adabf8a6d191" ], + "x-ms-correlation-request-id": [ "4bbf4acf-a00d-432a-b2a8-adabf8a6d191" ], + "x-ms-routing-request-id": [ "WESTUS2:20201110T002711Z:4bbf4acf-a00d-432a-b2a8-adabf8a6d191" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:07:44 GMT" ] + "Date": [ "Tue, 10 Nov 2020 00:27:11 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "90" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T06:07:42.957Z\"}" - } - }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/569cb4f0-1275-4372-9370-179d5ddc5b42?api-version=2017-12-01+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/569cb4f0-1275-4372-9370-179d5ddc5b42?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "1", "2" ], - "x-ms-client-request-id": [ "36791a49-25f6-475f-927b-94e63dba0960", "36791a49-25f6-475f-927b-94e63dba0960" ], - "CommandName": [ "New-AzMySqlVirtualNetworkRule", "New-AzMySqlVirtualNetworkRule" ], - "FullCommandName": [ "New-AzMySqlVirtualNetworkRule_CreateExpanded", "New-AzMySqlVirtualNetworkRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "90fa5c76-62c9-41b5-88f4-959164107aa3" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], - "x-ms-correlation-request-id": [ "9f78f556-f85c-497f-b035-f9def835eb07" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T060815Z:9f78f556-f85c-497f-b035-f9def835eb07" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:08:15 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"569cb4f0-1275-4372-9370-179d5ddc5b42\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:07:42.957Z\"}" - } - }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "1", "2", "3" ], - "x-ms-client-request-id": [ "36791a49-25f6-475f-927b-94e63dba0960", "36791a49-25f6-475f-927b-94e63dba0960", "36791a49-25f6-475f-927b-94e63dba0960" ], - "CommandName": [ "New-AzMySqlVirtualNetworkRule", "New-AzMySqlVirtualNetworkRule", "New-AzMySqlVirtualNetworkRule" ], - "FullCommandName": [ "New-AzMySqlVirtualNetworkRule_CreateExpanded", "New-AzMySqlVirtualNetworkRule_CreateExpanded", "New-AzMySqlVirtualNetworkRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "ff8290a7-50f2-4ef6-bf36-e41e100cd361" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], - "x-ms-correlation-request-id": [ "b58ffb9f-3211-4346-9110-5e9155fff786" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T060816Z:b58ffb9f-3211-4346-9110-5e9155fff786" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:08:15 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "497" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBforMySQL/servers/virtualNetworkRules\"}" - } - }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules?api-version=2017-12-01+4": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "609eb4be-3231-4519-96f3-e83a87801dc2" ], - "CommandName": [ "Get-AzMySqlVirtualNetworkRule" ], - "FullCommandName": [ "Get-AzMySqlVirtualNetworkRule_List" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "14b24d98-00f3-49b8-9a56-30e74727eab2" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], - "x-ms-correlation-request-id": [ "00958179-cdc1-4d57-a37e-84145ce7e9ac" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T060816Z:00958179-cdc1-4d57-a37e-84145ce7e9ac" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:08:16 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "509" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"value\":[{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBforMySQL/servers/virtualNetworkRules\"}]}" - } - }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+List+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+5": { - "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "5" ], - "x-ms-client-request-id": [ "e96600ef-c170-438c-a71d-3916f0e2411f" ], - "CommandName": [ "Remove-AzMySqlVirtualNetworkRule" ], - "FullCommandName": [ "Remove-AzMySqlVirtualNetworkRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/8d80b6fc-e5e2-4a05-8a3f-f1dcaa707318?api-version=2017-12-01" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/8d80b6fc-e5e2-4a05-8a3f-f1dcaa707318?api-version=2017-12-01" ], - "x-ms-request-id": [ "8d80b6fc-e5e2-4a05-8a3f-f1dcaa707318" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], - "x-ms-correlation-request-id": [ "f82588a4-1c36-47b5-8c7c-ea15f894ba77" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T060817Z:f82588a4-1c36-47b5-8c7c-ea15f894ba77" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:08:17 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "87" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"DropElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T06:08:16.77Z\"}" - } - }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/8d80b6fc-e5e2-4a05-8a3f-f1dcaa707318?api-version=2017-12-01+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/8d80b6fc-e5e2-4a05-8a3f-f1dcaa707318?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "5", "6" ], - "x-ms-client-request-id": [ "e96600ef-c170-438c-a71d-3916f0e2411f", "e96600ef-c170-438c-a71d-3916f0e2411f" ], - "CommandName": [ "Remove-AzMySqlVirtualNetworkRule", "Remove-AzMySqlVirtualNetworkRule" ], - "FullCommandName": [ "Remove-AzMySqlVirtualNetworkRule_Delete", "Remove-AzMySqlVirtualNetworkRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "915da883-4c23-46eb-a9c4-2d2364a183f7" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], - "x-ms-correlation-request-id": [ "42090764-0c66-4b15-bb2b-def22731bad4" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T060833Z:42090764-0c66-4b15-bb2b-def22731bad4" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:08:32 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "106" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"8d80b6fc-e5e2-4a05-8a3f-f1dcaa707318\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:08:16.77Z\"}" - } - }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/8d80b6fc-e5e2-4a05-8a3f-f1dcaa707318?api-version=2017-12-01+7": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/8d80b6fc-e5e2-4a05-8a3f-f1dcaa707318?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "5", "6", "7" ], - "x-ms-client-request-id": [ "e96600ef-c170-438c-a71d-3916f0e2411f", "e96600ef-c170-438c-a71d-3916f0e2411f", "e96600ef-c170-438c-a71d-3916f0e2411f" ], - "CommandName": [ "Remove-AzMySqlVirtualNetworkRule", "Remove-AzMySqlVirtualNetworkRule", "Remove-AzMySqlVirtualNetworkRule" ], - "FullCommandName": [ "Remove-AzMySqlVirtualNetworkRule_Delete", "Remove-AzMySqlVirtualNetworkRule_Delete", "Remove-AzMySqlVirtualNetworkRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "ad0abb40-61ec-4073-83b7-e318f5a646c1" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], - "x-ms-correlation-request-id": [ "2d05db2a-9162-4f6c-ab3b-caffafe2b333" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T060833Z:2d05db2a-9162-4f6c-ab3b-caffafe2b333" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:08:33 GMT" ] - }, - "ContentHeaders": { "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "155" ] }, - "Content": null + "Content": "{\"error\":{\"code\":\"ParentResourceNotFound\",\"message\":\"Can not perform requested operation on nested resource. Parent resource \u0027mysql-test-100\u0027 not found.\"}}" } }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+Get+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { + "Get-AzMySqlVirtualNetworkRule+[NoContext]+Get+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "209" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/eca86a26-160c-4b90-9c07-b010bad8e44b?api-version=2017-12-01" ], - "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/eca86a26-160c-4b90-9c07-b010bad8e44b?api-version=2017-12-01" ], - "x-ms-request-id": [ "eca86a26-160c-4b90-9c07-b010bad8e44b" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], - "x-ms-correlation-request-id": [ "5683a03a-b1e3-41b8-9d57-a6a66aa02afe" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T060835Z:5683a03a-b1e3-41b8-9d57-a6a66aa02afe" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:08:34 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "90" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T06:08:34.003Z\"}" - } - }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/eca86a26-160c-4b90-9c07-b010bad8e44b?api-version=2017-12-01+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/eca86a26-160c-4b90-9c07-b010bad8e44b?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "8", "9" ], - "x-ms-client-request-id": [ "65a1390c-27bd-404f-849c-4f3a6a793261", "65a1390c-27bd-404f-849c-4f3a6a793261" ], - "CommandName": [ "New-AzMySqlVirtualNetworkRule", "New-AzMySqlVirtualNetworkRule" ], - "FullCommandName": [ "New-AzMySqlVirtualNetworkRule_CreateExpanded", "New-AzMySqlVirtualNetworkRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "73fc25d5-6799-4433-9f0f-3c89d8cfebfc" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], - "x-ms-correlation-request-id": [ "3642ed5c-8246-46db-8bfe-6d294396ebb5" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T060905Z:3642ed5c-8246-46db-8bfe-6d294396ebb5" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:09:04 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"eca86a26-160c-4b90-9c07-b010bad8e44b\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:08:34.003Z\"}" - } - }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "8", "9", "10" ], - "x-ms-client-request-id": [ "65a1390c-27bd-404f-849c-4f3a6a793261", "65a1390c-27bd-404f-849c-4f3a6a793261", "65a1390c-27bd-404f-849c-4f3a6a793261" ], - "CommandName": [ "New-AzMySqlVirtualNetworkRule", "New-AzMySqlVirtualNetworkRule", "New-AzMySqlVirtualNetworkRule" ], - "FullCommandName": [ "New-AzMySqlVirtualNetworkRule_CreateExpanded", "New-AzMySqlVirtualNetworkRule_CreateExpanded", "New-AzMySqlVirtualNetworkRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "5c91f46f-5199-452f-b1f3-e743efe69e8b" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], - "x-ms-correlation-request-id": [ "3f499083-7bf5-4df9-b0fd-91a517e6d810" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T060905Z:3f499083-7bf5-4df9-b0fd-91a517e6d810" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:09:05 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "497" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBforMySQL/servers/virtualNetworkRules\"}" - } - }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+4": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "11" ], - "x-ms-client-request-id": [ "bc1f0067-4c48-4e40-8efc-5af0acec2044" ], - "CommandName": [ "Get-AzMySqlVirtualNetworkRule" ], - "FullCommandName": [ "Get-AzMySqlVirtualNetworkRule_Get" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { + "Content-Length": [ "213" ] } }, "Response": { - "StatusCode": 200, + "StatusCode": 404, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "6454db72-db55-4c35-a879-16bc891c2108" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], - "x-ms-correlation-request-id": [ "f16a6bba-c1bb-4ce2-ab92-542d89b127fc" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T060906Z:f16a6bba-c1bb-4ce2-ab92-542d89b127fc" ], + "x-ms-failure-cause": [ "gateway" ], + "x-ms-request-id": [ "22bef4a1-6113-486a-8432-91ac7e7d08ed" ], + "x-ms-correlation-request-id": [ "22bef4a1-6113-486a-8432-91ac7e7d08ed" ], + "x-ms-routing-request-id": [ "WESTUS2:20201110T002711Z:22bef4a1-6113-486a-8432-91ac7e7d08ed" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:09:05 GMT" ] + "Date": [ "Tue, 10 Nov 2020 00:27:11 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "497" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBforMySQL/servers/virtualNetworkRules\"}" - } - }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+Get+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+5": { - "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "12" ], - "x-ms-client-request-id": [ "30a22c74-7147-4224-bddc-8a4a158fe8f8" ], - "CommandName": [ "Remove-AzMySqlVirtualNetworkRule" ], - "FullCommandName": [ "Remove-AzMySqlVirtualNetworkRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/909e92f8-2e4b-4cca-a590-1a984d1275d8?api-version=2017-12-01" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/909e92f8-2e4b-4cca-a590-1a984d1275d8?api-version=2017-12-01" ], - "x-ms-request-id": [ "909e92f8-2e4b-4cca-a590-1a984d1275d8" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14998" ], - "x-ms-correlation-request-id": [ "1b63e516-dac0-4a14-a718-a3eb22383b08" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T060907Z:1b63e516-dac0-4a14-a718-a3eb22383b08" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:09:07 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "87" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"DropElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T06:09:06.55Z\"}" - } - }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/909e92f8-2e4b-4cca-a590-1a984d1275d8?api-version=2017-12-01+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/909e92f8-2e4b-4cca-a590-1a984d1275d8?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "12", "13" ], - "x-ms-client-request-id": [ "30a22c74-7147-4224-bddc-8a4a158fe8f8", "30a22c74-7147-4224-bddc-8a4a158fe8f8" ], - "CommandName": [ "Remove-AzMySqlVirtualNetworkRule", "Remove-AzMySqlVirtualNetworkRule" ], - "FullCommandName": [ "Remove-AzMySqlVirtualNetworkRule_Delete", "Remove-AzMySqlVirtualNetworkRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "651d20d9-5e4d-45ce-b5bb-0252c2bfc8b4" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], - "x-ms-correlation-request-id": [ "cb07340b-98f5-4f55-b957-573967d528f4" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T060923Z:cb07340b-98f5-4f55-b957-573967d528f4" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:09:22 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "106" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"909e92f8-2e4b-4cca-a590-1a984d1275d8\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:09:06.55Z\"}" - } - }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/909e92f8-2e4b-4cca-a590-1a984d1275d8?api-version=2017-12-01+7": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/909e92f8-2e4b-4cca-a590-1a984d1275d8?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "12", "13", "14" ], - "x-ms-client-request-id": [ "30a22c74-7147-4224-bddc-8a4a158fe8f8", "30a22c74-7147-4224-bddc-8a4a158fe8f8", "30a22c74-7147-4224-bddc-8a4a158fe8f8" ], - "CommandName": [ "Remove-AzMySqlVirtualNetworkRule", "Remove-AzMySqlVirtualNetworkRule", "Remove-AzMySqlVirtualNetworkRule" ], - "FullCommandName": [ "Remove-AzMySqlVirtualNetworkRule_Delete", "Remove-AzMySqlVirtualNetworkRule_Delete", "Remove-AzMySqlVirtualNetworkRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "e766fdd5-3e49-4f9f-a561-e8cff9391fe4" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], - "x-ms-correlation-request-id": [ "2d4bcacb-efe2-4c72-9093-6f6192ccc4bc" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T060923Z:2d4bcacb-efe2-4c72-9093-6f6192ccc4bc" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:09:22 GMT" ] - }, - "ContentHeaders": { "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "155" ] }, - "Content": null + "Content": "{\"error\":{\"code\":\"ParentResourceNotFound\",\"message\":\"Can not perform requested operation on nested resource. Parent resource \u0027mysql-test-100\u0027 not found.\"}}" } }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { + "Get-AzMySqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "209" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/c7a1a2cb-254e-4524-957d-a0325f03d984?api-version=2017-12-01" ], - "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c7a1a2cb-254e-4524-957d-a0325f03d984?api-version=2017-12-01" ], - "x-ms-request-id": [ "c7a1a2cb-254e-4524-957d-a0325f03d984" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], - "x-ms-correlation-request-id": [ "c0a054e5-213d-45d2-955b-40aa5c90973e" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T060925Z:c0a054e5-213d-45d2-955b-40aa5c90973e" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:09:24 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "90" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T06:09:23.787Z\"}" - } - }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c7a1a2cb-254e-4524-957d-a0325f03d984?api-version=2017-12-01+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c7a1a2cb-254e-4524-957d-a0325f03d984?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "15", "16" ], - "x-ms-client-request-id": [ "e1114cdf-01b4-49f4-adce-175e77e4895c", "e1114cdf-01b4-49f4-adce-175e77e4895c" ], - "CommandName": [ "New-AzMySqlVirtualNetworkRule", "New-AzMySqlVirtualNetworkRule" ], - "FullCommandName": [ "New-AzMySqlVirtualNetworkRule_CreateExpanded", "New-AzMySqlVirtualNetworkRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "dad24963-cb0b-48b5-b2d3-42bd5f75823e" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], - "x-ms-correlation-request-id": [ "a99ce529-8cc4-42c7-b29d-910eb4338f73" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T060955Z:a99ce529-8cc4-42c7-b29d-910eb4338f73" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:09:55 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"c7a1a2cb-254e-4524-957d-a0325f03d984\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:09:23.787Z\"}" - } - }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "15", "16", "17" ], - "x-ms-client-request-id": [ "e1114cdf-01b4-49f4-adce-175e77e4895c", "e1114cdf-01b4-49f4-adce-175e77e4895c", "e1114cdf-01b4-49f4-adce-175e77e4895c" ], - "CommandName": [ "New-AzMySqlVirtualNetworkRule", "New-AzMySqlVirtualNetworkRule", "New-AzMySqlVirtualNetworkRule" ], - "FullCommandName": [ "New-AzMySqlVirtualNetworkRule_CreateExpanded", "New-AzMySqlVirtualNetworkRule_CreateExpanded", "New-AzMySqlVirtualNetworkRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "abb52a54-baee-4bd7-8b61-812b07b7057a" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], - "x-ms-correlation-request-id": [ "0d6952c5-7a25-46f5-af1c-9b91aa66bd70" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T060955Z:0d6952c5-7a25-46f5-af1c-9b91aa66bd70" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:09:55 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "497" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBforMySQL/servers/virtualNetworkRules\"}" - } - }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+4": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "18" ], - "x-ms-client-request-id": [ "0f8a37d8-13df-4d13-b1d7-567bd1f59ce3" ], - "CommandName": [ "Get-AzMySqlVirtualNetworkRule" ], - "FullCommandName": [ "Get-AzMySqlVirtualNetworkRule_GetViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "752e7aff-8eea-4e7f-9e44-134298a44906" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], - "x-ms-correlation-request-id": [ "a00d26c4-a951-483a-b605-013b69a331cc" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T060956Z:a00d26c4-a951-483a-b605-013b69a331cc" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:09:56 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "497" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBforMySQL/servers/virtualNetworkRules\"}" - } - }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+5": { - "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "19" ], - "x-ms-client-request-id": [ "b3b4f6d1-0169-4c58-aa6d-434f8b8e2988" ], - "CommandName": [ "Remove-AzMySqlVirtualNetworkRule" ], - "FullCommandName": [ "Remove-AzMySqlVirtualNetworkRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/c39984c8-51b1-4bdb-b580-6d6fceab47f1?api-version=2017-12-01" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c39984c8-51b1-4bdb-b580-6d6fceab47f1?api-version=2017-12-01" ], - "x-ms-request-id": [ "c39984c8-51b1-4bdb-b580-6d6fceab47f1" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14997" ], - "x-ms-correlation-request-id": [ "dd11cfd7-8d7e-476a-95a1-ae9d299920f9" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T060957Z:dd11cfd7-8d7e-476a-95a1-ae9d299920f9" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:09:57 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "87" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"DropElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T06:09:56.49Z\"}" - } - }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c39984c8-51b1-4bdb-b580-6d6fceab47f1?api-version=2017-12-01+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c39984c8-51b1-4bdb-b580-6d6fceab47f1?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "19", "20" ], - "x-ms-client-request-id": [ "b3b4f6d1-0169-4c58-aa6d-434f8b8e2988", "b3b4f6d1-0169-4c58-aa6d-434f8b8e2988" ], - "CommandName": [ "Remove-AzMySqlVirtualNetworkRule", "Remove-AzMySqlVirtualNetworkRule" ], - "FullCommandName": [ "Remove-AzMySqlVirtualNetworkRule_Delete", "Remove-AzMySqlVirtualNetworkRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { + "Content-Length": [ "213" ] } }, "Response": { - "StatusCode": 200, + "StatusCode": 404, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "28b7a2de-ee1b-40a6-a088-0744c46a309f" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], - "x-ms-correlation-request-id": [ "7aed32df-ada8-4b48-a142-f775f5eeb4b2" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T061013Z:7aed32df-ada8-4b48-a142-f775f5eeb4b2" ], + "x-ms-failure-cause": [ "gateway" ], + "x-ms-request-id": [ "165ec139-0e56-4afd-ba55-868bb7272ca9" ], + "x-ms-correlation-request-id": [ "165ec139-0e56-4afd-ba55-868bb7272ca9" ], + "x-ms-routing-request-id": [ "WESTUS2:20201110T002712Z:165ec139-0e56-4afd-ba55-868bb7272ca9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:10:12 GMT" ] + "Date": [ "Tue, 10 Nov 2020 00:27:11 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "106" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"c39984c8-51b1-4bdb-b580-6d6fceab47f1\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:09:56.49Z\"}" - } - }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/c39984c8-51b1-4bdb-b580-6d6fceab47f1?api-version=2017-12-01+7": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/c39984c8-51b1-4bdb-b580-6d6fceab47f1?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "19", "20", "21" ], - "x-ms-client-request-id": [ "b3b4f6d1-0169-4c58-aa6d-434f8b8e2988", "b3b4f6d1-0169-4c58-aa6d-434f8b8e2988", "b3b4f6d1-0169-4c58-aa6d-434f8b8e2988" ], - "CommandName": [ "Remove-AzMySqlVirtualNetworkRule", "Remove-AzMySqlVirtualNetworkRule", "Remove-AzMySqlVirtualNetworkRule" ], - "FullCommandName": [ "Remove-AzMySqlVirtualNetworkRule_Delete", "Remove-AzMySqlVirtualNetworkRule_Delete", "Remove-AzMySqlVirtualNetworkRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "7dd4b518-cde2-40ef-bd4e-9d397167b44d" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], - "x-ms-correlation-request-id": [ "a2276d07-514d-4dac-b42b-9eb1cbe8b4f9" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T061013Z:a2276d07-514d-4dac-b42b-9eb1cbe8b4f9" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:10:13 GMT" ] - }, - "ContentHeaders": { "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "155" ] }, - "Content": null + "Content": "{\"error\":{\"code\":\"ParentResourceNotFound\",\"message\":\"Can not perform requested operation on nested resource. Parent resource \u0027mysql-test-100\u0027 not found.\"}}" } } } \ No newline at end of file diff --git a/src/MySql/test/New-AzMySqlFirewallRule.Recording.json b/src/MySql/test/New-AzMySqlFirewallRule.Recording.json index 21c62f6a1a74..b56788333228 100644 --- a/src/MySql/test/New-AzMySqlFirewallRule.Recording.json +++ b/src/MySql/test/New-AzMySqlFirewallRule.Recording.json @@ -1,9 +1,9 @@ { - "New-AzMySqlFirewallRule+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { + "New-AzMySqlFirewallRule+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"endIpAddress\": \"0.0.0.1\",\r\n \"startIpAddress\": \"0.0.0.0\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { @@ -12,234 +12,31 @@ } }, "Response": { - "StatusCode": 202, + "StatusCode": 404, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/7905d7ea-2033-455a-91a4-7780d0e6c19b?api-version=2017-12-01" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/7905d7ea-2033-455a-91a4-7780d0e6c19b?api-version=2017-12-01" ], - "x-ms-request-id": [ "7905d7ea-2033-455a-91a4-7780d0e6c19b" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1191" ], - "x-ms-correlation-request-id": [ "2d4d9a71-7a4a-488a-9c69-8326ca19f0e8" ], - "x-ms-routing-request-id": [ "KOREASOUTH:20200811T132707Z:2d4d9a71-7a4a-488a-9c69-8326ca19f0e8" ], + "x-ms-failure-cause": [ "gateway" ], + "x-ms-request-id": [ "5c32ff69-6062-445d-aa5c-1f7732b627b0" ], + "x-ms-correlation-request-id": [ "5c32ff69-6062-445d-aa5c-1f7732b627b0" ], + "x-ms-routing-request-id": [ "WESTUS2:20201110T002713Z:5c32ff69-6062-445d-aa5c-1f7732b627b0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 11 Aug 2020 13:27:06 GMT" ] + "Date": [ "Tue, 10 Nov 2020 00:27:12 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "87" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-08-11T13:27:05.877Z\"}" - } - }, - "New-AzMySqlFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/7905d7ea-2033-455a-91a4-7780d0e6c19b?api-version=2017-12-01+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/7905d7ea-2033-455a-91a4-7780d0e6c19b?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "94", "95" ], - "x-ms-client-request-id": [ "ed523453-ec6c-4d57-bc5e-9c9bac7bed82", "ed523453-ec6c-4d57-bc5e-9c9bac7bed82" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule" ], - "FullCommandName": [ "New-AzMySqlFirewallRule_CreateExpanded", "New-AzMySqlFirewallRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "6d75bccd-26bd-4c6c-b6ac-79c107734909" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11926" ], - "x-ms-correlation-request-id": [ "0d169ffa-8b29-43ec-87b5-41359dcb704e" ], - "x-ms-routing-request-id": [ "KOREASOUTH:20200811T132722Z:0d169ffa-8b29-43ec-87b5-41359dcb704e" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 11 Aug 2020 13:27:21 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"7905d7ea-2033-455a-91a4-7780d0e6c19b\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-11T13:27:05.877Z\"}" - } - }, - "New-AzMySqlFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "94", "95", "96" ], - "x-ms-client-request-id": [ "ed523453-ec6c-4d57-bc5e-9c9bac7bed82", "ed523453-ec6c-4d57-bc5e-9c9bac7bed82", "ed523453-ec6c-4d57-bc5e-9c9bac7bed82" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule" ], - "FullCommandName": [ "New-AzMySqlFirewallRule_CreateExpanded", "New-AzMySqlFirewallRule_CreateExpanded", "New-AzMySqlFirewallRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "6cbe6c03-5c6a-4d70-b794-88174dfaf91f" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11925" ], - "x-ms-correlation-request-id": [ "b211a423-9105-4575-92ce-ea7fe361e45e" ], - "x-ms-routing-request-id": [ "KOREASOUTH:20200811T132723Z:b211a423-9105-4575-92ce-ea7fe361e45e" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 11 Aug 2020 13:27:22 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "305" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/servers/firewallRules\"}" - } - }, - "New-AzMySqlFirewallRule+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+4": { - "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "97" ], - "x-ms-client-request-id": [ "bd4ff2a5-58e9-4141-b121-49bb64accd9f" ], - "CommandName": [ "Remove-AzMySqlFirewallRule" ], - "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/afcfce15-c285-405b-9fa2-5b12013a9137?api-version=2017-12-01" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/afcfce15-c285-405b-9fa2-5b12013a9137?api-version=2017-12-01" ], - "x-ms-request-id": [ "afcfce15-c285-405b-9fa2-5b12013a9137" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14992" ], - "x-ms-correlation-request-id": [ "1c022c84-c87e-4822-8a70-53e1cf83bd56" ], - "x-ms-routing-request-id": [ "KOREASOUTH:20200811T132725Z:1c022c84-c87e-4822-8a70-53e1cf83bd56" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 11 Aug 2020 13:27:24 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "83" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-08-11T13:27:23.83Z\"}" - } - }, - "New-AzMySqlFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/afcfce15-c285-405b-9fa2-5b12013a9137?api-version=2017-12-01+5": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/afcfce15-c285-405b-9fa2-5b12013a9137?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "97", "98" ], - "x-ms-client-request-id": [ "bd4ff2a5-58e9-4141-b121-49bb64accd9f", "bd4ff2a5-58e9-4141-b121-49bb64accd9f" ], - "CommandName": [ "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule" ], - "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "7d3d4519-ee7f-4fc4-ab45-ff864c6b40fa" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11924" ], - "x-ms-correlation-request-id": [ "f0745f4e-95ec-4cc9-b04e-5c8599f4a118" ], - "x-ms-routing-request-id": [ "KOREASOUTH:20200811T132741Z:f0745f4e-95ec-4cc9-b04e-5c8599f4a118" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 11 Aug 2020 13:27:40 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "106" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"afcfce15-c285-405b-9fa2-5b12013a9137\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-11T13:27:23.83Z\"}" - } - }, - "New-AzMySqlFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/afcfce15-c285-405b-9fa2-5b12013a9137?api-version=2017-12-01+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/afcfce15-c285-405b-9fa2-5b12013a9137?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "97", "98", "99" ], - "x-ms-client-request-id": [ "bd4ff2a5-58e9-4141-b121-49bb64accd9f", "bd4ff2a5-58e9-4141-b121-49bb64accd9f", "bd4ff2a5-58e9-4141-b121-49bb64accd9f" ], - "CommandName": [ "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule" ], - "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "4436a735-7bf6-46fb-b18f-b229618069fb" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11923" ], - "x-ms-correlation-request-id": [ "e684b655-319a-4bb1-8878-a00599bd0cd6" ], - "x-ms-routing-request-id": [ "KOREASOUTH:20200811T132741Z:e684b655-319a-4bb1-8878-a00599bd0cd6" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 11 Aug 2020 13:27:41 GMT" ] - }, - "ContentHeaders": { "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "224" ] }, - "Content": null + "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForMySQL/servers/mysql-test-100\u0027 under resource group \u0027MySqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" } }, - "New-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { + "New-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"endIpAddress\": \"0.0.0.1\",\r\n \"startIpAddress\": \"0.0.0.1\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.1\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { @@ -248,234 +45,31 @@ } }, "Response": { - "StatusCode": 202, + "StatusCode": 404, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/7829f89e-24fe-4760-af09-60a52c725ace?api-version=2017-12-01" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/7829f89e-24fe-4760-af09-60a52c725ace?api-version=2017-12-01" ], - "x-ms-request-id": [ "7829f89e-24fe-4760-af09-60a52c725ace" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1190" ], - "x-ms-correlation-request-id": [ "64de701c-cfe4-48f9-aa40-223a72753c94" ], - "x-ms-routing-request-id": [ "KOREASOUTH:20200811T132743Z:64de701c-cfe4-48f9-aa40-223a72753c94" ], + "x-ms-failure-cause": [ "gateway" ], + "x-ms-request-id": [ "4fda3bf1-d9aa-458b-81bc-2f193850fe15" ], + "x-ms-correlation-request-id": [ "4fda3bf1-d9aa-458b-81bc-2f193850fe15" ], + "x-ms-routing-request-id": [ "WESTUS2:20201110T002713Z:4fda3bf1-d9aa-458b-81bc-2f193850fe15" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 11 Aug 2020 13:27:42 GMT" ] + "Date": [ "Tue, 10 Nov 2020 00:27:13 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "86" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-08-11T13:27:42.36Z\"}" - } - }, - "New-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/7829f89e-24fe-4760-af09-60a52c725ace?api-version=2017-12-01+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/7829f89e-24fe-4760-af09-60a52c725ace?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "100", "101" ], - "x-ms-client-request-id": [ "f43706a0-0099-41dd-9c3d-9544c000fc4a", "f43706a0-0099-41dd-9c3d-9544c000fc4a" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule" ], - "FullCommandName": [ "New-AzMySqlFirewallRule_ClientIPAddress", "New-AzMySqlFirewallRule_ClientIPAddress" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "2bdd3ffd-24b1-439b-bec8-8c20e6215346" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11922" ], - "x-ms-correlation-request-id": [ "a6b3372c-7c8c-40f8-b650-7581f956503f" ], - "x-ms-routing-request-id": [ "KOREASOUTH:20200811T132759Z:a6b3372c-7c8c-40f8-b650-7581f956503f" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 11 Aug 2020 13:27:58 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "106" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"7829f89e-24fe-4760-af09-60a52c725ace\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-11T13:27:42.36Z\"}" - } - }, - "New-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "100", "101", "102" ], - "x-ms-client-request-id": [ "f43706a0-0099-41dd-9c3d-9544c000fc4a", "f43706a0-0099-41dd-9c3d-9544c000fc4a", "f43706a0-0099-41dd-9c3d-9544c000fc4a" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule" ], - "FullCommandName": [ "New-AzMySqlFirewallRule_ClientIPAddress", "New-AzMySqlFirewallRule_ClientIPAddress", "New-AzMySqlFirewallRule_ClientIPAddress" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "08063341-0c68-4cc4-a161-13d7d00bcd07" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11921" ], - "x-ms-correlation-request-id": [ "25d1df5f-e106-4dbf-9c71-a556ce1d1a78" ], - "x-ms-routing-request-id": [ "KOREASOUTH:20200811T132759Z:25d1df5f-e106-4dbf-9c71-a556ce1d1a78" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 11 Aug 2020 13:27:58 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "305" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.1\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/servers/firewallRules\"}" - } - }, - "New-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+4": { - "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "103" ], - "x-ms-client-request-id": [ "3069ae71-1ec4-42a1-8284-dc80ee065b8b" ], - "CommandName": [ "Remove-AzMySqlFirewallRule" ], - "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/0bfce3da-97d8-4215-a951-d983b2ce4fd6?api-version=2017-12-01" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/0bfce3da-97d8-4215-a951-d983b2ce4fd6?api-version=2017-12-01" ], - "x-ms-request-id": [ "0bfce3da-97d8-4215-a951-d983b2ce4fd6" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14991" ], - "x-ms-correlation-request-id": [ "c82801ee-fbdc-4208-883a-cbcbd01a1e77" ], - "x-ms-routing-request-id": [ "KOREASOUTH:20200811T132801Z:c82801ee-fbdc-4208-883a-cbcbd01a1e77" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 11 Aug 2020 13:28:00 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "84" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-08-11T13:28:00.173Z\"}" - } - }, - "New-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/0bfce3da-97d8-4215-a951-d983b2ce4fd6?api-version=2017-12-01+5": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/0bfce3da-97d8-4215-a951-d983b2ce4fd6?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "103", "104" ], - "x-ms-client-request-id": [ "3069ae71-1ec4-42a1-8284-dc80ee065b8b", "3069ae71-1ec4-42a1-8284-dc80ee065b8b" ], - "CommandName": [ "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule" ], - "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "0faef606-72ec-4fa8-9d7c-26776c5e951d" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11920" ], - "x-ms-correlation-request-id": [ "f08ab6f0-d323-4a1f-b593-3a43dec17af2" ], - "x-ms-routing-request-id": [ "KOREASOUTH:20200811T132818Z:f08ab6f0-d323-4a1f-b593-3a43dec17af2" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 11 Aug 2020 13:28:18 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"0bfce3da-97d8-4215-a951-d983b2ce4fd6\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-11T13:28:00.173Z\"}" - } - }, - "New-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/0bfce3da-97d8-4215-a951-d983b2ce4fd6?api-version=2017-12-01+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/0bfce3da-97d8-4215-a951-d983b2ce4fd6?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "103", "104", "105" ], - "x-ms-client-request-id": [ "3069ae71-1ec4-42a1-8284-dc80ee065b8b", "3069ae71-1ec4-42a1-8284-dc80ee065b8b", "3069ae71-1ec4-42a1-8284-dc80ee065b8b" ], - "CommandName": [ "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule" ], - "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "153acd45-058b-40d3-90b7-d8bd031706c9" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11919" ], - "x-ms-correlation-request-id": [ "74f8cf65-492c-41e9-891c-05cb85cdfba3" ], - "x-ms-routing-request-id": [ "KOREASOUTH:20200811T132818Z:74f8cf65-492c-41e9-891c-05cb85cdfba3" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 11 Aug 2020 13:28:18 GMT" ] - }, - "ContentHeaders": { "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "224" ] }, - "Content": null + "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForMySQL/servers/mysql-test-100\u0027 under resource group \u0027MySqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" } }, - "New-AzMySqlFirewallRule+[NoContext]+AllowAll+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01+1": { + "New-AzMySqlFirewallRule+[NoContext]+AllowAll+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"endIpAddress\": \"255.255.255.255\",\r\n \"startIpAddress\": \"0.0.0.0\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"255.255.255.255\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { @@ -484,227 +78,24 @@ } }, "Response": { - "StatusCode": 202, + "StatusCode": 404, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/8a4de3fa-c25f-4b3a-9c9a-fc8b40491ef9?api-version=2017-12-01" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/8a4de3fa-c25f-4b3a-9c9a-fc8b40491ef9?api-version=2017-12-01" ], - "x-ms-request-id": [ "8a4de3fa-c25f-4b3a-9c9a-fc8b40491ef9" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1189" ], - "x-ms-correlation-request-id": [ "8ea8ffad-b781-4a2d-8c22-e6106ce61017" ], - "x-ms-routing-request-id": [ "KOREASOUTH:20200811T132820Z:8ea8ffad-b781-4a2d-8c22-e6106ce61017" ], + "x-ms-failure-cause": [ "gateway" ], + "x-ms-request-id": [ "79434306-5030-4693-858b-6389458409de" ], + "x-ms-correlation-request-id": [ "79434306-5030-4693-858b-6389458409de" ], + "x-ms-routing-request-id": [ "WESTUS2:20201110T002714Z:79434306-5030-4693-858b-6389458409de" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 11 Aug 2020 13:28:20 GMT" ] + "Date": [ "Tue, 10 Nov 2020 00:27:14 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "87" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-08-11T13:28:19.243Z\"}" - } - }, - "New-AzMySqlFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/8a4de3fa-c25f-4b3a-9c9a-fc8b40491ef9?api-version=2017-12-01+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/8a4de3fa-c25f-4b3a-9c9a-fc8b40491ef9?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "106", "107" ], - "x-ms-client-request-id": [ "fbc93aef-f54b-4c79-be23-f2d6573dff22", "fbc93aef-f54b-4c79-be23-f2d6573dff22" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule" ], - "FullCommandName": [ "New-AzMySqlFirewallRule_AllowAll", "New-AzMySqlFirewallRule_AllowAll" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "3c886455-753c-497b-9507-2fb266a4ee13" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11918" ], - "x-ms-correlation-request-id": [ "91b4547e-3d5d-4f09-883b-afb4fe272deb" ], - "x-ms-routing-request-id": [ "KOREASOUTH:20200811T132835Z:91b4547e-3d5d-4f09-883b-afb4fe272deb" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 11 Aug 2020 13:28:35 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"8a4de3fa-c25f-4b3a-9c9a-fc8b40491ef9\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-11T13:28:19.243Z\"}" - } - }, - "New-AzMySqlFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "106", "107", "108" ], - "x-ms-client-request-id": [ "fbc93aef-f54b-4c79-be23-f2d6573dff22", "fbc93aef-f54b-4c79-be23-f2d6573dff22", "fbc93aef-f54b-4c79-be23-f2d6573dff22" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule" ], - "FullCommandName": [ "New-AzMySqlFirewallRule_AllowAll", "New-AzMySqlFirewallRule_AllowAll", "New-AzMySqlFirewallRule_AllowAll" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "6016ab7f-0c6c-4e1e-9c2a-59635192154f" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11917" ], - "x-ms-correlation-request-id": [ "a1e25f47-585b-4ab6-9447-52fe3e8ae2d9" ], - "x-ms-routing-request-id": [ "KOREASOUTH:20200811T132836Z:a1e25f47-585b-4ab6-9447-52fe3e8ae2d9" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 11 Aug 2020 13:28:35 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "347" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"255.255.255.255\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19\",\"name\":\"AllowAll_2020-08-11_21-28-19\",\"type\":\"Microsoft.DBforMySQL/servers/firewallRules\"}" - } - }, - "New-AzMySqlFirewallRule+[NoContext]+AllowAll+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01+4": { - "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "109" ], - "x-ms-client-request-id": [ "64853478-f2c9-4975-8cb9-bbf3dcbddecf" ], - "CommandName": [ "Remove-AzMySqlFirewallRule" ], - "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/42839a43-c94c-48c1-a2c0-71273cd0b3ec?api-version=2017-12-01" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/42839a43-c94c-48c1-a2c0-71273cd0b3ec?api-version=2017-12-01" ], - "x-ms-request-id": [ "42839a43-c94c-48c1-a2c0-71273cd0b3ec" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14990" ], - "x-ms-correlation-request-id": [ "fb129fdc-d7cc-4a4e-90eb-1c95486a67c1" ], - "x-ms-routing-request-id": [ "KOREASOUTH:20200811T132838Z:fb129fdc-d7cc-4a4e-90eb-1c95486a67c1" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 11 Aug 2020 13:28:37 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "84" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-08-11T13:28:37.043Z\"}" - } - }, - "New-AzMySqlFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/42839a43-c94c-48c1-a2c0-71273cd0b3ec?api-version=2017-12-01+5": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/42839a43-c94c-48c1-a2c0-71273cd0b3ec?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "109", "110" ], - "x-ms-client-request-id": [ "64853478-f2c9-4975-8cb9-bbf3dcbddecf", "64853478-f2c9-4975-8cb9-bbf3dcbddecf" ], - "CommandName": [ "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule" ], - "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "416dcc50-d45f-4ab0-87a0-55c947e97100" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11916" ], - "x-ms-correlation-request-id": [ "ca32e1b2-9b79-43ee-8428-8275dace81ff" ], - "x-ms-routing-request-id": [ "KOREASOUTH:20200811T132853Z:ca32e1b2-9b79-43ee-8428-8275dace81ff" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 11 Aug 2020 13:28:52 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"42839a43-c94c-48c1-a2c0-71273cd0b3ec\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-11T13:28:37.043Z\"}" - } - }, - "New-AzMySqlFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/42839a43-c94c-48c1-a2c0-71273cd0b3ec?api-version=2017-12-01+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/42839a43-c94c-48c1-a2c0-71273cd0b3ec?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "109", "110", "111" ], - "x-ms-client-request-id": [ "64853478-f2c9-4975-8cb9-bbf3dcbddecf", "64853478-f2c9-4975-8cb9-bbf3dcbddecf", "64853478-f2c9-4975-8cb9-bbf3dcbddecf" ], - "CommandName": [ "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule" ], - "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "5332d2e4-d932-4a3e-be54-70fa026d02c1" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11915" ], - "x-ms-correlation-request-id": [ "14519af9-cfef-4d16-9137-922fd9d79605" ], - "x-ms-routing-request-id": [ "KOREASOUTH:20200811T132854Z:14519af9-cfef-4d16-9137-922fd9d79605" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 11 Aug 2020 13:28:53 GMT" ] - }, - "ContentHeaders": { "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "224" ] }, - "Content": null + "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForMySQL/servers/mysql-test-100\u0027 under resource group \u0027MySqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" } } } \ No newline at end of file diff --git a/src/MySql/test/New-AzMySqlFlexibleServer.Recording.json b/src/MySql/test/New-AzMySqlFlexibleServer.Recording.json new file mode 100644 index 000000000000..fd0d45208ef5 --- /dev/null +++ b/src/MySql/test/New-AzMySqlFlexibleServer.Recording.json @@ -0,0 +1,398 @@ +{ + "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": "{\r\n \"location\": \"eastus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_D2ds_v4\",\r\n \"tier\": \"GeneralPurpose\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 12,\r\n \"storageMB\": 102400\r\n },\r\n \"administratorLogin\": \"mysql_test\",\r\n \"administratorLoginPassword\": \"Pasword01!!2020\",\r\n \"version\": \"5.7\",\r\n \"createMode\": \"Default\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "376" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/operationResults/b934d4f2-6613-49fc-840c-b46539c85b26?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/b934d4f2-6613-49fc-840c-b46539c85b26?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "53ffda00-3426-49ec-9700-036d36f9d4f9" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "16f6948c-0568-4940-ad91-e2b59ee576ca" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064352Z:16f6948c-0568-4940-ad91-e2b59ee576ca" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:43:51 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "88" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-11T06:43:51.827Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/b934d4f2-6613-49fc-840c-b46539c85b26?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/b934d4f2-6613-49fc-840c-b46539c85b26?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "6" ], + "x-ms-client-request-id": [ "eac1cf76-8f94-4ee2-9a20-716b79d29bdf" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "51dbd2ac-2752-44bb-a0d4-c1ef0330a216" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "cbc68a87-0e18-448c-b614-b7dc1fd123e1" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064452Z:cbc68a87-0e18-448c-b614-b7dc1fd123e1" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:44:52 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"b934d4f2-6613-49fc-840c-b46539c85b26\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T06:43:51.827Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/b934d4f2-6613-49fc-840c-b46539c85b26?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/b934d4f2-6613-49fc-840c-b46539c85b26?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "7" ], + "x-ms-client-request-id": [ "eac1cf76-8f94-4ee2-9a20-716b79d29bdf" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "6d20d9c8-927b-4dfa-be3c-92525c3b7d8a" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-correlation-request-id": [ "99f81bde-5495-41bb-94e8-b3c156c929c1" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064552Z:99f81bde-5495-41bb-94e8-b3c156c929c1" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:45:52 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"b934d4f2-6613-49fc-840c-b46539c85b26\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T06:43:51.827Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/b934d4f2-6613-49fc-840c-b46539c85b26?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/b934d4f2-6613-49fc-840c-b46539c85b26?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "8" ], + "x-ms-client-request-id": [ "eac1cf76-8f94-4ee2-9a20-716b79d29bdf" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "e7d35d5c-ea5a-4ddb-a2f5-a6759e3ea8cc" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "eee3d922-b1ab-4cfc-8247-9c49c97feb78" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064653Z:eee3d922-b1ab-4cfc-8247-9c49c97feb78" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:46:52 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"b934d4f2-6613-49fc-840c-b46539c85b26\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T06:43:51.827Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/b934d4f2-6613-49fc-840c-b46539c85b26?api-version=2020-07-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/b934d4f2-6613-49fc-840c-b46539c85b26?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "9" ], + "x-ms-client-request-id": [ "eac1cf76-8f94-4ee2-9a20-716b79d29bdf" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "66cdb425-be4e-4ae8-9a61-691130c88cca" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "d6f2acf7-f8d4-479a-baad-6fe1059f8cd1" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064753Z:d6f2acf7-f8d4-479a-baad-6fe1059f8cd1" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:47:53 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"b934d4f2-6613-49fc-840c-b46539c85b26\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T06:43:51.827Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/b934d4f2-6613-49fc-840c-b46539c85b26?api-version=2020-07-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/b934d4f2-6613-49fc-840c-b46539c85b26?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "10" ], + "x-ms-client-request-id": [ "eac1cf76-8f94-4ee2-9a20-716b79d29bdf" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "a4ebd38f-bb85-4e02-afe5-65a787872b76" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "64f2fa2e-5ac3-4dfa-9863-ac46e36fecf1" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064854Z:64f2fa2e-5ac3-4dfa-9863-ac46e36fecf1" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:48:53 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"b934d4f2-6613-49fc-840c-b46539c85b26\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T06:43:51.827Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/b934d4f2-6613-49fc-840c-b46539c85b26?api-version=2020-07-01-preview+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/b934d4f2-6613-49fc-840c-b46539c85b26?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "11" ], + "x-ms-client-request-id": [ "eac1cf76-8f94-4ee2-9a20-716b79d29bdf" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "6054150c-2112-44b7-8796-3c0765614a34" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-correlation-request-id": [ "eddb461d-dd3b-4c3a-ad78-ea9ded8cf82a" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064954Z:eddb461d-dd3b-4c3a-ad78-ea9ded8cf82a" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:49:53 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"b934d4f2-6613-49fc-840c-b46539c85b26\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T06:43:51.827Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/b934d4f2-6613-49fc-840c-b46539c85b26?api-version=2020-07-01-preview+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/b934d4f2-6613-49fc-840c-b46539c85b26?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "12" ], + "x-ms-client-request-id": [ "eac1cf76-8f94-4ee2-9a20-716b79d29bdf" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "e2e459f6-23f9-494e-88d4-c586f1ee23e4" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], + "x-ms-correlation-request-id": [ "d1b211c2-525e-4b5a-8f07-13d81850b4aa" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065054Z:d1b211c2-525e-4b5a-8f07-13d81850b4aa" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:50:54 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"b934d4f2-6613-49fc-840c-b46539c85b26\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T06:43:51.827Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/b934d4f2-6613-49fc-840c-b46539c85b26?api-version=2020-07-01-preview+9": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/b934d4f2-6613-49fc-840c-b46539c85b26?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "13" ], + "x-ms-client-request-id": [ "eac1cf76-8f94-4ee2-9a20-716b79d29bdf" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "fef95cc3-6443-471a-a73b-39508b64a9be" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], + "x-ms-correlation-request-id": [ "0f43e69b-b23d-4735-854e-4684d689a98a" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065155Z:0f43e69b-b23d-4735-854e-4684d689a98a" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:51:54 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"b934d4f2-6613-49fc-840c-b46539c85b26\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T06:43:51.827Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+10": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "14" ], + "x-ms-client-request-id": [ "eac1cf76-8f94-4ee2-9a20-716b79d29bdf" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "c7975d0f-14d5-4d23-b28c-f0b9385e4309" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], + "x-ms-correlation-request-id": [ "49969c87-877a-43d7-85c8-a1145c4dbd58" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065155Z:49969c87-877a-43d7-85c8-a1145c4dbd58" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:51:54 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "960" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard_D2ds_v4\",\"tier\":\"GeneralPurpose\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":102400,\"storageIops\":0,\"backupRetentionDays\":12,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T06:51:55.163825+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + } + } +} \ No newline at end of file diff --git a/src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 b/src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 new file mode 100644 index 000000000000..b3aa8690c365 --- /dev/null +++ b/src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 @@ -0,0 +1,26 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'New-AzMySqlFlexibleServer.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'New-AzMySqlFlexibleServer' { + It 'CreateExpanded' { + { + $password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force + $server = New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -AdministratorUserName mysql_test -AdministratorLoginPassword $password -Sku Standard_D2ds_v4 -SkuTier GeneralPurpose -BackupRetentionDay 12 -StorageInMb 102400 -Location eastus2 + $server.SkuName | Should -Be "Standard_D2ds_v4" + $server.SkuTier | Should -Be "GeneralPurpose" + $server.StorageProfileStorageMb | Should -Be 102400 + $server.StorageProfileBackupRetentionDay | Should -Be 12 + + } | Should -Not -Throw + } +} diff --git a/src/MySql/test/New-AzMySqlFlexibleServerDatabase.Recording.json b/src/MySql/test/New-AzMySqlFlexibleServerDatabase.Recording.json new file mode 100644 index 000000000000..936447607d9c --- /dev/null +++ b/src/MySql/test/New-AzMySqlFlexibleServerDatabase.Recording.json @@ -0,0 +1,239 @@ +{ + "New-AzMySqlFlexibleServerDatabase+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "Content": "{\r\n \"properties\": {\r\n \"charset\": \"latin1\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "53" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/e46feaf8-5c78-4845-a914-9e0a0918b170?api-version=2020-07-01-preview" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e46feaf8-5c78-4845-a914-9e0a0918b170?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "e46feaf8-5c78-4845-a914-9e0a0918b170" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-correlation-request-id": [ "62dcd053-881f-48f8-b676-a6cb59d1c303" ], + "x-ms-routing-request-id": [ "WESTUS:20201110T220407Z:62dcd053-881f-48f8-b676-a6cb59d1c303" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 22:04:07 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "94" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerDatabaseManagementOperation\",\"startTime\":\"2020-11-10T22:04:07.337Z\"}" + } + }, + "New-AzMySqlFlexibleServerDatabase+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e46feaf8-5c78-4845-a914-9e0a0918b170?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e46feaf8-5c78-4845-a914-9e0a0918b170?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "11" ], + "x-ms-client-request-id": [ "4ee3841a-1240-4993-bce1-e6a2aca0a8bf" ], + "CommandName": [ "New-AzMySqlFlexibleServerDatabase" ], + "FullCommandName": [ "New-AzMySqlFlexibleServerDatabase_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "5807e96b-e8a7-4871-a467-0a278bc1adfb" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-correlation-request-id": [ "e8e8e6ad-c656-4fcf-b1a9-4389248789a2" ], + "x-ms-routing-request-id": [ "WESTUS:20201110T220422Z:e8e8e6ad-c656-4fcf-b1a9-4389248789a2" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 22:04:22 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"e46feaf8-5c78-4845-a914-9e0a0918b170\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T22:04:07.337Z\"}" + } + }, + "New-AzMySqlFlexibleServerDatabase+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "12" ], + "x-ms-client-request-id": [ "4ee3841a-1240-4993-bce1-e6a2aca0a8bf" ], + "CommandName": [ "New-AzMySqlFlexibleServerDatabase" ], + "FullCommandName": [ "New-AzMySqlFlexibleServerDatabase_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "00eb2093-fe0f-4927-9d08-aa274bc9d7e8" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], + "x-ms-correlation-request-id": [ "55234088-3831-46df-b7b2-6244cac971a8" ], + "x-ms-routing-request-id": [ "WESTUS:20201110T220423Z:55234088-3831-46df-b7b2-6244cac971a8" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 22:04:23 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "304" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" + } + }, + "New-AzMySqlFlexibleServerDatabase+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "13" ], + "x-ms-client-request-id": [ "90dc3465-4172-4696-9950-31f61730978b" ], + "CommandName": [ "Remove-AzMySqlFlexibleServerDatabase" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServerDatabase_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/45e0b24f-cc41-4f25-aa8a-2271652c9004?api-version=2020-07-01-preview" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/45e0b24f-cc41-4f25-aa8a-2271652c9004?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "45e0b24f-cc41-4f25-aa8a-2271652c9004" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14998" ], + "x-ms-correlation-request-id": [ "d559f7fc-cce8-45c6-a46d-f52eae9892e9" ], + "x-ms-routing-request-id": [ "WESTUS:20201110T220423Z:d559f7fc-cce8-45c6-a46d-f52eae9892e9" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 22:04:23 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "92" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropServerDatabaseManagementOperation\",\"startTime\":\"2020-11-10T22:04:23.417Z\"}" + } + }, + "New-AzMySqlFlexibleServerDatabase+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/45e0b24f-cc41-4f25-aa8a-2271652c9004?api-version=2020-07-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/45e0b24f-cc41-4f25-aa8a-2271652c9004?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "14" ], + "x-ms-client-request-id": [ "90dc3465-4172-4696-9950-31f61730978b" ], + "CommandName": [ "Remove-AzMySqlFlexibleServerDatabase" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServerDatabase_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "60b535fc-d4a4-48f6-baa0-8bdb8a449df1" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], + "x-ms-correlation-request-id": [ "5d302b47-963e-4357-8609-7afd71f9b724" ], + "x-ms-routing-request-id": [ "WESTUS:20201110T220438Z:5d302b47-963e-4357-8609-7afd71f9b724" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 22:04:38 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"45e0b24f-cc41-4f25-aa8a-2271652c9004\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T22:04:23.417Z\"}" + } + }, + "New-AzMySqlFlexibleServerDatabase+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/45e0b24f-cc41-4f25-aa8a-2271652c9004?api-version=2020-07-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/45e0b24f-cc41-4f25-aa8a-2271652c9004?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "15" ], + "x-ms-client-request-id": [ "90dc3465-4172-4696-9950-31f61730978b" ], + "CommandName": [ "Remove-AzMySqlFlexibleServerDatabase" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServerDatabase_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "110158b5-79fe-4828-8b93-e27196a62e96" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], + "x-ms-correlation-request-id": [ "613b3922-a4fd-4847-91f3-4c6e040c1c92" ], + "x-ms-routing-request-id": [ "WESTUS:20201110T220438Z:613b3922-a4fd-4847-91f3-4c6e040c1c92" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 22:04:38 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "254" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" + } + } +} \ No newline at end of file diff --git a/src/MySql/test/New-AzMySqlFlexibleServerDatabase.Tests.ps1 b/src/MySql/test/New-AzMySqlFlexibleServerDatabase.Tests.ps1 new file mode 100644 index 000000000000..8e11a27c4651 --- /dev/null +++ b/src/MySql/test/New-AzMySqlFlexibleServerDatabase.Tests.ps1 @@ -0,0 +1,24 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'New-AzMySqlFlexibleServerDatabase.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'New-AzMySqlFlexibleServerDatabase' { + It 'CreateExpanded' { + { + $database = New-AzMySqlFlexibleServerDatabase -Name $env.databaseName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -Charset latin1 + $database.Name | Should -Be $env.databaseName + $database.Collation | Should -Be "latin1_swedish_ci" + $database.Charset | Should -Be "latin1" + Remove-AzMySqlFlexibleServerDatabase -Name $env.databaseName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName + } | Should -Not -Throw + } +} diff --git a/src/MySql/test/New-AzMySqlFlexibleServerFirewallRule.Recording.json b/src/MySql/test/New-AzMySqlFlexibleServerFirewallRule.Recording.json new file mode 100644 index 000000000000..3af1fe2c9651 --- /dev/null +++ b/src/MySql/test/New-AzMySqlFlexibleServerFirewallRule.Recording.json @@ -0,0 +1,710 @@ +{ + "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "93" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/2a262625-b6dc-474b-9caa-cb5139c88e0a?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/2a262625-b6dc-474b-9caa-cb5139c88e0a?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "2a262625-b6dc-474b-9caa-cb5139c88e0a" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "287db43d-3cd4-42c6-ac69-75fc777b702a" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T092010Z:287db43d-3cd4-42c6-ac69-75fc777b702a" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 09:20:09 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "98" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-10T09:20:09.57Z\"}" + } + }, + "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/2a262625-b6dc-474b-9caa-cb5139c88e0a?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/2a262625-b6dc-474b-9caa-cb5139c88e0a?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "2" ], + "x-ms-client-request-id": [ "eb1b3da3-2afa-4de6-bb30-4742f0c661c5" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "New-AzMySqlFlexibleServerFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "29b64da0-04cf-47a5-ac6d-61d6f0adecd4" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-correlation-request-id": [ "4c637a99-563e-445f-acf2-d8a9609bda5e" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T092110Z:4c637a99-563e-445f-acf2-d8a9609bda5e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 09:21:10 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"2a262625-b6dc-474b-9caa-cb5139c88e0a\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T09:20:09.57Z\"}" + } + }, + "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "3" ], + "x-ms-client-request-id": [ "eb1b3da3-2afa-4de6-bb30-4742f0c661c5" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "New-AzMySqlFlexibleServerFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "13b6905e-ec37-4bf2-8998-d6031ef54cfa" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-correlation-request-id": [ "8c7d9940-1fa5-4704-9913-a31aa7cd5afe" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T092110Z:8c7d9940-1fa5-4704-9913-a31aa7cd5afe" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 09:21:10 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "149" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}" + } + }, + "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "d74037f4-f0ce-42ae-823e-f9a490a69812" ], + "CommandName": [ "Remove-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServerFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/87c310e3-baf2-47fe-9a21-dc3605e4577a?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/87c310e3-baf2-47fe-9a21-dc3605e4577a?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "87c310e3-baf2-47fe-9a21-dc3605e4577a" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "x-ms-correlation-request-id": [ "987a9226-b1e3-4c3f-9149-7d996f4830e8" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T092111Z:987a9226-b1e3-4c3f-9149-7d996f4830e8" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 09:21:11 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "97" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-10T09:21:11.133Z\"}" + } + }, + "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/87c310e3-baf2-47fe-9a21-dc3605e4577a?api-version=2020-07-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/87c310e3-baf2-47fe-9a21-dc3605e4577a?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "5" ], + "x-ms-client-request-id": [ "d74037f4-f0ce-42ae-823e-f9a490a69812" ], + "CommandName": [ "Remove-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServerFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "68c41cce-ee24-4583-a0fd-cefbbf9cafc7" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-correlation-request-id": [ "6866c8f9-3503-4470-9a06-29ba18c207f3" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T092211Z:6866c8f9-3503-4470-9a06-29ba18c207f3" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 09:22:10 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"87c310e3-baf2-47fe-9a21-dc3605e4577a\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T09:21:11.133Z\"}" + } + }, + "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/87c310e3-baf2-47fe-9a21-dc3605e4577a?api-version=2020-07-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/87c310e3-baf2-47fe-9a21-dc3605e4577a?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "6" ], + "x-ms-client-request-id": [ "d74037f4-f0ce-42ae-823e-f9a490a69812" ], + "CommandName": [ "Remove-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServerFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "c9ef3c19-dafb-43f5-96fb-e3fd6eeae173" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-correlation-request-id": [ "d2213196-04a9-4443-8814-79ca54933e3b" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T092212Z:d2213196-04a9-4443-8814-79ca54933e3b" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 09:22:11 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + }, + "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.1\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "93" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/038168bb-6845-4a35-be4c-4e4f72457add?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/038168bb-6845-4a35-be4c-4e4f72457add?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "038168bb-6845-4a35-be4c-4e4f72457add" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-correlation-request-id": [ "50939325-c7ec-44e9-8811-8f331d645764" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T092212Z:50939325-c7ec-44e9-8811-8f331d645764" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 09:22:11 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "99" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-10T09:22:12.733Z\"}" + } + }, + "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/038168bb-6845-4a35-be4c-4e4f72457add?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/038168bb-6845-4a35-be4c-4e4f72457add?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "8" ], + "x-ms-client-request-id": [ "fc16bcc9-aef7-44bb-b45f-bd8770889bf9" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "New-AzMySqlFlexibleServerFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "28ca0d63-26e2-4ba5-99d2-4c69c0255e86" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "9602f7d8-80bf-4212-9650-d1d1a159a1e9" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T092313Z:9602f7d8-80bf-4212-9650-d1d1a159a1e9" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 09:23:12 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"038168bb-6845-4a35-be4c-4e4f72457add\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T09:22:12.733Z\"}" + } + }, + "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "9" ], + "x-ms-client-request-id": [ "fc16bcc9-aef7-44bb-b45f-bd8770889bf9" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "New-AzMySqlFlexibleServerFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "e6afa452-f005-4bc8-a10a-3e908f1bfa88" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-correlation-request-id": [ "cf91d530-93e3-475c-b67b-811c9d003509" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T092313Z:cf91d530-93e3-475c-b67b-811c9d003509" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 09:23:12 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "149" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.1\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}" + } + }, + "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "10" ], + "x-ms-client-request-id": [ "0fdda564-8922-4b7a-9e4a-cd70b0740a5d" ], + "CommandName": [ "Remove-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServerFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/c7927285-58d9-4f72-9f7f-c41f981922c8?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c7927285-58d9-4f72-9f7f-c41f981922c8?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "c7927285-58d9-4f72-9f7f-c41f981922c8" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14998" ], + "x-ms-correlation-request-id": [ "9f1117f9-f213-4f2a-9069-c8c61cc71876" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T092313Z:9f1117f9-f213-4f2a-9069-c8c61cc71876" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 09:23:13 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "96" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-10T09:23:13.84Z\"}" + } + }, + "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c7927285-58d9-4f72-9f7f-c41f981922c8?api-version=2020-07-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c7927285-58d9-4f72-9f7f-c41f981922c8?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "11" ], + "x-ms-client-request-id": [ "0fdda564-8922-4b7a-9e4a-cd70b0740a5d" ], + "CommandName": [ "Remove-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServerFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "18be28dd-ab75-4814-adcc-6125271715e6" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "51a485bd-f6ad-439b-8377-258a82f665dd" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T092414Z:51a485bd-f6ad-439b-8377-258a82f665dd" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 09:24:13 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"c7927285-58d9-4f72-9f7f-c41f981922c8\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T09:23:13.84Z\"}" + } + }, + "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/c7927285-58d9-4f72-9f7f-c41f981922c8?api-version=2020-07-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/c7927285-58d9-4f72-9f7f-c41f981922c8?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "12" ], + "x-ms-client-request-id": [ "0fdda564-8922-4b7a-9e4a-cd70b0740a5d" ], + "CommandName": [ "Remove-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServerFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "c4df2a55-ce40-42b2-bf2e-e0581435eb93" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "f3eeeb21-2fc3-4f7d-a966-8c3d12923e5d" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T092414Z:f3eeeb21-2fc3-4f7d-a966-8c3d12923e5d" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 09:24:14 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + }, + "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+AllowAll+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"255.255.255.255\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "101" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/57b64c53-c8a9-471b-b47a-c10c7591b0d4?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/57b64c53-c8a9-471b-b47a-c10c7591b0d4?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "57b64c53-c8a9-471b-b47a-c10c7591b0d4" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], + "x-ms-correlation-request-id": [ "195c5c8c-906f-4de8-aacd-b7d9824fd5d9" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T092414Z:195c5c8c-906f-4de8-aacd-b7d9824fd5d9" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 09:24:14 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "98" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-10T09:24:14.72Z\"}" + } + }, + "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/57b64c53-c8a9-471b-b47a-c10c7591b0d4?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/57b64c53-c8a9-471b-b47a-c10c7591b0d4?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "14" ], + "x-ms-client-request-id": [ "75433f34-ac04-43bb-bcab-5f726423ef9c" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "New-AzMySqlFlexibleServerFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "3125df2d-02e6-434c-b372-0da4d0e1ed97" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "48d1e54a-057e-4021-9673-e238ac566040" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T092515Z:48d1e54a-057e-4021-9673-e238ac566040" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 09:25:15 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"57b64c53-c8a9-471b-b47a-c10c7591b0d4\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T09:24:14.72Z\"}" + } + }, + "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "15" ], + "x-ms-client-request-id": [ "75433f34-ac04-43bb-bcab-5f726423ef9c" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "New-AzMySqlFlexibleServerFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "b003e192-6710-458a-94c6-acd03f5b17ad" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-correlation-request-id": [ "98ce9cfb-a356-40fa-91b3-7f2457624309" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T092515Z:98ce9cfb-a356-40fa-91b3-7f2457624309" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 09:25:15 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "157" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"255.255.255.255\"},\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}" + } + }, + "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+AllowAll+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "16" ], + "x-ms-client-request-id": [ "5c090af1-eb8a-48e3-ab43-2b58db7d177d" ], + "CommandName": [ "Remove-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServerFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/12346ff6-9e4f-4332-9332-eb1ffb5f9f62?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/12346ff6-9e4f-4332-9332-eb1ffb5f9f62?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "12346ff6-9e4f-4332-9332-eb1ffb5f9f62" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14997" ], + "x-ms-correlation-request-id": [ "f8784fdb-b716-4492-97ea-da25fb0b66d7" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T092515Z:f8784fdb-b716-4492-97ea-da25fb0b66d7" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 09:25:15 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "97" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-10T09:25:15.703Z\"}" + } + }, + "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/12346ff6-9e4f-4332-9332-eb1ffb5f9f62?api-version=2020-07-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/12346ff6-9e4f-4332-9332-eb1ffb5f9f62?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "17" ], + "x-ms-client-request-id": [ "5c090af1-eb8a-48e3-ab43-2b58db7d177d" ], + "CommandName": [ "Remove-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServerFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "660245a5-69e4-41b7-91eb-7d38fdd53297" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], + "x-ms-correlation-request-id": [ "9a874cac-c6e5-4f84-bdea-a7c5df22133e" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T092616Z:9a874cac-c6e5-4f84-bdea-a7c5df22133e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 09:26:15 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"12346ff6-9e4f-4332-9332-eb1ffb5f9f62\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T09:25:15.703Z\"}" + } + }, + "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/12346ff6-9e4f-4332-9332-eb1ffb5f9f62?api-version=2020-07-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/12346ff6-9e4f-4332-9332-eb1ffb5f9f62?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "18" ], + "x-ms-client-request-id": [ "5c090af1-eb8a-48e3-ab43-2b58db7d177d" ], + "CommandName": [ "Remove-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServerFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "27d133ff-9a7b-4e18-acc6-c2109605214a" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], + "x-ms-correlation-request-id": [ "f33c508e-f222-4c0f-ab0a-a2365bd34c34" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T092616Z:f33c508e-f222-4c0f-ab0a-a2365bd34c34" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 09:26:15 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + } +} \ No newline at end of file diff --git a/src/MySql/test/New-AzMySqlFlexibleServerFirewallRule.Tests.ps1 b/src/MySql/test/New-AzMySqlFlexibleServerFirewallRule.Tests.ps1 new file mode 100644 index 000000000000..0199cb9bef20 --- /dev/null +++ b/src/MySql/test/New-AzMySqlFlexibleServerFirewallRule.Tests.ps1 @@ -0,0 +1,39 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'New-AzMySqlFlexibleServerFirewallRule.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'New-AzMySqlFlexibleServerFirewallRule' { + It 'CreateExpanded' { + $rule = New-AzMySqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 + $rule.Name | Should -Be $env.firewallRuleName + $rule.StartIPAddress | Should -Be 0.0.0.0 + $rule.EndIPAddress | Should -Be 0.0.0.1 + Remove-AzMySqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName + } + + It 'ClientIPAddress' { + #Use only one parameter when only one IP + $rule = New-AzMySqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -ClientIPAddress 0.0.0.1 + $rule.Name | Should -Be $env.firewallRuleName + $rule.StartIPAddress | Should -Be 0.0.0.1 + $rule.EndIPAddress | Should -Be 0.0.0.1 + Remove-AzMySqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName + } + + It 'AllowAll' { + $rule = New-AzMySqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -AllowAll + $rule.Name | Should -Be $env.firewallRuleName + $rule.StartIPAddress | Should -Be 0.0.0.0 + $rule.EndIPAddress | Should -Be 255.255.255.255 + Remove-AzMySqlFlexibleServerFirewallRule -Name $rule.Name -ResourceGroupName $env.resourceGroup -ServerName $env.serverName + } +} diff --git a/src/MySql/test/New-AzMySqlFlexibleServerReplica.Recording.json b/src/MySql/test/New-AzMySqlFlexibleServerReplica.Recording.json new file mode 100644 index 000000000000..8b1bf6f5d481 --- /dev/null +++ b/src/MySql/test/New-AzMySqlFlexibleServerReplica.Recording.json @@ -0,0 +1,357 @@ +{ + "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "12" ], + "x-ms-client-request-id": [ "36ab3f70-c474-407d-b802-8aad9fc3aec6" ], + "CommandName": [ "Get-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Get-AzMySqlFlexibleServer_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "75ffea03-284a-487b-b116-657082f9213c" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], + "x-ms-correlation-request-id": [ "5437ccf4-bc1d-4c81-9502-a6e8d59bbd8f" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T011350Z:5437ccf4-bc1d-4c81-9502-a6e8d59bbd8f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 01:13:50 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "945" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:13:50.3951018+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + } + }, + "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-replica?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-replica?api-version=2020-07-01-preview", + "Content": "{\r\n \"location\": \"West US 2\",\r\n \"properties\": {\r\n \"sourceServerId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\r\n \"createMode\": \"Replica\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "250" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/e8e6b03f-735e-4473-bf67-32954f78dc50?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e8e6b03f-735e-4473-bf67-32954f78dc50?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "e8e6b03f-735e-4473-bf67-32954f78dc50" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-correlation-request-id": [ "aecea9be-feb7-4332-96ea-2bf882fa8a7e" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T011351Z:aecea9be-feb7-4332-96ea-2bf882fa8a7e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 01:13:50 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "91" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"CreateReadReplicaManagementOperation\",\"startTime\":\"2020-11-11T01:13:50.677Z\"}" + } + }, + "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e8e6b03f-735e-4473-bf67-32954f78dc50?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e8e6b03f-735e-4473-bf67-32954f78dc50?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "14" ], + "x-ms-client-request-id": [ "12aaf039-50e8-40c8-8223-8e799c4c420f" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "6ee3d4bf-6f4b-45ed-a992-6ba8f46d305b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], + "x-ms-correlation-request-id": [ "878a9b7a-e5eb-43a1-9b4e-f78c9c3c37c9" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T011451Z:878a9b7a-e5eb-43a1-9b4e-f78c9c3c37c9" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 01:14:50 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "198" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"e8e6b03f-735e-4473-bf67-32954f78dc50\",\"status\":\"Failed\",\"startTime\":\"2020-11-11T01:13:50.677Z\",\"error\":{\"code\":\"ServerNameAlreadyExists\",\"message\":\"Specified server name is already used.\"}}" + } + }, + "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-replica?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-replica?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "15" ], + "x-ms-client-request-id": [ "12aaf039-50e8-40c8-8223-8e799c4c420f" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "18943ca6-33a2-48c1-965c-7b06a4d3b578" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], + "x-ms-correlation-request-id": [ "507fca03-fc0f-4492-a858-5c93fd22604f" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T011451Z:507fca03-fc0f-4492-a858-5c93fd22604f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 01:14:50 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "968" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-replica.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T00:26:58.607359+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-replica\",\"name\":\"mysql-test-100-replica\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + } + }, + "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-replica?api-version=2020-07-01-preview+5": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-replica?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "16" ], + "x-ms-client-request-id": [ "bbd53427-9e7d-4457-9b33-f10e85fb18dd" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/8a6e2a2f-3569-4fef-8472-899b3ff4d5a9?api-version=2020-07-01-preview" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/8a6e2a2f-3569-4fef-8472-899b3ff4d5a9?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "8a6e2a2f-3569-4fef-8472-899b3ff4d5a9" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "x-ms-correlation-request-id": [ "fb7a944e-9255-425a-919c-c1c39e2b095e" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T011451Z:fb7a944e-9255-425a-919c-c1c39e2b095e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 01:14:50 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "84" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropServerManagementOperation\",\"startTime\":\"2020-11-11T01:14:51.447Z\"}" + } + }, + "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/8a6e2a2f-3569-4fef-8472-899b3ff4d5a9?api-version=2020-07-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/8a6e2a2f-3569-4fef-8472-899b3ff4d5a9?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "17" ], + "x-ms-client-request-id": [ "bbd53427-9e7d-4457-9b33-f10e85fb18dd" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "2d038503-16d5-4bd4-8ea3-08aff309ea5f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], + "x-ms-correlation-request-id": [ "e3ef0ddc-dcb1-4fc5-848e-e22c39970b71" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T011506Z:e3ef0ddc-dcb1-4fc5-848e-e22c39970b71" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 01:15:06 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"8a6e2a2f-3569-4fef-8472-899b3ff4d5a9\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T01:14:51.447Z\"}" + } + }, + "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/8a6e2a2f-3569-4fef-8472-899b3ff4d5a9?api-version=2020-07-01-preview+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/8a6e2a2f-3569-4fef-8472-899b3ff4d5a9?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "18" ], + "x-ms-client-request-id": [ "bbd53427-9e7d-4457-9b33-f10e85fb18dd" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "f7cd230d-6f06-4745-bf33-01b734b57186" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], + "x-ms-correlation-request-id": [ "96206d6d-b738-4559-bc5a-4064b8707dc1" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T011521Z:96206d6d-b738-4559-bc5a-4064b8707dc1" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 01:15:21 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"8a6e2a2f-3569-4fef-8472-899b3ff4d5a9\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T01:14:51.447Z\"}" + } + }, + "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/8a6e2a2f-3569-4fef-8472-899b3ff4d5a9?api-version=2020-07-01-preview+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/8a6e2a2f-3569-4fef-8472-899b3ff4d5a9?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "19" ], + "x-ms-client-request-id": [ "bbd53427-9e7d-4457-9b33-f10e85fb18dd" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "10178b19-4883-497a-a9b2-4f7030cfc86d" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], + "x-ms-correlation-request-id": [ "88ff53b1-55ad-4db8-8f5f-106aefe251d7" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T011536Z:88ff53b1-55ad-4db8-8f5f-106aefe251d7" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 01:15:36 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"8a6e2a2f-3569-4fef-8472-899b3ff4d5a9\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T01:14:51.447Z\"}" + } + }, + "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/operationResults/8a6e2a2f-3569-4fef-8472-899b3ff4d5a9?api-version=2020-07-01-preview+9": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/8a6e2a2f-3569-4fef-8472-899b3ff4d5a9?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "20" ], + "x-ms-client-request-id": [ "bbd53427-9e7d-4457-9b33-f10e85fb18dd" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "4e8b9f60-e5ce-46d1-875e-b41aa821176b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], + "x-ms-correlation-request-id": [ "d40c37f3-60ab-4229-89e1-b7ba11886d49" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T011536Z:d40c37f3-60ab-4229-89e1-b7ba11886d49" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 01:15:36 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + } +} \ No newline at end of file diff --git a/src/MySql/test/New-AzMySqlFlexibleServerReplica.Tests.ps1 b/src/MySql/test/New-AzMySqlFlexibleServerReplica.Tests.ps1 new file mode 100644 index 000000000000..068003914548 --- /dev/null +++ b/src/MySql/test/New-AzMySqlFlexibleServerReplica.Tests.ps1 @@ -0,0 +1,24 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'New-AzMySqlFlexibleServerReplica.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'New-AzMySqlFlexibleServerReplica' { + It 'CreateExpanded' { + { + $replica = Get-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -ServerName $env.serverName | New-AzMySqlFlexibleServerReplica -Replica $env.replicaName -ResourceGroupName $env.resourceGroup + $replica.Name | Should -Be $env.replicaName + $replica.SkuName | Should -Be $env.Sku + $replica.Location | Should -Be "West US 2" + Remove-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.replicaName + } | Should -Not -Throw + } +} diff --git a/src/MySql/test/New-AzMySqlServer.Recording.json b/src/MySql/test/New-AzMySqlServer.Recording.json deleted file mode 100644 index a88a4ca058f5..000000000000 --- a/src/MySql/test/New-AzMySqlServer.Recording.json +++ /dev/null @@ -1,278 +0,0 @@ -{ - "New-AzMySqlServer+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-2?api-version=2017-12-01+1": { - "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-2?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"createMode\": \"Default\",\n \"administratorLogin\": \"pwsh\",\n \"administratorLoginPassword\": \"Pa88word!\"\n },\n \"sku\": {\n \"name\": \"GP_Gen5_4\"\n },\n \"location\": \"eastus\"\n}", - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "198" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/4d7c6645-81d7-4604-99db-387dedcedfbf?api-version=2017-12-01" ], - "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/4d7c6645-81d7-4604-99db-387dedcedfbf?api-version=2017-12-01" ], - "x-ms-request-id": [ "4d7c6645-81d7-4604-99db-387dedcedfbf" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-correlation-request-id": [ "1bf1e0de-4884-452a-9539-72858cc51c99" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T062051Z:1bf1e0de-4884-452a-9539-72858cc51c99" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:20:50 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "73" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertElasticServer\",\"startTime\":\"2020-07-24T06:20:48.23Z\"}" - } - }, - "New-AzMySqlServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/4d7c6645-81d7-4604-99db-387dedcedfbf?api-version=2017-12-01+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/4d7c6645-81d7-4604-99db-387dedcedfbf?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "1", "2" ], - "x-ms-client-request-id": [ "bec2855d-f2c4-47db-bcb0-fb371728f286", "bec2855d-f2c4-47db-bcb0-fb371728f286" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "x-ms-request-id": [ "3110ddb3-268b-473a-b969-c8ba062d666e" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], - "x-ms-correlation-request-id": [ "4bb270d9-1b39-4b8e-906e-f2d2acea5d92" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T062152Z:4bb270d9-1b39-4b8e-906e-f2d2acea5d92" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:21:52 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"4d7c6645-81d7-4604-99db-387dedcedfbf\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T06:20:48.23Z\"}" - } - }, - "New-AzMySqlServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/4d7c6645-81d7-4604-99db-387dedcedfbf?api-version=2017-12-01+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/4d7c6645-81d7-4604-99db-387dedcedfbf?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "1", "2", "3" ], - "x-ms-client-request-id": [ "bec2855d-f2c4-47db-bcb0-fb371728f286", "bec2855d-f2c4-47db-bcb0-fb371728f286", "bec2855d-f2c4-47db-bcb0-fb371728f286" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "x-ms-request-id": [ "d24209b3-277e-45ae-bcc0-3112eab38f03" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], - "x-ms-correlation-request-id": [ "eddfc63c-74c5-4c04-8bfb-36687467f4e4" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T062253Z:eddfc63c-74c5-4c04-8bfb-36687467f4e4" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:22:52 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "106" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"4d7c6645-81d7-4604-99db-387dedcedfbf\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:20:48.23Z\"}" - } - }, - "New-AzMySqlServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-2?api-version=2017-12-01+4": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-2?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "1", "2", "3", "4" ], - "x-ms-client-request-id": [ "bec2855d-f2c4-47db-bcb0-fb371728f286", "bec2855d-f2c4-47db-bcb0-fb371728f286", "bec2855d-f2c4-47db-bcb0-fb371728f286", "bec2855d-f2c4-47db-bcb0-fb371728f286" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "6a0f1a19-7d9a-4904-809a-302c0aa654c4" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], - "x-ms-correlation-request-id": [ "b17e3561-791d-4efa-9f1d-c0340c99cc03" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T062253Z:b17e3561-791d-4efa-9f1d-c0340c99cc03" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:22:52 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "904" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"pwsh\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T06:30:50.09+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBforMySQL/servers\"}" - } - }, - "New-AzMySqlServer+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-2?api-version=2017-12-01+5": { - "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-2?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "5" ], - "x-ms-client-request-id": [ "15f27fbc-126c-44b7-b33c-063cab7ac5b3" ], - "CommandName": [ "Remove-AzMySqlServer" ], - "FullCommandName": [ "Remove-AzMySqlServer_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/e3523d76-2ed6-48f1-96b3-1f3491a51e63?api-version=2017-12-01" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/e3523d76-2ed6-48f1-96b3-1f3491a51e63?api-version=2017-12-01" ], - "x-ms-request-id": [ "e3523d76-2ed6-48f1-96b3-1f3491a51e63" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], - "x-ms-correlation-request-id": [ "5d15d1b5-46f3-48ac-905e-4ca444b7adb1" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T062254Z:5d15d1b5-46f3-48ac-905e-4ca444b7adb1" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:22:53 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "72" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"DropElasticServer\",\"startTime\":\"2020-07-24T06:22:54.223Z\"}" - } - }, - "New-AzMySqlServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/e3523d76-2ed6-48f1-96b3-1f3491a51e63?api-version=2017-12-01+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/e3523d76-2ed6-48f1-96b3-1f3491a51e63?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "5", "6" ], - "x-ms-client-request-id": [ "15f27fbc-126c-44b7-b33c-063cab7ac5b3", "15f27fbc-126c-44b7-b33c-063cab7ac5b3" ], - "CommandName": [ "Remove-AzMySqlServer", "Remove-AzMySqlServer" ], - "FullCommandName": [ "Remove-AzMySqlServer_Delete", "Remove-AzMySqlServer_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "c79a1ca0-5170-4ecb-8dc1-9daa895a0de5" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], - "x-ms-correlation-request-id": [ "04814243-c9aa-4ab3-8d8a-b98be748a2f0" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T062309Z:04814243-c9aa-4ab3-8d8a-b98be748a2f0" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:23:08 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"e3523d76-2ed6-48f1-96b3-1f3491a51e63\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:22:54.223Z\"}" - } - }, - "New-AzMySqlServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/e3523d76-2ed6-48f1-96b3-1f3491a51e63?api-version=2017-12-01+7": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/e3523d76-2ed6-48f1-96b3-1f3491a51e63?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "5", "6", "7" ], - "x-ms-client-request-id": [ "15f27fbc-126c-44b7-b33c-063cab7ac5b3", "15f27fbc-126c-44b7-b33c-063cab7ac5b3", "15f27fbc-126c-44b7-b33c-063cab7ac5b3" ], - "CommandName": [ "Remove-AzMySqlServer", "Remove-AzMySqlServer", "Remove-AzMySqlServer" ], - "FullCommandName": [ "Remove-AzMySqlServer_Delete", "Remove-AzMySqlServer_Delete", "Remove-AzMySqlServer_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "e68b2988-165f-4e40-8717-318ef9177410" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], - "x-ms-correlation-request-id": [ "737f886e-7740-407a-b063-9e77a16aae58" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T062310Z:737f886e-7740-407a-b063-9e77a16aae58" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:23:09 GMT" ] - }, - "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] - }, - "Content": null - } - } -} \ No newline at end of file diff --git a/src/MySql/test/New-AzMySqlServer.Tests.ps1 b/src/MySql/test/New-AzMySqlServer.Tests.ps1 index d23c7e3b880e..81af74e19eaa 100644 --- a/src/MySql/test/New-AzMySqlServer.Tests.ps1 +++ b/src/MySql/test/New-AzMySqlServer.Tests.ps1 @@ -5,15 +5,18 @@ if (-Not (Test-Path -Path $loadEnvPath)) { . ($loadEnvPath) $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzMySqlServer.Recording.json' $currentPath = $PSScriptRoot +Write-Output "Inside test PS script222222" while(-not $mockingPath) { $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File $currentPath = Split-Path -Path $currentPath -Parent + Write-Output "Inside test PS script33333" } . ($mockingPath | Select-Object -First 1).FullName Describe 'New-AzMySqlServer' { It 'CreateExpanded' { { + Write-Output "Inside test PS script1111" #[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] $password = 'Pa88word!' | ConvertTo-SecureString -AsPlainText -Force $server = New-AzMySqlServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Location $env.location -AdministratorUserName pwsh -AdministratorLoginPassword $password -Sku $env.Sku diff --git a/src/MySql/test/New-AzMySqlServerReplica.Recording.json b/src/MySql/test/New-AzMySqlServerReplica.Recording.json index 859830ee2fd4..0bdd1118d29f 100644 --- a/src/MySql/test/New-AzMySqlServerReplica.Recording.json +++ b/src/MySql/test/New-AzMySqlServerReplica.Recording.json @@ -1,12 +1,12 @@ { - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { - "x-ms-unique-id": [ "1" ], - "x-ms-client-request-id": [ "3b67a350-3b4c-4fc7-b71c-0e2d53227432" ], + "x-ms-unique-id": [ "19" ], + "x-ms-client-request-id": [ "71f55480-07d9-47c2-8c11-3fd8113348d4" ], "CommandName": [ "Get-AzMySqlServer" ], "FullCommandName": [ "Get-AzMySqlServer_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -17,1021 +17,24 @@ } }, "Response": { - "StatusCode": 200, + "StatusCode": 404, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "6d3f6048-f90f-4199-8645-caf84a7a7bee" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], - "x-ms-correlation-request-id": [ "8bf70234-b5a5-4f67-8c4f-f7a35352f378" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T094130Z:8bf70234-b5a5-4f67-8c4f-f7a35352f378" ], + "x-ms-failure-cause": [ "gateway" ], + "x-ms-request-id": [ "4d7b8b9f-673e-4fe1-92ea-74c555a51e47" ], + "x-ms-correlation-request-id": [ "4d7b8b9f-673e-4fe1-92ea-74c555a51e47" ], + "x-ms-routing-request-id": [ "WESTUS2:20201110T002729Z:4d7b8b9f-673e-4fe1-92ea-74c555a51e47" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 09:41:30 GMT" ] + "Date": [ "Tue, 10 Nov 2020 00:27:28 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "909" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" - } - }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+2": { - "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"createMode\": \"Replica\",\n \"sourceServerId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\"\n },\n \"location\": \"eastus\"\n}", - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "233" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01" ], - "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01" ], - "x-ms-request-id": [ "d6ce3561-ffa0-4bc6-bd34-ef770b816a4a" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-correlation-request-id": [ "47f636e0-8255-4d2f-8873-23ae86ba5c5a" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T094135Z:47f636e0-8255-4d2f-8873-23ae86ba5c5a" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 09:41:35 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "87" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"CreateElasticServerContinuousCopy\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" - } - }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3" ], - "x-ms-client-request-id": [ "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "8bc6cf1d-22ac-4022-941f-02f3fe21f558" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], - "x-ms-correlation-request-id": [ "912fe1ea-531a-4a73-9cf4-f994c13810f6" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T094206Z:912fe1ea-531a-4a73-9cf4-f994c13810f6" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 09:42:05 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" - } - }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+4": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4" ], - "x-ms-client-request-id": [ "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "926e440a-d9d7-4acf-a6fc-8579ea62e383" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], - "x-ms-correlation-request-id": [ "0b0e2bc4-ec80-426d-ac3f-87302648c0aa" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T094236Z:0b0e2bc4-ec80-426d-ac3f-87302648c0aa" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 09:42:35 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" - } - }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+5": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5" ], - "x-ms-client-request-id": [ "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "48dd90bc-6136-4594-a660-37437833288b" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], - "x-ms-correlation-request-id": [ "11cca631-8303-4119-9ee9-24c44fa07641" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T094307Z:11cca631-8303-4119-9ee9-24c44fa07641" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 09:43:06 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" - } - }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6" ], - "x-ms-client-request-id": [ "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "131b8f62-22de-4bbd-9efe-fe98acfc0627" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11980" ], - "x-ms-correlation-request-id": [ "4d39ce2c-4e62-44be-b6c1-60af802fe64d" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T094337Z:4d39ce2c-4e62-44be-b6c1-60af802fe64d" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 09:43:37 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" - } - }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+7": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7" ], - "x-ms-client-request-id": [ "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "c4c0a698-ff08-4971-a563-e1c822f6b778" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11979" ], - "x-ms-correlation-request-id": [ "57d45d28-35fb-4d64-a430-5b842e9d9195" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T094407Z:57d45d28-35fb-4d64-a430-5b842e9d9195" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 09:44:07 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" - } - }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+8": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8" ], - "x-ms-client-request-id": [ "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "e6d1147a-0626-4604-986c-8aef3b48bf79" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11978" ], - "x-ms-correlation-request-id": [ "7414c562-fdf7-4c31-b187-a3d248e6e451" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T094438Z:7414c562-fdf7-4c31-b187-a3d248e6e451" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 09:44:38 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" - } - }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+9": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9" ], - "x-ms-client-request-id": [ "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "740154c1-561b-4b74-8070-59b3bd639bcd" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11978" ], - "x-ms-correlation-request-id": [ "704658cb-1893-4c16-bb2d-47c0f8882d60" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T094508Z:704658cb-1893-4c16-bb2d-47c0f8882d60" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 09:45:08 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" - } - }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+10": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10" ], - "x-ms-client-request-id": [ "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "9baa07f4-f0c8-4198-b104-54495de75699" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11977" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-correlation-request-id": [ "8aab4332-d863-4c6e-bfa3-a6c8005ba999" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T094539Z:8aab4332-d863-4c6e-bfa3-a6c8005ba999" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 09:45:38 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" - } - }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+11": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11" ], - "x-ms-client-request-id": [ "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "6c59b9fd-aa6d-4962-8e25-eec58512bf6c" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11976" ], - "x-ms-correlation-request-id": [ "304db940-ae90-4fbc-a955-86d4594323e2" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T094609Z:304db940-ae90-4fbc-a955-86d4594323e2" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 09:46:08 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" - } - }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+12": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" ], - "x-ms-client-request-id": [ "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "8c80f8a4-04d7-44cc-a64d-a875931c740c" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11975" ], - "x-ms-correlation-request-id": [ "0fc13ccc-a6b6-4ce4-8a2e-aaba4e9149b7" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T094639Z:0fc13ccc-a6b6-4ce4-8a2e-aaba4e9149b7" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 09:46:38 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" - } - }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+13": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13" ], - "x-ms-client-request-id": [ "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "36dc9fbb-0496-48cd-8267-1320bd420924" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11974" ], - "x-ms-correlation-request-id": [ "d19fc94b-d878-49f3-93a2-ea2bdb5b9aee" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T094710Z:d19fc94b-d878-49f3-93a2-ea2bdb5b9aee" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 09:47:09 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" - } - }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+14": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14" ], - "x-ms-client-request-id": [ "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "b2e8bfed-3c5c-4503-b72f-2ae2603958f6" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11973" ], - "x-ms-correlation-request-id": [ "785cd215-bb5a-4575-91c9-02cb0a717655" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T094740Z:785cd215-bb5a-4575-91c9-02cb0a717655" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 09:47:39 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" - } - }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+15": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], - "x-ms-client-request-id": [ "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "22042138-8492-4a9e-ac4e-b174c36fd520" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11972" ], - "x-ms-correlation-request-id": [ "94dc9a1d-31b7-4536-8111-72376103f7e0" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T094811Z:94dc9a1d-31b7-4536-8111-72376103f7e0" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 09:48:10 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" - } - }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+16": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16" ], - "x-ms-client-request-id": [ "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "0db368c3-1682-4094-a922-ef43229da841" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11971" ], - "x-ms-correlation-request-id": [ "098cb28b-0b74-4c42-ad07-8d941f165980" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T094841Z:098cb28b-0b74-4c42-ad07-8d941f165980" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 09:48:41 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" - } - }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+17": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17" ], - "x-ms-client-request-id": [ "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "bbe9d734-98f7-47a4-86f5-c8cf4a1f125b" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11970" ], - "x-ms-correlation-request-id": [ "d01b45f5-090f-4886-81d3-1b067d058ad3" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T094913Z:d01b45f5-090f-4886-81d3-1b067d058ad3" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 09:49:13 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" - } - }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+18": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18" ], - "x-ms-client-request-id": [ "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "03f159f6-20a9-43f3-9325-ad72bb5dc442" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11969" ], - "x-ms-correlation-request-id": [ "c58fa2ac-6335-4ff8-a2d2-15f33db7c4e0" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T094944Z:c58fa2ac-6335-4ff8-a2d2-15f33db7c4e0" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 09:49:43 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" - } - }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+19": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19" ], - "x-ms-client-request-id": [ "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "54ed9fc2-a4f2-4130-818c-43939cace12c" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11968" ], - "x-ms-correlation-request-id": [ "e0c3637f-2313-4a5f-9fa3-5f1b90721b5c" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T095014Z:e0c3637f-2313-4a5f-9fa3-5f1b90721b5c" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 09:50:14 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" - } - }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+20": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20" ], - "x-ms-client-request-id": [ "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "196616d9-eeeb-400e-ac84-8a8fbbb53335" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11967" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-correlation-request-id": [ "8d2f5e2f-edba-413d-8dbb-c1dfddde3ffc" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T095044Z:8d2f5e2f-edba-413d-8dbb-c1dfddde3ffc" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 09:50:44 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" - } - }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+21": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21" ], - "x-ms-client-request-id": [ "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "68de72b5-178e-4cdc-816d-931bb1022981" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11966" ], - "x-ms-correlation-request-id": [ "2f726aba-0e0f-4ae5-a848-caa23a1b99c2" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T095115Z:2f726aba-0e0f-4ae5-a848-caa23a1b99c2" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 09:51:15 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" - } - }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+22": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22" ], - "x-ms-client-request-id": [ "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "b674db9f-2faa-4cd1-b117-0b8e4de59a54" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11965" ], - "x-ms-correlation-request-id": [ "f84836ae-fd6e-43a5-8b8f-35bf114c10fd" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T095146Z:f84836ae-fd6e-43a5-8b8f-35bf114c10fd" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 09:51:45 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "106" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" - } - }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+23": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23" ], - "x-ms-client-request-id": [ "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "ae5bdf2c-5cad-4df7-9347-92f777867256" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11964" ], - "x-ms-correlation-request-id": [ "bbe149d0-d551-4296-83ae-8deb198b2e1e" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T095146Z:bbe149d0-d551-4296-83ae-8deb198b2e1e" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 09:51:45 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "1062" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100-replica.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T09:53:36.52+00:00\",\"replicationRole\":\"Replica\",\"masterServerId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica\",\"name\":\"mysql-test-100-replica\",\"type\":\"Microsoft.DBforMySQL/servers\"}" - } - }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+24": { - "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "24" ], - "x-ms-client-request-id": [ "ca5ea11d-b46e-4231-8552-e04b3f25edb7" ], - "CommandName": [ "Remove-AzMySqlServer" ], - "FullCommandName": [ "Remove-AzMySqlServer_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/a473d381-9d14-4d4d-b84a-d7e6b7313515?api-version=2017-12-01" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/a473d381-9d14-4d4d-b84a-d7e6b7313515?api-version=2017-12-01" ], - "x-ms-request-id": [ "a473d381-9d14-4d4d-b84a-d7e6b7313515" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], - "x-ms-correlation-request-id": [ "7232749b-f975-49d8-875a-c5f09e8a3664" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T095147Z:7232749b-f975-49d8-875a-c5f09e8a3664" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 09:51:46 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "71" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"DropElasticServer\",\"startTime\":\"2020-07-24T09:51:47.36Z\"}" - } - }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/a473d381-9d14-4d4d-b84a-d7e6b7313515?api-version=2017-12-01+25": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/a473d381-9d14-4d4d-b84a-d7e6b7313515?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "24", "25" ], - "x-ms-client-request-id": [ "ca5ea11d-b46e-4231-8552-e04b3f25edb7", "ca5ea11d-b46e-4231-8552-e04b3f25edb7" ], - "CommandName": [ "Remove-AzMySqlServer", "Remove-AzMySqlServer" ], - "FullCommandName": [ "Remove-AzMySqlServer_Delete", "Remove-AzMySqlServer_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "62e9d394-4336-43ef-8c0a-ea4cd7c2373f" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11963" ], - "x-ms-correlation-request-id": [ "a7432e92-f967-4f8f-a129-6a322a38fab8" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T095202Z:a7432e92-f967-4f8f-a129-6a322a38fab8" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 09:52:02 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "106" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"a473d381-9d14-4d4d-b84a-d7e6b7313515\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T09:51:47.36Z\"}" - } - }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/a473d381-9d14-4d4d-b84a-d7e6b7313515?api-version=2017-12-01+26": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/a473d381-9d14-4d4d-b84a-d7e6b7313515?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "24", "25", "26" ], - "x-ms-client-request-id": [ "ca5ea11d-b46e-4231-8552-e04b3f25edb7", "ca5ea11d-b46e-4231-8552-e04b3f25edb7", "ca5ea11d-b46e-4231-8552-e04b3f25edb7" ], - "CommandName": [ "Remove-AzMySqlServer", "Remove-AzMySqlServer", "Remove-AzMySqlServer" ], - "FullCommandName": [ "Remove-AzMySqlServer_Delete", "Remove-AzMySqlServer_Delete", "Remove-AzMySqlServer_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "d5657936-9743-4fd8-a9b6-a981149adb31" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11962" ], - "x-ms-correlation-request-id": [ "5dbb42e9-ada6-4484-bb74-9a86818adfe4" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T095203Z:5dbb42e9-ada6-4484-bb74-9a86818adfe4" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 09:52:02 GMT" ] - }, - "ContentHeaders": { "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "224" ] }, - "Content": null + "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForMySQL/servers/mysql-test-100\u0027 under resource group \u0027MySqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" } } } \ No newline at end of file diff --git a/src/MySql/test/New-AzMySqlVirtualNetworkRule.Recording.json b/src/MySql/test/New-AzMySqlVirtualNetworkRule.Recording.json index bedea49cbb5a..43c22f1000f5 100644 --- a/src/MySql/test/New-AzMySqlVirtualNetworkRule.Recording.json +++ b/src/MySql/test/New-AzMySqlVirtualNetworkRule.Recording.json @@ -1,238 +1,35 @@ { - "New-AzMySqlVirtualNetworkRule+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { + "New-AzMySqlVirtualNetworkRule+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "209" ] + "Content-Length": [ "213" ] } }, "Response": { - "StatusCode": 202, + "StatusCode": 404, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/e68a0466-f700-4a65-b792-1903767f0d72?api-version=2017-12-01" ], - "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/e68a0466-f700-4a65-b792-1903767f0d72?api-version=2017-12-01" ], - "x-ms-request-id": [ "e68a0466-f700-4a65-b792-1903767f0d72" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], - "x-ms-correlation-request-id": [ "dc587ab6-fa8e-4140-959f-18aee2b1ae80" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T062438Z:dc587ab6-fa8e-4140-959f-18aee2b1ae80" ], + "x-ms-failure-cause": [ "gateway" ], + "x-ms-request-id": [ "9f7cb342-86ef-4acd-8819-461f03ad1f2d" ], + "x-ms-correlation-request-id": [ "9f7cb342-86ef-4acd-8819-461f03ad1f2d" ], + "x-ms-routing-request-id": [ "WESTUS2:20201110T002730Z:9f7cb342-86ef-4acd-8819-461f03ad1f2d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:24:37 GMT" ] + "Date": [ "Tue, 10 Nov 2020 00:27:29 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "89" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T06:24:37.15Z\"}" - } - }, - "New-AzMySqlVirtualNetworkRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/e68a0466-f700-4a65-b792-1903767f0d72?api-version=2017-12-01+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/e68a0466-f700-4a65-b792-1903767f0d72?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "1", "2" ], - "x-ms-client-request-id": [ "4d24a258-0873-4bed-b67b-abcc2aa6a60c", "4d24a258-0873-4bed-b67b-abcc2aa6a60c" ], - "CommandName": [ "New-AzMySqlVirtualNetworkRule", "New-AzMySqlVirtualNetworkRule" ], - "FullCommandName": [ "New-AzMySqlVirtualNetworkRule_CreateExpanded", "New-AzMySqlVirtualNetworkRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "c01bb68a-9f58-4cad-80f5-78bb87afda75" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], - "x-ms-correlation-request-id": [ "6982aa48-2267-4cc0-8ce1-9a228d205dde" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T062508Z:6982aa48-2267-4cc0-8ce1-9a228d205dde" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:25:08 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "106" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"e68a0466-f700-4a65-b792-1903767f0d72\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:24:37.15Z\"}" - } - }, - "New-AzMySqlVirtualNetworkRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "1", "2", "3" ], - "x-ms-client-request-id": [ "4d24a258-0873-4bed-b67b-abcc2aa6a60c", "4d24a258-0873-4bed-b67b-abcc2aa6a60c", "4d24a258-0873-4bed-b67b-abcc2aa6a60c" ], - "CommandName": [ "New-AzMySqlVirtualNetworkRule", "New-AzMySqlVirtualNetworkRule", "New-AzMySqlVirtualNetworkRule" ], - "FullCommandName": [ "New-AzMySqlVirtualNetworkRule_CreateExpanded", "New-AzMySqlVirtualNetworkRule_CreateExpanded", "New-AzMySqlVirtualNetworkRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "376aa983-6825-4f48-b8b4-e289d81cab8b" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], - "x-ms-correlation-request-id": [ "983acd3f-fc95-40af-ad4d-43755bb55790" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T062509Z:983acd3f-fc95-40af-ad4d-43755bb55790" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:25:08 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "497" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBforMySQL/servers/virtualNetworkRules\"}" - } - }, - "New-AzMySqlVirtualNetworkRule+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+4": { - "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "c2657092-7e40-48bd-a1ea-f4cee57f8ef9" ], - "CommandName": [ "Remove-AzMySqlVirtualNetworkRule" ], - "FullCommandName": [ "Remove-AzMySqlVirtualNetworkRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/d5f1ca93-3065-4c56-bed5-9d9c16b0e763?api-version=2017-12-01" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d5f1ca93-3065-4c56-bed5-9d9c16b0e763?api-version=2017-12-01" ], - "x-ms-request-id": [ "d5f1ca93-3065-4c56-bed5-9d9c16b0e763" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14996" ], - "x-ms-correlation-request-id": [ "019b0ead-c3b8-414e-afbd-05f0b8cd8a65" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T062510Z:019b0ead-c3b8-414e-afbd-05f0b8cd8a65" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:25:10 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "88" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"DropElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T06:25:09.633Z\"}" - } - }, - "New-AzMySqlVirtualNetworkRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d5f1ca93-3065-4c56-bed5-9d9c16b0e763?api-version=2017-12-01+5": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d5f1ca93-3065-4c56-bed5-9d9c16b0e763?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "4", "5" ], - "x-ms-client-request-id": [ "c2657092-7e40-48bd-a1ea-f4cee57f8ef9", "c2657092-7e40-48bd-a1ea-f4cee57f8ef9" ], - "CommandName": [ "Remove-AzMySqlVirtualNetworkRule", "Remove-AzMySqlVirtualNetworkRule" ], - "FullCommandName": [ "Remove-AzMySqlVirtualNetworkRule_Delete", "Remove-AzMySqlVirtualNetworkRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "77ae9903-b893-4126-aef4-624a704f1fea" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], - "x-ms-correlation-request-id": [ "db108ba4-22e3-491f-976b-54b036e62bf6" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T062526Z:db108ba4-22e3-491f-976b-54b036e62bf6" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:25:25 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"d5f1ca93-3065-4c56-bed5-9d9c16b0e763\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:25:09.633Z\"}" - } - }, - "New-AzMySqlVirtualNetworkRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/d5f1ca93-3065-4c56-bed5-9d9c16b0e763?api-version=2017-12-01+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/d5f1ca93-3065-4c56-bed5-9d9c16b0e763?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "4", "5", "6" ], - "x-ms-client-request-id": [ "c2657092-7e40-48bd-a1ea-f4cee57f8ef9", "c2657092-7e40-48bd-a1ea-f4cee57f8ef9", "c2657092-7e40-48bd-a1ea-f4cee57f8ef9" ], - "CommandName": [ "Remove-AzMySqlVirtualNetworkRule", "Remove-AzMySqlVirtualNetworkRule", "Remove-AzMySqlVirtualNetworkRule" ], - "FullCommandName": [ "Remove-AzMySqlVirtualNetworkRule_Delete", "Remove-AzMySqlVirtualNetworkRule_Delete", "Remove-AzMySqlVirtualNetworkRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "586d979a-e818-4a23-80ea-26cb98127171" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11980" ], - "x-ms-correlation-request-id": [ "424b6a2a-1fb1-4824-8f01-547de071e239" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T062526Z:424b6a2a-1fb1-4824-8f01-547de071e239" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:25:26 GMT" ] - }, - "ContentHeaders": { "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "155" ] }, - "Content": null + "Content": "{\"error\":{\"code\":\"ParentResourceNotFound\",\"message\":\"Can not perform requested operation on nested resource. Parent resource \u0027mysql-test-100\u0027 not found.\"}}" } } } \ No newline at end of file diff --git a/src/MySql/test/Remove-AzMySqlFirewallRule.Recording.json b/src/MySql/test/Remove-AzMySqlFirewallRule.Recording.json deleted file mode 100644 index 68f4393c9b4c..000000000000 --- a/src/MySql/test/Remove-AzMySqlFirewallRule.Recording.json +++ /dev/null @@ -1,474 +0,0 @@ -{ - "Remove-AzMySqlFirewallRule+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { - "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"endIpAddress\": \"0.0.0.1\",\n \"startIpAddress\": \"0.0.0.0\"\n }\n}", - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "88" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/028ac200-d31d-46e6-9aaf-01ff4f7b09a7?api-version=2017-12-01" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/028ac200-d31d-46e6-9aaf-01ff4f7b09a7?api-version=2017-12-01" ], - "x-ms-request-id": [ "028ac200-d31d-46e6-9aaf-01ff4f7b09a7" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], - "x-ms-correlation-request-id": [ "6fbef9e7-bd2e-414a-b25e-9cacffe62ee8" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T062916Z:6fbef9e7-bd2e-414a-b25e-9cacffe62ee8" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:29:16 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "87" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-07-24T06:29:15.293Z\"}" - } - }, - "Remove-AzMySqlFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/028ac200-d31d-46e6-9aaf-01ff4f7b09a7?api-version=2017-12-01+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/028ac200-d31d-46e6-9aaf-01ff4f7b09a7?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "1", "2" ], - "x-ms-client-request-id": [ "318cee93-d126-4056-86ae-7f6c5f5a19e4", "318cee93-d126-4056-86ae-7f6c5f5a19e4" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule" ], - "FullCommandName": [ "New-AzMySqlFirewallRule_CreateExpanded", "New-AzMySqlFirewallRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "f9142493-1d64-4281-80a7-11b8ffaa33bc" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], - "x-ms-correlation-request-id": [ "30591e81-e056-4a78-89ea-caea75e67eb8" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T062931Z:30591e81-e056-4a78-89ea-caea75e67eb8" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:29:31 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"028ac200-d31d-46e6-9aaf-01ff4f7b09a7\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:29:15.293Z\"}" - } - }, - "Remove-AzMySqlFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "1", "2", "3" ], - "x-ms-client-request-id": [ "318cee93-d126-4056-86ae-7f6c5f5a19e4", "318cee93-d126-4056-86ae-7f6c5f5a19e4", "318cee93-d126-4056-86ae-7f6c5f5a19e4" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule" ], - "FullCommandName": [ "New-AzMySqlFirewallRule_CreateExpanded", "New-AzMySqlFirewallRule_CreateExpanded", "New-AzMySqlFirewallRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "69c34683-5357-4cf9-a1fc-9807b23205ee" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], - "x-ms-correlation-request-id": [ "b509bbf8-f54f-434f-91f8-f03a84bb1122" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T062932Z:b509bbf8-f54f-434f-91f8-f03a84bb1122" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:29:32 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "305" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/servers/firewallRules\"}" - } - }, - "Remove-AzMySqlFirewallRule+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+4": { - "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "e5b4c6d1-bca0-42e1-8657-20bece8985a8" ], - "CommandName": [ "Remove-AzMySqlFirewallRule" ], - "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/5c2361da-8118-4aa9-a96c-c7f7ab422c0d?api-version=2017-12-01" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/5c2361da-8118-4aa9-a96c-c7f7ab422c0d?api-version=2017-12-01" ], - "x-ms-request-id": [ "5c2361da-8118-4aa9-a96c-c7f7ab422c0d" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14997" ], - "x-ms-correlation-request-id": [ "b8a6078d-50e9-46f8-a6c3-ad5a93488f67" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T062933Z:b8a6078d-50e9-46f8-a6c3-ad5a93488f67" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:29:33 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "84" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-07-24T06:29:32.747Z\"}" - } - }, - "Remove-AzMySqlFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/5c2361da-8118-4aa9-a96c-c7f7ab422c0d?api-version=2017-12-01+5": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/5c2361da-8118-4aa9-a96c-c7f7ab422c0d?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "4", "5" ], - "x-ms-client-request-id": [ "e5b4c6d1-bca0-42e1-8657-20bece8985a8", "e5b4c6d1-bca0-42e1-8657-20bece8985a8" ], - "CommandName": [ "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule" ], - "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "54518ee6-9317-401c-9db3-ee3640f0f2d6" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], - "x-ms-correlation-request-id": [ "e99cbe83-0a4c-4e46-b875-9dc33bc3f11a" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T062949Z:e99cbe83-0a4c-4e46-b875-9dc33bc3f11a" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:29:48 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"5c2361da-8118-4aa9-a96c-c7f7ab422c0d\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:29:32.747Z\"}" - } - }, - "Remove-AzMySqlFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/5c2361da-8118-4aa9-a96c-c7f7ab422c0d?api-version=2017-12-01+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/5c2361da-8118-4aa9-a96c-c7f7ab422c0d?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "4", "5", "6" ], - "x-ms-client-request-id": [ "e5b4c6d1-bca0-42e1-8657-20bece8985a8", "e5b4c6d1-bca0-42e1-8657-20bece8985a8", "e5b4c6d1-bca0-42e1-8657-20bece8985a8" ], - "CommandName": [ "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule" ], - "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "b35ed3b6-0ea8-4239-ae88-156db82f1fea" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], - "x-ms-correlation-request-id": [ "39235317-f98c-4df8-9f0d-2efa7b152e3a" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T062949Z:39235317-f98c-4df8-9f0d-2efa7b152e3a" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:29:49 GMT" ] - }, - "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] - }, - "Content": null - } - }, - "Remove-AzMySqlFirewallRule+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { - "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"endIpAddress\": \"0.0.0.1\",\n \"startIpAddress\": \"0.0.0.0\"\n }\n}", - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "88" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/3f510b53-f32e-4aed-84e3-aef22c9c55cd?api-version=2017-12-01" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/3f510b53-f32e-4aed-84e3-aef22c9c55cd?api-version=2017-12-01" ], - "x-ms-request-id": [ "3f510b53-f32e-4aed-84e3-aef22c9c55cd" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], - "x-ms-correlation-request-id": [ "572dcdbc-843f-48ce-90e1-12a9c296d121" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T062951Z:572dcdbc-843f-48ce-90e1-12a9c296d121" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:29:51 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "87" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-07-24T06:29:50.197Z\"}" - } - }, - "Remove-AzMySqlFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/3f510b53-f32e-4aed-84e3-aef22c9c55cd?api-version=2017-12-01+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/3f510b53-f32e-4aed-84e3-aef22c9c55cd?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "7", "8" ], - "x-ms-client-request-id": [ "7ff00f30-d36e-4975-b523-67a07004f2b1", "7ff00f30-d36e-4975-b523-67a07004f2b1" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule" ], - "FullCommandName": [ "New-AzMySqlFirewallRule_CreateExpanded", "New-AzMySqlFirewallRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "d1b47bab-578c-424f-a63f-adb40d01b4de" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], - "x-ms-correlation-request-id": [ "6383090a-ee20-4280-9259-b89ecd9a25b6" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063006Z:6383090a-ee20-4280-9259-b89ecd9a25b6" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:30:06 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"3f510b53-f32e-4aed-84e3-aef22c9c55cd\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:29:50.197Z\"}" - } - }, - "Remove-AzMySqlFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "7", "8", "9" ], - "x-ms-client-request-id": [ "7ff00f30-d36e-4975-b523-67a07004f2b1", "7ff00f30-d36e-4975-b523-67a07004f2b1", "7ff00f30-d36e-4975-b523-67a07004f2b1" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule" ], - "FullCommandName": [ "New-AzMySqlFirewallRule_CreateExpanded", "New-AzMySqlFirewallRule_CreateExpanded", "New-AzMySqlFirewallRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "7ca1d0b7-4d5f-4bca-9cc7-9d781ea9805d" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], - "x-ms-correlation-request-id": [ "301881d2-fba4-4115-99f9-cf202fdd8b74" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063007Z:301881d2-fba4-4115-99f9-cf202fdd8b74" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:30:06 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "305" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/servers/firewallRules\"}" - } - }, - "Remove-AzMySqlFirewallRule+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+4": { - "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "10" ], - "x-ms-client-request-id": [ "f2c12900-742a-4f88-bc15-254a00785c55" ], - "CommandName": [ "Remove-AzMySqlFirewallRule" ], - "FullCommandName": [ "Remove-AzMySqlFirewallRule_DeleteViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/540e290a-beb7-44fb-82b1-411e265905a9?api-version=2017-12-01" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/540e290a-beb7-44fb-82b1-411e265905a9?api-version=2017-12-01" ], - "x-ms-request-id": [ "540e290a-beb7-44fb-82b1-411e265905a9" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14998" ], - "x-ms-correlation-request-id": [ "3422287e-e725-443a-91ee-3cd6482a8fa1" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063008Z:3422287e-e725-443a-91ee-3cd6482a8fa1" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:30:08 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "84" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-07-24T06:30:07.697Z\"}" - } - }, - "Remove-AzMySqlFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/540e290a-beb7-44fb-82b1-411e265905a9?api-version=2017-12-01+5": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/540e290a-beb7-44fb-82b1-411e265905a9?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "10", "11" ], - "x-ms-client-request-id": [ "f2c12900-742a-4f88-bc15-254a00785c55", "f2c12900-742a-4f88-bc15-254a00785c55" ], - "CommandName": [ "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule" ], - "FullCommandName": [ "Remove-AzMySqlFirewallRule_DeleteViaIdentity", "Remove-AzMySqlFirewallRule_DeleteViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "a7f51368-65a5-4aae-a896-1b46cb8b434c" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], - "x-ms-correlation-request-id": [ "852c132e-18b1-4984-941b-649eee17c36e" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063024Z:852c132e-18b1-4984-941b-649eee17c36e" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:30:23 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"540e290a-beb7-44fb-82b1-411e265905a9\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:30:07.697Z\"}" - } - }, - "Remove-AzMySqlFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/540e290a-beb7-44fb-82b1-411e265905a9?api-version=2017-12-01+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/540e290a-beb7-44fb-82b1-411e265905a9?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "10", "11", "12" ], - "x-ms-client-request-id": [ "f2c12900-742a-4f88-bc15-254a00785c55", "f2c12900-742a-4f88-bc15-254a00785c55", "f2c12900-742a-4f88-bc15-254a00785c55" ], - "CommandName": [ "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule" ], - "FullCommandName": [ "Remove-AzMySqlFirewallRule_DeleteViaIdentity", "Remove-AzMySqlFirewallRule_DeleteViaIdentity", "Remove-AzMySqlFirewallRule_DeleteViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "258bd49f-df3c-4ff3-824f-de138ec92f15" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], - "x-ms-correlation-request-id": [ "6f7e78a6-b20b-4d45-a159-1191303c15b4" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063024Z:6f7e78a6-b20b-4d45-a159-1191303c15b4" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:30:23 GMT" ] - }, - "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] - }, - "Content": null - } - } -} \ No newline at end of file diff --git a/src/MySql/test/Remove-AzMySqlFlexibleServer.Recording.json b/src/MySql/test/Remove-AzMySqlFlexibleServer.Recording.json new file mode 100644 index 000000000000..0adb7870accd --- /dev/null +++ b/src/MySql/test/Remove-AzMySqlFlexibleServer.Recording.json @@ -0,0 +1,437 @@ +{ + "Remove-AzMySqlFlexibleServer+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview", + "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"administratorLogin\": \"mysql_test\",\r\n \"administratorLoginPassword\": \"Pasword01!!2020\",\r\n \"version\": \"5.7\",\r\n \"createMode\": \"Default\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "366" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/bdca3d03-d749-4999-9f97-9e9e51e4c414?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/bdca3d03-d749-4999-9f97-9e9e51e4c414?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "5bfb889a-cea3-46b8-ac5b-b85b86d50e40" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-correlation-request-id": [ "cf6194fa-a5e8-4d15-84c1-7849e7348911" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065156Z:cf6194fa-a5e8-4d15-84c1-7849e7348911" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:51:55 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "88" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-11T06:51:56.037Z\"}" + } + }, + "Remove-AzMySqlFlexibleServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/bdca3d03-d749-4999-9f97-9e9e51e4c414?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/bdca3d03-d749-4999-9f97-9e9e51e4c414?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "16" ], + "x-ms-client-request-id": [ "5b8406bf-0885-4680-b181-e5bcec747b3c" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "e3e2fe44-9831-493e-aa98-5586fcf51509" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], + "x-ms-correlation-request-id": [ "4a3d7754-cd68-49ac-95d6-060848ebb48d" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065256Z:4a3d7754-cd68-49ac-95d6-060848ebb48d" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:52:55 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "238" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"bdca3d03-d749-4999-9f97-9e9e51e4c414\",\"status\":\"Failed\",\"startTime\":\"2020-11-11T06:51:56.037Z\",\"error\":{\"code\":\"ServiceBusy\",\"message\":\"Service is temporarily busy and the operation cannot be performed. Please try again later.\"}}" + } + }, + "Remove-AzMySqlFlexibleServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "17" ], + "x-ms-client-request-id": [ "5b8406bf-0885-4680-b181-e5bcec747b3c" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "2905534a-8bb5-490c-9fd0-8bc3526ab835" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], + "x-ms-correlation-request-id": [ "31520e2f-b4a1-41bf-9904-d0008e7b9fa1" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065256Z:31520e2f-b4a1-41bf-9904-d0008e7b9fa1" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:52:55 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "937" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + } + }, + "Remove-AzMySqlFlexibleServer+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "18" ], + "x-ms-client-request-id": [ "ec002b21-df4d-4531-a3e7-7f5df9e1d653" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/East%20US%202/operationResults/4d556b7e-3b98-42e7-a094-37b3014fc819?api-version=2020-07-01-preview" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/East%20US%202/azureAsyncOperation/4d556b7e-3b98-42e7-a094-37b3014fc819?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "4d556b7e-3b98-42e7-a094-37b3014fc819" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "x-ms-correlation-request-id": [ "6c6120f7-7c07-41fb-a4a9-8d047141fc52" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065257Z:6c6120f7-7c07-41fb-a4a9-8d047141fc52" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:52:56 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "83" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropServerManagementOperation\",\"startTime\":\"2020-11-11T06:52:56.89Z\"}" + } + }, + "Remove-AzMySqlFlexibleServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/East US 2/azureAsyncOperation/4d556b7e-3b98-42e7-a094-37b3014fc819?api-version=2020-07-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/East%20US%202/azureAsyncOperation/4d556b7e-3b98-42e7-a094-37b3014fc819?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "19" ], + "x-ms-client-request-id": [ "ec002b21-df4d-4531-a3e7-7f5df9e1d653" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "16e8a091-be1f-465c-b0aa-93a0ba012d00" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], + "x-ms-correlation-request-id": [ "3818c338-f36a-4152-89d4-d9b2b6889ce4" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065312Z:3818c338-f36a-4152-89d4-d9b2b6889ce4" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:53:12 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"4d556b7e-3b98-42e7-a094-37b3014fc819\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T06:52:56.89Z\"}" + } + }, + "Remove-AzMySqlFlexibleServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/East US 2/azureAsyncOperation/4d556b7e-3b98-42e7-a094-37b3014fc819?api-version=2020-07-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/East%20US%202/azureAsyncOperation/4d556b7e-3b98-42e7-a094-37b3014fc819?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "20" ], + "x-ms-client-request-id": [ "ec002b21-df4d-4531-a3e7-7f5df9e1d653" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "bfa1ceca-003b-49e1-aa9f-838116985f50" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], + "x-ms-correlation-request-id": [ "0b2b8f9e-96a5-4fc6-b2c6-0a53a1da338c" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065327Z:0b2b8f9e-96a5-4fc6-b2c6-0a53a1da338c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:53:26 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"4d556b7e-3b98-42e7-a094-37b3014fc819\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T06:52:56.89Z\"}" + } + }, + "Remove-AzMySqlFlexibleServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/East US 2/azureAsyncOperation/4d556b7e-3b98-42e7-a094-37b3014fc819?api-version=2020-07-01-preview+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/East%20US%202/azureAsyncOperation/4d556b7e-3b98-42e7-a094-37b3014fc819?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "21" ], + "x-ms-client-request-id": [ "ec002b21-df4d-4531-a3e7-7f5df9e1d653" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "c4c9a1c5-94c1-4c70-98e3-71030dc16069" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], + "x-ms-correlation-request-id": [ "f3f144b2-25a1-4bc7-b89d-2cb8090cff05" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065342Z:f3f144b2-25a1-4bc7-b89d-2cb8090cff05" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:53:41 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"4d556b7e-3b98-42e7-a094-37b3014fc819\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T06:52:56.89Z\"}" + } + }, + "Remove-AzMySqlFlexibleServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/East US 2/operationResults/4d556b7e-3b98-42e7-a094-37b3014fc819?api-version=2020-07-01-preview+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/East%20US%202/operationResults/4d556b7e-3b98-42e7-a094-37b3014fc819?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "22" ], + "x-ms-client-request-id": [ "ec002b21-df4d-4531-a3e7-7f5df9e1d653" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "a0e72b53-2807-4c55-afea-162300be10de" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], + "x-ms-correlation-request-id": [ "e056a79d-4c62-4cbe-a106-9f0420a4e8ae" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065342Z:e056a79d-4c62-4cbe-a106-9f0420a4e8ae" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:53:42 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + }, + "Remove-AzMySqlFlexibleServer+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "23" ], + "x-ms-client-request-id": [ "c3c3e103-1ea8-4cbf-ac89-ec473b72e276" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/East%20US%202/operationResults/730c9395-f9de-4d7f-9f5d-13dccb9f8a1e?api-version=2020-07-01-preview" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/East%20US%202/azureAsyncOperation/730c9395-f9de-4d7f-9f5d-13dccb9f8a1e?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "730c9395-f9de-4d7f-9f5d-13dccb9f8a1e" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14998" ], + "x-ms-correlation-request-id": [ "ec692b74-fa56-4e76-916b-68cd459a2040" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065342Z:ec692b74-fa56-4e76-916b-68cd459a2040" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:53:42 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "83" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropServerManagementOperation\",\"startTime\":\"2020-11-11T06:53:42.78Z\"}" + } + }, + "Remove-AzMySqlFlexibleServer+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/East US 2/azureAsyncOperation/730c9395-f9de-4d7f-9f5d-13dccb9f8a1e?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/East%20US%202/azureAsyncOperation/730c9395-f9de-4d7f-9f5d-13dccb9f8a1e?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "24" ], + "x-ms-client-request-id": [ "c3c3e103-1ea8-4cbf-ac89-ec473b72e276" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "83e60d9e-d6da-48b7-86bd-b3ae0988265a" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11980" ], + "x-ms-correlation-request-id": [ "38fb205f-4e8d-441e-9e97-9fe141e9ed79" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065358Z:38fb205f-4e8d-441e-9e97-9fe141e9ed79" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:53:57 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"730c9395-f9de-4d7f-9f5d-13dccb9f8a1e\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T06:53:42.78Z\"}" + } + }, + "Remove-AzMySqlFlexibleServer+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/East US 2/operationResults/730c9395-f9de-4d7f-9f5d-13dccb9f8a1e?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/East%20US%202/operationResults/730c9395-f9de-4d7f-9f5d-13dccb9f8a1e?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "25" ], + "x-ms-client-request-id": [ "c3c3e103-1ea8-4cbf-ac89-ec473b72e276" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 204, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "fadb6289-be4c-44a5-97db-f2e2aa7b768c" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11979" ], + "x-ms-correlation-request-id": [ "da0cd39d-67e5-497c-9cd3-f3837ceea599" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065358Z:da0cd39d-67e5-497c-9cd3-f3837ceea599" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:53:57 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ] + }, + "Content": null + } + } +} \ No newline at end of file diff --git a/src/MySql/test/Remove-AzMySqlFlexibleServer.Tests.ps1 b/src/MySql/test/Remove-AzMySqlFlexibleServer.Tests.ps1 new file mode 100644 index 000000000000..57f13d9decb8 --- /dev/null +++ b/src/MySql/test/Remove-AzMySqlFlexibleServer.Tests.ps1 @@ -0,0 +1,29 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzMySqlFlexibleServer.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'Remove-AzMySqlFlexibleServer' { + It 'Delete' { + { + $password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force + New-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName -AdministratorUserName mysql_test -AdministratorLoginPassword $password + Remove-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName2 + } | Should -Not -Throw + } + + It 'DeleteViaIdentity' { + { + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySql/flexibleServers/$($env.serverName2)" + Remove-AzMySqlFlexibleServer -InputObject $ID + } | Should -Not -Throw + } +} diff --git a/src/MySql/test/Remove-AzMySqlFlexibleServerDatabase.Recording.json b/src/MySql/test/Remove-AzMySqlFlexibleServerDatabase.Recording.json new file mode 100644 index 000000000000..dfbc5db75cec --- /dev/null +++ b/src/MySql/test/Remove-AzMySqlFlexibleServerDatabase.Recording.json @@ -0,0 +1,476 @@ +{ + "Remove-AzMySqlFlexibleServerDatabase+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "Content": "{\r\n \"properties\": {\r\n \"charset\": \"latin1\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "53" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/9a03a575-bc13-408a-8bf7-fc0752b3213c?api-version=2020-07-01-preview" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/9a03a575-bc13-408a-8bf7-fc0752b3213c?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "9a03a575-bc13-408a-8bf7-fc0752b3213c" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], + "x-ms-correlation-request-id": [ "93dd418f-9d01-46b2-a6d9-d439b998b239" ], + "x-ms-routing-request-id": [ "WESTUS:20201110T220440Z:93dd418f-9d01-46b2-a6d9-d439b998b239" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 22:04:40 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "94" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerDatabaseManagementOperation\",\"startTime\":\"2020-11-10T22:04:40.043Z\"}" + } + }, + "Remove-AzMySqlFlexibleServerDatabase+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/9a03a575-bc13-408a-8bf7-fc0752b3213c?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/9a03a575-bc13-408a-8bf7-fc0752b3213c?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "17" ], + "x-ms-client-request-id": [ "f8dba345-3a8d-405f-aeed-d9420ad4ae79" ], + "CommandName": [ "New-AzMySqlFlexibleServerDatabase" ], + "FullCommandName": [ "New-AzMySqlFlexibleServerDatabase_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "74479240-2f90-449d-ac5c-aeabde39bfa1" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], + "x-ms-correlation-request-id": [ "bbfebb1e-810e-44be-9bd0-03a114ad034c" ], + "x-ms-routing-request-id": [ "WESTUS:20201110T220455Z:bbfebb1e-810e-44be-9bd0-03a114ad034c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 22:04:55 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"9a03a575-bc13-408a-8bf7-fc0752b3213c\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T22:04:40.043Z\"}" + } + }, + "Remove-AzMySqlFlexibleServerDatabase+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "18" ], + "x-ms-client-request-id": [ "f8dba345-3a8d-405f-aeed-d9420ad4ae79" ], + "CommandName": [ "New-AzMySqlFlexibleServerDatabase" ], + "FullCommandName": [ "New-AzMySqlFlexibleServerDatabase_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "0b897daa-b058-4210-96d9-827c077b9c33" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], + "x-ms-correlation-request-id": [ "4e0f1cfa-e36e-43e7-9902-0ce10129a470" ], + "x-ms-routing-request-id": [ "WESTUS:20201110T220455Z:4e0f1cfa-e36e-43e7-9902-0ce10129a470" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 22:04:55 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "304" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" + } + }, + "Remove-AzMySqlFlexibleServerDatabase+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "19" ], + "x-ms-client-request-id": [ "8c9b51c7-9081-4915-862e-1fc0c5333b26" ], + "CommandName": [ "Remove-AzMySqlFlexibleServerDatabase" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServerDatabase_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/6d069e03-8e63-4f9c-96d3-a3b9f8c3c32c?api-version=2020-07-01-preview" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/6d069e03-8e63-4f9c-96d3-a3b9f8c3c32c?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "6d069e03-8e63-4f9c-96d3-a3b9f8c3c32c" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14997" ], + "x-ms-correlation-request-id": [ "b1f0f704-f17e-4023-a353-c907323a7ff4" ], + "x-ms-routing-request-id": [ "WESTUS:20201110T220455Z:b1f0f704-f17e-4023-a353-c907323a7ff4" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 22:04:55 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "91" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropServerDatabaseManagementOperation\",\"startTime\":\"2020-11-10T22:04:55.73Z\"}" + } + }, + "Remove-AzMySqlFlexibleServerDatabase+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/6d069e03-8e63-4f9c-96d3-a3b9f8c3c32c?api-version=2020-07-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/6d069e03-8e63-4f9c-96d3-a3b9f8c3c32c?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "20" ], + "x-ms-client-request-id": [ "8c9b51c7-9081-4915-862e-1fc0c5333b26" ], + "CommandName": [ "Remove-AzMySqlFlexibleServerDatabase" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServerDatabase_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "de142f0d-486b-4b76-827c-34255625bd48" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], + "x-ms-correlation-request-id": [ "abc481b8-60a9-464e-9a10-18e4fc8190df" ], + "x-ms-routing-request-id": [ "WESTUS:20201110T220510Z:abc481b8-60a9-464e-9a10-18e4fc8190df" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 22:05:10 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"6d069e03-8e63-4f9c-96d3-a3b9f8c3c32c\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T22:04:55.73Z\"}" + } + }, + "Remove-AzMySqlFlexibleServerDatabase+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/6d069e03-8e63-4f9c-96d3-a3b9f8c3c32c?api-version=2020-07-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/6d069e03-8e63-4f9c-96d3-a3b9f8c3c32c?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "21" ], + "x-ms-client-request-id": [ "8c9b51c7-9081-4915-862e-1fc0c5333b26" ], + "CommandName": [ "Remove-AzMySqlFlexibleServerDatabase" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServerDatabase_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "93168ead-fe09-4b32-b02c-ebbaf2e43495" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], + "x-ms-correlation-request-id": [ "e29114af-3ad6-40aa-a1ed-4790cf373c7d" ], + "x-ms-routing-request-id": [ "WESTUS:20201110T220511Z:e29114af-3ad6-40aa-a1ed-4790cf373c7d" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 22:05:10 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "254" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" + } + }, + "Remove-AzMySqlFlexibleServerDatabase+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "Content": "{\r\n \"properties\": {\r\n \"charset\": \"latin1\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "53" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/8ff93cff-ab9d-4a74-82cf-f3dc286df95f?api-version=2020-07-01-preview" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/8ff93cff-ab9d-4a74-82cf-f3dc286df95f?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "8ff93cff-ab9d-4a74-82cf-f3dc286df95f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], + "x-ms-correlation-request-id": [ "441ba413-8c4e-4660-acdc-63b4a06e849c" ], + "x-ms-routing-request-id": [ "WESTUS:20201110T220511Z:441ba413-8c4e-4660-acdc-63b4a06e849c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 22:05:11 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "94" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerDatabaseManagementOperation\",\"startTime\":\"2020-11-10T22:05:11.433Z\"}" + } + }, + "Remove-AzMySqlFlexibleServerDatabase+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/8ff93cff-ab9d-4a74-82cf-f3dc286df95f?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/8ff93cff-ab9d-4a74-82cf-f3dc286df95f?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "23" ], + "x-ms-client-request-id": [ "da8225a4-4a7c-4035-8808-811e354c836e" ], + "CommandName": [ "New-AzMySqlFlexibleServerDatabase" ], + "FullCommandName": [ "New-AzMySqlFlexibleServerDatabase_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "3c301fde-6874-4168-983a-953b87e91ba6" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], + "x-ms-correlation-request-id": [ "b4569f01-08e4-483e-a922-b9bf0a158716" ], + "x-ms-routing-request-id": [ "WESTUS:20201110T220526Z:b4569f01-08e4-483e-a922-b9bf0a158716" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 22:05:26 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"8ff93cff-ab9d-4a74-82cf-f3dc286df95f\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T22:05:11.433Z\"}" + } + }, + "Remove-AzMySqlFlexibleServerDatabase+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "24" ], + "x-ms-client-request-id": [ "da8225a4-4a7c-4035-8808-811e354c836e" ], + "CommandName": [ "New-AzMySqlFlexibleServerDatabase" ], + "FullCommandName": [ "New-AzMySqlFlexibleServerDatabase_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "77678ac7-a950-4928-b47c-54fc8c09c25d" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], + "x-ms-correlation-request-id": [ "98e317e4-f78f-4064-8131-d40cd5de0ff3" ], + "x-ms-routing-request-id": [ "WESTUS:20201110T220527Z:98e317e4-f78f-4064-8131-d40cd5de0ff3" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 22:05:26 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "304" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" + } + }, + "Remove-AzMySqlFlexibleServerDatabase+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "25" ], + "x-ms-client-request-id": [ "3d4837e5-30d5-4699-98ac-f78c0428faa2" ], + "CommandName": [ "Remove-AzMySqlFlexibleServerDatabase" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServerDatabase_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/3262281a-3911-4b7c-84c3-a41cf2e5b3b4?api-version=2020-07-01-preview" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3262281a-3911-4b7c-84c3-a41cf2e5b3b4?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "3262281a-3911-4b7c-84c3-a41cf2e5b3b4" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14996" ], + "x-ms-correlation-request-id": [ "5bdc071d-c294-4133-a446-0aa9256ef1bd" ], + "x-ms-routing-request-id": [ "WESTUS:20201110T220527Z:5bdc071d-c294-4133-a446-0aa9256ef1bd" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 22:05:26 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "92" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropServerDatabaseManagementOperation\",\"startTime\":\"2020-11-10T22:05:27.217Z\"}" + } + }, + "Remove-AzMySqlFlexibleServerDatabase+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3262281a-3911-4b7c-84c3-a41cf2e5b3b4?api-version=2020-07-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3262281a-3911-4b7c-84c3-a41cf2e5b3b4?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "26" ], + "x-ms-client-request-id": [ "3d4837e5-30d5-4699-98ac-f78c0428faa2" ], + "CommandName": [ "Remove-AzMySqlFlexibleServerDatabase" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServerDatabase_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "060bb1db-d62f-4ebe-bdbf-ba24214010e4" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11980" ], + "x-ms-correlation-request-id": [ "1dc9d789-f051-4558-91d7-06b86f9cd424" ], + "x-ms-routing-request-id": [ "WESTUS:20201110T220542Z:1dc9d789-f051-4558-91d7-06b86f9cd424" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 22:05:41 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"3262281a-3911-4b7c-84c3-a41cf2e5b3b4\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T22:05:27.217Z\"}" + } + }, + "Remove-AzMySqlFlexibleServerDatabase+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/3262281a-3911-4b7c-84c3-a41cf2e5b3b4?api-version=2020-07-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/3262281a-3911-4b7c-84c3-a41cf2e5b3b4?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "27" ], + "x-ms-client-request-id": [ "3d4837e5-30d5-4699-98ac-f78c0428faa2" ], + "CommandName": [ "Remove-AzMySqlFlexibleServerDatabase" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServerDatabase_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "2e28984d-0930-431e-9873-0dd6a2f39e25" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11979" ], + "x-ms-correlation-request-id": [ "d16f6aaf-70b8-439f-8086-68f1b227cc0e" ], + "x-ms-routing-request-id": [ "WESTUS:20201110T220542Z:d16f6aaf-70b8-439f-8086-68f1b227cc0e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 22:05:42 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "254" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" + } + } +} \ No newline at end of file diff --git a/src/MySql/test/Remove-AzMySqlFlexibleServerDatabase.Tests.ps1 b/src/MySql/test/Remove-AzMySqlFlexibleServerDatabase.Tests.ps1 new file mode 100644 index 000000000000..12efec8b0e93 --- /dev/null +++ b/src/MySql/test/Remove-AzMySqlFlexibleServerDatabase.Tests.ps1 @@ -0,0 +1,29 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzMySqlFlexibleServerDatabase.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'Remove-AzMySqlFlexibleServerDatabase' { + It 'Delete' { + { + New-AzMySqlFlexibleServerDatabase -Name $env.databaseName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -Charset latin1 + Remove-AzMySqlFlexibleServerDatabase -Name $env.databaseName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName + } | Should -Not -Throw + } + + It 'DeleteViaIdentity' { + { + New-AzMySqlFlexibleServerDatabase -Name $env.databaseName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -Charset latin1 + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySql/flexibleServers/$($env.serverName)/databases/$($env.databaseName)" + Remove-AzMySqlFlexibleServerDatabase -Name $env.databaseName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName + } | Should -Not -Throw + } +} diff --git a/src/MySql/test/Remove-AzMySqlFlexibleServerFirewallRule.Recording.json b/src/MySql/test/Remove-AzMySqlFlexibleServerFirewallRule.Recording.json new file mode 100644 index 000000000000..8c83f9ed2ba8 --- /dev/null +++ b/src/MySql/test/Remove-AzMySqlFlexibleServerFirewallRule.Recording.json @@ -0,0 +1,474 @@ +{ + "Remove-AzMySqlFlexibleServerFirewallRule+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "93" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/c9876e71-00f7-42b9-a772-660c5061b600?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c9876e71-00f7-42b9-a772-660c5061b600?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "c9876e71-00f7-42b9-a772-660c5061b600" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "54cfe3e3-3913-4a85-a712-9401ddd02158" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T092820Z:54cfe3e3-3913-4a85-a712-9401ddd02158" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 09:28:20 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "99" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-10T09:28:20.113Z\"}" + } + }, + "Remove-AzMySqlFlexibleServerFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c9876e71-00f7-42b9-a772-660c5061b600?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c9876e71-00f7-42b9-a772-660c5061b600?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "2" ], + "x-ms-client-request-id": [ "1fe0cab0-3806-4205-8d4c-a07b90afdb5b" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "New-AzMySqlFlexibleServerFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "91671f14-9d04-4e1e-a892-8e7ed8e582ad" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-correlation-request-id": [ "5088f1c3-926b-41f0-abd8-b3820e7d2dde" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T092920Z:5088f1c3-926b-41f0-abd8-b3820e7d2dde" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 09:29:19 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"c9876e71-00f7-42b9-a772-660c5061b600\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T09:28:20.113Z\"}" + } + }, + "Remove-AzMySqlFlexibleServerFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "3" ], + "x-ms-client-request-id": [ "1fe0cab0-3806-4205-8d4c-a07b90afdb5b" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "New-AzMySqlFlexibleServerFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "483df80c-911f-4d72-8f0f-a8047c0c83b1" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-correlation-request-id": [ "60cc8f3c-d73c-463f-b7d4-2a4355dd35f3" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T092921Z:60cc8f3c-d73c-463f-b7d4-2a4355dd35f3" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 09:29:20 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "149" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}" + } + }, + "Remove-AzMySqlFlexibleServerFirewallRule+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "bf2ea355-bf97-47ea-9160-9bf23243c694" ], + "CommandName": [ "Remove-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServerFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/28ac55df-fd9a-4a50-935c-c11cf7248948?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/28ac55df-fd9a-4a50-935c-c11cf7248948?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "28ac55df-fd9a-4a50-935c-c11cf7248948" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "x-ms-correlation-request-id": [ "01cb0390-a6e3-4bf8-8ad6-41e01d40fac2" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T092921Z:01cb0390-a6e3-4bf8-8ad6-41e01d40fac2" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 09:29:20 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "97" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-10T09:29:21.357Z\"}" + } + }, + "Remove-AzMySqlFlexibleServerFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/28ac55df-fd9a-4a50-935c-c11cf7248948?api-version=2020-07-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/28ac55df-fd9a-4a50-935c-c11cf7248948?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "5" ], + "x-ms-client-request-id": [ "bf2ea355-bf97-47ea-9160-9bf23243c694" ], + "CommandName": [ "Remove-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServerFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "3f5427e1-ddb8-43a9-b86b-d7d48228d3bc" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-correlation-request-id": [ "0ce582db-f80e-4fd8-9b79-6b9dc1828192" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T093022Z:0ce582db-f80e-4fd8-9b79-6b9dc1828192" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 09:30:21 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"28ac55df-fd9a-4a50-935c-c11cf7248948\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T09:29:21.357Z\"}" + } + }, + "Remove-AzMySqlFlexibleServerFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/28ac55df-fd9a-4a50-935c-c11cf7248948?api-version=2020-07-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/28ac55df-fd9a-4a50-935c-c11cf7248948?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "6" ], + "x-ms-client-request-id": [ "bf2ea355-bf97-47ea-9160-9bf23243c694" ], + "CommandName": [ "Remove-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServerFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "cbe91961-a1a4-4597-af06-368de9931ac6" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "4de1f650-5bd2-4ed5-abe2-dd2a03c1cb52" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T093022Z:4de1f650-5bd2-4ed5-abe2-dd2a03c1cb52" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 09:30:21 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + }, + "Remove-AzMySqlFlexibleServerFirewallRule+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "93" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/db072919-e68c-46c6-aeba-c8363014728e?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/db072919-e68c-46c6-aeba-c8363014728e?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "db072919-e68c-46c6-aeba-c8363014728e" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-correlation-request-id": [ "64d45bb7-f9b3-4c40-8be5-bc48575623ba" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T093022Z:64d45bb7-f9b3-4c40-8be5-bc48575623ba" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 09:30:22 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "97" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-10T09:30:22.8Z\"}" + } + }, + "Remove-AzMySqlFlexibleServerFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/db072919-e68c-46c6-aeba-c8363014728e?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/db072919-e68c-46c6-aeba-c8363014728e?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "8" ], + "x-ms-client-request-id": [ "a82ac8c9-b643-42d7-b900-2b86e4d22b66" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "New-AzMySqlFlexibleServerFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "42ef946d-c4dd-4c72-9854-291d3f4819a6" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-correlation-request-id": [ "830b154b-065d-457d-b07f-d64e0a0ab886" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T093123Z:830b154b-065d-457d-b07f-d64e0a0ab886" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 09:31:22 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "105" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"db072919-e68c-46c6-aeba-c8363014728e\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T09:30:22.8Z\"}" + } + }, + "Remove-AzMySqlFlexibleServerFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "9" ], + "x-ms-client-request-id": [ "a82ac8c9-b643-42d7-b900-2b86e4d22b66" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "New-AzMySqlFlexibleServerFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "888de5f0-b9c1-4aca-bde7-2ccb315829e6" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "24d5c5fd-3bbe-450d-be56-1711572f1c23" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T093123Z:24d5c5fd-3bbe-450d-be56-1711572f1c23" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 09:31:23 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "149" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}" + } + }, + "Remove-AzMySqlFlexibleServerFirewallRule+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "10" ], + "x-ms-client-request-id": [ "b908617a-a950-4b5e-9020-738a99bd8efd" ], + "CommandName": [ "Remove-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServerFirewallRule_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/cfaf7411-7727-464b-a2f0-fdaa87a32d73?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/cfaf7411-7727-464b-a2f0-fdaa87a32d73?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "cfaf7411-7727-464b-a2f0-fdaa87a32d73" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14998" ], + "x-ms-correlation-request-id": [ "ec81dd01-40f8-4159-b141-17d730b91fe2" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T093123Z:ec81dd01-40f8-4159-b141-17d730b91fe2" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 09:31:23 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "97" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-10T09:31:23.723Z\"}" + } + }, + "Remove-AzMySqlFlexibleServerFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/cfaf7411-7727-464b-a2f0-fdaa87a32d73?api-version=2020-07-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/cfaf7411-7727-464b-a2f0-fdaa87a32d73?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "11" ], + "x-ms-client-request-id": [ "b908617a-a950-4b5e-9020-738a99bd8efd" ], + "CommandName": [ "Remove-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServerFirewallRule_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "e4aa8366-9dda-46d7-b670-800977b7b926" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "db527392-f298-4327-a072-b973cd2051bf" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T093224Z:db527392-f298-4327-a072-b973cd2051bf" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 09:32:23 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"cfaf7411-7727-464b-a2f0-fdaa87a32d73\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T09:31:23.723Z\"}" + } + }, + "Remove-AzMySqlFlexibleServerFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/cfaf7411-7727-464b-a2f0-fdaa87a32d73?api-version=2020-07-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/cfaf7411-7727-464b-a2f0-fdaa87a32d73?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "12" ], + "x-ms-client-request-id": [ "b908617a-a950-4b5e-9020-738a99bd8efd" ], + "CommandName": [ "Remove-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServerFirewallRule_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "5a0d7b8a-177c-4d46-b533-6f2b44e18c10" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "8540d9cc-94c7-479c-99e7-41563c5781b5" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T093224Z:8540d9cc-94c7-479c-99e7-41563c5781b5" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 09:32:24 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + } +} \ No newline at end of file diff --git a/src/MySql/test/Remove-AzMySqlFlexibleServerFirewallRule.Tests.ps1 b/src/MySql/test/Remove-AzMySqlFlexibleServerFirewallRule.Tests.ps1 new file mode 100644 index 000000000000..d73881c78f59 --- /dev/null +++ b/src/MySql/test/Remove-AzMySqlFlexibleServerFirewallRule.Tests.ps1 @@ -0,0 +1,25 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzMySqlFlexibleServerFirewallRule.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'Remove-AzMySqlFlexibleServerFirewallRule' { + It 'Delete' { + New-AzMySqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 + Remove-AzMySqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName + } + + It 'DeleteViaIdentity' { + New-AzMySqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySql/flexibleServers/$($env.serverName)/firewallRules/$($env.firewallRuleName)" + Remove-AzMySqlFlexibleServerFirewallRule -InputObject $ID + } +} diff --git a/src/MySql/test/Remove-AzMySqlServer.Recording.json b/src/MySql/test/Remove-AzMySqlServer.Recording.json deleted file mode 100644 index 02af92c09120..000000000000 --- a/src/MySql/test/Remove-AzMySqlServer.Recording.json +++ /dev/null @@ -1,554 +0,0 @@ -{ - "Remove-AzMySqlServer+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-2?api-version=2017-12-01+1": { - "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-2?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"createMode\": \"Default\",\n \"administratorLogin\": \"pwsh\",\n \"administratorLoginPassword\": \"Pa88word!\"\n },\n \"sku\": {\n \"name\": \"GP_Gen5_4\"\n },\n \"location\": \"eastus\"\n}", - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "198" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/151e2111-8c01-41f2-b1c4-10650c66ab6c?api-version=2017-12-01" ], - "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/151e2111-8c01-41f2-b1c4-10650c66ab6c?api-version=2017-12-01" ], - "x-ms-request-id": [ "151e2111-8c01-41f2-b1c4-10650c66ab6c" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-correlation-request-id": [ "1f11f495-6cb3-4412-8592-6c093e708116" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063239Z:1f11f495-6cb3-4412-8592-6c093e708116" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:32:39 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "74" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertElasticServer\",\"startTime\":\"2020-07-24T06:32:38.043Z\"}" - } - }, - "Remove-AzMySqlServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/151e2111-8c01-41f2-b1c4-10650c66ab6c?api-version=2017-12-01+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/151e2111-8c01-41f2-b1c4-10650c66ab6c?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "1", "2" ], - "x-ms-client-request-id": [ "a65f55c7-54b5-472b-b096-3260deb652e7", "a65f55c7-54b5-472b-b096-3260deb652e7" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "x-ms-request-id": [ "59b5c4d7-d83b-48e8-a011-0cb90709e9e3" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], - "x-ms-correlation-request-id": [ "ec9fb2fb-f890-4a46-8646-a617576081c6" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063339Z:ec9fb2fb-f890-4a46-8646-a617576081c6" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:33:39 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"151e2111-8c01-41f2-b1c4-10650c66ab6c\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T06:32:38.043Z\"}" - } - }, - "Remove-AzMySqlServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/151e2111-8c01-41f2-b1c4-10650c66ab6c?api-version=2017-12-01+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/151e2111-8c01-41f2-b1c4-10650c66ab6c?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "1", "2", "3" ], - "x-ms-client-request-id": [ "a65f55c7-54b5-472b-b096-3260deb652e7", "a65f55c7-54b5-472b-b096-3260deb652e7", "a65f55c7-54b5-472b-b096-3260deb652e7" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "x-ms-request-id": [ "4a39db80-8126-4937-9f0f-44d06c3c398d" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], - "x-ms-correlation-request-id": [ "e4fafab3-26da-4e33-af24-82dba54f423b" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063440Z:e4fafab3-26da-4e33-af24-82dba54f423b" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:34:40 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"151e2111-8c01-41f2-b1c4-10650c66ab6c\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:32:38.043Z\"}" - } - }, - "Remove-AzMySqlServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-2?api-version=2017-12-01+4": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-2?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "1", "2", "3", "4" ], - "x-ms-client-request-id": [ "a65f55c7-54b5-472b-b096-3260deb652e7", "a65f55c7-54b5-472b-b096-3260deb652e7", "a65f55c7-54b5-472b-b096-3260deb652e7", "a65f55c7-54b5-472b-b096-3260deb652e7" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "9d2225f3-7b78-4b48-bb5f-13d9a27c2428" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11980" ], - "x-ms-correlation-request-id": [ "eded30b6-ddb6-4085-a2b2-568699c991d7" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063441Z:eded30b6-ddb6-4085-a2b2-568699c991d7" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:34:40 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "905" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"pwsh\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T06:42:38.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBforMySQL/servers\"}" - } - }, - "Remove-AzMySqlServer+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-2?api-version=2017-12-01+5": { - "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-2?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "5" ], - "x-ms-client-request-id": [ "333dbdd6-1744-4299-bb86-c2201ad30417" ], - "CommandName": [ "Remove-AzMySqlServer" ], - "FullCommandName": [ "Remove-AzMySqlServer_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/97c1573e-d290-468d-9125-214a3918622a?api-version=2017-12-01" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/97c1573e-d290-468d-9125-214a3918622a?api-version=2017-12-01" ], - "x-ms-request-id": [ "97c1573e-d290-468d-9125-214a3918622a" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], - "x-ms-correlation-request-id": [ "dc42dff3-8ed7-4f35-bfc3-377acede0e5f" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063442Z:dc42dff3-8ed7-4f35-bfc3-377acede0e5f" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:34:41 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "71" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"DropElasticServer\",\"startTime\":\"2020-07-24T06:34:41.87Z\"}" - } - }, - "Remove-AzMySqlServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/97c1573e-d290-468d-9125-214a3918622a?api-version=2017-12-01+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/97c1573e-d290-468d-9125-214a3918622a?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "5", "6" ], - "x-ms-client-request-id": [ "333dbdd6-1744-4299-bb86-c2201ad30417", "333dbdd6-1744-4299-bb86-c2201ad30417" ], - "CommandName": [ "Remove-AzMySqlServer", "Remove-AzMySqlServer" ], - "FullCommandName": [ "Remove-AzMySqlServer_Delete", "Remove-AzMySqlServer_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "2b4bf993-e9b2-4553-8532-ca480198681f" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11979" ], - "x-ms-correlation-request-id": [ "6f0b467a-9492-4de5-a874-06992c9dae52" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063457Z:6f0b467a-9492-4de5-a874-06992c9dae52" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:34:56 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "106" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"97c1573e-d290-468d-9125-214a3918622a\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:34:41.87Z\"}" - } - }, - "Remove-AzMySqlServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/97c1573e-d290-468d-9125-214a3918622a?api-version=2017-12-01+7": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/97c1573e-d290-468d-9125-214a3918622a?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "5", "6", "7" ], - "x-ms-client-request-id": [ "333dbdd6-1744-4299-bb86-c2201ad30417", "333dbdd6-1744-4299-bb86-c2201ad30417", "333dbdd6-1744-4299-bb86-c2201ad30417" ], - "CommandName": [ "Remove-AzMySqlServer", "Remove-AzMySqlServer", "Remove-AzMySqlServer" ], - "FullCommandName": [ "Remove-AzMySqlServer_Delete", "Remove-AzMySqlServer_Delete", "Remove-AzMySqlServer_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "8b91628e-339e-49dd-a22b-3b9d4f7251d3" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11978" ], - "x-ms-correlation-request-id": [ "af3f285e-2b2b-438b-887c-76f98db7b3e3" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063457Z:af3f285e-2b2b-438b-887c-76f98db7b3e3" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:34:57 GMT" ] - }, - "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] - }, - "Content": null - } - }, - "Remove-AzMySqlServer+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysqldelete?api-version=2017-12-01+1": { - "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysqldelete?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"createMode\": \"Default\",\n \"administratorLogin\": \"pwsh\",\n \"administratorLoginPassword\": \"Pa88word!\"\n },\n \"sku\": {\n \"name\": \"GP_Gen5_4\"\n },\n \"location\": \"eastus\"\n}", - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "198" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/8185fd38-6088-4c65-8794-54b454afd13e?api-version=2017-12-01" ], - "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/8185fd38-6088-4c65-8794-54b454afd13e?api-version=2017-12-01" ], - "x-ms-request-id": [ "8185fd38-6088-4c65-8794-54b454afd13e" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], - "x-ms-correlation-request-id": [ "29344297-7ce7-43a0-902b-875aa1ecfb4d" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063504Z:29344297-7ce7-43a0-902b-875aa1ecfb4d" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:35:03 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "74" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertElasticServer\",\"startTime\":\"2020-07-24T06:35:02.823Z\"}" - } - }, - "Remove-AzMySqlServer+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/8185fd38-6088-4c65-8794-54b454afd13e?api-version=2017-12-01+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/8185fd38-6088-4c65-8794-54b454afd13e?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "8", "9" ], - "x-ms-client-request-id": [ "c351c1fe-75b5-4bc8-a958-4e9d37e742db", "c351c1fe-75b5-4bc8-a958-4e9d37e742db" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "x-ms-request-id": [ "d5ea7d90-2f85-4686-b574-b1d9c3ffecf4" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11977" ], - "x-ms-correlation-request-id": [ "1c17f95d-9003-4c5c-b8b4-ccdda16e5af6" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063605Z:1c17f95d-9003-4c5c-b8b4-ccdda16e5af6" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:36:05 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"8185fd38-6088-4c65-8794-54b454afd13e\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T06:35:02.823Z\"}" - } - }, - "Remove-AzMySqlServer+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/8185fd38-6088-4c65-8794-54b454afd13e?api-version=2017-12-01+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/8185fd38-6088-4c65-8794-54b454afd13e?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "8", "9", "10" ], - "x-ms-client-request-id": [ "c351c1fe-75b5-4bc8-a958-4e9d37e742db", "c351c1fe-75b5-4bc8-a958-4e9d37e742db", "c351c1fe-75b5-4bc8-a958-4e9d37e742db" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "x-ms-request-id": [ "a1c693a8-d66f-4a86-bfd6-297e2b1d4c8d" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11976" ], - "x-ms-correlation-request-id": [ "8f21a533-016a-4003-8f0a-2499ba259263" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063706Z:8f21a533-016a-4003-8f0a-2499ba259263" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:37:05 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"8185fd38-6088-4c65-8794-54b454afd13e\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:35:02.823Z\"}" - } - }, - "Remove-AzMySqlServer+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysqldelete?api-version=2017-12-01+4": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysqldelete?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "8", "9", "10", "11" ], - "x-ms-client-request-id": [ "c351c1fe-75b5-4bc8-a958-4e9d37e742db", "c351c1fe-75b5-4bc8-a958-4e9d37e742db", "c351c1fe-75b5-4bc8-a958-4e9d37e742db", "c351c1fe-75b5-4bc8-a958-4e9d37e742db" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "df99e724-c222-43ea-ab7b-0a1edc076cd0" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11975" ], - "x-ms-correlation-request-id": [ "56d77769-018d-4d1b-b1c3-3585b15595b7" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063706Z:56d77769-018d-4d1b-b1c3-3585b15595b7" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:37:05 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "890" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"pwsh\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysqldelete.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T06:45:03.153+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysqldelete\",\"name\":\"mysqldelete\",\"type\":\"Microsoft.DBforMySQL/servers\"}" - } - }, - "Remove-AzMySqlServer+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysqldelete?api-version=2017-12-01+5": { - "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysqldelete?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "12" ], - "x-ms-client-request-id": [ "c2a862ad-8bec-4eed-9d3f-adae77916fdc" ], - "CommandName": [ "Remove-AzMySqlServer" ], - "FullCommandName": [ "Remove-AzMySqlServer_DeleteViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/ea807a1c-c746-461a-8f14-e6c67760a835?api-version=2017-12-01" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ea807a1c-c746-461a-8f14-e6c67760a835?api-version=2017-12-01" ], - "x-ms-request-id": [ "ea807a1c-c746-461a-8f14-e6c67760a835" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14998" ], - "x-ms-correlation-request-id": [ "f3e07c64-0cd3-46e9-9e98-f0a3e8edc379" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063707Z:f3e07c64-0cd3-46e9-9e98-f0a3e8edc379" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:37:06 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "72" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"DropElasticServer\",\"startTime\":\"2020-07-24T06:37:07.093Z\"}" - } - }, - "Remove-AzMySqlServer+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ea807a1c-c746-461a-8f14-e6c67760a835?api-version=2017-12-01+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ea807a1c-c746-461a-8f14-e6c67760a835?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "12", "13" ], - "x-ms-client-request-id": [ "c2a862ad-8bec-4eed-9d3f-adae77916fdc", "c2a862ad-8bec-4eed-9d3f-adae77916fdc" ], - "CommandName": [ "Remove-AzMySqlServer", "Remove-AzMySqlServer" ], - "FullCommandName": [ "Remove-AzMySqlServer_DeleteViaIdentity", "Remove-AzMySqlServer_DeleteViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "8ce245ee-3c94-4639-9d0a-27f845b47547" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11974" ], - "x-ms-correlation-request-id": [ "a73d37fc-09ac-4b2b-8bfe-365beed77ef3" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063722Z:a73d37fc-09ac-4b2b-8bfe-365beed77ef3" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:37:21 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"ea807a1c-c746-461a-8f14-e6c67760a835\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:37:07.093Z\"}" - } - }, - "Remove-AzMySqlServer+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/ea807a1c-c746-461a-8f14-e6c67760a835?api-version=2017-12-01+7": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/ea807a1c-c746-461a-8f14-e6c67760a835?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "12", "13", "14" ], - "x-ms-client-request-id": [ "c2a862ad-8bec-4eed-9d3f-adae77916fdc", "c2a862ad-8bec-4eed-9d3f-adae77916fdc", "c2a862ad-8bec-4eed-9d3f-adae77916fdc" ], - "CommandName": [ "Remove-AzMySqlServer", "Remove-AzMySqlServer", "Remove-AzMySqlServer" ], - "FullCommandName": [ "Remove-AzMySqlServer_DeleteViaIdentity", "Remove-AzMySqlServer_DeleteViaIdentity", "Remove-AzMySqlServer_DeleteViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "9fe124c0-27c5-40c1-a8cb-178a0df00814" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11973" ], - "x-ms-correlation-request-id": [ "f89bd596-bedc-4004-9723-7a54bece52e6" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063722Z:f89bd596-bedc-4004-9723-7a54bece52e6" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:37:21 GMT" ] - }, - "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] - }, - "Content": null - } - } -} \ No newline at end of file diff --git a/src/MySql/test/Remove-AzMySqlVirtualNetworkRule.Recording.json b/src/MySql/test/Remove-AzMySqlVirtualNetworkRule.Recording.json index 434ac7e9d010..cdf9dfbe5a63 100644 --- a/src/MySql/test/Remove-AzMySqlVirtualNetworkRule.Recording.json +++ b/src/MySql/test/Remove-AzMySqlVirtualNetworkRule.Recording.json @@ -1,474 +1,68 @@ { - "Remove-AzMySqlVirtualNetworkRule+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { + "Remove-AzMySqlVirtualNetworkRule+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "209" ] + "Content-Length": [ "213" ] } }, "Response": { - "StatusCode": 202, + "StatusCode": 404, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/9e644f70-57e5-4b70-9db2-db45be70fdcd?api-version=2017-12-01" ], - "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9e644f70-57e5-4b70-9db2-db45be70fdcd?api-version=2017-12-01" ], - "x-ms-request-id": [ "9e644f70-57e5-4b70-9db2-db45be70fdcd" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-correlation-request-id": [ "03b6946f-9a36-4599-9e38-cd73f4e54c66" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063811Z:03b6946f-9a36-4599-9e38-cd73f4e54c66" ], + "x-ms-failure-cause": [ "gateway" ], + "x-ms-request-id": [ "7f172816-e3de-4873-a2ea-f6e098268156" ], + "x-ms-correlation-request-id": [ "7f172816-e3de-4873-a2ea-f6e098268156" ], + "x-ms-routing-request-id": [ "WESTUS2:20201110T002732Z:7f172816-e3de-4873-a2ea-f6e098268156" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:38:11 GMT" ] + "Date": [ "Tue, 10 Nov 2020 00:27:31 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "90" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T06:38:10.287Z\"}" - } - }, - "Remove-AzMySqlVirtualNetworkRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9e644f70-57e5-4b70-9db2-db45be70fdcd?api-version=2017-12-01+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9e644f70-57e5-4b70-9db2-db45be70fdcd?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "1", "2" ], - "x-ms-client-request-id": [ "e3bd6c47-27c6-4adb-aa8b-5f88439f4a32", "e3bd6c47-27c6-4adb-aa8b-5f88439f4a32" ], - "CommandName": [ "New-AzMySqlVirtualNetworkRule", "New-AzMySqlVirtualNetworkRule" ], - "FullCommandName": [ "New-AzMySqlVirtualNetworkRule_CreateExpanded", "New-AzMySqlVirtualNetworkRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "869c38b7-478f-400d-ba8b-2f7e70b41d33" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], - "x-ms-correlation-request-id": [ "95b33487-5758-4a10-b00e-2ddf97a5bf6f" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063841Z:95b33487-5758-4a10-b00e-2ddf97a5bf6f" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:38:41 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"9e644f70-57e5-4b70-9db2-db45be70fdcd\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:38:10.287Z\"}" - } - }, - "Remove-AzMySqlVirtualNetworkRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "1", "2", "3" ], - "x-ms-client-request-id": [ "e3bd6c47-27c6-4adb-aa8b-5f88439f4a32", "e3bd6c47-27c6-4adb-aa8b-5f88439f4a32", "e3bd6c47-27c6-4adb-aa8b-5f88439f4a32" ], - "CommandName": [ "New-AzMySqlVirtualNetworkRule", "New-AzMySqlVirtualNetworkRule", "New-AzMySqlVirtualNetworkRule" ], - "FullCommandName": [ "New-AzMySqlVirtualNetworkRule_CreateExpanded", "New-AzMySqlVirtualNetworkRule_CreateExpanded", "New-AzMySqlVirtualNetworkRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "d9bd50d2-38a4-4088-936f-9d55fc767315" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], - "x-ms-correlation-request-id": [ "00e06a46-2659-4b31-9fd7-4cd02b2472cf" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063842Z:00e06a46-2659-4b31-9fd7-4cd02b2472cf" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:38:41 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "497" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBforMySQL/servers/virtualNetworkRules\"}" - } - }, - "Remove-AzMySqlVirtualNetworkRule+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+4": { - "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "cc6af0c2-59bb-40a0-8556-aa3d8dd0220c" ], - "CommandName": [ "Remove-AzMySqlVirtualNetworkRule" ], - "FullCommandName": [ "Remove-AzMySqlVirtualNetworkRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/dda26a0e-016a-4868-8b3e-9835cfc00214?api-version=2017-12-01" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/dda26a0e-016a-4868-8b3e-9835cfc00214?api-version=2017-12-01" ], - "x-ms-request-id": [ "dda26a0e-016a-4868-8b3e-9835cfc00214" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], - "x-ms-correlation-request-id": [ "8f076af5-bdd2-4aa7-b66d-ac8581615cb8" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063843Z:8f076af5-bdd2-4aa7-b66d-ac8581615cb8" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:38:43 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "87" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"DropElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T06:38:42.74Z\"}" - } - }, - "Remove-AzMySqlVirtualNetworkRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/dda26a0e-016a-4868-8b3e-9835cfc00214?api-version=2017-12-01+5": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/dda26a0e-016a-4868-8b3e-9835cfc00214?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "4", "5" ], - "x-ms-client-request-id": [ "cc6af0c2-59bb-40a0-8556-aa3d8dd0220c", "cc6af0c2-59bb-40a0-8556-aa3d8dd0220c" ], - "CommandName": [ "Remove-AzMySqlVirtualNetworkRule", "Remove-AzMySqlVirtualNetworkRule" ], - "FullCommandName": [ "Remove-AzMySqlVirtualNetworkRule_Delete", "Remove-AzMySqlVirtualNetworkRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "4bfc3a76-38f0-4c2b-8f85-2b98a3cc1243" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], - "x-ms-correlation-request-id": [ "be834f85-5311-47d6-9ef7-d04f2236f2c6" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063859Z:be834f85-5311-47d6-9ef7-d04f2236f2c6" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:38:58 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "106" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"dda26a0e-016a-4868-8b3e-9835cfc00214\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:38:42.74Z\"}" - } - }, - "Remove-AzMySqlVirtualNetworkRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/dda26a0e-016a-4868-8b3e-9835cfc00214?api-version=2017-12-01+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/dda26a0e-016a-4868-8b3e-9835cfc00214?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "4", "5", "6" ], - "x-ms-client-request-id": [ "cc6af0c2-59bb-40a0-8556-aa3d8dd0220c", "cc6af0c2-59bb-40a0-8556-aa3d8dd0220c", "cc6af0c2-59bb-40a0-8556-aa3d8dd0220c" ], - "CommandName": [ "Remove-AzMySqlVirtualNetworkRule", "Remove-AzMySqlVirtualNetworkRule", "Remove-AzMySqlVirtualNetworkRule" ], - "FullCommandName": [ "Remove-AzMySqlVirtualNetworkRule_Delete", "Remove-AzMySqlVirtualNetworkRule_Delete", "Remove-AzMySqlVirtualNetworkRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "1e4e7645-7631-414d-ae19-b09fb0e49ae8" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], - "x-ms-correlation-request-id": [ "6872b24e-87b1-4b24-80b1-de5e700f7e52" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063859Z:6872b24e-87b1-4b24-80b1-de5e700f7e52" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:38:59 GMT" ] - }, - "ContentHeaders": { "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "155" ] }, - "Content": null + "Content": "{\"error\":{\"code\":\"ParentResourceNotFound\",\"message\":\"Can not perform requested operation on nested resource. Parent resource \u0027mysql-test-100\u0027 not found.\"}}" } }, - "Remove-AzMySqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { + "Remove-AzMySqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "209" ] + "Content-Length": [ "213" ] } }, "Response": { - "StatusCode": 202, + "StatusCode": 404, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/008d17b6-eda7-4894-8595-97c3ab6fd9e5?api-version=2017-12-01" ], - "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/008d17b6-eda7-4894-8595-97c3ab6fd9e5?api-version=2017-12-01" ], - "x-ms-request-id": [ "008d17b6-eda7-4894-8595-97c3ab6fd9e5" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], - "x-ms-correlation-request-id": [ "2042b9a8-a84f-44c9-85a7-c7018bc2ee15" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063901Z:2042b9a8-a84f-44c9-85a7-c7018bc2ee15" ], + "x-ms-failure-cause": [ "gateway" ], + "x-ms-request-id": [ "f7f0319e-809a-4003-86ed-9f78a62df613" ], + "x-ms-correlation-request-id": [ "f7f0319e-809a-4003-86ed-9f78a62df613" ], + "x-ms-routing-request-id": [ "WESTUS2:20201110T002732Z:f7f0319e-809a-4003-86ed-9f78a62df613" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:39:00 GMT" ] + "Date": [ "Tue, 10 Nov 2020 00:27:32 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "90" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T06:39:00.223Z\"}" - } - }, - "Remove-AzMySqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/008d17b6-eda7-4894-8595-97c3ab6fd9e5?api-version=2017-12-01+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/008d17b6-eda7-4894-8595-97c3ab6fd9e5?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "7", "8" ], - "x-ms-client-request-id": [ "a1f89f2f-2655-4607-803c-a3930f00ba48", "a1f89f2f-2655-4607-803c-a3930f00ba48" ], - "CommandName": [ "New-AzMySqlVirtualNetworkRule", "New-AzMySqlVirtualNetworkRule" ], - "FullCommandName": [ "New-AzMySqlVirtualNetworkRule_CreateExpanded", "New-AzMySqlVirtualNetworkRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "b57082c7-b59a-4599-a806-4f0a7e7b4f93" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], - "x-ms-correlation-request-id": [ "23577bf5-4b64-4d3f-b13b-f0ae6ceb41cb" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063931Z:23577bf5-4b64-4d3f-b13b-f0ae6ceb41cb" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:39:30 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"008d17b6-eda7-4894-8595-97c3ab6fd9e5\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:39:00.223Z\"}" - } - }, - "Remove-AzMySqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "7", "8", "9" ], - "x-ms-client-request-id": [ "a1f89f2f-2655-4607-803c-a3930f00ba48", "a1f89f2f-2655-4607-803c-a3930f00ba48", "a1f89f2f-2655-4607-803c-a3930f00ba48" ], - "CommandName": [ "New-AzMySqlVirtualNetworkRule", "New-AzMySqlVirtualNetworkRule", "New-AzMySqlVirtualNetworkRule" ], - "FullCommandName": [ "New-AzMySqlVirtualNetworkRule_CreateExpanded", "New-AzMySqlVirtualNetworkRule_CreateExpanded", "New-AzMySqlVirtualNetworkRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "3c85fe68-1696-409b-9c94-6317855e0e31" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], - "x-ms-correlation-request-id": [ "84c66763-cd1e-4217-a7dc-32ac81f53d86" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063932Z:84c66763-cd1e-4217-a7dc-32ac81f53d86" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:39:31 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "497" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBforMySQL/servers/virtualNetworkRules\"}" - } - }, - "Remove-AzMySqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+4": { - "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "10" ], - "x-ms-client-request-id": [ "ba48b114-c531-4a59-bedc-696859679589" ], - "CommandName": [ "Remove-AzMySqlVirtualNetworkRule" ], - "FullCommandName": [ "Remove-AzMySqlVirtualNetworkRule_DeleteViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/117d3811-f4af-46ed-88aa-ba3d352811a9?api-version=2017-12-01" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/117d3811-f4af-46ed-88aa-ba3d352811a9?api-version=2017-12-01" ], - "x-ms-request-id": [ "117d3811-f4af-46ed-88aa-ba3d352811a9" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14998" ], - "x-ms-correlation-request-id": [ "2d754328-51a6-477f-b93f-4679f082377d" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063933Z:2d754328-51a6-477f-b93f-4679f082377d" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:39:32 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "88" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"DropElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T06:39:32.503Z\"}" - } - }, - "Remove-AzMySqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/117d3811-f4af-46ed-88aa-ba3d352811a9?api-version=2017-12-01+5": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/117d3811-f4af-46ed-88aa-ba3d352811a9?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "10", "11" ], - "x-ms-client-request-id": [ "ba48b114-c531-4a59-bedc-696859679589", "ba48b114-c531-4a59-bedc-696859679589" ], - "CommandName": [ "Remove-AzMySqlVirtualNetworkRule", "Remove-AzMySqlVirtualNetworkRule" ], - "FullCommandName": [ "Remove-AzMySqlVirtualNetworkRule_DeleteViaIdentity", "Remove-AzMySqlVirtualNetworkRule_DeleteViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "9c8db95c-e585-4a87-becd-29916ecd6572" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], - "x-ms-correlation-request-id": [ "72714249-f8fb-4be8-b593-ad547b2a829a" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063949Z:72714249-f8fb-4be8-b593-ad547b2a829a" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:39:49 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"117d3811-f4af-46ed-88aa-ba3d352811a9\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:39:32.503Z\"}" - } - }, - "Remove-AzMySqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/117d3811-f4af-46ed-88aa-ba3d352811a9?api-version=2017-12-01+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/117d3811-f4af-46ed-88aa-ba3d352811a9?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "10", "11", "12" ], - "x-ms-client-request-id": [ "ba48b114-c531-4a59-bedc-696859679589", "ba48b114-c531-4a59-bedc-696859679589", "ba48b114-c531-4a59-bedc-696859679589" ], - "CommandName": [ "Remove-AzMySqlVirtualNetworkRule", "Remove-AzMySqlVirtualNetworkRule", "Remove-AzMySqlVirtualNetworkRule" ], - "FullCommandName": [ "Remove-AzMySqlVirtualNetworkRule_DeleteViaIdentity", "Remove-AzMySqlVirtualNetworkRule_DeleteViaIdentity", "Remove-AzMySqlVirtualNetworkRule_DeleteViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "e64bf63b-0116-422f-9241-b011e8c383b7" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], - "x-ms-correlation-request-id": [ "3dfeba84-1890-4bbd-a571-6b88638b55ef" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063949Z:3dfeba84-1890-4bbd-a571-6b88638b55ef" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:39:49 GMT" ] - }, - "ContentHeaders": { "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "155" ] }, - "Content": null + "Content": "{\"error\":{\"code\":\"ParentResourceNotFound\",\"message\":\"Can not perform requested operation on nested resource. Parent resource \u0027mysql-test-100\u0027 not found.\"}}" } } } \ No newline at end of file diff --git a/src/MySql/test/Restart-AzMySqlFlexibleServer.Recording.json b/src/MySql/test/Restart-AzMySqlFlexibleServer.Recording.json new file mode 100644 index 000000000000..d3496bf43046 --- /dev/null +++ b/src/MySql/test/Restart-AzMySqlFlexibleServer.Recording.json @@ -0,0 +1,244 @@ +{ + "Restart-AzMySqlFlexibleServer+[NoContext]+Restart+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/restart?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "POST", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/restart?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1" ], + "x-ms-client-request-id": [ "79eb1465-e56d-47bf-80e0-8b1aca27685d" ], + "CommandName": [ "Restart-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Restart-AzMySqlFlexibleServer_Restart" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/b0ef026c-0677-4ddd-bc2e-31f841829364?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/b0ef026c-0677-4ddd-bc2e-31f841829364?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "b0ef026c-0677-4ddd-bc2e-31f841829364" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "5da87143-1c76-4c6c-aab9-5a9538b70679" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T182654Z:5da87143-1c76-4c6c-aab9-5a9538b70679" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 18:26:54 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "87" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"RestartServerManagementOperation\",\"startTime\":\"2020-11-11T18:26:54.663Z\"}" + } + }, + "Restart-AzMySqlFlexibleServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/b0ef026c-0677-4ddd-bc2e-31f841829364?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/b0ef026c-0677-4ddd-bc2e-31f841829364?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "2" ], + "x-ms-client-request-id": [ "79eb1465-e56d-47bf-80e0-8b1aca27685d" ], + "CommandName": [ "Restart-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Restart-AzMySqlFlexibleServer_Restart" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "42b0b08a-dc55-4817-98dc-6f102052aad3" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-correlation-request-id": [ "49de8aec-0f96-4ea2-b22a-5712f83c2989" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T182755Z:49de8aec-0f96-4ea2-b22a-5712f83c2989" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 18:27:54 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "238" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"b0ef026c-0677-4ddd-bc2e-31f841829364\",\"status\":\"Failed\",\"startTime\":\"2020-11-11T18:26:54.663Z\",\"error\":{\"code\":\"OperationFailed\",\"message\":\"Operation Restart failed, because server mysql-test-100 is busy with other operations.\"}}" + } + }, + "Restart-AzMySqlFlexibleServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/b0ef026c-0677-4ddd-bc2e-31f841829364?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/b0ef026c-0677-4ddd-bc2e-31f841829364?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "3" ], + "x-ms-client-request-id": [ "79eb1465-e56d-47bf-80e0-8b1aca27685d" ], + "CommandName": [ "Restart-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Restart-AzMySqlFlexibleServer_Restart" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 400, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "cffe2feb-00d8-4802-ad90-a41b86fff469" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-correlation-request-id": [ "2fd86440-1a81-41eb-9b94-2ef2758c4ff8" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T182755Z:2fd86440-1a81-41eb-9b94-2ef2758c4ff8" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 18:27:54 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "135" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"error\":{\"code\":\"OperationFailed\",\"message\":\"Operation Restart failed, because server mysql-test-100 is busy with other operations.\"}}" + } + }, + "Restart-AzMySqlFlexibleServer+[NoContext]+RestartViaIdentity+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/restart?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "POST", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/restart?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "c981e4bd-8dc0-428c-b51e-155684195edb" ], + "CommandName": [ "Restart-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Restart-AzMySqlFlexibleServer_RestartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/74dbcad9-7c1c-4c5b-bb03-4304640df200?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/74dbcad9-7c1c-4c5b-bb03-4304640df200?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "74dbcad9-7c1c-4c5b-bb03-4304640df200" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-correlation-request-id": [ "53be5d11-b689-4096-b917-c56b2c5dd0c5" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T182755Z:53be5d11-b689-4096-b917-c56b2c5dd0c5" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 18:27:54 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "87" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"RestartServerManagementOperation\",\"startTime\":\"2020-11-11T18:27:55.467Z\"}" + } + }, + "Restart-AzMySqlFlexibleServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/74dbcad9-7c1c-4c5b-bb03-4304640df200?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/74dbcad9-7c1c-4c5b-bb03-4304640df200?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "5" ], + "x-ms-client-request-id": [ "c981e4bd-8dc0-428c-b51e-155684195edb" ], + "CommandName": [ "Restart-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Restart-AzMySqlFlexibleServer_RestartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "84ab9a3c-97a2-4209-beb0-8397cfa939ac" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "a4f45054-8d9e-4897-a056-2d5e259fedeb" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T182855Z:a4f45054-8d9e-4897-a056-2d5e259fedeb" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 18:28:55 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "238" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"74dbcad9-7c1c-4c5b-bb03-4304640df200\",\"status\":\"Failed\",\"startTime\":\"2020-11-11T18:27:55.467Z\",\"error\":{\"code\":\"OperationFailed\",\"message\":\"Operation Restart failed, because server mysql-test-100 is busy with other operations.\"}}" + } + }, + "Restart-AzMySqlFlexibleServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/74dbcad9-7c1c-4c5b-bb03-4304640df200?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/74dbcad9-7c1c-4c5b-bb03-4304640df200?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "6" ], + "x-ms-client-request-id": [ "c981e4bd-8dc0-428c-b51e-155684195edb" ], + "CommandName": [ "Restart-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Restart-AzMySqlFlexibleServer_RestartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 400, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "545fe36f-cfb2-4057-ae5d-7dd6837f3276" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-correlation-request-id": [ "db947d5c-a9fd-4014-b17d-32248f2a70e4" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T182855Z:db947d5c-a9fd-4014-b17d-32248f2a70e4" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 18:28:55 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "135" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"error\":{\"code\":\"OperationFailed\",\"message\":\"Operation Restart failed, because server mysql-test-100 is busy with other operations.\"}}" + } + } +} \ No newline at end of file diff --git a/src/MySql/test/Restart-AzMySqlFlexibleServer.Tests.ps1 b/src/MySql/test/Restart-AzMySqlFlexibleServer.Tests.ps1 new file mode 100644 index 000000000000..d0c7ccae5b9a --- /dev/null +++ b/src/MySql/test/Restart-AzMySqlFlexibleServer.Tests.ps1 @@ -0,0 +1,27 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'Restart-AzMySqlFlexibleServer.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'Restart-AzMySqlFlexibleServer' { + It 'Restart' { + { + Restart-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName + } | Should -Not -Throw + } + + It 'RestartViaIdentity' { + { + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySql/flexibleServers/$($env.serverName)/restart" + Restart-AzMySqlFlexibleServer -InputObject $ID + } | Should -Not -Throw + } +} diff --git a/src/MySql/test/Restart-AzMySqlServer.Recording.json b/src/MySql/test/Restart-AzMySqlServer.Recording.json deleted file mode 100644 index a20eb3f8d9c8..000000000000 --- a/src/MySql/test/Restart-AzMySqlServer.Recording.json +++ /dev/null @@ -1,482 +0,0 @@ -{ - "Restart-AzMySqlServer+[NoContext]+Restart+$POST+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/restart?api-version=2017-12-01+1": { - "Request": { - "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/restart?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "1" ], - "x-ms-client-request-id": [ "71c2b788-0647-4d4b-8f86-38cf41a04e84" ], - "CommandName": [ "Restart-AzMySqlServer" ], - "FullCommandName": [ "Restart-AzMySqlServer_Restart" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/2c5d06a0-f0c2-47db-8145-c596b0e722b6?api-version=2017-12-01" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/2c5d06a0-f0c2-47db-8145-c596b0e722b6?api-version=2017-12-01" ], - "x-ms-request-id": [ "2c5d06a0-f0c2-47db-8145-c596b0e722b6" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-correlation-request-id": [ "2c705342-056f-4a01-ae78-84d40a60a90d" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T064218Z:2c705342-056f-4a01-ae78-84d40a60a90d" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:42:17 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "74" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"RestartElasticServer\",\"startTime\":\"2020-07-24T06:42:17.86Z\"}" - } - }, - "Restart-AzMySqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/2c5d06a0-f0c2-47db-8145-c596b0e722b6?api-version=2017-12-01+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/2c5d06a0-f0c2-47db-8145-c596b0e722b6?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "1", "2" ], - "x-ms-client-request-id": [ "71c2b788-0647-4d4b-8f86-38cf41a04e84", "71c2b788-0647-4d4b-8f86-38cf41a04e84" ], - "CommandName": [ "Restart-AzMySqlServer", "Restart-AzMySqlServer" ], - "FullCommandName": [ "Restart-AzMySqlServer_Restart", "Restart-AzMySqlServer_Restart" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "13291af0-47bf-46ef-95be-eab4d8f09b46" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11980" ], - "x-ms-correlation-request-id": [ "9047b6a7-cbf5-4afb-be9a-6a9b9d3e79f6" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T064233Z:9047b6a7-cbf5-4afb-be9a-6a9b9d3e79f6" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:42:33 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"2c5d06a0-f0c2-47db-8145-c596b0e722b6\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T06:42:17.86Z\"}" - } - }, - "Restart-AzMySqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/2c5d06a0-f0c2-47db-8145-c596b0e722b6?api-version=2017-12-01+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/2c5d06a0-f0c2-47db-8145-c596b0e722b6?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "1", "2", "3" ], - "x-ms-client-request-id": [ "71c2b788-0647-4d4b-8f86-38cf41a04e84", "71c2b788-0647-4d4b-8f86-38cf41a04e84", "71c2b788-0647-4d4b-8f86-38cf41a04e84" ], - "CommandName": [ "Restart-AzMySqlServer", "Restart-AzMySqlServer", "Restart-AzMySqlServer" ], - "FullCommandName": [ "Restart-AzMySqlServer_Restart", "Restart-AzMySqlServer_Restart", "Restart-AzMySqlServer_Restart" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "6c73e2f3-79a9-48ea-96f0-edc2a7919784" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11979" ], - "x-ms-correlation-request-id": [ "e7532b0f-4dfb-4b57-bf6f-59c7ac28c85d" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T064248Z:e7532b0f-4dfb-4b57-bf6f-59c7ac28c85d" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:42:48 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"2c5d06a0-f0c2-47db-8145-c596b0e722b6\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T06:42:17.86Z\"}" - } - }, - "Restart-AzMySqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/2c5d06a0-f0c2-47db-8145-c596b0e722b6?api-version=2017-12-01+4": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/2c5d06a0-f0c2-47db-8145-c596b0e722b6?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "1", "2", "3", "4" ], - "x-ms-client-request-id": [ "71c2b788-0647-4d4b-8f86-38cf41a04e84", "71c2b788-0647-4d4b-8f86-38cf41a04e84", "71c2b788-0647-4d4b-8f86-38cf41a04e84", "71c2b788-0647-4d4b-8f86-38cf41a04e84" ], - "CommandName": [ "Restart-AzMySqlServer", "Restart-AzMySqlServer", "Restart-AzMySqlServer", "Restart-AzMySqlServer" ], - "FullCommandName": [ "Restart-AzMySqlServer_Restart", "Restart-AzMySqlServer_Restart", "Restart-AzMySqlServer_Restart", "Restart-AzMySqlServer_Restart" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "d1dfe3d5-0dc1-45b7-9002-d987129c9a7d" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11978" ], - "x-ms-correlation-request-id": [ "ec4519c3-1c39-4277-9796-b499065c9429" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T064304Z:ec4519c3-1c39-4277-9796-b499065c9429" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:43:03 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"2c5d06a0-f0c2-47db-8145-c596b0e722b6\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T06:42:17.86Z\"}" - } - }, - "Restart-AzMySqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/2c5d06a0-f0c2-47db-8145-c596b0e722b6?api-version=2017-12-01+5": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/2c5d06a0-f0c2-47db-8145-c596b0e722b6?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "1", "2", "3", "4", "5" ], - "x-ms-client-request-id": [ "71c2b788-0647-4d4b-8f86-38cf41a04e84", "71c2b788-0647-4d4b-8f86-38cf41a04e84", "71c2b788-0647-4d4b-8f86-38cf41a04e84", "71c2b788-0647-4d4b-8f86-38cf41a04e84", "71c2b788-0647-4d4b-8f86-38cf41a04e84" ], - "CommandName": [ "Restart-AzMySqlServer", "Restart-AzMySqlServer", "Restart-AzMySqlServer", "Restart-AzMySqlServer", "Restart-AzMySqlServer" ], - "FullCommandName": [ "Restart-AzMySqlServer_Restart", "Restart-AzMySqlServer_Restart", "Restart-AzMySqlServer_Restart", "Restart-AzMySqlServer_Restart", "Restart-AzMySqlServer_Restart" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "940a03fe-18fd-4fd0-bae0-668c0d6840f8" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11977" ], - "x-ms-correlation-request-id": [ "592e4f19-35c7-4be1-a03e-b3a5c7d52c65" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T064319Z:592e4f19-35c7-4be1-a03e-b3a5c7d52c65" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:43:18 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "106" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"2c5d06a0-f0c2-47db-8145-c596b0e722b6\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:42:17.86Z\"}" - } - }, - "Restart-AzMySqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/2c5d06a0-f0c2-47db-8145-c596b0e722b6?api-version=2017-12-01+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/2c5d06a0-f0c2-47db-8145-c596b0e722b6?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "1", "2", "3", "4", "5", "6" ], - "x-ms-client-request-id": [ "71c2b788-0647-4d4b-8f86-38cf41a04e84", "71c2b788-0647-4d4b-8f86-38cf41a04e84", "71c2b788-0647-4d4b-8f86-38cf41a04e84", "71c2b788-0647-4d4b-8f86-38cf41a04e84", "71c2b788-0647-4d4b-8f86-38cf41a04e84", "71c2b788-0647-4d4b-8f86-38cf41a04e84" ], - "CommandName": [ "Restart-AzMySqlServer", "Restart-AzMySqlServer", "Restart-AzMySqlServer", "Restart-AzMySqlServer", "Restart-AzMySqlServer", "Restart-AzMySqlServer" ], - "FullCommandName": [ "Restart-AzMySqlServer_Restart", "Restart-AzMySqlServer_Restart", "Restart-AzMySqlServer_Restart", "Restart-AzMySqlServer_Restart", "Restart-AzMySqlServer_Restart", "Restart-AzMySqlServer_Restart" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "3e87c5ba-bea4-4e8f-b136-646faf330339" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11976" ], - "x-ms-correlation-request-id": [ "d2068349-544b-4a87-8e82-2fd2628823ce" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T064319Z:d2068349-544b-4a87-8e82-2fd2628823ce" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:43:19 GMT" ] - }, - "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] - }, - "Content": null - } - }, - "Restart-AzMySqlServer+[NoContext]+RestartViaIdentity+$POST+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/restart?api-version=2017-12-01+1": { - "Request": { - "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/restart?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "7" ], - "x-ms-client-request-id": [ "0bcff115-6341-49c6-9548-0f4e307a824f" ], - "CommandName": [ "Restart-AzMySqlServer" ], - "FullCommandName": [ "Restart-AzMySqlServer_RestartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/62df6539-87c0-4278-9d9e-6f874380b40d?api-version=2017-12-01" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/62df6539-87c0-4278-9d9e-6f874380b40d?api-version=2017-12-01" ], - "x-ms-request-id": [ "62df6539-87c0-4278-9d9e-6f874380b40d" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], - "x-ms-correlation-request-id": [ "ca420300-952f-414b-be96-f17a70544d50" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T064320Z:ca420300-952f-414b-be96-f17a70544d50" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:43:19 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "75" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"RestartElasticServer\",\"startTime\":\"2020-07-24T06:43:20.203Z\"}" - } - }, - "Restart-AzMySqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/62df6539-87c0-4278-9d9e-6f874380b40d?api-version=2017-12-01+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/62df6539-87c0-4278-9d9e-6f874380b40d?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "7", "8" ], - "x-ms-client-request-id": [ "0bcff115-6341-49c6-9548-0f4e307a824f", "0bcff115-6341-49c6-9548-0f4e307a824f" ], - "CommandName": [ "Restart-AzMySqlServer", "Restart-AzMySqlServer" ], - "FullCommandName": [ "Restart-AzMySqlServer_RestartViaIdentity", "Restart-AzMySqlServer_RestartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "7ded85c5-4503-436b-82e4-e1ea448f2903" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11975" ], - "x-ms-correlation-request-id": [ "1817b5bf-57a9-4ef8-a809-152a8d94eeff" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T064335Z:1817b5bf-57a9-4ef8-a809-152a8d94eeff" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:43:35 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"62df6539-87c0-4278-9d9e-6f874380b40d\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T06:43:20.203Z\"}" - } - }, - "Restart-AzMySqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/62df6539-87c0-4278-9d9e-6f874380b40d?api-version=2017-12-01+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/62df6539-87c0-4278-9d9e-6f874380b40d?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "7", "8", "9" ], - "x-ms-client-request-id": [ "0bcff115-6341-49c6-9548-0f4e307a824f", "0bcff115-6341-49c6-9548-0f4e307a824f", "0bcff115-6341-49c6-9548-0f4e307a824f" ], - "CommandName": [ "Restart-AzMySqlServer", "Restart-AzMySqlServer", "Restart-AzMySqlServer" ], - "FullCommandName": [ "Restart-AzMySqlServer_RestartViaIdentity", "Restart-AzMySqlServer_RestartViaIdentity", "Restart-AzMySqlServer_RestartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "718f8161-da3a-4691-8195-d7dbbe30a8c8" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11974" ], - "x-ms-correlation-request-id": [ "dd2b8e28-b2d5-4968-9b91-ed384329ff8b" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T064351Z:dd2b8e28-b2d5-4968-9b91-ed384329ff8b" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:43:50 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"62df6539-87c0-4278-9d9e-6f874380b40d\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T06:43:20.203Z\"}" - } - }, - "Restart-AzMySqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/62df6539-87c0-4278-9d9e-6f874380b40d?api-version=2017-12-01+4": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/62df6539-87c0-4278-9d9e-6f874380b40d?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "7", "8", "9", "10" ], - "x-ms-client-request-id": [ "0bcff115-6341-49c6-9548-0f4e307a824f", "0bcff115-6341-49c6-9548-0f4e307a824f", "0bcff115-6341-49c6-9548-0f4e307a824f", "0bcff115-6341-49c6-9548-0f4e307a824f" ], - "CommandName": [ "Restart-AzMySqlServer", "Restart-AzMySqlServer", "Restart-AzMySqlServer", "Restart-AzMySqlServer" ], - "FullCommandName": [ "Restart-AzMySqlServer_RestartViaIdentity", "Restart-AzMySqlServer_RestartViaIdentity", "Restart-AzMySqlServer_RestartViaIdentity", "Restart-AzMySqlServer_RestartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "5709d4ab-37dc-4620-9dbe-ea57b0dff922" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11973" ], - "x-ms-correlation-request-id": [ "bb498ce1-f241-4e77-8f7d-b4986762297b" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T064406Z:bb498ce1-f241-4e77-8f7d-b4986762297b" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:44:05 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"62df6539-87c0-4278-9d9e-6f874380b40d\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T06:43:20.203Z\"}" - } - }, - "Restart-AzMySqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/62df6539-87c0-4278-9d9e-6f874380b40d?api-version=2017-12-01+5": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/62df6539-87c0-4278-9d9e-6f874380b40d?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "7", "8", "9", "10", "11" ], - "x-ms-client-request-id": [ "0bcff115-6341-49c6-9548-0f4e307a824f", "0bcff115-6341-49c6-9548-0f4e307a824f", "0bcff115-6341-49c6-9548-0f4e307a824f", "0bcff115-6341-49c6-9548-0f4e307a824f", "0bcff115-6341-49c6-9548-0f4e307a824f" ], - "CommandName": [ "Restart-AzMySqlServer", "Restart-AzMySqlServer", "Restart-AzMySqlServer", "Restart-AzMySqlServer", "Restart-AzMySqlServer" ], - "FullCommandName": [ "Restart-AzMySqlServer_RestartViaIdentity", "Restart-AzMySqlServer_RestartViaIdentity", "Restart-AzMySqlServer_RestartViaIdentity", "Restart-AzMySqlServer_RestartViaIdentity", "Restart-AzMySqlServer_RestartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "429ca123-d8de-42d2-acd7-6fba9d6e246f" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11972" ], - "x-ms-correlation-request-id": [ "36176754-0a79-4251-bb07-efee9fe539e6" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T064421Z:36176754-0a79-4251-bb07-efee9fe539e6" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:44:20 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"62df6539-87c0-4278-9d9e-6f874380b40d\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:43:20.203Z\"}" - } - }, - "Restart-AzMySqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/62df6539-87c0-4278-9d9e-6f874380b40d?api-version=2017-12-01+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/62df6539-87c0-4278-9d9e-6f874380b40d?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "7", "8", "9", "10", "11", "12" ], - "x-ms-client-request-id": [ "0bcff115-6341-49c6-9548-0f4e307a824f", "0bcff115-6341-49c6-9548-0f4e307a824f", "0bcff115-6341-49c6-9548-0f4e307a824f", "0bcff115-6341-49c6-9548-0f4e307a824f", "0bcff115-6341-49c6-9548-0f4e307a824f", "0bcff115-6341-49c6-9548-0f4e307a824f" ], - "CommandName": [ "Restart-AzMySqlServer", "Restart-AzMySqlServer", "Restart-AzMySqlServer", "Restart-AzMySqlServer", "Restart-AzMySqlServer", "Restart-AzMySqlServer" ], - "FullCommandName": [ "Restart-AzMySqlServer_RestartViaIdentity", "Restart-AzMySqlServer_RestartViaIdentity", "Restart-AzMySqlServer_RestartViaIdentity", "Restart-AzMySqlServer_RestartViaIdentity", "Restart-AzMySqlServer_RestartViaIdentity", "Restart-AzMySqlServer_RestartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "b2b33128-f2e2-4dfa-a90a-8e2214154084" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11971" ], - "x-ms-correlation-request-id": [ "c7153538-ea5c-4bd2-b074-f36274e9e515" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T064422Z:c7153538-ea5c-4bd2-b074-f36274e9e515" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 06:44:22 GMT" ] - }, - "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] - }, - "Content": null - } - } -} \ No newline at end of file diff --git a/src/MySql/test/Restore-AzMySqlFlexibleServer.Recording.json b/src/MySql/test/Restore-AzMySqlFlexibleServer.Recording.json new file mode 100644 index 000000000000..74133377c636 --- /dev/null +++ b/src/MySql/test/Restore-AzMySqlFlexibleServer.Recording.json @@ -0,0 +1,157 @@ +{ + "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "29" ], + "x-ms-client-request-id": [ "532e77f9-e412-45ee-837d-8d3ba729e06f" ], + "CommandName": [ "Get-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Get-AzMySqlFlexibleServer_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "012e5f4c-fc95-4735-b40e-24624018a2f4" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11976" ], + "x-ms-correlation-request-id": [ "05b97bd4-322c-44fc-8153-b8ea0255d1f9" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065459Z:05b97bd4-322c-44fc-8153-b8ea0255d1f9" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:54:59 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "937" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + } + }, + "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-restore?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-restore?api-version=2020-07-01-preview", + "Content": "{\r\n \"location\": \"West US 2\",\r\n \"properties\": {\r\n \"sourceServerId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\r\n \"restorePointInTime\": \"2020-11-10T22:44:59.7507449-08:00\",\r\n \"createMode\": \"PointInTimeRestore\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "325" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/2c93ee24-221b-441d-ac47-55db8770e649?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/2c93ee24-221b-441d-ac47-55db8770e649?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "2c93ee24-221b-441d-ac47-55db8770e649" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], + "x-ms-correlation-request-id": [ "429687d6-1836-4871-a9aa-6677b2026500" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065459Z:429687d6-1836-4871-a9aa-6677b2026500" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:54:59 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "87" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"RestoreSnapshotManagementOperation\",\"startTime\":\"2020-11-11T06:54:59.7Z\"}" + } + }, + "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/2c93ee24-221b-441d-ac47-55db8770e649?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/2c93ee24-221b-441d-ac47-55db8770e649?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "31" ], + "x-ms-client-request-id": [ "3e3fa510-4773-4e08-a4c0-cdcce0fda8e6" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "4258c6f8-b653-4c86-9257-017f3bdb1a15" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11975" ], + "x-ms-correlation-request-id": [ "b0b85164-7cbb-4b4c-ac03-b13c28ef9255" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065559Z:b0b85164-7cbb-4b4c-ac03-b13c28ef9255" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:55:59 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "547" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"2c93ee24-221b-441d-ac47-55db8770e649\",\"status\":\"Failed\",\"startTime\":\"2020-11-11T06:54:59.7Z\",\"error\":{\"code\":\"InvalidConfigurationValue\",\"message\":\"The value \u002711/11/2020 6:44:59 AM\u0027 for configuration \u0027PointInTime\u0027 is not valid. The allowed values are \u0027Request OperationRequestId[2c93ee24-221b-441d-ac47-55db8770e649] RequestId[2c93ee24-221b-441d-ac47-55db8770e649] to restore to server [mysql-test-100-restore] failed because [mysql-test-100] RestoreFromServerName does not exist, or point in time [11/11/2020 6:44:59 AM] is invalid.\u0027.\"}}" + } + }, + "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-restore?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-restore?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "32" ], + "x-ms-client-request-id": [ "3e3fa510-4773-4e08-a4c0-cdcce0fda8e6" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 404, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "992cc7d2-4bda-4682-8fa2-deeb3acb6512" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11974" ], + "x-ms-correlation-request-id": [ "92a2702b-35dc-4dd4-b4cb-995a74cc17f8" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065600Z:92a2702b-35dc-4dd4-b4cb-995a74cc17f8" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:55:59 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "169" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The requested resource of type \u0027Microsoft.DBforMySQL/flexibleServers\u0027 with name \u0027mysql-test-100-restore\u0027 was not found.\"}}" + } + } +} \ No newline at end of file diff --git a/src/MySql/test/Restore-AzMySqlFlexibleServer.Tests.ps1 b/src/MySql/test/Restore-AzMySqlFlexibleServer.Tests.ps1 new file mode 100644 index 000000000000..d0d2fbb38d88 --- /dev/null +++ b/src/MySql/test/Restore-AzMySqlFlexibleServer.Tests.ps1 @@ -0,0 +1,21 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'Restore-AzMySqlFlexibleServer.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'Restore-AzMySqlFlexibleServer' { + It 'PointInTimeRestore' { + { + $restorePointInTime = (Get-Date).AddMinutes(-10) + Get-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName | Restore-AzMySqlFlexibleServer -Name $env.restoreName -ResourceGroupName $env.resourceGroup -RestorePointInTime $restorePointInTime + } | Should -Not -Throw + } +} diff --git a/src/MySql/test/Restore-AzMySqlServer.Recording.json b/src/MySql/test/Restore-AzMySqlServer.Recording.json index 050eb2b91972..99cc4415d45f 100644 --- a/src/MySql/test/Restore-AzMySqlServer.Recording.json +++ b/src/MySql/test/Restore-AzMySqlServer.Recording.json @@ -1,12 +1,12 @@ { - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { - "x-ms-unique-id": [ "1" ], - "x-ms-client-request-id": [ "925ee192-36d9-44e6-9d60-3a7653eb382a" ], + "x-ms-unique-id": [ "23" ], + "x-ms-client-request-id": [ "64ab427e-5580-4a0b-bba9-9ae3608ce516" ], "CommandName": [ "Get-AzMySqlServer" ], "FullCommandName": [ "Get-AzMySqlServer_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -17,2172 +17,62 @@ } }, "Response": { - "StatusCode": 200, + "StatusCode": 404, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "3c6b5020-e8c9-4da4-8f9f-25e9016ae192" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-correlation-request-id": [ "1fd3d2d8-4093-4ed0-bf97-e68a9cf56042" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T081714Z:1fd3d2d8-4093-4ed0-bf97-e68a9cf56042" ], + "x-ms-failure-cause": [ "gateway" ], + "x-ms-request-id": [ "262a7c3b-3092-40e5-9278-619db63afb0f" ], + "x-ms-correlation-request-id": [ "262a7c3b-3092-40e5-9278-619db63afb0f" ], + "x-ms-routing-request-id": [ "WESTUS2:20201110T002734Z:262a7c3b-3092-40e5-9278-619db63afb0f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:17:13 GMT" ] + "Date": [ "Tue, 10 Nov 2020 00:27:33 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "907" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] + "Expires": [ "-1" ], + "Content-Length": [ "224" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForMySQL/servers/mysql-test-100\u0027 under resource group \u0027MySqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" } }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+2": { - "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"createMode\": \"Replica\",\n \"sourceServerId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\"\n },\n \"location\": \"eastus\"\n}", - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "233" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01" ], - "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01" ], - "x-ms-request-id": [ "d2e05dac-052c-4b23-a050-142294b6ed7a" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-correlation-request-id": [ "8c1870b5-1c2f-4501-8850-eceeb942ee34" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T081720Z:8c1870b5-1c2f-4501-8850-eceeb942ee34" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:17:20 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "88" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"CreateElasticServerContinuousCopy\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3" ], - "x-ms-client-request-id": [ "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "8af57d85-2e5c-4b6f-823e-6686cce4bca3" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], - "x-ms-correlation-request-id": [ "4c25a92f-7672-4bfa-bf00-787a30993cce" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T081750Z:4c25a92f-7672-4bfa-bf00-787a30993cce" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:17:50 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+4": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4" ], - "x-ms-client-request-id": [ "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "ea94b5f2-3820-49a6-b319-5d41aa22b52e" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], - "x-ms-correlation-request-id": [ "40aab22d-6469-439d-b786-03d8b8e33870" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T081821Z:40aab22d-6469-439d-b786-03d8b8e33870" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:18:20 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+5": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5" ], - "x-ms-client-request-id": [ "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "77fff233-5119-483d-a86b-78ab93110729" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], - "x-ms-correlation-request-id": [ "4945677f-66aa-4610-a0f3-6b1a0d2be2e7" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T081851Z:4945677f-66aa-4610-a0f3-6b1a0d2be2e7" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:18:50 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6" ], - "x-ms-client-request-id": [ "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "01050dce-8726-47ba-a5e2-72430ee1a01f" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], - "x-ms-correlation-request-id": [ "d6c0f84e-0378-416d-a351-72c7d21901c0" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T081921Z:d6c0f84e-0378-416d-a351-72c7d21901c0" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:19:21 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+7": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7" ], - "x-ms-client-request-id": [ "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "a0e1ba89-369f-46aa-a49c-89359541ca13" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], - "x-ms-correlation-request-id": [ "419b309d-57d6-450f-9558-3e2b4af4a285" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T081952Z:419b309d-57d6-450f-9558-3e2b4af4a285" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:19:52 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+8": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8" ], - "x-ms-client-request-id": [ "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "6da823e1-1a62-4b0e-8910-5d289969596a" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], - "x-ms-correlation-request-id": [ "42c80981-bae3-4607-944a-965a635fb00e" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082022Z:42c80981-bae3-4607-944a-965a635fb00e" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:20:22 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+9": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9" ], - "x-ms-client-request-id": [ "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "d2928fc4-49d4-487d-aef3-e9c4dd1597ea" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], - "x-ms-correlation-request-id": [ "91c8014f-a771-42c0-b89f-5af346010e0f" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082053Z:91c8014f-a771-42c0-b89f-5af346010e0f" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:20:52 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+10": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10" ], - "x-ms-client-request-id": [ "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "5156a74e-0331-4ef7-a7e6-db38221dee03" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], - "x-ms-correlation-request-id": [ "ea3b1c96-e914-4155-bda2-4f410016adcc" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082123Z:ea3b1c96-e914-4155-bda2-4f410016adcc" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:21:22 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+11": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11" ], - "x-ms-client-request-id": [ "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "20463bb0-d111-4136-bb08-eae1807ce62a" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-correlation-request-id": [ "1adceb73-a774-4c5d-8bbd-cd6d45629703" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082153Z:1adceb73-a774-4c5d-8bbd-cd6d45629703" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:21:53 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+12": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" ], - "x-ms-client-request-id": [ "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "b2786085-9d3c-4768-8758-ffedb703932a" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], - "x-ms-correlation-request-id": [ "a0581a55-1ac3-47f7-b5dd-420f2f9dcc53" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082228Z:a0581a55-1ac3-47f7-b5dd-420f2f9dcc53" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:22:27 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+13": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13" ], - "x-ms-client-request-id": [ "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "4a33b717-f042-4552-95ca-2d5f90f298cd" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], - "x-ms-correlation-request-id": [ "2512e601-c50f-4e05-9f9a-71265b26c67c" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082258Z:2512e601-c50f-4e05-9f9a-71265b26c67c" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:22:57 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+14": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14" ], - "x-ms-client-request-id": [ "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "9d0be052-92b8-4b7c-a0f9-7fe9237416ec" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], - "x-ms-correlation-request-id": [ "fc21755b-0e6a-481a-9546-d0a7f0fe4a0f" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082328Z:fc21755b-0e6a-481a-9546-d0a7f0fe4a0f" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:23:28 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+15": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], - "x-ms-client-request-id": [ "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "1a4e38ff-89e8-4a71-b716-a9bfac45a46a" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], - "x-ms-correlation-request-id": [ "255fbb66-9441-41b9-b3a3-f7ad288f7c56" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082359Z:255fbb66-9441-41b9-b3a3-f7ad288f7c56" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:23:58 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+16": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16" ], - "x-ms-client-request-id": [ "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "584658d3-74c9-42d8-8295-3128e140ee5a" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11980" ], - "x-ms-correlation-request-id": [ "f1e36bb7-107e-4d0f-bb4e-f32f2d6716df" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082429Z:f1e36bb7-107e-4d0f-bb4e-f32f2d6716df" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:24:29 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+17": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17" ], - "x-ms-client-request-id": [ "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "b12e6d9b-7a50-4cd5-a548-e448df0acf92" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11979" ], - "x-ms-correlation-request-id": [ "a2cfa9d1-6dd4-4d22-a007-3df98c31c822" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082500Z:a2cfa9d1-6dd4-4d22-a007-3df98c31c822" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:24:59 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+18": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18" ], - "x-ms-client-request-id": [ "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "19a2844d-4775-4ea8-a147-2e61ed9dc049" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11978" ], - "x-ms-correlation-request-id": [ "bbd770ae-7c65-420a-89ef-6f599f0b2d8e" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082530Z:bbd770ae-7c65-420a-89ef-6f599f0b2d8e" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:25:30 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+19": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19" ], - "x-ms-client-request-id": [ "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "6ac2891e-b89d-4efd-8bea-3297775734be" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11977" ], - "x-ms-correlation-request-id": [ "e43c7853-75e6-4f6c-9234-03c7dec348dc" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082600Z:e43c7853-75e6-4f6c-9234-03c7dec348dc" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:26:00 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+20": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20" ], - "x-ms-client-request-id": [ "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "555b5f33-7d37-49ef-b315-a2070446f5f2" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11976" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-correlation-request-id": [ "2931cf7b-9018-41f9-a4f7-c14092b67d64" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082631Z:2931cf7b-9018-41f9-a4f7-c14092b67d64" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:26:30 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+21": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21" ], - "x-ms-client-request-id": [ "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "8f5ec41d-cf09-427b-b286-a0e3eb951440" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11975" ], - "x-ms-correlation-request-id": [ "41517ba8-950a-4ad2-a177-59d3d12eb401" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082632Z:41517ba8-950a-4ad2-a177-59d3d12eb401" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:26:31 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "1063" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100-replica.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T08:28:33.737+00:00\",\"replicationRole\":\"Replica\",\"masterServerId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica\",\"name\":\"mysql-test-100-replica\",\"type\":\"Microsoft.DBforMySQL/servers\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+22": { - "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"createMode\": \"GeoRestore\",\n \"sourceServerId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica\"\n },\n \"location\": \"eastus\"\n}", - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "244" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/169f1d2f-3665-498c-b4a8-5bdef0b59066?api-version=2017-12-01" ], - "Retry-After": [ "10" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/169f1d2f-3665-498c-b4a8-5bdef0b59066?api-version=2017-12-01" ], - "x-ms-request-id": [ "169f1d2f-3665-498c-b4a8-5bdef0b59066" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], - "x-ms-correlation-request-id": [ "17ae7918-c1d0-4519-98d8-da2ac1ce9598" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082634Z:17ae7918-c1d0-4519-98d8-da2ac1ce9598" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:26:33 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "75" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"RestoreElasticServer\",\"startTime\":\"2020-07-24T08:26:33.757Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/169f1d2f-3665-498c-b4a8-5bdef0b59066?api-version=2017-12-01+23": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/169f1d2f-3665-498c-b4a8-5bdef0b59066?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "22", "23" ], - "x-ms-client-request-id": [ "0d6e50e9-885a-4489-bf7e-9b84a9e44a69", "0d6e50e9-885a-4489-bf7e-9b84a9e44a69" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "10" ], - "x-ms-request-id": [ "1503eb09-b1a4-433e-8dc0-c98f402e14ae" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11974" ], - "x-ms-correlation-request-id": [ "2ede30ba-012d-4d26-8004-64d4c0c84f8e" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082644Z:2ede30ba-012d-4d26-8004-64d4c0c84f8e" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:26:43 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "268" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"169f1d2f-3665-498c-b4a8-5bdef0b59066\",\"status\":\"Failed\",\"startTime\":\"2020-07-24T08:26:33.757Z\",\"error\":{\"code\":\"SubscriptionDoesNotHaveServer\",\"message\":\"Subscription \u00279e223dbe-3399-4e19-88eb-0975f02ac87f\u0027 does not have the server \u0027mysql-test-100-replica\u0027.\"}}" - } - }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+24": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "22", "23", "24" ], - "x-ms-client-request-id": [ "0d6e50e9-885a-4489-bf7e-9b84a9e44a69", "0d6e50e9-885a-4489-bf7e-9b84a9e44a69", "0d6e50e9-885a-4489-bf7e-9b84a9e44a69" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "9df14527-44be-4ca6-8672-9027c55618eb" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11973" ], - "x-ms-correlation-request-id": [ "22eac633-df65-4452-964e-5c417a91ecd7" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082644Z:22eac633-df65-4452-964e-5c417a91ecd7" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:26:43 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "909" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "25" ], - "x-ms-client-request-id": [ "3b2f79d7-ec9b-4cad-8bcd-c79c8791174e" ], - "CommandName": [ "Get-AzMySqlServer" ], - "FullCommandName": [ "Get-AzMySqlServer_Get" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "ab4f4393-ad37-422a-b952-da8844e6706f" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11972" ], - "x-ms-correlation-request-id": [ "73395c4c-8621-4cc1-a998-18c3ee67884b" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082645Z:73395c4c-8621-4cc1-a998-18c3ee67884b" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:26:44 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "909" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-restore-2?api-version=2017-12-01+2": { - "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-restore-2?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"createMode\": \"PointInTimeRestore\",\n \"restorePointInTime\": \"2020-07-24T08:16:43.7672952+00:00\",\n \"sourceServerId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\"\n },\n \"location\": \"eastus\"\n}", - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "307" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01" ], - "Retry-After": [ "10" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01" ], - "x-ms-request-id": [ "9d76273c-1381-4238-9c08-650cf41d34b8" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], - "x-ms-correlation-request-id": [ "45b09785-959c-48a1-961b-eeba01a5f2dc" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082651Z:45b09785-959c-48a1-961b-eeba01a5f2dc" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:26:50 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "75" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"RestoreElasticServer\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "26", "27" ], - "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "10" ], - "x-ms-request-id": [ "0af589d6-ec01-4106-a374-e1d7764572fa" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11971" ], - "x-ms-correlation-request-id": [ "b3a8e898-3fa6-43cd-9d43-d4ea416dea28" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082701Z:b3a8e898-3fa6-43cd-9d43-d4ea416dea28" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:27:00 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+4": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "26", "27", "28" ], - "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "10" ], - "x-ms-request-id": [ "a87ff73d-322a-4dbc-bca7-1a731f7d7612" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11970" ], - "x-ms-correlation-request-id": [ "5832293a-e6e9-4d8c-a40b-1929f6a9cf02" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082713Z:5832293a-e6e9-4d8c-a40b-1929f6a9cf02" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:27:13 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+5": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "26", "27", "28", "29" ], - "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "10" ], - "x-ms-request-id": [ "30e83978-be91-43f2-814c-27da456706b1" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11969" ], - "x-ms-correlation-request-id": [ "94e7e56f-f818-4aa8-a35d-8115e4bc89dc" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082723Z:94e7e56f-f818-4aa8-a35d-8115e4bc89dc" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:27:23 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "26", "27", "28", "29", "30" ], - "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "10" ], - "x-ms-request-id": [ "6450f882-f2a5-4329-888e-ccc3d54e0067" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11968" ], - "x-ms-correlation-request-id": [ "c12cb1e2-d309-4f8b-a74a-f456036afb21" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082733Z:c12cb1e2-d309-4f8b-a74a-f456036afb21" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:27:33 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+7": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31" ], - "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "10" ], - "x-ms-request-id": [ "645697af-61d4-48c9-b76d-65685b218e4d" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11967" ], - "x-ms-correlation-request-id": [ "ed243954-9864-4c3a-bc63-3bfe55672b57" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082744Z:ed243954-9864-4c3a-bc63-3bfe55672b57" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:27:43 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+8": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32" ], - "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "10" ], - "x-ms-request-id": [ "37ffc4f0-571e-4614-94d2-df315dd3ab34" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11966" ], - "x-ms-correlation-request-id": [ "22f719c2-bd92-49b0-9c08-a19081410cb4" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082754Z:22f719c2-bd92-49b0-9c08-a19081410cb4" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:27:54 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+9": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33" ], - "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "10" ], - "x-ms-request-id": [ "7ffebd21-f239-4cac-9625-55c8b21e1875" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11965" ], - "x-ms-correlation-request-id": [ "d6ab22bd-dac7-40f2-b1ab-57e7aac426b7" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082805Z:d6ab22bd-dac7-40f2-b1ab-57e7aac426b7" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:28:04 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+10": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34" ], - "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "10" ], - "x-ms-request-id": [ "4fdb6f54-9ede-4fab-86cb-9a995a3df5e0" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11964" ], - "x-ms-correlation-request-id": [ "dd1a2b45-b85e-4eab-9a18-7106d46f383b" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082815Z:dd1a2b45-b85e-4eab-9a18-7106d46f383b" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:28:14 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+11": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35" ], - "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "10" ], - "x-ms-request-id": [ "babce02f-dcea-430e-b117-348d020f0e55" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11963" ], - "x-ms-correlation-request-id": [ "baf03dd8-9cb1-47d3-b270-272937e83249" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082825Z:baf03dd8-9cb1-47d3-b270-272937e83249" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:28:25 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+12": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36" ], - "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "10" ], - "x-ms-request-id": [ "70e73757-2f2a-4fd3-919a-d72795198d44" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11962" ], - "x-ms-correlation-request-id": [ "5831bc28-7e37-4fde-a808-72bd7506cec2" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082836Z:5831bc28-7e37-4fde-a808-72bd7506cec2" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:28:35 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+13": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37" ], - "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "10" ], - "x-ms-request-id": [ "320bff28-d73d-45dd-b639-a9153b005f1f" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11961" ], - "x-ms-correlation-request-id": [ "00980fcc-8d21-4632-8d9d-802b823360e4" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082846Z:00980fcc-8d21-4632-8d9d-802b823360e4" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:28:45 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+14": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38" ], - "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "10" ], - "x-ms-request-id": [ "32519595-9153-4c72-b0df-3f86e96dae1c" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11960" ], - "x-ms-correlation-request-id": [ "011d78fd-335d-439d-8c2d-8c52e1de3a81" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082856Z:011d78fd-335d-439d-8c2d-8c52e1de3a81" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:28:56 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+15": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39" ], - "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "10" ], - "x-ms-request-id": [ "5b8f55f4-ec8a-4644-8304-1c73e70a94bb" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11959" ], - "x-ms-correlation-request-id": [ "3372b541-0848-413d-b8df-6ee17511c7d6" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082907Z:3372b541-0848-413d-b8df-6ee17511c7d6" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:29:07 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+16": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40" ], - "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "10" ], - "x-ms-request-id": [ "8bf66a56-b80a-42a2-943b-c97e47c98618" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11958" ], - "x-ms-correlation-request-id": [ "fa98991d-a05c-45fd-a1da-d3eb28ea94f0" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082917Z:fa98991d-a05c-45fd-a1da-d3eb28ea94f0" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:29:17 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+17": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41" ], - "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "10" ], - "x-ms-request-id": [ "630bb4a2-8d7d-44a4-989f-b58c9dc7570d" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11957" ], - "x-ms-correlation-request-id": [ "8f4f93aa-c49b-47b0-bc9a-1856db13ba0f" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082928Z:8f4f93aa-c49b-47b0-bc9a-1856db13ba0f" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:29:27 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+18": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42" ], - "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "10" ], - "x-ms-request-id": [ "0b5e3d58-a65c-4f4b-af87-951afdecbd95" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11956" ], - "x-ms-correlation-request-id": [ "c9e5b373-dfe7-4891-aa60-5bac3c7214f1" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082938Z:c9e5b373-dfe7-4891-aa60-5bac3c7214f1" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:29:38 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+19": { + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { - "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43" ], - "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "10" ], - "x-ms-request-id": [ "867f9e4c-6db5-4f10-875d-89d81fedbb61" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11955" ], - "x-ms-correlation-request-id": [ "32daf068-749a-43d3-994a-17180306c251" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082948Z:32daf068-749a-43d3-994a-17180306c251" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:29:48 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+20": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44" ], - "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "10" ], - "x-ms-request-id": [ "89650b44-1c8c-4f11-945e-ad3d9bcc79ff" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11954" ], - "x-ms-correlation-request-id": [ "0b8fc9f1-07ad-4453-adca-a05bfda55d31" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082959Z:0b8fc9f1-07ad-4453-adca-a05bfda55d31" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:29:58 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+21": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45" ], - "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "10" ], - "x-ms-request-id": [ "7d0267c5-5020-4e93-bdf4-c25c4fede589" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11953" ], - "x-ms-correlation-request-id": [ "7ac0bc5f-12a8-47f6-9dee-d9de9ad7236d" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T083009Z:7ac0bc5f-12a8-47f6-9dee-d9de9ad7236d" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:30:08 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+22": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46" ], - "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "10" ], - "x-ms-request-id": [ "f10ee047-2aee-482b-9dcf-12c2b2895e05" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11952" ], - "x-ms-correlation-request-id": [ "2d1c1d2e-ef7e-41ef-9587-78ee53dbb1fb" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T083020Z:2d1c1d2e-ef7e-41ef-9587-78ee53dbb1fb" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:30:19 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+23": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47" ], - "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "10" ], - "x-ms-request-id": [ "60eea81a-0cda-4a9c-af57-b7e5f478a34b" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11951" ], - "x-ms-correlation-request-id": [ "1150a68c-4c39-4733-b71d-857f7981ddb0" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T083030Z:1150a68c-4c39-4733-b71d-857f7981ddb0" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:30:29 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+24": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48" ], - "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "10" ], - "x-ms-request-id": [ "33758160-c357-4042-ace1-78cb704c129b" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11950" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-correlation-request-id": [ "7ac9bc42-b7f2-4c95-bd6c-10183dc9b024" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T083040Z:7ac9bc42-b7f2-4c95-bd6c-10183dc9b024" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:30:40 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+25": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49" ], - "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "10" ], - "x-ms-request-id": [ "bcb938d6-075c-4f13-bfd1-b411fcb6279f" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11949" ], - "x-ms-correlation-request-id": [ "fe64b188-da9d-4752-8750-1adb051f5b27" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T083052Z:fe64b188-da9d-4752-8750-1adb051f5b27" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:30:51 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+26": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50" ], - "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "10" ], - "x-ms-request-id": [ "784550e4-016e-4e70-b081-7a06aef53072" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11948" ], - "x-ms-correlation-request-id": [ "01ecd3f8-c0cf-4d4c-bd98-b96df906c36e" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T083102Z:01ecd3f8-c0cf-4d4c-bd98-b96df906c36e" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:31:02 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+27": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51" ], - "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "10" ], - "x-ms-request-id": [ "55b8d849-9f62-43f3-999b-034e4b7d679d" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11947" ], - "x-ms-correlation-request-id": [ "a2c067e7-93f4-49bd-9054-a3661d985860" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T083112Z:a2c067e7-93f4-49bd-9054-a3661d985860" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:31:12 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+28": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52" ], - "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "10" ], - "x-ms-request-id": [ "0de92c6a-48f0-4299-99b8-d3a90a07eedf" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11946" ], - "x-ms-correlation-request-id": [ "52670180-cc9e-4299-aafe-efb541f067c7" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T083123Z:52670180-cc9e-4299-aafe-efb541f067c7" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:31:23 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+29": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53" ], - "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "10" ], - "x-ms-request-id": [ "92c1c209-41cb-4f59-a3fe-112eeecc0f0a" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11945" ], - "x-ms-correlation-request-id": [ "27739120-3991-49cb-a9e0-381aa9371329" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T083133Z:27739120-3991-49cb-a9e0-381aa9371329" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:31:33 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+30": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54" ], - "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "10" ], - "x-ms-request-id": [ "fc809fb6-17da-45fb-82ad-88a72599d938" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11944" ], - "x-ms-correlation-request-id": [ "fd79b2c0-8a4e-4770-8f73-4c675c394af0" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T083144Z:fd79b2c0-8a4e-4770-8f73-4c675c394af0" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:31:43 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" - } - }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-restore-2?api-version=2017-12-01+31": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-restore-2?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55" ], - "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], - "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "x-ms-unique-id": [ "24" ], + "x-ms-client-request-id": [ "9e804910-dec9-4fff-9cba-b3d4ebcb2299" ], + "CommandName": [ "Get-AzMySqlServer" ], + "FullCommandName": [ "Get-AzMySqlServer_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { } }, "Response": { - "StatusCode": 200, + "StatusCode": 404, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "dd803ba3-8887-48ab-8124-b775af7c56cb" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11943" ], - "x-ms-correlation-request-id": [ "b9201906-29be-4e11-8738-9c55fd9be38d" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T083144Z:b9201906-29be-4e11-8738-9c55fd9be38d" ], + "x-ms-failure-cause": [ "gateway" ], + "x-ms-request-id": [ "07b4d96b-9e7b-4fa0-ad37-36fd14574de1" ], + "x-ms-correlation-request-id": [ "07b4d96b-9e7b-4fa0-ad37-36fd14574de1" ], + "x-ms-routing-request-id": [ "WESTUS2:20201110T002734Z:07b4d96b-9e7b-4fa0-ad37-36fd14574de1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:31:44 GMT" ] + "Date": [ "Tue, 10 Nov 2020 00:27:34 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "937" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] + "Expires": [ "-1" ], + "Content-Length": [ "224" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100-restore-2.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T08:36:51.303+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-restore-2\",\"name\":\"mysql-test-100-restore-2\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForMySQL/servers/mysql-test-100\u0027 under resource group \u0027MySqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" } } } \ No newline at end of file diff --git a/src/MySql/test/Start-AzMySqlFlexibleServer.Recording.json b/src/MySql/test/Start-AzMySqlFlexibleServer.Recording.json new file mode 100644 index 000000000000..75a26fb724b9 --- /dev/null +++ b/src/MySql/test/Start-AzMySqlFlexibleServer.Recording.json @@ -0,0 +1,244 @@ +{ + "Start-AzMySqlFlexibleServer+[NoContext]+Start+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/stop?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "POST", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/stop?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "33" ], + "x-ms-client-request-id": [ "b92aaca1-0eac-451f-aa8d-8a82d2fac906" ], + "CommandName": [ "Stop-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Stop-AzMySqlFlexibleServer_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/c089bbe5-db96-49ec-83d9-5e2615cc6662?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c089bbe5-db96-49ec-83d9-5e2615cc6662?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "c089bbe5-db96-49ec-83d9-5e2615cc6662" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-correlation-request-id": [ "d1468cbc-5a48-455d-9d99-7aed756274cf" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065600Z:d1468cbc-5a48-455d-9d99-7aed756274cf" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:56:00 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "84" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"StopServerManagementOperation\",\"startTime\":\"2020-11-11T06:56:00.467Z\"}" + } + }, + "Start-AzMySqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c089bbe5-db96-49ec-83d9-5e2615cc6662?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c089bbe5-db96-49ec-83d9-5e2615cc6662?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "34" ], + "x-ms-client-request-id": [ "b92aaca1-0eac-451f-aa8d-8a82d2fac906" ], + "CommandName": [ "Stop-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Stop-AzMySqlFlexibleServer_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "151ea693-2451-496d-8a5a-cd918670ed81" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11973" ], + "x-ms-correlation-request-id": [ "141b96a0-68ad-4a2b-91dc-ee91e39c46fd" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065700Z:141b96a0-68ad-4a2b-91dc-ee91e39c46fd" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:56:59 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "235" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"c089bbe5-db96-49ec-83d9-5e2615cc6662\",\"status\":\"Failed\",\"startTime\":\"2020-11-11T06:56:00.467Z\",\"error\":{\"code\":\"OperationFailed\",\"message\":\"Operation Stop failed, because server mysql-test-100 is busy with other operations.\"}}" + } + }, + "Start-AzMySqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/c089bbe5-db96-49ec-83d9-5e2615cc6662?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/c089bbe5-db96-49ec-83d9-5e2615cc6662?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "35" ], + "x-ms-client-request-id": [ "b92aaca1-0eac-451f-aa8d-8a82d2fac906" ], + "CommandName": [ "Stop-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Stop-AzMySqlFlexibleServer_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 400, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "0ece29b7-b6ea-4059-9814-ad3aa91041c8" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11972" ], + "x-ms-correlation-request-id": [ "68f43546-85c2-4c66-aed1-65c11704496c" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065700Z:68f43546-85c2-4c66-aed1-65c11704496c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:56:59 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "132" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"error\":{\"code\":\"OperationFailed\",\"message\":\"Operation Stop failed, because server mysql-test-100 is busy with other operations.\"}}" + } + }, + "Start-AzMySqlFlexibleServer+[NoContext]+StartViaIdentity+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/stop?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "POST", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/stop?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "36" ], + "x-ms-client-request-id": [ "37a834d5-3623-4eb2-bedc-a11e8fc55e9b" ], + "CommandName": [ "Stop-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Stop-AzMySqlFlexibleServer_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/18f4ada9-9479-4a37-9cc9-dbe57a42d9b5?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/18f4ada9-9479-4a37-9cc9-dbe57a42d9b5?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "18f4ada9-9479-4a37-9cc9-dbe57a42d9b5" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], + "x-ms-correlation-request-id": [ "58b85a5f-a82f-47ba-b0f8-5c369804d4a3" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065701Z:58b85a5f-a82f-47ba-b0f8-5c369804d4a3" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:57:00 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "84" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"StopServerManagementOperation\",\"startTime\":\"2020-11-11T06:57:00.937Z\"}" + } + }, + "Start-AzMySqlFlexibleServer+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/18f4ada9-9479-4a37-9cc9-dbe57a42d9b5?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/18f4ada9-9479-4a37-9cc9-dbe57a42d9b5?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "37" ], + "x-ms-client-request-id": [ "37a834d5-3623-4eb2-bedc-a11e8fc55e9b" ], + "CommandName": [ "Stop-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Stop-AzMySqlFlexibleServer_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "01b5bafa-f0a9-4fad-b080-15f2ce07331d" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11971" ], + "x-ms-correlation-request-id": [ "7f030b41-8a79-4ddf-be06-aff85a55c54e" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065801Z:7f030b41-8a79-4ddf-be06-aff85a55c54e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:58:00 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "235" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"18f4ada9-9479-4a37-9cc9-dbe57a42d9b5\",\"status\":\"Failed\",\"startTime\":\"2020-11-11T06:57:00.937Z\",\"error\":{\"code\":\"OperationFailed\",\"message\":\"Operation Stop failed, because server mysql-test-100 is busy with other operations.\"}}" + } + }, + "Start-AzMySqlFlexibleServer+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/18f4ada9-9479-4a37-9cc9-dbe57a42d9b5?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/18f4ada9-9479-4a37-9cc9-dbe57a42d9b5?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "38" ], + "x-ms-client-request-id": [ "37a834d5-3623-4eb2-bedc-a11e8fc55e9b" ], + "CommandName": [ "Stop-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Stop-AzMySqlFlexibleServer_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 400, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "34bf4298-9b0e-473a-8a76-a8e7292971e8" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11970" ], + "x-ms-correlation-request-id": [ "7ebe740f-31e0-4264-b5cf-656890b10587" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065801Z:7ebe740f-31e0-4264-b5cf-656890b10587" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:58:00 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "132" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"error\":{\"code\":\"OperationFailed\",\"message\":\"Operation Stop failed, because server mysql-test-100 is busy with other operations.\"}}" + } + } +} \ No newline at end of file diff --git a/src/MySql/test/Start-AzMySqlFlexibleServer.Tests.ps1 b/src/MySql/test/Start-AzMySqlFlexibleServer.Tests.ps1 new file mode 100644 index 000000000000..e4491a61880a --- /dev/null +++ b/src/MySql/test/Start-AzMySqlFlexibleServer.Tests.ps1 @@ -0,0 +1,29 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'Start-AzMySqlFlexibleServer.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'Start-AzMySqlFlexibleServer' { + It 'Start' { + { + Stop-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName + Start-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName + } | Should -Not -Throw + } + + It 'StartViaIdentity' { + { + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySql/flexibleServers/$($env.serverName)/start" + Stop-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName + Start-AzMySqlFlexibleServer -InputObject $ID + } | Should -Not -Throw + } +} diff --git a/src/MySql/test/Stop-AzMySqlFlexibleServer.Recording.json b/src/MySql/test/Stop-AzMySqlFlexibleServer.Recording.json new file mode 100644 index 000000000000..bb4e9528fabd --- /dev/null +++ b/src/MySql/test/Stop-AzMySqlFlexibleServer.Recording.json @@ -0,0 +1,123 @@ +{ + "Stop-AzMySqlFlexibleServer+[NoContext]+Stop+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/stop?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "POST", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/stop?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "39" ], + "x-ms-client-request-id": [ "3d6726a3-8d93-439c-99a4-210b1f988677" ], + "CommandName": [ "Stop-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Stop-AzMySqlFlexibleServer_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/2fd44cef-57f1-4580-89b1-b455490a7a5d?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/2fd44cef-57f1-4580-89b1-b455490a7a5d?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "2fd44cef-57f1-4580-89b1-b455490a7a5d" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], + "x-ms-correlation-request-id": [ "fff64ce3-e7ec-4572-bddf-60f597a5a69a" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065801Z:fff64ce3-e7ec-4572-bddf-60f597a5a69a" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:58:01 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "84" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"StopServerManagementOperation\",\"startTime\":\"2020-11-11T06:58:01.593Z\"}" + } + }, + "Stop-AzMySqlFlexibleServer+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/2fd44cef-57f1-4580-89b1-b455490a7a5d?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/2fd44cef-57f1-4580-89b1-b455490a7a5d?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "40" ], + "x-ms-client-request-id": [ "3d6726a3-8d93-439c-99a4-210b1f988677" ], + "CommandName": [ "Stop-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Stop-AzMySqlFlexibleServer_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "13320e80-160e-4996-b752-74832c3fbe69" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11969" ], + "x-ms-correlation-request-id": [ "abd32559-ae18-40f6-ba68-7d14d2deb583" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065901Z:abd32559-ae18-40f6-ba68-7d14d2deb583" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:59:01 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "235" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"2fd44cef-57f1-4580-89b1-b455490a7a5d\",\"status\":\"Failed\",\"startTime\":\"2020-11-11T06:58:01.593Z\",\"error\":{\"code\":\"OperationFailed\",\"message\":\"Operation Stop failed, because server mysql-test-100 is busy with other operations.\"}}" + } + }, + "Stop-AzMySqlFlexibleServer+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/2fd44cef-57f1-4580-89b1-b455490a7a5d?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/2fd44cef-57f1-4580-89b1-b455490a7a5d?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "41" ], + "x-ms-client-request-id": [ "3d6726a3-8d93-439c-99a4-210b1f988677" ], + "CommandName": [ "Stop-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Stop-AzMySqlFlexibleServer_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 400, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "590f553b-3a1f-4ddc-aff0-c53ec4f2287c" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11968" ], + "x-ms-correlation-request-id": [ "8929ff00-4efd-4212-9f97-260fba68d198" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065901Z:8929ff00-4efd-4212-9f97-260fba68d198" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:59:01 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "132" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"error\":{\"code\":\"OperationFailed\",\"message\":\"Operation Stop failed, because server mysql-test-100 is busy with other operations.\"}}" + } + } +} \ No newline at end of file diff --git a/src/MySql/test/Stop-AzMySqlFlexibleServer.Tests.ps1 b/src/MySql/test/Stop-AzMySqlFlexibleServer.Tests.ps1 new file mode 100644 index 000000000000..fb990e0da724 --- /dev/null +++ b/src/MySql/test/Stop-AzMySqlFlexibleServer.Tests.ps1 @@ -0,0 +1,27 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'Stop-AzMySqlFlexibleServer.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'Stop-AzMySqlFlexibleServer' { + It 'Stop' { + { + Stop-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName + } | Should -Not -Throw + } + + It 'StopViaIdentity' { + { + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySql/flexibleServers/$($env.serverName)/stop" + Stop-AzMySqlFlexibleServer -InputObject $ID + } | Should -Not -Throw + } +} diff --git a/src/MySql/test/Update-AzMySqlConfiguration.Recording.json b/src/MySql/test/Update-AzMySqlConfiguration.Recording.json index 56d48eea8fae..6fdcd6dfec5f 100644 --- a/src/MySql/test/Update-AzMySqlConfiguration.Recording.json +++ b/src/MySql/test/Update-AzMySqlConfiguration.Recording.json @@ -1,234 +1,35 @@ { - "Update-AzMySqlConfiguration+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/net_retry_count?api-version=2017-12-01+1": { + "Update-AzMySqlConfiguration+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/net_retry_count?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/net_retry_count?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"value\": \"15\"\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/net_retry_count?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"value\": \"15\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "43" ] + "Content-Length": [ "47" ] } }, "Response": { - "StatusCode": 202, + "StatusCode": 404, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/12d527f8-26da-4367-af99-9420131c5e00?api-version=2017-12-01" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/12d527f8-26da-4367-af99-9420131c5e00?api-version=2017-12-01" ], - "x-ms-request-id": [ "12d527f8-26da-4367-af99-9420131c5e00" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-correlation-request-id": [ "003aef60-4eea-4a67-8514-5018c76b2a71" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T080318Z:003aef60-4eea-4a67-8514-5018c76b2a71" ], + "x-ms-failure-cause": [ "gateway" ], + "x-ms-request-id": [ "e2461f9e-2d40-44f9-b77c-e6a893b520b9" ], + "x-ms-correlation-request-id": [ "e2461f9e-2d40-44f9-b77c-e6a893b520b9" ], + "x-ms-routing-request-id": [ "WESTUS2:20201110T002736Z:e2461f9e-2d40-44f9-b77c-e6a893b520b9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:03:18 GMT" ] + "Date": [ "Tue, 10 Nov 2020 00:27:35 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "80" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] + "Expires": [ "-1" ], + "Content-Length": [ "224" ] }, - "Content": "{\"operation\":\"UpdateElasticServerConfig\",\"startTime\":\"2020-07-24T08:03:18.063Z\"}" - } - }, - "Update-AzMySqlConfiguration+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/12d527f8-26da-4367-af99-9420131c5e00?api-version=2017-12-01+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/12d527f8-26da-4367-af99-9420131c5e00?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "1", "2" ], - "x-ms-client-request-id": [ "01cfd543-d798-419e-94ec-604fd1121ae6", "01cfd543-d798-419e-94ec-604fd1121ae6" ], - "CommandName": [ "Az.MySql.internal\\Update-AzMySqlConfiguration", "Az.MySql.internal\\Update-AzMySqlConfiguration" ], - "FullCommandName": [ "Update-AzMySqlConfiguration_UpdateExpanded", "Update-AzMySqlConfiguration_UpdateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "f5856a6d-0d0e-405d-8357-1b409fb610aa" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], - "x-ms-correlation-request-id": [ "4e2f3f63-9e48-4aba-9641-ef77e8efab5f" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T080333Z:4e2f3f63-9e48-4aba-9641-ef77e8efab5f" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:03:33 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"12d527f8-26da-4367-af99-9420131c5e00\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T08:03:18.063Z\"}" - } - }, - "Update-AzMySqlConfiguration+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/net_retry_count?api-version=2017-12-01+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/net_retry_count?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "1", "2", "3" ], - "x-ms-client-request-id": [ "01cfd543-d798-419e-94ec-604fd1121ae6", "01cfd543-d798-419e-94ec-604fd1121ae6", "01cfd543-d798-419e-94ec-604fd1121ae6" ], - "CommandName": [ "Az.MySql.internal\\Update-AzMySqlConfiguration", "Az.MySql.internal\\Update-AzMySqlConfiguration", "Az.MySql.internal\\Update-AzMySqlConfiguration" ], - "FullCommandName": [ "Update-AzMySqlConfiguration_UpdateExpanded", "Update-AzMySqlConfiguration_UpdateExpanded", "Update-AzMySqlConfiguration_UpdateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "83813b6c-c64d-40de-a0ff-25a0db36c815" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], - "x-ms-correlation-request-id": [ "ecaf7de8-004a-4acf-afd5-6bd9e0657bb1" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T080334Z:ecaf7de8-004a-4acf-afd5-6bd9e0657bb1" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:03:33 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "546" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"value\":\"15\",\"description\":\"If a read or write on a communication port is interrupted, retry this many times before giving up.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/net_retry_count\",\"name\":\"net_retry_count\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"}" - } - }, - "Update-AzMySqlConfiguration+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/wait_timeout?api-version=2017-12-01+1": { - "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/wait_timeout?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"value\": \"150\"\n }\n}", - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "44" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/843d746e-2b2d-4130-ab79-dfdf85d1ec6a?api-version=2017-12-01" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/843d746e-2b2d-4130-ab79-dfdf85d1ec6a?api-version=2017-12-01" ], - "x-ms-request-id": [ "843d746e-2b2d-4130-ab79-dfdf85d1ec6a" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], - "x-ms-correlation-request-id": [ "edc6c221-1a44-4f50-96e6-10b896e558d3" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T080335Z:edc6c221-1a44-4f50-96e6-10b896e558d3" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:03:34 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "79" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpdateElasticServerConfig\",\"startTime\":\"2020-07-24T08:03:35.11Z\"}" - } - }, - "Update-AzMySqlConfiguration+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/843d746e-2b2d-4130-ab79-dfdf85d1ec6a?api-version=2017-12-01+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/843d746e-2b2d-4130-ab79-dfdf85d1ec6a?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "4", "5" ], - "x-ms-client-request-id": [ "141e5666-8c34-46c5-9c66-28f0c6b00646", "141e5666-8c34-46c5-9c66-28f0c6b00646" ], - "CommandName": [ "Az.MySql.internal\\Update-AzMySqlConfiguration", "Az.MySql.internal\\Update-AzMySqlConfiguration" ], - "FullCommandName": [ "Update-AzMySqlConfiguration_UpdateViaIdentityExpanded", "Update-AzMySqlConfiguration_UpdateViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "f9af11c1-4088-4b49-ae38-dc60aac8f4fa" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], - "x-ms-correlation-request-id": [ "ece9af74-3487-49ce-a600-861f827b0725" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T080350Z:ece9af74-3487-49ce-a600-861f827b0725" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:03:49 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "106" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"843d746e-2b2d-4130-ab79-dfdf85d1ec6a\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T08:03:35.11Z\"}" - } - }, - "Update-AzMySqlConfiguration+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/wait_timeout?api-version=2017-12-01+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/wait_timeout?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "4", "5", "6" ], - "x-ms-client-request-id": [ "141e5666-8c34-46c5-9c66-28f0c6b00646", "141e5666-8c34-46c5-9c66-28f0c6b00646", "141e5666-8c34-46c5-9c66-28f0c6b00646" ], - "CommandName": [ "Az.MySql.internal\\Update-AzMySqlConfiguration", "Az.MySql.internal\\Update-AzMySqlConfiguration", "Az.MySql.internal\\Update-AzMySqlConfiguration" ], - "FullCommandName": [ "Update-AzMySqlConfiguration_UpdateViaIdentityExpanded", "Update-AzMySqlConfiguration_UpdateViaIdentityExpanded", "Update-AzMySqlConfiguration_UpdateViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "6e672555-cf54-477c-b07e-b6828c9819aa" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], - "x-ms-correlation-request-id": [ "afff8217-5980-4744-a588-a52aae4c31ef" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T080351Z:afff8217-5980-4744-a588-a52aae4c31ef" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 08:03:50 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "542" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"value\":\"150\",\"description\":\"The number of seconds the server waits for activity on a noninteractive connection before closing it.\",\"defaultValue\":\"120\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/wait_timeout\",\"name\":\"wait_timeout\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"}" + "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForMySQL/servers/mysql-test-100\u0027 under resource group \u0027MySqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" } } } \ No newline at end of file diff --git a/src/MySql/test/Update-AzMySqlFirewallRule.Recording.json b/src/MySql/test/Update-AzMySqlFirewallRule.Recording.json index e9b71b9541ce..f2a8e8b24940 100644 --- a/src/MySql/test/Update-AzMySqlFirewallRule.Recording.json +++ b/src/MySql/test/Update-AzMySqlFirewallRule.Recording.json @@ -1,706 +1,68 @@ { - "Update-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { + "Update-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"endIpAddress\": \"0.0.0.1\",\n \"startIpAddress\": \"0.0.0.0\"\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "88" ] + "Content-Length": [ "93" ] } }, "Response": { - "StatusCode": 202, + "StatusCode": 404, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/8e22193e-3d9c-4e45-bf1d-61bd3b5e29d8?api-version=2017-12-01" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/8e22193e-3d9c-4e45-bf1d-61bd3b5e29d8?api-version=2017-12-01" ], - "x-ms-request-id": [ "8e22193e-3d9c-4e45-bf1d-61bd3b5e29d8" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], - "x-ms-correlation-request-id": [ "0366fffe-8953-465f-b476-4d85e47c7d74" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T071013Z:0366fffe-8953-465f-b476-4d85e47c7d74" ], + "x-ms-failure-cause": [ "gateway" ], + "x-ms-request-id": [ "0f28ebba-0c8e-412f-b8d7-11e4b6db1d46" ], + "x-ms-correlation-request-id": [ "0f28ebba-0c8e-412f-b8d7-11e4b6db1d46" ], + "x-ms-routing-request-id": [ "WESTUS2:20201110T002737Z:0f28ebba-0c8e-412f-b8d7-11e4b6db1d46" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:10:12 GMT" ] + "Date": [ "Tue, 10 Nov 2020 00:27:36 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "86" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-07-24T07:10:12.05Z\"}" - } - }, - "Update-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/8e22193e-3d9c-4e45-bf1d-61bd3b5e29d8?api-version=2017-12-01+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/8e22193e-3d9c-4e45-bf1d-61bd3b5e29d8?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "1", "2" ], - "x-ms-client-request-id": [ "976f4caa-e284-42e7-b4e8-4fdd6f592cb1", "976f4caa-e284-42e7-b4e8-4fdd6f592cb1" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule" ], - "FullCommandName": [ "New-AzMySqlFirewallRule_CreateExpanded", "New-AzMySqlFirewallRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "94b52d49-ab53-4986-ab92-ee94f5148402" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], - "x-ms-correlation-request-id": [ "a34619d2-5a87-404e-8aa1-193eb0a7069c" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T071028Z:a34619d2-5a87-404e-8aa1-193eb0a7069c" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:10:28 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "106" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"8e22193e-3d9c-4e45-bf1d-61bd3b5e29d8\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:10:12.05Z\"}" - } - }, - "Update-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "1", "2", "3" ], - "x-ms-client-request-id": [ "976f4caa-e284-42e7-b4e8-4fdd6f592cb1", "976f4caa-e284-42e7-b4e8-4fdd6f592cb1", "976f4caa-e284-42e7-b4e8-4fdd6f592cb1" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule" ], - "FullCommandName": [ "New-AzMySqlFirewallRule_CreateExpanded", "New-AzMySqlFirewallRule_CreateExpanded", "New-AzMySqlFirewallRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "b4940d76-138b-46fd-9c8c-26b5ca778ee4" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], - "x-ms-correlation-request-id": [ "4c349946-ef8b-42b0-b373-56ec19e1b25d" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T071029Z:4c349946-ef8b-42b0-b373-56ec19e1b25d" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:10:29 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "305" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/servers/firewallRules\"}" - } - }, - "Update-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+4": { - "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"endIpAddress\": \"0.0.0.2\",\n \"startIpAddress\": \"0.0.0.2\"\n }\n}", - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "88" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/e5917bef-26e5-48bd-a3d4-ccfd236ebb4b?api-version=2017-12-01" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/e5917bef-26e5-48bd-a3d4-ccfd236ebb4b?api-version=2017-12-01" ], - "x-ms-request-id": [ "e5917bef-26e5-48bd-a3d4-ccfd236ebb4b" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], - "x-ms-correlation-request-id": [ "e7aa58cd-2a9c-46b4-b4b5-bce1b8b84e5d" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T071030Z:e7aa58cd-2a9c-46b4-b4b5-bce1b8b84e5d" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:10:30 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "86" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-07-24T07:10:29.63Z\"}" - } - }, - "Update-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/e5917bef-26e5-48bd-a3d4-ccfd236ebb4b?api-version=2017-12-01+5": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/e5917bef-26e5-48bd-a3d4-ccfd236ebb4b?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "4", "5" ], - "x-ms-client-request-id": [ "f648dd60-5779-47ac-9af9-cd4d906c7f3d", "f648dd60-5779-47ac-9af9-cd4d906c7f3d" ], - "CommandName": [ "Az.MySql.internal\\Update-AzMySqlFirewallRule", "Az.MySql.internal\\Update-AzMySqlFirewallRule" ], - "FullCommandName": [ "Update-AzMySqlFirewallRule_ClientIPAddress", "Update-AzMySqlFirewallRule_ClientIPAddress" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "49d32cc6-8a69-47fd-9653-b20d67e253db" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], - "x-ms-correlation-request-id": [ "fdf0b140-07a2-46fd-bb8e-1c36b9c021a1" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T071046Z:fdf0b140-07a2-46fd-bb8e-1c36b9c021a1" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:10:46 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "106" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"e5917bef-26e5-48bd-a3d4-ccfd236ebb4b\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:10:29.63Z\"}" - } - }, - "Update-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "4", "5", "6" ], - "x-ms-client-request-id": [ "f648dd60-5779-47ac-9af9-cd4d906c7f3d", "f648dd60-5779-47ac-9af9-cd4d906c7f3d", "f648dd60-5779-47ac-9af9-cd4d906c7f3d" ], - "CommandName": [ "Az.MySql.internal\\Update-AzMySqlFirewallRule", "Az.MySql.internal\\Update-AzMySqlFirewallRule", "Az.MySql.internal\\Update-AzMySqlFirewallRule" ], - "FullCommandName": [ "Update-AzMySqlFirewallRule_ClientIPAddress", "Update-AzMySqlFirewallRule_ClientIPAddress", "Update-AzMySqlFirewallRule_ClientIPAddress" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "b4d437f4-ef98-42a7-ae15-eac1066cedf8" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], - "x-ms-correlation-request-id": [ "52ec5430-55c3-4e99-80f9-0ceff6ad33c7" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T071046Z:52ec5430-55c3-4e99-80f9-0ceff6ad33c7" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:10:46 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "305" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.2\",\"endIpAddress\":\"0.0.0.2\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/servers/firewallRules\"}" - } - }, - "Update-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+7": { - "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "7" ], - "x-ms-client-request-id": [ "edf6d107-aaf1-47a9-b7d8-11d542a54ffe" ], - "CommandName": [ "Remove-AzMySqlFirewallRule" ], - "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/ef9d3f5d-7528-4905-b20d-f765ede790a2?api-version=2017-12-01" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ef9d3f5d-7528-4905-b20d-f765ede790a2?api-version=2017-12-01" ], - "x-ms-request-id": [ "ef9d3f5d-7528-4905-b20d-f765ede790a2" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14997" ], - "x-ms-correlation-request-id": [ "882df628-744c-4816-ba13-1ed5ce1f70d4" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T071048Z:882df628-744c-4816-ba13-1ed5ce1f70d4" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:10:48 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "84" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-07-24T07:10:47.143Z\"}" - } - }, - "Update-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ef9d3f5d-7528-4905-b20d-f765ede790a2?api-version=2017-12-01+8": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ef9d3f5d-7528-4905-b20d-f765ede790a2?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "7", "8" ], - "x-ms-client-request-id": [ "edf6d107-aaf1-47a9-b7d8-11d542a54ffe", "edf6d107-aaf1-47a9-b7d8-11d542a54ffe" ], - "CommandName": [ "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule" ], - "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "839c3b2c-f247-4f45-811b-6d3e671eed63" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], - "x-ms-correlation-request-id": [ "c447739e-c759-4ba2-8aa2-2d32cc7b0f07" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T071103Z:c447739e-c759-4ba2-8aa2-2d32cc7b0f07" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:11:03 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"ef9d3f5d-7528-4905-b20d-f765ede790a2\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:10:47.143Z\"}" - } - }, - "Update-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/ef9d3f5d-7528-4905-b20d-f765ede790a2?api-version=2017-12-01+9": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/ef9d3f5d-7528-4905-b20d-f765ede790a2?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "7", "8", "9" ], - "x-ms-client-request-id": [ "edf6d107-aaf1-47a9-b7d8-11d542a54ffe", "edf6d107-aaf1-47a9-b7d8-11d542a54ffe", "edf6d107-aaf1-47a9-b7d8-11d542a54ffe" ], - "CommandName": [ "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule" ], - "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "060df7c3-de6f-4281-b2b4-ef197c10c119" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], - "x-ms-correlation-request-id": [ "39cbe593-e4e4-469f-9b10-66da8b407269" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T071104Z:39cbe593-e4e4-469f-9b10-66da8b407269" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:11:03 GMT" ] - }, - "ContentHeaders": { "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "224" ] }, - "Content": null + "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForMySQL/servers/mysql-test-100\u0027 under resource group \u0027MySqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" } }, - "Update-AzMySqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { + "Update-AzMySqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"endIpAddress\": \"0.0.0.1\",\n \"startIpAddress\": \"0.0.0.0\"\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "88" ] + "Content-Length": [ "93" ] } }, "Response": { - "StatusCode": 202, + "StatusCode": 404, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/2ad7e857-dd21-4321-935f-cf1966d0c230?api-version=2017-12-01" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/2ad7e857-dd21-4321-935f-cf1966d0c230?api-version=2017-12-01" ], - "x-ms-request-id": [ "2ad7e857-dd21-4321-935f-cf1966d0c230" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], - "x-ms-correlation-request-id": [ "53c48bfb-a48e-4a37-9db5-2fe582d552ab" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T071106Z:53c48bfb-a48e-4a37-9db5-2fe582d552ab" ], + "x-ms-failure-cause": [ "gateway" ], + "x-ms-request-id": [ "aba81bdc-c3c1-42f7-832c-01d33d7cbc9a" ], + "x-ms-correlation-request-id": [ "aba81bdc-c3c1-42f7-832c-01d33d7cbc9a" ], + "x-ms-routing-request-id": [ "WESTUS2:20201110T002737Z:aba81bdc-c3c1-42f7-832c-01d33d7cbc9a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:11:05 GMT" ] + "Date": [ "Tue, 10 Nov 2020 00:27:37 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "87" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-07-24T07:11:04.723Z\"}" - } - }, - "Update-AzMySqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/2ad7e857-dd21-4321-935f-cf1966d0c230?api-version=2017-12-01+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/2ad7e857-dd21-4321-935f-cf1966d0c230?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "10", "11" ], - "x-ms-client-request-id": [ "c63572c1-0155-4bfb-ac8a-de3daabf4357", "c63572c1-0155-4bfb-ac8a-de3daabf4357" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule" ], - "FullCommandName": [ "New-AzMySqlFirewallRule_CreateExpanded", "New-AzMySqlFirewallRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "dc9ffdf3-f109-4fa9-9af1-7cdf52d2af66" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], - "x-ms-correlation-request-id": [ "26792263-d3aa-4174-85ab-6ae2f5d251f1" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T071121Z:26792263-d3aa-4174-85ab-6ae2f5d251f1" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:11:21 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"2ad7e857-dd21-4321-935f-cf1966d0c230\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:11:04.723Z\"}" - } - }, - "Update-AzMySqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "10", "11", "12" ], - "x-ms-client-request-id": [ "c63572c1-0155-4bfb-ac8a-de3daabf4357", "c63572c1-0155-4bfb-ac8a-de3daabf4357", "c63572c1-0155-4bfb-ac8a-de3daabf4357" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule" ], - "FullCommandName": [ "New-AzMySqlFirewallRule_CreateExpanded", "New-AzMySqlFirewallRule_CreateExpanded", "New-AzMySqlFirewallRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "16612444-1630-4fd6-b7ff-84f3585b4314" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], - "x-ms-correlation-request-id": [ "232c1ba8-f3f2-40ef-bc00-d4aa5a6461ef" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T071121Z:232c1ba8-f3f2-40ef-bc00-d4aa5a6461ef" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:11:21 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "305" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/servers/firewallRules\"}" - } - }, - "Update-AzMySqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+4": { - "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"endIpAddress\": \"0.0.0.3\",\n \"startIpAddress\": \"0.0.0.2\"\n }\n}", - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "88" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/50b53200-9ac0-4795-9a50-fec3a74287c7?api-version=2017-12-01" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/50b53200-9ac0-4795-9a50-fec3a74287c7?api-version=2017-12-01" ], - "x-ms-request-id": [ "50b53200-9ac0-4795-9a50-fec3a74287c7" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1194" ], - "x-ms-correlation-request-id": [ "9cc23fc2-7fc1-4b52-a179-56d26d5e4fac" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T071123Z:9cc23fc2-7fc1-4b52-a179-56d26d5e4fac" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:11:23 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "87" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-07-24T07:11:22.347Z\"}" - } - }, - "Update-AzMySqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/50b53200-9ac0-4795-9a50-fec3a74287c7?api-version=2017-12-01+5": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/50b53200-9ac0-4795-9a50-fec3a74287c7?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "13", "14" ], - "x-ms-client-request-id": [ "280ba601-a4b1-4b72-82d2-62bb1b91ec0f", "280ba601-a4b1-4b72-82d2-62bb1b91ec0f" ], - "CommandName": [ "Az.MySql.internal\\Update-AzMySqlFirewallRule", "Az.MySql.internal\\Update-AzMySqlFirewallRule" ], - "FullCommandName": [ "Update-AzMySqlFirewallRule_UpdateViaIdentityExpanded", "Update-AzMySqlFirewallRule_UpdateViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "1dbd1a16-10bf-4914-81f0-a4ce26e274f5" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], - "x-ms-correlation-request-id": [ "82c51de4-6274-451f-bf78-0125a7a7c604" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T071139Z:82c51de4-6274-451f-bf78-0125a7a7c604" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:11:38 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"50b53200-9ac0-4795-9a50-fec3a74287c7\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:11:22.347Z\"}" - } - }, - "Update-AzMySqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "13", "14", "15" ], - "x-ms-client-request-id": [ "280ba601-a4b1-4b72-82d2-62bb1b91ec0f", "280ba601-a4b1-4b72-82d2-62bb1b91ec0f", "280ba601-a4b1-4b72-82d2-62bb1b91ec0f" ], - "CommandName": [ "Az.MySql.internal\\Update-AzMySqlFirewallRule", "Az.MySql.internal\\Update-AzMySqlFirewallRule", "Az.MySql.internal\\Update-AzMySqlFirewallRule" ], - "FullCommandName": [ "Update-AzMySqlFirewallRule_UpdateViaIdentityExpanded", "Update-AzMySqlFirewallRule_UpdateViaIdentityExpanded", "Update-AzMySqlFirewallRule_UpdateViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "cbcd2644-5096-45e7-b549-cc89f405af13" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], - "x-ms-correlation-request-id": [ "a3c46318-93b6-4d04-a5a0-465e3a421c1d" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T071139Z:a3c46318-93b6-4d04-a5a0-465e3a421c1d" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:11:38 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "305" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.2\",\"endIpAddress\":\"0.0.0.3\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/servers/firewallRules\"}" - } - }, - "Update-AzMySqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+7": { - "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "16" ], - "x-ms-client-request-id": [ "cdc45e5e-5d1c-4178-a570-d550e667ee2e" ], - "CommandName": [ "Remove-AzMySqlFirewallRule" ], - "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/1539b77e-80cb-4d98-9892-bdc692eec670?api-version=2017-12-01" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/1539b77e-80cb-4d98-9892-bdc692eec670?api-version=2017-12-01" ], - "x-ms-request-id": [ "1539b77e-80cb-4d98-9892-bdc692eec670" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14996" ], - "x-ms-correlation-request-id": [ "668bd5e8-2892-40e9-a1ae-cdc51382db9a" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T071140Z:668bd5e8-2892-40e9-a1ae-cdc51382db9a" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:11:40 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "84" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-07-24T07:11:39.783Z\"}" - } - }, - "Update-AzMySqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/1539b77e-80cb-4d98-9892-bdc692eec670?api-version=2017-12-01+8": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/1539b77e-80cb-4d98-9892-bdc692eec670?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "16", "17" ], - "x-ms-client-request-id": [ "cdc45e5e-5d1c-4178-a570-d550e667ee2e", "cdc45e5e-5d1c-4178-a570-d550e667ee2e" ], - "CommandName": [ "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule" ], - "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "5d9aa4a5-874b-46ef-bbd2-789fa606d365" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], - "x-ms-correlation-request-id": [ "087ce8fc-5129-4d34-a985-f630c90edb1e" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T071156Z:087ce8fc-5129-4d34-a985-f630c90edb1e" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:11:56 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"1539b77e-80cb-4d98-9892-bdc692eec670\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:11:39.783Z\"}" - } - }, - "Update-AzMySqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/1539b77e-80cb-4d98-9892-bdc692eec670?api-version=2017-12-01+9": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/1539b77e-80cb-4d98-9892-bdc692eec670?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "16", "17", "18" ], - "x-ms-client-request-id": [ "cdc45e5e-5d1c-4178-a570-d550e667ee2e", "cdc45e5e-5d1c-4178-a570-d550e667ee2e", "cdc45e5e-5d1c-4178-a570-d550e667ee2e" ], - "CommandName": [ "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule" ], - "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "b71bd455-606a-48e2-a7a2-d5e1d355a7ee" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11980" ], - "x-ms-correlation-request-id": [ "d2d1c8fd-143b-42a4-bf40-9599180ff2ab" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T071156Z:d2d1c8fd-143b-42a4-bf40-9599180ff2ab" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:11:56 GMT" ] - }, - "ContentHeaders": { "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "224" ] }, - "Content": null + "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForMySQL/servers/mysql-test-100\u0027 under resource group \u0027MySqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" } } } \ No newline at end of file diff --git a/src/MySql/test/Update-AzMySqlFlexibleServer.Recording.json b/src/MySql/test/Update-AzMySqlFlexibleServer.Recording.json new file mode 100644 index 000000000000..38b6a320072e --- /dev/null +++ b/src/MySql/test/Update-AzMySqlFlexibleServer.Recording.json @@ -0,0 +1,234 @@ +{ + "Update-AzMySqlFlexibleServer+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "PATCH", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview", + "Content": "{\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 12\r\n }\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "93" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/93d1755a-b4b0-4c22-b431-7f6ea7ba001b?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/93d1755a-b4b0-4c22-b431-7f6ea7ba001b?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "b80dba6c-9a24-408b-9c9e-bb7a5ace6bf1" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], + "x-ms-correlation-request-id": [ "d8a1d225-c6b8-4665-a3d4-668a568817d9" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065902Z:d8a1d225-c6b8-4665-a3d4-668a568817d9" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:59:02 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "87" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-11T06:59:02.45Z\"}" + } + }, + "Update-AzMySqlFlexibleServer+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/93d1755a-b4b0-4c22-b431-7f6ea7ba001b?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/93d1755a-b4b0-4c22-b431-7f6ea7ba001b?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "43" ], + "x-ms-client-request-id": [ "28d1b083-4393-443a-b7f3-f1e98168b34c" ], + "CommandName": [ "Az.MySql.internal\\Update-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Update-AzMySqlFlexibleServer_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "3a73526f-a361-4c6b-9c45-41de446f0ffa" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11967" ], + "x-ms-correlation-request-id": [ "cd65bb63-d2c3-4c39-b941-72b2e0cc35a4" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T070002Z:cd65bb63-d2c3-4c39-b941-72b2e0cc35a4" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 07:00:02 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "237" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"93d1755a-b4b0-4c22-b431-7f6ea7ba001b\",\"status\":\"Failed\",\"startTime\":\"2020-11-11T06:59:02.45Z\",\"error\":{\"code\":\"ServiceBusy\",\"message\":\"Service is temporarily busy and the operation cannot be performed. Please try again later.\"}}" + } + }, + "Update-AzMySqlFlexibleServer+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "44" ], + "x-ms-client-request-id": [ "28d1b083-4393-443a-b7f3-f1e98168b34c" ], + "CommandName": [ "Az.MySql.internal\\Update-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Update-AzMySqlFlexibleServer_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "259d6f82-6006-4c1b-8139-ef9928c88f55" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11966" ], + "x-ms-correlation-request-id": [ "2c69255d-f462-49a5-84fb-305c2b57883e" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T070002Z:2c69255d-f462-49a5-84fb-305c2b57883e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 07:00:02 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "937" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + } + }, + "Update-AzMySqlFlexibleServer+[NoContext]+UpdateViaIdentityExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "PATCH", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview", + "Content": "{\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 13\r\n }\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "93" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/2cac5d95-3d97-4164-aa04-efcddf8c9651?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/2cac5d95-3d97-4164-aa04-efcddf8c9651?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "cf87be3d-01d0-45fe-b645-46803e8fd844" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], + "x-ms-correlation-request-id": [ "59db0ef4-b8f7-46f0-ac0c-c348c119bada" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T070003Z:59db0ef4-b8f7-46f0-ac0c-c348c119bada" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 07:00:03 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "87" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-11T07:00:03.11Z\"}" + } + }, + "Update-AzMySqlFlexibleServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/2cac5d95-3d97-4164-aa04-efcddf8c9651?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/2cac5d95-3d97-4164-aa04-efcddf8c9651?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "46" ], + "x-ms-client-request-id": [ "a7fe6ee2-906d-468c-8897-16540d0dbf3d" ], + "CommandName": [ "Az.MySql.internal\\Update-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Update-AzMySqlFlexibleServer_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "e2e25727-7cd6-44f3-9c1d-a379eb3c67f3" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11965" ], + "x-ms-correlation-request-id": [ "750ee494-6511-4970-8c21-f0c3099db01e" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T070103Z:750ee494-6511-4970-8c21-f0c3099db01e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 07:01:02 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "237" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"2cac5d95-3d97-4164-aa04-efcddf8c9651\",\"status\":\"Failed\",\"startTime\":\"2020-11-11T07:00:03.11Z\",\"error\":{\"code\":\"ServiceBusy\",\"message\":\"Service is temporarily busy and the operation cannot be performed. Please try again later.\"}}" + } + }, + "Update-AzMySqlFlexibleServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "47" ], + "x-ms-client-request-id": [ "a7fe6ee2-906d-468c-8897-16540d0dbf3d" ], + "CommandName": [ "Az.MySql.internal\\Update-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Update-AzMySqlFlexibleServer_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "20825413-6519-48ca-bcaa-76e783d96ab7" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11964" ], + "x-ms-correlation-request-id": [ "67113df4-8ea8-4c4b-89f6-96eae27c4b25" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T070103Z:67113df4-8ea8-4c4b-89f6-96eae27c4b25" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 07:01:02 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "937" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + } + } +} \ No newline at end of file diff --git a/src/MySql/test/Update-AzMySqlFlexibleServer.Tests.ps1 b/src/MySql/test/Update-AzMySqlFlexibleServer.Tests.ps1 new file mode 100644 index 000000000000..dfa1b8687042 --- /dev/null +++ b/src/MySql/test/Update-AzMySqlFlexibleServer.Tests.ps1 @@ -0,0 +1,29 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzMySqlFlexibleServer.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'Update-AzMySqlFlexibleServer' { + It 'UpdateExpanded' { + { + $server = Update-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName -BackupRetentionDay 12 + $server.StorageProfileBackupRetentionDay | Should -Be 12 + } | Should -Not -Throw + } + + It 'UpdateViaIdentityExpanded' { + { + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBforMySQL/flexibleServers/$($env.serverName)" + $server = Update-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName -BackupRetentionDay 13 + $server.StorageProfileBackupRetentionDay | Should -Be 13 + } | Should -Not -Throw + } +} diff --git a/src/MySql/test/Update-AzMySqlFlexibleServerConfiguration.Recording.json b/src/MySql/test/Update-AzMySqlFlexibleServerConfiguration.Recording.json new file mode 100644 index 000000000000..eaff2a928839 --- /dev/null +++ b/src/MySql/test/Update-AzMySqlFlexibleServerConfiguration.Recording.json @@ -0,0 +1,234 @@ +{ + "Update-AzMySqlFlexibleServerConfiguration+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/configurations/net_retry_count?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "PATCH", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/configurations/net_retry_count?api-version=2020-07-01-preview", + "Content": "{\r\n \"properties\": {\r\n \"value\": \"15\",\r\n \"source\": \"user-override\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "79" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/c2c8fea9-861e-4a2a-93a9-32bfe2c50359?api-version=2020-07-01-preview" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c2c8fea9-861e-4a2a-93a9-32bfe2c50359?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "c2c8fea9-861e-4a2a-93a9-32bfe2c50359" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "4aa53fbb-ffe4-403c-b2e5-2160f41064c6" ], + "x-ms-routing-request-id": [ "WESTUS:20201110T222008Z:4aa53fbb-ffe4-403c-b2e5-2160f41064c6" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 22:20:08 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "95" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpdateServerParameterManagementOperation\",\"startTime\":\"2020-11-10T22:20:08.817Z\"}" + } + }, + "Update-AzMySqlFlexibleServerConfiguration+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c2c8fea9-861e-4a2a-93a9-32bfe2c50359?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c2c8fea9-861e-4a2a-93a9-32bfe2c50359?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "5" ], + "x-ms-client-request-id": [ "340e29dd-81cc-4706-8dc0-6d52ee3a9084" ], + "CommandName": [ "Update-AzMySqlFlexibleServerConfiguration" ], + "FullCommandName": [ "Update-AzMySqlFlexibleServerConfiguration_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "b7be459d-1aa0-4232-9b29-d11329de3820" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "3e7b4ac2-a996-482f-bb14-28a3096dfb59" ], + "x-ms-routing-request-id": [ "WESTUS:20201110T222024Z:3e7b4ac2-a996-482f-bb14-28a3096dfb59" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 22:20:23 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"c2c8fea9-861e-4a2a-93a9-32bfe2c50359\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T22:20:08.817Z\"}" + } + }, + "Update-AzMySqlFlexibleServerConfiguration+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/configurations/net_retry_count?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/configurations/net_retry_count?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "6" ], + "x-ms-client-request-id": [ "340e29dd-81cc-4706-8dc0-6d52ee3a9084" ], + "CommandName": [ "Update-AzMySqlFlexibleServerConfiguration" ], + "FullCommandName": [ "Update-AzMySqlFlexibleServerConfiguration_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "e629856f-0e1d-46b6-8099-a81c007c0469" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-correlation-request-id": [ "bddbde3b-2388-44e7-afc5-2cb9552562a4" ], + "x-ms-routing-request-id": [ "WESTUS:20201110T222024Z:bddbde3b-2388-44e7-afc5-2cb9552562a4" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 22:20:23 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "582" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"value\":\"15\",\"description\":\"If a read or write on a communication port is interrupted, retry this many times before giving up.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/net_retry_count\",\"name\":\"net_retry_count\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"}" + } + }, + "Update-AzMySqlFlexibleServerConfiguration+[NoContext]+UpdateViaIdentityExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/configurations/wait_timeout?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "PATCH", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/configurations/wait_timeout?api-version=2020-07-01-preview", + "Content": "{\r\n \"properties\": {\r\n \"value\": \"150\",\r\n \"source\": \"user-override\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "80" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/17658c10-7926-4252-af2b-a6705e16a61d?api-version=2020-07-01-preview" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/17658c10-7926-4252-af2b-a6705e16a61d?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "17658c10-7926-4252-af2b-a6705e16a61d" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-correlation-request-id": [ "c99d4d09-25c8-4eb7-bc85-2750af9dba0c" ], + "x-ms-routing-request-id": [ "WESTUS:20201110T222025Z:c99d4d09-25c8-4eb7-bc85-2750af9dba0c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 22:20:24 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "95" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpdateServerParameterManagementOperation\",\"startTime\":\"2020-11-10T22:20:24.987Z\"}" + } + }, + "Update-AzMySqlFlexibleServerConfiguration+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/17658c10-7926-4252-af2b-a6705e16a61d?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/17658c10-7926-4252-af2b-a6705e16a61d?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "8" ], + "x-ms-client-request-id": [ "015ff381-adb8-437e-8452-0624f0ac7135" ], + "CommandName": [ "Update-AzMySqlFlexibleServerConfiguration" ], + "FullCommandName": [ "Update-AzMySqlFlexibleServerConfiguration_UpdateViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "64cfc11d-29ff-47f8-a1fc-20a746997aae" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "a3d96ade-2394-4f4b-8486-2ed8acf147a7" ], + "x-ms-routing-request-id": [ "WESTUS:20201110T222040Z:a3d96ade-2394-4f4b-8486-2ed8acf147a7" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 22:20:39 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"17658c10-7926-4252-af2b-a6705e16a61d\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T22:20:24.987Z\"}" + } + }, + "Update-AzMySqlFlexibleServerConfiguration+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/configurations/wait_timeout?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/configurations/wait_timeout?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "9" ], + "x-ms-client-request-id": [ "015ff381-adb8-437e-8452-0624f0ac7135" ], + "CommandName": [ "Update-AzMySqlFlexibleServerConfiguration" ], + "FullCommandName": [ "Update-AzMySqlFlexibleServerConfiguration_UpdateViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "de5af6ae-b69d-4710-a59a-ea1c8368569b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "f5e94d94-ca76-4850-b2b2-1f75cba33f10" ], + "x-ms-routing-request-id": [ "WESTUS:20201110T222040Z:f5e94d94-ca76-4850-b2b2-1f75cba33f10" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 22:20:39 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "581" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"value\":\"150\",\"description\":\"The number of seconds the server waits for activity on a noninteractive connection before closing it.\",\"defaultValue\":\"28800\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/wait_timeout\",\"name\":\"wait_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"}" + } + } +} \ No newline at end of file diff --git a/src/MySql/test/Update-AzMySqlFlexibleServerConfiguration.Tests.ps1 b/src/MySql/test/Update-AzMySqlFlexibleServerConfiguration.Tests.ps1 new file mode 100644 index 000000000000..eca82e47a0c6 --- /dev/null +++ b/src/MySql/test/Update-AzMySqlFlexibleServerConfiguration.Tests.ps1 @@ -0,0 +1,27 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzMySqlFlexibleServerConfiguration.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'Update-AzMySqlFlexibleServerConfiguration' { + It 'UpdateExpanded' { + $config = Update-AzMySqlFlexibleServerConfiguration -Name net_retry_count -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -Value 15 -Source user-override + $config.Value | Should -Be 15 + $config.DefaultValue | Should -Be 10 + } + + It 'UpdateViaIdentityExpanded' { + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySql/flexibleServers/$($env.serverName)/configurations/wait_timeout" + $config = Update-AzMySqlFlexibleServerConfiguration -InputObject $ID -Value 150 -Source user-override + $config.Value | Should -Be 150 + $config.DefaultValue | Should -Be 28800 + } +} diff --git a/src/MySql/test/Update-AzMySqlFlexibleServerDatabase.Recording.json b/src/MySql/test/Update-AzMySqlFlexibleServerDatabase.Recording.json new file mode 100644 index 000000000000..007d2f575f8b --- /dev/null +++ b/src/MySql/test/Update-AzMySqlFlexibleServerDatabase.Recording.json @@ -0,0 +1,471 @@ +{ + "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "Content": "{\r\n \"properties\": {\r\n \"charset\": \"latin1\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "53" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/3de3b321-423d-4c95-a378-650e50329f94?api-version=2020-07-01-preview" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3de3b321-423d-4c95-a378-650e50329f94?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "3de3b321-423d-4c95-a378-650e50329f94" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], + "x-ms-correlation-request-id": [ "16eeabae-16f1-46c6-abd6-4e3dc5e869a1" ], + "x-ms-routing-request-id": [ "WESTUS:20201110T220543Z:16eeabae-16f1-46c6-abd6-4e3dc5e869a1" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 22:05:43 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "94" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerDatabaseManagementOperation\",\"startTime\":\"2020-11-10T22:05:43.777Z\"}" + } + }, + "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3de3b321-423d-4c95-a378-650e50329f94?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3de3b321-423d-4c95-a378-650e50329f94?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "29" ], + "x-ms-client-request-id": [ "f67f60c0-9e38-4109-bebc-ea6de868e9e0" ], + "CommandName": [ "New-AzMySqlFlexibleServerDatabase" ], + "FullCommandName": [ "New-AzMySqlFlexibleServerDatabase_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "ba1ec47b-7684-4cff-8109-457ff8e96b44" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11978" ], + "x-ms-correlation-request-id": [ "59a1c006-df59-4d55-bd98-4760e15d844c" ], + "x-ms-routing-request-id": [ "WESTUS:20201110T220559Z:59a1c006-df59-4d55-bd98-4760e15d844c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 22:05:58 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"3de3b321-423d-4c95-a378-650e50329f94\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T22:05:43.777Z\"}" + } + }, + "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "30" ], + "x-ms-client-request-id": [ "f67f60c0-9e38-4109-bebc-ea6de868e9e0" ], + "CommandName": [ "New-AzMySqlFlexibleServerDatabase" ], + "FullCommandName": [ "New-AzMySqlFlexibleServerDatabase_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "2c3ae270-ec3e-42d1-ba4c-8e51551fa5bb" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11977" ], + "x-ms-correlation-request-id": [ "15d88fce-0398-4842-aad5-0f99752c6c57" ], + "x-ms-routing-request-id": [ "WESTUS:20201110T220559Z:15d88fce-0398-4842-aad5-0f99752c6c57" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 22:05:58 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "304" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" + } + }, + "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "Content": "{\r\n \"properties\": {\r\n \"charset\": \"latin1\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "53" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/5bbcdeb3-0e9a-47a2-8352-0c41f0e89497?api-version=2020-07-01-preview" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5bbcdeb3-0e9a-47a2-8352-0c41f0e89497?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "5bbcdeb3-0e9a-47a2-8352-0c41f0e89497" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1194" ], + "x-ms-correlation-request-id": [ "ae058212-3c0b-4ba7-ab54-df41099dbd7f" ], + "x-ms-routing-request-id": [ "WESTUS:20201110T220559Z:ae058212-3c0b-4ba7-ab54-df41099dbd7f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 22:05:59 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "94" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerDatabaseManagementOperation\",\"startTime\":\"2020-11-10T22:05:59.623Z\"}" + } + }, + "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5bbcdeb3-0e9a-47a2-8352-0c41f0e89497?api-version=2020-07-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5bbcdeb3-0e9a-47a2-8352-0c41f0e89497?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "32" ], + "x-ms-client-request-id": [ "65128668-2b83-4665-99d1-3af48f4248a2" ], + "CommandName": [ "Update-AzMySqlFlexibleServerDatabase" ], + "FullCommandName": [ "Update-AzMySqlFlexibleServerDatabase_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "30d501d4-42ce-467f-80c9-675336d54fd7" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11976" ], + "x-ms-correlation-request-id": [ "bc89476e-0483-479d-bef0-3baeaebb05f8" ], + "x-ms-routing-request-id": [ "WESTUS:20201110T220615Z:bc89476e-0483-479d-bef0-3baeaebb05f8" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 22:06:14 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"5bbcdeb3-0e9a-47a2-8352-0c41f0e89497\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T22:05:59.623Z\"}" + } + }, + "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "33" ], + "x-ms-client-request-id": [ "65128668-2b83-4665-99d1-3af48f4248a2" ], + "CommandName": [ "Update-AzMySqlFlexibleServerDatabase" ], + "FullCommandName": [ "Update-AzMySqlFlexibleServerDatabase_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "8c150ee1-44f7-43bf-a5f9-c17afd5036b4" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11975" ], + "x-ms-correlation-request-id": [ "a590efce-0558-4f79-94ef-95286a1d556e" ], + "x-ms-routing-request-id": [ "WESTUS:20201110T220615Z:a590efce-0558-4f79-94ef-95286a1d556e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 22:06:14 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "304" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" + } + }, + "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "Content": "{\r\n \"properties\": {\r\n \"charset\": \"latin1\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "53" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/7ddc2bd0-8517-4716-9c2f-a95d5e868312?api-version=2020-07-01-preview" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7ddc2bd0-8517-4716-9c2f-a95d5e868312?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "7ddc2bd0-8517-4716-9c2f-a95d5e868312" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1193" ], + "x-ms-correlation-request-id": [ "d9058cb3-cbf3-4312-8d4e-9a1878fb5025" ], + "x-ms-routing-request-id": [ "WESTUS:20201110T220615Z:d9058cb3-cbf3-4312-8d4e-9a1878fb5025" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 22:06:15 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "93" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerDatabaseManagementOperation\",\"startTime\":\"2020-11-10T22:06:15.67Z\"}" + } + }, + "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7ddc2bd0-8517-4716-9c2f-a95d5e868312?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7ddc2bd0-8517-4716-9c2f-a95d5e868312?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "35" ], + "x-ms-client-request-id": [ "94c6cb2f-98c8-48e1-b5fb-06e631037747" ], + "CommandName": [ "Update-AzMySqlFlexibleServerDatabase" ], + "FullCommandName": [ "Update-AzMySqlFlexibleServerDatabase_UpdateViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "4c44aeed-defa-4372-a28f-7d8609bfd517" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11974" ], + "x-ms-correlation-request-id": [ "0388f4e3-ef14-4d4e-ad06-f74cdd760c4b" ], + "x-ms-routing-request-id": [ "WESTUS:20201110T220630Z:0388f4e3-ef14-4d4e-ad06-f74cdd760c4b" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 22:06:30 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"7ddc2bd0-8517-4716-9c2f-a95d5e868312\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T22:06:15.67Z\"}" + } + }, + "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "36" ], + "x-ms-client-request-id": [ "94c6cb2f-98c8-48e1-b5fb-06e631037747" ], + "CommandName": [ "Update-AzMySqlFlexibleServerDatabase" ], + "FullCommandName": [ "Update-AzMySqlFlexibleServerDatabase_UpdateViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "1d800a11-46ce-4ee4-864a-3ebeee9a5094" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11973" ], + "x-ms-correlation-request-id": [ "48073614-1d53-4a17-8231-57c7fa77cec7" ], + "x-ms-routing-request-id": [ "WESTUS:20201110T220631Z:48073614-1d53-4a17-8231-57c7fa77cec7" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 22:06:30 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "304" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" + } + }, + "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateViaIdentityExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "37" ], + "x-ms-client-request-id": [ "c86ea6f8-ecda-45ef-986b-6c9fa1bed7a6" ], + "CommandName": [ "Remove-AzMySqlFlexibleServerDatabase" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServerDatabase_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/034c0775-cb59-4f03-9d1a-19fb79b63cb6?api-version=2020-07-01-preview" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/034c0775-cb59-4f03-9d1a-19fb79b63cb6?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "034c0775-cb59-4f03-9d1a-19fb79b63cb6" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14995" ], + "x-ms-correlation-request-id": [ "e2d9314d-7302-49ca-a3f0-0ea0d7aa94fb" ], + "x-ms-routing-request-id": [ "WESTUS:20201110T220631Z:e2d9314d-7302-49ca-a3f0-0ea0d7aa94fb" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 22:06:30 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "91" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropServerDatabaseManagementOperation\",\"startTime\":\"2020-11-10T22:06:31.42Z\"}" + } + }, + "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/034c0775-cb59-4f03-9d1a-19fb79b63cb6?api-version=2020-07-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/034c0775-cb59-4f03-9d1a-19fb79b63cb6?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "38" ], + "x-ms-client-request-id": [ "c86ea6f8-ecda-45ef-986b-6c9fa1bed7a6" ], + "CommandName": [ "Remove-AzMySqlFlexibleServerDatabase" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServerDatabase_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "1f67c749-c371-4af1-9630-880e2c0736d4" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11972" ], + "x-ms-correlation-request-id": [ "8ffbc3eb-7f05-4754-be7d-746950cac83c" ], + "x-ms-routing-request-id": [ "WESTUS:20201110T220646Z:8ffbc3eb-7f05-4754-be7d-746950cac83c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 22:06:45 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"034c0775-cb59-4f03-9d1a-19fb79b63cb6\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T22:06:31.42Z\"}" + } + }, + "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/034c0775-cb59-4f03-9d1a-19fb79b63cb6?api-version=2020-07-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/034c0775-cb59-4f03-9d1a-19fb79b63cb6?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "39" ], + "x-ms-client-request-id": [ "c86ea6f8-ecda-45ef-986b-6c9fa1bed7a6" ], + "CommandName": [ "Remove-AzMySqlFlexibleServerDatabase" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServerDatabase_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "5de1ec45-6f37-4622-8416-10330d2844ce" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11971" ], + "x-ms-correlation-request-id": [ "d9800e27-2025-4139-bb37-c63dff6134fd" ], + "x-ms-routing-request-id": [ "WESTUS:20201110T220646Z:d9800e27-2025-4139-bb37-c63dff6134fd" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 22:06:45 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "254" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" + } + } +} \ No newline at end of file diff --git a/src/MySql/test/Update-AzMySqlFlexibleServerDatabase.Tests.ps1 b/src/MySql/test/Update-AzMySqlFlexibleServerDatabase.Tests.ps1 new file mode 100644 index 000000000000..68a47d921497 --- /dev/null +++ b/src/MySql/test/Update-AzMySqlFlexibleServerDatabase.Tests.ps1 @@ -0,0 +1,33 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzMySqlFlexibleServerDatabase.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'Update-AzMySqlFlexibleServerDatabase' { + It 'UpdateExpanded' { + { + New-AzMySqlFlexibleServerDatabase -Name $env.databaseName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -Charset latin1 + $database = Update-AzMySqlFlexibleServerDatabase -Name $env.databaseName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -Charset latin1 + $database.Collation | Should -Be "latin1_swedish_ci" + $database.Charset | Should -Be "latin1" + } | Should -Not -Throw + } + + It 'UpdateViaIdentityExpanded' { + { + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySql/flexibleServers/$($env.serverName)/databases/$($env.databaseName)" + $database = Update-AzMySqlFlexibleServerDatabase -InputObject $ID -Charset latin1 + $database.Collation | Should -Be "latin1_swedish_ci" + $database.Charset | Should -Be "latin1" + Remove-AzMySqlFlexibleServerDatabase -Name $env.databaseName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName + } | Should -Not -Throw + } +} diff --git a/src/MySql/test/Update-AzMySqlFlexibleServerFirewallRule.Recording.json b/src/MySql/test/Update-AzMySqlFlexibleServerFirewallRule.Recording.json new file mode 100644 index 000000000000..57c6a55757d4 --- /dev/null +++ b/src/MySql/test/Update-AzMySqlFlexibleServerFirewallRule.Recording.json @@ -0,0 +1,582 @@ +{ + "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "93" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/81845aae-a3cc-4718-811b-e582aa0d9bad?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/81845aae-a3cc-4718-811b-e582aa0d9bad?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "81845aae-a3cc-4718-811b-e582aa0d9bad" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], + "x-ms-correlation-request-id": [ "2f7b2df8-34b5-4b9b-99b0-16c24d3e73cf" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T090428Z:2f7b2df8-34b5-4b9b-99b0-16c24d3e73cf" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 09:04:28 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "98" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-10T09:04:27.96Z\"}" + } + }, + "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/81845aae-a3cc-4718-811b-e582aa0d9bad?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/81845aae-a3cc-4718-811b-e582aa0d9bad?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "34" ], + "x-ms-client-request-id": [ "3d2df457-2d7a-4da6-b969-7b6105f702e4" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "New-AzMySqlFlexibleServerFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "cecc457c-e77b-4321-baeb-133e1ae04bd6" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11975" ], + "x-ms-correlation-request-id": [ "4e46bc80-a7f6-492f-baf2-ab14d45f4051" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T090528Z:4e46bc80-a7f6-492f-baf2-ab14d45f4051" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 09:05:27 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"81845aae-a3cc-4718-811b-e582aa0d9bad\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T09:04:27.96Z\"}" + } + }, + "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "35" ], + "x-ms-client-request-id": [ "3d2df457-2d7a-4da6-b969-7b6105f702e4" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "New-AzMySqlFlexibleServerFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "70cbba2c-ba43-4eb3-88ec-52ba7647db05" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11974" ], + "x-ms-correlation-request-id": [ "d5f002b9-bcbf-4c36-b384-80d335453d20" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T090528Z:d5f002b9-bcbf-4c36-b384-80d335453d20" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 09:05:27 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "149" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}" + } + }, + "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.2\",\r\n \"endIpAddress\": \"0.0.0.3\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "93" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/9eb03ca4-1e3a-47b4-8ba7-9926e93b32ab?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/9eb03ca4-1e3a-47b4-8ba7-9926e93b32ab?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "9eb03ca4-1e3a-47b4-8ba7-9926e93b32ab" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1194" ], + "x-ms-correlation-request-id": [ "36f1fd21-3e66-46e2-a0b7-5871a19de32a" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T090529Z:36f1fd21-3e66-46e2-a0b7-5871a19de32a" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 09:05:28 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "99" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-10T09:05:29.207Z\"}" + } + }, + "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/9eb03ca4-1e3a-47b4-8ba7-9926e93b32ab?api-version=2020-07-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/9eb03ca4-1e3a-47b4-8ba7-9926e93b32ab?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "37" ], + "x-ms-client-request-id": [ "6cba157f-270d-4029-b796-10c84c670f56" ], + "CommandName": [ "Az.MySql.internal\\Update-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Update-AzMySqlFlexibleServerFirewallRule_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "47f1c1e1-4364-486c-88ee-20eddd28f565" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11973" ], + "x-ms-correlation-request-id": [ "1cdb7a5f-211a-4806-884e-109bdb2674a1" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T090629Z:1cdb7a5f-211a-4806-884e-109bdb2674a1" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 09:06:28 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"9eb03ca4-1e3a-47b4-8ba7-9926e93b32ab\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T09:05:29.207Z\"}" + } + }, + "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "38" ], + "x-ms-client-request-id": [ "6cba157f-270d-4029-b796-10c84c670f56" ], + "CommandName": [ "Az.MySql.internal\\Update-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Update-AzMySqlFlexibleServerFirewallRule_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "24d19a30-fc09-4764-8a52-c7985a819be0" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11972" ], + "x-ms-correlation-request-id": [ "ddaba136-f649-4ff9-8656-a754a32538f4" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T090629Z:ddaba136-f649-4ff9-8656-a754a32538f4" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 09:06:29 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "149" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.2\",\"endIpAddress\":\"0.0.0.3\"},\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}" + } + }, + "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.2\",\r\n \"endIpAddress\": \"0.0.0.2\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "93" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/e10feaa3-578f-4e7d-af3c-9b04961d387a?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e10feaa3-578f-4e7d-af3c-9b04961d387a?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "e10feaa3-578f-4e7d-af3c-9b04961d387a" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1193" ], + "x-ms-correlation-request-id": [ "a354f62c-c5ac-461c-8f22-4f526fbea4a6" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T090630Z:a354f62c-c5ac-461c-8f22-4f526fbea4a6" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 09:06:29 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "98" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-10T09:06:30.02Z\"}" + } + }, + "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e10feaa3-578f-4e7d-af3c-9b04961d387a?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e10feaa3-578f-4e7d-af3c-9b04961d387a?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "40" ], + "x-ms-client-request-id": [ "fc8b6e70-12c9-414b-b22f-2d0ceb6349f5" ], + "CommandName": [ "Az.MySql.internal\\Update-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Update-AzMySqlFlexibleServerFirewallRule_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "cdb3993c-ba14-4184-9b16-960530df0469" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11971" ], + "x-ms-correlation-request-id": [ "f15a2439-ce23-4cef-a8ea-5650aa1ae87b" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T090730Z:f15a2439-ce23-4cef-a8ea-5650aa1ae87b" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 09:07:30 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"e10feaa3-578f-4e7d-af3c-9b04961d387a\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T09:06:30.02Z\"}" + } + }, + "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "41" ], + "x-ms-client-request-id": [ "fc8b6e70-12c9-414b-b22f-2d0ceb6349f5" ], + "CommandName": [ "Az.MySql.internal\\Update-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Update-AzMySqlFlexibleServerFirewallRule_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "3ae4f718-b8fa-481f-9a2d-312b3eabdfeb" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11970" ], + "x-ms-correlation-request-id": [ "72ac66e4-1901-4293-b467-30e88fad9f18" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T090730Z:72ac66e4-1901-4293-b467-30e88fad9f18" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 09:07:30 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "149" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.2\",\"endIpAddress\":\"0.0.0.2\"},\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}" + } + }, + "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.4\",\r\n \"endIpAddress\": \"0.0.0.5\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "93" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/86ce3bad-3990-41f6-8f5c-df8d17a0c7ca?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/86ce3bad-3990-41f6-8f5c-df8d17a0c7ca?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "86ce3bad-3990-41f6-8f5c-df8d17a0c7ca" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1192" ], + "x-ms-correlation-request-id": [ "700828db-7ef2-4154-abf9-48d742a51498" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T090731Z:700828db-7ef2-4154-abf9-48d742a51498" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 09:07:30 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "99" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-10T09:07:31.163Z\"}" + } + }, + "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/86ce3bad-3990-41f6-8f5c-df8d17a0c7ca?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/86ce3bad-3990-41f6-8f5c-df8d17a0c7ca?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "43" ], + "x-ms-client-request-id": [ "bb6a7688-a537-4216-b35e-2b31c77c8cfd" ], + "CommandName": [ "Az.MySql.internal\\Update-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Update-AzMySqlFlexibleServerFirewallRule_UpdateViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "e77c3341-fa0e-4b0a-8493-d146f8268ca1" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11969" ], + "x-ms-correlation-request-id": [ "45b0b47c-071e-4602-9967-f8fdbd18b1fa" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T090831Z:45b0b47c-071e-4602-9967-f8fdbd18b1fa" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 09:08:31 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"86ce3bad-3990-41f6-8f5c-df8d17a0c7ca\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T09:07:31.163Z\"}" + } + }, + "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "44" ], + "x-ms-client-request-id": [ "bb6a7688-a537-4216-b35e-2b31c77c8cfd" ], + "CommandName": [ "Az.MySql.internal\\Update-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Update-AzMySqlFlexibleServerFirewallRule_UpdateViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "0cbc21e5-5138-4804-98bb-eb6a6b95ce04" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11968" ], + "x-ms-correlation-request-id": [ "75aa5e7e-8a11-451f-aac2-da9b1858f419" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T090831Z:75aa5e7e-8a11-451f-aac2-da9b1858f419" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 09:08:31 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "149" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.4\",\"endIpAddress\":\"0.0.0.5\"},\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}" + } + }, + "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddressViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.9\",\r\n \"endIpAddress\": \"0.0.0.9\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "93" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/06304514-0e03-4375-8437-d2622a29d571?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/06304514-0e03-4375-8437-d2622a29d571?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "06304514-0e03-4375-8437-d2622a29d571" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1191" ], + "x-ms-correlation-request-id": [ "f7ee0702-57f3-4b04-9a08-00576bba6d96" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T090901Z:f7ee0702-57f3-4b04-9a08-00576bba6d96" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 09:09:01 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "99" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-10T09:09:01.047Z\"}" + } + }, + "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddressViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/06304514-0e03-4375-8437-d2622a29d571?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/06304514-0e03-4375-8437-d2622a29d571?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "46" ], + "x-ms-client-request-id": [ "a53638aa-12ec-42a9-a477-696bc8e946ba" ], + "CommandName": [ "Az.MySql.internal\\Update-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Update-AzMySqlFlexibleServerFirewallRule_UpdateViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "f7cc18bf-58e1-46a0-bb4d-14f68c45b495" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11967" ], + "x-ms-correlation-request-id": [ "567f883d-e72a-4e8d-bd06-ed9784e1c3fe" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T091001Z:567f883d-e72a-4e8d-bd06-ed9784e1c3fe" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 09:10:01 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"06304514-0e03-4375-8437-d2622a29d571\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T09:09:01.047Z\"}" + } + }, + "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddressViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "47" ], + "x-ms-client-request-id": [ "a53638aa-12ec-42a9-a477-696bc8e946ba" ], + "CommandName": [ "Az.MySql.internal\\Update-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Update-AzMySqlFlexibleServerFirewallRule_UpdateViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "1e57b9eb-7cff-476e-a7ef-ef4f513be64b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11966" ], + "x-ms-correlation-request-id": [ "3e153a37-9340-475d-a918-b176e7fc885f" ], + "x-ms-routing-request-id": [ "NORTHCENTRALUS:20201110T091001Z:3e153a37-9340-475d-a918-b176e7fc885f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 10 Nov 2020 09:10:01 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "149" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.9\",\"endIpAddress\":\"0.0.0.9\"},\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}" + } + } +} \ No newline at end of file diff --git a/src/MySql/test/Update-AzMySqlFlexibleServerFirewallRule.Tests.ps1 b/src/MySql/test/Update-AzMySqlFlexibleServerFirewallRule.Tests.ps1 new file mode 100644 index 000000000000..6243092319bd --- /dev/null +++ b/src/MySql/test/Update-AzMySqlFlexibleServerFirewallRule.Tests.ps1 @@ -0,0 +1,41 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzMySqlFlexibleServerFirewallRule.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'Update-AzMySqlFlexibleServerFirewallRule' { + It 'UpdateExpanded' { + New-AzMySqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 + $rule = Update-AzMySqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 + $rule.StartIPAddress | Should -Be 0.0.0.2 + $rule.EndIPAddress | Should -Be 0.0.0.3 + } + + It 'ClientIPAddress' { + $rule = Update-AzMySqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -ClientIPAddress 0.0.0.2 + $rule.StartIPAddress | Should -Be 0.0.0.2 + $rule.EndIPAddress | Should -Be 0.0.0.2 + } + + It 'UpdateViaIdentityExpanded' { + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySql/flexibleServers/$($env.serverName)/firewallRules/$($env.firewallRuleName)" + $rule = Update-AzMySqlFlexibleServerFirewallRule -InputObject $ID -EndIPAddress 0.0.0.5 -StartIPAddress 0.0.0.4 + $rule.StartIPAddress | Should -Be 0.0.0.4 + $rule.EndIPAddress | Should -Be 0.0.0.5 + } + + It 'ClientIPAddressViaIdentity' { + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySql/flexibleServers/$($env.serverName)/firewallRules/$($env.firewallRuleName)" + $rule = Update-AzMySqlFlexibleServerFirewallRule -InputObject $ID -ClientIPAddress 0.0.0.9 + $rule.StartIPAddress | Should -Be 0.0.0.9 + $rule.EndIPAddress | Should -Be 0.0.0.9 + } +} diff --git a/src/MySql/test/Update-AzMySqlServer.Recording.json b/src/MySql/test/Update-AzMySqlServer.Recording.json index ddf4409cd2b0..8893f5d53fad 100644 --- a/src/MySql/test/Update-AzMySqlServer.Recording.json +++ b/src/MySql/test/Update-AzMySqlServer.Recording.json @@ -1,128 +1,45 @@ { - "Update-AzMySqlServer+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { + "Update-AzMySqlServer+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"sslEnforcement\": \"Disabled\"\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"sslEnforcement\": \"Disabled\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "58" ] + "Content-Length": [ "62" ] } }, "Response": { - "StatusCode": 202, + "StatusCode": 404, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/c235c4a7-107f-4565-9b27-6860f50cc315?api-version=2017-12-01" ], - "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c235c4a7-107f-4565-9b27-6860f50cc315?api-version=2017-12-01" ], - "x-ms-request-id": [ "c235c4a7-107f-4565-9b27-6860f50cc315" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-correlation-request-id": [ "234ec168-7f21-4b3f-8f09-70e72f57984b" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T072158Z:234ec168-7f21-4b3f-8f09-70e72f57984b" ], + "x-ms-failure-cause": [ "gateway" ], + "x-ms-request-id": [ "1bff4f20-5ac1-4434-a87f-07940238fa64" ], + "x-ms-correlation-request-id": [ "1bff4f20-5ac1-4434-a87f-07940238fa64" ], + "x-ms-routing-request-id": [ "WESTUS2:20201110T002739Z:1bff4f20-5ac1-4434-a87f-07940238fa64" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:21:57 GMT" ] + "Date": [ "Tue, 10 Nov 2020 00:27:38 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "74" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] + "Expires": [ "-1" ], + "Content-Length": [ "328" ] }, - "Content": "{\"operation\":\"UpsertElasticServer\",\"startTime\":\"2020-07-24T07:21:57.153Z\"}" + "Content": "{\"error\":{\"code\":\"PatchResourceNotFound\",\"target\":\"mysql-test-100\",\"message\":\"The resource \u0027https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01\u0027 was not found when performing the PATCH operation.\"}}" } }, - "Update-AzMySqlServer+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c235c4a7-107f-4565-9b27-6860f50cc315?api-version=2017-12-01+2": { + "Update-AzMySqlServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c235c4a7-107f-4565-9b27-6860f50cc315?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { - "x-ms-unique-id": [ "1", "2" ], - "x-ms-client-request-id": [ "2a4715f1-e060-4949-aac1-6c623d3c8a0a", "2a4715f1-e060-4949-aac1-6c623d3c8a0a" ], - "CommandName": [ "Az.MySql.internal\\Update-AzMySqlServer", "Az.MySql.internal\\Update-AzMySqlServer" ], - "FullCommandName": [ "Update-AzMySqlServer_UpdateExpanded", "Update-AzMySqlServer_UpdateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "x-ms-request-id": [ "048884bf-a694-4f64-8850-887b8f01e533" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], - "x-ms-correlation-request-id": [ "d004d695-dd96-473e-bfce-fe1018531b53" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T072259Z:d004d695-dd96-473e-bfce-fe1018531b53" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:22:59 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"c235c4a7-107f-4565-9b27-6860f50cc315\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:21:57.153Z\"}" - } - }, - "Update-AzMySqlServer+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "1", "2", "3" ], - "x-ms-client-request-id": [ "2a4715f1-e060-4949-aac1-6c623d3c8a0a", "2a4715f1-e060-4949-aac1-6c623d3c8a0a", "2a4715f1-e060-4949-aac1-6c623d3c8a0a" ], - "CommandName": [ "Az.MySql.internal\\Update-AzMySqlServer", "Az.MySql.internal\\Update-AzMySqlServer", "Az.MySql.internal\\Update-AzMySqlServer" ], - "FullCommandName": [ "Update-AzMySqlServer_UpdateExpanded", "Update-AzMySqlServer_UpdateExpanded", "Update-AzMySqlServer_UpdateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "4179e142-8a1f-45f6-8f0d-4891079e665d" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], - "x-ms-correlation-request-id": [ "1261ba4e-a1e8-4654-ae00-2511fe8622b9" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T072259Z:1261ba4e-a1e8-4654-ae00-2511fe8622b9" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:22:59 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "908" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" - } - }, - "Update-AzMySqlServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "81329e4a-ed7c-4881-8b5e-8e8d26077abf" ], + "x-ms-unique-id": [ "29" ], + "x-ms-client-request-id": [ "dc429a52-8bd9-498c-af8c-167dfedbc9c7" ], "CommandName": [ "Get-AzMySqlServer" ], "FullCommandName": [ "Get-AzMySqlServer_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -133,141 +50,24 @@ } }, "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "33d25678-64cc-4d4f-a973-fe0f6a270430" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], - "x-ms-correlation-request-id": [ "5db37c3d-c6a9-4ba5-8571-7544b8e5bf02" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T072300Z:5db37c3d-c6a9-4ba5-8571-7544b8e5bf02" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:22:59 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "908" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" - } - }, - "Update-AzMySqlServer+[NoContext]+UpdateViaIdentityExpanded+$PATCH+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+2": { - "Request": { - "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"storageProfile\": {\n \"backupRetentionDays\": 23\n }\n }\n}", - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "87" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/764ecc56-a76f-47d1-bc51-0ab7fc8c90c2?api-version=2017-12-01" ], - "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/764ecc56-a76f-47d1-bc51-0ab7fc8c90c2?api-version=2017-12-01" ], - "x-ms-request-id": [ "764ecc56-a76f-47d1-bc51-0ab7fc8c90c2" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], - "x-ms-correlation-request-id": [ "65d4d118-2aea-4765-a245-8ba55db13abf" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T072302Z:65d4d118-2aea-4765-a245-8ba55db13abf" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:23:01 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "74" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertElasticServer\",\"startTime\":\"2020-07-24T07:23:01.107Z\"}" - } - }, - "Update-AzMySqlServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/764ecc56-a76f-47d1-bc51-0ab7fc8c90c2?api-version=2017-12-01+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/764ecc56-a76f-47d1-bc51-0ab7fc8c90c2?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "5", "6" ], - "x-ms-client-request-id": [ "d3aec7bc-3d96-45e1-8888-1b4cec6f9def", "d3aec7bc-3d96-45e1-8888-1b4cec6f9def" ], - "CommandName": [ "Az.MySql.internal\\Update-AzMySqlServer", "Az.MySql.internal\\Update-AzMySqlServer" ], - "FullCommandName": [ "Update-AzMySqlServer_UpdateViaIdentityExpanded", "Update-AzMySqlServer_UpdateViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "x-ms-request-id": [ "db0c85d4-567d-4657-a589-49fc5618c26c" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], - "x-ms-correlation-request-id": [ "9055c673-2cd5-4416-a9a6-66e52fa88f6a" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T072403Z:9055c673-2cd5-4416-a9a6-66e52fa88f6a" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:24:03 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"764ecc56-a76f-47d1-bc51-0ab7fc8c90c2\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:23:01.107Z\"}" - } - }, - "Update-AzMySqlServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+4": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "5", "6", "7" ], - "x-ms-client-request-id": [ "d3aec7bc-3d96-45e1-8888-1b4cec6f9def", "d3aec7bc-3d96-45e1-8888-1b4cec6f9def", "d3aec7bc-3d96-45e1-8888-1b4cec6f9def" ], - "CommandName": [ "Az.MySql.internal\\Update-AzMySqlServer", "Az.MySql.internal\\Update-AzMySqlServer", "Az.MySql.internal\\Update-AzMySqlServer" ], - "FullCommandName": [ "Update-AzMySqlServer_UpdateViaIdentityExpanded", "Update-AzMySqlServer_UpdateViaIdentityExpanded", "Update-AzMySqlServer_UpdateViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, + "StatusCode": 404, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "07142761-eb4b-4287-a016-56d8f764262e" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], - "x-ms-correlation-request-id": [ "fbe2ac14-3746-41c2-b7d8-c9bae0f50a55" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T072403Z:fbe2ac14-3746-41c2-b7d8-c9bae0f50a55" ], + "x-ms-failure-cause": [ "gateway" ], + "x-ms-request-id": [ "aabc1180-234a-4808-9349-7b9a2b407ea6" ], + "x-ms-correlation-request-id": [ "aabc1180-234a-4808-9349-7b9a2b407ea6" ], + "x-ms-routing-request-id": [ "WESTUS2:20201110T002740Z:aabc1180-234a-4808-9349-7b9a2b407ea6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:24:03 GMT" ] + "Date": [ "Tue, 10 Nov 2020 00:27:39 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "909" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] + "Expires": [ "-1" ], + "Content-Length": [ "224" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForMySQL/servers/mysql-test-100\u0027 under resource group \u0027MySqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" } } } \ No newline at end of file diff --git a/src/MySql/test/Update-AzMySqlVirtualNetworkRule.Recording.json b/src/MySql/test/Update-AzMySqlVirtualNetworkRule.Recording.json index a037614c5052..9ed93096abfd 100644 --- a/src/MySql/test/Update-AzMySqlVirtualNetworkRule.Recording.json +++ b/src/MySql/test/Update-AzMySqlVirtualNetworkRule.Recording.json @@ -1,706 +1,68 @@ { - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "209" ] + "Content-Length": [ "213" ] } }, "Response": { - "StatusCode": 202, + "StatusCode": 404, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/630106f5-1b26-4eda-a58c-cbaf968992b2?api-version=2017-12-01" ], - "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/630106f5-1b26-4eda-a58c-cbaf968992b2?api-version=2017-12-01" ], - "x-ms-request-id": [ "630106f5-1b26-4eda-a58c-cbaf968992b2" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], - "x-ms-correlation-request-id": [ "d355ff99-65bf-4eab-b3c4-735d62475f33" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T072722Z:d355ff99-65bf-4eab-b3c4-735d62475f33" ], + "x-ms-failure-cause": [ "gateway" ], + "x-ms-request-id": [ "125219fb-ca00-4d40-831a-bd06c89d4c3b" ], + "x-ms-correlation-request-id": [ "125219fb-ca00-4d40-831a-bd06c89d4c3b" ], + "x-ms-routing-request-id": [ "WESTUS2:20201110T002741Z:125219fb-ca00-4d40-831a-bd06c89d4c3b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:27:22 GMT" ] + "Date": [ "Tue, 10 Nov 2020 00:27:40 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "90" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T07:27:21.587Z\"}" - } - }, - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/630106f5-1b26-4eda-a58c-cbaf968992b2?api-version=2017-12-01+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/630106f5-1b26-4eda-a58c-cbaf968992b2?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "1", "2" ], - "x-ms-client-request-id": [ "a7269d29-0f0e-49e2-b586-52c97a25f2df", "a7269d29-0f0e-49e2-b586-52c97a25f2df" ], - "CommandName": [ "New-AzMySqlVirtualNetworkRule", "New-AzMySqlVirtualNetworkRule" ], - "FullCommandName": [ "New-AzMySqlVirtualNetworkRule_CreateExpanded", "New-AzMySqlVirtualNetworkRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "a12f9302-8ec5-479a-980b-48ffe04cca15" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], - "x-ms-correlation-request-id": [ "35e64c69-5a17-4091-ae9d-18e915b4e46c" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T072753Z:35e64c69-5a17-4091-ae9d-18e915b4e46c" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:27:52 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"630106f5-1b26-4eda-a58c-cbaf968992b2\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:27:21.587Z\"}" - } - }, - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "1", "2", "3" ], - "x-ms-client-request-id": [ "a7269d29-0f0e-49e2-b586-52c97a25f2df", "a7269d29-0f0e-49e2-b586-52c97a25f2df", "a7269d29-0f0e-49e2-b586-52c97a25f2df" ], - "CommandName": [ "New-AzMySqlVirtualNetworkRule", "New-AzMySqlVirtualNetworkRule", "New-AzMySqlVirtualNetworkRule" ], - "FullCommandName": [ "New-AzMySqlVirtualNetworkRule_CreateExpanded", "New-AzMySqlVirtualNetworkRule_CreateExpanded", "New-AzMySqlVirtualNetworkRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "65e7ccf3-f28f-40e4-bdd9-54a73b8a9a65" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], - "x-ms-correlation-request-id": [ "e9a55077-bcdd-4bb0-88ec-c6fa828f68a8" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T072753Z:e9a55077-bcdd-4bb0-88ec-c6fa828f68a8" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:27:52 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "497" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBforMySQL/servers/virtualNetworkRules\"}" - } - }, - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+4": { - "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet2\"\n }\n}", - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "209" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/4643d496-aa9a-4edc-b014-679e5e1aeae4?api-version=2017-12-01" ], - "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/4643d496-aa9a-4edc-b014-679e5e1aeae4?api-version=2017-12-01" ], - "x-ms-request-id": [ "4643d496-aa9a-4edc-b014-679e5e1aeae4" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], - "x-ms-correlation-request-id": [ "ee10868c-7402-4b4c-aa9b-9a2ffcdb6ef5" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T072755Z:ee10868c-7402-4b4c-aa9b-9a2ffcdb6ef5" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:27:54 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "90" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T07:27:54.073Z\"}" - } - }, - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/4643d496-aa9a-4edc-b014-679e5e1aeae4?api-version=2017-12-01+5": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/4643d496-aa9a-4edc-b014-679e5e1aeae4?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "4", "5" ], - "x-ms-client-request-id": [ "85bb2f0f-b2bd-43a1-a946-fa44ebf54efb", "85bb2f0f-b2bd-43a1-a946-fa44ebf54efb" ], - "CommandName": [ "Update-AzMySqlVirtualNetworkRule", "Update-AzMySqlVirtualNetworkRule" ], - "FullCommandName": [ "Update-AzMySqlVirtualNetworkRule_UpdateExpanded", "Update-AzMySqlVirtualNetworkRule_UpdateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "2c9a0380-26bb-4ad2-82f7-baf2ce4dd5e2" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], - "x-ms-correlation-request-id": [ "2f04dbfa-5acb-4e7e-917a-2f64b5bfa240" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T072825Z:2f04dbfa-5acb-4e7e-917a-2f64b5bfa240" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:28:25 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"4643d496-aa9a-4edc-b014-679e5e1aeae4\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:27:54.073Z\"}" - } - }, - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "4", "5", "6" ], - "x-ms-client-request-id": [ "85bb2f0f-b2bd-43a1-a946-fa44ebf54efb", "85bb2f0f-b2bd-43a1-a946-fa44ebf54efb", "85bb2f0f-b2bd-43a1-a946-fa44ebf54efb" ], - "CommandName": [ "Update-AzMySqlVirtualNetworkRule", "Update-AzMySqlVirtualNetworkRule", "Update-AzMySqlVirtualNetworkRule" ], - "FullCommandName": [ "Update-AzMySqlVirtualNetworkRule_UpdateExpanded", "Update-AzMySqlVirtualNetworkRule_UpdateExpanded", "Update-AzMySqlVirtualNetworkRule_UpdateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "23422aa6-d404-429c-9616-2eb3f69a9f55" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], - "x-ms-correlation-request-id": [ "a0708390-e4d0-45cd-a4da-07ab53234074" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T072826Z:a0708390-e4d0-45cd-a4da-07ab53234074" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:28:25 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "497" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet2\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBforMySQL/servers/virtualNetworkRules\"}" - } - }, - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+7": { - "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "7" ], - "x-ms-client-request-id": [ "4c4ed391-2e85-45bf-a74c-93f54b3fb2b9" ], - "CommandName": [ "Remove-AzMySqlVirtualNetworkRule" ], - "FullCommandName": [ "Remove-AzMySqlVirtualNetworkRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/a629bc60-9141-4a73-b3c8-109e5b583c22?api-version=2017-12-01" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/a629bc60-9141-4a73-b3c8-109e5b583c22?api-version=2017-12-01" ], - "x-ms-request-id": [ "a629bc60-9141-4a73-b3c8-109e5b583c22" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14997" ], - "x-ms-correlation-request-id": [ "687eff4e-6759-4923-b9af-0cbfab59434b" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T072827Z:687eff4e-6759-4923-b9af-0cbfab59434b" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:28:27 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "88" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"DropElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T07:28:26.463Z\"}" - } - }, - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/a629bc60-9141-4a73-b3c8-109e5b583c22?api-version=2017-12-01+8": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/a629bc60-9141-4a73-b3c8-109e5b583c22?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "7", "8" ], - "x-ms-client-request-id": [ "4c4ed391-2e85-45bf-a74c-93f54b3fb2b9", "4c4ed391-2e85-45bf-a74c-93f54b3fb2b9" ], - "CommandName": [ "Remove-AzMySqlVirtualNetworkRule", "Remove-AzMySqlVirtualNetworkRule" ], - "FullCommandName": [ "Remove-AzMySqlVirtualNetworkRule_Delete", "Remove-AzMySqlVirtualNetworkRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "12f9161b-ea25-4201-930f-eed66afe6820" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], - "x-ms-correlation-request-id": [ "165f32de-dd92-4b9f-b730-4ec98386c6ec" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T072843Z:165f32de-dd92-4b9f-b730-4ec98386c6ec" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:28:42 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"a629bc60-9141-4a73-b3c8-109e5b583c22\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:28:26.463Z\"}" - } - }, - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/a629bc60-9141-4a73-b3c8-109e5b583c22?api-version=2017-12-01+9": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/a629bc60-9141-4a73-b3c8-109e5b583c22?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "7", "8", "9" ], - "x-ms-client-request-id": [ "4c4ed391-2e85-45bf-a74c-93f54b3fb2b9", "4c4ed391-2e85-45bf-a74c-93f54b3fb2b9", "4c4ed391-2e85-45bf-a74c-93f54b3fb2b9" ], - "CommandName": [ "Remove-AzMySqlVirtualNetworkRule", "Remove-AzMySqlVirtualNetworkRule", "Remove-AzMySqlVirtualNetworkRule" ], - "FullCommandName": [ "Remove-AzMySqlVirtualNetworkRule_Delete", "Remove-AzMySqlVirtualNetworkRule_Delete", "Remove-AzMySqlVirtualNetworkRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "de7f12ff-852f-47c7-865f-07163e70b7c1" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], - "x-ms-correlation-request-id": [ "ea1f1beb-59f2-4432-88b6-c0f90e431a08" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T072843Z:ea1f1beb-59f2-4432-88b6-c0f90e431a08" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:28:43 GMT" ] - }, - "ContentHeaders": { "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "155" ] }, - "Content": null + "Content": "{\"error\":{\"code\":\"ParentResourceNotFound\",\"message\":\"Can not perform requested operation on nested resource. Parent resource \u0027mysql-test-100\u0027 not found.\"}}" } }, - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "209" ] + "Content-Length": [ "213" ] } }, "Response": { - "StatusCode": 202, + "StatusCode": 404, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/d1087740-15b7-4fbe-bd3b-cd12fb123e2d?api-version=2017-12-01" ], - "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d1087740-15b7-4fbe-bd3b-cd12fb123e2d?api-version=2017-12-01" ], - "x-ms-request-id": [ "d1087740-15b7-4fbe-bd3b-cd12fb123e2d" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1194" ], - "x-ms-correlation-request-id": [ "b57dcbd4-7cd7-4870-81f1-e8c02ccd4a11" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T072845Z:b57dcbd4-7cd7-4870-81f1-e8c02ccd4a11" ], + "x-ms-failure-cause": [ "gateway" ], + "x-ms-request-id": [ "8b1a7cdd-98d8-4516-ab48-47dd9bf43b31" ], + "x-ms-correlation-request-id": [ "8b1a7cdd-98d8-4516-ab48-47dd9bf43b31" ], + "x-ms-routing-request-id": [ "WESTUS2:20201110T002741Z:8b1a7cdd-98d8-4516-ab48-47dd9bf43b31" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:28:44 GMT" ] + "Date": [ "Tue, 10 Nov 2020 00:27:41 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "90" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T07:28:43.823Z\"}" - } - }, - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d1087740-15b7-4fbe-bd3b-cd12fb123e2d?api-version=2017-12-01+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d1087740-15b7-4fbe-bd3b-cd12fb123e2d?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "10", "11" ], - "x-ms-client-request-id": [ "c0ef821c-fa5a-48f7-9076-87bf63b9a8a1", "c0ef821c-fa5a-48f7-9076-87bf63b9a8a1" ], - "CommandName": [ "New-AzMySqlVirtualNetworkRule", "New-AzMySqlVirtualNetworkRule" ], - "FullCommandName": [ "New-AzMySqlVirtualNetworkRule_CreateExpanded", "New-AzMySqlVirtualNetworkRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "9e706d9b-31b6-47ab-9c93-29600c8392a9" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], - "x-ms-correlation-request-id": [ "60c36781-795f-4683-881a-e86523ea08ea" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T072915Z:60c36781-795f-4683-881a-e86523ea08ea" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:29:14 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"d1087740-15b7-4fbe-bd3b-cd12fb123e2d\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:28:43.823Z\"}" - } - }, - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "10", "11", "12" ], - "x-ms-client-request-id": [ "c0ef821c-fa5a-48f7-9076-87bf63b9a8a1", "c0ef821c-fa5a-48f7-9076-87bf63b9a8a1", "c0ef821c-fa5a-48f7-9076-87bf63b9a8a1" ], - "CommandName": [ "New-AzMySqlVirtualNetworkRule", "New-AzMySqlVirtualNetworkRule", "New-AzMySqlVirtualNetworkRule" ], - "FullCommandName": [ "New-AzMySqlVirtualNetworkRule_CreateExpanded", "New-AzMySqlVirtualNetworkRule_CreateExpanded", "New-AzMySqlVirtualNetworkRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "6e774e54-860b-48bf-bfad-e594cc80155b" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], - "x-ms-correlation-request-id": [ "93e578af-a046-4360-8ccd-44af0eb8f20c" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T072915Z:93e578af-a046-4360-8ccd-44af0eb8f20c" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:29:15 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "497" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBforMySQL/servers/virtualNetworkRules\"}" - } - }, - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+4": { - "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet2\"\n }\n}", - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "209" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/444b75d7-e999-40ab-8ab2-b92e9ea1e3a2?api-version=2017-12-01" ], - "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/444b75d7-e999-40ab-8ab2-b92e9ea1e3a2?api-version=2017-12-01" ], - "x-ms-request-id": [ "444b75d7-e999-40ab-8ab2-b92e9ea1e3a2" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1193" ], - "x-ms-correlation-request-id": [ "08c44b1b-70ea-4023-ab02-6e22b3755c4e" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T072917Z:08c44b1b-70ea-4023-ab02-6e22b3755c4e" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:29:17 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "90" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T07:29:16.323Z\"}" - } - }, - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/444b75d7-e999-40ab-8ab2-b92e9ea1e3a2?api-version=2017-12-01+5": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/444b75d7-e999-40ab-8ab2-b92e9ea1e3a2?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "13", "14" ], - "x-ms-client-request-id": [ "635f4676-fd6d-442c-936e-4cc6beeaf230", "635f4676-fd6d-442c-936e-4cc6beeaf230" ], - "CommandName": [ "Update-AzMySqlVirtualNetworkRule", "Update-AzMySqlVirtualNetworkRule" ], - "FullCommandName": [ "Update-AzMySqlVirtualNetworkRule_UpdateViaIdentityExpanded", "Update-AzMySqlVirtualNetworkRule_UpdateViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-request-id": [ "ba21e7ab-745a-4eb6-8387-d5f9c2c53bf8" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11980" ], - "x-ms-correlation-request-id": [ "0ba82f4c-76e9-461b-877c-b15499df9779" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T072947Z:0ba82f4c-76e9-461b-877c-b15499df9779" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:29:47 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"444b75d7-e999-40ab-8ab2-b92e9ea1e3a2\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:29:16.323Z\"}" - } - }, - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "13", "14", "15" ], - "x-ms-client-request-id": [ "635f4676-fd6d-442c-936e-4cc6beeaf230", "635f4676-fd6d-442c-936e-4cc6beeaf230", "635f4676-fd6d-442c-936e-4cc6beeaf230" ], - "CommandName": [ "Update-AzMySqlVirtualNetworkRule", "Update-AzMySqlVirtualNetworkRule", "Update-AzMySqlVirtualNetworkRule" ], - "FullCommandName": [ "Update-AzMySqlVirtualNetworkRule_UpdateViaIdentityExpanded", "Update-AzMySqlVirtualNetworkRule_UpdateViaIdentityExpanded", "Update-AzMySqlVirtualNetworkRule_UpdateViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "7ce92d2f-f0df-4449-85bd-d8354c81bc26" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11979" ], - "x-ms-correlation-request-id": [ "fa860df2-d0ad-4886-9b8b-6d45da779ec4" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T072948Z:fa860df2-d0ad-4886-9b8b-6d45da779ec4" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:29:47 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "497" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet2\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBforMySQL/servers/virtualNetworkRules\"}" - } - }, - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+7": { - "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "16" ], - "x-ms-client-request-id": [ "f3a356cb-6e6b-4294-ac27-ec2c3afb02c2" ], - "CommandName": [ "Remove-AzMySqlVirtualNetworkRule" ], - "FullCommandName": [ "Remove-AzMySqlVirtualNetworkRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/fffe0835-0317-4a30-a4b6-cbad1f09f1aa?api-version=2017-12-01" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/fffe0835-0317-4a30-a4b6-cbad1f09f1aa?api-version=2017-12-01" ], - "x-ms-request-id": [ "fffe0835-0317-4a30-a4b6-cbad1f09f1aa" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14996" ], - "x-ms-correlation-request-id": [ "fcf734d0-7bdd-4b97-96f4-e01ea34fcc71" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T072950Z:fcf734d0-7bdd-4b97-96f4-e01ea34fcc71" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:29:50 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "87" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"DropElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T07:29:48.65Z\"}" - } - }, - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/fffe0835-0317-4a30-a4b6-cbad1f09f1aa?api-version=2017-12-01+8": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/fffe0835-0317-4a30-a4b6-cbad1f09f1aa?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "16", "17" ], - "x-ms-client-request-id": [ "f3a356cb-6e6b-4294-ac27-ec2c3afb02c2", "f3a356cb-6e6b-4294-ac27-ec2c3afb02c2" ], - "CommandName": [ "Remove-AzMySqlVirtualNetworkRule", "Remove-AzMySqlVirtualNetworkRule" ], - "FullCommandName": [ "Remove-AzMySqlVirtualNetworkRule_Delete", "Remove-AzMySqlVirtualNetworkRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "58782c94-9ffc-47f0-be4f-c50c16a32ecf" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], - "x-ms-correlation-request-id": [ "ff7b05c2-174e-41aa-b737-321b5aff38f2" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T073006Z:ff7b05c2-174e-41aa-b737-321b5aff38f2" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:30:05 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "106" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"fffe0835-0317-4a30-a4b6-cbad1f09f1aa\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:29:48.65Z\"}" - } - }, - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/fffe0835-0317-4a30-a4b6-cbad1f09f1aa?api-version=2017-12-01+9": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/fffe0835-0317-4a30-a4b6-cbad1f09f1aa?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "16", "17", "18" ], - "x-ms-client-request-id": [ "f3a356cb-6e6b-4294-ac27-ec2c3afb02c2", "f3a356cb-6e6b-4294-ac27-ec2c3afb02c2", "f3a356cb-6e6b-4294-ac27-ec2c3afb02c2" ], - "CommandName": [ "Remove-AzMySqlVirtualNetworkRule", "Remove-AzMySqlVirtualNetworkRule", "Remove-AzMySqlVirtualNetworkRule" ], - "FullCommandName": [ "Remove-AzMySqlVirtualNetworkRule_Delete", "Remove-AzMySqlVirtualNetworkRule_Delete", "Remove-AzMySqlVirtualNetworkRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "2f1a1908-6e5a-4a46-b540-40d4894a7e6f" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], - "x-ms-correlation-request-id": [ "887f1202-85fa-44ae-ab19-57f75ca2c83d" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T073006Z:887f1202-85fa-44ae-ab19-57f75ca2c83d" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 24 Jul 2020 07:30:05 GMT" ] - }, - "ContentHeaders": { "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "155" ] }, - "Content": null + "Content": "{\"error\":{\"code\":\"ParentResourceNotFound\",\"message\":\"Can not perform requested operation on nested resource. Parent resource \u0027mysql-test-100\u0027 not found.\"}}" } } } \ No newline at end of file diff --git a/src/MySql/test/env.json b/src/MySql/test/env.json index 96f52865f9e6..0529ca89ff0d 100644 --- a/src/MySql/test/env.json +++ b/src/MySql/test/env.json @@ -1,15 +1,15 @@ { - "serverName": "mysql-test-100", - "SubscriptionId": "9e223dbe-3399-4e19-88eb-0975f02ac87f", - "Sku": "GP_Gen5_4", - "location": "eastus", - "VNetName": "mysqlvnet", "serverName2": "mysql-test-100-2", - "firewallRuleName2": "mysqlrule02", + "serverName": "mysql-test-100", "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "restoreName2": "mysql-test-100-restore-2", - "resourceGroup": "MySqlTest", - "restoreName": "mysql-test-100-restore", + "Sku": "Standard_B1ms", + "SubscriptionId": "7fec3109-5b78-4a24-b834-5d47d63e2596", + "firewallRuleName2": "mysqlrule02", "replicaName": "mysql-test-100-replica", - "firewallRuleName": "mysqlrule01" + "firewallRuleName": "mysqlrule01", + "resourceGroup": "MySqlTest", + "databaseName": "mysqldb", + "restoreName2": "mysql-test-100-restore-2", + "location": "westus2", + "restoreName": "mysql-test-100-restore" } diff --git a/src/MySql/test/utils.ps1 b/src/MySql/test/utils.ps1 index fb18b13447ff..dca7fea04307 100644 --- a/src/MySql/test/utils.ps1 +++ b/src/MySql/test/utils.ps1 @@ -7,7 +7,7 @@ function RandomString([bool]$allChars, [int32]$len) { } $env = @{} -function setupEnv() { +function setupFlexibleServerEnv() { # Preload subscriptionId and tenant from context, which will be used in test # as default. You could change them if needed. $env.SubscriptionId = (Get-AzContext).Subscription.Id @@ -19,32 +19,33 @@ function setupEnv() { $env.Add("replicaName", "mysql-test-100-replica") $env.Add("firewallRuleName", "mysqlrule01") $env.Add("firewallRuleName2", "mysqlrule02") - $env.Add("VNetName", "mysqlvnet") + $env.Add("databaseName", "mysqldb") # Create the test group write-host "start to create test group." $resourceGroup = "MySqlTest" - $location = "eastus" + $location = "westus2" $env.Add("resourceGroup", $resourceGroup) $env.Add("location", $location) New-AzResourceGroup -Name $resourceGroup -Location $location - # Create the test Vnet - write-host "Deploy Vnet template" - New-AzDeployment -Mode Incremental -TemplateFile .\test\deployment-templates\virtual-network\template.json -TemplateParameterFile .\test\deployment-templates\virtual-network\parameters.json -Name vn -ResourceGroupName $resourceGroup - #[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] $password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force $serverName = "mysql-test-100" $env.Add("serverName", $serverName) $Sku = "GP_Gen5_4" + $FlexibleSku = "Standard_B1ms" $env.Add("Sku", $Sku) + $env.Add("FlexibleSku", $FlexibleSku) write-host (Get-AzContext | Out-String) write-host "New-AzMySqlServer -Name $serverName -ResourceGroupName $resourceGroup -Location $location -AdministratorUserName mysql_test -AdministratorLoginPassword $password -Sku $Sku" New-AzMySqlServer -Name $serverName -ResourceGroupName $resourceGroup -Location $location -AdministratorUserName mysql_test -AdministratorLoginPassword $password -Sku $Sku + write-host "New-AzMySqlFlexibleServer -Name $serverName -ResourceGroupName $resourceGroup -AdministratorUserName mysql_test -AdministratorLoginPassword $password" + New-AzMySqlFlexibleServer -Name $serverName -ResourceGroupName $resourceGroup -AdministratorUserName mysql_test -AdministratorLoginPassword $password + $envFile = 'env.json' if ($TestMode -eq 'live') { $envFile = 'localEnv.json' @@ -57,4 +58,3 @@ function cleanupEnv() { write-host "Clean resources you create for testing." Remove-AzResourceGroup -Name $env.resourceGroup } - diff --git a/src/PostgreSql/docs/Az.PostgreSql.md b/src/PostgreSql/docs/Az.PostgreSql.md index 055197471521..f347deb46e5d 100644 --- a/src/PostgreSql/docs/Az.PostgreSql.md +++ b/src/PostgreSql/docs/Az.PostgreSql.md @@ -1,6 +1,6 @@ --- Module Name: Az.PostgreSql -Module Guid: 4af7c147-6216-404c-810d-627432f22b6a +Module Guid: 6d74eab8-e826-42a1-b6a1-342d3d3f4a6d Download Help Link: https://docs.microsoft.com/en-us/powershell/module/az.postgresql Help Version: 1.0.0.0 Locale: en-US diff --git a/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServer.md index fbc5c02fbe75..4eb5b76ffcf0 100644 --- a/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServer.md +++ b/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServer.md @@ -40,23 +40,51 @@ Gets information about a server. ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: Get PostgreSql server with default context ```powershell -PS C:\> {{ Add code here }} +PS C:\> Get-AzPostgreSqlFlexibleServer -{{ Add output here }} +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +postgresql-test-11 eastus postgresql-test 5.7 32768 Standard_D2ds_v4 GeneralPurpose ``` -{{ Add description here }} +This cmdlet gets PostgreSql servers with default context. -### Example 2: {{ Add title here }} +### Example 2: Get PostgreSql server by resource group and server name ```powershell -PS C:\> {{ Add code here }} +PS C:\> Get-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -Name PostgreSql-test -{{ Add output here }} +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +postgresql-test-11 eastus postgresql-test 5.7 32768 Standard_D2s_v3 GeneralPurpose ``` -{{ Add description here }} +This cmdlet gets PostgreSql servers by resource group and server name. + +### Example 3: Lists all the PostgreSql servers in specified resource group +```powershell +PS C:\> Get-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +postgresql-test-11 eastus postgresql-test 5.7 32768 Standard_D2s_v3 GeneralPurpose +postgresql-test-12 eastus postgresql-test2 5.7 32768 Standard_D2s_v3 GeneralPurpose +``` + +This cmdlet lists all the PostgreSql servers in the specified resource group. + +### Example 4: Get PostgreSql server by identity +```powershell +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test" +PS C:\> Get-AzPostgreSqlFlexibleServer -InputObject $ID + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +postgresql-test-11 eastus postgresql-test 12 32768 Standard_D2s_v3 GeneralPurpose +``` + +This cmdlet lists gets PostgreSql servers by identity. ## PARAMETERS diff --git a/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerConfiguration.md b/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerConfiguration.md index a9eed0b4740e..849692b47a08 100644 --- a/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerConfiguration.md +++ b/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerConfiguration.md @@ -35,23 +35,29 @@ Gets information about a configuration of server. ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: Get specified PostgreSql configuration by name ```powershell -PS C:\> {{ Add code here }} +PS C:\> Get-AzPostgreSqlFlexibleServerConfiguration -Name work_mem -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test -{{ Add output here }} +Name Value DefaultValue Source AllowedValues DataType +---- ------ ------------ ------- ------------- --------- +work_mem 4096 4096 system-default 4096-2097151 Integer ``` -{{ Add description here }} +This cmdlet gets specified PostgreSql configuration by name. -### Example 2: {{ Add title here }} +### Example 2: List all configurations in specified PostgreSql server ```powershell -PS C:\> {{ Add code here }} +PS C:\> Get-AzPostgreSqlFlexibleServerConfiguration -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test -{{ Add output here }} +Name Value DefaultValue Source AllowedValues DataType +---- ------ ------------ ------- ------------- --------- +application_name "" "" system-default [A-Za-z0-9._-]* String +... +pgbouncer.enabled false false system-default true, false Boolean ``` -{{ Add description here }} +This cmdlet lists all configurations in specified PostgreSql server. ## PARAMETERS diff --git a/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerFirewallRule.md index 522cc18ff7b0..85b2c1eb00df 100644 --- a/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerFirewallRule.md +++ b/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerFirewallRule.md @@ -35,23 +35,40 @@ List all the firewall rules in a given server. ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: Get firewall rules by name ```powershell -PS C:\> {{ Add code here }} +PS C:\> Get-AzPostgreSqlFlexibleServerFirewallRule -Name firewallrule-test -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test -{{ Add output here }} +FirewallRuleName StartIPAddress EndIPAddress +----------------- --------------- --------------- +firewallrule-test 12.12.12.12 23.23.23.23 ``` -{{ Add description here }} +This cmdlet gets firewall rules by name. -### Example 2: {{ Add title here }} +### Example 2: Get firewall rules by identity ```powershell -PS C:\> {{ Add code here }} +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test/firewallRules/firewallrule-test" +PS C:\> Get-AzPostgreSqlFlexibleServerFirewallRule -InputObject $ID -{{ Add output here }} +FirewallRuleName StartIPAddress EndIPAddress +----------------- --------------- --------------- +firewallrule-test 12.12.12.12 23.23.23.23 ``` -{{ Add description here }} +This cmdlet gets firewall rules by identity. + +### Example 3: Lists all the firewall rules in the specified PostgreSql server +```powershell +PS C:\> Get-AzPostgreSqlFlexibleServerFirewallRule -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test + +FirewallRuleName StartIPAddress EndIPAddress +----------------- --------------- --------------- +firewallrule-test 12.12.12.12 23.23.23.23 +firewallrule-test2 12.12.12.15 23.23.23.25 +``` + +This cmdlet lists all the firewall rule in specified PostgreSql server. ## PARAMETERS diff --git a/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerLocationBasedCapability.md b/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerLocationBasedCapability.md index e9c8dd117134..2a938b2a817b 100644 --- a/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerLocationBasedCapability.md +++ b/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerLocationBasedCapability.md @@ -29,23 +29,32 @@ Get capabilities at specified location in a given subscription. ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: List available SKUs and their properties in the location ```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +PS C:\> Get-AzPostgreSqlFlexibleServerLocationBasedCapability -Location eastus +For prices please refer to https://aka.ms/postgresql-pricing + +SKU Tier VCore Memory Max Disk IOPS +---------------- --------------- ------- -------- --------------- +Standard_B1ms Burstable 1 2 GiB 640 +Standard_B2s Burstable 2 4 GiB 1280 +Standard_D2s_v3 GeneralPurpose 2 8 GiB 3200 +Standard_D4s_v3 GeneralPurpose 4 16 GiB 6400 +Standard_D8s_v3 GeneralPurpose 8 32 GiB 12800 +Standard_D16s_v3 GeneralPurpose 16 64 GiB 18000 +Standard_D32s_v3 GeneralPurpose 32 128 GiB 18000 +Standard_D48s_v3 GeneralPurpose 48 192 GiB 18000 +Standard_D64s_v3 GeneralPurpose 64 256 GiB 18000 +Standard_E2s_v3 MemoryOptimized 2 16 GiB 3200 +Standard_E4s_v3 MemoryOptimized 4 32 GiB 6400 +Standard_E8s_v3 MemoryOptimized 8 64 GiB 12800 +Standard_E16s_v3 MemoryOptimized 16 128 GiB 18000 +Standard_E32s_v3 MemoryOptimized 32 256 GiB 18000 +Standard_E48s_v3 MemoryOptimized 48 384 GiB 18000 +Standard_E64s_v3 MemoryOptimized 64 432 GiB 18000 ``` -{{ Add description here }} +Provide available skus in the location ## PARAMETERS diff --git a/src/PostgreSql/docs/New-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/docs/New-AzPostgreSqlFlexibleServer.md index aea3e939a1d1..cbfa6ccdfc41 100644 --- a/src/PostgreSql/docs/New-AzPostgreSqlFlexibleServer.md +++ b/src/PostgreSql/docs/New-AzPostgreSqlFlexibleServer.md @@ -25,23 +25,77 @@ Creates a new server. ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: Create a new PostgreSql flexible server with parameters ```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +PS C:\> New-AzPostgreSqlFlexibleServer -Name postgresql-test -ResourceGroupName PowershellPostgreSqlTest \ +-Location eastus -AdministratorUserName postgresqltest -AdministratorLoginPassword $password -Sku Standard_B1ms -SkuTier Burstable + +Creating new vnet {vnetName} in resource group {resourceGroupName}... +Creating new subnet {subnetName} in resource group {resourceGroupName} and delegating it to "Microsoft.DBforPostgreSQL/flexibleServers"... +Creating PostgreSql server {serverName} in group {resourceGroupName}... +Your server is using sku 'Standard_B1ms' (paid tier). Please refer to https://aka.ms/postgresql-pricing for pricing details. +Creating PostgreSql database {dbname}... +"connectionString": "postgresql://{username}:{password}@{servername}.postgres.database.azure.com/postgres?sslmode=require", +"databaseName": "{dbname}", +"host": "{servername}.PostgreSql.database.azure.com", +"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreS!L/flexibleServers/{serverName}", +"location": "East US", +"version": "12", +"username": "{username}", +"password": "{password}", +"skuname": "Standard_B1ms" ``` -{{ Add description here }} +The cmdlet generates a server with the given parameters and output important information in a visible format. +The server creation automatically generates vnet, subnet, and database in the resource group. -### Example 2: {{ Add title here }} +### Example 2: Create a new PostgreSql flexible server without parameters ```powershell -PS C:\> {{ Add code here }} +PS C:\> New-AzPostgreSqlFlexibleServer + +Creating Resource Group {resourceGroupName}... +Creating new vnet {vnetName} in resource group {resourceGroupName}... +Creating new subnet {subnetName} in resource group {resourceGroupName} and delegating it to "Microsoft.DBforPostgreSql/flexibleServers"... +Creating PostgreSql server {serverName} in group {resourceGroupName}... +Your server is using sku 'Standard_D2s_v3' (paid tier). Please refer to https://aka.ms/postgresql-pricing for pricing details. +Creating PostgreSql database {dbname}... +"connectionString": "postgresql://{username}:{password}@{servername}.postgres.database.azure.com/postgres?sslmode=require", +"databaseName": "flexibleserverdb", +"host": "{servername}.PostgreSql.database.azure.com", +"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSql/flexibleServers/{serverName}", +"location": "East US", +"version": "12", +"username": "{username}", +"password": "{password}", +"skuname": "Standard_D2s_v3" +``` -{{ Add output here }} +When no parameters are given, the cmdlet automatically generates necessary resources such as resource group, vnet, and database. +The SKU and storage profile are set to default values. + +### Example 3: Create a new PostgreSql flexible server with public access to all IPs +```powershell +PS C:\> New-AzPostgreSqlFlexibleServer -PublicAccess all + +Creating Resource Group {resourceGroupName}... +Configurint server firewall rule to accept connections from '0.0.0.0' to '255.255.255.255'... +Creating PostgreSql server {serverName} in group {resourceGroupName}... +Your server is using sku 'Standard_D2s_v3' (paid tier). Please refer to https://aka.ms/postgresql-pricing for pricing details. +Creating PostgreSql database {dbname}... +"connectionString": "postgresql://{username}:{password}@{servername}.postgres.database.azure.com/postgres?sslmode=require", +"firewallName": "{firewallRuleName}", +"databaseName": "flexibleserverdb", +"host": "{serverName}.PostgreSql.database.azure.com", +"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}", +"location": "East US", +"version": "12", +"username": "{username}", +"password": "{password}", +"skuname": "Standard_D2s_v3" ``` -{{ Add description here }} +The cmdlet generates a server without given parameters and automatically generates necessary resources such as resource group, subnet, and database. +The SKU and storage profile are set to default values. ## PARAMETERS diff --git a/src/PostgreSql/docs/New-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSql/docs/New-AzPostgreSqlFlexibleServerFirewallRule.md index 2f5b1615e6b4..b3459238bed5 100644 --- a/src/PostgreSql/docs/New-AzPostgreSqlFlexibleServerFirewallRule.md +++ b/src/PostgreSql/docs/New-AzPostgreSqlFlexibleServerFirewallRule.md @@ -38,23 +38,38 @@ Creates a new firewall rule or updates an existing firewall rule. ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: Create a new PostgreSql server Firewall Rule ```powershell -PS C:\> {{ Add code here }} +PS C:\> New-AzPostgreSqlFlexibleServerFirewallRule -Name firewallrule-test -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 -{{ Add output here }} +Name StartIPAddress EndIPAddress +----------------- -------------- ------------ +firewallrule-test 0.0.0.0 0.0.0.1 ``` -{{ Add description here }} +This cmdlets create a PostgreSql server Firewall Rule. -### Example 2: {{ Add title here }} +### Example 2: Create a new PostgreSql Firewall Rule using -ClientIPAddress. ```powershell -PS C:\> {{ Add code here }} +PS C:\> New-AzPostgreSqlFlexibleServerFirewallRule -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test -ClientIPAddress 0.0.0.1 -{{ Add output here }} +Name StartIPAddress EndIPAddress +---- -------------- ------------ +ClientIPAddress_2020-08-11_18-19-27 0.0.0.1 0.0.0.1 ``` -{{ Add description here }} +This cmdlets create a PostgreSql Firewall Rule using -ClientIPAddress. + +### Example 3: Create a new PostgreSql Firewall Rule to allow all IPs +```powershell +PS C:\> New-AzPostgreSqlFlexibleServerFirewallRule -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test -AllowAll + +Name StartIPAddress EndIPAddress +---- -------------- ------------ +AllowAll_2020-08-11_18-19-27 0.0.0.0 255.255.255.255 +``` + +This cmdlets create a new PostgreSql Firewall Rule to allow all IPs. ## PARAMETERS diff --git a/src/PostgreSql/docs/Remove-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/docs/Remove-AzPostgreSqlFlexibleServer.md index 2ad531307e4b..1052f6606a1e 100644 --- a/src/PostgreSql/docs/Remove-AzPostgreSqlFlexibleServer.md +++ b/src/PostgreSql/docs/Remove-AzPostgreSqlFlexibleServer.md @@ -29,23 +29,22 @@ Deletes a server. ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: Remove PostgreSql server by resourceGroup and server name ```powershell -PS C:\> {{ Add code here }} +PS C:\> Remove-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -Name postgresql-test -{{ Add output here }} ``` -{{ Add description here }} +This cmdlet removes PostgreSql server by resourceGroup and server name. -### Example 2: {{ Add title here }} +### Example 2: Remove PostgreSql server by identity ```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test" +PS C:\> Remove-AzPostgreSqlFlexibleServer -InputObject $ID + ``` -{{ Add description here }} +These cmdlets remove PostgreSql server by identity. ## PARAMETERS diff --git a/src/PostgreSql/docs/Remove-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSql/docs/Remove-AzPostgreSqlFlexibleServerFirewallRule.md index 3030f6b8535d..d66d4b6bb25f 100644 --- a/src/PostgreSql/docs/Remove-AzPostgreSqlFlexibleServerFirewallRule.md +++ b/src/PostgreSql/docs/Remove-AzPostgreSqlFlexibleServerFirewallRule.md @@ -30,23 +30,22 @@ Deletes a PostgreSQL server firewall rule. ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: Remove PostgreSql Firewall Rule by name ```powershell -PS C:\> {{ Add code here }} +PS C:\> Remove-AzPostgreSqlFlexibleServerFirewallRule -Name firewall-rule-test -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test -{{ Add output here }} ``` -{{ Add description here }} +This cmdlet removes PostgreSql Firewall Rule by name. -### Example 2: {{ Add title here }} +### Example 2: Remove PostgreSql Firewall Rule by identity ```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test/firewallRules/firewall-rule-test" +PS C:\> Remove-AzPostgreSqlFlexibleServerFirewallRule -InputObject $ID + ``` -{{ Add description here }} +These cmdlets remove PostgreSql Firewall Rule by identity. ## PARAMETERS diff --git a/src/PostgreSql/docs/Restart-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/docs/Restart-AzPostgreSqlFlexibleServer.md index 9ba01fa1ccf2..74df6bd9933e 100644 --- a/src/PostgreSql/docs/Restart-AzPostgreSqlFlexibleServer.md +++ b/src/PostgreSql/docs/Restart-AzPostgreSqlFlexibleServer.md @@ -29,23 +29,20 @@ Restarts a server. ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: Restart the server by resource name ```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +PS C:\> Restart-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -Name postgresql-test ``` -{{ Add description here }} +Restart the server by name -### Example 2: {{ Add title here }} +### Example 2: Restart the server by identity ```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test" +PS C:\> Restart-AzPostgreSqlFlexibleServer -InputObject $ID ``` -{{ Add description here }} +Restart the server by identity ## PARAMETERS diff --git a/src/PostgreSql/docs/Restore-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/docs/Restore-AzPostgreSqlFlexibleServer.md index 0c66e1d748c3..2d926bdfec0d 100644 --- a/src/PostgreSql/docs/Restore-AzPostgreSqlFlexibleServer.md +++ b/src/PostgreSql/docs/Restore-AzPostgreSqlFlexibleServer.md @@ -23,23 +23,17 @@ Restore a server from an existing backup ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: Restore PostgreSql server using PointInTime Restore ```powershell -PS C:\> {{ Add code here }} +PS C:\> $restorePointInTime = (Get-Date).AddMinutes(-10) +PS C:\> Restore-AzPostgreSqlFlexibleServer -Name PostgreSql-test-restore -ResourceGroupName PowershellPostgreSqlTest -SourceServerName postgresql-test -Location westus2 -RestorePointInTime $restorePointInTime -{{ Add output here }} +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ------- ------- +PostgreSql-test-restore eastus postgresql_test 5.7 10240 Standard_D2s_v3 GeneralPurpose ``` -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} +These cmdlets restore PostgreSql server using PointInTime Restore. ## PARAMETERS diff --git a/src/PostgreSql/docs/Start-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/docs/Start-AzPostgreSqlFlexibleServer.md index 8cca58d349ce..75642b7b5b2c 100644 --- a/src/PostgreSql/docs/Start-AzPostgreSqlFlexibleServer.md +++ b/src/PostgreSql/docs/Start-AzPostgreSqlFlexibleServer.md @@ -29,23 +29,20 @@ Starts a server. ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: Start the server by resource name ```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +PS C:\> Start-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -Name postgresql-test ``` -{{ Add description here }} +Start the server by name -### Example 2: {{ Add title here }} +### Example 2: Start the server by identity ```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test" +PS C:\> Start-AzPostgreSqlFlexibleServer -InputObject $ID ``` -{{ Add description here }} +Start the server by identity ## PARAMETERS diff --git a/src/PostgreSql/docs/Stop-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/docs/Stop-AzPostgreSqlFlexibleServer.md index 6827e4305fbc..96e9ffbac162 100644 --- a/src/PostgreSql/docs/Stop-AzPostgreSqlFlexibleServer.md +++ b/src/PostgreSql/docs/Stop-AzPostgreSqlFlexibleServer.md @@ -29,23 +29,20 @@ Stops a server. ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: Stop the server by resource name ```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +PS C:\> Stop-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -Name postgresql-test ``` -{{ Add description here }} +Stop the server by name -### Example 2: {{ Add title here }} +### Example 2: Stop the server by identity ```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test" +PS C:\> Stop-AzPostgreSqlFlexibleServer -InputObject $ID ``` -{{ Add description here }} +Stop the server by identity ## PARAMETERS diff --git a/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServer.md index e312b0db5686..830371250909 100644 --- a/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServer.md +++ b/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServer.md @@ -39,23 +39,27 @@ Use Update-AzPostgreSqlConfiguration instead if you want update server parameter ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: Update PostgreSql server by resource group and server name ```powershell -PS C:\> {{ Add code here }} +PS C:\> Update-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -Name postgresql-test -Sku Standard_D4s_v3 -{{ Add output here }} +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +postgresql-test-11 eastus PostgreSql_test 12 5120 Standard_D4s_v3 GeneralPurpose ``` -{{ Add description here }} +This cmdlet updates PostgreSql server by resource group and server name. -### Example 2: {{ Add title here }} +### Example 2: Update PostgreSql server by identity. ```powershell -PS C:\> {{ Add code here }} +PS C:\> Get-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test | Update-AzPostgreSqlFlexibleServer -BackupRetentionDay 23 -StorageMb 10240 -{{ Add output here }} +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +postgresql-test-11 eastus PostgreSql_test 12 5120 Standard_D2ds_v4 GeneralPurpose ``` -{{ Add description here }} +This cmdlet updates PostgreSql server by identity. ## PARAMETERS diff --git a/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServerConfiguration.md b/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServerConfiguration.md index 6a72442e25a7..faa1d02536c7 100644 --- a/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServerConfiguration.md +++ b/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServerConfiguration.md @@ -30,23 +30,28 @@ Updates a configuration of a server. ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: Update PostgreSql configuration by name ```powershell -PS C:\> {{ Add code here }} +PS C:\> Update-AzPostgreSqlFlexibleServer -Name work_mem -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test -Value 15 -{{ Add output here }} +Name Value DefaultValue Source AllowedValues DataType +---- ------ ------------ ------- ------------- --------- +work_mem 10240 4096 user-override 4096-2097151 Integer ``` -{{ Add description here }} +This cmdlet updates PostgreSql configuration by name. -### Example 2: {{ Add title here }} +### Example 2: Update PostgreSql configuration by identity. ```powershell -PS C:\> {{ Add code here }} +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSql/flexibleServers/PostgreSql-test/configurations/wait_timeout" +PS C:\> Update-AzPostgreSqlFlexibleServer -InputObject $ID -Value 10240 -{{ Add output here }} +Name Value DefaultValue Source AllowedValues DataType +---- ------ ------------ ------- ------------- --------- +work_mem 10240 4096 system-default 4096-2097151 Integer ``` -{{ Add description here }} +These cmdlets update PostgreSql configuration by identity. ## PARAMETERS diff --git a/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServerFirewallRule.md index 952a232cb0da..29d47dcc6511 100644 --- a/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServerFirewallRule.md +++ b/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServerFirewallRule.md @@ -44,23 +44,28 @@ Creates a new firewall rule or updates an existing firewall rule. ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: Update PostgreSql Firewall Rule by name ```powershell -PS C:\> {{ Add code here }} +PS C:\> Update-AzPostgreSqlFlexibleServerFirewallRule -Name rule -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 -{{ Add output here }} +Name StartIPAddress EndIPAddress +---- -------------- ------------ +rule 0.0.0.2 0.0.0.3 ``` -{{ Add description here }} +This cmdlet updates PostgreSql Firewall Rule by name. -### Example 2: {{ Add title here }} +### Example 2: Update PostgreSql Firewall Rule by identity. ```powershell -PS C:\> {{ Add code here }} +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test/firewallRules/rule" +PS C:\> Update-AzPostgreSqlFlexibleServerFirewallRule -InputObject $ID -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 -{{ Add output here }} +Name StartIPAddress EndIPAddress +---- -------------- ------------ +rule 0.0.0.2 0.0.0.3 ``` -{{ Add description here }} +These cmdlets update PostgreSql Firewall Rule by identity. ## PARAMETERS diff --git a/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServerConfiguration.md b/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServerConfiguration.md index 2a1446222be8..52dd00dde7ba 100644 --- a/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServerConfiguration.md +++ b/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServerConfiguration.md @@ -4,7 +4,7 @@ PS C:\> Get-AzPostgreSqlFlexibleServerConfiguration -Name work_mem -ResourceGrou Name Value DefaultValue Source AllowedValues DataType ---- ------ ------------ ------- ------------- --------- -work_mem 4096 4096 system-default 4096-2097151 Integer +work_mem 4096 4096 system-default 4096-2097151 Integer ``` This cmdlet gets specified PostgreSql configuration by name. @@ -15,7 +15,7 @@ PS C:\> Get-AzPostgreSqlFlexibleServerConfiguration -ResourceGroupName Powershel Name Value DefaultValue Source AllowedValues DataType ---- ------ ------------ ------- ------------- --------- -application_name "" "" system-default [A-Za-z0-9._-]* String +application_name "" "" system-default [A-Za-z0-9._-]* String ... pgbouncer.enabled false false system-default true, false Boolean ``` diff --git a/src/PostgreSql/examples/Restart-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/examples/Restart-AzPostgreSqlFlexibleServer.md index 0ba79ce99461..b98662af22aa 100644 --- a/src/PostgreSql/examples/Restart-AzPostgreSqlFlexibleServer.md +++ b/src/PostgreSql/examples/Restart-AzPostgreSqlFlexibleServer.md @@ -7,7 +7,7 @@ Restart the server by name ### Example 2: Restart the server by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test/restart" PS C:\> Restart-AzPostgreSqlFlexibleServer -InputObject $ID ``` diff --git a/src/PostgreSql/examples/Restore-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/examples/Restore-AzPostgreSqlFlexibleServer.md index 0785d3804330..5a458b716f80 100644 --- a/src/PostgreSql/examples/Restore-AzPostgreSqlFlexibleServer.md +++ b/src/PostgreSql/examples/Restore-AzPostgreSqlFlexibleServer.md @@ -1,11 +1,11 @@ ### Example 1: Restore PostgreSql server using PointInTime Restore ```powershell PS C:\> $restorePointInTime = (Get-Date).AddMinutes(-10) -PS C:\> Restore-AzPostgreSqlFlexibleServer -Name PostgreSql-test-restore -ResourceGroupName PowershellPostgreSqlTest -SourceServerName postgresql-test -Location westus2 -RestorePointInTime $restorePointInTime +PS C:\> Restore-AzPostgreSqlFlexibleServer -Name postgresql-test-restore -ResourceGroupName PowershellPostgreSqlTest -SourceServerName postgresql-test -Location eastus -RestorePointInTime $restorePointInTime Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ---- -------- ------------------ ------- ----------------------- ------- ------- -PostgreSql-test-restore eastus postgresql_test 5.7 10240 Standard_D2s_v3 GeneralPurpose +postgresql-test-restore eastus postgresql_test 12 131072 Standard_D2s_v3 GeneralPurpose ``` These cmdlets restore PostgreSql server using PointInTime Restore. diff --git a/src/PostgreSql/examples/Start-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/examples/Start-AzPostgreSqlFlexibleServer.md index b0ea5e58a3b7..21b6b0e9d1ed 100644 --- a/src/PostgreSql/examples/Start-AzPostgreSqlFlexibleServer.md +++ b/src/PostgreSql/examples/Start-AzPostgreSqlFlexibleServer.md @@ -7,7 +7,7 @@ Start the server by name ### Example 2: Start the server by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test/start" PS C:\> Start-AzPostgreSqlFlexibleServer -InputObject $ID ``` diff --git a/src/PostgreSql/examples/Stop-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/examples/Stop-AzPostgreSqlFlexibleServer.md index 7b1e5010b67c..ed8b0fd57fc7 100644 --- a/src/PostgreSql/examples/Stop-AzPostgreSqlFlexibleServer.md +++ b/src/PostgreSql/examples/Stop-AzPostgreSqlFlexibleServer.md @@ -8,7 +8,7 @@ Stop the server by name ### Example 2: Stop the server by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test/stop" PS C:\> Stop-AzPostgreSqlFlexibleServer -InputObject $ID ``` diff --git a/src/PostgreSql/test/Get-AzPostgreSqlConfiguration.Recording.json b/src/PostgreSql/test/Get-AzPostgreSqlConfiguration.Recording.json index d1f457c53b44..a916f3e6f5e8 100644 --- a/src/PostgreSql/test/Get-AzPostgreSqlConfiguration.Recording.json +++ b/src/PostgreSql/test/Get-AzPostgreSqlConfiguration.Recording.json @@ -1,12 +1,12 @@ { - "Get-AzPostgreSqlConfiguration+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations?api-version=2017-12-01+1": { + "Get-AzPostgreSqlConfiguration+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations?api-version=2017-12-01", "Content": null, "Headers": { - "x-ms-unique-id": [ "10" ], - "x-ms-client-request-id": [ "9672294f-cc94-4868-a6a2-c9b5daa2bf65" ], + "x-ms-unique-id": [ "1" ], + "x-ms-client-request-id": [ "54d227df-90d4-4a40-9345-1b302ef81d47" ], "CommandName": [ "Get-AzPostgreSqlConfiguration" ], "FullCommandName": [ "Get-AzPostgreSqlConfiguration_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -17,35 +17,34 @@ } }, "Response": { - "StatusCode": 200, + "StatusCode": 404, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "8c353601-8617-4a8d-887e-ba90533d43bb" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], - "x-ms-correlation-request-id": [ "0a41400e-d472-4c93-ad02-a040e9acef14" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110108Z:0a41400e-d472-4c93-ad02-a040e9acef14" ], + "x-ms-failure-cause": [ "gateway" ], + "x-ms-request-id": [ "3eb9c3e1-883b-41e2-8639-c54013a2fe49" ], + "x-ms-correlation-request-id": [ "3eb9c3e1-883b-41e2-8639-c54013a2fe49" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064007Z:3eb9c3e1-883b-41e2-8639-c54013a2fe49" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 25 Sep 2020 11:01:07 GMT" ] + "Date": [ "Wed, 11 Nov 2020 06:40:06 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "89559" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] + "Expires": [ "-1" ], + "Content-Length": [ "239" ] }, - "Content": "{\"value\":[{\"properties\":{\"value\":\"on\",\"description\":\"Enable input of NULL elements in arrays.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/array_nulls\",\"name\":\"array_nulls\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"safe_encoding\",\"description\":\"Sets whether \\\"\\\\\u0027\\\" is allowed in string literals.\",\"defaultValue\":\"safe_encoding\",\"dataType\":\"Enumeration\",\"allowedValues\":\"safe_encoding,on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/backslash_quote\",\"name\":\"backslash_quote\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"hex\",\"description\":\"Sets the output format for bytea.\",\"defaultValue\":\"hex\",\"dataType\":\"Enumeration\",\"allowedValues\":\"escape,hex\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/bytea_output\",\"name\":\"bytea_output\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Check function bodies during CREATE FUNCTION.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/check_function_bodies\",\"name\":\"check_function_bodies\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"sql_ascii\",\"description\":\"Sets the client\u0027s character set encoding.\",\"defaultValue\":\"sql_ascii\",\"dataType\":\"Enumeration\",\"allowedValues\":\"BIG5,EUC_CN,EUC_JP,EUC_JIS_2004,EUC_KR,EUC_TW,GB18030,GBK,ISO_8859_5,ISO_8859_6,ISO_8859_7,ISO_8859_8,JOHAB,KOI8R,KOI8U,LATIN1,LATIN2,LATIN3,LATIN4,LATIN5,LATIN6,LATIN7,LATIN8,LATIN9,LATIN10,MULE_INTERNAL,SJIS,SHIFT_JIS_2004,SQL_ASCII,UHC,UTF8,WIN866,WIN874,WIN1250,WIN1251,WIN1252,WIN1253,WIN1254,WIN1255,WIN1256,WIN1257,WIN1258\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/client_encoding\",\"name\":\"client_encoding\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"notice\",\"description\":\"Sets the message levels that are sent to the client.\",\"defaultValue\":\"notice\",\"dataType\":\"Enumeration\",\"allowedValues\":\"debug5,debug4,debug3,debug2,debug1,log,notice,warning,error\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/client_min_messages\",\"name\":\"client_min_messages\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"partition\",\"description\":\"Enables the planner to use constraints to optimize queries.\",\"defaultValue\":\"partition\",\"dataType\":\"Enumeration\",\"allowedValues\":\"partition,on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/constraint_exclusion\",\"name\":\"constraint_exclusion\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0.005\",\"description\":\"Sets the planner\u0027s estimate of the cost of processing each index entry during an index scan.\",\"defaultValue\":\"0.005\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/cpu_index_tuple_cost\",\"name\":\"cpu_index_tuple_cost\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0.0025\",\"description\":\"Sets the planner\u0027s estimate of the cost of processing each operator or function call.\",\"defaultValue\":\"0.0025\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/cpu_operator_cost\",\"name\":\"cpu_operator_cost\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0.01\",\"description\":\"Sets the planner\u0027s estimate of the cost of processing each tuple (row).\",\"defaultValue\":\"0.01\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/cpu_tuple_cost\",\"name\":\"cpu_tuple_cost\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0.1\",\"description\":\"Sets the planner\u0027s estimate of the fraction of a cursor\u0027s rows that will be retrieved.\",\"defaultValue\":\"0.1\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/cursor_tuple_fraction\",\"name\":\"cursor_tuple_fraction\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"iso, mdy\",\"description\":\"Sets the display format for date and time values.\",\"defaultValue\":\"iso, mdy\",\"dataType\":\"String\",\"allowedValues\":\"(iso|postgres|sql|german)\\\\,\\\\s(dmy|mdy|ymd)\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/datestyle\",\"name\":\"datestyle\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"1000\",\"description\":\"Sets the amount of time, in milliseconds, to wait on a lock before checking for deadlock.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/deadlock_timeout\",\"name\":\"deadlock_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs each query\u0027s execution plan.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/debug_print_plan\",\"name\":\"debug_print_plan\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs each query\u0027s rewritten parse tree.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/debug_print_rewritten\",\"name\":\"debug_print_rewritten\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"Sets the default statistics target.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/default_statistics_target\",\"name\":\"default_statistics_target\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"pg_catalog.english\",\"description\":\"Sets default text search configuration.\",\"defaultValue\":\"pg_catalog.english\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z\\\\._]+\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/default_text_search_config\",\"name\":\"default_text_search_config\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Sets the default deferrable status of new transactions.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/default_transaction_deferrable\",\"name\":\"default_transaction_deferrable\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"read committed\",\"description\":\"Sets the transaction isolation level of each new transaction.\",\"defaultValue\":\"read committed\",\"dataType\":\"Enumeration\",\"allowedValues\":\"serializable,repeatable read,read committed,read uncommitted\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/default_transaction_isolation\",\"name\":\"default_transaction_isolation\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Sets the default read-only status of new transactions.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/default_transaction_read_only\",\"name\":\"default_transaction_read_only\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Create new tables with OIDs by default.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/default_with_oids\",\"name\":\"default_with_oids\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of bitmap-scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/enable_bitmapscan\",\"name\":\"enable_bitmapscan\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of hashed aggregation plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/enable_hashagg\",\"name\":\"enable_hashagg\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of hash join plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/enable_hashjoin\",\"name\":\"enable_hashjoin\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of index-only-scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/enable_indexonlyscan\",\"name\":\"enable_indexonlyscan\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of index-scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/enable_indexscan\",\"name\":\"enable_indexscan\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of materialization.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/enable_material\",\"name\":\"enable_material\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of merge join plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/enable_mergejoin\",\"name\":\"enable_mergejoin\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of nested-loop join plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/enable_nestloop\",\"name\":\"enable_nestloop\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of sequential-scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/enable_seqscan\",\"name\":\"enable_seqscan\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of explicit sort steps.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/enable_sort\",\"name\":\"enable_sort\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of TID scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/enable_tidscan\",\"name\":\"enable_tidscan\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Warn about backslash escapes in ordinary string literals.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/escape_string_warning\",\"name\":\"escape_string_warning\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Terminate session on any error.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/exit_on_error\",\"name\":\"exit_on_error\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the number of digits displayed for floating-point values.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"-15-3\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/extra_float_digits\",\"name\":\"extra_float_digits\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"Sets the FROM-list size beyond which subqueries are not collapsed.\",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/from_collapse_limit\",\"name\":\"from_collapse_limit\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables genetic query optimization.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/geqo\",\"name\":\"geqo\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"5\",\"description\":\"GEQO: effort is used to set the default for other GEQO parameters.\",\"defaultValue\":\"5\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/geqo_effort\",\"name\":\"geqo_effort\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"GEQO: number of iterations of the algorithm.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/geqo_generations\",\"name\":\"geqo_generations\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"GEQO: number of individuals in the population.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/geqo_pool_size\",\"name\":\"geqo_pool_size\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0.0\",\"description\":\"GEQO: seed for random path selection.\",\"defaultValue\":\"0.0\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/geqo_seed\",\"name\":\"geqo_seed\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"2.0\",\"description\":\"GEQO: selective pressure within the population.\",\"defaultValue\":\"2.0\",\"dataType\":\"Numeric\",\"allowedValues\":\"1.5-2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/geqo_selection_bias\",\"name\":\"geqo_selection_bias\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"12\",\"description\":\"Sets the threshold of FROM items beyond which GEQO is used.\",\"defaultValue\":\"12\",\"dataType\":\"Integer\",\"allowedValues\":\"2-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/geqo_threshold\",\"name\":\"geqo_threshold\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum allowed result for exact search by GIN.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/gin_fuzzy_search_limit\",\"name\":\"gin_fuzzy_search_limit\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"postgres\",\"description\":\"Sets the display format for interval values.\",\"defaultValue\":\"postgres\",\"dataType\":\"Enumeration\",\"allowedValues\":\"postgres,postgres_verbose,sql_standard,iso_8601\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/intervalstyle\",\"name\":\"intervalstyle\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"Sets the FROM-list size beyond which JOIN constructs are not flattened.\",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/join_collapse_limit\",\"name\":\"join_collapse_limit\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum allowed duration (in milliseconds) of any wait for a lock. 0 turns this off.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/lock_timeout\",\"name\":\"lock_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Logs each checkpoint.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_checkpoints\",\"name\":\"log_checkpoints\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Logs each successful connection.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_connections\",\"name\":\"log_connections\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs end of a session, including duration.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_disconnections\",\"name\":\"log_disconnections\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs the duration of each completed SQL statement.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_duration\",\"name\":\"log_duration\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"default\",\"description\":\"Sets the verbosity of logged messages.\",\"defaultValue\":\"default\",\"dataType\":\"Enumeration\",\"allowedValues\":\"terse,default,verbose\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_error_verbosity\",\"name\":\"log_error_verbosity\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"%t-%c-\",\"description\":\"Sets the printf-style string that is output at the beginning of each log line.\",\"defaultValue\":\"%t-%c-\",\"dataType\":\"String\",\"allowedValues\":\".*\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_line_prefix\",\"name\":\"log_line_prefix\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs long lock waits.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_lock_waits\",\"name\":\"log_lock_waits\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Sets the minimum execution time (in milliseconds) above which statements will be logged. -1 disables logging statement durations.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_min_duration_statement\",\"name\":\"log_min_duration_statement\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"error\",\"description\":\"Causes all statements generating error at or above this level to be logged.\",\"defaultValue\":\"error\",\"dataType\":\"Enumeration\",\"allowedValues\":\"debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_min_error_statement\",\"name\":\"log_min_error_statement\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"warning\",\"description\":\"Sets the message levels that are logged.\",\"defaultValue\":\"warning\",\"dataType\":\"Enumeration\",\"allowedValues\":\"debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_min_messages\",\"name\":\"log_min_messages\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"none\",\"description\":\"Sets the type of statements logged.\",\"defaultValue\":\"none\",\"dataType\":\"Enumeration\",\"allowedValues\":\"none,ddl,mod,all\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_statement\",\"name\":\"log_statement\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"For each query, writes cumulative performance statistics to the server log.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_statement_stats\",\"name\":\"log_statement_stats\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"Sets the maximum number of locks per transaction. Any change requires restarting the server to take effect. When running a replica server, you must set this parameter to the same or higher value than on the master server.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"10-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/max_locks_per_transaction\",\"name\":\"max_locks_per_transaction\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum number of simultaneously prepared transactions. Any change requires restarting the server to take effect. When running a replica server, you must set this parameter to the same or higher value than on the master server.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-8388607\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/max_prepared_transactions\",\"name\":\"max_prepared_transactions\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"When generating SQL fragments, quote all identifiers.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/quote_all_identifiers\",\"name\":\"quote_all_identifiers\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"4.0\",\"description\":\"Sets the planner\u0027s estimate of the cost of a nonsequentially fetched disk page.\",\"defaultValue\":\"4.0\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/random_page_cost\",\"name\":\"random_page_cost\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"\\\"$user\\\", public\",\"description\":\"Sets the schema search order for names that are not schema-qualified.\",\"defaultValue\":\"\\\"$user\\\", public\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z.\\\"$, ]+\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/search_path\",\"name\":\"search_path\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"1.0\",\"description\":\"Sets the planner\u0027s estimate of the cost of a sequentially fetched disk page.\",\"defaultValue\":\"1.0\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/seq_page_cost\",\"name\":\"seq_page_cost\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Causes subtables to be included by default in various commands.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/sql_inheritance\",\"name\":\"sql_inheritance\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum allowed duration (in milliseconds) of any statement. 0 turns this off.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/statement_timeout\",\"name\":\"statement_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enable synchronized sequential scans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/synchronize_seqscans\",\"name\":\"synchronize_seqscans\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Sets the current transaction\u0027s synchronization level.\",\"defaultValue\":\"on\",\"dataType\":\"Enumeration\",\"allowedValues\":\"local,remote_write,on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/synchronous_commit\",\"name\":\"synchronous_commit\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Treats \\\"expr=NULL\\\" as \\\"expr IS NULL\\\".\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/transform_null_equals\",\"name\":\"transform_null_equals\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"base64\",\"description\":\"Sets how binary values are to be encoded in XML.\",\"defaultValue\":\"base64\",\"dataType\":\"Enumeration\",\"allowedValues\":\"base64,hex\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/xmlbinary\",\"name\":\"xmlbinary\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"content\",\"description\":\"Sets whether XML data in implicit parsing and serialization operations is to be considered as documents or content fragments.\",\"defaultValue\":\"content\",\"dataType\":\"Enumeration\",\"allowedValues\":\"content,document\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/xmloption\",\"name\":\"xmloption\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Forces use of parallel query facilities.\",\"defaultValue\":\"off\",\"dataType\":\"Enumeration\",\"allowedValues\":\"off,on,regress\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/force_parallel_mode\",\"name\":\"force_parallel_mode\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum allowed duration of any idling transaction. Unit is ms.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/idle_in_transaction_session_timeout\",\"name\":\"idle_in_transaction_session_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum number of parallel processes per executor node.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1024\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/max_parallel_workers_per_gather\",\"name\":\"max_parallel_workers_per_gather\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"8388608\",\"description\":\"Sets the minimum size of relations to be considered for parallel scan. Unit is 8kb.\",\"defaultValue\":\"8388608\",\"dataType\":\"Integer\",\"allowedValues\":\"0-715827882\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/min_parallel_relation_size\",\"name\":\"min_parallel_relation_size\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"1000\",\"description\":\"Sets the planner\u0027s estimate of the cost of starting up worker processes for parallel query.\",\"defaultValue\":\"1000\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/parallel_setup_cost\",\"name\":\"parallel_setup_cost\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0.1\",\"description\":\"Sets the planner\u0027s estimate of the cost of passing each tuple (row) from worker to master backend.\",\"defaultValue\":\"0.1\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/parallel_tuple_cost\",\"name\":\"parallel_tuple_cost\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"Sets the amount of memory to be used by internal sort operations and hash tables before writing to temporary disk files. Unit is kb.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-2097151\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/work_mem\",\"name\":\"work_mem\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"8192\",\"description\":\"Sets the maximum number of temporary buffers used by each database session. Unit is 8kb.\",\"defaultValue\":\"8192\",\"dataType\":\"Integer\",\"allowedValues\":\"8192-16384\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/temp_buffers\",\"name\":\"temp_buffers\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables temporary connection throttling per IP for too many invalid password login failures.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/connection_throttling\",\"name\":\"connection_throttling\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"3\",\"description\":\"Sets how many days a log file is saved for.\",\"defaultValue\":\"3\",\"dataType\":\"Integer\",\"allowedValues\":\"1-7\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_retention_days\",\"name\":\"log_retention_days\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"6000\",\"description\":\"Sets the maximum query text length that will be saved; longer queries will be truncated.\",\"defaultValue\":\"6000\",\"dataType\":\"Integer\",\"allowedValues\":\"100-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/pg_qs.max_query_text_length\",\"name\":\"pg_qs.max_query_text_length\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"none\",\"description\":\"Selects which statements are tracked by pg_qs.\",\"defaultValue\":\"none\",\"dataType\":\"Enumeration\",\"allowedValues\":\"all,top,none\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/pg_qs.query_capture_mode\",\"name\":\"pg_qs.query_capture_mode\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"7\",\"description\":\"Sets the retention period window in days for pg_qs - after this time data will be deleted.\",\"defaultValue\":\"7\",\"dataType\":\"Integer\",\"allowedValues\":\"1-30\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/pg_qs.retention_period_in_days\",\"name\":\"pg_qs.retention_period_in_days\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Selects whether parameter placeholders are replaced in parameterized queries.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/pg_qs.replace_parameter_placeholders\",\"name\":\"pg_qs.replace_parameter_placeholders\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Selects whether utility commands are tracked by pg_qs.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/pg_qs.track_utility\",\"name\":\"pg_qs.track_utility\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"top\",\"description\":\"Controls which statements are counted by pg_stat_statements.\",\"defaultValue\":\"top\",\"dataType\":\"Enumeration\",\"allowedValues\":\"top,all,none\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/pg_stat_statements.track\",\"name\":\"pg_stat_statements.track\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"none\",\"description\":\"Selects which statements are tracked by the pgms_wait_sampling extension.\",\"defaultValue\":\"none\",\"dataType\":\"Enumeration\",\"allowedValues\":\"all,none\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/pgms_wait_sampling.query_capture_mode\",\"name\":\"pgms_wait_sampling.query_capture_mode\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"Set the frequency, in milliseconds, at which wait events are sampled.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"1-600000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/pgms_wait_sampling.history_period\",\"name\":\"pgms_wait_sampling.history_period\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"DISABLE_ALL\",\"description\":\"Controls postgis GDAL enabled driver settings.\",\"defaultValue\":\"DISABLE_ALL\",\"dataType\":\"Enumeration\",\"allowedValues\":\"DISABLE_ALL,ENABLE_ALL\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/postgis.gdal_enabled_drivers\",\"name\":\"postgis.gdal_enabled_drivers\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Starts the autovacuum subprocess.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/autovacuum\",\"name\":\"autovacuum\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0.05\",\"description\":\"Number of tuple inserts, updates, or deletes prior to analyze as a fraction of reltuples.\",\"defaultValue\":\"0.05\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_analyze_scale_factor\",\"name\":\"autovacuum_analyze_scale_factor\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"Minimum number of tuple inserts, updates, or deletes prior to analyze.\",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_analyze_threshold\",\"name\":\"autovacuum_analyze_threshold\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"200000000\",\"description\":\"Age at which to autovacuum a table to prevent transaction ID wraparound. Any change requires restarting the server to take effect..\",\"defaultValue\":\"200000000\",\"dataType\":\"Integer\",\"allowedValues\":\"100000-2000000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_freeze_max_age\",\"name\":\"autovacuum_freeze_max_age\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"400000000\",\"description\":\"Multixact age at which to autovacuum a table to prevent multixact wraparound. Any change requires restarting the server to take effect.\",\"defaultValue\":\"400000000\",\"dataType\":\"Integer\",\"allowedValues\":\"10000-2000000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_multixact_freeze_max_age\",\"name\":\"autovacuum_multixact_freeze_max_age\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"15\",\"description\":\"Time to sleep between autovacuum runs. Unit is s.\",\"defaultValue\":\"15\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_naptime\",\"name\":\"autovacuum_naptime\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"20\",\"description\":\"Vacuum cost delay in milliseconds, for autovacuum.\",\"defaultValue\":\"20\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_vacuum_cost_delay\",\"name\":\"autovacuum_vacuum_cost_delay\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Vacuum cost amount available before napping, for autovacuum.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_vacuum_cost_limit\",\"name\":\"autovacuum_vacuum_cost_limit\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0.05\",\"description\":\"Number of tuple updates or deletes prior to vacuum as a fraction of reltuples.\",\"defaultValue\":\"0.05\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_vacuum_scale_factor\",\"name\":\"autovacuum_vacuum_scale_factor\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"Minimum number of tuple updates or deletes prior to vacuum.\",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_vacuum_threshold\",\"name\":\"autovacuum_vacuum_threshold\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Sets the maximum memory to be used by each autovacuum worker process. Unit is kb.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2097151\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_work_mem\",\"name\":\"autovacuum_work_mem\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"3\",\"description\":\"Sets the maximum number of simultaneously running autovacuum worker processes. Any change requires restarting the server to take effect.\",\"defaultValue\":\"3\",\"dataType\":\"Integer\",\"allowedValues\":\"1-262143\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_max_workers\",\"name\":\"autovacuum_max_workers\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Number of pages after which previously performed writes are flushed to disk. Unit is 8kb.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/backend_flush_after\",\"name\":\"backend_flush_after\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"Background writer sleep time between rounds. Unit is ms.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"10-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/bgwriter_delay\",\"name\":\"bgwriter_delay\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"Number of pages after which previously performed writes are flushed to disk. Unit is 8kb.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/bgwriter_flush_after\",\"name\":\"bgwriter_flush_after\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"Background writer maximum number of LRU pages to flush per round.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1073741823\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/bgwriter_lru_maxpages\",\"name\":\"bgwriter_lru_maxpages\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Multiple of the average buffer usage to free per round.\",\"defaultValue\":\"2\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-10\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/bgwriter_lru_multiplier\",\"name\":\"bgwriter_lru_multiplier\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"30\",\"description\":\"Enables warnings if checkpoint segments are filled more frequently than this. Unit is s.\",\"defaultValue\":\"30\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/checkpoint_warning\",\"name\":\"checkpoint_warning\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the delay in microseconds between transaction commit and flushing WAL to disk.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/commit_delay\",\"name\":\"commit_delay\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"5\",\"description\":\"Sets the minimum concurrent open transactions before performing commit_delay.\",\"defaultValue\":\"5\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/commit_siblings\",\"name\":\"commit_siblings\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"1310720\",\"description\":\"Sets the planner\u0027s assumption about the size of the disk cache. Unit is 8kb.\",\"defaultValue\":\"917504\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/effective_cache_size\",\"name\":\"effective_cache_size\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"Sets the maximum size of the pending list for GIN index. Unit is kb.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"64-2097151\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/gin_pending_list_limit\",\"name\":\"gin_pending_list_limit\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"English_United States.1252\",\"description\":\"Sets the locale for formatting monetary amounts.\",\"defaultValue\":\"English_United States.1252\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9\\\\._\\\\s]+\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/lc_monetary\",\"name\":\"lc_monetary\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"English_United States.1252\",\"description\":\"Sets the locale for formatting numbers.\",\"defaultValue\":\"English_United States.1252\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9\\\\._\\\\s]+\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/lc_numeric\",\"name\":\"lc_numeric\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Enables backward compatibility mode for privilege checks on large objects.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/lo_compat_privileges\",\"name\":\"lo_compat_privileges\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Sets the minimum execution time above which autovacuum actions will be logged. Unit is ms.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_autovacuum_min_duration\",\"name\":\"log_autovacuum_min_duration\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs each replication command.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_replication_commands\",\"name\":\"log_replication_commands\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Log the use of temporary files larger than this number of kilobytes.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_temp_files\",\"name\":\"log_temp_files\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"30000\",\"description\":\"Sets the maximum delay before canceling queries when a hot standby server is processing archived WAL data. Unit is ms.\",\"defaultValue\":\"30000\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/max_standby_archive_delay\",\"name\":\"max_standby_archive_delay\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"30000\",\"description\":\"Sets the maximum delay before canceling queries when a hot standby server is processing streamed WAL data. Unit is ms.\",\"defaultValue\":\"30000\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/max_standby_streaming_delay\",\"name\":\"max_standby_streaming_delay\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"Sets the WAL size that triggers a checkpoint. Unit is 16MB.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"2-2097151\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/max_wal_size\",\"name\":\"max_wal_size\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"256\",\"description\":\"Sets the minimum size to shrink the WAL to. Unit is 16MB.\",\"defaultValue\":\"512\",\"dataType\":\"Integer\",\"allowedValues\":\"2-2097151\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/min_wal_size\",\"name\":\"min_wal_size\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Time before a snapshot is too old to read pages changed after the snapshot was taken. Any change requires restarting the server to take effect. Unit is min.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-86400\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/old_snapshot_threshold\",\"name\":\"old_snapshot_threshold\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Emit a warning for constructs that changed meaning since PostgreSQL 9.4.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/operator_precedence_warning\",\"name\":\"operator_precedence_warning\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"5000\",\"description\":\"Sets the maximum number of statements tracked by pg_stat_statements. Any change requires restarting the server to take effect.\",\"defaultValue\":\"5000\",\"dataType\":\"Integer\",\"allowedValues\":\"100-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/pg_stat_statements.max\",\"name\":\"pg_stat_statements.max\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Save pg_stat_statements statistics across server shutdowns.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/pg_stat_statements.save\",\"name\":\"pg_stat_statements.save\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Selects whether utility commands are tracked by pg_stat_statements.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/pg_stat_statements.track_utility\",\"name\":\"pg_stat_statements.track_utility\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"150000\",\"description\":\"Sets the maximum number of tuples to be sorted using replacement selection.\",\"defaultValue\":\"150000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/replacement_sort_tuples\",\"name\":\"replacement_sort_tuples\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enable row security.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/row_security\",\"name\":\"row_security\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"origin\",\"description\":\"Sets the session\u0027s behavior for triggers and rewrite rules.\",\"defaultValue\":\"origin\",\"dataType\":\"Enumeration\",\"allowedValues\":\"origin,replica,local\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/session_replication_role\",\"name\":\"session_replication_role\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Maximum number of TCP keepalive retransmits.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/tcp_keepalives_count\",\"name\":\"tcp_keepalives_count\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Time between issuing TCP keepalives. Unit is s.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/tcp_keepalives_idle\",\"name\":\"tcp_keepalives_idle\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Time between TCP keepalive retransmits. Unit is s.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/tcp_keepalives_interval\",\"name\":\"tcp_keepalives_interval\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Collects information about executing commands.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/track_activities\",\"name\":\"track_activities\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"Sets the size reserved for pg_stat_activity.query, in bytes. Any change requires restarting the server to take effect.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"100-102400\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/track_activity_query_size\",\"name\":\"track_activity_query_size\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Collects transaction commit time. Any change requires restarting the server to take effect.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/track_commit_timestamp\",\"name\":\"track_commit_timestamp\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Collects statistics on database activity.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/track_counts\",\"name\":\"track_counts\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"none\",\"description\":\"Collects function-level statistics on database activity.\",\"defaultValue\":\"none\",\"dataType\":\"Enumeration\",\"allowedValues\":\"none,pl,all\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/track_functions\",\"name\":\"track_functions\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Collects timing statistics for database I/O activity.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/track_io_timing\",\"name\":\"track_io_timing\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"UTC\",\"description\":\"Sets the time zone for displaying and interpreting time stamps\",\"defaultValue\":\"UTC\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9/+-_]+\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/timezone\",\"name\":\"timezone\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Sets which shared libraries are preloaded at server start. Any change requires a restart to take effect.\",\"defaultValue\":\"\",\"dataType\":\"Set\",\"allowedValues\":\",pgaudit,timescaledb\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/shared_preload_libraries\",\"name\":\"shared_preload_libraries\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Vacuum cost delay in milliseconds.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/vacuum_cost_delay\",\"name\":\"vacuum_cost_delay\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"Vacuum cost amount available before napping.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/vacuum_cost_limit\",\"name\":\"vacuum_cost_limit\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"20\",\"description\":\"Vacuum cost for a page dirtied by vacuum.\",\"defaultValue\":\"20\",\"dataType\":\"Integer\",\"allowedValues\":\"0-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/vacuum_cost_page_dirty\",\"name\":\"vacuum_cost_page_dirty\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Vacuum cost for a page found in the buffer cache.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/vacuum_cost_page_hit\",\"name\":\"vacuum_cost_page_hit\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Vacuum cost for a page not found in the buffer cache.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/vacuum_cost_page_miss\",\"name\":\"vacuum_cost_page_miss\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Number of transactions by which VACUUM and HOT cleanup should be deferred, if any.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/vacuum_defer_cleanup_age\",\"name\":\"vacuum_defer_cleanup_age\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"50000000\",\"description\":\"Minimum age at which VACUUM should freeze a table row.\",\"defaultValue\":\"50000000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/vacuum_freeze_min_age\",\"name\":\"vacuum_freeze_min_age\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"150000000\",\"description\":\"Age at which VACUUM should scan whole table to freeze tuples.\",\"defaultValue\":\"150000000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2000000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/vacuum_freeze_table_age\",\"name\":\"vacuum_freeze_table_age\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"5000000\",\"description\":\"Minimum age at which VACUUM should freeze a MultiXactId in a table row.\",\"defaultValue\":\"5000000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/vacuum_multixact_freeze_min_age\",\"name\":\"vacuum_multixact_freeze_min_age\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"150000000\",\"description\":\"Multixact age at which VACUUM should scan whole table to freeze tuples.\",\"defaultValue\":\"150000000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2000000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/vacuum_multixact_freeze_table_age\",\"name\":\"vacuum_multixact_freeze_table_age\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"8192\",\"description\":\"Sets the number of disk-page buffers in shared memory for WAL. Any change requires restarting the server to take effect. Unit is 8kb.\",\"defaultValue\":\"8192\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-262143\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/wal_buffers\",\"name\":\"wal_buffers\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Sets the maximum interval between WAL receiver status reports to the primary. Unit is s.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/wal_receiver_status_interval\",\"name\":\"wal_receiver_status_interval\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"Time between WAL flushes performed in the WAL writer. Unit is ms.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/wal_writer_delay\",\"name\":\"wal_writer_delay\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"128\",\"description\":\"Amount of WAL written out by WAL writer that triggers a flush. Unit is 8kb.\",\"defaultValue\":\"128\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/wal_writer_flush_after\",\"name\":\"wal_writer_flush_after\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"262144\",\"description\":\"Sets the maximum memory to be used for maintenance operations. Unit is kb.\",\"defaultValue\":\"131072\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-2097151\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/maintenance_work_mem\",\"name\":\"maintenance_work_mem\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"REPLICA\",\"description\":\"Sets the level of replication support (Read Replicas). Any change requires restarting the server to take effect.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"OFF,REPLICA,LOGICAL\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/azure.replication_support\",\"name\":\"azure.replication_support\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Specifies the maximum number of concurrent connections from standby servers or streaming base backup clients (i.e., the maximum number of simultaneously running WAL sender processes).\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"10-80\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/max_wal_senders\",\"name\":\"max_wal_senders\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Specifies the maximum number of replication slots that the server can support.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"10-80\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/max_replication_slots\",\"name\":\"max_replication_slots\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Allows feedback from a hot standby to the primary that will avoid query conflicts.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/hot_standby_feedback\",\"name\":\"hot_standby_feedback\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enable .log files. Setting is independent of Azure Monitor logging options. Any change requires restarting the server to take effect.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/logging_collector\",\"name\":\"logging_collector\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"}]}" + "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForPostgreSQL/servers/postgresql-test-100\u0027 under resource group \u0027PostgreSqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" } }, - "Get-AzPostgreSqlConfiguration+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/timezone?api-version=2017-12-01+1": { + "Get-AzPostgreSqlConfiguration+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/timezone?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/timezone?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/timezone?api-version=2017-12-01", "Content": null, "Headers": { - "x-ms-unique-id": [ "11" ], - "x-ms-client-request-id": [ "70ff07d8-839e-469b-85e9-ea1ba9d7c90e" ], + "x-ms-unique-id": [ "2" ], + "x-ms-client-request-id": [ "2644688d-dd5c-48ef-b583-7a678d2fa3be" ], "CommandName": [ "Get-AzPostgreSqlConfiguration" ], "FullCommandName": [ "Get-AzPostgreSqlConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -56,64 +55,24 @@ } }, "Response": { - "StatusCode": 200, + "StatusCode": 404, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "72cedd03-a80e-462a-b8b1-a967e4990458" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], - "x-ms-correlation-request-id": [ "e8f2fabf-2e28-47a9-a2af-b574ec6b77e7" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110110Z:e8f2fabf-2e28-47a9-a2af-b574ec6b77e7" ], + "x-ms-failure-cause": [ "gateway" ], + "x-ms-request-id": [ "702a73cc-373d-4389-90c8-2ee3036472ee" ], + "x-ms-correlation-request-id": [ "702a73cc-373d-4389-90c8-2ee3036472ee" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064007Z:702a73cc-373d-4389-90c8-2ee3036472ee" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 25 Sep 2020 11:01:09 GMT" ] + "Date": [ "Wed, 11 Nov 2020 06:40:07 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "522" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] + "Expires": [ "-1" ], + "Content-Length": [ "239" ] }, - "Content": "{\"properties\":{\"value\":\"UTC\",\"description\":\"Sets the time zone for displaying and interpreting time stamps\",\"defaultValue\":\"UTC\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9/+-_]+\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/timezone\",\"name\":\"timezone\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"}" - } - }, - "Get-AzPostgreSqlConfiguration+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/datestyle?api-version=2017-12-01+1": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/datestyle?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "12" ], - "x-ms-client-request-id": [ "9a82fb22-2db1-40cc-ab51-97fd08430ee4" ], - "CommandName": [ "Get-AzPostgreSqlConfiguration" ], - "FullCommandName": [ "Get-AzPostgreSqlConfiguration_GetViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "b64ccc20-47cc-4a05-a9fa-75c9042661ca" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], - "x-ms-correlation-request-id": [ "9bb72d8a-f998-435e-8ea5-8f04efa8571c" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110111Z:9bb72d8a-f998-435e-8ea5-8f04efa8571c" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 25 Sep 2020 11:01:10 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "549" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"value\":\"iso, mdy\",\"description\":\"Sets the display format for date and time values.\",\"defaultValue\":\"iso, mdy\",\"dataType\":\"String\",\"allowedValues\":\"(iso|postgres|sql|german)\\\\,\\\\s(dmy|mdy|ymd)\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/datestyle\",\"name\":\"datestyle\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"}" + "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForPostgreSQL/servers/postgresql-test-100\u0027 under resource group \u0027PostgreSqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" } } } \ No newline at end of file diff --git a/src/PostgreSql/test/Get-AzPostgreSqlConnectionString.Recording.json b/src/PostgreSql/test/Get-AzPostgreSqlConnectionString.Recording.json index 9219b6591e4c..f403e0b84afb 100644 --- a/src/PostgreSql/test/Get-AzPostgreSqlConnectionString.Recording.json +++ b/src/PostgreSql/test/Get-AzPostgreSqlConnectionString.Recording.json @@ -1,12 +1,12 @@ { - "Get-AzPostgreSqlConnectionString+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+1": { + "Get-AzPostgreSqlConnectionString+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", "Content": null, "Headers": { - "x-ms-unique-id": [ "13" ], - "x-ms-client-request-id": [ "aeecf5a4-b082-4d97-b3dd-d953d474dc9f" ], + "x-ms-unique-id": [ "3" ], + "x-ms-client-request-id": [ "5ccd4feb-af0c-4abf-9cd4-3f9ce603eff3" ], "CommandName": [ "Az.PostgreSql\\Get-AzPostgreSqlServer" ], "FullCommandName": [ "Get-AzPostgreSqlServer_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -17,35 +17,34 @@ } }, "Response": { - "StatusCode": 200, + "StatusCode": 404, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "f4ff429f-6ede-4103-b587-f286b9844404" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], - "x-ms-correlation-request-id": [ "6caf40f6-898d-4383-992c-104948337932" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110114Z:6caf40f6-898d-4383-992c-104948337932" ], + "x-ms-failure-cause": [ "gateway" ], + "x-ms-request-id": [ "fc89cf2e-fae5-4e97-9f20-39411976a0da" ], + "x-ms-correlation-request-id": [ "fc89cf2e-fae5-4e97-9f20-39411976a0da" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064008Z:fc89cf2e-fae5-4e97-9f20-39411976a0da" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 25 Sep 2020 11:01:13 GMT" ] + "Date": [ "Wed, 11 Nov 2020 06:40:07 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "943" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] + "Expires": [ "-1" ], + "Content-Length": [ "239" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" + "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForPostgreSQL/servers/postgresql-test-100\u0027 under resource group \u0027PostgreSqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" } }, - "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+1": { + "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", "Content": null, "Headers": { - "x-ms-unique-id": [ "14" ], - "x-ms-client-request-id": [ "087903b0-4ce0-45aa-9f3f-b0f823e440e2" ], + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "4997414e-b69c-4880-a939-ffb22d9ab67c" ], "CommandName": [ "Get-AzPostgreSqlServer" ], "FullCommandName": [ "Get-AzPostgreSqlServer_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -56,337 +55,24 @@ } }, "Response": { - "StatusCode": 200, + "StatusCode": 404, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "19432faf-8ce4-4154-8e99-82646e1e95b3" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], - "x-ms-correlation-request-id": [ "006d30b8-e622-4219-9773-689bbda45fa7" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110114Z:006d30b8-e622-4219-9773-689bbda45fa7" ], + "x-ms-failure-cause": [ "gateway" ], + "x-ms-request-id": [ "a8b8ddc9-5151-451e-934a-6bc57e27cb6c" ], + "x-ms-correlation-request-id": [ "a8b8ddc9-5151-451e-934a-6bc57e27cb6c" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064008Z:a8b8ddc9-5151-451e-934a-6bc57e27cb6c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 25 Sep 2020 11:01:13 GMT" ] + "Date": [ "Wed, 11 Nov 2020 06:40:07 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "943" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] + "Expires": [ "-1" ], + "Content-Length": [ "239" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" - } - }, - "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "15" ], - "x-ms-client-request-id": [ "4710aec3-e03a-4fcc-bcdb-a2ad3620784e" ], - "CommandName": [ "Az.PostgreSql\\Get-AzPostgreSqlServer" ], - "FullCommandName": [ "Get-AzPostgreSqlServer_GetViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "1aab44dc-b997-464f-8b1c-ccc32ed09452" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], - "x-ms-correlation-request-id": [ "05e645e8-d6fe-4f05-a382-16dc3d07d245" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110115Z:05e645e8-d6fe-4f05-a382-16dc3d07d245" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 25 Sep 2020 11:01:14 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "943" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" - } - }, - "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "16" ], - "x-ms-client-request-id": [ "2574b9fa-5a3b-4f72-bda9-2f441acd1e3a" ], - "CommandName": [ "Az.PostgreSql\\Get-AzPostgreSqlServer" ], - "FullCommandName": [ "Get-AzPostgreSqlServer_GetViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "72ddcb84-67a5-4159-8522-5b1d323b6e09" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], - "x-ms-correlation-request-id": [ "8d3fe57a-f754-42dd-837d-597b8a4f4d1e" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110115Z:8d3fe57a-f754-42dd-837d-597b8a4f4d1e" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 25 Sep 2020 11:01:14 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "943" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" - } - }, - "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+4": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "17" ], - "x-ms-client-request-id": [ "afd7d341-4d38-48e7-b65c-1df2b2cd9fca" ], - "CommandName": [ "Az.PostgreSql\\Get-AzPostgreSqlServer" ], - "FullCommandName": [ "Get-AzPostgreSqlServer_GetViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "2642996a-7f94-4171-8f21-f2a35c181fb3" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], - "x-ms-correlation-request-id": [ "8fb360e8-73d4-4196-b186-97bc471c1580" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110116Z:8fb360e8-73d4-4196-b186-97bc471c1580" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 25 Sep 2020 11:01:15 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "943" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" - } - }, - "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+5": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "18" ], - "x-ms-client-request-id": [ "b6bdde58-1e23-401e-ae25-ea0aa98e338d" ], - "CommandName": [ "Az.PostgreSql\\Get-AzPostgreSqlServer" ], - "FullCommandName": [ "Get-AzPostgreSqlServer_GetViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "f90f0a27-e933-4d15-b04b-618818ef790d" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], - "x-ms-correlation-request-id": [ "77d142de-3518-4498-aa8b-cd19b163123a" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110116Z:77d142de-3518-4498-aa8b-cd19b163123a" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 25 Sep 2020 11:01:15 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "943" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" - } - }, - "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "19" ], - "x-ms-client-request-id": [ "03e71709-f0b2-435c-ba43-638e54f4d173" ], - "CommandName": [ "Az.PostgreSql\\Get-AzPostgreSqlServer" ], - "FullCommandName": [ "Get-AzPostgreSqlServer_GetViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "b35c10ad-00f4-486a-abe3-92f9bc041bf5" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], - "x-ms-correlation-request-id": [ "cf606755-8286-4309-b887-69cf7731bdfd" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110116Z:cf606755-8286-4309-b887-69cf7731bdfd" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 25 Sep 2020 11:01:15 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "943" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" - } - }, - "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+7": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "20" ], - "x-ms-client-request-id": [ "d7b4cc04-471b-4970-9382-dc08bfee86bb" ], - "CommandName": [ "Az.PostgreSql\\Get-AzPostgreSqlServer" ], - "FullCommandName": [ "Get-AzPostgreSqlServer_GetViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "01eb9f1f-e787-4bb4-9410-1b1650acb434" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], - "x-ms-correlation-request-id": [ "9b0d218c-8fa3-4b73-b40d-9a0bd03286f8" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110117Z:9b0d218c-8fa3-4b73-b40d-9a0bd03286f8" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 25 Sep 2020 11:01:16 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "943" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" - } - }, - "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+8": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "21" ], - "x-ms-client-request-id": [ "cdee4ae1-d1a7-48a4-9122-8b8235cf0d86" ], - "CommandName": [ "Az.PostgreSql\\Get-AzPostgreSqlServer" ], - "FullCommandName": [ "Get-AzPostgreSqlServer_GetViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "9a507ba2-0d52-4169-be3e-3c7ea6dbfefd" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], - "x-ms-correlation-request-id": [ "f95b0583-8443-4ec2-86cc-3b8b5dabd540" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110117Z:f95b0583-8443-4ec2-86cc-3b8b5dabd540" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 25 Sep 2020 11:01:16 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "943" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" - } - }, - "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+9": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "22" ], - "x-ms-client-request-id": [ "42ab38b1-17ad-4c12-8958-0ae798193d8c" ], - "CommandName": [ "Az.PostgreSql\\Get-AzPostgreSqlServer" ], - "FullCommandName": [ "Get-AzPostgreSqlServer_GetViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "03fef9be-bd20-4a0b-8ce1-f5b81557c964" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11980" ], - "x-ms-correlation-request-id": [ "4c3e293d-9bd1-4d52-81f7-68159b3b491f" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110117Z:4c3e293d-9bd1-4d52-81f7-68159b3b491f" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 25 Sep 2020 11:01:16 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "943" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" + "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForPostgreSQL/servers/postgresql-test-100\u0027 under resource group \u0027PostgreSqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" } } } \ No newline at end of file diff --git a/src/PostgreSql/test/Get-AzPostgreSqlFirewallRule.Recording.json b/src/PostgreSql/test/Get-AzPostgreSqlFirewallRule.Recording.json index fc091ab185c4..e3cddc8d4746 100644 --- a/src/PostgreSql/test/Get-AzPostgreSqlFirewallRule.Recording.json +++ b/src/PostgreSql/test/Get-AzPostgreSqlFirewallRule.Recording.json @@ -1,8 +1,8 @@ { - "Get-AzPostgreSqlFirewallRule+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+1": { + "Get-AzPostgreSqlFirewallRule+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -12,272 +12,30 @@ } }, "Response": { - "StatusCode": 202, + "StatusCode": 404, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/22171d36-1cc1-4752-9c43-a828b1e8ba6e?api-version=2017-12-01" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/22171d36-1cc1-4752-9c43-a828b1e8ba6e?api-version=2017-12-01" ], - "x-ms-request-id": [ "22171d36-1cc1-4752-9c43-a828b1e8ba6e" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], - "x-ms-correlation-request-id": [ "6d749a7c-8c15-4019-96d7-3f9d999d263a" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110119Z:6d749a7c-8c15-4019-96d7-3f9d999d263a" ], + "x-ms-failure-cause": [ "gateway" ], + "x-ms-request-id": [ "2508d63b-2ebf-482a-a69b-c55e81e11b06" ], + "x-ms-correlation-request-id": [ "2508d63b-2ebf-482a-a69b-c55e81e11b06" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064009Z:2508d63b-2ebf-482a-a69b-c55e81e11b06" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 25 Sep 2020 11:01:18 GMT" ] + "Date": [ "Wed, 11 Nov 2020 06:40:08 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "86" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-09-25T11:01:18.51Z\"}" - } - }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/22171d36-1cc1-4752-9c43-a828b1e8ba6e?api-version=2017-12-01+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/22171d36-1cc1-4752-9c43-a828b1e8ba6e?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "23", "24" ], - "x-ms-client-request-id": [ "fb13f9a4-99b1-4e08-99a1-8a67f59c6d69", "fb13f9a4-99b1-4e08-99a1-8a67f59c6d69" ], - "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFirewallRule", "Az.PostgreSql.internal\\New-AzPostgreSqlFirewallRule" ], - "FullCommandName": [ "New-AzPostgreSqlFirewallRule_CreateExpanded", "New-AzPostgreSqlFirewallRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "39d9d2bb-701e-4631-99c1-717b947c6670" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11979" ], - "x-ms-correlation-request-id": [ "b030abcf-1c63-4311-bd15-7315cdad9e31" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110135Z:b030abcf-1c63-4311-bd15-7315cdad9e31" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 25 Sep 2020 11:01:35 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "106" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"22171d36-1cc1-4752-9c43-a828b1e8ba6e\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:01:18.51Z\"}" - } - }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "23", "24", "25" ], - "x-ms-client-request-id": [ "fb13f9a4-99b1-4e08-99a1-8a67f59c6d69", "fb13f9a4-99b1-4e08-99a1-8a67f59c6d69", "fb13f9a4-99b1-4e08-99a1-8a67f59c6d69" ], - "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFirewallRule", "Az.PostgreSql.internal\\New-AzPostgreSqlFirewallRule", "Az.PostgreSql.internal\\New-AzPostgreSqlFirewallRule" ], - "FullCommandName": [ "New-AzPostgreSqlFirewallRule_CreateExpanded", "New-AzPostgreSqlFirewallRule_CreateExpanded", "New-AzPostgreSqlFirewallRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "80b1acf9-e4f6-4426-bfc3-acb832c255de" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11978" ], - "x-ms-correlation-request-id": [ "54f52bbe-fe1b-4d02-8c2c-60c28109a145" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110135Z:54f52bbe-fe1b-4d02-8c2c-60c28109a145" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 25 Sep 2020 11:01:35 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "335" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/servers/firewallRules\"}" - } - }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules?api-version=2017-12-01+4": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "26" ], - "x-ms-client-request-id": [ "cd7abb5c-f05b-49af-8e84-9a74072e1394" ], - "CommandName": [ "Get-AzPostgreSqlFirewallRule" ], - "FullCommandName": [ "Get-AzPostgreSqlFirewallRule_List" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "14e8b092-a4ff-4e22-b786-9bb12bded50e" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11977" ], - "x-ms-correlation-request-id": [ "e7aa5b61-9aef-472b-a9c1-d20ad0c76d08" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110136Z:e7aa5b61-9aef-472b-a9c1-d20ad0c76d08" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 25 Sep 2020 11:01:36 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "347" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"value\":[{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/servers/firewallRules\"}]}" - } - }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+List+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+5": { - "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "27" ], - "x-ms-client-request-id": [ "133dd9ad-a56a-40d5-9cea-9e7d9dd924f2" ], - "CommandName": [ "Remove-AzPostgreSqlFirewallRule" ], - "FullCommandName": [ "Remove-AzPostgreSqlFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/9878a831-b877-4905-962a-868d0f84bb74?api-version=2017-12-01" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/9878a831-b877-4905-962a-868d0f84bb74?api-version=2017-12-01" ], - "x-ms-request-id": [ "9878a831-b877-4905-962a-868d0f84bb74" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], - "x-ms-correlation-request-id": [ "f97b666b-736c-463e-96cc-267f8f4ff0eb" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110137Z:f97b666b-736c-463e-96cc-267f8f4ff0eb" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 25 Sep 2020 11:01:37 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "84" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-09-25T11:01:36.557Z\"}" - } - }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/9878a831-b877-4905-962a-868d0f84bb74?api-version=2017-12-01+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/9878a831-b877-4905-962a-868d0f84bb74?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "27", "28" ], - "x-ms-client-request-id": [ "133dd9ad-a56a-40d5-9cea-9e7d9dd924f2", "133dd9ad-a56a-40d5-9cea-9e7d9dd924f2" ], - "CommandName": [ "Remove-AzPostgreSqlFirewallRule", "Remove-AzPostgreSqlFirewallRule" ], - "FullCommandName": [ "Remove-AzPostgreSqlFirewallRule_Delete", "Remove-AzPostgreSqlFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "5dec14a1-62da-4139-9736-883f1b7b6c49" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11976" ], - "x-ms-correlation-request-id": [ "9924a76f-4dac-4c92-a84b-d2bb0f7ba0ed" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110153Z:9924a76f-4dac-4c92-a84b-d2bb0f7ba0ed" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 25 Sep 2020 11:01:52 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"9878a831-b877-4905-962a-868d0f84bb74\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:01:36.557Z\"}" - } - }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/9878a831-b877-4905-962a-868d0f84bb74?api-version=2017-12-01+7": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/9878a831-b877-4905-962a-868d0f84bb74?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "27", "28", "29" ], - "x-ms-client-request-id": [ "133dd9ad-a56a-40d5-9cea-9e7d9dd924f2", "133dd9ad-a56a-40d5-9cea-9e7d9dd924f2", "133dd9ad-a56a-40d5-9cea-9e7d9dd924f2" ], - "CommandName": [ "Remove-AzPostgreSqlFirewallRule", "Remove-AzPostgreSqlFirewallRule", "Remove-AzPostgreSqlFirewallRule" ], - "FullCommandName": [ "Remove-AzPostgreSqlFirewallRule_Delete", "Remove-AzPostgreSqlFirewallRule_Delete", "Remove-AzPostgreSqlFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "432bf9bf-5663-49cb-9769-1e4d37b04646" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11975" ], - "x-ms-correlation-request-id": [ "2d9c40b2-2abb-4c5e-adf0-5fd3ede36c32" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110153Z:2d9c40b2-2abb-4c5e-adf0-5fd3ede36c32" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 25 Sep 2020 11:01:53 GMT" ] - }, - "ContentHeaders": { "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "239" ] }, - "Content": null + "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForPostgreSQL/servers/postgresql-test-100\u0027 under resource group \u0027PostgreSqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" } }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+Get+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+1": { + "Get-AzPostgreSqlFirewallRule+[NoContext]+Get+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -287,272 +45,30 @@ } }, "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/f1bf892f-485f-464b-8c83-09c81ea4ed2b?api-version=2017-12-01" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f1bf892f-485f-464b-8c83-09c81ea4ed2b?api-version=2017-12-01" ], - "x-ms-request-id": [ "f1bf892f-485f-464b-8c83-09c81ea4ed2b" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], - "x-ms-correlation-request-id": [ "0a6b0b51-67dd-4c4d-a8ed-bb2f6e87a6c1" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110155Z:0a6b0b51-67dd-4c4d-a8ed-bb2f6e87a6c1" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 25 Sep 2020 11:01:54 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "87" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-09-25T11:01:53.947Z\"}" - } - }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f1bf892f-485f-464b-8c83-09c81ea4ed2b?api-version=2017-12-01+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f1bf892f-485f-464b-8c83-09c81ea4ed2b?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "30", "31" ], - "x-ms-client-request-id": [ "9e22df38-7bc2-4768-a322-93e9f2a898c3", "9e22df38-7bc2-4768-a322-93e9f2a898c3" ], - "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFirewallRule", "Az.PostgreSql.internal\\New-AzPostgreSqlFirewallRule" ], - "FullCommandName": [ "New-AzPostgreSqlFirewallRule_CreateExpanded", "New-AzPostgreSqlFirewallRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "ec33c4a5-cac8-4aa8-8122-1e06ab4aba67" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11974" ], - "x-ms-correlation-request-id": [ "51e10d64-7392-453a-aeed-35584015e0ed" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110210Z:51e10d64-7392-453a-aeed-35584015e0ed" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 25 Sep 2020 11:02:10 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"f1bf892f-485f-464b-8c83-09c81ea4ed2b\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:01:53.947Z\"}" - } - }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "30", "31", "32" ], - "x-ms-client-request-id": [ "9e22df38-7bc2-4768-a322-93e9f2a898c3", "9e22df38-7bc2-4768-a322-93e9f2a898c3", "9e22df38-7bc2-4768-a322-93e9f2a898c3" ], - "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFirewallRule", "Az.PostgreSql.internal\\New-AzPostgreSqlFirewallRule", "Az.PostgreSql.internal\\New-AzPostgreSqlFirewallRule" ], - "FullCommandName": [ "New-AzPostgreSqlFirewallRule_CreateExpanded", "New-AzPostgreSqlFirewallRule_CreateExpanded", "New-AzPostgreSqlFirewallRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "dba6242c-5d17-470a-a997-52cadc204ebd" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11973" ], - "x-ms-correlation-request-id": [ "e2e334f8-5dff-43b4-80da-c4f39039f024" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110210Z:e2e334f8-5dff-43b4-80da-c4f39039f024" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 25 Sep 2020 11:02:10 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "335" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/servers/firewallRules\"}" - } - }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+4": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "33" ], - "x-ms-client-request-id": [ "0cd14c07-3cfc-4d59-aa17-c8f5d4599543" ], - "CommandName": [ "Get-AzPostgreSqlFirewallRule" ], - "FullCommandName": [ "Get-AzPostgreSqlFirewallRule_Get" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, + "StatusCode": 404, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "e02e2746-9832-4e9e-a041-c5e67299fefd" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11972" ], - "x-ms-correlation-request-id": [ "56c9dd4c-7e3f-462b-a351-fccbc52ee11d" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110211Z:56c9dd4c-7e3f-462b-a351-fccbc52ee11d" ], + "x-ms-failure-cause": [ "gateway" ], + "x-ms-request-id": [ "937d76df-3d2a-4c19-b07f-1a1b1942b350" ], + "x-ms-correlation-request-id": [ "937d76df-3d2a-4c19-b07f-1a1b1942b350" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064009Z:937d76df-3d2a-4c19-b07f-1a1b1942b350" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 25 Sep 2020 11:02:11 GMT" ] + "Date": [ "Wed, 11 Nov 2020 06:40:08 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "335" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/servers/firewallRules\"}" - } - }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+Get+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+5": { - "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "34" ], - "x-ms-client-request-id": [ "32112020-e14f-4249-a4ba-b82a0dd1d23b" ], - "CommandName": [ "Remove-AzPostgreSqlFirewallRule" ], - "FullCommandName": [ "Remove-AzPostgreSqlFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/c7ee4fd9-05a1-486e-8ca1-ecdbb6fac9b0?api-version=2017-12-01" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c7ee4fd9-05a1-486e-8ca1-ecdbb6fac9b0?api-version=2017-12-01" ], - "x-ms-request-id": [ "c7ee4fd9-05a1-486e-8ca1-ecdbb6fac9b0" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14998" ], - "x-ms-correlation-request-id": [ "fedd5d84-8e1c-4a29-a4c5-33ae730c17bf" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110212Z:fedd5d84-8e1c-4a29-a4c5-33ae730c17bf" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 25 Sep 2020 11:02:12 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "83" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-09-25T11:02:11.76Z\"}" - } - }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c7ee4fd9-05a1-486e-8ca1-ecdbb6fac9b0?api-version=2017-12-01+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c7ee4fd9-05a1-486e-8ca1-ecdbb6fac9b0?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "34", "35" ], - "x-ms-client-request-id": [ "32112020-e14f-4249-a4ba-b82a0dd1d23b", "32112020-e14f-4249-a4ba-b82a0dd1d23b" ], - "CommandName": [ "Remove-AzPostgreSqlFirewallRule", "Remove-AzPostgreSqlFirewallRule" ], - "FullCommandName": [ "Remove-AzPostgreSqlFirewallRule_Delete", "Remove-AzPostgreSqlFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "41ea201f-a236-4383-b58a-3a41941fff8b" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11971" ], - "x-ms-correlation-request-id": [ "054b630b-ba58-4349-9ae2-daa3756b25e2" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110228Z:054b630b-ba58-4349-9ae2-daa3756b25e2" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 25 Sep 2020 11:02:27 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "106" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"c7ee4fd9-05a1-486e-8ca1-ecdbb6fac9b0\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:02:11.76Z\"}" - } - }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/c7ee4fd9-05a1-486e-8ca1-ecdbb6fac9b0?api-version=2017-12-01+7": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/c7ee4fd9-05a1-486e-8ca1-ecdbb6fac9b0?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "34", "35", "36" ], - "x-ms-client-request-id": [ "32112020-e14f-4249-a4ba-b82a0dd1d23b", "32112020-e14f-4249-a4ba-b82a0dd1d23b", "32112020-e14f-4249-a4ba-b82a0dd1d23b" ], - "CommandName": [ "Remove-AzPostgreSqlFirewallRule", "Remove-AzPostgreSqlFirewallRule", "Remove-AzPostgreSqlFirewallRule" ], - "FullCommandName": [ "Remove-AzPostgreSqlFirewallRule_Delete", "Remove-AzPostgreSqlFirewallRule_Delete", "Remove-AzPostgreSqlFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "d6114e24-112a-4f06-83df-6d47ec8a4ee7" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11970" ], - "x-ms-correlation-request-id": [ "4a7e6fb9-6be6-4b0d-987c-0e1f338e4894" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110228Z:4a7e6fb9-6be6-4b0d-987c-0e1f338e4894" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 25 Sep 2020 11:02:28 GMT" ] - }, - "ContentHeaders": { "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "239" ] }, - "Content": null + "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForPostgreSQL/servers/postgresql-test-100\u0027 under resource group \u0027PostgreSqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" } }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+GetViaIdentity+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+1": { + "Get-AzPostgreSqlFirewallRule+[NoContext]+GetViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -562,266 +78,24 @@ } }, "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/a188ec6d-f2ee-44c7-978f-4767bb7b695b?api-version=2017-12-01" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a188ec6d-f2ee-44c7-978f-4767bb7b695b?api-version=2017-12-01" ], - "x-ms-request-id": [ "a188ec6d-f2ee-44c7-978f-4767bb7b695b" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1194" ], - "x-ms-correlation-request-id": [ "ba29f663-9e1e-429b-9a60-94a769242af2" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110231Z:ba29f663-9e1e-429b-9a60-94a769242af2" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 25 Sep 2020 11:02:30 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "87" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-09-25T11:02:29.227Z\"}" - } - }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a188ec6d-f2ee-44c7-978f-4767bb7b695b?api-version=2017-12-01+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a188ec6d-f2ee-44c7-978f-4767bb7b695b?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "37", "38" ], - "x-ms-client-request-id": [ "1dfd6303-bf0d-44a0-b910-9d6fc692b283", "1dfd6303-bf0d-44a0-b910-9d6fc692b283" ], - "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFirewallRule", "Az.PostgreSql.internal\\New-AzPostgreSqlFirewallRule" ], - "FullCommandName": [ "New-AzPostgreSqlFirewallRule_CreateExpanded", "New-AzPostgreSqlFirewallRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "3732c600-edc7-4f86-a72e-f5a6e210796b" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11969" ], - "x-ms-correlation-request-id": [ "04adb532-641e-4942-8801-80d8b9cdc48a" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110246Z:04adb532-641e-4942-8801-80d8b9cdc48a" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 25 Sep 2020 11:02:46 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"a188ec6d-f2ee-44c7-978f-4767bb7b695b\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:02:29.227Z\"}" - } - }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "37", "38", "39" ], - "x-ms-client-request-id": [ "1dfd6303-bf0d-44a0-b910-9d6fc692b283", "1dfd6303-bf0d-44a0-b910-9d6fc692b283", "1dfd6303-bf0d-44a0-b910-9d6fc692b283" ], - "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFirewallRule", "Az.PostgreSql.internal\\New-AzPostgreSqlFirewallRule", "Az.PostgreSql.internal\\New-AzPostgreSqlFirewallRule" ], - "FullCommandName": [ "New-AzPostgreSqlFirewallRule_CreateExpanded", "New-AzPostgreSqlFirewallRule_CreateExpanded", "New-AzPostgreSqlFirewallRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "8cac988b-cafc-47d8-9ddd-2de991112855" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11968" ], - "x-ms-correlation-request-id": [ "fda4a69f-1bbc-444e-9a1a-4a7ccc0269e5" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110247Z:fda4a69f-1bbc-444e-9a1a-4a7ccc0269e5" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 25 Sep 2020 11:02:46 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "335" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/servers/firewallRules\"}" - } - }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+4": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "40" ], - "x-ms-client-request-id": [ "cd73505b-1c1e-401a-84ed-9bf515b8a9a6" ], - "CommandName": [ "Get-AzPostgreSqlFirewallRule" ], - "FullCommandName": [ "Get-AzPostgreSqlFirewallRule_GetViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "f10baad8-937d-4831-bb9d-01a94887a421" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11967" ], - "x-ms-correlation-request-id": [ "179a511a-9a94-4cea-b91e-f3adc417d300" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110247Z:179a511a-9a94-4cea-b91e-f3adc417d300" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 25 Sep 2020 11:02:47 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "335" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/servers/firewallRules\"}" - } - }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+GetViaIdentity+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+5": { - "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "41" ], - "x-ms-client-request-id": [ "c171bf61-72b8-4ff8-a55b-0409fa701afc" ], - "CommandName": [ "Remove-AzPostgreSqlFirewallRule" ], - "FullCommandName": [ "Remove-AzPostgreSqlFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/f62f351e-3685-475e-8d98-9f7c68fb3c83?api-version=2017-12-01" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f62f351e-3685-475e-8d98-9f7c68fb3c83?api-version=2017-12-01" ], - "x-ms-request-id": [ "f62f351e-3685-475e-8d98-9f7c68fb3c83" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14997" ], - "x-ms-correlation-request-id": [ "c235f970-94c3-43eb-b7df-0854ef93d5e4" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110249Z:c235f970-94c3-43eb-b7df-0854ef93d5e4" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 25 Sep 2020 11:02:48 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "84" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-09-25T11:02:48.087Z\"}" - } - }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f62f351e-3685-475e-8d98-9f7c68fb3c83?api-version=2017-12-01+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f62f351e-3685-475e-8d98-9f7c68fb3c83?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "41", "42" ], - "x-ms-client-request-id": [ "c171bf61-72b8-4ff8-a55b-0409fa701afc", "c171bf61-72b8-4ff8-a55b-0409fa701afc" ], - "CommandName": [ "Remove-AzPostgreSqlFirewallRule", "Remove-AzPostgreSqlFirewallRule" ], - "FullCommandName": [ "Remove-AzPostgreSqlFirewallRule_Delete", "Remove-AzPostgreSqlFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, + "StatusCode": 404, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "x-ms-request-id": [ "49e2cca0-c5c2-4c50-8026-13cb4fc9e5c2" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11966" ], - "x-ms-correlation-request-id": [ "ebbe53aa-9e96-4cd4-8461-f44adf41f488" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110304Z:ebbe53aa-9e96-4cd4-8461-f44adf41f488" ], + "x-ms-failure-cause": [ "gateway" ], + "x-ms-request-id": [ "790c69d0-0b3e-42a5-8b37-4d84ad154af4" ], + "x-ms-correlation-request-id": [ "790c69d0-0b3e-42a5-8b37-4d84ad154af4" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064009Z:790c69d0-0b3e-42a5-8b37-4d84ad154af4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 25 Sep 2020 11:03:03 GMT" ] + "Date": [ "Wed, 11 Nov 2020 06:40:09 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "107" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"f62f351e-3685-475e-8d98-9f7c68fb3c83\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:02:48.087Z\"}" - } - }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/f62f351e-3685-475e-8d98-9f7c68fb3c83?api-version=2017-12-01+7": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/f62f351e-3685-475e-8d98-9f7c68fb3c83?api-version=2017-12-01", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "41", "42", "43" ], - "x-ms-client-request-id": [ "c171bf61-72b8-4ff8-a55b-0409fa701afc", "c171bf61-72b8-4ff8-a55b-0409fa701afc", "c171bf61-72b8-4ff8-a55b-0409fa701afc" ], - "CommandName": [ "Remove-AzPostgreSqlFirewallRule", "Remove-AzPostgreSqlFirewallRule", "Remove-AzPostgreSqlFirewallRule" ], - "FullCommandName": [ "Remove-AzPostgreSqlFirewallRule_Delete", "Remove-AzPostgreSqlFirewallRule_Delete", "Remove-AzPostgreSqlFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "9f54800b-ab46-418c-968b-17a94bc758ea" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11965" ], - "x-ms-correlation-request-id": [ "fb22b042-1f96-432b-9710-8a5c93a4ffea" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110304Z:fb22b042-1f96-432b-9710-8a5c93a4ffea" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 25 Sep 2020 11:03:03 GMT" ] - }, - "ContentHeaders": { "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "239" ] }, - "Content": null + "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForPostgreSQL/servers/postgresql-test-100\u0027 under resource group \u0027PostgreSqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" } } } \ No newline at end of file diff --git a/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServer.Recording.json b/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServer.Recording.json new file mode 100644 index 000000000000..a88a7aca806b --- /dev/null +++ b/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServer.Recording.json @@ -0,0 +1,158 @@ +{ + "Get-AzPostgreSqlFlexibleServer+[NoContext]+List1+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSql/flexibleServers?api-version=2020-02-14-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSql/flexibleServers?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1" ], + "x-ms-client-request-id": [ "8ab2e06a-305a-4bda-84a0-ca31e14e2123" ], + "CommandName": [ "Get-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Get-AzPostgreSqlFlexibleServer_List1" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-original-request-ids": [ "b2ef7e4c-26e6-45c5-bd2e-c81afc4cde73", "680ffd8d-eb79-49f2-b792-098770b1fce8", "5f30f162-32f3-4de6-8639-7811306c6956", "cd11994a-46b4-4ce0-88c8-127997d9b842", "bd319d93-04bc-4b1f-a92b-e494ad594155" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-request-id": [ "d069dc68-48d1-48c7-b8c0-db5b67f52f9e" ], + "x-ms-correlation-request-id": [ "d069dc68-48d1-48c7-b8c0-db5b67f52f9e" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064234Z:d069dc68-48d1-48c7-b8c0-db5b67f52f9e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Wed, 11 Nov 2020 06:42:34 GMT" ] + }, + "ContentHeaders": { + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ], + "Content-Length": [ "45669" ] + }, + "Content": "{\"value\":[{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelian-prod-t0003-u03.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":65536,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-06T14:39:22.905245+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian-prod-t0003/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelian-prod-t0003-u03\",\"name\":\"chelian-prod-t0003-u03\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelian-prod-t0003-u04.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":524288,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-06T15:00:57.2564366+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group0064522515/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelian-prod-t0003-u04\",\"name\":\"chelian-prod-t0003-u04\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelian-prod-t0003-u05.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":524288,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-06T14:50:34.3693353+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian-prod-t0003/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelian-prod-t0003-u05\",\"name\":\"chelian-prod-t0003-u05\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_E2s_v3\",\"tier\":\"MemoryOptimized\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelian-prod-t0004-u03.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-07T04:19:57.3684699+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian-prod-t0004/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelian-prod-t0004-u03-ouji\",\"name\":\"chelian-prod-t0004-u03\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_E2s_v3\",\"tier\":\"MemoryOptimized\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-07T14:05:38.7071496+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian-prod-t0004/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelian-prod-t0004-u03-pitr\",\"name\":\"chelian-prod-t0004-u03-pitr\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_E2s_v3\",\"tier\":\"MemoryOptimized\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelian-prod-t0004-u04.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":1048576,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-06T15:07:08.8962707+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian-prod-t0004/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelian-prod-t0004-u04\",\"name\":\"chelian-prod-t0004-u04\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_E2s_v3\",\"tier\":\"MemoryOptimized\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelian-prod-t0004-u05.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":1048576,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-07T04:26:49.8990926+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian-prod-t0004/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelian-prod-t0004-u05-uwip\",\"name\":\"chelian-prod-t0004-u05\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D4s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":4},\"properties\":{\"fullyQualifiedDomainName\":\"huihvnetjae09212033fspg.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/huihvnetjae09212033/providers/Microsoft.Network/virtualNetworks/huihvnetjae09212033-vnet/subnets/huihvnetjae09212033-vnet-subnet\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"storageProfile\":{\"storageMB\":2097152,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:33.9971107+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/huihvnetjae09212033/providers/Microsoft.DBforPostgreSQL/flexibleServers/huihvnetjae09212033fspg\",\"name\":\"huihvnetjae09212033fspg\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"pg-test233.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:33.9971107+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/zhjtest/providers/Microsoft.DBforPostgreSQL/flexibleServers/pg-test233\",\"name\":\"pg-test233\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"daeun-powershell-pgserver.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"daeunyim\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":12},\"earliestRestoreDate\":\"2020-11-07T22:29:47.8237558+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/daeun-powershell-postgresql/providers/Microsoft.DBforPostgreSQL/flexibleServers/daeun-powershell-pgserver\",\"name\":\"daeun-powershell-pgserver\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B2s\",\"tier\":\"Burstable\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"kalyans-flex1.postgres.database.azure.com\",\"version\":\"11\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"pguser\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":32768,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.4201278+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/KalyanSRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/kalyans-flex1\",\"name\":\"kalyans-flex1\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"mjtest-cli.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"lovingGnat8\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-05T19:25:08.0949758+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/moljain-flexserver/providers/Microsoft.DBforPostgreSQL/flexibleServers/mjtest-cli\",\"name\":\"mjtest-cli\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"nik1110-flex001.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"azureuser\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/akamath/providers/Microsoft.Network/virtualNetworks/eastusflexvnet/subnets/eastusflexsubnet\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T06:17:17.4434069+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/nik1110-flex001/providers/Microsoft.DBforPostgreSQL/flexibleServers/nik1110-flex001\",\"name\":\"nik1110-flex001\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D8s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":8},\"properties\":{\"fullyQualifiedDomainName\":\"pgbouncerdemo.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.4201278+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/akamath/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgbouncerdemo\",\"name\":\"pgbouncerdemo\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"pg-test-restore.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"daeunyim\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-07T23:03:43.0105302+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/daeun-powershell-postgresql/providers/Microsoft.DBforPostgreSQL/flexibleServers/pg-test-restore\",\"name\":\"pg-test-restore\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"shyHamster5\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/VNETesql-test-100/subnets/Subnetesql-test-100\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T06:42:34.4201278+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"server682508346.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"pensiveMacaw8\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group4297177205/providers/Microsoft.Network/virtualNetworks/VNET682508346/subnets/Subnet682508346\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T21:33:27.7387151+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group4297177205/providers/Microsoft.DBforPostgreSQL/flexibleServers/server682508346\",\"name\":\"server682508346\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"server996218930.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"fluidWalrus6\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/daeun-powershell-postgresql/providers/Microsoft.Network/virtualNetworks/VNET996218930/subnets/Subnet996218930\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-09T08:04:34.0462961+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/daeun-powershell-postgresql/providers/Microsoft.DBforPostgreSQL/flexibleServers/server996218930\",\"name\":\"server996218930\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"tzsynapsetest.postgres.database.azure.com\",\"version\":\"11\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"tezhang\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.4201278+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/tzsynapsetestrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/tzsynapsetest\",\"name\":\"tzsynapsetest\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"tzsynapsetest1.postgres.database.azure.com\",\"version\":\"11\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"tezhang\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.4201278+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/tzsynapsetestrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/tzsynapsetest1\",\"name\":\"tzsynapsetest1\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelianeus22.postgres.database.azure.com\",\"version\":\"11\",\"standbyCount\":1,\"haEnabled\":\"Enabled\",\"administratorLogin\":\"chelian\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"Healthy\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.2584439+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelianeus22\",\"name\":\"chelianeus22\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelianeus22a.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"chelianeus22\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian-eus22-u0377-u01/providers/Microsoft.Network/virtualNetworks/chelian-eus22-u0377-u01-vnet/subnets/chelian-eus22-u0377-u01-vnet-sub0\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-06T02:30:32.5755568+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelianeus22a\",\"name\":\"chelianeus22a\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelianeus22vnet.postgres.database.azure.com\",\"version\":\"11\",\"standbyCount\":1,\"haEnabled\":\"Enabled\",\"administratorLogin\":\"chelian\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian-eus22-u0377-u01/providers/Microsoft.Network/virtualNetworks/chelian-eus22-u0377-u01-vnet/subnets/chelian-eus22-u0377-u01-vnet-sub0\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"Healthy\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.2584439+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelianeus22vnet\",\"name\":\"chelianeus22vnet\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"flextestpeering.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/akamath/providers/Microsoft.Network/virtualNetworks/flexvnetorig/subnets/default\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.2584439+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/akamath/providers/Microsoft.DBforPostgreSQL/flexibleServers/flextestpeering\",\"name\":\"flextestpeering\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"teja-test-12-single.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-07T00:32:41.4051848+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/teja-test-meru/providers/Microsoft.DBforPostgreSQL/flexibleServers/teja-test-12-single\",\"name\":\"teja-test-12-single\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"xizo-test-public-ip.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"xizo\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.2584439+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/xizo-u0052/providers/Microsoft.DBforPostgreSQL/flexibleServers/xizo-test-public-ip\",\"name\":\"xizo-test-public-ip\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"vikranthtest01.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"vikranth\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.4158899+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West Europe\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vikranthtest01/providers/Microsoft.DBforPostgreSQL/flexibleServers/vikranthtest01\",\"name\":\"vikranthtest01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"ambrahma-pgfs-vnet-4.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"ambrahma\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.Network/virtualNetworks/vnet-ambrahma-pgfs-vnet-4/subnets/subnet-postgresql-flexibleservers\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":32768,\"backupRetentionDays\":8},\"earliestRestoreDate\":\"2020-11-04T20:17:08.8259711+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.DBforPostgreSQL/flexibleServers/ambrahma-pgfs-vnet-4\",\"name\":\"ambrahma-pgfs-vnet-4\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"ambrahma-pgfs-vnet-6.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"ambrahma\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.Network/virtualNetworks/vnet-ambrahma-pgfs-vnet-6/subnets/subnet-postgresql-flexibleservers\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":32768,\"backupRetentionDays\":8},\"earliestRestoreDate\":\"2020-11-04T20:34:26.3449676+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.DBforPostgreSQL/flexibleServers/ambrahma-pgfs-vnet-6\",\"name\":\"ambrahma-pgfs-vnet-6\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"ambrahma-pgfs-vnet-7.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"ambrahma\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.Network/virtualNetworks/vnet-ambrahma-pgfs-vnet-6/subnets/subnet-postgresql-flexibleservers\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":32768,\"backupRetentionDays\":8},\"earliestRestoreDate\":\"2020-11-04T21:38:58.7097105+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.DBforPostgreSQL/flexibleServers/ambrahma-pgfs-vnet-7\",\"name\":\"ambrahma-pgfs-vnet-7\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"ambrahma-pgfs-vnet-8.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"ambrahma\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.Network/virtualNetworks/vnet-ambrahma-pgfs-vnet-6/subnets/default\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":32768,\"backupRetentionDays\":8},\"earliestRestoreDate\":\"2020-11-04T21:58:12.067413+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.DBforPostgreSQL/flexibleServers/ambrahma-pgfs-vnet-8\",\"name\":\"ambrahma-pgfs-vnet-8\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"ambrahma-pgfs-vnet-9.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"ambrahma\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":32768,\"backupRetentionDays\":8},\"earliestRestoreDate\":\"2020-11-04T22:25:30.0433317+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.DBforPostgreSQL/flexibleServers/ambrahma-pgfs-vnet-9\",\"name\":\"ambrahma-pgfs-vnet-9\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"identity\":{\"principalId\":\"ac7286b4-1177-4734-b7e4-d3fc4fcb87b7\",\"type\":\"SystemAssigned\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"fullyQualifiedDomainName\":\"byok-pgfs-1.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"shinim\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.6070619+00:00\",\"byokEnforcement\":\"Enabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/meruacr/providers/Microsoft.DBforPostgreSQL/flexibleServers/byok-pgfs-1\",\"name\":\"byok-pgfs-1\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"flexhavnet.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":1,\"haEnabled\":\"Enabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/akamath/providers/Microsoft.Network/virtualNetworks/canaryvnetflex/subnets/canaryflexsubnet\"},\"logBackupStorageSku\":\"\",\"haState\":\"Healthy\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":524288,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.6070619+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/akamath/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexhavnet-pvsc\",\"name\":\"flexhavnet\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B2s\",\"tier\":\"Burstable\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-b2s-2core.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":524288,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.6070619+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-b2s-2core\",\"name\":\"flexserverpg-canary-perf-b2s-2core\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D16s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":16},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-16core.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":8388608,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.6070619+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-16core\",\"name\":\"flexserverpg-canary-perf-gp-16core\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-2core.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":524288,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.6070619+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-2core\",\"name\":\"flexserverpg-canary-perf-gp-2core\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-2core-2.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.6070619+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-2core-2\",\"name\":\"flexserverpg-canary-perf-gp-2core-2\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-2core-3.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.6070619+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-2core-3\",\"name\":\"flexserverpg-canary-perf-gp-2core-3\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D4s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":4},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-4core.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":2097152,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.6070619+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-4core\",\"name\":\"flexserverpg-canary-perf-gp-4core\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D8s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":8},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-8core.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":2097152,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.6070619+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-8core\",\"name\":\"flexserverpg-canary-perf-gp-8core\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D8s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":8},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-8core-ha2.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":1,\"haEnabled\":\"Enabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"Healthy\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":2097152,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.6070619+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-8core-ha2\",\"name\":\"flexserverpg-canary-perf-gp-8core-ha2\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D8s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":8},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-8core-pg11.postgres.database.azure.com\",\"version\":\"11\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":2097152,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.6070619+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-8core-pg11\",\"name\":\"flexserverpg-canary-perf-gp-8core-pg11\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D8s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":8},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-8core-vnet.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.Network/virtualNetworks/flexserverpg-canary-vnet/subnets/default\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":2097152,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.6070619+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-8core-vnet\",\"name\":\"flexserverpg-canary-perf-gp-8core-vnet\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_E8s_v3\",\"tier\":\"MemoryOptimized\",\"capacity\":8},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-mo-8core.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":2097152,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.6070619+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-mo-8core\",\"name\":\"flexserverpg-canary-perf-mo-8core\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"flexvnetm4new.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":1,\"haEnabled\":\"Enabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/akamath/providers/Microsoft.Network/virtualNetworks/canaryvnetflex/subnets/canaryflexsubnet\"},\"logBackupStorageSku\":\"\",\"haState\":\"Healthy\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":524288,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.6070619+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/akamath/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexvnetm4new-yumj\",\"name\":\"flexvnetm4new\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D4s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":4},\"properties\":{\"fullyQualifiedDomainName\":\"senkupfspg1.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":1,\"haEnabled\":\"Enabled\",\"administratorLogin\":\"senkupadmin\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"\",\"haState\":\"RecreatingStandby\",\"state\":\"Updating\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":524288,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.6070619+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/senkuprg/providers/Microsoft.DBforPostgreSQL/flexibleServers/senkupfspg1-zbom\",\"name\":\"senkupfspg1\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"taocanaryvnet1.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vnetcanarytestrg/providers/Microsoft.Network/virtualNetworks/customer-vnet2/subnets/fspg-subnet\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.6070619+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vnettestcustomerrg9/providers/Microsoft.DBforPostgreSQL/flexibleServers/taocanaryvnet1\",\"name\":\"taocanaryvnet1\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D4s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":4},\"properties\":{\"fullyQualifiedDomainName\":\"taotestvnetfspg1.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vnetcanarytestrg/providers/Microsoft.Network/virtualNetworks/eus2euapfspgtestvnet1/subnets/fspg-subnet\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.6070619+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vnetcanarytestrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/taotestvnetfspg1\",\"name\":\"taotestvnetfspg1\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D4s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":4},\"properties\":{\"fullyQualifiedDomainName\":\"testvnetwithserviceendpoint.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vnetcanarytestrg/providers/Microsoft.Network/virtualNetworks/testvnetwithserviceendpoint/subnets/fspg-subnet\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.6070619+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vnetcanarytestrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testvnetwithserviceendpoint\",\"name\":\"testvnetwithserviceendpoint\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D16s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":16},\"properties\":{\"fullyQualifiedDomainName\":\"vikranthtest2.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":1,\"haEnabled\":\"Enabled\",\"administratorLogin\":\"vikranth\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"\",\"state\":\"Starting\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.6070619+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vikranthtest02/providers/Microsoft.DBforPostgreSQL/flexibleServers/vikranthtest2\",\"name\":\"vikranthtest2\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}]}" + } + }, + "Get-AzPostgreSqlFlexibleServer+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2" ], + "x-ms-client-request-id": [ "e85bf093-31b9-4ebf-b2ac-7e42a92a08ca" ], + "CommandName": [ "Get-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Get-AzPostgreSqlFlexibleServer_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "6758e522-47f3-4969-9847-b830a780b903" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-correlation-request-id": [ "2d119ce7-0e2e-4b4f-bc26-3ac9568efb07" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064235Z:2d119ce7-0e2e-4b4f-bc26-3ac9568efb07" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:42:34 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1113" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"shyHamster5\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/VNETesql-test-100/subnets/Subnetesql-test-100\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T06:42:35.1388809+00:00\",\"byokEnforcement\":\"Disabled\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0}},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}" + } + }, + "Get-AzPostgreSqlFlexibleServer+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers?api-version=2020-02-14-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "3" ], + "x-ms-client-request-id": [ "98f28477-105b-4d6a-b403-514a7f33eed9" ], + "CommandName": [ "Get-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Get-AzPostgreSqlFlexibleServer_List" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "ad2fbc0d-2ba4-4ab0-b8bd-1ba1a0a01697" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-correlation-request-id": [ "de097d2a-e2b7-4295-b1d6-428c3cdb20a2" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064235Z:de097d2a-e2b7-4295-b1d6-428c3cdb20a2" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:42:35 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1033" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"value\":[{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"shyHamster5\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/VNETesql-test-100/subnets/Subnetesql-test-100\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T06:42:35.4670096+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}]}" + } + }, + "Get-AzPostgreSqlFlexibleServer+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "21c1c714-34cf-49e7-a6ef-44d51347e895" ], + "CommandName": [ "Get-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Get-AzPostgreSqlFlexibleServer_GetViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "34e61699-2d12-44eb-b3ec-262db440d59b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-correlation-request-id": [ "56936947-ea1d-4fcd-9008-3170a3e9c0d9" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064235Z:56936947-ea1d-4fcd-9008-3170a3e9c0d9" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:42:35 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1112" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"shyHamster5\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/VNETesql-test-100/subnets/Subnetesql-test-100\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T06:42:35.779547+00:00\",\"byokEnforcement\":\"Disabled\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0}},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}" + } + } +} \ No newline at end of file diff --git a/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServer.Tests.ps1 b/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServer.Tests.ps1 new file mode 100644 index 000000000000..039a845d7501 --- /dev/null +++ b/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServer.Tests.ps1 @@ -0,0 +1,43 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzPostgreSqlFlexibleServer.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'Get-AzPostgreSqlFlexibleServer' { + It 'List1' { + { + $servers = Get-AzPostgreSqlFlexibleServer + $servers.Count | Should -BeGreaterOrEqual 1 + } | Should -Not -Throw + } + + It 'Get' { + { + $servers = Get-AzPostgreSqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName + $servers.Name | Should -Be $env.serverName + } | Should -Not -Throw + } + + It 'List' { + { + $servers = Get-AzPostgreSqlFlexibleServer -ResourceGroupName $env.resourceGroup + $servers.Count | Should -Be 1 + } | Should -Not -Throw + } + + It 'GetViaIdentity' { + { + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSql/flexibleServers/$($env.serverName)" + $servers = Get-AzPostgreSqlFlexibleServer -InputObject $ID + $servers.Name | Should -Be $env.serverName + } | Should -Not -Throw + } +} diff --git a/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerConfiguration.Recording.json b/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerConfiguration.Recording.json new file mode 100644 index 000000000000..826be021c16b --- /dev/null +++ b/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerConfiguration.Recording.json @@ -0,0 +1,119 @@ +{ + "Get-AzPostgreSqlFlexibleServerConfiguration+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/configurations?api-version=2020-02-14-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/configurations?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "5" ], + "x-ms-client-request-id": [ "aa0cfbe0-61c7-4216-ae36-e078841e35a9" ], + "CommandName": [ "Get-AzPostgreSqlFlexibleServerConfiguration" ], + "FullCommandName": [ "Get-AzPostgreSqlFlexibleServerConfiguration_List" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "6b8b8910-5991-4cbd-81f9-ae9d7c646e6a" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "397eed2f-0614-4627-b1b1-8d12834f6120" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064239Z:397eed2f-0614-4627-b1b1-8d12834f6120" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:42:39 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "93653" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"value\":[{\"properties\":{\"value\":\"\",\"description\":\"Sets the application name to be reported in statistics and logs.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9._-]*\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/application_name\",\"name\":\"application_name\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1800\",\"description\":\"Forces a switch to the next WAL file if a new file has not been started within N seconds.\",\"defaultValue\":\"1800\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1073741823\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/archive_timeout\",\"name\":\"archive_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables input of NULL elements in arrays.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/array_nulls\",\"name\":\"array_nulls\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Starts the autovacuum subprocess.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/autovacuum\",\"name\":\"autovacuum\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0.1\",\"description\":\"Number of tuple inserts, updates, or deletes prior to analyze as a fraction of reltuples.\",\"defaultValue\":\"0.1\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-100\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/autovacuum_analyze_scale_factor\",\"name\":\"autovacuum_analyze_scale_factor\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"Minimum number of tuple inserts, updates, or deletes prior to analyze.\",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/autovacuum_analyze_threshold\",\"name\":\"autovacuum_analyze_threshold\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"200000000\",\"description\":\"Age at which to autovacuum a table to prevent transaction ID wraparound. Any change requires restarting the server to take effect.\",\"defaultValue\":\"200000000\",\"dataType\":\"Integer\",\"allowedValues\":\"100000-2000000000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/autovacuum_freeze_max_age\",\"name\":\"autovacuum_freeze_max_age\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Sets the maximum number of simultaneously running autovacuum worker processes. Any change requires restarting the server to take effect.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"1-262143\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/autovacuum_max_workers\",\"name\":\"autovacuum_max_workers\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"400000000\",\"description\":\"Multixact age at which to autovacuum a table to prevent multixact wraparound. Any change requires restarting the server to take effect.\",\"defaultValue\":\"400000000\",\"dataType\":\"Integer\",\"allowedValues\":\"10000-2000000000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/autovacuum_multixact_freeze_max_age\",\"name\":\"autovacuum_multixact_freeze_max_age\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"60\",\"description\":\"Time to sleep between autovacuum runs.\",\"defaultValue\":\"60\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/autovacuum_naptime\",\"name\":\"autovacuum_naptime\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Vacuum cost delay in milliseconds, for autovacuum.\",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-100\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/autovacuum_vacuum_cost_delay\",\"name\":\"autovacuum_vacuum_cost_delay\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Vacuum cost amount available before napping, for autovacuum.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-10000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/autovacuum_vacuum_cost_limit\",\"name\":\"autovacuum_vacuum_cost_limit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0.2\",\"description\":\"Number of tuple updates or deletes prior to vacuum as a fraction of reltuples.\",\"defaultValue\":\"0.2\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-100\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/autovacuum_vacuum_scale_factor\",\"name\":\"autovacuum_vacuum_scale_factor\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"Minimum number of tuple updates or deletes prior to vacuum.\",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/autovacuum_vacuum_threshold\",\"name\":\"autovacuum_vacuum_threshold\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Sets the maximum memory to be used by each autovacuum worker process.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2097151\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/autovacuum_work_mem\",\"name\":\"autovacuum_work_mem\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Number of pages after which previously performed writes are flushed to disk.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/backend_flush_after\",\"name\":\"backend_flush_after\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"safe_encoding\",\"description\":\"Sets whether \\\"\\\\\u0027\\\" is allowed in string literals.\",\"defaultValue\":\"safe_encoding\",\"dataType\":\"Enumeration\",\"allowedValues\":\"safe_encoding,on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/backslash_quote\",\"name\":\"backslash_quote\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"Background writer sleep time between rounds.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"10-10000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/bgwriter_delay\",\"name\":\"bgwriter_delay\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"Number of pages after which previously performed writes are flushed to disk.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/bgwriter_flush_after\",\"name\":\"bgwriter_flush_after\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"Background writer maximum number of LRU pages to flush per round.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1073741823\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/bgwriter_lru_maxpages\",\"name\":\"bgwriter_lru_maxpages\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Multiple of the average buffer usage to free per round.\",\"defaultValue\":\"2\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-10\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/bgwriter_lru_multiplier\",\"name\":\"bgwriter_lru_multiplier\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"hex\",\"description\":\"Sets the output format for bytea.\",\"defaultValue\":\"hex\",\"dataType\":\"Enumeration\",\"allowedValues\":\"escape,hex\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/bytea_output\",\"name\":\"bytea_output\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Checks function bodies during CREATE FUNCTION.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/check_function_bodies\",\"name\":\"check_function_bodies\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0.5\",\"description\":\"Time spent flushing dirty buffers during checkpoint, as fraction of checkpoint interval.\",\"defaultValue\":\"0.5\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/checkpoint_completion_target\",\"name\":\"checkpoint_completion_target\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"300\",\"description\":\"Sets the maximum time between automatic WAL checkpoints.\",\"defaultValue\":\"300\",\"dataType\":\"Integer\",\"allowedValues\":\"30-86400\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/checkpoint_timeout\",\"name\":\"checkpoint_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"30\",\"description\":\"Enables warnings if checkpoint segments are filled more frequently than this.\",\"defaultValue\":\"30\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/checkpoint_warning\",\"name\":\"checkpoint_warning\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"sql_ascii\",\"description\":\"Sets the client\u0027s character set encoding.\",\"defaultValue\":\"sql_ascii\",\"dataType\":\"Enumeration\",\"allowedValues\":\"BIG5,EUC_CN,EUC_JP,EUC_JIS_2004,EUC_KR,EUC_TW,GB18030,GBK,ISO_8859_5,ISO_8859_6,ISO_8859_7,ISO_8859_8,JOHAB,KOI8R,KOI8U,LATIN1,LATIN2,LATIN3,LATIN4,LATIN5,LATIN6,LATIN7,LATIN8,LATIN9,LATIN10,MULE_INTERNAL,SJIS,SHIFT_JIS_2004,SQL_ASCII,UHC,UTF8,WIN866,WIN874,WIN1250,WIN1251,WIN1252,WIN1253,WIN1254,WIN1255,WIN1256,WIN1257,WIN1258\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/client_encoding\",\"name\":\"client_encoding\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"notice\",\"description\":\"Sets the message levels that are sent to the client.\",\"defaultValue\":\"notice\",\"dataType\":\"Enumeration\",\"allowedValues\":\"debug5,debug4,debug3,debug2,debug1,log,notice,warning,error\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/client_min_messages\",\"name\":\"client_min_messages\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the delay in microseconds between transaction commit and flushing WAL to disk.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/commit_delay\",\"name\":\"commit_delay\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"5\",\"description\":\"Sets the minimum concurrent open transactions before performing commit_delay.\",\"defaultValue\":\"5\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/commit_siblings\",\"name\":\"commit_siblings\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"partition\",\"description\":\"Enables the planner to use constraints to optimize queries.\",\"defaultValue\":\"partition\",\"dataType\":\"Enumeration\",\"allowedValues\":\"partition,on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/constraint_exclusion\",\"name\":\"constraint_exclusion\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0.005\",\"description\":\"Sets the planner\u0027s estimate of the cost of processing each index entry during an index scan.\",\"defaultValue\":\"0.005\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/cpu_index_tuple_cost\",\"name\":\"cpu_index_tuple_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0.0025\",\"description\":\"Sets the planner\u0027s estimate of the cost of processing each operator or function call.\",\"defaultValue\":\"0.0025\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/cpu_operator_cost\",\"name\":\"cpu_operator_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0.01\",\"description\":\"Sets the planner\u0027s estimate of the cost of processing each tuple (row).\",\"defaultValue\":\"0.01\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/cpu_tuple_cost\",\"name\":\"cpu_tuple_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0.1\",\"description\":\"Sets the planner\u0027s estimate of the fraction of a cursor\u0027s rows that will be retrieved.\",\"defaultValue\":\"0.1\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/cursor_tuple_fraction\",\"name\":\"cursor_tuple_fraction\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ISO, MDY\",\"description\":\"Sets the display format for date and time values.\",\"defaultValue\":\"ISO, MDY\",\"dataType\":\"String\",\"allowedValues\":\"(ISO|POSTGRES|SQL|GERMAN)(, (DMY|MDY|YMD))?\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/DateStyle\",\"name\":\"DateStyle\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1000\",\"description\":\"Sets the amount of time, in milliseconds, to wait on a lock before checking for deadlock.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/deadlock_timeout\",\"name\":\"deadlock_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Indents parse and plan tree displays.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/debug_pretty_print\",\"name\":\"debug_pretty_print\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs each query\u0027s parse tree.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/debug_print_parse\",\"name\":\"debug_print_parse\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs each query\u0027s execution plan.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/debug_print_plan\",\"name\":\"debug_print_plan\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs each query\u0027s rewritten parse tree.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/debug_print_rewritten\",\"name\":\"debug_print_rewritten\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"Sets the default statistics target.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/default_statistics_target\",\"name\":\"default_statistics_target\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Sets the default tablespace to create tables and indexes in.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z._]*\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/default_tablespace\",\"name\":\"default_tablespace\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"pg_catalog.english\",\"description\":\"Sets default text search configuration.\",\"defaultValue\":\"pg_catalog.english\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z._]+\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/default_text_search_config\",\"name\":\"default_text_search_config\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Sets the default deferrable status of new transactions.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/default_transaction_deferrable\",\"name\":\"default_transaction_deferrable\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"read committed\",\"description\":\"Sets the transaction isolation level of each new transaction.\",\"defaultValue\":\"read committed\",\"dataType\":\"Enumeration\",\"allowedValues\":\"serializable,repeatable read,read committed,read uncommitted\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/default_transaction_isolation\",\"name\":\"default_transaction_isolation\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Sets the default read-only status of new transactions.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/default_transaction_read_only\",\"name\":\"default_transaction_read_only\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Creates new tables with OIDs by default.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/default_with_oids\",\"name\":\"default_with_oids\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"786432\",\"description\":\"Sets the planner\u0027s assumption about the size of the disk cache.\",\"defaultValue\":\"786432\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/effective_cache_size\",\"name\":\"effective_cache_size\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Sets the number of concurrent disk I/O operations that PostgreSQL expects can be executed simultaneously.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/effective_io_concurrency\",\"name\":\"effective_io_concurrency\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of bitmap-scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_bitmapscan\",\"name\":\"enable_bitmapscan\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of gather merge plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_gathermerge\",\"name\":\"enable_gathermerge\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of hashed aggregation plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_hashagg\",\"name\":\"enable_hashagg\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of hash join plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_hashjoin\",\"name\":\"enable_hashjoin\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of index-only-scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_indexonlyscan\",\"name\":\"enable_indexonlyscan\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of index-scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_indexscan\",\"name\":\"enable_indexscan\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of materialization.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_material\",\"name\":\"enable_material\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of merge join plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_mergejoin\",\"name\":\"enable_mergejoin\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of nested loop join plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_nestloop\",\"name\":\"enable_nestloop\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Enables or disables the query planner\u0027s use of partitionwise grouping or aggregation, which allows grouping or aggregation on a partitioned tables performed separately for each partition.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_partitionwise_aggregate\",\"name\":\"enable_partitionwise_aggregate\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Enables or disables the query planner\u0027s use of partitionwise join, which allows a join between partitioned tables to be performed by joining the matching partitions.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_partitionwise_join\",\"name\":\"enable_partitionwise_join\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of sequential-scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_seqscan\",\"name\":\"enable_seqscan\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of explicit sort steps.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_sort\",\"name\":\"enable_sort\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of TID scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_tidscan\",\"name\":\"enable_tidscan\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Warns about backslash escapes in ordinary string literals.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/escape_string_warning\",\"name\":\"escape_string_warning\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Terminates session on any error.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/exit_on_error\",\"name\":\"exit_on_error\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Sets the number of digits displayed for floating-point values.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"-15-3\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/extra_float_digits\",\"name\":\"extra_float_digits\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Forces use of parallel query facilities.\",\"defaultValue\":\"off\",\"dataType\":\"Enumeration\",\"allowedValues\":\"off,on,regress\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/force_parallel_mode\",\"name\":\"force_parallel_mode\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"Sets the FROM-list size beyond which subqueries are not collapsed.\",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/from_collapse_limit\",\"name\":\"from_collapse_limit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables genetic query optimization.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/geqo\",\"name\":\"geqo\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"5\",\"description\":\"GEQO: effort is used to set the default for other GEQO parameters.\",\"defaultValue\":\"5\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/geqo_effort\",\"name\":\"geqo_effort\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"GEQO: number of iterations of the algorithm.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/geqo_generations\",\"name\":\"geqo_generations\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"GEQO: number of individuals in the population.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/geqo_pool_size\",\"name\":\"geqo_pool_size\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"GEQO: seed for random path selection.\",\"defaultValue\":\"0\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/geqo_seed\",\"name\":\"geqo_seed\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"GEQO: selective pressure within the population.\",\"defaultValue\":\"2\",\"dataType\":\"Numeric\",\"allowedValues\":\"1.5-2\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/geqo_selection_bias\",\"name\":\"geqo_selection_bias\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"12\",\"description\":\"Sets the threshold of FROM items beyond which GEQO is used.\",\"defaultValue\":\"12\",\"dataType\":\"Integer\",\"allowedValues\":\"2-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/geqo_threshold\",\"name\":\"geqo_threshold\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum allowed result for exact search by GIN.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/gin_fuzzy_search_limit\",\"name\":\"gin_fuzzy_search_limit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"Sets the maximum size of the pending list for GIN index.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"64-2097151\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/gin_pending_list_limit\",\"name\":\"gin_pending_list_limit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"try\",\"description\":\"Enables/disables the use of huge memory pages. Changing this value requires server restart. This setting is not applicable to servers having less than 4 vCores.\",\"defaultValue\":\"try\",\"dataType\":\"Enumeration\",\"allowedValues\":\"on,off,try\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/huge_pages\",\"name\":\"huge_pages\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum allowed duration of any idling transaction.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/idle_in_transaction_session_timeout\",\"name\":\"idle_in_transaction_session_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"postgres\",\"description\":\"Sets the display format for interval values.\",\"defaultValue\":\"postgres\",\"dataType\":\"Enumeration\",\"allowedValues\":\"postgres,postgres_verbose,sql_standard,iso_8601\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/IntervalStyle\",\"name\":\"IntervalStyle\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Determines whether JIT compilation may be used by PostgreSQL.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on, off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/jit\",\"name\":\"jit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"100000\",\"description\":\"Sets the query cost above which JIT compilation is activated, if enabled.\",\"defaultValue\":\"100000\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/jit_above_cost\",\"name\":\"jit_above_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"500000\",\"description\":\"Sets the query cost above which JIT compilation attempts to inline functions and operators.\",\"defaultValue\":\"500000\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/jit_inline_above_cost\",\"name\":\"jit_inline_above_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"500000\",\"description\":\"Sets the query cost above which JIT compilation applies expensive optimizations.\",\"defaultValue\":\"500000\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/jit_optimize_above_cost\",\"name\":\"jit_optimize_above_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"Sets the FROM-list size beyond which JOIN constructs are not flattened.\",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/join_collapse_limit\",\"name\":\"join_collapse_limit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"en_US.utf-8\",\"description\":\"Sets the locale for formatting monetary amounts.\",\"defaultValue\":\"en_US.utf-8\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9._ -]+\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/lc_monetary\",\"name\":\"lc_monetary\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"en_US.utf-8\",\"description\":\"Sets the locale for formatting numbers.\",\"defaultValue\":\"en_US.utf-8\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9._ -]+\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/lc_numeric\",\"name\":\"lc_numeric\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Enables backward compatibility mode for privilege checks on large objects.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/lo_compat_privileges\",\"name\":\"lo_compat_privileges\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum allowed duration (in milliseconds) of any wait for a lock. 0 turns this off.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/lock_timeout\",\"name\":\"lock_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Sets the minimum execution time above which autovacuum actions will be logged.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_autovacuum_min_duration\",\"name\":\"log_autovacuum_min_duration\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Logs each checkpoint.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_checkpoints\",\"name\":\"log_checkpoints\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs each successful connection.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_connections\",\"name\":\"log_connections\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"stderr\",\"description\":\"Sets the destination for server log output.\",\"defaultValue\":\"stderr\",\"dataType\":\"Enumeration\",\"allowedValues\":\"stderr,csvlog\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_destination\",\"name\":\"log_destination\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs end of a session, including duration.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_disconnections\",\"name\":\"log_disconnections\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs the duration of each completed SQL statement.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_duration\",\"name\":\"log_duration\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"default\",\"description\":\"Sets the verbosity of logged messages.\",\"defaultValue\":\"default\",\"dataType\":\"Enumeration\",\"allowedValues\":\"terse,default,verbose\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_error_verbosity\",\"name\":\"log_error_verbosity\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs long lock waits.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_lock_waits\",\"name\":\"log_lock_waits\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Sets the minimum execution time (in milliseconds) above which statements will be logged. -1 disables logging statement durations.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_min_duration_statement\",\"name\":\"log_min_duration_statement\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"error\",\"description\":\"Causes all statements generating error at or above this level to be logged.\",\"defaultValue\":\"error\",\"dataType\":\"Enumeration\",\"allowedValues\":\"debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_min_error_statement\",\"name\":\"log_min_error_statement\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"warning\",\"description\":\"Sets the message levels that are logged.\",\"defaultValue\":\"warning\",\"dataType\":\"Enumeration\",\"allowedValues\":\"debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_min_messages\",\"name\":\"log_min_messages\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs each replication command.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_replication_commands\",\"name\":\"log_replication_commands\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"none\",\"description\":\"Sets the type of statements logged.\",\"defaultValue\":\"none\",\"dataType\":\"Enumeration\",\"allowedValues\":\"none,ddl,mod,all\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_statement\",\"name\":\"log_statement\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"For each query, writes cumulative performance statistics to the server log.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_statement_stats\",\"name\":\"log_statement_stats\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Logs the use of temporary files larger than this number of kilobytes.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_temp_files\",\"name\":\"log_temp_files\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"216064\",\"description\":\"Sets the maximum memory to be used for maintenance operations.\",\"defaultValue\":\"216064\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-2097151\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/maintenance_work_mem\",\"name\":\"maintenance_work_mem\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"859\",\"description\":\"Sets the maximum number of concurrent connections. Any change requires restarting the server to take effect.\",\"defaultValue\":\"859\",\"dataType\":\"Integer\",\"allowedValues\":\"25-5000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_connections\",\"name\":\"max_connections\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"Sets the maximum number of locks per transaction. Any change requires restarting the server to take effect. When running a replica server, you must set this parameter to the same or higher value than on the master server.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"10-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_locks_per_transaction\",\"name\":\"max_locks_per_transaction\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"Sets the maximum number of parallel workers than can be active at one time.\",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1024\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_parallel_workers\",\"name\":\"max_parallel_workers\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Sets the maximum number of parallel processes per executor node.\",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1024\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_parallel_workers_per_gather\",\"name\":\"max_parallel_workers_per_gather\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Sets the maximum number of predicate-locked tuples per page.\",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_pred_locks_per_page\",\"name\":\"max_pred_locks_per_page\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"-2\",\"description\":\"Sets the maximum number of predicate-locked pages and tuples per relation.\",\"defaultValue\":\"-2\",\"dataType\":\"Integer\",\"allowedValues\":\"-2147483648-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_pred_locks_per_relation\",\"name\":\"max_pred_locks_per_relation\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum number of simultaneously prepared transactions. Any change requires restarting the server to take effect. When running a replica server, you must set this parameter to the same or higher value than on the master server.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-262143\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_prepared_transactions\",\"name\":\"max_prepared_transactions\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Sets the maximum number of simultaneously defined replication slots.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-262143\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_replication_slots\",\"name\":\"max_replication_slots\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"30000\",\"description\":\"Sets the maximum delay before canceling queries when a hot standby server is processing archived WAL data.\",\"defaultValue\":\"30000\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_standby_archive_delay\",\"name\":\"max_standby_archive_delay\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"30000\",\"description\":\"Sets the maximum delay before canceling queries when a hot standby server is processing streamed WAL data.\",\"defaultValue\":\"30000\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_standby_streaming_delay\",\"name\":\"max_standby_streaming_delay\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Maximum number of table synchronization workers per subscription.\",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"0-262143\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_sync_workers_per_subscription\",\"name\":\"max_sync_workers_per_subscription\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Sets the maximum number of simultaneously running WAL sender processes.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_wal_senders\",\"name\":\"max_wal_senders\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"32768\",\"description\":\"Sets the WAL size that triggers a checkpoint.\",\"defaultValue\":\"32768\",\"dataType\":\"Integer\",\"allowedValues\":\"2-65536\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_wal_size\",\"name\":\"max_wal_size\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"Sets the maximum number of background processes that the system can support.\",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"0-262143\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_worker_processes\",\"name\":\"max_worker_processes\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"Sets the minimum amount of index data for a parallel scan.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"0-715827882\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/min_parallel_index_scan_size\",\"name\":\"min_parallel_index_scan_size\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"Sets the minimum amount of table data for a parallel scan.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"0-715827882\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/min_parallel_table_scan_size\",\"name\":\"min_parallel_table_scan_size\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"80\",\"description\":\"Sets the minimum size to shrink the WAL to.\",\"defaultValue\":\"80\",\"dataType\":\"Integer\",\"allowedValues\":\"2-2097151\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/min_wal_size\",\"name\":\"min_wal_size\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Emits a warning for constructs that changed meaning since PostgreSQL 9.4.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/operator_precedence_warning\",\"name\":\"operator_precedence_warning\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1000\",\"description\":\"Sets the planner\u0027s estimate of the cost of starting up worker processes for parallel query.\",\"defaultValue\":\"1000\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/parallel_setup_cost\",\"name\":\"parallel_setup_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0.1\",\"description\":\"Sets the planner\u0027s estimate of the cost of passing each tuple (row) from worker to master backend.\",\"defaultValue\":\"0.1\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/parallel_tuple_cost\",\"name\":\"parallel_tuple_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"none\",\"description\":\"Specifies which classes of statements will be logged by session audit logging.\",\"defaultValue\":\"none\",\"dataType\":\"Set\",\"allowedValues\":\"none,read,write,function,role,ddl,misc,all\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pgaudit.log\",\"name\":\"pgaudit.log\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Specifies that session logging should be enabled in the case where all relations in a statement are in pg_catalog.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pgaudit.log_catalog\",\"name\":\"pgaudit.log_catalog\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Specifies whether audit messages should be visible to the client.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pgaudit.log_client\",\"name\":\"pgaudit.log_client\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"log\",\"description\":\"Specifies the log level that will be used for log entries.\",\"defaultValue\":\"log\",\"dataType\":\"Enumeration\",\"allowedValues\":\",debug5,debug4,debug3,debug2,debug1,info,notice,warning,log\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pgaudit.log_level\",\"name\":\"pgaudit.log_level\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Specifies that audit logging should include the parameters that were passed with the statement.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pgaudit.log_parameter\",\"name\":\"pgaudit.log_parameter\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Specifies whether session audit logging should create a separate log entry for each relation referenced in a SELECT or DML statement.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pgaudit.log_relation\",\"name\":\"pgaudit.log_relation\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Specifies whether logging will include the statement text and parameters with the first log entry for a statement/substatement combination or with every entry.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pgaudit.log_statement_once\",\"name\":\"pgaudit.log_statement_once\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Specifies the master role to use for object audit logging.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z\\\\._]*\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pgaudit.role\",\"name\":\"pgaudit.role\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"5000\",\"description\":\"Sets the maximum number of statements tracked by pg_stat_statements. Any change requires restarting the server to take effect.\",\"defaultValue\":\"5000\",\"dataType\":\"Integer\",\"allowedValues\":\"100-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pg_stat_statements.max\",\"name\":\"pg_stat_statements.max\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Save pg_stat_statements statistics across server shutdowns.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pg_stat_statements.save\",\"name\":\"pg_stat_statements.save\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"top\",\"description\":\"Controls which statements are counted by pg_stat_statements.\",\"defaultValue\":\"top\",\"dataType\":\"Enumeration\",\"allowedValues\":\"top,all,none\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pg_stat_statements.track\",\"name\":\"pg_stat_statements.track\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Selects whether utility commands are tracked by pg_stat_statements.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pg_stat_statements.track_utility\",\"name\":\"pg_stat_statements.track_utility\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"apply_remote\",\"description\":\"Sets the resolution method for any detected conflicts between local data and incoming changes.\",\"defaultValue\":\"apply_remote\",\"dataType\":\"Enumeration\",\"allowedValues\":\"error,apply_remote,keep_local,last_update_wins,first_update_wins\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pglogical.conflict_resolution\",\"name\":\"pglogical.conflict_resolution\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"log\",\"description\":\"Sets the log level for reporting detected conflicts when the pglogical.conflict_resolution is set to anything else than error.\",\"defaultValue\":\"log\",\"dataType\":\"Enumeration\",\"allowedValues\":\"debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pglogical.conflict_log_level\",\"name\":\"pglogical.conflict_log_level\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Tells PGLogical to use batch insert mechanism if possible.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pglogical.batch_inserts\",\"name\":\"pglogical.batch_inserts\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Tells PGLogical to use SPI interface to form actual SQL (INSERT, UPDATE, DELETE) statements to apply incoming changes instead of using internal low level interface.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pglogical.use_spi\",\"name\":\"pglogical.use_spi\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"DISABLE_ALL\",\"description\":\"Controls postgis GDAL enabled driver settings.\",\"defaultValue\":\"DISABLE_ALL\",\"dataType\":\"Enumeration\",\"allowedValues\":\"DISABLE_ALL,ENABLE_ALL\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/postgis.gdal_enabled_drivers\",\"name\":\"postgis.gdal_enabled_drivers\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"When generating SQL fragments, quotes all identifiers.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/quote_all_identifiers\",\"name\":\"quote_all_identifiers\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"Sets the planner\u0027s estimate of the cost of a nonsequentially fetched disk page.\",\"defaultValue\":\"4\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/random_page_cost\",\"name\":\"random_page_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables row security.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/row_security\",\"name\":\"row_security\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\\\"$user\\\", public\",\"description\":\"Sets the schema search order for names that are not schema-qualified.\",\"defaultValue\":\"\\\"$user\\\", public\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z.\\\"$, ]+\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/search_path\",\"name\":\"search_path\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Sets the planner\u0027s estimate of the cost of a sequentially fetched disk page.\",\"defaultValue\":\"1\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/seq_page_cost\",\"name\":\"seq_page_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"origin\",\"description\":\"Sets the session\u0027s behavior for triggers and rewrite rules.\",\"defaultValue\":\"origin\",\"dataType\":\"Enumeration\",\"allowedValues\":\"origin,replica,local\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/session_replication_role\",\"name\":\"session_replication_role\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Sets the maximum SSL/TLS protocol version to use.\",\"defaultValue\":\"\",\"dataType\":\"Enumeration\",\"allowedValues\":\",TLSv1.2,TLSv1.3\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/ssl_max_protocol_version\",\"name\":\"ssl_max_protocol_version\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"TLSv1.2\",\"description\":\"Sets the minimum SSL/TLS protocol version to use.\",\"defaultValue\":\"TLSv1.2\",\"dataType\":\"Enumeration\",\"allowedValues\":\"TLSv1.2,TLSv1.3\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/ssl_min_protocol_version\",\"name\":\"ssl_min_protocol_version\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Causes \u0027...\u0027 strings to treat backslashes literally.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/standard_conforming_strings\",\"name\":\"standard_conforming_strings\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum allowed duration (in milliseconds) of any statement. 0 turns this off.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/statement_timeout\",\"name\":\"statement_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables synchronized sequential scans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/synchronize_seqscans\",\"name\":\"synchronize_seqscans\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Sets the current transaction\u0027s synchronization level.\",\"defaultValue\":\"on\",\"dataType\":\"Enumeration\",\"allowedValues\":\"local,remote_write,on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/synchronous_commit\",\"name\":\"synchronous_commit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"9\",\"description\":\"Maximum number of TCP keepalive retransmits.\",\"defaultValue\":\"9\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/tcp_keepalives_count\",\"name\":\"tcp_keepalives_count\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"120\",\"description\":\"Time between issuing TCP keepalives.\",\"defaultValue\":\"120\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/tcp_keepalives_idle\",\"name\":\"tcp_keepalives_idle\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"30\",\"description\":\"Time between TCP keepalive retransmits.\",\"defaultValue\":\"30\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/tcp_keepalives_interval\",\"name\":\"tcp_keepalives_interval\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"Sets the maximum number of temporary buffers used by each database session.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"100-1073741823\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/temp_buffers\",\"name\":\"temp_buffers\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Sets the tablespace(s) to use for temporary tables and sort files.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z._]*\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/temp_tablespaces\",\"name\":\"temp_tablespaces\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"UTC\",\"description\":\"Sets the time zone for displaying and interpreting time stamps.\",\"defaultValue\":\"UTC\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9/+_-]+\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/TimeZone\",\"name\":\"TimeZone\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Collects information about executing commands.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/track_activities\",\"name\":\"track_activities\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"Sets the size reserved for pg_stat_activity.query, in bytes. Any change requires restarting the server to take effect.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"100-102400\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/track_activity_query_size\",\"name\":\"track_activity_query_size\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Collects transaction commit time. Any change requires restarting the server to take effect.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/track_commit_timestamp\",\"name\":\"track_commit_timestamp\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Collects statistics on database activity.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/track_counts\",\"name\":\"track_counts\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"none\",\"description\":\"Collects function-level statistics on database activity.\",\"defaultValue\":\"none\",\"dataType\":\"Enumeration\",\"allowedValues\":\"none,pl,all\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/track_functions\",\"name\":\"track_functions\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Collects timing statistics for database I/O activity.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/track_io_timing\",\"name\":\"track_io_timing\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Treats \\\"expr=NULL\\\" as \\\"expr IS NULL\\\".\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/transform_null_equals\",\"name\":\"transform_null_equals\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Vacuum cost delay in milliseconds.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/vacuum_cost_delay\",\"name\":\"vacuum_cost_delay\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"Vacuum cost amount available before napping.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/vacuum_cost_limit\",\"name\":\"vacuum_cost_limit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"20\",\"description\":\"Vacuum cost for a page dirtied by vacuum.\",\"defaultValue\":\"20\",\"dataType\":\"Integer\",\"allowedValues\":\"0-10000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/vacuum_cost_page_dirty\",\"name\":\"vacuum_cost_page_dirty\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Vacuum cost for a page found in the buffer cache.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0-10000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/vacuum_cost_page_hit\",\"name\":\"vacuum_cost_page_hit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Vacuum cost for a page not found in the buffer cache.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-10000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/vacuum_cost_page_miss\",\"name\":\"vacuum_cost_page_miss\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Number of transactions by which VACUUM and HOT cleanup should be deferred, if any.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/vacuum_defer_cleanup_age\",\"name\":\"vacuum_defer_cleanup_age\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"50000000\",\"description\":\"Minimum age at which VACUUM should freeze a table row.\",\"defaultValue\":\"50000000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/vacuum_freeze_min_age\",\"name\":\"vacuum_freeze_min_age\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"150000000\",\"description\":\"Age at which VACUUM should scan whole table to freeze tuples.\",\"defaultValue\":\"150000000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2000000000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/vacuum_freeze_table_age\",\"name\":\"vacuum_freeze_table_age\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"5000000\",\"description\":\"Minimum age at which VACUUM should freeze a MultiXactId in a table row.\",\"defaultValue\":\"5000000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/vacuum_multixact_freeze_min_age\",\"name\":\"vacuum_multixact_freeze_min_age\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"150000000\",\"description\":\"Multixact age at which VACUUM should scan whole table to freeze tuples.\",\"defaultValue\":\"150000000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2000000000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/vacuum_multixact_freeze_table_age\",\"name\":\"vacuum_multixact_freeze_table_age\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Compresses full-page writes written in WAL file.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/wal_compression\",\"name\":\"wal_compression\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"replica\",\"description\":\"It determines how much information is written to the WAL.\",\"defaultValue\":\"replica\",\"dataType\":\"Enumeration\",\"allowedValues\":\"replica,logical\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/wal_level\",\"name\":\"wal_level\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Sets the maximum interval between WAL receiver status reports to the primary.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/wal_receiver_status_interval\",\"name\":\"wal_receiver_status_interval\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"Time between WAL flushes performed in the WAL writer.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/wal_writer_delay\",\"name\":\"wal_writer_delay\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"128\",\"description\":\"Amount of WAL written out by WAL writer that triggers a flush.\",\"defaultValue\":\"128\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/wal_writer_flush_after\",\"name\":\"wal_writer_flush_after\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"Sets the amount of memory to be used by internal sort operations and hash tables before writing to temporary disk files.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-2097151\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/work_mem\",\"name\":\"work_mem\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"base64\",\"description\":\"Sets how binary values are to be encoded in XML.\",\"defaultValue\":\"base64\",\"dataType\":\"Enumeration\",\"allowedValues\":\"base64,hex\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/xmlbinary\",\"name\":\"xmlbinary\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"content\",\"description\":\"Sets whether XML data in implicit parsing and serialization operations is to be considered as documents or content fragments.\",\"defaultValue\":\"content\",\"dataType\":\"Enumeration\",\"allowedValues\":\"content,document\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/xmloption\",\"name\":\"xmloption\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"}]}" + } + }, + "Get-AzPostgreSqlFlexibleServerConfiguration+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/configurations/TimeZone?api-version=2020-02-14-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/configurations/TimeZone?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "6" ], + "x-ms-client-request-id": [ "c8c79d49-b68e-4ff3-b1d2-3fea698ebfa5" ], + "CommandName": [ "Get-AzPostgreSqlFlexibleServerConfiguration" ], + "FullCommandName": [ "Get-AzPostgreSqlFlexibleServerConfiguration_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "07488494-b772-471f-89d8-f9041fa872af" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-correlation-request-id": [ "8eacc32f-b3f9-42d5-990d-9e5e4ade5056" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064240Z:8eacc32f-b3f9-42d5-990d-9e5e4ade5056" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:42:39 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "475" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"value\":\"UTC\",\"description\":\"Sets the time zone for displaying and interpreting time stamps.\",\"defaultValue\":\"UTC\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9/+_-]+\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/TimeZone\",\"name\":\"TimeZone\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"}" + } + }, + "Get-AzPostgreSqlFlexibleServerConfiguration+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/configurations/TimeZone?api-version=2020-02-14-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/configurations/TimeZone?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "7" ], + "x-ms-client-request-id": [ "c07599f6-3e7f-4f22-b0d0-0b5d81ebd946" ], + "CommandName": [ "Get-AzPostgreSqlFlexibleServerConfiguration" ], + "FullCommandName": [ "Get-AzPostgreSqlFlexibleServerConfiguration_GetViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "16b441b3-42ce-4397-9d63-d7ec610463c8" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "ce1f1aec-7b49-4757-bbba-e568b355d1d4" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064240Z:ce1f1aec-7b49-4757-bbba-e568b355d1d4" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:42:40 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "475" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"value\":\"UTC\",\"description\":\"Sets the time zone for displaying and interpreting time stamps.\",\"defaultValue\":\"UTC\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9/+_-]+\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/TimeZone\",\"name\":\"TimeZone\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"}" + } + } +} \ No newline at end of file diff --git a/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerConfiguration.Tests.ps1 b/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerConfiguration.Tests.ps1 new file mode 100644 index 000000000000..cfc7173b12a2 --- /dev/null +++ b/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerConfiguration.Tests.ps1 @@ -0,0 +1,36 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzPostgreSqlFlexibleServerConfiguration.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'Get-AzPostgreSqlFlexibleServerConfiguration' { + It 'List' { + { + $config = Get-AzPostgreSqlFlexibleServerConfiguration -ResourceGroupName $env.resourceGroup -ServerName $env.serverName + $config.Count | Should -BeGreaterOrEqual 1 + } | Should -Not -Throw + } + + It 'Get' { + { + $config = Get-AzPostgreSqlFlexibleServerConfiguration -Name TimeZone -ResourceGroupName $env.resourceGroup -ServerName $env.serverName + $config.Name | Should -Be TimeZone + } | Should -Not -Throw + } + + It 'GetViaIdentity' { + { + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSql/flexibleServers/$($env.serverName)/configurations/TimeZone" + $config = Get-AzPostgreSqlFlexibleServerConfiguration -InputObject $ID + $config.Name | Should -Be TimeZone + } | Should -Not -Throw + } +} diff --git a/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerFirewallRule.Recording.json b/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerFirewallRule.Recording.json new file mode 100644 index 000000000000..3b3a55c5f8d5 --- /dev/null +++ b/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerFirewallRule.Recording.json @@ -0,0 +1,355 @@ +{ + "Get-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "93" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/ae61af99-11f5-425e-9496-adae59a1730b?api-version=2020-02-14-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ae61af99-11f5-425e-9496-adae59a1730b?api-version=2020-02-14-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "ae61af99-11f5-425e-9496-adae59a1730b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "38fbbb8e-f636-456e-bdc1-aab841756326" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064242Z:38fbbb8e-f636-456e-bdc1-aab841756326" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:42:41 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "98" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-11T06:42:42.25Z\"}" + } + }, + "Get-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ae61af99-11f5-425e-9496-adae59a1730b?api-version=2020-02-14-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ae61af99-11f5-425e-9496-adae59a1730b?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "9" ], + "x-ms-client-request-id": [ "226d9315-9e69-49de-8a01-63faea83eec9" ], + "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "New-AzPostgreSqlFlexibleServerFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "6682f181-1993-47c0-9960-74e23e0186b1" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "baaf7dd2-86c3-41bc-885e-9a5d6f25f8d2" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064342Z:baaf7dd2-86c3-41bc-885e-9a5d6f25f8d2" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:43:42 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ae61af99-11f5-425e-9496-adae59a1730b\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T06:42:42.25Z\"}" + } + }, + "Get-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "10" ], + "x-ms-client-request-id": [ "226d9315-9e69-49de-8a01-63faea83eec9" ], + "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "New-AzPostgreSqlFlexibleServerFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "c2954918-5b0b-4c78-ba6b-550d4e6dfb12" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "daccb8d4-d820-42a9-9dcd-bdfe15517dac" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064343Z:daccb8d4-d820-42a9-9dcd-bdfe15517dac" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:43:42 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "159" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}" + } + }, + "Get-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules?api-version=2020-02-14-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "11" ], + "x-ms-client-request-id": [ "4ca7ccb3-c3be-4538-9fde-f67eaa512f4c" ], + "CommandName": [ "Get-AzPostgreSqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Get-AzPostgreSqlFlexibleServerFirewallRule_List" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "4cf725fd-ee77-4c5a-885f-605ab061477c" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-correlation-request-id": [ "182b5dec-7fd0-49e0-9d35-2b05ff0c482d" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064343Z:182b5dec-7fd0-49e0-9d35-2b05ff0c482d" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:43:43 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "171" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"value\":[{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}]}" + } + }, + "Get-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "12" ], + "x-ms-client-request-id": [ "6cd1c94b-ca8d-41ec-b35f-609ae68c8584" ], + "CommandName": [ "Get-AzPostgreSqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Get-AzPostgreSqlFlexibleServerFirewallRule_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "c4f16cc9-cf43-469f-8d41-d1eb17e2645c" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], + "x-ms-correlation-request-id": [ "fe102d20-9085-4d06-9855-f6410fe040b1" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064343Z:fe102d20-9085-4d06-9855-f6410fe040b1" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:43:43 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "159" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}" + } + }, + "Get-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "13" ], + "x-ms-client-request-id": [ "5b726075-2b6f-46d4-99a5-0cb5ba425dca" ], + "CommandName": [ "Get-AzPostgreSqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Get-AzPostgreSqlFlexibleServerFirewallRule_GetViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "2d9aabde-72ed-42e0-91d5-4817f96218e7" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], + "x-ms-correlation-request-id": [ "34241739-057d-4a33-b3cd-a96fe6515a87" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064343Z:34241739-057d-4a33-b3cd-a96fe6515a87" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:43:43 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "159" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}" + } + }, + "Get-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+GetViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+2": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "14" ], + "x-ms-client-request-id": [ "553ceb7b-3f4e-4b74-979e-d5828d2bfa47" ], + "CommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/4947e499-d634-423d-985f-9eca4b146bcb?api-version=2020-02-14-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/4947e499-d634-423d-985f-9eca4b146bcb?api-version=2020-02-14-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "4947e499-d634-423d-985f-9eca4b146bcb" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "x-ms-correlation-request-id": [ "2ed26549-e625-4a0f-9abc-4fb00476c155" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064344Z:2ed26549-e625-4a0f-9abc-4fb00476c155" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:43:43 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "96" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-11T06:43:44.08Z\"}" + } + }, + "Get-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/4947e499-d634-423d-985f-9eca4b146bcb?api-version=2020-02-14-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/4947e499-d634-423d-985f-9eca4b146bcb?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "15" ], + "x-ms-client-request-id": [ "553ceb7b-3f4e-4b74-979e-d5828d2bfa47" ], + "CommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "123ee15d-bff7-4aab-a166-83f19fdc2917" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], + "x-ms-correlation-request-id": [ "e241856a-4fd1-4dd4-9492-4715d58ff6b7" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064444Z:e241856a-4fd1-4dd4-9492-4715d58ff6b7" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:44:43 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"4947e499-d634-423d-985f-9eca4b146bcb\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T06:43:44.08Z\"}" + } + }, + "Get-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/4947e499-d634-423d-985f-9eca4b146bcb?api-version=2020-02-14-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/4947e499-d634-423d-985f-9eca4b146bcb?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "16" ], + "x-ms-client-request-id": [ "553ceb7b-3f4e-4b74-979e-d5828d2bfa47" ], + "CommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "6ad806f6-cb0f-4b07-82f5-c5275651c1a9" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], + "x-ms-correlation-request-id": [ "27856b02-ee06-49b5-8be9-3e6deaa7aa88" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064444Z:27856b02-ee06-49b5-8be9-3e6deaa7aa88" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:44:44 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + } +} \ No newline at end of file diff --git a/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 b/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 new file mode 100644 index 000000000000..de2b4bd6bbb3 --- /dev/null +++ b/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 @@ -0,0 +1,40 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzPostgreSqlFlexibleServerFirewallRule.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'Get-AzPostgreSqlFlexibleServerFirewallRule' { + It 'List' { + { + New-AzPostgreSqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 + $rule = Get-AzPostgreSqlFlexibleServerFirewallRule -ResourceGroupName $env.resourceGroup -ServerName $env.serverName + $rule.Count | Should -Be 1 + } | Should -Not -Throw + } + + It 'Get' { + { + $rule = Get-AzPostgreSqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName + $rule.StartIPAddress | Should -Be 0.0.0.0 + $rule.EndIPAddress | Should -Be 0.0.0.1 + } | Should -Not -Throw + } + + It 'GetViaIdentity' { + { + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSql/flexibleServers/$($env.serverName)/firewallRules/$($env.firewallRuleName)" + $rule = Get-AzPostgreSqlFlexibleServerFirewallRule -InputObject $ID + $rule.StartIPAddress | Should -Be 0.0.0.0 + $rule.EndIPAddress | Should -Be 0.0.0.1 + Remove-AzPostgreSqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName + } | Should -Not -Throw + } +} diff --git a/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerLocationBasedCapability.Tests.ps1 b/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerLocationBasedCapability.Tests.ps1 new file mode 100644 index 000000000000..e71464d5a91b --- /dev/null +++ b/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerLocationBasedCapability.Tests.ps1 @@ -0,0 +1,22 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzPostgreSqlFlexibleServerLocationBasedCapability.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'Get-AzPostgreSqlFlexibleServerLocationBasedCapability' { + It 'Get' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSql/test/New-AzPostgreSqlFlexibleServer.Tests.ps1 b/src/PostgreSql/test/New-AzPostgreSqlFlexibleServer.Tests.ps1 new file mode 100644 index 000000000000..ee14b5be1f34 --- /dev/null +++ b/src/PostgreSql/test/New-AzPostgreSqlFlexibleServer.Tests.ps1 @@ -0,0 +1,25 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'New-AzPostgreSqlFlexibleServer.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'New-AzPostgreSqlFlexibleServer' { + It 'CreateExpanded' { + { + $password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force + $server = New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -AdministratorUserName mysql_test -AdministratorLoginPassword $password -Sku Standard_B1ms -SkuTier Burstable -BackupRetentionDay 12 -StorageInMb 65536 -Location eastus2 + $server.SkuName | Should -Be "Standard_B1ms" + $server.SkuTier | Should -Be "Burstable" + $server.StorageProfileStorageMb | Should -Be 65536 + $server.StorageProfileBackupRetentionDays | Should -Be 12 + } | Should -Not -Throw + } +} diff --git a/src/PostgreSql/test/New-AzPostgreSqlFlexibleServerFirewallRule.Recording.json b/src/PostgreSql/test/New-AzPostgreSqlFlexibleServerFirewallRule.Recording.json new file mode 100644 index 000000000000..d73cb045003e --- /dev/null +++ b/src/PostgreSql/test/New-AzPostgreSqlFlexibleServerFirewallRule.Recording.json @@ -0,0 +1,710 @@ +{ + "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "93" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/187b87b7-a172-4b22-9c65-e6adb252db0b?api-version=2020-02-14-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/187b87b7-a172-4b22-9c65-e6adb252db0b?api-version=2020-02-14-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "187b87b7-a172-4b22-9c65-e6adb252db0b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-correlation-request-id": [ "2228d554-292b-4af1-8ab6-057103e6da11" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064446Z:2228d554-292b-4af1-8ab6-057103e6da11" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:44:45 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "98" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-11T06:44:45.89Z\"}" + } + }, + "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/187b87b7-a172-4b22-9c65-e6adb252db0b?api-version=2020-02-14-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/187b87b7-a172-4b22-9c65-e6adb252db0b?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "18" ], + "x-ms-client-request-id": [ "e37a83a0-2c2e-4fb0-8e47-665bfb0a616e" ], + "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "New-AzPostgreSqlFlexibleServerFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "54212612-7cae-4f14-ba99-f3baf58f29f8" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], + "x-ms-correlation-request-id": [ "586b3d27-8b99-4e49-baf0-884e7192a3fd" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064546Z:586b3d27-8b99-4e49-baf0-884e7192a3fd" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:45:46 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"187b87b7-a172-4b22-9c65-e6adb252db0b\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T06:44:45.89Z\"}" + } + }, + "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "19" ], + "x-ms-client-request-id": [ "e37a83a0-2c2e-4fb0-8e47-665bfb0a616e" ], + "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "New-AzPostgreSqlFlexibleServerFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "6e0a0382-1989-4417-b92b-61da8a4a6deb" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], + "x-ms-correlation-request-id": [ "bd26b347-9b91-477a-b103-1936d33704d3" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064546Z:bd26b347-9b91-477a-b103-1936d33704d3" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:45:46 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "159" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}" + } + }, + "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+4": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "20" ], + "x-ms-client-request-id": [ "3db1c9d6-6dcb-4ecc-99b9-06d91b8482d8" ], + "CommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/11129c81-a10d-47df-979f-518b89eb5fb6?api-version=2020-02-14-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/11129c81-a10d-47df-979f-518b89eb5fb6?api-version=2020-02-14-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "11129c81-a10d-47df-979f-518b89eb5fb6" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14998" ], + "x-ms-correlation-request-id": [ "76e9b764-6928-4085-8dd7-dfed52f2c2a5" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064546Z:76e9b764-6928-4085-8dd7-dfed52f2c2a5" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:45:46 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "96" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-11T06:45:46.92Z\"}" + } + }, + "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/11129c81-a10d-47df-979f-518b89eb5fb6?api-version=2020-02-14-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/11129c81-a10d-47df-979f-518b89eb5fb6?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "21" ], + "x-ms-client-request-id": [ "3db1c9d6-6dcb-4ecc-99b9-06d91b8482d8" ], + "CommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "b351b328-63c8-4863-8c31-fc8c35adab9f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], + "x-ms-correlation-request-id": [ "c054926b-171e-45ef-9a29-405824feb3ed" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064647Z:c054926b-171e-45ef-9a29-405824feb3ed" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:46:46 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"11129c81-a10d-47df-979f-518b89eb5fb6\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T06:45:46.92Z\"}" + } + }, + "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/11129c81-a10d-47df-979f-518b89eb5fb6?api-version=2020-02-14-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/11129c81-a10d-47df-979f-518b89eb5fb6?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "22" ], + "x-ms-client-request-id": [ "3db1c9d6-6dcb-4ecc-99b9-06d91b8482d8" ], + "CommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "85d18db3-4c5f-4870-9487-b1bea0aa0b7e" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], + "x-ms-correlation-request-id": [ "cd9e081c-8cc4-4955-9324-a7525ecb58f4" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064647Z:cd9e081c-8cc4-4955-9324-a7525ecb58f4" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:46:46 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + }, + "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.1\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "93" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/aea62ef0-2358-49d3-9f15-16ef75353c41?api-version=2020-02-14-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aea62ef0-2358-49d3-9f15-16ef75353c41?api-version=2020-02-14-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "aea62ef0-2358-49d3-9f15-16ef75353c41" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], + "x-ms-correlation-request-id": [ "cfb84be8-6b69-4109-94b4-15598c43a2e6" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064648Z:cfb84be8-6b69-4109-94b4-15598c43a2e6" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:46:47 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "98" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-11T06:46:48.01Z\"}" + } + }, + "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aea62ef0-2358-49d3-9f15-16ef75353c41?api-version=2020-02-14-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aea62ef0-2358-49d3-9f15-16ef75353c41?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "24" ], + "x-ms-client-request-id": [ "17fd83ae-23c2-407f-9e4b-83f70d8d966d" ], + "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "New-AzPostgreSqlFlexibleServerFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "042a606e-0eef-455e-98d9-04d80a0e805d" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], + "x-ms-correlation-request-id": [ "a8284521-ebc5-4f15-93d1-88bcda61aa9b" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064748Z:a8284521-ebc5-4f15-93d1-88bcda61aa9b" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:47:47 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"aea62ef0-2358-49d3-9f15-16ef75353c41\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T06:46:48.01Z\"}" + } + }, + "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "25" ], + "x-ms-client-request-id": [ "17fd83ae-23c2-407f-9e4b-83f70d8d966d" ], + "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "New-AzPostgreSqlFlexibleServerFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "094605b9-8d33-457e-86ac-34f931da8e7b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11980" ], + "x-ms-correlation-request-id": [ "fd7444e4-a39c-43f5-87e3-cbfb14015820" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064748Z:fd7444e4-a39c-43f5-87e3-cbfb14015820" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:47:48 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "159" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.1\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}" + } + }, + "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+4": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "26" ], + "x-ms-client-request-id": [ "5e3c713e-27cc-47cc-b503-e70d3e527e40" ], + "CommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/e6c5e9ae-751b-420d-8905-4580877db672?api-version=2020-02-14-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e6c5e9ae-751b-420d-8905-4580877db672?api-version=2020-02-14-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "e6c5e9ae-751b-420d-8905-4580877db672" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14997" ], + "x-ms-correlation-request-id": [ "4f66b66c-f444-4341-9b83-e10d5735cbb3" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064749Z:4f66b66c-f444-4341-9b83-e10d5735cbb3" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:47:48 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "97" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-11T06:47:48.923Z\"}" + } + }, + "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e6c5e9ae-751b-420d-8905-4580877db672?api-version=2020-02-14-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e6c5e9ae-751b-420d-8905-4580877db672?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "27" ], + "x-ms-client-request-id": [ "5e3c713e-27cc-47cc-b503-e70d3e527e40" ], + "CommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "bad6347d-28e7-4d23-b17c-ed57e8dcc29d" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11979" ], + "x-ms-correlation-request-id": [ "9a112cb6-85ab-4684-b462-4c660b6db444" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064849Z:9a112cb6-85ab-4684-b462-4c660b6db444" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:48:49 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"e6c5e9ae-751b-420d-8905-4580877db672\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T06:47:48.923Z\"}" + } + }, + "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/e6c5e9ae-751b-420d-8905-4580877db672?api-version=2020-02-14-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/e6c5e9ae-751b-420d-8905-4580877db672?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "28" ], + "x-ms-client-request-id": [ "5e3c713e-27cc-47cc-b503-e70d3e527e40" ], + "CommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "e740908b-750d-47de-a2fb-522a31d9075b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11978" ], + "x-ms-correlation-request-id": [ "0ab6c766-b362-4723-9e87-142e8cd59944" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064849Z:0ab6c766-b362-4723-9e87-142e8cd59944" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:48:49 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + }, + "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+AllowAll+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"255.255.255.255\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "101" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/e04eba31-9804-4df6-a9f4-31553cf3addd?api-version=2020-02-14-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e04eba31-9804-4df6-a9f4-31553cf3addd?api-version=2020-02-14-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "e04eba31-9804-4df6-a9f4-31553cf3addd" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], + "x-ms-correlation-request-id": [ "b94bec0a-1a1a-4bba-bde1-5365e04c6cf8" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064849Z:b94bec0a-1a1a-4bba-bde1-5365e04c6cf8" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:48:49 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "98" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-11T06:48:49.75Z\"}" + } + }, + "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e04eba31-9804-4df6-a9f4-31553cf3addd?api-version=2020-02-14-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e04eba31-9804-4df6-a9f4-31553cf3addd?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "30" ], + "x-ms-client-request-id": [ "1273aa52-7f89-4fe9-b7e1-33cfc4d9a506" ], + "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "New-AzPostgreSqlFlexibleServerFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "28e1fb55-d578-4faf-955f-35e895118824" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11977" ], + "x-ms-correlation-request-id": [ "4829c506-3be3-43d5-9707-809d4c7d3a8a" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064950Z:4829c506-3be3-43d5-9707-809d4c7d3a8a" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:49:49 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"e04eba31-9804-4df6-a9f4-31553cf3addd\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T06:48:49.75Z\"}" + } + }, + "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "31" ], + "x-ms-client-request-id": [ "1273aa52-7f89-4fe9-b7e1-33cfc4d9a506" ], + "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "New-AzPostgreSqlFlexibleServerFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "21b784df-9646-42f6-a2e2-b506da70fd76" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11976" ], + "x-ms-correlation-request-id": [ "30288fc7-555d-4dde-85c6-23c448787ffc" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064950Z:30288fc7-555d-4dde-85c6-23c448787ffc" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:49:49 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "167" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"255.255.255.255\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}" + } + }, + "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+AllowAll+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+4": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "32" ], + "x-ms-client-request-id": [ "7428d90e-762f-46bb-a5b9-f7aa6858cfb7" ], + "CommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/0519e824-c85b-4a97-85c0-2d8520fdb2a2?api-version=2020-02-14-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0519e824-c85b-4a97-85c0-2d8520fdb2a2?api-version=2020-02-14-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "0519e824-c85b-4a97-85c0-2d8520fdb2a2" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14996" ], + "x-ms-correlation-request-id": [ "385b51ca-3e98-4d2c-939e-d0c6cf1486ce" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064950Z:385b51ca-3e98-4d2c-939e-d0c6cf1486ce" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:49:49 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "97" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-11T06:49:50.737Z\"}" + } + }, + "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0519e824-c85b-4a97-85c0-2d8520fdb2a2?api-version=2020-02-14-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0519e824-c85b-4a97-85c0-2d8520fdb2a2?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "33" ], + "x-ms-client-request-id": [ "7428d90e-762f-46bb-a5b9-f7aa6858cfb7" ], + "CommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "28f81896-b605-48b1-9516-71fea1fba2e0" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11975" ], + "x-ms-correlation-request-id": [ "cd1944ab-dbed-4cee-a829-57cd3413b128" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065051Z:cd1944ab-dbed-4cee-a829-57cd3413b128" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:50:50 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"0519e824-c85b-4a97-85c0-2d8520fdb2a2\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T06:49:50.737Z\"}" + } + }, + "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/0519e824-c85b-4a97-85c0-2d8520fdb2a2?api-version=2020-02-14-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/0519e824-c85b-4a97-85c0-2d8520fdb2a2?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "34" ], + "x-ms-client-request-id": [ "7428d90e-762f-46bb-a5b9-f7aa6858cfb7" ], + "CommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "b2581582-f440-46ca-8c44-e72318aaad09" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11974" ], + "x-ms-correlation-request-id": [ "54cb5b8a-aae2-49d9-86e0-aeda164235fd" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065051Z:54cb5b8a-aae2-49d9-86e0-aeda164235fd" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:50:50 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + } +} \ No newline at end of file diff --git a/src/PostgreSql/test/New-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 b/src/PostgreSql/test/New-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 new file mode 100644 index 000000000000..b392c713ee6b --- /dev/null +++ b/src/PostgreSql/test/New-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 @@ -0,0 +1,39 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'New-AzPostgreSqlFlexibleServerFirewallRule.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'New-AzPostgreSqlFlexibleServerFirewallRule' { + It 'CreateExpanded' { + $rule = New-AzPostgreSqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 + $rule.Name | Should -Be $env.firewallRuleName + $rule.StartIPAddress | Should -Be 0.0.0.0 + $rule.EndIPAddress | Should -Be 0.0.0.1 + Remove-AzPostgreSqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName + } + + It 'ClientIPAddress' { + #Use only one parameter when only one IP + $rule = New-AzPostgreSqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -ClientIPAddress 0.0.0.1 + $rule.Name | Should -Be $env.firewallRuleName + $rule.StartIPAddress | Should -Be 0.0.0.1 + $rule.EndIPAddress | Should -Be 0.0.0.1 + Remove-AzPostgreSqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName + } + + It 'AllowAll' { + $rule = New-AzPostgreSqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -AllowAll + $rule.Name | Should -Be $env.firewallRuleName + $rule.StartIPAddress | Should -Be 0.0.0.0 + $rule.EndIPAddress | Should -Be 255.255.255.255 + Remove-AzPostgreSqlFlexibleServerFirewallRule -Name $rule.Name -ResourceGroupName $env.resourceGroup -ServerName $env.serverName + } +} diff --git a/src/PostgreSql/test/Remove-AzPostgreSqlFlexibleServer.Recording.json b/src/PostgreSql/test/Remove-AzPostgreSqlFlexibleServer.Recording.json new file mode 100644 index 000000000000..fce85dababee --- /dev/null +++ b/src/PostgreSql/test/Remove-AzPostgreSqlFlexibleServer.Recording.json @@ -0,0 +1,190 @@ +{ + "Remove-AzPostgreSqlFlexibleServer+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview", + "Content": "{\r\n \"location\": \"eastus\",\r\n \"sku\": {\r\n \"name\": \"Standard_D2s_v3\",\r\n \"tier\": \"GeneralPurpose\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 131072\r\n },\r\n \"administratorLogin\": \"mysql_test\",\r\n \"administratorLoginPassword\": \"Pasword01!!2020\",\r\n \"version\": \"12\",\r\n \"createMode\": \"Default\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "372" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/f78a219c-4acf-4eae-b935-9a788f5e6b77?api-version=2020-02-14-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f78a219c-4acf-4eae-b935-9a788f5e6b77?api-version=2020-02-14-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "e894d32d-0c8d-4a88-8362-79cd2e98b7fc" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], + "x-ms-correlation-request-id": [ "0a05d391-712b-4286-8205-a3cfa9f21606" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065052Z:0a05d391-712b-4286-8205-a3cfa9f21606" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:50:51 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "88" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-11T06:50:52.347Z\"}" + } + }, + "Remove-AzPostgreSqlFlexibleServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f78a219c-4acf-4eae-b935-9a788f5e6b77?api-version=2020-02-14-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f78a219c-4acf-4eae-b935-9a788f5e6b77?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "36" ], + "x-ms-client-request-id": [ "059d1de3-b74e-4def-84b4-2a8c7ad8cb2c" ], + "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "New-AzPostgreSqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "28f809a0-04fe-4f01-90ab-07289cf7d027" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11973" ], + "x-ms-correlation-request-id": [ "d9a8abe8-15e0-4e17-b7a0-d5dd8ff3e114" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065152Z:d9a8abe8-15e0-4e17-b7a0-d5dd8ff3e114" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:51:52 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"f78a219c-4acf-4eae-b935-9a788f5e6b77\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T06:50:52.347Z\"}" + } + }, + "Remove-AzPostgreSqlFlexibleServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "37" ], + "x-ms-client-request-id": [ "059d1de3-b74e-4def-84b4-2a8c7ad8cb2c" ], + "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "New-AzPostgreSqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "aa6ef87e-34db-4226-aead-21a26123781e" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11972" ], + "x-ms-correlation-request-id": [ "54f071d3-bb29-4c49-a350-bd2dc0561f87" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065153Z:54f071d3-bb29-4c49-a350-bd2dc0561f87" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:51:52 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1113" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"shyHamster5\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/VNETesql-test-100/subnets/Subnetesql-test-100\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T06:48:31.9060234+00:00\",\"byokEnforcement\":\"Disabled\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0}},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}" + } + }, + "Remove-AzPostgreSqlFlexibleServer+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100-2?api-version=2020-02-14-preview+4": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100-2?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "38" ], + "x-ms-client-request-id": [ "be7212b4-206c-490e-a780-0d1fef28210c" ], + "CommandName": [ "Remove-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzPostgreSqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 204, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14995" ], + "x-ms-request-id": [ "c0cb51fc-6168-41ed-b15b-cbf837f25727" ], + "x-ms-correlation-request-id": [ "c0cb51fc-6168-41ed-b15b-cbf837f25727" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065153Z:c0cb51fc-6168-41ed-b15b-cbf837f25727" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Wed, 11 Nov 2020 06:51:52 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ] + }, + "Content": null + } + }, + "Remove-AzPostgreSqlFlexibleServer+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100-2?api-version=2020-02-14-preview+1": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100-2?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "39" ], + "x-ms-client-request-id": [ "ef660717-cab6-4349-b74a-3bd4559346d3" ], + "CommandName": [ "Remove-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzPostgreSqlFlexibleServer_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 204, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14994" ], + "x-ms-request-id": [ "ee0dde3c-208f-4b7a-ae35-ea91778ac851" ], + "x-ms-correlation-request-id": [ "ee0dde3c-208f-4b7a-ae35-ea91778ac851" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065153Z:ee0dde3c-208f-4b7a-ae35-ea91778ac851" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Wed, 11 Nov 2020 06:51:53 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ] + }, + "Content": null + } + } +} \ No newline at end of file diff --git a/src/PostgreSql/test/Remove-AzPostgreSqlFlexibleServer.Tests.ps1 b/src/PostgreSql/test/Remove-AzPostgreSqlFlexibleServer.Tests.ps1 new file mode 100644 index 000000000000..b9de3bee13ed --- /dev/null +++ b/src/PostgreSql/test/Remove-AzPostgreSqlFlexibleServer.Tests.ps1 @@ -0,0 +1,29 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzPostgreSqlFlexibleServer.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'Remove-AzPostgreSqlFlexibleServer' { + It 'Delete' { + { + $password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force + New-AzPostgreSqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName -AdministratorUserName mysql_test -AdministratorLoginPassword $password + Remove-AzPostgreSqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName2 + } | Should -Not -Throw + } + + It 'DeleteViaIdentity' { + { + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSql/flexibleServers/$($env.serverName2)" + Remove-AzPostgreSqlFlexibleServer -InputObject $ID + } | Should -Not -Throw + } +} diff --git a/src/PostgreSql/test/Remove-AzPostgreSqlFlexibleServerFirewallRule.Recording.json b/src/PostgreSql/test/Remove-AzPostgreSqlFlexibleServerFirewallRule.Recording.json new file mode 100644 index 000000000000..56e869d3b679 --- /dev/null +++ b/src/PostgreSql/test/Remove-AzPostgreSqlFlexibleServerFirewallRule.Recording.json @@ -0,0 +1,474 @@ +{ + "Remove-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "93" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/de386837-d2af-4b0b-b4d0-47e49abff83b?api-version=2020-02-14-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/de386837-d2af-4b0b-b4d0-47e49abff83b?api-version=2020-02-14-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "de386837-d2af-4b0b-b4d0-47e49abff83b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1194" ], + "x-ms-correlation-request-id": [ "018e2aeb-1ed1-4bb7-892c-37a9265eaacd" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065153Z:018e2aeb-1ed1-4bb7-892c-37a9265eaacd" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:51:53 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "99" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-11T06:51:53.813Z\"}" + } + }, + "Remove-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/de386837-d2af-4b0b-b4d0-47e49abff83b?api-version=2020-02-14-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/de386837-d2af-4b0b-b4d0-47e49abff83b?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "41" ], + "x-ms-client-request-id": [ "d56d8ddc-48d1-4944-a10c-4428aed60c4a" ], + "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "New-AzPostgreSqlFlexibleServerFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "ab641ed3-8ef8-42d3-b8d4-57a03396cdd2" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11971" ], + "x-ms-correlation-request-id": [ "3520cabb-499c-4822-a552-0b693a9f11b4" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065254Z:3520cabb-499c-4822-a552-0b693a9f11b4" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:52:54 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"de386837-d2af-4b0b-b4d0-47e49abff83b\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T06:51:53.813Z\"}" + } + }, + "Remove-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "42" ], + "x-ms-client-request-id": [ "d56d8ddc-48d1-4944-a10c-4428aed60c4a" ], + "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "New-AzPostgreSqlFlexibleServerFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "33127f88-2a3e-40f3-80ec-dfc0bcfa1793" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11970" ], + "x-ms-correlation-request-id": [ "8ba58c0e-2572-4fe3-a9e6-89e0be66a7da" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065254Z:8ba58c0e-2572-4fe3-a9e6-89e0be66a7da" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:52:54 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "159" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}" + } + }, + "Remove-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+4": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "43" ], + "x-ms-client-request-id": [ "f30bdb34-c00f-4172-9a00-de85d8340695" ], + "CommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/d62ab1fe-77eb-4e8d-8b26-62b9714818aa?api-version=2020-02-14-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/d62ab1fe-77eb-4e8d-8b26-62b9714818aa?api-version=2020-02-14-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "d62ab1fe-77eb-4e8d-8b26-62b9714818aa" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14993" ], + "x-ms-correlation-request-id": [ "b69e5ab8-944d-480a-99d4-8302e0a85ee5" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065254Z:b69e5ab8-944d-480a-99d4-8302e0a85ee5" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:52:54 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "97" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-11T06:52:54.753Z\"}" + } + }, + "Remove-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/d62ab1fe-77eb-4e8d-8b26-62b9714818aa?api-version=2020-02-14-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/d62ab1fe-77eb-4e8d-8b26-62b9714818aa?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "44" ], + "x-ms-client-request-id": [ "f30bdb34-c00f-4172-9a00-de85d8340695" ], + "CommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "5e25dcaa-9062-421f-932e-313923e5e64c" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11969" ], + "x-ms-correlation-request-id": [ "90c6a01d-0e2e-4123-baea-4d3475a5eaa3" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065355Z:90c6a01d-0e2e-4123-baea-4d3475a5eaa3" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:53:54 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d62ab1fe-77eb-4e8d-8b26-62b9714818aa\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T06:52:54.753Z\"}" + } + }, + "Remove-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/d62ab1fe-77eb-4e8d-8b26-62b9714818aa?api-version=2020-02-14-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/d62ab1fe-77eb-4e8d-8b26-62b9714818aa?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "45" ], + "x-ms-client-request-id": [ "f30bdb34-c00f-4172-9a00-de85d8340695" ], + "CommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "04defab5-33a1-460b-8a32-156f083a62b8" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11968" ], + "x-ms-correlation-request-id": [ "1bf9d406-a1dd-44d8-b2d3-7295f2211bc4" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065355Z:1bf9d406-a1dd-44d8-b2d3-7295f2211bc4" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:53:54 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + }, + "Remove-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "93" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/679aed21-2184-4b08-9ed9-047e09425b76?api-version=2020-02-14-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/679aed21-2184-4b08-9ed9-047e09425b76?api-version=2020-02-14-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "679aed21-2184-4b08-9ed9-047e09425b76" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1193" ], + "x-ms-correlation-request-id": [ "ecc7783e-677d-4c10-9c2d-f399f447386a" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065355Z:ecc7783e-677d-4c10-9c2d-f399f447386a" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:53:55 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "99" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-11T06:53:55.613Z\"}" + } + }, + "Remove-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/679aed21-2184-4b08-9ed9-047e09425b76?api-version=2020-02-14-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/679aed21-2184-4b08-9ed9-047e09425b76?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "47" ], + "x-ms-client-request-id": [ "3088a6c0-36dc-47d8-88ee-d5d680088cad" ], + "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "New-AzPostgreSqlFlexibleServerFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "f324c5bb-4b16-4bd9-9dc7-410fad8b4b8b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11967" ], + "x-ms-correlation-request-id": [ "e9cdb7bc-fed8-49a1-9506-f3d0300458c7" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065456Z:e9cdb7bc-fed8-49a1-9506-f3d0300458c7" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:54:55 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"679aed21-2184-4b08-9ed9-047e09425b76\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T06:53:55.613Z\"}" + } + }, + "Remove-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "48" ], + "x-ms-client-request-id": [ "3088a6c0-36dc-47d8-88ee-d5d680088cad" ], + "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "New-AzPostgreSqlFlexibleServerFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "d3d2bf92-cd1c-406a-a4e4-68dc53006a52" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11966" ], + "x-ms-correlation-request-id": [ "107ff525-6297-4864-b63b-81dfd3d8228d" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065456Z:107ff525-6297-4864-b63b-81dfd3d8228d" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:54:56 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "159" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}" + } + }, + "Remove-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+4": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "49" ], + "x-ms-client-request-id": [ "b5690d84-6cad-4efa-b629-748f9761ab54" ], + "CommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/8aec89c5-e542-45ee-8ed2-d1e86ddfdf63?api-version=2020-02-14-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/8aec89c5-e542-45ee-8ed2-d1e86ddfdf63?api-version=2020-02-14-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "8aec89c5-e542-45ee-8ed2-d1e86ddfdf63" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14992" ], + "x-ms-correlation-request-id": [ "6a379741-939a-46f5-b438-a58e08ba7412" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065456Z:6a379741-939a-46f5-b438-a58e08ba7412" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:54:56 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "97" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-11T06:54:56.493Z\"}" + } + }, + "Remove-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/8aec89c5-e542-45ee-8ed2-d1e86ddfdf63?api-version=2020-02-14-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/8aec89c5-e542-45ee-8ed2-d1e86ddfdf63?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "50" ], + "x-ms-client-request-id": [ "b5690d84-6cad-4efa-b629-748f9761ab54" ], + "CommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "04039b2b-9165-4df1-9246-eb2c2d84e760" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11965" ], + "x-ms-correlation-request-id": [ "1f272cab-0603-4ce1-bea5-7a1a6a40695d" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065559Z:1f272cab-0603-4ce1-bea5-7a1a6a40695d" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:55:58 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"8aec89c5-e542-45ee-8ed2-d1e86ddfdf63\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T06:54:56.493Z\"}" + } + }, + "Remove-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/8aec89c5-e542-45ee-8ed2-d1e86ddfdf63?api-version=2020-02-14-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/8aec89c5-e542-45ee-8ed2-d1e86ddfdf63?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "51" ], + "x-ms-client-request-id": [ "b5690d84-6cad-4efa-b629-748f9761ab54" ], + "CommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "3042a09b-ecd8-486b-a3ba-fec7213ae5d0" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11964" ], + "x-ms-correlation-request-id": [ "b1720bd1-5c65-449f-b44a-31063eee2a3d" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065559Z:b1720bd1-5c65-449f-b44a-31063eee2a3d" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:55:58 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + } +} \ No newline at end of file diff --git a/src/PostgreSql/test/Remove-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 b/src/PostgreSql/test/Remove-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 new file mode 100644 index 000000000000..a7f0df59b20a --- /dev/null +++ b/src/PostgreSql/test/Remove-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 @@ -0,0 +1,25 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzPostgreSqlFlexibleServerFirewallRule.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'Remove-AzPostgreSqlFlexibleServerFirewallRule' { + It 'Delete' { + New-AzPostgreSqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 + Remove-AzPostgreSqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName + } + + It 'DeleteViaIdentity' { + New-AzPostgreSqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSql/flexibleServers/$($env.serverName)/firewallRules/$($env.firewallRuleName)" + Remove-AzPostgreSqlFlexibleServerFirewallRule -InputObject $ID + } +} diff --git a/src/PostgreSql/test/Restart-AzPostgreSqlFlexibleServer.Recording.json b/src/PostgreSql/test/Restart-AzPostgreSqlFlexibleServer.Recording.json new file mode 100644 index 000000000000..077453669fcc --- /dev/null +++ b/src/PostgreSql/test/Restart-AzPostgreSqlFlexibleServer.Recording.json @@ -0,0 +1,244 @@ +{ + "Restart-AzPostgreSqlFlexibleServer+[NoContext]+Restart+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/restart?api-version=2020-02-14-preview+1": { + "Request": { + "Method": "POST", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/restart?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1" ], + "x-ms-client-request-id": [ "1aba6a26-af78-4e17-bdf1-11d2a061de17" ], + "CommandName": [ "Restart-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Restart-AzPostgreSqlFlexibleServer_Restart" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/5213b464-8231-4bff-86c5-8fd95731ac3a?api-version=2020-02-14-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/5213b464-8231-4bff-86c5-8fd95731ac3a?api-version=2020-02-14-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "5213b464-8231-4bff-86c5-8fd95731ac3a" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "3e9e4b3d-7703-4986-b0d4-066660303aaf" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T181122Z:3e9e4b3d-7703-4986-b0d4-066660303aaf" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 18:11:21 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "87" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"RestartServerManagementOperation\",\"startTime\":\"2020-11-11T18:11:22.613Z\"}" + } + }, + "Restart-AzPostgreSqlFlexibleServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/5213b464-8231-4bff-86c5-8fd95731ac3a?api-version=2020-02-14-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/5213b464-8231-4bff-86c5-8fd95731ac3a?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "2" ], + "x-ms-client-request-id": [ "1aba6a26-af78-4e17-bdf1-11d2a061de17" ], + "CommandName": [ "Restart-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Restart-AzPostgreSqlFlexibleServer_Restart" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "37811cb2-e223-4264-b043-12cd5a6e3d0c" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-correlation-request-id": [ "f879713b-5cf8-47c6-8bda-d8f1263b1c57" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T181223Z:f879713b-5cf8-47c6-8bda-d8f1263b1c57" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 18:12:22 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "243" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"5213b464-8231-4bff-86c5-8fd95731ac3a\",\"status\":\"Failed\",\"startTime\":\"2020-11-11T18:11:22.613Z\",\"error\":{\"code\":\"OperationFailed\",\"message\":\"Operation Restart failed, because server postgresql-test-100 is busy with other operations.\"}}" + } + }, + "Restart-AzPostgreSqlFlexibleServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/5213b464-8231-4bff-86c5-8fd95731ac3a?api-version=2020-02-14-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/5213b464-8231-4bff-86c5-8fd95731ac3a?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "3" ], + "x-ms-client-request-id": [ "1aba6a26-af78-4e17-bdf1-11d2a061de17" ], + "CommandName": [ "Restart-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Restart-AzPostgreSqlFlexibleServer_Restart" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 400, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "4a1f669a-b2f6-4237-afc7-1c98bd56acae" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-correlation-request-id": [ "9b4a4016-b480-405e-a1b3-a62c35292e28" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T181223Z:9b4a4016-b480-405e-a1b3-a62c35292e28" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 18:12:23 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "140" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"error\":{\"code\":\"OperationFailed\",\"message\":\"Operation Restart failed, because server postgresql-test-100 is busy with other operations.\"}}" + } + }, + "Restart-AzPostgreSqlFlexibleServer+[NoContext]+RestartViaIdentity+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/restart?api-version=2020-02-14-preview+1": { + "Request": { + "Method": "POST", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/restart?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "ad48ac94-f287-453e-abe4-4aa694648cf5" ], + "CommandName": [ "Restart-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Restart-AzPostgreSqlFlexibleServer_RestartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/3e38ec6a-f9b0-4895-bbce-2cf0ee74db12?api-version=2020-02-14-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/3e38ec6a-f9b0-4895-bbce-2cf0ee74db12?api-version=2020-02-14-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "3e38ec6a-f9b0-4895-bbce-2cf0ee74db12" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-correlation-request-id": [ "9c48d60a-f151-41e3-b1bc-b037b6be5204" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T181223Z:9c48d60a-f151-41e3-b1bc-b037b6be5204" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 18:12:23 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "86" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"RestartServerManagementOperation\",\"startTime\":\"2020-11-11T18:12:23.68Z\"}" + } + }, + "Restart-AzPostgreSqlFlexibleServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/3e38ec6a-f9b0-4895-bbce-2cf0ee74db12?api-version=2020-02-14-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/3e38ec6a-f9b0-4895-bbce-2cf0ee74db12?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "5" ], + "x-ms-client-request-id": [ "ad48ac94-f287-453e-abe4-4aa694648cf5" ], + "CommandName": [ "Restart-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Restart-AzPostgreSqlFlexibleServer_RestartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "e0bfb792-35da-4cb2-88cd-2faba65ed77d" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-correlation-request-id": [ "9d2583bc-d063-4bc1-ac3b-bedebeccebce" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T181324Z:9d2583bc-d063-4bc1-ac3b-bedebeccebce" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 18:13:23 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "242" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"3e38ec6a-f9b0-4895-bbce-2cf0ee74db12\",\"status\":\"Failed\",\"startTime\":\"2020-11-11T18:12:23.68Z\",\"error\":{\"code\":\"OperationFailed\",\"message\":\"Operation Restart failed, because server postgresql-test-100 is busy with other operations.\"}}" + } + }, + "Restart-AzPostgreSqlFlexibleServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/3e38ec6a-f9b0-4895-bbce-2cf0ee74db12?api-version=2020-02-14-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/3e38ec6a-f9b0-4895-bbce-2cf0ee74db12?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "6" ], + "x-ms-client-request-id": [ "ad48ac94-f287-453e-abe4-4aa694648cf5" ], + "CommandName": [ "Restart-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Restart-AzPostgreSqlFlexibleServer_RestartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 400, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "580974aa-0e2c-40ed-8ace-6695a63047e6" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-correlation-request-id": [ "f8510ed2-aafd-447c-a885-675899876dd2" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T181324Z:f8510ed2-aafd-447c-a885-675899876dd2" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 18:13:23 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "140" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"error\":{\"code\":\"OperationFailed\",\"message\":\"Operation Restart failed, because server postgresql-test-100 is busy with other operations.\"}}" + } + } +} \ No newline at end of file diff --git a/src/PostgreSql/test/Restart-AzPostgreSqlFlexibleServer.Tests.ps1 b/src/PostgreSql/test/Restart-AzPostgreSqlFlexibleServer.Tests.ps1 new file mode 100644 index 000000000000..29f847002a26 --- /dev/null +++ b/src/PostgreSql/test/Restart-AzPostgreSqlFlexibleServer.Tests.ps1 @@ -0,0 +1,27 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'Restart-AzPostgreSqlFlexibleServer.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'Restart-AzPostgreSqlFlexibleServer' { + It 'Restart' { + { + Restart-AzPostgreSqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName + } | Should -Not -Throw + } + + It 'RestartViaIdentity' { + { + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSql/flexibleServers/$($env.serverName)/restart" + Restart-AzPostgreSqlFlexibleServer -InputObject $ID + } | Should -Not -Throw + } +} diff --git a/src/PostgreSql/test/Restore-AzPostgreSqlFlexibleServer.Tests.ps1 b/src/PostgreSql/test/Restore-AzPostgreSqlFlexibleServer.Tests.ps1 new file mode 100644 index 000000000000..6b85dbe94cc5 --- /dev/null +++ b/src/PostgreSql/test/Restore-AzPostgreSqlFlexibleServer.Tests.ps1 @@ -0,0 +1,21 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'Restore-AzPostgreSqlFlexibleServer.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'Restore-AzPostgreSqlFlexibleServer' { + It 'PointInTimeRestore' { + { + $restorePointInTime = (Get-Date).AddMinutes(-10) + Restore-AzPostgreSqlFlexibleServer -SourceServerName $env.serverName -Location $env.location -Name $env.restoreName -ResourceGroupName $env.resourceGroup -RestorePointInTime $restorePointInTime - + } | Should -Not -Throw + } +} diff --git a/src/PostgreSql/test/Start-AzPostgreSqlFlexibleServer.Recording.json b/src/PostgreSql/test/Start-AzPostgreSqlFlexibleServer.Recording.json new file mode 100644 index 000000000000..3cb9753576a2 --- /dev/null +++ b/src/PostgreSql/test/Start-AzPostgreSqlFlexibleServer.Recording.json @@ -0,0 +1,484 @@ +{ + "Start-AzPostgreSqlFlexibleServer+[NoContext]+Start+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/stop?api-version=2020-02-14-preview+1": { + "Request": { + "Method": "POST", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/stop?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "56" ], + "x-ms-client-request-id": [ "1e778634-f311-4bef-ab98-9de27239ebf5" ], + "CommandName": [ "Stop-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Stop-AzPostgreSqlFlexibleServer_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/0043d72d-9906-482f-942f-a0d0412760b9?api-version=2020-02-14-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0043d72d-9906-482f-942f-a0d0412760b9?api-version=2020-02-14-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "0043d72d-9906-482f-942f-a0d0412760b9" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-correlation-request-id": [ "4f7dcd88-e94a-4480-89e3-bf3ee785d952" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065801Z:4f7dcd88-e94a-4480-89e3-bf3ee785d952" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:58:01 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "82" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"StopServerManagementOperation\",\"startTime\":\"2020-11-11T06:58:01.4Z\"}" + } + }, + "Start-AzPostgreSqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0043d72d-9906-482f-942f-a0d0412760b9?api-version=2020-02-14-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0043d72d-9906-482f-942f-a0d0412760b9?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "57" ], + "x-ms-client-request-id": [ "1e778634-f311-4bef-ab98-9de27239ebf5" ], + "CommandName": [ "Stop-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Stop-AzPostgreSqlFlexibleServer_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "499318a4-9a2c-4f54-86d6-f65ca93621b7" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11960" ], + "x-ms-correlation-request-id": [ "c258275e-28dc-412a-b829-0b3e03149621" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065901Z:c258275e-28dc-412a-b829-0b3e03149621" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:59:01 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"0043d72d-9906-482f-942f-a0d0412760b9\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T06:58:01.4Z\"}" + } + }, + "Start-AzPostgreSqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0043d72d-9906-482f-942f-a0d0412760b9?api-version=2020-02-14-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0043d72d-9906-482f-942f-a0d0412760b9?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "58" ], + "x-ms-client-request-id": [ "1e778634-f311-4bef-ab98-9de27239ebf5" ], + "CommandName": [ "Stop-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Stop-AzPostgreSqlFlexibleServer_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "7bcd9d4e-ccd0-4639-9d8a-3728de75c882" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11959" ], + "x-ms-correlation-request-id": [ "0a950ca4-5816-48c5-9b4d-5ecb7cddde8e" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T070002Z:0a950ca4-5816-48c5-9b4d-5ecb7cddde8e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 07:00:01 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"0043d72d-9906-482f-942f-a0d0412760b9\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T06:58:01.4Z\"}" + } + }, + "Start-AzPostgreSqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0043d72d-9906-482f-942f-a0d0412760b9?api-version=2020-02-14-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0043d72d-9906-482f-942f-a0d0412760b9?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "59" ], + "x-ms-client-request-id": [ "1e778634-f311-4bef-ab98-9de27239ebf5" ], + "CommandName": [ "Stop-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Stop-AzPostgreSqlFlexibleServer_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "dfe3943a-6429-4ed0-968e-d07ce4fe761a" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11958" ], + "x-ms-correlation-request-id": [ "f70dc07b-b1f1-4a49-9f9f-7f064473d9cb" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T070102Z:f70dc07b-b1f1-4a49-9f9f-7f064473d9cb" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 07:01:02 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"0043d72d-9906-482f-942f-a0d0412760b9\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T06:58:01.4Z\"}" + } + }, + "Start-AzPostgreSqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0043d72d-9906-482f-942f-a0d0412760b9?api-version=2020-02-14-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0043d72d-9906-482f-942f-a0d0412760b9?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "60" ], + "x-ms-client-request-id": [ "1e778634-f311-4bef-ab98-9de27239ebf5" ], + "CommandName": [ "Stop-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Stop-AzPostgreSqlFlexibleServer_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "c8210147-7f72-4315-b2c6-f43e8584bad0" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11957" ], + "x-ms-correlation-request-id": [ "456d92f5-27f0-4ff8-abcf-a19e7c3a973b" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T070203Z:456d92f5-27f0-4ff8-abcf-a19e7c3a973b" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 07:02:02 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"0043d72d-9906-482f-942f-a0d0412760b9\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T06:58:01.4Z\"}" + } + }, + "Start-AzPostgreSqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0043d72d-9906-482f-942f-a0d0412760b9?api-version=2020-02-14-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0043d72d-9906-482f-942f-a0d0412760b9?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "61" ], + "x-ms-client-request-id": [ "1e778634-f311-4bef-ab98-9de27239ebf5" ], + "CommandName": [ "Stop-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Stop-AzPostgreSqlFlexibleServer_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "f7a2be84-3461-41d8-ab59-578ab798a9e4" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11956" ], + "x-ms-correlation-request-id": [ "88e5ebf0-a8ad-45d6-8e8d-c03cf1ac87ee" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T070303Z:88e5ebf0-a8ad-45d6-8e8d-c03cf1ac87ee" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 07:03:03 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "105" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"0043d72d-9906-482f-942f-a0d0412760b9\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T06:58:01.4Z\"}" + } + }, + "Start-AzPostgreSqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/0043d72d-9906-482f-942f-a0d0412760b9?api-version=2020-02-14-preview+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/0043d72d-9906-482f-942f-a0d0412760b9?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "62" ], + "x-ms-client-request-id": [ "1e778634-f311-4bef-ab98-9de27239ebf5" ], + "CommandName": [ "Stop-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Stop-AzPostgreSqlFlexibleServer_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "c44e248e-cec5-474f-beaf-6f370b75926d" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11955" ], + "x-ms-correlation-request-id": [ "ade9e94b-a601-4e8f-9471-6308a87d3138" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T070303Z:ade9e94b-a601-4e8f-9471-6308a87d3138" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 07:03:03 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "50" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"postgresql-test-100\",\"type\":\"PostgreSQL\"}" + } + }, + "Start-AzPostgreSqlFlexibleServer+[NoContext]+Start+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/start?api-version=2020-02-14-preview+8": { + "Request": { + "Method": "POST", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/start?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "63" ], + "x-ms-client-request-id": [ "80cb4c9f-015c-4058-a381-f88d4e007d42" ], + "CommandName": [ "Start-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Start-AzPostgreSqlFlexibleServer_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/316df0e3-565c-463c-a97c-a7bfb7eb211b?api-version=2020-02-14-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/316df0e3-565c-463c-a97c-a7bfb7eb211b?api-version=2020-02-14-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "316df0e3-565c-463c-a97c-a7bfb7eb211b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], + "x-ms-correlation-request-id": [ "e022d07f-1351-42d0-8c4d-31f24ecff0ae" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T070303Z:e022d07f-1351-42d0-8c4d-31f24ecff0ae" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 07:03:03 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "84" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"StartServerManagementOperation\",\"startTime\":\"2020-11-11T07:03:03.74Z\"}" + } + }, + "Start-AzPostgreSqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/316df0e3-565c-463c-a97c-a7bfb7eb211b?api-version=2020-02-14-preview+9": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/316df0e3-565c-463c-a97c-a7bfb7eb211b?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "64" ], + "x-ms-client-request-id": [ "80cb4c9f-015c-4058-a381-f88d4e007d42" ], + "CommandName": [ "Start-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Start-AzPostgreSqlFlexibleServer_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "744e82d4-0f8a-4a7c-974c-895e926f82f7" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11954" ], + "x-ms-correlation-request-id": [ "1fff19fe-6c1d-4d80-8f3f-72b035f077f2" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T070404Z:1fff19fe-6c1d-4d80-8f3f-72b035f077f2" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 07:04:03 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"316df0e3-565c-463c-a97c-a7bfb7eb211b\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T07:03:03.74Z\"}" + } + }, + "Start-AzPostgreSqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/316df0e3-565c-463c-a97c-a7bfb7eb211b?api-version=2020-02-14-preview+10": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/316df0e3-565c-463c-a97c-a7bfb7eb211b?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "65" ], + "x-ms-client-request-id": [ "80cb4c9f-015c-4058-a381-f88d4e007d42" ], + "CommandName": [ "Start-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Start-AzPostgreSqlFlexibleServer_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "a0a083f6-f33f-4d50-8eca-6dd2577d5262" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11953" ], + "x-ms-correlation-request-id": [ "746d13a0-3cda-46e2-acd1-b1018a29bc5b" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T070504Z:746d13a0-3cda-46e2-acd1-b1018a29bc5b" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 07:05:04 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"316df0e3-565c-463c-a97c-a7bfb7eb211b\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T07:03:03.74Z\"}" + } + }, + "Start-AzPostgreSqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/316df0e3-565c-463c-a97c-a7bfb7eb211b?api-version=2020-02-14-preview+11": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/316df0e3-565c-463c-a97c-a7bfb7eb211b?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "66" ], + "x-ms-client-request-id": [ "80cb4c9f-015c-4058-a381-f88d4e007d42" ], + "CommandName": [ "Start-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Start-AzPostgreSqlFlexibleServer_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "e4acc4ad-d8c6-4240-b84a-352d38d85877" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11952" ], + "x-ms-correlation-request-id": [ "cb67423b-8797-4637-ad5b-fe8aa551b579" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T070605Z:cb67423b-8797-4637-ad5b-fe8aa551b579" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 07:06:04 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"316df0e3-565c-463c-a97c-a7bfb7eb211b\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T07:03:03.74Z\"}" + } + }, + "Start-AzPostgreSqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/316df0e3-565c-463c-a97c-a7bfb7eb211b?api-version=2020-02-14-preview+12": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/316df0e3-565c-463c-a97c-a7bfb7eb211b?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "67" ], + "x-ms-client-request-id": [ "80cb4c9f-015c-4058-a381-f88d4e007d42" ], + "CommandName": [ "Start-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Start-AzPostgreSqlFlexibleServer_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "e4e9fa4f-089f-4cba-b156-2fe5bb5a1488" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11951" ], + "x-ms-correlation-request-id": [ "3023012f-4f19-4d10-9715-f44f04dbae61" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T070605Z:3023012f-4f19-4d10-9715-f44f04dbae61" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 07:06:04 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "50" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"postgresql-test-100\",\"type\":\"PostgreSQL\"}" + } + } +} \ No newline at end of file diff --git a/src/PostgreSql/test/Start-AzPostgreSqlFlexibleServer.Tests.ps1 b/src/PostgreSql/test/Start-AzPostgreSqlFlexibleServer.Tests.ps1 new file mode 100644 index 000000000000..d8c549a8eaa5 --- /dev/null +++ b/src/PostgreSql/test/Start-AzPostgreSqlFlexibleServer.Tests.ps1 @@ -0,0 +1,29 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'Start-AzPostgreSqlFlexibleServer.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'Start-AzPostgreSqlFlexibleServer' { + It 'Start' { + { + Stop-AzPostgreSqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName + Start-AzPostgreSqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName + } | Should -Not -Throw + } + + It 'StartViaIdentity' { + { + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSql/flexibleServers/$($env.serverName)/start" + Stop-AzPostgreSqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName + Start-AzPostgreSqlFlexibleServer -InputObject $ID + } | Should -Not -Throw + } +} diff --git a/src/PostgreSql/test/Stop-AzPostgreSqlFlexibleServer.Recording.json b/src/PostgreSql/test/Stop-AzPostgreSqlFlexibleServer.Recording.json new file mode 100644 index 000000000000..29c8c1cd2400 --- /dev/null +++ b/src/PostgreSql/test/Stop-AzPostgreSqlFlexibleServer.Recording.json @@ -0,0 +1,123 @@ +{ + "Stop-AzPostgreSqlFlexibleServer+[NoContext]+Stop+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/stop?api-version=2020-02-14-preview+1": { + "Request": { + "Method": "POST", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/stop?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1" ], + "x-ms-client-request-id": [ "9d6de964-dc32-4528-a8c1-1aeaaf8369a7" ], + "CommandName": [ "Stop-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Stop-AzPostgreSqlFlexibleServer_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/4eac6e0a-a4ca-47ba-942c-208fc9700459?api-version=2020-02-14-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/4eac6e0a-a4ca-47ba-942c-208fc9700459?api-version=2020-02-14-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "4eac6e0a-a4ca-47ba-942c-208fc9700459" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "77186c3a-433a-45d3-843c-88c20198f823" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T180630Z:77186c3a-433a-45d3-843c-88c20198f823" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 18:06:29 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "84" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"StopServerManagementOperation\",\"startTime\":\"2020-11-11T18:06:29.927Z\"}" + } + }, + "Stop-AzPostgreSqlFlexibleServer+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/4eac6e0a-a4ca-47ba-942c-208fc9700459?api-version=2020-02-14-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/4eac6e0a-a4ca-47ba-942c-208fc9700459?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "2" ], + "x-ms-client-request-id": [ "9d6de964-dc32-4528-a8c1-1aeaaf8369a7" ], + "CommandName": [ "Stop-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Stop-AzPostgreSqlFlexibleServer_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "5292c82f-1815-404f-b61c-ed177bd55c02" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-correlation-request-id": [ "01bec6f6-81d9-400d-be7f-3f27e7111caa" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T180730Z:01bec6f6-81d9-400d-be7f-3f27e7111caa" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 18:07:30 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "240" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"4eac6e0a-a4ca-47ba-942c-208fc9700459\",\"status\":\"Failed\",\"startTime\":\"2020-11-11T18:06:29.927Z\",\"error\":{\"code\":\"OperationFailed\",\"message\":\"Operation Stop failed, because server postgresql-test-100 is busy with other operations.\"}}" + } + }, + "Stop-AzPostgreSqlFlexibleServer+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/4eac6e0a-a4ca-47ba-942c-208fc9700459?api-version=2020-02-14-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/4eac6e0a-a4ca-47ba-942c-208fc9700459?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "3" ], + "x-ms-client-request-id": [ "9d6de964-dc32-4528-a8c1-1aeaaf8369a7" ], + "CommandName": [ "Stop-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Stop-AzPostgreSqlFlexibleServer_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 400, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "a8240646-1042-4680-bc39-344249571f7a" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-correlation-request-id": [ "ea885175-c9af-4824-a673-8f06fa118419" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T180730Z:ea885175-c9af-4824-a673-8f06fa118419" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 18:07:30 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "137" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"error\":{\"code\":\"OperationFailed\",\"message\":\"Operation Stop failed, because server postgresql-test-100 is busy with other operations.\"}}" + } + } +} \ No newline at end of file diff --git a/src/PostgreSql/test/Stop-AzPostgreSqlFlexibleServer.Tests.ps1 b/src/PostgreSql/test/Stop-AzPostgreSqlFlexibleServer.Tests.ps1 new file mode 100644 index 000000000000..57d3f143ce55 --- /dev/null +++ b/src/PostgreSql/test/Stop-AzPostgreSqlFlexibleServer.Tests.ps1 @@ -0,0 +1,27 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'Stop-AzPostgreSqlFlexibleServer.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'Stop-AzPostgreSqlFlexibleServer' { + It 'Stop' { + { + Stop-AzPostgreSqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName + } | Should -Not -Throw + } + + It 'StopViaIdentity' { + { + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSql/flexibleServers/$($env.serverName)/stop" + Stop-AzPostgreSqlFlexibleServer -InputObject $ID + } | Should -Not -Throw + } +} diff --git a/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServer.Recording.json b/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServer.Recording.json new file mode 100644 index 000000000000..a2f72f2b41ca --- /dev/null +++ b/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServer.Recording.json @@ -0,0 +1,234 @@ +{ + "Update-AzPostgreSqlFlexibleServer+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview+1": { + "Request": { + "Method": "PATCH", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview", + "Content": "{\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 12\r\n }\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "93" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/55d24b3d-b7e0-4fb2-9ef1-767fddabe5c8?api-version=2020-02-14-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/55d24b3d-b7e0-4fb2-9ef1-767fddabe5c8?api-version=2020-02-14-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "d9c8d9c7-28a3-4e88-9a26-f91fcf4b9c49" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1192" ], + "x-ms-correlation-request-id": [ "061abc3c-3d5d-45f2-acf3-4f04b878e294" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T070807Z:061abc3c-3d5d-45f2-acf3-4f04b878e294" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 07:08:06 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "88" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-11T07:08:07.423Z\"}" + } + }, + "Update-AzPostgreSqlFlexibleServer+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/55d24b3d-b7e0-4fb2-9ef1-767fddabe5c8?api-version=2020-02-14-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/55d24b3d-b7e0-4fb2-9ef1-767fddabe5c8?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "73" ], + "x-ms-client-request-id": [ "d3b03cf4-59cd-4ceb-b81d-83a4bb2a3def" ], + "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Update-AzPostgreSqlFlexibleServer_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "957c2c30-dee7-41d0-bd19-e7f82ec4e679" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11947" ], + "x-ms-correlation-request-id": [ "ab6ce916-8ff9-470b-99e6-933392c2611e" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T070908Z:ab6ce916-8ff9-470b-99e6-933392c2611e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 07:09:07 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "265" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"55d24b3d-b7e0-4fb2-9ef1-767fddabe5c8\",\"status\":\"Failed\",\"startTime\":\"2020-11-11T07:08:07.423Z\",\"error\":{\"code\":\"InternalServerError\",\"message\":\"An unexpected error occured while processing the request. Tracking ID: \u0027957c2c30-dee7-41d0-bd19-e7f82ec4e679\u0027\"}}" + } + }, + "Update-AzPostgreSqlFlexibleServer+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "74" ], + "x-ms-client-request-id": [ "d3b03cf4-59cd-4ceb-b81d-83a4bb2a3def" ], + "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Update-AzPostgreSqlFlexibleServer_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "daa75a4c-bb04-4336-81b7-c0673ba3b0bb" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11946" ], + "x-ms-correlation-request-id": [ "013f553f-2804-448e-b029-484a88f91f49" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T070908Z:013f553f-2804-448e-b029-484a88f91f49" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 07:09:07 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1105" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"shyHamster5\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/VNETesql-test-100/subnets/Subnetesql-test-100\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"\",\"state\":\"Stopped\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T06:48:31.9060234+00:00\",\"byokEnforcement\":\"Disabled\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0}},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}" + } + }, + "Update-AzPostgreSqlFlexibleServer+[NoContext]+UpdateViaIdentityExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview+1": { + "Request": { + "Method": "PATCH", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview", + "Content": "{\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 13\r\n }\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "93" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/a09bca4f-4688-4eca-89f7-cefcaa5021f3?api-version=2020-02-14-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a09bca4f-4688-4eca-89f7-cefcaa5021f3?api-version=2020-02-14-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "57d49ec8-a123-4b76-a069-1aa0e065d7f0" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1191" ], + "x-ms-correlation-request-id": [ "1212fe8e-ceea-4320-b30e-0c092a0420bf" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T070908Z:1212fe8e-ceea-4320-b30e-0c092a0420bf" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 07:09:08 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "88" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-11T07:09:08.647Z\"}" + } + }, + "Update-AzPostgreSqlFlexibleServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a09bca4f-4688-4eca-89f7-cefcaa5021f3?api-version=2020-02-14-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a09bca4f-4688-4eca-89f7-cefcaa5021f3?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "76" ], + "x-ms-client-request-id": [ "3ae2a72a-ea5d-4005-aaad-cd853d951999" ], + "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Update-AzPostgreSqlFlexibleServer_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "b94fdc04-f651-4212-b486-e7ddb29f9db6" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11945" ], + "x-ms-correlation-request-id": [ "768f1254-263f-466d-b858-405840057733" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T071009Z:768f1254-263f-466d-b858-405840057733" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 07:10:09 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "265" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"a09bca4f-4688-4eca-89f7-cefcaa5021f3\",\"status\":\"Failed\",\"startTime\":\"2020-11-11T07:09:08.647Z\",\"error\":{\"code\":\"InternalServerError\",\"message\":\"An unexpected error occured while processing the request. Tracking ID: \u0027b94fdc04-f651-4212-b486-e7ddb29f9db6\u0027\"}}" + } + }, + "Update-AzPostgreSqlFlexibleServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "77" ], + "x-ms-client-request-id": [ "3ae2a72a-ea5d-4005-aaad-cd853d951999" ], + "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Update-AzPostgreSqlFlexibleServer_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "138ca52e-5f68-406c-90d9-550a1101f5ef" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11944" ], + "x-ms-correlation-request-id": [ "60e70d84-3867-4789-b950-ec2178743a4c" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T071009Z:60e70d84-3867-4789-b950-ec2178743a4c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 07:10:09 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1105" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"shyHamster5\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/VNETesql-test-100/subnets/Subnetesql-test-100\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"\",\"state\":\"Stopped\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T06:48:31.9060234+00:00\",\"byokEnforcement\":\"Disabled\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0}},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}" + } + } +} \ No newline at end of file diff --git a/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServer.Tests.ps1 b/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServer.Tests.ps1 new file mode 100644 index 000000000000..92b6647df6f5 --- /dev/null +++ b/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServer.Tests.ps1 @@ -0,0 +1,29 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzPostgreSqlFlexibleServer.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'Update-AzPostgreSqlFlexibleServer' { + It 'UpdateExpanded' { + { + $server = Update-AzPostgreSqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName -BackupRetentionDay 15 + $server.StorageProfileBackupRetentionDay | Should -Be 15 + } | Should -Not -Throw + } + + It 'UpdateViaIdentityExpanded' { + { + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBforPostgreSql/flexibleServers/$($env.serverName)/" + $server = Update-AzPostgreSqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName -BackupRetentionDay 20 + $server.StorageProfileBackupRetentionDay | Should -Be 20 + } | Should -Not -Throw + } +} diff --git a/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerConfiguration.Tests.ps1 b/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerConfiguration.Tests.ps1 new file mode 100644 index 000000000000..6c5c8de68832 --- /dev/null +++ b/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerConfiguration.Tests.ps1 @@ -0,0 +1,27 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzPostgreSqlFlexibleServerConfiguration.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'Update-AzPostgreSqlFlexibleServerConfiguration' { + It 'UpdateExpanded' { + $config = Update-AzPostgreSqlFlexibleServerConfiguration -Name work_mem -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -Value 10240 + $config.Value | Should -Be 10240 + $config.DefaultValue | Should -Be 4096 + } + + It 'UpdateViaIdentityExpanded' { + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSql/flexibleServers/$($env.serverName)/configurations/work_mem" + $config = Update-AzPostgreSqlFlexibleServerConfiguration -InputObject $ID -Value 4096 + $config.Value | Should -Be 4096 + $config.DefaultValue | Should -Be 4096 + } +} diff --git a/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerFirewallRule.Recording.json b/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerFirewallRule.Recording.json new file mode 100644 index 000000000000..227b83eaa7c2 --- /dev/null +++ b/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerFirewallRule.Recording.json @@ -0,0 +1,466 @@ +{ + "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "93" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/16b92ebe-6991-42a8-a02c-4c6fba3e961f?api-version=2020-02-14-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/16b92ebe-6991-42a8-a02c-4c6fba3e961f?api-version=2020-02-14-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "16b92ebe-6991-42a8-a02c-4c6fba3e961f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1190" ], + "x-ms-correlation-request-id": [ "f2a7e722-82ab-494a-b993-fb8a67c31c46" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T071010Z:f2a7e722-82ab-494a-b993-fb8a67c31c46" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 07:10:10 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "99" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-11T07:10:10.273Z\"}" + } + }, + "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/16b92ebe-6991-42a8-a02c-4c6fba3e961f?api-version=2020-02-14-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/16b92ebe-6991-42a8-a02c-4c6fba3e961f?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "79" ], + "x-ms-client-request-id": [ "16425ac7-7e7e-40aa-a8fb-6e403c99558a" ], + "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "New-AzPostgreSqlFlexibleServerFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "c493e489-37d9-4f3c-aec4-b30c73450b3c" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11943" ], + "x-ms-correlation-request-id": [ "02509475-44dc-432d-bffb-8aaef7f11482" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T071110Z:02509475-44dc-432d-bffb-8aaef7f11482" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 07:11:10 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"16b92ebe-6991-42a8-a02c-4c6fba3e961f\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T07:10:10.273Z\"}" + } + }, + "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "80" ], + "x-ms-client-request-id": [ "16425ac7-7e7e-40aa-a8fb-6e403c99558a" ], + "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "New-AzPostgreSqlFlexibleServerFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 404, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "07fcd72e-5bd2-465e-a651-5e5dcb8fec09" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11942" ], + "x-ms-correlation-request-id": [ "2d978161-f155-42eb-9966-826acbad1e6d" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T071111Z:2d978161-f155-42eb-9966-826acbad1e6d" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 07:11:10 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "104" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The specified resource postgresqlrule01 was not found.\"}}" + } + }, + "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.2\",\r\n \"endIpAddress\": \"0.0.0.2\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "93" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/dcb5e827-af0e-4157-9db6-c9d4e6839af2?api-version=2020-02-14-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/dcb5e827-af0e-4157-9db6-c9d4e6839af2?api-version=2020-02-14-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "dcb5e827-af0e-4157-9db6-c9d4e6839af2" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1189" ], + "x-ms-correlation-request-id": [ "4f31f6ac-4c72-45c8-a802-b901794d5b70" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T071111Z:4f31f6ac-4c72-45c8-a802-b901794d5b70" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 07:11:10 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "99" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-11T07:11:11.297Z\"}" + } + }, + "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/dcb5e827-af0e-4157-9db6-c9d4e6839af2?api-version=2020-02-14-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/dcb5e827-af0e-4157-9db6-c9d4e6839af2?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "82" ], + "x-ms-client-request-id": [ "9f1bd8eb-8e65-46a4-ad89-2c76afed2d9b" ], + "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Update-AzPostgreSqlFlexibleServerFirewallRule_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "1274f129-e1a4-482a-95d7-65bb6bbf50be" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11941" ], + "x-ms-correlation-request-id": [ "cccf9005-8d98-4cda-a9e9-ea97cf80e099" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T071211Z:cccf9005-8d98-4cda-a9e9-ea97cf80e099" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 07:12:10 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"dcb5e827-af0e-4157-9db6-c9d4e6839af2\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T07:11:11.297Z\"}" + } + }, + "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "83" ], + "x-ms-client-request-id": [ "9f1bd8eb-8e65-46a4-ad89-2c76afed2d9b" ], + "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Update-AzPostgreSqlFlexibleServerFirewallRule_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 404, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "a3259780-2d0b-40d1-bc96-a1a09207ef53" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11940" ], + "x-ms-correlation-request-id": [ "47190f01-f6c8-43b2-b0f7-fdabe8621536" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T071211Z:47190f01-f6c8-43b2-b0f7-fdabe8621536" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 07:12:11 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "104" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The specified resource postgresqlrule01 was not found.\"}}" + } + }, + "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.4\",\r\n \"endIpAddress\": \"0.0.0.5\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "93" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/5a75470f-81c7-4864-aed5-24bda342e477?api-version=2020-02-14-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/5a75470f-81c7-4864-aed5-24bda342e477?api-version=2020-02-14-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "5a75470f-81c7-4864-aed5-24bda342e477" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1188" ], + "x-ms-correlation-request-id": [ "aaefc8fa-3aba-4e95-8562-92eac17624a8" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T071212Z:aaefc8fa-3aba-4e95-8562-92eac17624a8" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 07:12:11 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "99" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-11T07:12:12.233Z\"}" + } + }, + "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/5a75470f-81c7-4864-aed5-24bda342e477?api-version=2020-02-14-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/5a75470f-81c7-4864-aed5-24bda342e477?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "85" ], + "x-ms-client-request-id": [ "da2b01ca-97b6-40a1-85eb-6172994f48d6" ], + "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Update-AzPostgreSqlFlexibleServerFirewallRule_UpdateViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "7c3d5920-fc65-4b6c-99a9-c888bcd487bc" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11939" ], + "x-ms-correlation-request-id": [ "4c3c5ebf-a967-45d3-9405-496356273609" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T071312Z:4c3c5ebf-a967-45d3-9405-496356273609" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 07:13:12 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"5a75470f-81c7-4864-aed5-24bda342e477\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T07:12:12.233Z\"}" + } + }, + "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "86" ], + "x-ms-client-request-id": [ "da2b01ca-97b6-40a1-85eb-6172994f48d6" ], + "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Update-AzPostgreSqlFlexibleServerFirewallRule_UpdateViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 404, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "6b32839a-8e03-411f-b209-1f0bb2e25b0b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11938" ], + "x-ms-correlation-request-id": [ "3b78e467-1da1-4bfd-9e47-e40fbc660ab9" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T071312Z:3b78e467-1da1-4bfd-9e47-e40fbc660ab9" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 07:13:12 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "104" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The specified resource postgresqlrule01 was not found.\"}}" + } + }, + "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddressViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.9\",\r\n \"endIpAddress\": \"0.0.0.9\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "93" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/20a820f3-65fe-4eff-a99a-995832d61c60?api-version=2020-02-14-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/20a820f3-65fe-4eff-a99a-995832d61c60?api-version=2020-02-14-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "20a820f3-65fe-4eff-a99a-995832d61c60" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1187" ], + "x-ms-correlation-request-id": [ "77f106b6-b7fa-4e75-9ce8-29c97655b84f" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T071313Z:77f106b6-b7fa-4e75-9ce8-29c97655b84f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 07:13:12 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "99" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-11T07:13:13.217Z\"}" + } + }, + "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddressViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/20a820f3-65fe-4eff-a99a-995832d61c60?api-version=2020-02-14-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/20a820f3-65fe-4eff-a99a-995832d61c60?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "88" ], + "x-ms-client-request-id": [ "66620129-b60b-4194-b1c8-d3c4466108c2" ], + "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Update-AzPostgreSqlFlexibleServerFirewallRule_UpdateViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "5e8c0c91-0d5c-45b7-b08a-c01c4c79b2b2" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11937" ], + "x-ms-correlation-request-id": [ "812ca04b-2245-4a79-8107-d9d74067ae54" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T071413Z:812ca04b-2245-4a79-8107-d9d74067ae54" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 07:14:12 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"20a820f3-65fe-4eff-a99a-995832d61c60\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T07:13:13.217Z\"}" + } + }, + "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddressViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "89" ], + "x-ms-client-request-id": [ "66620129-b60b-4194-b1c8-d3c4466108c2" ], + "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Update-AzPostgreSqlFlexibleServerFirewallRule_UpdateViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 404, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "16f4633c-5fdd-4122-bf65-6d86108bbe41" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11936" ], + "x-ms-correlation-request-id": [ "9b8bf281-7a1f-4da2-9065-18e4f2d5e5d5" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T071413Z:9b8bf281-7a1f-4da2-9065-18e4f2d5e5d5" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 07:14:13 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "104" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The specified resource postgresqlrule01 was not found.\"}}" + } + } +} \ No newline at end of file diff --git a/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 b/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 new file mode 100644 index 000000000000..b3e618be8cc0 --- /dev/null +++ b/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 @@ -0,0 +1,41 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzPostgreSqlFlexibleServerFirewallRule.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'Update-AzPostgreSqlFlexibleServerFirewallRule' { + It 'UpdateExpanded' { + New-AzPostgreSqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 + $rule = Update-AzPostgreSqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 + $rule.StartIPAddress | Should -Be 0.0.0.2 + $rule.EndIPAddress | Should -Be 0.0.0.3 + } + + It 'ClientIPAddress' { + $rule = Update-AzPostgreSqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -ClientIPAddress 0.0.0.2 + $rule.StartIPAddress | Should -Be 0.0.0.2 + $rule.EndIPAddress | Should -Be 0.0.0.2 + } + + It 'UpdateViaIdentityExpanded' { + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSql/flexibleServers/$($env.serverName)/firewallRules/$($env.firewallRuleName)" + $rule = Update-AzPostgreSqlFlexibleServerFirewallRule -InputObject $ID -EndIPAddress 0.0.0.5 -StartIPAddress 0.0.0.4 + $rule.StartIPAddress | Should -Be 0.0.0.4 + $rule.EndIPAddress | Should -Be 0.0.0.5 + } + + It 'ClientIPAddressViaIdentity' { + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSql/flexibleServers/$($env.serverName)/firewallRules/$($env.firewallRuleName)" + $rule = Update-AzPostgreSqlFlexibleServerFirewallRule -InputObject $ID -ClientIPAddress 0.0.0.9 + $rule.StartIPAddress | Should -Be 0.0.0.9 + $rule.EndIPAddress | Should -Be 0.0.0.9 + } +} diff --git a/src/PostgreSql/test/env.json b/src/PostgreSql/test/env.json index 88d516128105..3063a7a417b8 100644 --- a/src/PostgreSql/test/env.json +++ b/src/PostgreSql/test/env.json @@ -1,15 +1,15 @@ { - "SubscriptionId": "9e223dbe-3399-4e19-88eb-0975f02ac87f", - "resourceGroup": "PostgreSqlTest", "serverName2": "postgresql-test-100-2", - "Sku": "GP_Gen5_4", - "restoreName2": "postgresql-test-100-restore-2", + "VNetName": "postgresqlvnet", "firewallRuleName2": "postgresqlrule02", + "serverName": "postgresql-test-100", + "restoreName2": "postgresql-test-100-restore-2", "replicaName": "postgresql-test-100-replica", - "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "location": "eastus", "firewallRuleName": "postgresqlrule01", - "VNetName": "postgresqlvnet", - "serverName": "postgresql-test-100", + "SubscriptionId": "7fec3109-5b78-4a24-b834-5d47d63e2596", + "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", "restoreName": "postgresql-test-100-restore", - "location": "eastus" + "resourceGroup": "PostgreSqlTest", + "Sku": "Standard_D2s_v3" } diff --git a/src/PostgreSql/test/utils.ps1 b/src/PostgreSql/test/utils.ps1 index 255d0b26b83b..174597fdde37 100644 --- a/src/PostgreSql/test/utils.ps1 +++ b/src/PostgreSql/test/utils.ps1 @@ -27,11 +27,11 @@ function setupEnv() { $location = "eastus" $env.Add("resourceGroup", $resourceGroup) $env.Add("location", $location) - New-AzResourceGroup -Name $resourceGroup -Location $location + # New-AzResourceGroup -Name $resourceGroup -Location $location # Create the test Vnet write-host "Deploy Vnet template" - New-AzDeployment -Mode Incremental -TemplateFile .\test\deployment-templates\virtual-network\template.json -TemplateParameterFile .\test\deployment-templates\virtual-network\parameters.json -Name vn -ResourceGroupName $resourceGroup + # New-AzDeployment -Mode Incremental -TemplateFile .\test\deployment-templates\virtual-network\template.json -TemplateParameterFile .\test\deployment-templates\virtual-network\parameters.json -Name vn -ResourceGroupName $resourceGroup #[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] $password = 'Pa88word!' | ConvertTo-SecureString -AsPlainText -Force @@ -39,12 +39,18 @@ function setupEnv() { $env.Add("serverName", $serverName) $Sku = "GP_Gen5_4" $env.Add("Sku", $Sku) + $FlexibleSku = "Standard_D2s_v3" + $env.Add("FlexibleSku", $Sku) write-host (Get-AzContext | Out-String) write-host "New-AzPostgreSqlServer -Name $serverName -ResourceGroupName $resourceGroup -Location $location -AdministratorUserName postgresql_test -AdministratorLoginPassword $password -Sku $Sku" New-AzPostgreSqlServer -Name $serverName -ResourceGroupName $resourceGroup -Location $location -AdministratorUserName postgresql_test -AdministratorLoginPassword $password -Sku $Sku + + write-host "New-AzPostgreSqlFlexibleServer -Name $serverName -ResourceGroupName $resourceGroup -AdministratorUserName postgresql_test -AdministratorLoginPassword $password" + New-AzPostgreSqlFlexibleServer -Name $serverName -ResourceGroupName $resourceGroup -AdministratorUserName postgresql_test -AdministratorLoginPassword $password + $envFile = 'env.json' if ($TestMode -eq 'live') { $envFile = 'localEnv.json' @@ -57,4 +63,3 @@ function cleanupEnv() { write-host "Clean resources you create for testing." Remove-AzResourceGroup -Name $env.resourceGroup } - From a83d72819fa3f97980bb55fa0d4917a28b68b8e3 Mon Sep 17 00:00:00 2001 From: Daeun Yim Date: Wed, 11 Nov 2020 23:38:45 -0800 Subject: [PATCH 13/51] mysql test success --- ...MySqlFlexibleServer_PointInTimeRestore.ps1 | 26 +- .../docs/Restart-AzMySqlFlexibleServer.md | 2 +- .../docs/Restore-AzMySqlFlexibleServer.md | 3 +- src/MySql/docs/Start-AzMySqlFlexibleServer.md | 2 +- src/MySql/docs/Stop-AzMySqlFlexibleServer.md | 2 +- src/MySql/test/Az.MySql-TestResults.xml | 29 +- .../Get-AzMySqlConfiguration.Recording.json | 93 +- ...Get-AzMySqlConnectionString.Recording.json | 288 ++- .../Get-AzMySqlFirewallRule.Recording.json | 798 +++++- .../test/Get-AzMySqlReplica.Recording.json | 980 +++++++- .../test/Get-AzMySqlServer.Recording.json | 113 +- ...t-AzMySqlVirtualNetworkRule.Recording.json | 798 +++++- .../New-AzMySqlFirewallRule.Recording.json | 675 ++++- .../New-AzMySqlFlexibleServer.Recording.json | 192 +- ...New-AzMySqlFlexibleServerReplica.Tests.ps1 | 2 +- .../test/New-AzMySqlServer.Recording.json | 278 +++ .../New-AzMySqlServerReplica.Recording.json | 1021 +++++++- ...w-AzMySqlVirtualNetworkRule.Recording.json | 227 +- .../Remove-AzMySqlFirewallRule.Recording.json | 474 ++++ .../test/Remove-AzMySqlServer.Recording.json | 554 +++++ ...e-AzMySqlVirtualNetworkRule.Recording.json | 454 +++- ...start-AzMySqlFlexibleServer.Recording.json | 204 +- .../test/Restart-AzMySqlServer.Recording.json | 482 ++++ ...store-AzMySqlFlexibleServer.Recording.json | 764 +++++- .../Restore-AzMySqlFlexibleServer.Tests.ps1 | 3 +- .../test/Restore-AzMySqlServer.Recording.json | 2170 ++++++++++++++++- ...Start-AzMySqlFlexibleServer.Recording.json | 652 ++++- .../Stop-AzMySqlFlexibleServer.Recording.json | 468 +++- .../test/Stop-AzMySqlFlexibleServer.Tests.ps1 | 1 + ...Update-AzMySqlConfiguration.Recording.json | 225 +- .../Update-AzMySqlFirewallRule.Recording.json | 686 +++++- ...pdate-AzMySqlFlexibleServer.Recording.json | 114 +- .../test/Update-AzMySqlServer.Recording.json | 252 +- ...e-AzMySqlVirtualNetworkRule.Recording.json | 686 +++++- src/MySql/test/env.json | 17 +- src/MySql/test/utils.ps1 | 12 +- 36 files changed, 12969 insertions(+), 778 deletions(-) create mode 100644 src/MySql/test/New-AzMySqlServer.Recording.json create mode 100644 src/MySql/test/Remove-AzMySqlFirewallRule.Recording.json create mode 100644 src/MySql/test/Remove-AzMySqlServer.Recording.json create mode 100644 src/MySql/test/Restart-AzMySqlServer.Recording.json diff --git a/src/MySql/custom/Restore-AzMySqlFlexibleServer_PointInTimeRestore.ps1 b/src/MySql/custom/Restore-AzMySqlFlexibleServer_PointInTimeRestore.ps1 index fd235dd472b6..29e8e836dda7 100644 --- a/src/MySql/custom/Restore-AzMySqlFlexibleServer_PointInTimeRestore.ps1 +++ b/src/MySql/custom/Restore-AzMySqlFlexibleServer_PointInTimeRestore.ps1 @@ -45,7 +45,7 @@ function Restore-AzMySqlFlexibleServer_PointInTimeRestore { [Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated] ${InputObject}, - [Parameter(HelpMessage = 'The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8.')] + [Parameter(HelpMessage = 'The name of the sku, e.g., Standard_D2ds_v4, Standard_B1ms')] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] [System.String] ${Sku}, @@ -108,14 +108,22 @@ function Restore-AzMySqlFlexibleServer_PointInTimeRestore { process { try { - $PSBoundParameters.CreateMode = [Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.CreateMode]::PointInTimeRestore - - $server = $PSBoundParameters['InputObject'] - $PSBoundParameters.SourceServerId = $server.Id - $PSBoundParameters.Location = $server.Location - $null = $PSBoundParameters.Remove('InputObject') - - Az.MySql.internal\New-AzMySqlFlexibleServer @PSBoundParameters + $PSBoundParameters.CreateMode = [Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.CreateMode]::PointInTimeRestore + + $server = $PSBoundParameters['InputObject'] + $PSBoundParameters.SourceServerId = $server.Id + $PSBoundParameters.Location = $server.Location + $PSBoundParameters.SkuName = $server.SkuName + $null = $PSBoundParameters.Remove('InputObject') + + if($PSBoundParameters.ContainsKey('Sku')) + { + $PSBoundParameters.SkuName = $PSBoundParameters['Sku'] + $null = $PSBoundParameters.Remove('Sku') + } + + + Az.MySql.internal\New-AzMySqlFlexibleServer @PSBoundParameters } catch { throw } diff --git a/src/MySql/docs/Restart-AzMySqlFlexibleServer.md b/src/MySql/docs/Restart-AzMySqlFlexibleServer.md index abc246f7a550..857c695d120f 100644 --- a/src/MySql/docs/Restart-AzMySqlFlexibleServer.md +++ b/src/MySql/docs/Restart-AzMySqlFlexibleServer.md @@ -38,7 +38,7 @@ Restart the server by name ### Example 2: Restart the server by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test/restart" PS C:\> Restart-AzMySqlFlexibleServer -InputObject $ID ``` diff --git a/src/MySql/docs/Restore-AzMySqlFlexibleServer.md b/src/MySql/docs/Restore-AzMySqlFlexibleServer.md index 24add4f05a52..b9b725c632f5 100644 --- a/src/MySql/docs/Restore-AzMySqlFlexibleServer.md +++ b/src/MySql/docs/Restore-AzMySqlFlexibleServer.md @@ -144,8 +144,7 @@ Accept wildcard characters: False ``` ### -Sku -The name of the sku, typically, tier + family + cores, e.g. -B_Gen4_1, GP_Gen5_8. +The name of the sku, e.g., Standard_D2ds_v4, Standard_B1ms ```yaml Type: System.String diff --git a/src/MySql/docs/Start-AzMySqlFlexibleServer.md b/src/MySql/docs/Start-AzMySqlFlexibleServer.md index 14a06af7cdea..ee410c0c1342 100644 --- a/src/MySql/docs/Start-AzMySqlFlexibleServer.md +++ b/src/MySql/docs/Start-AzMySqlFlexibleServer.md @@ -38,7 +38,7 @@ Start the server by name ### Example 2: Start the server by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test/start" PS C:\> Start-AzMySqlFlexibleServer -InputObject $ID ``` diff --git a/src/MySql/docs/Stop-AzMySqlFlexibleServer.md b/src/MySql/docs/Stop-AzMySqlFlexibleServer.md index cacdde999079..3eb9f0132843 100644 --- a/src/MySql/docs/Stop-AzMySqlFlexibleServer.md +++ b/src/MySql/docs/Stop-AzMySqlFlexibleServer.md @@ -38,7 +38,7 @@ Stop the server by name ### Example 2: Stop the server by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test/stop" PS C:\> Stop-AzMySqlFlexibleServer -InputObject $ID ``` diff --git a/src/MySql/test/Az.MySql-TestResults.xml b/src/MySql/test/Az.MySql-TestResults.xml index 04297cda91d1..cfc416758c3b 100644 --- a/src/MySql/test/Az.MySql-TestResults.xml +++ b/src/MySql/test/Az.MySql-TestResults.xml @@ -1,31 +1,14 @@  - - + + - + - + - + - - - Expected no exception to be thrown, but an exception "[OperationFailed] : Operation Restart failed, because server mysql-test-100 is busy with other operations." was thrown from C:\Users\daeunyim\work\azure-powershell\src\MySql\test\Restart-AzMySqlFlexibleServer.Tests.ps1:17 char:13 - + Restart-AzMySqlFlexibleServer -ResourceGroupName $env.res … - + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~. - at <ScriptBlock>, C:\Users\daeunyim\work\azure-powershell\src\MySql\test\Restart-AzMySqlFlexibleServer.Tests.ps1: line 18 -18: } | Should -Not -Throw - - - - - Expected no exception to be thrown, but an exception "[OperationFailed] : Operation Restart failed, because server mysql-test-100 is busy with other operations." was thrown from C:\Users\daeunyim\work\azure-powershell\src\MySql\test\Restart-AzMySqlFlexibleServer.Tests.ps1:24 char:13 - + Restart-AzMySqlFlexibleServer -InputObject $ID - + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~. - at <ScriptBlock>, C:\Users\daeunyim\work\azure-powershell\src\MySql\test\Restart-AzMySqlFlexibleServer.Tests.ps1: line 25 -25: } | Should -Not -Throw - - + diff --git a/src/MySql/test/Get-AzMySqlConfiguration.Recording.json b/src/MySql/test/Get-AzMySqlConfiguration.Recording.json index 948d7fbc3098..0849b54d8500 100644 --- a/src/MySql/test/Get-AzMySqlConfiguration.Recording.json +++ b/src/MySql/test/Get-AzMySqlConfiguration.Recording.json @@ -1,12 +1,12 @@ { - "Get-AzMySqlConfiguration+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations?api-version=2017-12-01+1": { + "Get-AzMySqlConfiguration+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations?api-version=2017-12-01", "Content": null, "Headers": { - "x-ms-unique-id": [ "2" ], - "x-ms-client-request-id": [ "a642c95b-46bb-4d30-b42a-a1f60cc1fb88" ], + "x-ms-unique-id": [ "1" ], + "x-ms-client-request-id": [ "a45b33cb-c5e1-40b1-9bfc-9a987932a5e5" ], "CommandName": [ "Get-AzMySqlConfiguration" ], "FullCommandName": [ "Get-AzMySqlConfiguration_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -17,34 +17,35 @@ } }, "Response": { - "StatusCode": 404, + "StatusCode": 200, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ "gateway" ], - "x-ms-request-id": [ "69e7a0c8-38cd-4194-a38a-7edbfeb42df1" ], - "x-ms-correlation-request-id": [ "69e7a0c8-38cd-4194-a38a-7edbfeb42df1" ], - "x-ms-routing-request-id": [ "WESTUS2:20201110T002705Z:69e7a0c8-38cd-4194-a38a-7edbfeb42df1" ], + "x-ms-request-id": [ "d10ec4f7-ff7a-4a42-a932-cf3e51a792cd" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-correlation-request-id": [ "9f628787-a5c0-4594-844a-839f207f05c1" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T051316Z:9f628787-a5c0-4594-844a-839f207f05c1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 10 Nov 2020 00:27:05 GMT" ] + "Date": [ "Fri, 24 Jul 2020 05:13:15 GMT" ] }, "ContentHeaders": { + "Content-Length": [ "102078" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ], - "Content-Length": [ "224" ] + "Expires": [ "-1" ] }, - "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForMySQL/servers/mysql-test-100\u0027 under resource group \u0027MySqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" + "Content": "{\"value\":[{\"properties\":{\"value\":\"OFF\",\"description\":\"Allow to audit the log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/audit_log_enabled\",\"name\":\"audit_log_enabled\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"CONNECTION\",\"description\":\"Select the events to audit logs.\",\"defaultValue\":\"CONNECTION\",\"dataType\":\"Set\",\"allowedValues\":\"DDL,DML_SELECT,DML_NONSELECT,DCL,ADMIN,DML,GENERAL,CONNECTION,TABLE_ACCESS\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/audit_log_events\",\"name\":\"audit_log_events\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"azure_superuser\",\"description\":\"The comma-separated user list whose commands will not be in the audit logs.\",\"defaultValue\":\"azure_superuser\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/audit_log_exclude_users\",\"name\":\"audit_log_exclude_users\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"The comma-separated user list whose commands will be in the audit logs. It takes higher priority if the same user name is found in audit_log_exclude_users.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/audit_log_include_users\",\"name\":\"audit_log_include_users\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The number of seconds for automatic binary log file removal. The default is 0, which means no automatic removal. Possible removals happen at startup and when the binary log is flushed.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/binlog_expire_logs_seconds\",\"name\":\"binlog_expire_logs_seconds\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Controls how many microseconds the binary log commit waits before synchronizing the binary log file to disk.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0,11-1000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/binlog_group_commit_sync_delay\",\"name\":\"binlog_group_commit_sync_delay\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The maximum number of transactions to wait for before aborting the current delay as specified by binlog-group-commit-sync-delay.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/binlog_group_commit_sync_no_delay_count\",\"name\":\"binlog_group_commit_sync_no_delay_count\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"minimal\",\"description\":\"For MySQL row-based replication, this variable determines how row images are written to the binary log.\",\"defaultValue\":\"minimal\",\"dataType\":\"Enumeration\",\"allowedValues\":\"full,minimal,noblob\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/binlog_row_image\",\"name\":\"binlog_row_image\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"30\",\"description\":\"The binlog max capacity for stop.\",\"defaultValue\":\"30\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/binlog_sum_size_for_stop_pct_max\",\"name\":\"binlog_sum_size_for_stop_pct_max\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"latin1\",\"description\":\"Use charset_name as the default server character set.\",\"defaultValue\":\"latin1\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ARMSCII8,ASCII,BIG5,BINARY,CP1250,CP1251,CP1256,CP1257,CP850,CP852,CP866,CP932,DEC8,EUCJPMS,EUCKR,GB18030,GB2312,GBK,GEOSTD8,GREEK,HEBREW,HP8,KEYBCS2,KOI8R,KOI8U,LATIN1,LATIN2,LATIN5,LATIN7,MACCE,MACROMAN,SJIS,SWE7,TIS620,UCS2,UJIS,UTF16,UTF16LE,UTF32,UTF8,UTF8MB4\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/character_set_server\",\"name\":\"character_set_server\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"latin1_swedish_ci\",\"description\":\"The server\u0027s default collation.\",\"defaultValue\":\"latin1_swedish_ci\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ARMSCII8_BIN,ARMSCII8_GENERAL_CI,ASCII_BIN,ASCII_GENERAL_CI,BIG5_BIN,BIG5_CHINESE_CI,BINARY,CP1250_BIN,CP1250_CROATIAN_CI,CP1250_CZECH_CS,CP1250_GENERAL_CI,CP1250_POLISH_CI,CP1251_BIN,CP1251_BULGARIAN_CI,CP1251_GENERAL_CI,CP1251_GENERAL_CS,CP1251_UKRAINIAN_CI,CP1256_BIN,CP1256_GENERAL_CI,CP1257_BIN,CP1257_GENERAL_CI,CP1257_LITHUANIAN_CI,CP850_BIN,CP850_GENERAL_CI,CP852_BIN,CP852_GENERAL_CI,CP866_BIN,CP866_GENERAL_CI,CP932_BIN,CP932_JAPANESE_CI,DEC8_BIN,DEC8_SWEDISH_CI,EUCJPMS_BIN,EUCJPMS_JAPANESE_CI,EUCKR_BIN,EUCKR_KOREAN_CI,GB18030_BIN,GB18030_CHINESE_CI,GB18030_UNICODE_520_CI,GB2312_BIN,GB2312_CHINESE_CI,GBK_BIN,GBK_CHINESE_CI,GEOSTD8_BIN,GEOSTD8_GENERAL_CI,GREEK_BIN,GREEK_GENERAL_CI,HEBREW_BIN,HEBREW_GENERAL_CI,HP8_BIN,HP8_ENGLISH_CI,KEYBCS2_BIN,KEYBCS2_GENERAL_CI,KOI8R_BIN,KOI8R_GENERAL_CI,KOI8U_BIN,KOI8U_GENERAL_CI,LATIN1_BIN,LATIN1_DANISH_CI,LATIN1_GENERAL_CI,LATIN1_GENERAL_CS,LATIN1_GERMAN1_CI,LATIN1_GERMAN2_CI,LATIN1_SPANISH_CI,LATIN1_SWEDISH_CI,LATIN2_BIN,LATIN2_CROATIAN_CI,LATIN2_CZECH_CS,LATIN2_GENERAL_CI,LATIN2_HUNGARIAN_CI,LATIN5_BIN,LATIN5_TURKISH_CI,LATIN7_BIN,LATIN7_ESTONIAN_CS,LATIN7_GENERAL_CI,LATIN7_GENERAL_CS,MACCE_BIN,MACCE_GENERAL_CI,MACROMAN_BIN,MACROMAN_GENERAL_CI,SJIS_BIN,SJIS_JAPANESE_CI,SWE7_BIN,SWE7_SWEDISH_CI,TIS620_BIN,TIS620_THAI_CI,UCS2_BIN,UCS2_CROATIAN_CI,UCS2_CZECH_CI,UCS2_DANISH_CI,UCS2_ESPERANTO_CI,UCS2_ESTONIAN_CI,UCS2_GENERAL_CI,UCS2_GENERAL_MYSQL500_CI,UCS2_GERMAN2_CI,UCS2_HUNGARIAN_CI,UCS2_ICELANDIC_CI,UCS2_LATVIAN_CI,UCS2_LITHUANIAN_CI,UCS2_PERSIAN_CI,UCS2_POLISH_CI,UCS2_ROMAN_CI,UCS2_ROMANIAN_CI,UCS2_SINHALA_CI,UCS2_SLOVAK_CI,UCS2_SLOVENIAN_CI,UCS2_SPANISH_CI,UCS2_SPANISH2_CI,UCS2_SWEDISH_CI,UCS2_TURKISH_CI,UCS2_UNICODE_520_CI,UCS2_UNICODE_CI,UCS2_VIETNAMESE_CI,UJIS_BIN,UJIS_JAPANESE_CI,UTF16_BIN,UTF16_CROATIAN_CI,UTF16_CZECH_CI,UTF16_DANISH_CI,UTF16_ESPERANTO_CI,UTF16_ESTONIAN_CI,UTF16_GENERAL_CI,UTF16_GERMAN2_CI,UTF16_HUNGARIAN_CI,UTF16_ICELANDIC_CI,UTF16_LATVIAN_CI,UTF16_LITHUANIAN_CI,UTF16_PERSIAN_CI,UTF16_POLISH_CI,UTF16_ROMAN_CI,UTF16_ROMANIAN_CI,UTF16_SINHALA_CI,UTF16_SLOVAK_CI,UTF16_SLOVENIAN_CI,UTF16_SPANISH_CI,UTF16_SPANISH2_CI,UTF16_SWEDISH_CI,UTF16_TURKISH_CI,UTF16_UNICODE_520_CI,UTF16_UNICODE_CI,UTF16_VIETNAMESE_CI,UTF16LE_BIN,UTF16LE_GENERAL_CI,UTF32_BIN,UTF32_CROATIAN_CI,UTF32_CZECH_CI,UTF32_DANISH_CI,UTF32_ESPERANTO_CI,UTF32_ESTONIAN_CI,UTF32_GENERAL_CI,UTF32_GERMAN2_CI,UTF32_HUNGARIAN_CI,UTF32_ICELANDIC_CI,UTF32_LATVIAN_CI,UTF32_LITHUANIAN_CI,UTF32_PERSIAN_CI,UTF32_POLISH_CI,UTF32_ROMAN_CI,UTF32_ROMANIAN_CI,UTF32_SINHALA_CI,UTF32_SLOVAK_CI,UTF32_SLOVENIAN_CI,UTF32_SPANISH_CI,UTF32_SPANISH2_CI,UTF32_SWEDISH_CI,UTF32_TURKISH_CI,UTF32_UNICODE_520_CI,UTF32_UNICODE_CI,UTF32_VIETNAMESE_CI,UTF8_BIN,UTF8_CROATIAN_CI,UTF8_CZECH_CI,UTF8_DANISH_CI,UTF8_ESPERANTO_CI,UTF8_ESTONIAN_CI,UTF8_GENERAL_CI,UTF8_GENERAL_MYSQL500_CI,UTF8_GERMAN2_CI,UTF8_HUNGARIAN_CI,UTF8_ICELANDIC_CI,UTF8_LATVIAN_CI,UTF8_LITHUANIAN_CI,UTF8_PERSIAN_CI,UTF8_POLISH_CI,UTF8_ROMAN_CI,UTF8_ROMANIAN_CI,UTF8_SINHALA_CI,UTF8_SLOVAK_CI,UTF8_SLOVENIAN_CI,UTF8_SPANISH_CI,UTF8_SPANISH2_CI,UTF8_SWEDISH_CI,UTF8_TURKISH_CI,UTF8_UNICODE_520_CI,UTF8_UNICODE_CI,UTF8_VIETNAMESE_CI,UTF8MB4_BIN,UTF8MB4_CROATIAN_CI,UTF8MB4_CZECH_CI,UTF8MB4_DANISH_CI,UTF8MB4_ESPERANTO_CI,UTF8MB4_ESTONIAN_CI,UTF8MB4_GENERAL_CI,UTF8MB4_GERMAN2_CI,UTF8MB4_HUNGARIAN_CI,UTF8MB4_ICELANDIC_CI,UTF8MB4_LATVIAN_CI,UTF8MB4_LITHUANIAN_CI,UTF8MB4_PERSIAN_CI,UTF8MB4_POLISH_CI,UTF8MB4_ROMAN_CI,UTF8MB4_ROMANIAN_CI,UTF8MB4_SINHALA_CI,UTF8MB4_SLOVAK_CI,UTF8MB4_SLOVENIAN_CI,UTF8MB4_SPANISH_CI,UTF8MB4_SPANISH2_CI,UTF8MB4_SWEDISH_CI,UTF8MB4_TURKISH_CI,UTF8MB4_UNICODE_520_CI,UTF8MB4_UNICODE_CI,UTF8MB4_VIETNAMESE_CI\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/collation_server\",\"name\":\"collation_server\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The default mode value to use for the WEEK() function.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-7\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/default_week_format\",\"name\":\"default_week_format\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"Number of digits by which to increase the scale of the result of division operations.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"0-30\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/div_precision_increment\",\"name\":\"div_precision_increment\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"This variable indicates the number of equality ranges in an equality comparison condition when the optimizer should switch from using index dives to index statistics in estimating the number of qualifying rows.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/eq_range_index_dive_limit\",\"name\":\"eq_range_index_dive_limit\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Indicates the status of the Event Scheduler. It is always OFF for a replica server to keep the replication consistency.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/event_scheduler\",\"name\":\"event_scheduler\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"If this is set to a nonzero value, all tables are closed every flush_time seconds to free up resources and synchronize unflushed data to disk.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-8640000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/flush_time\",\"name\":\"flush_time\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"20\",\"description\":\"The number of top matches to use for full-text searches performed using WITH QUERY EXPANSION.\",\"defaultValue\":\"20\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/ft_query_expansion_limit\",\"name\":\"ft_query_expansion_limit\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"Maximum allowed result length in bytes for the GROUP_CONCAT().\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"4-16777216\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/group_concat_max_len\",\"name\":\"group_concat_max_len\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"A string to be executed by the server for each client that connects.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/init_connect\",\"name\":\"init_connect\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Specifies whether to dynamically adjust the rate of flushing dirty pages in the InnoDB buffer pool based on the workload. Adjusting the flush rate dynamically is intended to avoid bursts of I/O activity.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_adaptive_flushing\",\"name\":\"innodb_adaptive_flushing\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Defines the low water mark representing percentage of redo log capacity at which adaptive flushing is enabled.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-70\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_adaptive_flushing_lwm\",\"name\":\"innodb_adaptive_flushing_lwm\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Whether innodb adaptive hash indexes are enabled or disabled.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_adaptive_hash_index\",\"name\":\"innodb_adaptive_hash_index\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"Partitions the adaptive hash index search system. Each index is bound to a specific partition, with each partition protected by a separate latch. \",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"1-512\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_adaptive_hash_index_parts\",\"name\":\"innodb_adaptive_hash_index_parts\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"150000\",\"description\":\"Permits InnoDB to automatically adjust the value of innodb_thread_sleep_delay up or down according to the current workload.\",\"defaultValue\":\"150000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_adaptive_max_sleep_delay\",\"name\":\"innodb_adaptive_max_sleep_delay\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"The increment size (in megabytes) for extending the size of an auto-extending InnoDB system tablespace file when it becomes full.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"1-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_autoextend_increment\",\"name\":\"innodb_autoextend_increment\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"The lock mode to use for generating auto-increment values.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0,1,2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_autoinc_lock_mode\",\"name\":\"innodb_autoinc_lock_mode\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"25\",\"description\":\"Specifies the percentage of the most recently used pages for each buffer pool to read out and dump.\",\"defaultValue\":\"25\",\"dataType\":\"Integer\",\"allowedValues\":\"1-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_buffer_pool_dump_pct\",\"name\":\"innodb_buffer_pool_dump_pct\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"16106127360\",\"description\":\"The size in bytes of the buffer pool, the memory area where InnoDB caches table and index data.\",\"defaultValue\":\"16106127360\",\"dataType\":\"Integer\",\"allowedValues\":\"134217728-16106127360\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_buffer_pool_size\",\"name\":\"innodb_buffer_pool_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"25\",\"description\":\"Maximum size for the InnoDB change buffer, as a percentage of the total size of the buffer pool. You might increase this value for a MySQL server with heavy insert, update, and delete activity, or decrease it for a MySQL server with unchanging data used for reporting.\",\"defaultValue\":\"25\",\"dataType\":\"Integer\",\"allowedValues\":\"0-50\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_change_buffer_max_size\",\"name\":\"innodb_change_buffer_max_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"all\",\"description\":\"Whether InnoDB performs change buffering, an optimization that delays write operations to secondary indexes so that the I/O operations can be performed sequentially.\",\"defaultValue\":\"all\",\"dataType\":\"Enumeration\",\"allowedValues\":\"none,inserts,deletes,changes,purges,all\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_change_buffering\",\"name\":\"innodb_change_buffering\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Enables per-index compression-related statistics in the INFORMATION_SCHEMA.INNODB_CMP_PER_INDEX table. Because these statistics can be expensive to gather, only enable this option on development, test, or slave instances during performance tuning related to InnoDB compressed tables.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_cmp_per_index_enabled\",\"name\":\"innodb_cmp_per_index_enabled\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The number of threads that can commit at the same time. A value of 0 (the default) permits any number of transactions to commit simultaneously. The value of innodb_commit_concurrency cannot be changed at runtime from zero to nonzero or vice versa. The value can be changed from one nonzero value to another.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_commit_concurrency\",\"name\":\"innodb_commit_concurrency\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"5\",\"description\":\"Defines the compression failure rate threshold for a table, as a percentage, at which point MySQL begins adding padding within compressed pages to avoid expensive compression failures.\",\"defaultValue\":\"5\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_compression_failure_threshold_pct\",\"name\":\"innodb_compression_failure_threshold_pct\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"6\",\"description\":\"Specifies the level of zlib compression to use for InnoDB compressed tables and indexes. A higher value lets you fit more data onto a storage device, at the expense of more CPU overhead during compression. A lower value lets you reduce CPU overhead when storage space is not critical, or you expect the data is not especially compressible.\",\"defaultValue\":\"6\",\"dataType\":\"Integer\",\"allowedValues\":\"0-9\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_compression_level\",\"name\":\"innodb_compression_level\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"Specifies the maximum percentage that can be reserved as free space within each compressed page, allowing room to reorganize the data and modification log within the page when a compressed table or index is updated and the data might be recompressed. Only applies when innodb_compression_failure_threshold_pct is set to a nonzero value, and the rate of compression failures passes the cutoff point.\",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"0-75\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_compression_pad_pct_max\",\"name\":\"innodb_compression_pad_pct_max\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"5000\",\"description\":\"Determines the number of threads that can enter InnoDB concurrently.\",\"defaultValue\":\"5000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_concurrency_tickets\",\"name\":\"innodb_concurrency_tickets\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"This option is used to disable deadlock detection. On high concurrency systems, deadlock detection can cause a slowdown when numerous threads wait for the same lock.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_deadlock_detect\",\"name\":\"innodb_deadlock_detect\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"DYNAMIC\",\"description\":\"The innodb_default_row_format option defines the default row format for InnoDB tables and user-created temporary tables.\",\"defaultValue\":\"DYNAMIC\",\"dataType\":\"Enumeration\",\"allowedValues\":\"DYNAMIC,COMPACT,REDUNDANT\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_default_row_format\",\"name\":\"innodb_default_row_format\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"Barracuda\",\"description\":\"Indicates the InnoDB file format for file-per-table tablespaces.\",\"defaultValue\":\"Barracuda\",\"dataType\":\"Enumeration\",\"allowedValues\":\"Antelope,Barracuda\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_file_format\",\"name\":\"innodb_file_format\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"InnoDB stores the data and indexes for each newly created table in a separate .ibd file instead of the system tablespace. It cannot be updated any more for a master/replica server to keep the replication consistency.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_file_per_table\",\"name\":\"innodb_file_per_table\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"InnoDB performs a bulk load when creating or rebuilding indexes.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"10-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_fill_factor\",\"name\":\"innodb_fill_factor\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"8000000\",\"description\":\"The memory allocated, in bytes, for the InnoDB FULLTEXT search index cache, which holds a parsed document in memory while creating an InnoDB FULLTEXT index.\",\"defaultValue\":\"8000000\",\"dataType\":\"Integer\",\"allowedValues\":\"1600000-80000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_ft_cache_size\",\"name\":\"innodb_ft_cache_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Specifies that a set of stopwords is associated with an InnoDB FULLTEXT index at the time the index is created.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_ft_enable_stopword\",\"name\":\"innodb_ft_enable_stopword\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"84\",\"description\":\"Maximum character length of words that are stored in an InnoDB FULLTEXT index.\",\"defaultValue\":\"84\",\"dataType\":\"Integer\",\"allowedValues\":\"10-84\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_ft_max_token_size\",\"name\":\"innodb_ft_max_token_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"3\",\"description\":\"Minimum length of words that are stored in an InnoDB FULLTEXT index.\",\"defaultValue\":\"3\",\"dataType\":\"Integer\",\"allowedValues\":\"0-16\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_ft_min_token_size\",\"name\":\"innodb_ft_min_token_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"2000\",\"description\":\"Number of words to process during each OPTIMIZE TABLE operation on an InnoDB FULLTEXT index.\",\"defaultValue\":\"2000\",\"dataType\":\"Integer\",\"allowedValues\":\"1000-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_ft_num_word_optimize\",\"name\":\"innodb_ft_num_word_optimize\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"2000000000\",\"description\":\"The InnoDB full-text search query result cache limit (defined in bytes) per full-text search query or per thread.\",\"defaultValue\":\"2000000000\",\"dataType\":\"Integer\",\"allowedValues\":\"1000000-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_ft_result_cache_limit\",\"name\":\"innodb_ft_result_cache_limit\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Number of threads used in parallel to index and tokenize text in an InnoDB FULLTEXT index when building a search index.\",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"1-32\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_ft_sort_pll_degree\",\"name\":\"innodb_ft_sort_pll_degree\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"640000000\",\"description\":\"The total memory allocated, in bytes, for the InnoDB full-text search index cache for all tables.\",\"defaultValue\":\"640000000\",\"dataType\":\"Integer\",\"allowedValues\":\"32000000-1280000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_ft_total_cache_size\",\"name\":\"innodb_ft_total_cache_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"Sets an upper limit on I/O activity performed by InnoDB background tasks, such as flushing pages from the buffer pool and merging data from the change buffer.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"100-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_io_capacity\",\"name\":\"innodb_io_capacity\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"2000\",\"description\":\"If flushing activity falls behind, InnoDB can flush more aggressively than the limit imposed by innodb_io_capacity. innodb_io_capacity_max defines an upper limit the number of I/O operations performed per second by InnoDB background tasks in such situations.\",\"defaultValue\":\"2000\",\"dataType\":\"Integer\",\"allowedValues\":\"100-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_io_capacity_max\",\"name\":\"innodb_io_capacity_max\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"When this option is enabled, index key prefixes longer than 767 bytes (up to 3072 bytes) are allowed for InnoDB tables that use DYNAMIC or COMPRESSED row format.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_large_prefix\",\"name\":\"innodb_large_prefix\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"The length of time in seconds an InnoDB transaction waits for a row lock before giving up.\",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"1-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_lock_wait_timeout\",\"name\":\"innodb_lock_wait_timeout\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Specifies whether images of re-compressed pages are written to the redo log.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_log_compressed_pages\",\"name\":\"innodb_log_compressed_pages\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"A parameter that influences the algorithms and heuristics for the flush operation for the InnoDB buffer pool.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"100-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_lru_scan_depth\",\"name\":\"innodb_lru_scan_depth\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"75\",\"description\":\"InnoDB tries to flush data from the buffer pool so that the percentage of dirty pages does not exceed this value.\",\"defaultValue\":\"75\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-99.99\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_max_dirty_pages_pct\",\"name\":\"innodb_max_dirty_pages_pct\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Defines a low water mark representing the percentage of dirty pages at which preflushing is enabled to control the dirty page ratio.\",\"defaultValue\":\"0\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-99.99\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_max_dirty_pages_pct_lwm\",\"name\":\"innodb_max_dirty_pages_pct_lwm\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Defines the maximum length of the purge queue. The default value of 0 indicates no limit (no delays).\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_max_purge_lag\",\"name\":\"innodb_max_purge_lag\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Specifies the maximum delay in microseconds for the delay imposed by the innodb_max_purge_lag configuration option.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-10000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_max_purge_lag_delay\",\"name\":\"innodb_max_purge_lag_delay\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"37\",\"description\":\"Specifies the approximate percentage of the InnoDB buffer pool used for the old block sublist.\",\"defaultValue\":\"37\",\"dataType\":\"Integer\",\"allowedValues\":\"5-95\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_old_blocks_pct\",\"name\":\"innodb_old_blocks_pct\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1000\",\"description\":\"Non-zero values protect against the buffer pool being filled by data that is referenced only for a brief period, such as during a full table scan.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_old_blocks_time\",\"name\":\"innodb_old_blocks_time\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"134217728\",\"description\":\"Specifies an upper limit on the size of the temporary log files used during online DDL operations for InnoDB tables.\",\"defaultValue\":\"134217728\",\"dataType\":\"Integer\",\"allowedValues\":\"65536-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_online_alter_log_max_size\",\"name\":\"innodb_online_alter_log_max_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Changes the way OPTIMIZE TABLE operates on InnoDB tables. Intended to be enabled temporarily, during maintenance operations for InnoDB tables with FULLTEXT indexes.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_optimize_fulltext_only\",\"name\":\"innodb_optimize_fulltext_only\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"The number of page cleaner threads that flush dirty pages from buffer pool instances.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"1-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_page_cleaners\",\"name\":\"innodb_page_cleaners\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"300\",\"description\":\"Defines the number of undo log pages that purge parses and processes in one batch from the history list.\",\"defaultValue\":\"300\",\"dataType\":\"Integer\",\"allowedValues\":\"1-5000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_purge_batch_size\",\"name\":\"innodb_purge_batch_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"128\",\"description\":\"Defines the frequency with which the purge system frees rollback segments in terms of the number of times that purge is invoked. Reducing this value increases the frequency with which the purge thread frees rollback segments.\",\"defaultValue\":\"128\",\"dataType\":\"Integer\",\"allowedValues\":\"1-128\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_purge_rseg_truncate_frequency\",\"name\":\"innodb_purge_rseg_truncate_frequency\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"The number of background threads devoted to the InnoDB purge operation.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"1-32\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_purge_threads\",\"name\":\"innodb_purge_threads\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Enables the random read-ahead technique for optimizing InnoDB I/O.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_random_read_ahead\",\"name\":\"innodb_random_read_ahead\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"56\",\"description\":\"Controls the sensitivity of linear read-ahead that InnoDB uses to prefetch pages into the buffer pool.\",\"defaultValue\":\"56\",\"dataType\":\"Integer\",\"allowedValues\":\"0-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_read_ahead_threshold\",\"name\":\"innodb_read_ahead_threshold\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"The number of I/O threads for read operations in InnoDB.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"1-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_read_io_threads\",\"name\":\"innodb_read_io_threads\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"128\",\"description\":\"Defines the number of rollback segments used by InnoDB.\",\"defaultValue\":\"128\",\"dataType\":\"Integer\",\"allowedValues\":\"1-128\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_rollback_segments\",\"name\":\"innodb_rollback_segments\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Causes InnoDB to automatically recalculate persistent statistics after the data in a table is changed substantially.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_stats_auto_recalc\",\"name\":\"innodb_stats_auto_recalc\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\" Enabled to ensure that InnoDB includes delete-marked records when calculating persistent optimizer statistics.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_stats_include_delete_marked\",\"name\":\"innodb_stats_include_delete_marked\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"nulls_equal\",\"description\":\"How the server treats NULL values when collecting statistics about the distribution of index values for InnoDB tables.\",\"defaultValue\":\"nulls_equal\",\"dataType\":\"Enumeration\",\"allowedValues\":\"nulls_equal,nulls_unequal,nulls_ignored\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_stats_method\",\"name\":\"innodb_stats_method\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This option only applies when optimizer statistics are configured to be non-persistent. When innodb_stats_on_metadata is enabled, InnoDB updates non-persistent statistics when metadata statements such as SHOW TABLE STATUS or when accessing the INFORMATION_SCHEMA.TABLES or INFORMATION_SCHEMA.STATISTICS tables.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_stats_on_metadata\",\"name\":\"innodb_stats_on_metadata\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Specifies whether InnoDB index statistics are persisted to disk. Otherwise, statistics may be recalculated frequently which can lead to variations in query execution plans.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_stats_persistent\",\"name\":\"innodb_stats_persistent\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"20\",\"description\":\"The number of index pages to sample when estimating cardinality and other statistics for an indexed column, such as those calculated by ANALYZE TABLE.\",\"defaultValue\":\"20\",\"dataType\":\"Integer\",\"allowedValues\":\"1-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_stats_persistent_sample_pages\",\"name\":\"innodb_stats_persistent_sample_pages\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"The number of index pages to sample when estimating cardinality and other statistics for an indexed column, such as those calculated by ANALYZE TABLE.\",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"1-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_stats_transient_sample_pages\",\"name\":\"innodb_stats_transient_sample_pages\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Defines the size of the mutex/lock wait array. Increasing the value splits the internal data structure used to coordinate threads, for higher concurrency in workloads with large numbers of waiting threads. \",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"1-1024\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_sync_array_size\",\"name\":\"innodb_sync_array_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"The default value of innodb_table_locks is 1, which means that LOCK TABLES causes InnoDB to lock a table internally if autocommit = 0.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_table_locks\",\"name\":\"innodb_table_locks\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"InnoDB tries to keep the number of operating system threads concurrently inside InnoDB less than or equal to the limit given by this variable.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_thread_concurrency\",\"name\":\"innodb_thread_concurrency\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"10000\",\"description\":\"Defines how long InnoDB threads sleep before joining the InnoDB queue, in microseconds.\",\"defaultValue\":\"10000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_thread_sleep_delay\",\"name\":\"innodb_thread_sleep_delay\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"The number of I/O threads for write operations in InnoDB.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"1-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_write_io_threads\",\"name\":\"innodb_write_io_threads\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"28800\",\"description\":\"Number of seconds the server waits for activity on an interactive connection before closing it.\",\"defaultValue\":\"28800\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/interactive_timeout\",\"name\":\"interactive_timeout\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"262144\",\"description\":\"The minimum size of the buffer that is used for plain index scans, range index scans, and joins that do not use indexes and thus perform full table scans.\",\"defaultValue\":\"262144\",\"dataType\":\"Integer\",\"allowedValues\":\"128-536870912\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/join_buffer_size\",\"name\":\"join_buffer_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"This variable controls server-side LOCAL capability for LOAD DATA statements.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/local_infile\",\"name\":\"local_infile\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"31536000\",\"description\":\"This variable specifies the timeout in seconds for attempts to acquire metadata locks.\",\"defaultValue\":\"31536000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/lock_wait_timeout\",\"name\":\"lock_wait_timeout\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This variable applies when binary logging is enabled. It controls whether stored function creators can be trusted not to create stored functions that will cause unsafe events to be written to the binary log. It cannot be updated any more for a master/replica server to keep the replication consistency.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/log_bin_trust_function_creators\",\"name\":\"log_bin_trust_function_creators\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"FILE\",\"description\":\"The destination for general query log and slow query log output.\",\"defaultValue\":\"FILE\",\"dataType\":\"Set\",\"allowedValues\":\"FILE,NONE\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/log_output\",\"name\":\"log_output\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Logs queries that are expected to retrieve all rows to slow query log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/log_queries_not_using_indexes\",\"name\":\"log_queries_not_using_indexes\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Include slow administrative statements in the statements written to the slow query log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/log_slow_admin_statements\",\"name\":\"log_slow_admin_statements\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"When the slow query log is enabled, this variable enables logging for queries that have taken more than long_query_time seconds to execute on the slave.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/log_slow_slave_statements\",\"name\":\"log_slow_slave_statements\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Limits the number of such queries per minute that can be written to the slow query log.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/log_throttle_queries_not_using_indexes\",\"name\":\"log_throttle_queries_not_using_indexes\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"If a query takes longer than this many seconds, the server increments the Slow_queries status variable.\",\"defaultValue\":\"10\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/long_query_time\",\"name\":\"long_query_time\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"If set to 1, table names are stored in lowercase on disk and comparisons are not case sensitive. If set to 2, table names are stored as given but compared in lowercase.\",\"defaultValue\":\"1\",\"dataType\":\"Enumeration\",\"allowedValues\":\"1,2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/lower_case_table_names\",\"name\":\"lower_case_table_names\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"536870912\",\"description\":\"The maximum size of one packet or any generated/intermediate string, or any parameter sent by the mysql_stmt_send_long_data() C API function.\",\"defaultValue\":\"536870912\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/max_allowed_packet\",\"name\":\"max_allowed_packet\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"If more than this many successive connection requests from a host are interrupted without a successful connection, the server blocks that host from further connections.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/max_connect_errors\",\"name\":\"max_connect_errors\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"625\",\"description\":\"The maximum permitted number of simultaneous client connections.\",\"defaultValue\":\"625\",\"dataType\":\"Integer\",\"allowedValues\":\"10-1250\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/max_connections\",\"name\":\"max_connections\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"The maximum number of bytes available for computing normalized statement digests.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/max_digest_length\",\"name\":\"max_digest_length\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"The maximum number of error, warning, and note messages to be stored for display by the SHOW ERRORS and SHOW WARNINGS statements.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"0-65535\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/max_error_count\",\"name\":\"max_error_count\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The execution timeout for SELECT statements, in milliseconds. If the value is 0, timeouts are not enabled.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/max_execution_time\",\"name\":\"max_execution_time\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"16777216\",\"description\":\"This variable sets the maximum size to which user-created MEMORY tables are permitted to grow.\",\"defaultValue\":\"16777216\",\"dataType\":\"Integer\",\"allowedValues\":\"16384-536870912\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/max_heap_table_size\",\"name\":\"max_heap_table_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"18446744073709551615\",\"description\":\"Do not permit statements that probably need to examine more than max_join_size rows\",\"defaultValue\":\"18446744073709551615\",\"dataType\":\"Integer\",\"allowedValues\":\"1-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/max_join_size\",\"name\":\"max_join_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"The cutoff on the size of index values that determines which filesort algorithm to use.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"4-8388608\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/max_length_for_sort_data\",\"name\":\"max_length_for_sort_data\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"65536\",\"description\":\"The maximum value of the points_per_circle argument to the ST_Buffer_Strategy() function.\",\"defaultValue\":\"65536\",\"dataType\":\"Integer\",\"allowedValues\":\"3-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/max_points_in_geometry\",\"name\":\"max_points_in_geometry\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"16382\",\"description\":\"This variable limits the total number of prepared statements in the server.\",\"defaultValue\":\"16382\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/max_prepared_stmt_count\",\"name\":\"max_prepared_stmt_count\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4294967295\",\"description\":\"Limit the assumed maximum number of seeks when looking up rows based on a key.\",\"defaultValue\":\"4294967295\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/max_seeks_for_key\",\"name\":\"max_seeks_for_key\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"The number of bytes to use when sorting data values.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"4-8388608\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/max_sort_length\",\"name\":\"max_sort_length\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The number of times that any given stored procedure may be called recursively. The default value for this option is 0, which completely disables recursion in stored procedures.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-255\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/max_sp_recursion_depth\",\"name\":\"max_sp_recursion_depth\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The maximum number of simultaneous connections permitted to any given MySQL user account. A value of 0 (the default) means \u0027no limit.\u0027\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/max_user_connections\",\"name\":\"max_user_connections\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4294967295\",\"description\":\"After this many write locks, permit some pending read lock requests to be processed in between.\",\"defaultValue\":\"4294967295\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/max_write_lock_count\",\"name\":\"max_write_lock_count\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Can be used to cause queries which examine fewer than the stated number of rows not to be logged.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/min_examined_row_limit\",\"name\":\"min_examined_row_limit\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"16384\",\"description\":\"Each client thread is associated with a connection buffer and result buffer. Both begin with a size given by net_buffer_length but are dynamically enlarged up to max_allowed_packet bytes as needed.\",\"defaultValue\":\"16384\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/net_buffer_length\",\"name\":\"net_buffer_length\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"120\",\"description\":\"The number of seconds the server waits for network reading action, especially for LOAD DATA LOCAL FILE.\",\"defaultValue\":\"120\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/net_read_timeout\",\"name\":\"net_read_timeout\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"If a read or write on a communication port is interrupted, retry this many times before giving up.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/net_retry_count\",\"name\":\"net_retry_count\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"240\",\"description\":\"The number of seconds the server waits for network writing action, especially for LOAD DATA LOCAL FILE.\",\"defaultValue\":\"240\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/net_write_timeout\",\"name\":\"net_write_timeout\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Defines the n-gram token size for the n-gram full-text parser. \",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/ngram_token_size\",\"name\":\"ngram_token_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Controls the heuristics applied during query optimization to prune less-promising partial plans from the optimizer search space.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0,1\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/optimizer_prune_level\",\"name\":\"optimizer_prune_level\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"62\",\"description\":\"The maximum depth of search performed by the query optimizer.\",\"defaultValue\":\"62\",\"dataType\":\"Integer\",\"allowedValues\":\"0-62\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/optimizer_search_depth\",\"name\":\"optimizer_search_depth\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"default\",\"description\":\"The value of this variable is a set of flags, each of which has a value of on or off to indicate whether the corresponding optimizer behavior is enabled or disabled.\",\"defaultValue\":\"default\",\"dataType\":\"Set\",\"allowedValues\":\"default,batched_key_access=on,batched_key_access=off,block_nested_loop=on,block_nested_loop=off,condition_fanout_filter=on,condition_fanout_filter=off,derived_merge=on,derived_merge=off,duplicateweedout=on,duplicateweedout=off,engine_condition_pushdown=on,engine_condition_pushdown=off,firstmatch=on,firstmatch=off,index_condition_pushdown=on,index_condition_pushdown=off,index_merge=on,index_merge=off,index_merge_intersection=on,index_merge_intersection=off,index_merge_sort_union=on,index_merge_sort_union=off,index_merge_union=on,index_merge_union=off,loosescan=on,loosescan=off,materialization=on,materialization=off,mrr=on,mrr=off,mrr_cost_based=on,mrr_cost_based=off,semijoin=on,semijoin=off,subquery_materialization_cost_based=on,subquery_materialization_cost_based=off,use_index_extensions=on,use_index_extensions=off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/optimizer_switch\",\"name\":\"optimizer_switch\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"18446744073709551615\",\"description\":\"The maximum amount of memory available to the parser.\",\"defaultValue\":\"18446744073709551615\",\"dataType\":\"Integer\",\"allowedValues\":\"10000000-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/parser_max_mem_size\",\"name\":\"parser_max_mem_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"The value of this variable is ON or OFF to indicate whether the Performance Schema is enabled.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/performance_schema\",\"name\":\"performance_schema\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"32768\",\"description\":\"The size of the buffer that is allocated when preloading indexes.\",\"defaultValue\":\"32768\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/preload_buffer_size\",\"name\":\"preload_buffer_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1048576\",\"description\":\"Do not cache results that are larger than this number of bytes.\",\"defaultValue\":\"1048576\",\"dataType\":\"Integer\",\"allowedValues\":\"0-33554432\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/query_cache_limit\",\"name\":\"query_cache_limit\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"The minimum size (in bytes) for blocks allocated by the query cache.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"512-32768\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/query_cache_min_res_unit\",\"name\":\"query_cache_min_res_unit\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The amount of memory allocated for caching query results.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0,102400-33554432\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/query_cache_size\",\"name\":\"query_cache_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Set the query cache type.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF,DEMAND\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/query_cache_type\",\"name\":\"query_cache_type\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"8192\",\"description\":\"The size of the persistent buffer used for statement parsing and execution. This buffer is not freed between statements. If you are running complex queries, a larger value might be helpful in improving performance, because it can reduce the need for the server to perform memory allocation during query execution operations.\",\"defaultValue\":\"8192\",\"dataType\":\"Integer\",\"allowedValues\":\"8192-32768\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/query_prealloc_size\",\"name\":\"query_prealloc_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"15\",\"description\":\"The query store capture interval in minutes. Allows to specify the interval in which the query metrics are aggregated.\",\"defaultValue\":\"15\",\"dataType\":\"Integer\",\"allowedValues\":\"5-60\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/query_store_capture_interval\",\"name\":\"query_store_capture_interval\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"NONE\",\"description\":\"The query store capture mode, NONE means do not capture any statements. NOTE: If performance_schema is OFF, turning on query_store_capture_mode will turn on performance_schema and a subset of performance schema instruments required for this feature.\",\"defaultValue\":\"NONE\",\"dataType\":\"Enumeration\",\"allowedValues\":\"NONE,ALL\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/query_store_capture_mode\",\"name\":\"query_store_capture_mode\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"NO\",\"description\":\"Turning ON or OFF to capture all the utility queries that is executing in the system.\",\"defaultValue\":\"NO\",\"dataType\":\"Enumeration\",\"allowedValues\":\"YES,NO\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/query_store_capture_utility_queries\",\"name\":\"query_store_capture_utility_queries\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"7\",\"description\":\"The query store capture interval in minutes. Allows to specify the interval in which the query metrics are aggregated.\",\"defaultValue\":\"7\",\"dataType\":\"Integer\",\"allowedValues\":\"1-30\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/query_store_retention_period_in_days\",\"name\":\"query_store_retention_period_in_days\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"NONE\",\"description\":\"The query store wait event sampling capture mode, NONE means do not capture any wait events.\",\"defaultValue\":\"NONE\",\"dataType\":\"Enumeration\",\"allowedValues\":\"NONE,ALL\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/query_store_wait_sampling_capture_mode\",\"name\":\"query_store_wait_sampling_capture_mode\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"30\",\"description\":\"The query store wait event sampling frequency in seconds.\",\"defaultValue\":\"30\",\"dataType\":\"Integer\",\"allowedValues\":\"5-300\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/query_store_wait_sampling_frequency\",\"name\":\"query_store_wait_sampling_frequency\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"The size of blocks that are allocated when doing range optimization.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-32768\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/range_alloc_block_size\",\"name\":\"range_alloc_block_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"8388608\",\"description\":\"The limit on memory consumption for the range optimizer. A value of 0 means \u0027no limit.\u0027\",\"defaultValue\":\"8388608\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-33554432\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/range_optimizer_max_mem_size\",\"name\":\"range_optimizer_max_mem_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This parameter controls whetherthe server permits no client updates. When the server is read replica or server storage is full, this parameter will not take effect.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/read_only\",\"name\":\"read_only\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Indicate server support redirection.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/redirect_enabled\",\"name\":\"redirect_enabled\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1073741824\",\"description\":\"This option places an upper limit on the total size in bytes of all relay logs on the slave.\",\"defaultValue\":\"1073741824\",\"dataType\":\"Integer\",\"allowedValues\":\"1073741824-3221225472\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/relay_log_space_limit\",\"name\":\"relay_log_space_limit\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"mysql.%\",\"description\":\"Creates a replication filter which keeps the slave thread from replicating a statement in which any table matches the given wildcard pattern. To specify more than one table to ignore, use comma-separated list.\",\"defaultValue\":\"mysql.%\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/replicate_wild_ignore_table\",\"name\":\"replicate_wild_ignore_table\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1409435902\",\"description\":\"The server ID, used in replication to give each master and slave a unique identity.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"1000-4294967295\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/server_id\",\"name\":\"server_id\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Controls whether the server tracks changes to the default schema (database) name within the current session and makes this information available to the client when changes occur.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/session_track_schema\",\"name\":\"session_track_schema\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Controls whether the server tracks changes to the state of the current session and notifies the client when state changes occur.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/session_track_state_change\",\"name\":\"session_track_state_change\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Affects whether MySQL 5.6 compatibility is enabled with respect to how system and status variable information is provided by the INFORMATION_SCHEMA and Performance Schema tables, and also by the SHOW VARIABLES and SHOW STATUS statements.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/show_compatibility_56\",\"name\":\"show_compatibility_56\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This prevents people from using the SHOW DATABASES statement if they do not have the SHOW DATABASES privilege. \",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/skip_show_database\",\"name\":\"skip_show_database\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"60\",\"description\":\"The number of seconds to wait for more data from the master before the slave considers the connection broken, aborts the read, and tries to reconnect.\",\"defaultValue\":\"60\",\"dataType\":\"Integer\",\"allowedValues\":\"30-3600\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/slave_net_timeout\",\"name\":\"slave_net_timeout\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Enable or disable the slow query log\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/slow_query_log\",\"name\":\"slow_query_log\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"524288\",\"description\":\"Each session that must perform a sort allocates a buffer of this size.\",\"defaultValue\":\"524288\",\"dataType\":\"Integer\",\"allowedValues\":\"32768-8388608\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/sort_buffer_size\",\"name\":\"sort_buffer_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"The current server SQL mode.\",\"defaultValue\":\"\",\"dataType\":\"Set\",\"allowedValues\":\",ALLOW_INVALID_DATES,ANSI_QUOTES,ERROR_FOR_DIVISION_BY_ZERO,HIGH_NOT_PRECEDENCE,IGNORE_SPACE,NO_AUTO_CREATE_USER,NO_AUTO_VALUE_ON_ZERO,NO_BACKSLASH_ESCAPES,NO_DIR_IN_CREATE,NO_ENGINE_SUBSTITUTION,NO_FIELD_OPTIONS,NO_KEY_OPTIONS,NO_TABLE_OPTIONS,NO_UNSIGNED_SUBTRACTION,NO_ZERO_DATE,NO_ZERO_IN_DATE,ONLY_FULL_GROUP_BY,PAD_CHAR_TO_FULL_LENGTH,PIPES_AS_CONCAT,REAL_AS_FLOAT,STRICT_ALL_TABLES,STRICT_TRANS_TABLES\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/sql_mode\",\"name\":\"sql_mode\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"256\",\"description\":\"Sets a soft upper limit for the number of cached stored routines per connection.\",\"defaultValue\":\"256\",\"dataType\":\"Integer\",\"allowedValues\":\"16-524288\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/stored_program_cache\",\"name\":\"stored_program_cache\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"5000\",\"description\":\"The number of table definitions (from .frm files) that can be stored in the definition cache.\",\"defaultValue\":\"5000\",\"dataType\":\"Integer\",\"allowedValues\":\"400-524288\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/table_definition_cache\",\"name\":\"table_definition_cache\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"5000\",\"description\":\"The number of open tables for all threads.\",\"defaultValue\":\"5000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-40000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/table_open_cache\",\"name\":\"table_open_cache\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"The number of open tables cache instances.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"1-16\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/table_open_cache_instances\",\"name\":\"table_open_cache_instances\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"14\",\"description\":\"How many threads the server should cache for reuse. The default value is 8 + (max_connections / 100), capped to a limit of 100.\",\"defaultValue\":\"14\",\"dataType\":\"Integer\",\"allowedValues\":\"0-16384\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/thread_cache_size\",\"name\":\"thread_cache_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"one-thread-per-connection\",\"description\":\"The thread-handling model used by the server for connection threads.\",\"defaultValue\":\"one-thread-per-connection\",\"dataType\":\"Enumeration\",\"allowedValues\":\"one-thread-per-connection,pool-of-threads\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/thread_handling\",\"name\":\"thread_handling\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Maximum time for a thread to run continously (unit: us).\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/thread_pool_batch_max_time\",\"name\":\"thread_pool_batch_max_time\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Maximum time for a thread to wait for socket ready (unit: us).\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/thread_pool_batch_wait_timeout\",\"name\":\"thread_pool_batch_wait_timeout\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"65535\",\"description\":\"The minimal number of threads in the thread pool. Only works when thread_handling=pool-of-threads.\",\"defaultValue\":\"65535\",\"dataType\":\"Integer\",\"allowedValues\":\"1-65535\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/thread_pool_max_threads\",\"name\":\"thread_pool_max_threads\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"The maximal number of threads in the thread pool. Only works when thread_handling=pool-of-threads.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"1-65535\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/thread_pool_min_threads\",\"name\":\"thread_pool_min_threads\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"SYSTEM\",\"description\":\"The server time zone\",\"defaultValue\":\"SYSTEM\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/time_zone\",\"name\":\"time_zone\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"16777216\",\"description\":\"The maximum size of internal in-memory temporary tables. This variable does not apply to user-created MEMORY tables.\",\"defaultValue\":\"16777216\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-134217728\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/tmp_table_size\",\"name\":\"tmp_table_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"8192\",\"description\":\"The amount in bytes by which to increase a per-transaction memory pool which needs memory.\",\"defaultValue\":\"8192\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-131072\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/transaction_alloc_block_size\",\"name\":\"transaction_alloc_block_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"There is a per-transaction memory pool from which various transaction-related allocations take memory. The initial size of the pool in bytes is transaction_prealloc_size.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-131072\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/transaction_prealloc_size\",\"name\":\"transaction_prealloc_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"REPEATABLE-READ\",\"description\":\"The default transaction isolation level.\",\"defaultValue\":\"REPEATABLE-READ\",\"dataType\":\"Enumeration\",\"allowedValues\":\"READ-UNCOMMITTED,READ-COMMITTED,REPEATABLE-READ,SERIALIZABLE\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/tx_isolation\",\"name\":\"tx_isolation\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"YES\",\"description\":\"This variable controls whether updates to a view can be made when the view does not contain all columns of the primary key defined in the underlying table, if the update statement contains a LIMIT clause.\",\"defaultValue\":\"YES\",\"dataType\":\"Enumeration\",\"allowedValues\":\"YES,NO\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/updatable_views_with_limit\",\"name\":\"updatable_views_with_limit\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"120\",\"description\":\"The number of seconds the server waits for activity on a noninteractive connection before closing it.\",\"defaultValue\":\"120\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/wait_timeout\",\"name\":\"wait_timeout\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"}]}" } }, - "Get-AzMySqlConfiguration+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/time_zone?api-version=2017-12-01+1": { + "Get-AzMySqlConfiguration+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/time_zone?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/time_zone?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/time_zone?api-version=2017-12-01", "Content": null, "Headers": { - "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "367e9964-87ce-40ab-a109-2e6f63d442c2" ], + "x-ms-unique-id": [ "2" ], + "x-ms-client-request-id": [ "e3a53f10-2523-43fd-b9e5-55de88d1d7f6" ], "CommandName": [ "Get-AzMySqlConfiguration" ], "FullCommandName": [ "Get-AzMySqlConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -55,24 +56,64 @@ } }, "Response": { - "StatusCode": 404, + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "73bb490f-638c-4ca8-950a-66fcde558cb3" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-correlation-request-id": [ "835068ae-3be0-4d95-aace-2354402c6b6c" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T051317Z:835068ae-3be0-4d95-aace-2354402c6b6c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 05:13:16 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "452" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"value\":\"SYSTEM\",\"description\":\"The server time zone\",\"defaultValue\":\"SYSTEM\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/time_zone\",\"name\":\"time_zone\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"}" + } + }, + "Get-AzMySqlConfiguration+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/server_id?api-version=2017-12-01+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/server_id?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "3" ], + "x-ms-client-request-id": [ "06c9387e-598c-4895-be18-823ed84674a9" ], + "CommandName": [ "Get-AzMySqlConfiguration" ], + "FullCommandName": [ "Get-AzMySqlConfiguration_GetViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ "gateway" ], - "x-ms-request-id": [ "f3ad731b-dca3-4636-bee8-fa6b962e4ef3" ], - "x-ms-correlation-request-id": [ "f3ad731b-dca3-4636-bee8-fa6b962e4ef3" ], - "x-ms-routing-request-id": [ "WESTUS2:20201110T002706Z:f3ad731b-dca3-4636-bee8-fa6b962e4ef3" ], + "x-ms-request-id": [ "0eda62b0-bba8-4562-bf25-86b6dbea0ba2" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "ed6f7e52-9b8e-4e15-b397-de91cc2a5560" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T051317Z:ed6f7e52-9b8e-4e15-b397-de91cc2a5560" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 10 Nov 2020 00:27:05 GMT" ] + "Date": [ "Fri, 24 Jul 2020 05:13:17 GMT" ] }, "ContentHeaders": { + "Content-Length": [ "532" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ], - "Content-Length": [ "224" ] + "Expires": [ "-1" ] }, - "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForMySQL/servers/mysql-test-100\u0027 under resource group \u0027MySqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" + "Content": "{\"properties\":{\"value\":\"1409435902\",\"description\":\"The server ID, used in replication to give each master and slave a unique identity.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"1000-4294967295\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/server_id\",\"name\":\"server_id\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"}" } } } \ No newline at end of file diff --git a/src/MySql/test/Get-AzMySqlConnectionString.Recording.json b/src/MySql/test/Get-AzMySqlConnectionString.Recording.json index 1c3840b0af54..0e531a8ab8e9 100644 --- a/src/MySql/test/Get-AzMySqlConnectionString.Recording.json +++ b/src/MySql/test/Get-AzMySqlConnectionString.Recording.json @@ -1,12 +1,12 @@ { - "Get-AzMySqlConnectionString+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { + "Get-AzMySqlConnectionString+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { - "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "90c81efd-c0b3-40ae-a4e8-02005a4cb434" ], + "x-ms-unique-id": [ "1" ], + "x-ms-client-request-id": [ "8b669176-768e-4373-aeb6-1abacd11d2cb" ], "CommandName": [ "Az.MySql\\Get-AzMySqlServer" ], "FullCommandName": [ "Get-AzMySqlServer_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -17,34 +17,35 @@ } }, "Response": { - "StatusCode": 404, + "StatusCode": 200, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ "gateway" ], - "x-ms-request-id": [ "c81510e4-52bf-4436-a8ff-74c995994675" ], - "x-ms-correlation-request-id": [ "c81510e4-52bf-4436-a8ff-74c995994675" ], - "x-ms-routing-request-id": [ "WESTUS2:20201110T002706Z:c81510e4-52bf-4436-a8ff-74c995994675" ], + "x-ms-request-id": [ "0647ea03-bdb8-42ef-9527-460f25917278" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-correlation-request-id": [ "56261382-f1a4-4aa6-bbf1-ab1c60fd1099" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T051559Z:56261382-f1a4-4aa6-bbf1-ab1c60fd1099" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 10 Nov 2020 00:27:06 GMT" ] + "Date": [ "Fri, 24 Jul 2020 05:15:58 GMT" ] }, "ContentHeaders": { + "Content-Length": [ "905" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ], - "Content-Length": [ "224" ] + "Expires": [ "-1" ] }, - "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForMySQL/servers/mysql-test-100\u0027 under resource group \u0027MySqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" } }, - "Get-AzMySqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { + "Get-AzMySqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { - "x-ms-unique-id": [ "5" ], - "x-ms-client-request-id": [ "0bbf49eb-0767-4ba8-9436-20363ab26225" ], + "x-ms-unique-id": [ "2" ], + "x-ms-client-request-id": [ "0b7980dc-56f9-4ba5-90f0-5572c60a09d1" ], "CommandName": [ "Get-AzMySqlServer" ], "FullCommandName": [ "Get-AzMySqlServer_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -55,24 +56,259 @@ } }, "Response": { - "StatusCode": 404, + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "49c5afbf-cc1b-4ab3-9ce0-e288aa84f4ca" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-correlation-request-id": [ "9220f83f-4b06-421c-8152-332eb77696ed" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T051559Z:9220f83f-4b06-421c-8152-332eb77696ed" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 05:15:59 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "905" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + } + }, + "Get-AzMySqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "3" ], + "x-ms-client-request-id": [ "e5c8a22b-7f1d-45a4-a7d4-32ebd83803fa" ], + "CommandName": [ "Az.MySql\\Get-AzMySqlServer" ], + "FullCommandName": [ "Get-AzMySqlServer_GetViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "a105431f-76b9-4aaa-b889-1916cace7c07" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-correlation-request-id": [ "63fcd9ab-5c59-4746-8b44-4ce91e9cdd16" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T051600Z:63fcd9ab-5c59-4746-8b44-4ce91e9cdd16" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 05:15:59 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "905" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + } + }, + "Get-AzMySqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "0d7a708d-3385-4b00-b64c-b7e87c09ede5" ], + "CommandName": [ "Az.MySql\\Get-AzMySqlServer" ], + "FullCommandName": [ "Get-AzMySqlServer_GetViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "4b614e87-fec6-4819-ad38-031dfcc89c19" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-correlation-request-id": [ "582c4ee4-8e56-4481-9677-aa2ac9b92fa7" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T051600Z:582c4ee4-8e56-4481-9677-aa2ac9b92fa7" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 05:16:00 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "905" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + } + }, + "Get-AzMySqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "5" ], + "x-ms-client-request-id": [ "46cab763-6454-4d60-a168-e50a4d2d21ae" ], + "CommandName": [ "Az.MySql\\Get-AzMySqlServer" ], + "FullCommandName": [ "Get-AzMySqlServer_GetViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "172dc265-964c-4cc0-bb0e-81d6acd06f2c" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "05c4b7f6-70c9-4d93-8301-f0c4b6772b12" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T051601Z:05c4b7f6-70c9-4d93-8301-f0c4b6772b12" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 05:16:00 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "905" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + } + }, + "Get-AzMySqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "6" ], + "x-ms-client-request-id": [ "b1698ce7-c92a-4d41-bbe1-73d7105284d3" ], + "CommandName": [ "Az.MySql\\Get-AzMySqlServer" ], + "FullCommandName": [ "Get-AzMySqlServer_GetViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "7425a73d-f6a8-4e17-b536-25f12bab355a" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-correlation-request-id": [ "316e6b08-9830-4ebb-a084-90b977654e41" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T051601Z:316e6b08-9830-4ebb-a084-90b977654e41" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 05:16:01 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "905" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + } + }, + "Get-AzMySqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "7" ], + "x-ms-client-request-id": [ "9d3eb22d-fe5a-4449-933d-7e8a337a4ee1" ], + "CommandName": [ "Az.MySql\\Get-AzMySqlServer" ], + "FullCommandName": [ "Get-AzMySqlServer_GetViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "4d837d7b-9622-4981-850d-2a009b227b0b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "39a6ec2e-c629-4568-857e-c522d52f48b6" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T051601Z:39a6ec2e-c629-4568-857e-c522d52f48b6" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 05:16:01 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "905" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + } + }, + "Get-AzMySqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "8" ], + "x-ms-client-request-id": [ "f1c27efb-e75e-4c97-94e5-8a187c53d15f" ], + "CommandName": [ "Az.MySql\\Get-AzMySqlServer" ], + "FullCommandName": [ "Get-AzMySqlServer_GetViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ "gateway" ], - "x-ms-request-id": [ "b1d1f805-9774-49a5-944c-fc55c503211a" ], - "x-ms-correlation-request-id": [ "b1d1f805-9774-49a5-944c-fc55c503211a" ], - "x-ms-routing-request-id": [ "WESTUS2:20201110T002707Z:b1d1f805-9774-49a5-944c-fc55c503211a" ], + "x-ms-request-id": [ "6df02656-7980-4f42-83e1-adea0c5a73ce" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "84e5fb63-7320-4de3-9d40-812fd8527d46" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T051602Z:84e5fb63-7320-4de3-9d40-812fd8527d46" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 10 Nov 2020 00:27:06 GMT" ] + "Date": [ "Fri, 24 Jul 2020 05:16:01 GMT" ] }, "ContentHeaders": { + "Content-Length": [ "905" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ], - "Content-Length": [ "224" ] + "Expires": [ "-1" ] }, - "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForMySQL/servers/mysql-test-100\u0027 under resource group \u0027MySqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" } } } \ No newline at end of file diff --git a/src/MySql/test/Get-AzMySqlFirewallRule.Recording.json b/src/MySql/test/Get-AzMySqlFirewallRule.Recording.json index 410da43da3a5..f81bce1b53ce 100644 --- a/src/MySql/test/Get-AzMySqlFirewallRule.Recording.json +++ b/src/MySql/test/Get-AzMySqlFirewallRule.Recording.json @@ -1,101 +1,827 @@ { - "Get-AzMySqlFirewallRule+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { + "Get-AzMySqlFirewallRule+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"endIpAddress\": \"0.0.0.1\",\n \"startIpAddress\": \"0.0.0.0\"\n }\n}", "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "93" ] + "Content-Length": [ "88" ] } }, "Response": { - "StatusCode": 404, + "StatusCode": 202, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ "gateway" ], - "x-ms-request-id": [ "1cffd503-5b3a-4e9f-a258-6f753e50ddef" ], - "x-ms-correlation-request-id": [ "1cffd503-5b3a-4e9f-a258-6f753e50ddef" ], - "x-ms-routing-request-id": [ "WESTUS2:20201110T002707Z:1cffd503-5b3a-4e9f-a258-6f753e50ddef" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/6be5f02d-99c6-48a2-b817-a102f1802474?api-version=2017-12-01" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/6be5f02d-99c6-48a2-b817-a102f1802474?api-version=2017-12-01" ], + "x-ms-request-id": [ "6be5f02d-99c6-48a2-b817-a102f1802474" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "b95e08d1-077b-40e9-a67f-ce4ebe40de4a" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T052427Z:b95e08d1-077b-40e9-a67f-ce4ebe40de4a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 10 Nov 2020 00:27:07 GMT" ] + "Date": [ "Fri, 24 Jul 2020 05:24:26 GMT" ] }, "ContentHeaders": { + "Content-Length": [ "86" ], "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-07-24T05:24:25.77Z\"}" + } + }, + "Get-AzMySqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/6be5f02d-99c6-48a2-b817-a102f1802474?api-version=2017-12-01+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/6be5f02d-99c6-48a2-b817-a102f1802474?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2" ], + "x-ms-client-request-id": [ "dbe2b2a8-aa9d-46f3-8793-76d592cadceb", "dbe2b2a8-aa9d-46f3-8793-76d592cadceb" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule" ], + "FullCommandName": [ "New-AzMySqlFirewallRule_CreateExpanded", "New-AzMySqlFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "a1115fcb-23bd-40bc-88ea-16ee11160cff" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-correlation-request-id": [ "9e9cbde0-b675-4805-9767-8a0b24261b18" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T052442Z:9e9cbde0-b675-4805-9767-8a0b24261b18" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 05:24:42 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"6be5f02d-99c6-48a2-b817-a102f1802474\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T05:24:25.77Z\"}" + } + }, + "Get-AzMySqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2", "3" ], + "x-ms-client-request-id": [ "dbe2b2a8-aa9d-46f3-8793-76d592cadceb", "dbe2b2a8-aa9d-46f3-8793-76d592cadceb", "dbe2b2a8-aa9d-46f3-8793-76d592cadceb" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule" ], + "FullCommandName": [ "New-AzMySqlFirewallRule_CreateExpanded", "New-AzMySqlFirewallRule_CreateExpanded", "New-AzMySqlFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "009d1164-cc43-4426-b6ee-f48fb2a9a09d" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-correlation-request-id": [ "980ac573-898b-4659-96ae-36127e2d0919" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T052442Z:980ac573-898b-4659-96ae-36127e2d0919" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 05:24:42 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "305" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/servers/firewallRules\"}" + } + }, + "Get-AzMySqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules?api-version=2017-12-01+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "3e4a617c-bca1-496b-acd9-86556712bbc7" ], + "CommandName": [ "Get-AzMySqlFirewallRule" ], + "FullCommandName": [ "Get-AzMySqlFirewallRule_List" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "e11bdb2b-051e-4441-932e-8fcb44aad0c9" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-correlation-request-id": [ "54e48022-6517-4eb4-a0e3-ac4c10d0ea9d" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T052443Z:54e48022-6517-4eb4-a0e3-ac4c10d0ea9d" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 05:24:43 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "317" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"value\":[{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/servers/firewallRules\"}]}" + } + }, + "Get-AzMySqlFirewallRule+[NoContext]+List+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+5": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "5" ], + "x-ms-client-request-id": [ "ea402944-a618-4c64-bccf-7d672fce0e43" ], + "CommandName": [ "Remove-AzMySqlFirewallRule" ], + "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/a0fe98ac-ab84-42fc-a143-e4f0905a1843?api-version=2017-12-01" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/a0fe98ac-ab84-42fc-a143-e4f0905a1843?api-version=2017-12-01" ], + "x-ms-request-id": [ "a0fe98ac-ab84-42fc-a143-e4f0905a1843" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "x-ms-correlation-request-id": [ "300ebabc-6b6b-4f81-933a-99a9012b911f" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T052444Z:300ebabc-6b6b-4f81-933a-99a9012b911f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 05:24:44 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "84" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-07-24T05:24:43.817Z\"}" + } + }, + "Get-AzMySqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/a0fe98ac-ab84-42fc-a143-e4f0905a1843?api-version=2017-12-01+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/a0fe98ac-ab84-42fc-a143-e4f0905a1843?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "5", "6" ], + "x-ms-client-request-id": [ "ea402944-a618-4c64-bccf-7d672fce0e43", "ea402944-a618-4c64-bccf-7d672fce0e43" ], + "CommandName": [ "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule" ], + "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "6afda5af-f5bc-4494-86b6-6117f48d241f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "70a04b38-ec02-4784-a248-402028c4b4f4" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T052500Z:70a04b38-ec02-4784-a248-402028c4b4f4" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 05:25:00 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"a0fe98ac-ab84-42fc-a143-e4f0905a1843\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T05:24:43.817Z\"}" + } + }, + "Get-AzMySqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/a0fe98ac-ab84-42fc-a143-e4f0905a1843?api-version=2017-12-01+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/a0fe98ac-ab84-42fc-a143-e4f0905a1843?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "5", "6", "7" ], + "x-ms-client-request-id": [ "ea402944-a618-4c64-bccf-7d672fce0e43", "ea402944-a618-4c64-bccf-7d672fce0e43", "ea402944-a618-4c64-bccf-7d672fce0e43" ], + "CommandName": [ "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule" ], + "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "49934721-2166-4352-8ec5-02a80967f46d" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-correlation-request-id": [ "5931d3f2-27d2-430d-8b5e-286a31b87f7f" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T052500Z:5931d3f2-27d2-430d-8b5e-286a31b87f7f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 05:25:00 GMT" ] + }, + "ContentHeaders": { "Expires": [ "-1" ], - "Content-Length": [ "224" ] + "Content-Length": [ "0" ] }, - "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForMySQL/servers/mysql-test-100\u0027 under resource group \u0027MySqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" + "Content": null } }, - "Get-AzMySqlFirewallRule+[NoContext]+Get+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { + "Get-AzMySqlFirewallRule+[NoContext]+Get+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"endIpAddress\": \"0.0.0.1\",\n \"startIpAddress\": \"0.0.0.0\"\n }\n}", "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "93" ] + "Content-Length": [ "88" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/32c7fbff-0076-4284-88ed-a58c6c5dc049?api-version=2017-12-01" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/32c7fbff-0076-4284-88ed-a58c6c5dc049?api-version=2017-12-01" ], + "x-ms-request-id": [ "32c7fbff-0076-4284-88ed-a58c6c5dc049" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-correlation-request-id": [ "169e67a1-a93c-4797-a0ba-f611062bc57b" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T052502Z:169e67a1-a93c-4797-a0ba-f611062bc57b" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 05:25:02 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "86" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-07-24T05:25:01.13Z\"}" + } + }, + "Get-AzMySqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/32c7fbff-0076-4284-88ed-a58c6c5dc049?api-version=2017-12-01+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/32c7fbff-0076-4284-88ed-a58c6c5dc049?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "8", "9" ], + "x-ms-client-request-id": [ "21907da2-899e-45a9-b460-d9194c20dbe3", "21907da2-899e-45a9-b460-d9194c20dbe3" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule" ], + "FullCommandName": [ "New-AzMySqlFirewallRule_CreateExpanded", "New-AzMySqlFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "beffded2-b008-4835-9f6c-8c739a696135" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "e291441c-9a14-458b-a210-baef790d3b16" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T052517Z:e291441c-9a14-458b-a210-baef790d3b16" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 05:25:17 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"32c7fbff-0076-4284-88ed-a58c6c5dc049\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T05:25:01.13Z\"}" + } + }, + "Get-AzMySqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "8", "9", "10" ], + "x-ms-client-request-id": [ "21907da2-899e-45a9-b460-d9194c20dbe3", "21907da2-899e-45a9-b460-d9194c20dbe3", "21907da2-899e-45a9-b460-d9194c20dbe3" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule" ], + "FullCommandName": [ "New-AzMySqlFirewallRule_CreateExpanded", "New-AzMySqlFirewallRule_CreateExpanded", "New-AzMySqlFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "3d87f33a-dedc-4057-b1ac-052f5db64f81" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "7d3e8aaf-f61b-4282-8e23-e83ace68e7d3" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T052518Z:7d3e8aaf-f61b-4282-8e23-e83ace68e7d3" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 05:25:17 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "305" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/servers/firewallRules\"}" + } + }, + "Get-AzMySqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "11" ], + "x-ms-client-request-id": [ "531dbebe-38c0-44c9-a721-7db822aa72ab" ], + "CommandName": [ "Get-AzMySqlFirewallRule" ], + "FullCommandName": [ "Get-AzMySqlFirewallRule_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { } }, "Response": { - "StatusCode": 404, + "StatusCode": 200, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ "gateway" ], - "x-ms-request-id": [ "15c329c6-077b-4da1-8c5e-e764f3c47246" ], - "x-ms-correlation-request-id": [ "15c329c6-077b-4da1-8c5e-e764f3c47246" ], - "x-ms-routing-request-id": [ "WESTUS2:20201110T002707Z:15c329c6-077b-4da1-8c5e-e764f3c47246" ], + "x-ms-request-id": [ "1e46c895-6164-42e0-9998-6654bf46394b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "dcd82b13-59ab-4de3-8f9d-3909b08b6123" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T052518Z:dcd82b13-59ab-4de3-8f9d-3909b08b6123" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 10 Nov 2020 00:27:07 GMT" ] + "Date": [ "Fri, 24 Jul 2020 05:25:18 GMT" ] }, "ContentHeaders": { + "Content-Length": [ "305" ], "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/servers/firewallRules\"}" + } + }, + "Get-AzMySqlFirewallRule+[NoContext]+Get+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+5": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "12" ], + "x-ms-client-request-id": [ "82a047a1-6ab2-4eec-b8d1-de99643f0aab" ], + "CommandName": [ "Remove-AzMySqlFirewallRule" ], + "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/ec6ea1ad-4667-4ae5-aa62-19a01bd6b18c?api-version=2017-12-01" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ec6ea1ad-4667-4ae5-aa62-19a01bd6b18c?api-version=2017-12-01" ], + "x-ms-request-id": [ "ec6ea1ad-4667-4ae5-aa62-19a01bd6b18c" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14998" ], + "x-ms-correlation-request-id": [ "1a4ef829-c652-4e52-9ea7-807ed84d5b30" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T052520Z:1a4ef829-c652-4e52-9ea7-807ed84d5b30" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 05:25:19 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "84" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-07-24T05:25:18.897Z\"}" + } + }, + "Get-AzMySqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ec6ea1ad-4667-4ae5-aa62-19a01bd6b18c?api-version=2017-12-01+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ec6ea1ad-4667-4ae5-aa62-19a01bd6b18c?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "12", "13" ], + "x-ms-client-request-id": [ "82a047a1-6ab2-4eec-b8d1-de99643f0aab", "82a047a1-6ab2-4eec-b8d1-de99643f0aab" ], + "CommandName": [ "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule" ], + "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "f0de194a-5399-49be-ae04-f2c296b20882" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-correlation-request-id": [ "416d1067-598d-467a-a457-b023a05f323f" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T052535Z:416d1067-598d-467a-a457-b023a05f323f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 05:25:35 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ec6ea1ad-4667-4ae5-aa62-19a01bd6b18c\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T05:25:18.897Z\"}" + } + }, + "Get-AzMySqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/ec6ea1ad-4667-4ae5-aa62-19a01bd6b18c?api-version=2017-12-01+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/ec6ea1ad-4667-4ae5-aa62-19a01bd6b18c?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "12", "13", "14" ], + "x-ms-client-request-id": [ "82a047a1-6ab2-4eec-b8d1-de99643f0aab", "82a047a1-6ab2-4eec-b8d1-de99643f0aab", "82a047a1-6ab2-4eec-b8d1-de99643f0aab" ], + "CommandName": [ "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule" ], + "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "fb19cf2b-b38b-4288-9512-cd2ac988cfb8" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], + "x-ms-correlation-request-id": [ "7863e58d-5843-44ef-b30b-3b5bd3bf2402" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T052535Z:7863e58d-5843-44ef-b30b-3b5bd3bf2402" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 05:25:35 GMT" ] + }, + "ContentHeaders": { "Expires": [ "-1" ], - "Content-Length": [ "224" ] + "Content-Length": [ "0" ] }, - "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForMySQL/servers/mysql-test-100\u0027 under resource group \u0027MySqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" + "Content": null } }, - "Get-AzMySqlFirewallRule+[NoContext]+GetViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { + "Get-AzMySqlFirewallRule+[NoContext]+GetViaIdentity+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"endIpAddress\": \"0.0.0.1\",\n \"startIpAddress\": \"0.0.0.0\"\n }\n}", "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "93" ] + "Content-Length": [ "88" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/45403173-0f51-4d6c-be03-f0b08a4ea1fa?api-version=2017-12-01" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/45403173-0f51-4d6c-be03-f0b08a4ea1fa?api-version=2017-12-01" ], + "x-ms-request-id": [ "45403173-0f51-4d6c-be03-f0b08a4ea1fa" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], + "x-ms-correlation-request-id": [ "5a084777-3221-4c9e-865b-0b29ee2f7b59" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T052537Z:5a084777-3221-4c9e-865b-0b29ee2f7b59" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 05:25:37 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "86" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-07-24T05:25:36.24Z\"}" + } + }, + "Get-AzMySqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/45403173-0f51-4d6c-be03-f0b08a4ea1fa?api-version=2017-12-01+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/45403173-0f51-4d6c-be03-f0b08a4ea1fa?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "15", "16" ], + "x-ms-client-request-id": [ "667b8aa2-e2a6-4ce3-86ea-752034fe44c9", "667b8aa2-e2a6-4ce3-86ea-752034fe44c9" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule" ], + "FullCommandName": [ "New-AzMySqlFirewallRule_CreateExpanded", "New-AzMySqlFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "58352c06-b222-4195-9ad1-19deb7f01596" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], + "x-ms-correlation-request-id": [ "b7ee91e7-c5ff-4f53-82b6-efe06e557290" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T052552Z:b7ee91e7-c5ff-4f53-82b6-efe06e557290" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 05:25:52 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"45403173-0f51-4d6c-be03-f0b08a4ea1fa\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T05:25:36.24Z\"}" + } + }, + "Get-AzMySqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "15", "16", "17" ], + "x-ms-client-request-id": [ "667b8aa2-e2a6-4ce3-86ea-752034fe44c9", "667b8aa2-e2a6-4ce3-86ea-752034fe44c9", "667b8aa2-e2a6-4ce3-86ea-752034fe44c9" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule" ], + "FullCommandName": [ "New-AzMySqlFirewallRule_CreateExpanded", "New-AzMySqlFirewallRule_CreateExpanded", "New-AzMySqlFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "07f96ea6-2b68-4e52-9272-4fb792a05cf4" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], + "x-ms-correlation-request-id": [ "17199711-5cc8-49bd-9ebf-216b6889b78b" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T052553Z:17199711-5cc8-49bd-9ebf-216b6889b78b" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 05:25:52 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "305" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/servers/firewallRules\"}" + } + }, + "Get-AzMySqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "18" ], + "x-ms-client-request-id": [ "06a99d7a-a1eb-4181-8208-8349db0399cf" ], + "CommandName": [ "Get-AzMySqlFirewallRule" ], + "FullCommandName": [ "Get-AzMySqlFirewallRule_GetViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "0bbbe837-7a21-4c4e-b696-1b5ec17e39aa" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], + "x-ms-correlation-request-id": [ "c95af1da-322f-454a-88ea-bdc5a7b15f7c" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T052553Z:c95af1da-322f-454a-88ea-bdc5a7b15f7c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 05:25:53 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "305" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/servers/firewallRules\"}" + } + }, + "Get-AzMySqlFirewallRule+[NoContext]+GetViaIdentity+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+5": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "19" ], + "x-ms-client-request-id": [ "ea367a72-86e4-4c85-8ed9-bce0ac43e35a" ], + "CommandName": [ "Remove-AzMySqlFirewallRule" ], + "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/03d7b0c5-6fc4-44b0-a051-0df46b347c8c?api-version=2017-12-01" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/03d7b0c5-6fc4-44b0-a051-0df46b347c8c?api-version=2017-12-01" ], + "x-ms-request-id": [ "03d7b0c5-6fc4-44b0-a051-0df46b347c8c" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14997" ], + "x-ms-correlation-request-id": [ "a7485db5-13ad-4c35-b492-0a532e9a0b96" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T052555Z:a7485db5-13ad-4c35-b492-0a532e9a0b96" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 05:25:54 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "84" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-07-24T05:25:54.037Z\"}" + } + }, + "Get-AzMySqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/03d7b0c5-6fc4-44b0-a051-0df46b347c8c?api-version=2017-12-01+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/03d7b0c5-6fc4-44b0-a051-0df46b347c8c?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "19", "20" ], + "x-ms-client-request-id": [ "ea367a72-86e4-4c85-8ed9-bce0ac43e35a", "ea367a72-86e4-4c85-8ed9-bce0ac43e35a" ], + "CommandName": [ "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule" ], + "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { } }, "Response": { - "StatusCode": 404, + "StatusCode": 200, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ "gateway" ], - "x-ms-request-id": [ "aa5ded21-256f-4e18-8af3-721c97e316a6" ], - "x-ms-correlation-request-id": [ "aa5ded21-256f-4e18-8af3-721c97e316a6" ], - "x-ms-routing-request-id": [ "WESTUS2:20201110T002708Z:aa5ded21-256f-4e18-8af3-721c97e316a6" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "40ef670a-398f-47ff-98cc-ee07cf8925e7" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], + "x-ms-correlation-request-id": [ "1732cded-6589-46a9-8b19-f79f7e410042" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T052610Z:1732cded-6589-46a9-8b19-f79f7e410042" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 10 Nov 2020 00:27:07 GMT" ] + "Date": [ "Fri, 24 Jul 2020 05:26:09 GMT" ] }, "ContentHeaders": { + "Content-Length": [ "107" ], "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"03d7b0c5-6fc4-44b0-a051-0df46b347c8c\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T05:25:54.037Z\"}" + } + }, + "Get-AzMySqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/03d7b0c5-6fc4-44b0-a051-0df46b347c8c?api-version=2017-12-01+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/03d7b0c5-6fc4-44b0-a051-0df46b347c8c?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "19", "20", "21" ], + "x-ms-client-request-id": [ "ea367a72-86e4-4c85-8ed9-bce0ac43e35a", "ea367a72-86e4-4c85-8ed9-bce0ac43e35a", "ea367a72-86e4-4c85-8ed9-bce0ac43e35a" ], + "CommandName": [ "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule" ], + "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "60548a2b-d315-4333-86ec-94d49b21c453" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], + "x-ms-correlation-request-id": [ "78dbb9c6-161d-4f33-b0fd-a45b3dc8714d" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T052610Z:78dbb9c6-161d-4f33-b0fd-a45b3dc8714d" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 05:26:10 GMT" ] + }, + "ContentHeaders": { "Expires": [ "-1" ], - "Content-Length": [ "224" ] + "Content-Length": [ "0" ] }, - "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForMySQL/servers/mysql-test-100\u0027 under resource group \u0027MySqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" + "Content": null } } } \ No newline at end of file diff --git a/src/MySql/test/Get-AzMySqlReplica.Recording.json b/src/MySql/test/Get-AzMySqlReplica.Recording.json index efb717b75290..b9780365f810 100644 --- a/src/MySql/test/Get-AzMySqlReplica.Recording.json +++ b/src/MySql/test/Get-AzMySqlReplica.Recording.json @@ -1,12 +1,12 @@ { - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { - "x-ms-unique-id": [ "9" ], - "x-ms-client-request-id": [ "94bc8d24-4d17-4b97-a681-16a993b1823f" ], + "x-ms-unique-id": [ "1" ], + "x-ms-client-request-id": [ "d7c019d8-57ee-4f6a-b2e1-37e77d8b8284" ], "CommandName": [ "Get-AzMySqlServer" ], "FullCommandName": [ "Get-AzMySqlServer_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -17,24 +17,980 @@ } }, "Response": { - "StatusCode": 404, + "StatusCode": 200, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ "gateway" ], - "x-ms-request-id": [ "6e0e369d-ebea-49fc-9c55-b7a69bb56d7a" ], - "x-ms-correlation-request-id": [ "6e0e369d-ebea-49fc-9c55-b7a69bb56d7a" ], - "x-ms-routing-request-id": [ "WESTUS2:20201110T002710Z:6e0e369d-ebea-49fc-9c55-b7a69bb56d7a" ], + "x-ms-request-id": [ "8d68a95e-186c-4b7c-b641-ca5f3e575539" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], + "x-ms-correlation-request-id": [ "acd0d7ad-7027-4d41-a0d8-71de0490966d" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075002Z:acd0d7ad-7027-4d41-a0d8-71de0490966d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 10 Nov 2020 00:27:09 GMT" ] + "Date": [ "Fri, 24 Jul 2020 07:50:02 GMT" ] }, "ContentHeaders": { + "Content-Length": [ "907" ], "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + } + }, + "Get-AzMySqlReplica+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+2": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"createMode\": \"Replica\",\n \"sourceServerId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\"\n },\n \"location\": \"eastus\"\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "233" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01" ], + "Retry-After": [ "30" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01" ], + "x-ms-request-id": [ "ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], + "x-ms-correlation-request-id": [ "3841a27a-3348-4760-bcb1-3629c304f6b6" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075008Z:3841a27a-3348-4760-bcb1-3629c304f6b6" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:50:07 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "88" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"CreateElasticServerContinuousCopy\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" + } + }, + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3" ], + "x-ms-client-request-id": [ "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "91cbaebd-68b5-43ca-9084-21d70637ff32" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], + "x-ms-correlation-request-id": [ "10cd950a-bf63-4c1b-9748-cc6690129bb5" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075038Z:10cd950a-bf63-4c1b-9748-cc6690129bb5" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:50:37 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" + } + }, + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4" ], + "x-ms-client-request-id": [ "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "3fe6909a-026f-4eb8-8437-3b42340c7965" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], + "x-ms-correlation-request-id": [ "1bc1ea1d-155e-42a7-bf30-abe6eebc3b7c" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075108Z:1bc1ea1d-155e-42a7-bf30-abe6eebc3b7c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:51:08 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" + } + }, + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5" ], + "x-ms-client-request-id": [ "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "5539f967-2541-43e7-891a-2ef7be5dc7e6" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], + "x-ms-correlation-request-id": [ "310e1172-05d1-4967-b3e1-33f7de40be57" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075139Z:310e1172-05d1-4967-b3e1-33f7de40be57" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:51:38 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" + } + }, + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6" ], + "x-ms-client-request-id": [ "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "d74f0c8f-346e-4569-ba63-6acab598d3eb" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], + "x-ms-correlation-request-id": [ "c0bd05f2-efc6-4d8d-a11f-26a897795257" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075209Z:c0bd05f2-efc6-4d8d-a11f-26a897795257" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:52:08 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" + } + }, + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7" ], + "x-ms-client-request-id": [ "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "ede55f2c-d9d6-447d-8629-01f8d42cfacb" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11980" ], + "x-ms-correlation-request-id": [ "70fcb7dc-8502-46f2-9118-31710965e2fc" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075239Z:70fcb7dc-8502-46f2-9118-31710965e2fc" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:52:39 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" + } + }, + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8" ], + "x-ms-client-request-id": [ "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "42df4503-e9e3-453f-a70c-aa19107e071a" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11979" ], + "x-ms-correlation-request-id": [ "031a5b57-d3da-4c44-b91b-7ac482411acc" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075310Z:031a5b57-d3da-4c44-b91b-7ac482411acc" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:53:09 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" + } + }, + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+9": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9" ], + "x-ms-client-request-id": [ "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "744e310a-473b-444b-9cae-bd0ef6d828d3" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11978" ], + "x-ms-correlation-request-id": [ "e75d32b6-e610-4a41-8f4a-a1c2a5c3474a" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075340Z:e75d32b6-e610-4a41-8f4a-a1c2a5c3474a" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:53:40 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" + } + }, + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+10": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10" ], + "x-ms-client-request-id": [ "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "26440d29-924b-4909-a987-71961f8f4cce" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11977" ], + "x-ms-correlation-request-id": [ "6aa045ad-f30e-4680-a30f-2fb3dae287b4" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075411Z:6aa045ad-f30e-4680-a30f-2fb3dae287b4" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:54:10 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" + } + }, + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+11": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11" ], + "x-ms-client-request-id": [ "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "322ef832-edf7-412b-87ef-86a59ca27508" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11976" ], + "x-ms-correlation-request-id": [ "80ad5bd0-5334-4b91-8258-d46595c278ba" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075441Z:80ad5bd0-5334-4b91-8258-d46595c278ba" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:54:41 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" + } + }, + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+12": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" ], + "x-ms-client-request-id": [ "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "cfa534f1-2b57-4aff-9610-860b1b840d51" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11975" ], + "x-ms-correlation-request-id": [ "9b2ed281-59db-4b01-ad15-7183322c2e4f" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075513Z:9b2ed281-59db-4b01-ad15-7183322c2e4f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:55:12 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" + } + }, + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+13": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13" ], + "x-ms-client-request-id": [ "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "46011b18-34b2-4771-9fed-4f26384483fb" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11974" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-correlation-request-id": [ "83aa3f7e-bb2e-4577-92e4-bbd9c9e2cd94" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075543Z:83aa3f7e-bb2e-4577-92e4-bbd9c9e2cd94" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:55:42 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" + } + }, + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+14": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14" ], + "x-ms-client-request-id": [ "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "b06a2cef-27ec-45d6-b526-ce6812fe6635" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11971" ], + "x-ms-correlation-request-id": [ "8824a0a2-c016-410e-be2b-d4e449d10c27" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075613Z:8824a0a2-c016-410e-be2b-d4e449d10c27" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:56:13 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" + } + }, + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+15": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], + "x-ms-client-request-id": [ "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "7455bac7-80fc-4f91-8c34-dc4cfd966b4a" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11968" ], + "x-ms-correlation-request-id": [ "d5caaf0a-0e01-4099-9881-452e23d24a53" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075644Z:d5caaf0a-0e01-4099-9881-452e23d24a53" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:56:43 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" + } + }, + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+16": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16" ], + "x-ms-client-request-id": [ "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "7cd7f861-ee5b-4db8-9be1-4d0caaf6b63a" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11965" ], + "x-ms-correlation-request-id": [ "9d1adc5c-160a-4068-a074-47168f049533" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075714Z:9d1adc5c-160a-4068-a074-47168f049533" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:57:14 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" + } + }, + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+17": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17" ], + "x-ms-client-request-id": [ "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "142a01b7-c15b-4100-8118-d9fef64c1b75" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11964" ], + "x-ms-correlation-request-id": [ "2b13a3fb-d0de-4ea4-978c-c6ec78c10354" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075745Z:2b13a3fb-d0de-4ea4-978c-c6ec78c10354" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:57:44 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" + } + }, + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+18": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18" ], + "x-ms-client-request-id": [ "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "3edba23c-d98a-483b-91c5-e6bcedbb6db0" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11962" ], + "x-ms-correlation-request-id": [ "04390cf3-b5b0-4d14-b520-b4f2ee415e58" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075815Z:04390cf3-b5b0-4d14-b520-b4f2ee415e58" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:58:15 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" + } + }, + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+19": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19" ], + "x-ms-client-request-id": [ "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "d7a590a1-45d9-4614-a2a2-e3ba7619676f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11961" ], + "x-ms-correlation-request-id": [ "5ac5e3c5-8506-41a7-b174-0fa275962491" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075846Z:5ac5e3c5-8506-41a7-b174-0fa275962491" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:58:46 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" + } + }, + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+20": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20" ], + "x-ms-client-request-id": [ "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "d5e3df2e-e0e6-4402-b505-189d70e17cbe" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11959" ], + "x-ms-correlation-request-id": [ "d0aeef13-f804-4ed5-b954-9164f1cb2384" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075917Z:d0aeef13-f804-4ed5-b954-9164f1cb2384" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:59:17 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" + } + }, + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+21": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21" ], + "x-ms-client-request-id": [ "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc", "a8e8b952-d1fe-4bed-bf1c-a1d18ace9bdc" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "abc08585-0bd0-4c36-8780-3598f179caec" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11958" ], + "x-ms-correlation-request-id": [ "4b6cccf2-73bc-4221-8702-2b4f14f9ccca" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075917Z:4b6cccf2-73bc-4221-8702-2b4f14f9ccca" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:59:17 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1063" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100-replica.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T08:01:19.783+00:00\",\"replicationRole\":\"Replica\",\"masterServerId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica\",\"name\":\"mysql-test-100-replica\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + } + }, + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/replicas?api-version=2017-12-01+22": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/replicas?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "22" ], + "x-ms-client-request-id": [ "19304014-1a24-4d07-88ff-e6eb47016052" ], + "CommandName": [ "Get-AzMySqlReplica" ], + "FullCommandName": [ "Get-AzMySqlReplica_List" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "e6a76dfd-ce32-40b8-b52e-6efa4a6ab567" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11957" ], + "x-ms-correlation-request-id": [ "c31e5a09-082f-4be7-9dfe-d874a7f3067d" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075918Z:c31e5a09-082f-4be7-9dfe-d874a7f3067d" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:59:17 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1075" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"value\":[{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100-replica.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T08:01:19.783+00:00\",\"replicationRole\":\"Replica\",\"masterServerId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica\",\"name\":\"mysql-test-100-replica\",\"type\":\"Microsoft.DBforMySQL/servers\"}]}" + } + }, + "Get-AzMySqlReplica+[NoContext]+List+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+23": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "23" ], + "x-ms-client-request-id": [ "ab80dd07-81f1-4f41-a867-13f99570c196" ], + "CommandName": [ "Remove-AzMySqlServer" ], + "FullCommandName": [ "Remove-AzMySqlServer_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/1febca3d-6c67-4885-96a8-3b17d2aac22e?api-version=2017-12-01" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/1febca3d-6c67-4885-96a8-3b17d2aac22e?api-version=2017-12-01" ], + "x-ms-request-id": [ "1febca3d-6c67-4885-96a8-3b17d2aac22e" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14997" ], + "x-ms-correlation-request-id": [ "5510987e-ce08-4eff-bb31-81e1a6f5b474" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075919Z:5510987e-ce08-4eff-bb31-81e1a6f5b474" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:59:18 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "72" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropElasticServer\",\"startTime\":\"2020-07-24T07:59:18.913Z\"}" + } + }, + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/1febca3d-6c67-4885-96a8-3b17d2aac22e?api-version=2017-12-01+24": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/1febca3d-6c67-4885-96a8-3b17d2aac22e?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "23", "24" ], + "x-ms-client-request-id": [ "ab80dd07-81f1-4f41-a867-13f99570c196", "ab80dd07-81f1-4f41-a867-13f99570c196" ], + "CommandName": [ "Remove-AzMySqlServer", "Remove-AzMySqlServer" ], + "FullCommandName": [ "Remove-AzMySqlServer_DeleteViaIdentity", "Remove-AzMySqlServer_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "b29360c5-a79d-4a99-9347-b641e38e3263" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11956" ], + "x-ms-correlation-request-id": [ "757b45c3-b23b-4878-ac89-dc319de4e2ce" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075934Z:757b45c3-b23b-4878-ac89-dc319de4e2ce" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:59:34 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"1febca3d-6c67-4885-96a8-3b17d2aac22e\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:59:18.913Z\"}" + } + }, + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/1febca3d-6c67-4885-96a8-3b17d2aac22e?api-version=2017-12-01+25": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/1febca3d-6c67-4885-96a8-3b17d2aac22e?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "23", "24", "25" ], + "x-ms-client-request-id": [ "ab80dd07-81f1-4f41-a867-13f99570c196", "ab80dd07-81f1-4f41-a867-13f99570c196", "ab80dd07-81f1-4f41-a867-13f99570c196" ], + "CommandName": [ "Remove-AzMySqlServer", "Remove-AzMySqlServer", "Remove-AzMySqlServer" ], + "FullCommandName": [ "Remove-AzMySqlServer_DeleteViaIdentity", "Remove-AzMySqlServer_DeleteViaIdentity", "Remove-AzMySqlServer_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "c2e028ae-b1ab-41eb-bc62-a3408a3a6d50" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11955" ], + "x-ms-correlation-request-id": [ "710519c8-b0c6-4f26-addd-34068693cc2b" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T075934Z:710519c8-b0c6-4f26-addd-34068693cc2b" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:59:34 GMT" ] + }, + "ContentHeaders": { "Expires": [ "-1" ], - "Content-Length": [ "224" ] + "Content-Length": [ "0" ] }, - "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForMySQL/servers/mysql-test-100\u0027 under resource group \u0027MySqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" + "Content": null } } } \ No newline at end of file diff --git a/src/MySql/test/Get-AzMySqlServer.Recording.json b/src/MySql/test/Get-AzMySqlServer.Recording.json index a9a3da1b790a..8642aadaeadb 100644 --- a/src/MySql/test/Get-AzMySqlServer.Recording.json +++ b/src/MySql/test/Get-AzMySqlServer.Recording.json @@ -1,12 +1,12 @@ { - "Get-AzMySqlServer+[NoContext]+List1+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/servers?api-version=2017-12-01+1": { + "Get-AzMySqlServer+[NoContext]+List1+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/servers?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/servers?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/servers?api-version=2017-12-01", "Content": null, "Headers": { - "x-ms-unique-id": [ "10" ], - "x-ms-client-request-id": [ "813eeb7b-0025-432a-a2dd-a7cf40ce0c46" ], + "x-ms-unique-id": [ "1" ], + "x-ms-client-request-id": [ "ee25ffb0-0dc9-424d-903b-29dd0933c0e8" ], "CommandName": [ "Get-AzMySqlServer" ], "FullCommandName": [ "Get-AzMySqlServer_List1" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -21,31 +21,31 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-request-id": [ "ea6055eb-27ca-4d07-a1d6-f5f316cd9950" ], + "x-ms-request-id": [ "e6902d56-a3fc-4a8f-8a59-b207048a7ea1" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], - "x-ms-correlation-request-id": [ "0666b577-f6a9-4e0f-8850-7f5da3f8eed4" ], - "x-ms-routing-request-id": [ "WESTUS2:20201110T002710Z:0666b577-f6a9-4e0f-8850-7f5da3f8eed4" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "492f9156-37ed-4ff8-81cc-719b07010315" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T060709Z:492f9156-37ed-4ff8-81cc-719b07010315" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 10 Nov 2020 00:27:10 GMT" ] + "Date": [ "Fri, 24 Jul 2020 06:07:08 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "901" ], + "Content-Length": [ "8839" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"sku\":{\"name\":\"GP_Gen5_2\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":2},\"properties\":{\"administratorLogin\":\"aboardJay9\",\"storageProfile\":{\"storageMB\":51200,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"server192553055.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-11-05T18:25:23.083+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/daeun-cli-test/providers/Microsoft.DBforMySQL/servers/server192553055\",\"name\":\"server192553055\",\"type\":\"Microsoft.DBforMySQL/servers\"}]}" + "Content": "{\"value\":[{\"sku\":{\"name\":\"B_Gen5_2\",\"tier\":\"Basic\",\"family\":\"Gen5\",\"capacity\":2},\"properties\":{\"administratorLogin\":\"lucas\",\"storageProfile\":{\"storageMB\":51200,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"azuremysql-dev.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-17T06:07:08.9960907+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"tags\":{},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/azureps-manual-test/providers/Microsoft.DBforMySQL/servers/azuremysql-dev\",\"name\":\"azuremysql-dev\",\"type\":\"Microsoft.DBforMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"dbadmin\",\"storageProfile\":{\"storageMB\":102400,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"xdmmysql.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-17T06:07:08.9960907+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"tags\":{},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/dixue/providers/Microsoft.DBforMySQL/servers/xdmmysql\",\"name\":\"xdmmysql\",\"type\":\"Microsoft.DBforMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"adminuser\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test01.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T02:00:15.2+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.DBforMySQL/servers/mysql-test01\",\"name\":\"mysql-test01\",\"type\":\"Microsoft.DBforMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"adminuser\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test05.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T02:26:40.383+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.DBforMySQL/servers/mysql-test05\",\"name\":\"mysql-test05\",\"type\":\"Microsoft.DBforMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"adminuser\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test03.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T02:30:31.007+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.DBforMySQL/servers/mysql-test03\",\"name\":\"mysql-test03\",\"type\":\"Microsoft.DBforMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"adminuser\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test04.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T02:43:20.62+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.DBforMySQL/servers/mysql-test04\",\"name\":\"mysql-test04\",\"type\":\"Microsoft.DBforMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"adminuser\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test06.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T02:58:37.123+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.DBforMySQL/servers/mysql-test06\",\"name\":\"mysql-test06\",\"type\":\"Microsoft.DBforMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"adminuser\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test07.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:03:29.807+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.DBforMySQL/servers/mysql-test07\",\"name\":\"mysql-test07\",\"type\":\"Microsoft.DBforMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"adminuser\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-888.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T04:06:02.24+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.DBforMySQL/servers/mysql-test-888\",\"name\":\"mysql-test-888\",\"type\":\"Microsoft.DBforMySQL/servers\"}]}" } }, - "Get-AzMySqlServer+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { + "Get-AzMySqlServer+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { - "x-ms-unique-id": [ "11" ], - "x-ms-client-request-id": [ "edc97f30-350e-4343-80f4-64da0ed504c5" ], + "x-ms-unique-id": [ "2" ], + "x-ms-client-request-id": [ "2c10b66b-029b-49e3-853c-1622687cdb5a" ], "CommandName": [ "Get-AzMySqlServer" ], "FullCommandName": [ "Get-AzMySqlServer_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -56,34 +56,35 @@ } }, "Response": { - "StatusCode": 404, + "StatusCode": 200, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ "gateway" ], - "x-ms-request-id": [ "38f8046e-1b35-4ab9-b4bd-b2023b0f6d95" ], - "x-ms-correlation-request-id": [ "38f8046e-1b35-4ab9-b4bd-b2023b0f6d95" ], - "x-ms-routing-request-id": [ "WESTUS2:20201110T002711Z:38f8046e-1b35-4ab9-b4bd-b2023b0f6d95" ], + "x-ms-request-id": [ "3f2e74b9-c164-4cdd-bd6a-3c396011246b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "0bc2c423-7885-49c6-8001-122ff9c8b628" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T060709Z:0bc2c423-7885-49c6-8001-122ff9c8b628" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 10 Nov 2020 00:27:10 GMT" ] + "Date": [ "Fri, 24 Jul 2020 06:07:09 GMT" ] }, "ContentHeaders": { + "Content-Length": [ "905" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ], - "Content-Length": [ "224" ] + "Expires": [ "-1" ] }, - "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForMySQL/servers/mysql-test-100\u0027 under resource group \u0027MySqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" } }, - "Get-AzMySqlServer+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers?api-version=2017-12-01+1": { + "Get-AzMySqlServer+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers?api-version=2017-12-01", "Content": null, "Headers": { - "x-ms-unique-id": [ "12" ], - "x-ms-client-request-id": [ "3a36b9fb-d3e3-42e0-bc66-dd6d88881cfb" ], + "x-ms-unique-id": [ "3" ], + "x-ms-client-request-id": [ "4ac160bb-2e82-4016-b812-9fa9643c0740" ], "CommandName": [ "Get-AzMySqlServer" ], "FullCommandName": [ "Get-AzMySqlServer_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -98,20 +99,60 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], - "x-ms-request-id": [ "b4c11e9b-6b43-4e1c-802a-2bfb6fa043df" ], - "x-ms-correlation-request-id": [ "b4c11e9b-6b43-4e1c-802a-2bfb6fa043df" ], - "x-ms-routing-request-id": [ "WESTUS2:20201110T002711Z:b4c11e9b-6b43-4e1c-802a-2bfb6fa043df" ], + "x-ms-request-id": [ "8abf4f03-06fc-4bfe-8e28-bad9e8784379" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "0bf85407-84c2-43d2-bd4c-377c7e0f745d" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T060710Z:0bf85407-84c2-43d2-bd4c-377c7e0f745d" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:07:09 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "893" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"value\":[{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}]}" + } + }, + "Get-AzMySqlServer+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "4e03568e-9355-4a2e-83a9-08e678364b12" ], + "CommandName": [ "Get-AzMySqlServer" ], + "FullCommandName": [ "Get-AzMySqlServer_GetViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "f4296d38-41e4-43c9-9c98-32a2bd7bd1dc" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-correlation-request-id": [ "b1b2dc0b-a1b9-4b2d-80d6-175675cd3d1c" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T060710Z:b1b2dc0b-a1b9-4b2d-80d6-175675cd3d1c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 10 Nov 2020 00:27:10 GMT" ] + "Date": [ "Fri, 24 Jul 2020 06:07:10 GMT" ] }, "ContentHeaders": { + "Content-Length": [ "905" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ], - "Content-Length": [ "12" ] + "Expires": [ "-1" ] }, - "Content": "{\"value\":[]}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" } } } \ No newline at end of file diff --git a/src/MySql/test/Get-AzMySqlVirtualNetworkRule.Recording.json b/src/MySql/test/Get-AzMySqlVirtualNetworkRule.Recording.json index e40a2e1cf871..908bc02d7f58 100644 --- a/src/MySql/test/Get-AzMySqlVirtualNetworkRule.Recording.json +++ b/src/MySql/test/Get-AzMySqlVirtualNetworkRule.Recording.json @@ -1,101 +1,827 @@ { - "Get-AzMySqlVirtualNetworkRule+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { + "Get-AzMySqlVirtualNetworkRule+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\n }\n}", "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "213" ] + "Content-Length": [ "209" ] } }, "Response": { - "StatusCode": 404, + "StatusCode": 202, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ "gateway" ], - "x-ms-request-id": [ "4bbf4acf-a00d-432a-b2a8-adabf8a6d191" ], - "x-ms-correlation-request-id": [ "4bbf4acf-a00d-432a-b2a8-adabf8a6d191" ], - "x-ms-routing-request-id": [ "WESTUS2:20201110T002711Z:4bbf4acf-a00d-432a-b2a8-adabf8a6d191" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/569cb4f0-1275-4372-9370-179d5ddc5b42?api-version=2017-12-01" ], + "Retry-After": [ "30" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/569cb4f0-1275-4372-9370-179d5ddc5b42?api-version=2017-12-01" ], + "x-ms-request-id": [ "569cb4f0-1275-4372-9370-179d5ddc5b42" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "69cf67ed-4d24-49ab-82e1-0e53cf547756" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T060744Z:69cf67ed-4d24-49ab-82e1-0e53cf547756" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 10 Nov 2020 00:27:11 GMT" ] + "Date": [ "Fri, 24 Jul 2020 06:07:44 GMT" ] }, "ContentHeaders": { + "Content-Length": [ "90" ], "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T06:07:42.957Z\"}" + } + }, + "Get-AzMySqlVirtualNetworkRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/569cb4f0-1275-4372-9370-179d5ddc5b42?api-version=2017-12-01+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/569cb4f0-1275-4372-9370-179d5ddc5b42?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2" ], + "x-ms-client-request-id": [ "36791a49-25f6-475f-927b-94e63dba0960", "36791a49-25f6-475f-927b-94e63dba0960" ], + "CommandName": [ "New-AzMySqlVirtualNetworkRule", "New-AzMySqlVirtualNetworkRule" ], + "FullCommandName": [ "New-AzMySqlVirtualNetworkRule_CreateExpanded", "New-AzMySqlVirtualNetworkRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "90fa5c76-62c9-41b5-88f4-959164107aa3" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "9f78f556-f85c-497f-b035-f9def835eb07" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T060815Z:9f78f556-f85c-497f-b035-f9def835eb07" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:08:15 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"569cb4f0-1275-4372-9370-179d5ddc5b42\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:07:42.957Z\"}" + } + }, + "Get-AzMySqlVirtualNetworkRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2", "3" ], + "x-ms-client-request-id": [ "36791a49-25f6-475f-927b-94e63dba0960", "36791a49-25f6-475f-927b-94e63dba0960", "36791a49-25f6-475f-927b-94e63dba0960" ], + "CommandName": [ "New-AzMySqlVirtualNetworkRule", "New-AzMySqlVirtualNetworkRule", "New-AzMySqlVirtualNetworkRule" ], + "FullCommandName": [ "New-AzMySqlVirtualNetworkRule_CreateExpanded", "New-AzMySqlVirtualNetworkRule_CreateExpanded", "New-AzMySqlVirtualNetworkRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "ff8290a7-50f2-4ef6-bf36-e41e100cd361" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-correlation-request-id": [ "b58ffb9f-3211-4346-9110-5e9155fff786" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T060816Z:b58ffb9f-3211-4346-9110-5e9155fff786" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:08:15 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "497" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBforMySQL/servers/virtualNetworkRules\"}" + } + }, + "Get-AzMySqlVirtualNetworkRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules?api-version=2017-12-01+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "609eb4be-3231-4519-96f3-e83a87801dc2" ], + "CommandName": [ "Get-AzMySqlVirtualNetworkRule" ], + "FullCommandName": [ "Get-AzMySqlVirtualNetworkRule_List" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "14b24d98-00f3-49b8-9a56-30e74727eab2" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "00958179-cdc1-4d57-a37e-84145ce7e9ac" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T060816Z:00958179-cdc1-4d57-a37e-84145ce7e9ac" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:08:16 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "509" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"value\":[{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBforMySQL/servers/virtualNetworkRules\"}]}" + } + }, + "Get-AzMySqlVirtualNetworkRule+[NoContext]+List+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+5": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "5" ], + "x-ms-client-request-id": [ "e96600ef-c170-438c-a71d-3916f0e2411f" ], + "CommandName": [ "Remove-AzMySqlVirtualNetworkRule" ], + "FullCommandName": [ "Remove-AzMySqlVirtualNetworkRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/8d80b6fc-e5e2-4a05-8a3f-f1dcaa707318?api-version=2017-12-01" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/8d80b6fc-e5e2-4a05-8a3f-f1dcaa707318?api-version=2017-12-01" ], + "x-ms-request-id": [ "8d80b6fc-e5e2-4a05-8a3f-f1dcaa707318" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "x-ms-correlation-request-id": [ "f82588a4-1c36-47b5-8c7c-ea15f894ba77" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T060817Z:f82588a4-1c36-47b5-8c7c-ea15f894ba77" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:08:17 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "87" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T06:08:16.77Z\"}" + } + }, + "Get-AzMySqlVirtualNetworkRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/8d80b6fc-e5e2-4a05-8a3f-f1dcaa707318?api-version=2017-12-01+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/8d80b6fc-e5e2-4a05-8a3f-f1dcaa707318?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "5", "6" ], + "x-ms-client-request-id": [ "e96600ef-c170-438c-a71d-3916f0e2411f", "e96600ef-c170-438c-a71d-3916f0e2411f" ], + "CommandName": [ "Remove-AzMySqlVirtualNetworkRule", "Remove-AzMySqlVirtualNetworkRule" ], + "FullCommandName": [ "Remove-AzMySqlVirtualNetworkRule_Delete", "Remove-AzMySqlVirtualNetworkRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "915da883-4c23-46eb-a9c4-2d2364a183f7" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "42090764-0c66-4b15-bb2b-def22731bad4" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T060833Z:42090764-0c66-4b15-bb2b-def22731bad4" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:08:32 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"8d80b6fc-e5e2-4a05-8a3f-f1dcaa707318\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:08:16.77Z\"}" + } + }, + "Get-AzMySqlVirtualNetworkRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/8d80b6fc-e5e2-4a05-8a3f-f1dcaa707318?api-version=2017-12-01+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/8d80b6fc-e5e2-4a05-8a3f-f1dcaa707318?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "5", "6", "7" ], + "x-ms-client-request-id": [ "e96600ef-c170-438c-a71d-3916f0e2411f", "e96600ef-c170-438c-a71d-3916f0e2411f", "e96600ef-c170-438c-a71d-3916f0e2411f" ], + "CommandName": [ "Remove-AzMySqlVirtualNetworkRule", "Remove-AzMySqlVirtualNetworkRule", "Remove-AzMySqlVirtualNetworkRule" ], + "FullCommandName": [ "Remove-AzMySqlVirtualNetworkRule_Delete", "Remove-AzMySqlVirtualNetworkRule_Delete", "Remove-AzMySqlVirtualNetworkRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "ad0abb40-61ec-4073-83b7-e318f5a646c1" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "2d05db2a-9162-4f6c-ab3b-caffafe2b333" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T060833Z:2d05db2a-9162-4f6c-ab3b-caffafe2b333" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:08:33 GMT" ] + }, + "ContentHeaders": { "Expires": [ "-1" ], - "Content-Length": [ "155" ] + "Content-Length": [ "0" ] }, - "Content": "{\"error\":{\"code\":\"ParentResourceNotFound\",\"message\":\"Can not perform requested operation on nested resource. Parent resource \u0027mysql-test-100\u0027 not found.\"}}" + "Content": null } }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+Get+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { + "Get-AzMySqlVirtualNetworkRule+[NoContext]+Get+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\n }\n}", "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "213" ] + "Content-Length": [ "209" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/eca86a26-160c-4b90-9c07-b010bad8e44b?api-version=2017-12-01" ], + "Retry-After": [ "30" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/eca86a26-160c-4b90-9c07-b010bad8e44b?api-version=2017-12-01" ], + "x-ms-request-id": [ "eca86a26-160c-4b90-9c07-b010bad8e44b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-correlation-request-id": [ "5683a03a-b1e3-41b8-9d57-a6a66aa02afe" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T060835Z:5683a03a-b1e3-41b8-9d57-a6a66aa02afe" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:08:34 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "90" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T06:08:34.003Z\"}" + } + }, + "Get-AzMySqlVirtualNetworkRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/eca86a26-160c-4b90-9c07-b010bad8e44b?api-version=2017-12-01+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/eca86a26-160c-4b90-9c07-b010bad8e44b?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "8", "9" ], + "x-ms-client-request-id": [ "65a1390c-27bd-404f-849c-4f3a6a793261", "65a1390c-27bd-404f-849c-4f3a6a793261" ], + "CommandName": [ "New-AzMySqlVirtualNetworkRule", "New-AzMySqlVirtualNetworkRule" ], + "FullCommandName": [ "New-AzMySqlVirtualNetworkRule_CreateExpanded", "New-AzMySqlVirtualNetworkRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "73fc25d5-6799-4433-9f0f-3c89d8cfebfc" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-correlation-request-id": [ "3642ed5c-8246-46db-8bfe-6d294396ebb5" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T060905Z:3642ed5c-8246-46db-8bfe-6d294396ebb5" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:09:04 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"eca86a26-160c-4b90-9c07-b010bad8e44b\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:08:34.003Z\"}" + } + }, + "Get-AzMySqlVirtualNetworkRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "8", "9", "10" ], + "x-ms-client-request-id": [ "65a1390c-27bd-404f-849c-4f3a6a793261", "65a1390c-27bd-404f-849c-4f3a6a793261", "65a1390c-27bd-404f-849c-4f3a6a793261" ], + "CommandName": [ "New-AzMySqlVirtualNetworkRule", "New-AzMySqlVirtualNetworkRule", "New-AzMySqlVirtualNetworkRule" ], + "FullCommandName": [ "New-AzMySqlVirtualNetworkRule_CreateExpanded", "New-AzMySqlVirtualNetworkRule_CreateExpanded", "New-AzMySqlVirtualNetworkRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "5c91f46f-5199-452f-b1f3-e743efe69e8b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], + "x-ms-correlation-request-id": [ "3f499083-7bf5-4df9-b0fd-91a517e6d810" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T060905Z:3f499083-7bf5-4df9-b0fd-91a517e6d810" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:09:05 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "497" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBforMySQL/servers/virtualNetworkRules\"}" + } + }, + "Get-AzMySqlVirtualNetworkRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "11" ], + "x-ms-client-request-id": [ "bc1f0067-4c48-4e40-8efc-5af0acec2044" ], + "CommandName": [ "Get-AzMySqlVirtualNetworkRule" ], + "FullCommandName": [ "Get-AzMySqlVirtualNetworkRule_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { } }, "Response": { - "StatusCode": 404, + "StatusCode": 200, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ "gateway" ], - "x-ms-request-id": [ "22bef4a1-6113-486a-8432-91ac7e7d08ed" ], - "x-ms-correlation-request-id": [ "22bef4a1-6113-486a-8432-91ac7e7d08ed" ], - "x-ms-routing-request-id": [ "WESTUS2:20201110T002711Z:22bef4a1-6113-486a-8432-91ac7e7d08ed" ], + "x-ms-request-id": [ "6454db72-db55-4c35-a879-16bc891c2108" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], + "x-ms-correlation-request-id": [ "f16a6bba-c1bb-4ce2-ab92-542d89b127fc" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T060906Z:f16a6bba-c1bb-4ce2-ab92-542d89b127fc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 10 Nov 2020 00:27:11 GMT" ] + "Date": [ "Fri, 24 Jul 2020 06:09:05 GMT" ] }, "ContentHeaders": { + "Content-Length": [ "497" ], "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBforMySQL/servers/virtualNetworkRules\"}" + } + }, + "Get-AzMySqlVirtualNetworkRule+[NoContext]+Get+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+5": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "12" ], + "x-ms-client-request-id": [ "30a22c74-7147-4224-bddc-8a4a158fe8f8" ], + "CommandName": [ "Remove-AzMySqlVirtualNetworkRule" ], + "FullCommandName": [ "Remove-AzMySqlVirtualNetworkRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/909e92f8-2e4b-4cca-a590-1a984d1275d8?api-version=2017-12-01" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/909e92f8-2e4b-4cca-a590-1a984d1275d8?api-version=2017-12-01" ], + "x-ms-request-id": [ "909e92f8-2e4b-4cca-a590-1a984d1275d8" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14998" ], + "x-ms-correlation-request-id": [ "1b63e516-dac0-4a14-a718-a3eb22383b08" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T060907Z:1b63e516-dac0-4a14-a718-a3eb22383b08" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:09:07 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "87" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T06:09:06.55Z\"}" + } + }, + "Get-AzMySqlVirtualNetworkRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/909e92f8-2e4b-4cca-a590-1a984d1275d8?api-version=2017-12-01+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/909e92f8-2e4b-4cca-a590-1a984d1275d8?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "12", "13" ], + "x-ms-client-request-id": [ "30a22c74-7147-4224-bddc-8a4a158fe8f8", "30a22c74-7147-4224-bddc-8a4a158fe8f8" ], + "CommandName": [ "Remove-AzMySqlVirtualNetworkRule", "Remove-AzMySqlVirtualNetworkRule" ], + "FullCommandName": [ "Remove-AzMySqlVirtualNetworkRule_Delete", "Remove-AzMySqlVirtualNetworkRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "651d20d9-5e4d-45ce-b5bb-0252c2bfc8b4" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], + "x-ms-correlation-request-id": [ "cb07340b-98f5-4f55-b957-573967d528f4" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T060923Z:cb07340b-98f5-4f55-b957-573967d528f4" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:09:22 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"909e92f8-2e4b-4cca-a590-1a984d1275d8\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:09:06.55Z\"}" + } + }, + "Get-AzMySqlVirtualNetworkRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/909e92f8-2e4b-4cca-a590-1a984d1275d8?api-version=2017-12-01+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/909e92f8-2e4b-4cca-a590-1a984d1275d8?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "12", "13", "14" ], + "x-ms-client-request-id": [ "30a22c74-7147-4224-bddc-8a4a158fe8f8", "30a22c74-7147-4224-bddc-8a4a158fe8f8", "30a22c74-7147-4224-bddc-8a4a158fe8f8" ], + "CommandName": [ "Remove-AzMySqlVirtualNetworkRule", "Remove-AzMySqlVirtualNetworkRule", "Remove-AzMySqlVirtualNetworkRule" ], + "FullCommandName": [ "Remove-AzMySqlVirtualNetworkRule_Delete", "Remove-AzMySqlVirtualNetworkRule_Delete", "Remove-AzMySqlVirtualNetworkRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "e766fdd5-3e49-4f9f-a561-e8cff9391fe4" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], + "x-ms-correlation-request-id": [ "2d4bcacb-efe2-4c72-9093-6f6192ccc4bc" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T060923Z:2d4bcacb-efe2-4c72-9093-6f6192ccc4bc" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:09:22 GMT" ] + }, + "ContentHeaders": { "Expires": [ "-1" ], - "Content-Length": [ "155" ] + "Content-Length": [ "0" ] }, - "Content": "{\"error\":{\"code\":\"ParentResourceNotFound\",\"message\":\"Can not perform requested operation on nested resource. Parent resource \u0027mysql-test-100\u0027 not found.\"}}" + "Content": null } }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { + "Get-AzMySqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\n }\n}", "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "213" ] + "Content-Length": [ "209" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/c7a1a2cb-254e-4524-957d-a0325f03d984?api-version=2017-12-01" ], + "Retry-After": [ "30" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c7a1a2cb-254e-4524-957d-a0325f03d984?api-version=2017-12-01" ], + "x-ms-request-id": [ "c7a1a2cb-254e-4524-957d-a0325f03d984" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], + "x-ms-correlation-request-id": [ "c0a054e5-213d-45d2-955b-40aa5c90973e" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T060925Z:c0a054e5-213d-45d2-955b-40aa5c90973e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:09:24 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "90" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T06:09:23.787Z\"}" + } + }, + "Get-AzMySqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c7a1a2cb-254e-4524-957d-a0325f03d984?api-version=2017-12-01+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c7a1a2cb-254e-4524-957d-a0325f03d984?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "15", "16" ], + "x-ms-client-request-id": [ "e1114cdf-01b4-49f4-adce-175e77e4895c", "e1114cdf-01b4-49f4-adce-175e77e4895c" ], + "CommandName": [ "New-AzMySqlVirtualNetworkRule", "New-AzMySqlVirtualNetworkRule" ], + "FullCommandName": [ "New-AzMySqlVirtualNetworkRule_CreateExpanded", "New-AzMySqlVirtualNetworkRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "dad24963-cb0b-48b5-b2d3-42bd5f75823e" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], + "x-ms-correlation-request-id": [ "a99ce529-8cc4-42c7-b29d-910eb4338f73" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T060955Z:a99ce529-8cc4-42c7-b29d-910eb4338f73" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:09:55 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"c7a1a2cb-254e-4524-957d-a0325f03d984\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:09:23.787Z\"}" + } + }, + "Get-AzMySqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "15", "16", "17" ], + "x-ms-client-request-id": [ "e1114cdf-01b4-49f4-adce-175e77e4895c", "e1114cdf-01b4-49f4-adce-175e77e4895c", "e1114cdf-01b4-49f4-adce-175e77e4895c" ], + "CommandName": [ "New-AzMySqlVirtualNetworkRule", "New-AzMySqlVirtualNetworkRule", "New-AzMySqlVirtualNetworkRule" ], + "FullCommandName": [ "New-AzMySqlVirtualNetworkRule_CreateExpanded", "New-AzMySqlVirtualNetworkRule_CreateExpanded", "New-AzMySqlVirtualNetworkRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "abb52a54-baee-4bd7-8b61-812b07b7057a" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], + "x-ms-correlation-request-id": [ "0d6952c5-7a25-46f5-af1c-9b91aa66bd70" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T060955Z:0d6952c5-7a25-46f5-af1c-9b91aa66bd70" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:09:55 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "497" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBforMySQL/servers/virtualNetworkRules\"}" + } + }, + "Get-AzMySqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "18" ], + "x-ms-client-request-id": [ "0f8a37d8-13df-4d13-b1d7-567bd1f59ce3" ], + "CommandName": [ "Get-AzMySqlVirtualNetworkRule" ], + "FullCommandName": [ "Get-AzMySqlVirtualNetworkRule_GetViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "752e7aff-8eea-4e7f-9e44-134298a44906" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], + "x-ms-correlation-request-id": [ "a00d26c4-a951-483a-b605-013b69a331cc" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T060956Z:a00d26c4-a951-483a-b605-013b69a331cc" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:09:56 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "497" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBforMySQL/servers/virtualNetworkRules\"}" + } + }, + "Get-AzMySqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+5": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "19" ], + "x-ms-client-request-id": [ "b3b4f6d1-0169-4c58-aa6d-434f8b8e2988" ], + "CommandName": [ "Remove-AzMySqlVirtualNetworkRule" ], + "FullCommandName": [ "Remove-AzMySqlVirtualNetworkRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/c39984c8-51b1-4bdb-b580-6d6fceab47f1?api-version=2017-12-01" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c39984c8-51b1-4bdb-b580-6d6fceab47f1?api-version=2017-12-01" ], + "x-ms-request-id": [ "c39984c8-51b1-4bdb-b580-6d6fceab47f1" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14997" ], + "x-ms-correlation-request-id": [ "dd11cfd7-8d7e-476a-95a1-ae9d299920f9" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T060957Z:dd11cfd7-8d7e-476a-95a1-ae9d299920f9" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:09:57 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "87" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T06:09:56.49Z\"}" + } + }, + "Get-AzMySqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c39984c8-51b1-4bdb-b580-6d6fceab47f1?api-version=2017-12-01+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c39984c8-51b1-4bdb-b580-6d6fceab47f1?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "19", "20" ], + "x-ms-client-request-id": [ "b3b4f6d1-0169-4c58-aa6d-434f8b8e2988", "b3b4f6d1-0169-4c58-aa6d-434f8b8e2988" ], + "CommandName": [ "Remove-AzMySqlVirtualNetworkRule", "Remove-AzMySqlVirtualNetworkRule" ], + "FullCommandName": [ "Remove-AzMySqlVirtualNetworkRule_Delete", "Remove-AzMySqlVirtualNetworkRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { } }, "Response": { - "StatusCode": 404, + "StatusCode": 200, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ "gateway" ], - "x-ms-request-id": [ "165ec139-0e56-4afd-ba55-868bb7272ca9" ], - "x-ms-correlation-request-id": [ "165ec139-0e56-4afd-ba55-868bb7272ca9" ], - "x-ms-routing-request-id": [ "WESTUS2:20201110T002712Z:165ec139-0e56-4afd-ba55-868bb7272ca9" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "28b7a2de-ee1b-40a6-a088-0744c46a309f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], + "x-ms-correlation-request-id": [ "7aed32df-ada8-4b48-a142-f775f5eeb4b2" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T061013Z:7aed32df-ada8-4b48-a142-f775f5eeb4b2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 10 Nov 2020 00:27:11 GMT" ] + "Date": [ "Fri, 24 Jul 2020 06:10:12 GMT" ] }, "ContentHeaders": { + "Content-Length": [ "106" ], "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"c39984c8-51b1-4bdb-b580-6d6fceab47f1\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:09:56.49Z\"}" + } + }, + "Get-AzMySqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/c39984c8-51b1-4bdb-b580-6d6fceab47f1?api-version=2017-12-01+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/c39984c8-51b1-4bdb-b580-6d6fceab47f1?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "19", "20", "21" ], + "x-ms-client-request-id": [ "b3b4f6d1-0169-4c58-aa6d-434f8b8e2988", "b3b4f6d1-0169-4c58-aa6d-434f8b8e2988", "b3b4f6d1-0169-4c58-aa6d-434f8b8e2988" ], + "CommandName": [ "Remove-AzMySqlVirtualNetworkRule", "Remove-AzMySqlVirtualNetworkRule", "Remove-AzMySqlVirtualNetworkRule" ], + "FullCommandName": [ "Remove-AzMySqlVirtualNetworkRule_Delete", "Remove-AzMySqlVirtualNetworkRule_Delete", "Remove-AzMySqlVirtualNetworkRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "7dd4b518-cde2-40ef-bd4e-9d397167b44d" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], + "x-ms-correlation-request-id": [ "a2276d07-514d-4dac-b42b-9eb1cbe8b4f9" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T061013Z:a2276d07-514d-4dac-b42b-9eb1cbe8b4f9" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:10:13 GMT" ] + }, + "ContentHeaders": { "Expires": [ "-1" ], - "Content-Length": [ "155" ] + "Content-Length": [ "0" ] }, - "Content": "{\"error\":{\"code\":\"ParentResourceNotFound\",\"message\":\"Can not perform requested operation on nested resource. Parent resource \u0027mysql-test-100\u0027 not found.\"}}" + "Content": null } } } \ No newline at end of file diff --git a/src/MySql/test/New-AzMySqlFirewallRule.Recording.json b/src/MySql/test/New-AzMySqlFirewallRule.Recording.json index b56788333228..21c62f6a1a74 100644 --- a/src/MySql/test/New-AzMySqlFirewallRule.Recording.json +++ b/src/MySql/test/New-AzMySqlFirewallRule.Recording.json @@ -1,9 +1,9 @@ { - "New-AzMySqlFirewallRule+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { + "New-AzMySqlFirewallRule+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"endIpAddress\": \"0.0.0.1\",\r\n \"startIpAddress\": \"0.0.0.0\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { @@ -12,31 +12,234 @@ } }, "Response": { - "StatusCode": 404, + "StatusCode": 202, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ "gateway" ], - "x-ms-request-id": [ "5c32ff69-6062-445d-aa5c-1f7732b627b0" ], - "x-ms-correlation-request-id": [ "5c32ff69-6062-445d-aa5c-1f7732b627b0" ], - "x-ms-routing-request-id": [ "WESTUS2:20201110T002713Z:5c32ff69-6062-445d-aa5c-1f7732b627b0" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/7905d7ea-2033-455a-91a4-7780d0e6c19b?api-version=2017-12-01" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/7905d7ea-2033-455a-91a4-7780d0e6c19b?api-version=2017-12-01" ], + "x-ms-request-id": [ "7905d7ea-2033-455a-91a4-7780d0e6c19b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1191" ], + "x-ms-correlation-request-id": [ "2d4d9a71-7a4a-488a-9c69-8326ca19f0e8" ], + "x-ms-routing-request-id": [ "KOREASOUTH:20200811T132707Z:2d4d9a71-7a4a-488a-9c69-8326ca19f0e8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 10 Nov 2020 00:27:12 GMT" ] + "Date": [ "Tue, 11 Aug 2020 13:27:06 GMT" ] }, "ContentHeaders": { + "Content-Length": [ "87" ], "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-08-11T13:27:05.877Z\"}" + } + }, + "New-AzMySqlFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/7905d7ea-2033-455a-91a4-7780d0e6c19b?api-version=2017-12-01+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/7905d7ea-2033-455a-91a4-7780d0e6c19b?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "94", "95" ], + "x-ms-client-request-id": [ "ed523453-ec6c-4d57-bc5e-9c9bac7bed82", "ed523453-ec6c-4d57-bc5e-9c9bac7bed82" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule" ], + "FullCommandName": [ "New-AzMySqlFirewallRule_CreateExpanded", "New-AzMySqlFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "6d75bccd-26bd-4c6c-b6ac-79c107734909" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11926" ], + "x-ms-correlation-request-id": [ "0d169ffa-8b29-43ec-87b5-41359dcb704e" ], + "x-ms-routing-request-id": [ "KOREASOUTH:20200811T132722Z:0d169ffa-8b29-43ec-87b5-41359dcb704e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Tue, 11 Aug 2020 13:27:21 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"7905d7ea-2033-455a-91a4-7780d0e6c19b\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-11T13:27:05.877Z\"}" + } + }, + "New-AzMySqlFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "94", "95", "96" ], + "x-ms-client-request-id": [ "ed523453-ec6c-4d57-bc5e-9c9bac7bed82", "ed523453-ec6c-4d57-bc5e-9c9bac7bed82", "ed523453-ec6c-4d57-bc5e-9c9bac7bed82" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule" ], + "FullCommandName": [ "New-AzMySqlFirewallRule_CreateExpanded", "New-AzMySqlFirewallRule_CreateExpanded", "New-AzMySqlFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "6cbe6c03-5c6a-4d70-b794-88174dfaf91f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11925" ], + "x-ms-correlation-request-id": [ "b211a423-9105-4575-92ce-ea7fe361e45e" ], + "x-ms-routing-request-id": [ "KOREASOUTH:20200811T132723Z:b211a423-9105-4575-92ce-ea7fe361e45e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Tue, 11 Aug 2020 13:27:22 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "305" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/servers/firewallRules\"}" + } + }, + "New-AzMySqlFirewallRule+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+4": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "97" ], + "x-ms-client-request-id": [ "bd4ff2a5-58e9-4141-b121-49bb64accd9f" ], + "CommandName": [ "Remove-AzMySqlFirewallRule" ], + "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/afcfce15-c285-405b-9fa2-5b12013a9137?api-version=2017-12-01" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/afcfce15-c285-405b-9fa2-5b12013a9137?api-version=2017-12-01" ], + "x-ms-request-id": [ "afcfce15-c285-405b-9fa2-5b12013a9137" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14992" ], + "x-ms-correlation-request-id": [ "1c022c84-c87e-4822-8a70-53e1cf83bd56" ], + "x-ms-routing-request-id": [ "KOREASOUTH:20200811T132725Z:1c022c84-c87e-4822-8a70-53e1cf83bd56" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Tue, 11 Aug 2020 13:27:24 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "83" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-08-11T13:27:23.83Z\"}" + } + }, + "New-AzMySqlFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/afcfce15-c285-405b-9fa2-5b12013a9137?api-version=2017-12-01+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/afcfce15-c285-405b-9fa2-5b12013a9137?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "97", "98" ], + "x-ms-client-request-id": [ "bd4ff2a5-58e9-4141-b121-49bb64accd9f", "bd4ff2a5-58e9-4141-b121-49bb64accd9f" ], + "CommandName": [ "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule" ], + "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "7d3d4519-ee7f-4fc4-ab45-ff864c6b40fa" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11924" ], + "x-ms-correlation-request-id": [ "f0745f4e-95ec-4cc9-b04e-5c8599f4a118" ], + "x-ms-routing-request-id": [ "KOREASOUTH:20200811T132741Z:f0745f4e-95ec-4cc9-b04e-5c8599f4a118" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Tue, 11 Aug 2020 13:27:40 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"afcfce15-c285-405b-9fa2-5b12013a9137\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-11T13:27:23.83Z\"}" + } + }, + "New-AzMySqlFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/afcfce15-c285-405b-9fa2-5b12013a9137?api-version=2017-12-01+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/afcfce15-c285-405b-9fa2-5b12013a9137?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "97", "98", "99" ], + "x-ms-client-request-id": [ "bd4ff2a5-58e9-4141-b121-49bb64accd9f", "bd4ff2a5-58e9-4141-b121-49bb64accd9f", "bd4ff2a5-58e9-4141-b121-49bb64accd9f" ], + "CommandName": [ "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule" ], + "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "4436a735-7bf6-46fb-b18f-b229618069fb" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11923" ], + "x-ms-correlation-request-id": [ "e684b655-319a-4bb1-8878-a00599bd0cd6" ], + "x-ms-routing-request-id": [ "KOREASOUTH:20200811T132741Z:e684b655-319a-4bb1-8878-a00599bd0cd6" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Tue, 11 Aug 2020 13:27:41 GMT" ] + }, + "ContentHeaders": { "Expires": [ "-1" ], - "Content-Length": [ "224" ] + "Content-Length": [ "0" ] }, - "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForMySQL/servers/mysql-test-100\u0027 under resource group \u0027MySqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" + "Content": null } }, - "New-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { + "New-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.1\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"endIpAddress\": \"0.0.0.1\",\r\n \"startIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { @@ -45,31 +248,234 @@ } }, "Response": { - "StatusCode": 404, + "StatusCode": 202, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ "gateway" ], - "x-ms-request-id": [ "4fda3bf1-d9aa-458b-81bc-2f193850fe15" ], - "x-ms-correlation-request-id": [ "4fda3bf1-d9aa-458b-81bc-2f193850fe15" ], - "x-ms-routing-request-id": [ "WESTUS2:20201110T002713Z:4fda3bf1-d9aa-458b-81bc-2f193850fe15" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/7829f89e-24fe-4760-af09-60a52c725ace?api-version=2017-12-01" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/7829f89e-24fe-4760-af09-60a52c725ace?api-version=2017-12-01" ], + "x-ms-request-id": [ "7829f89e-24fe-4760-af09-60a52c725ace" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1190" ], + "x-ms-correlation-request-id": [ "64de701c-cfe4-48f9-aa40-223a72753c94" ], + "x-ms-routing-request-id": [ "KOREASOUTH:20200811T132743Z:64de701c-cfe4-48f9-aa40-223a72753c94" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 10 Nov 2020 00:27:13 GMT" ] + "Date": [ "Tue, 11 Aug 2020 13:27:42 GMT" ] }, "ContentHeaders": { + "Content-Length": [ "86" ], "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-08-11T13:27:42.36Z\"}" + } + }, + "New-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/7829f89e-24fe-4760-af09-60a52c725ace?api-version=2017-12-01+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/7829f89e-24fe-4760-af09-60a52c725ace?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "100", "101" ], + "x-ms-client-request-id": [ "f43706a0-0099-41dd-9c3d-9544c000fc4a", "f43706a0-0099-41dd-9c3d-9544c000fc4a" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule" ], + "FullCommandName": [ "New-AzMySqlFirewallRule_ClientIPAddress", "New-AzMySqlFirewallRule_ClientIPAddress" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "2bdd3ffd-24b1-439b-bec8-8c20e6215346" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11922" ], + "x-ms-correlation-request-id": [ "a6b3372c-7c8c-40f8-b650-7581f956503f" ], + "x-ms-routing-request-id": [ "KOREASOUTH:20200811T132759Z:a6b3372c-7c8c-40f8-b650-7581f956503f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Tue, 11 Aug 2020 13:27:58 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"7829f89e-24fe-4760-af09-60a52c725ace\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-11T13:27:42.36Z\"}" + } + }, + "New-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "100", "101", "102" ], + "x-ms-client-request-id": [ "f43706a0-0099-41dd-9c3d-9544c000fc4a", "f43706a0-0099-41dd-9c3d-9544c000fc4a", "f43706a0-0099-41dd-9c3d-9544c000fc4a" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule" ], + "FullCommandName": [ "New-AzMySqlFirewallRule_ClientIPAddress", "New-AzMySqlFirewallRule_ClientIPAddress", "New-AzMySqlFirewallRule_ClientIPAddress" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "08063341-0c68-4cc4-a161-13d7d00bcd07" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11921" ], + "x-ms-correlation-request-id": [ "25d1df5f-e106-4dbf-9c71-a556ce1d1a78" ], + "x-ms-routing-request-id": [ "KOREASOUTH:20200811T132759Z:25d1df5f-e106-4dbf-9c71-a556ce1d1a78" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Tue, 11 Aug 2020 13:27:58 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "305" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.1\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/servers/firewallRules\"}" + } + }, + "New-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+4": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "103" ], + "x-ms-client-request-id": [ "3069ae71-1ec4-42a1-8284-dc80ee065b8b" ], + "CommandName": [ "Remove-AzMySqlFirewallRule" ], + "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/0bfce3da-97d8-4215-a951-d983b2ce4fd6?api-version=2017-12-01" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/0bfce3da-97d8-4215-a951-d983b2ce4fd6?api-version=2017-12-01" ], + "x-ms-request-id": [ "0bfce3da-97d8-4215-a951-d983b2ce4fd6" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14991" ], + "x-ms-correlation-request-id": [ "c82801ee-fbdc-4208-883a-cbcbd01a1e77" ], + "x-ms-routing-request-id": [ "KOREASOUTH:20200811T132801Z:c82801ee-fbdc-4208-883a-cbcbd01a1e77" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Tue, 11 Aug 2020 13:28:00 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "84" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-08-11T13:28:00.173Z\"}" + } + }, + "New-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/0bfce3da-97d8-4215-a951-d983b2ce4fd6?api-version=2017-12-01+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/0bfce3da-97d8-4215-a951-d983b2ce4fd6?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "103", "104" ], + "x-ms-client-request-id": [ "3069ae71-1ec4-42a1-8284-dc80ee065b8b", "3069ae71-1ec4-42a1-8284-dc80ee065b8b" ], + "CommandName": [ "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule" ], + "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "0faef606-72ec-4fa8-9d7c-26776c5e951d" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11920" ], + "x-ms-correlation-request-id": [ "f08ab6f0-d323-4a1f-b593-3a43dec17af2" ], + "x-ms-routing-request-id": [ "KOREASOUTH:20200811T132818Z:f08ab6f0-d323-4a1f-b593-3a43dec17af2" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Tue, 11 Aug 2020 13:28:18 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"0bfce3da-97d8-4215-a951-d983b2ce4fd6\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-11T13:28:00.173Z\"}" + } + }, + "New-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/0bfce3da-97d8-4215-a951-d983b2ce4fd6?api-version=2017-12-01+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/0bfce3da-97d8-4215-a951-d983b2ce4fd6?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "103", "104", "105" ], + "x-ms-client-request-id": [ "3069ae71-1ec4-42a1-8284-dc80ee065b8b", "3069ae71-1ec4-42a1-8284-dc80ee065b8b", "3069ae71-1ec4-42a1-8284-dc80ee065b8b" ], + "CommandName": [ "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule" ], + "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "153acd45-058b-40d3-90b7-d8bd031706c9" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11919" ], + "x-ms-correlation-request-id": [ "74f8cf65-492c-41e9-891c-05cb85cdfba3" ], + "x-ms-routing-request-id": [ "KOREASOUTH:20200811T132818Z:74f8cf65-492c-41e9-891c-05cb85cdfba3" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Tue, 11 Aug 2020 13:28:18 GMT" ] + }, + "ContentHeaders": { "Expires": [ "-1" ], - "Content-Length": [ "224" ] + "Content-Length": [ "0" ] }, - "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForMySQL/servers/mysql-test-100\u0027 under resource group \u0027MySqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" + "Content": null } }, - "New-AzMySqlFirewallRule+[NoContext]+AllowAll+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01+1": { + "New-AzMySqlFirewallRule+[NoContext]+AllowAll+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"255.255.255.255\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"endIpAddress\": \"255.255.255.255\",\r\n \"startIpAddress\": \"0.0.0.0\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { @@ -78,24 +484,227 @@ } }, "Response": { - "StatusCode": 404, + "StatusCode": 202, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ "gateway" ], - "x-ms-request-id": [ "79434306-5030-4693-858b-6389458409de" ], - "x-ms-correlation-request-id": [ "79434306-5030-4693-858b-6389458409de" ], - "x-ms-routing-request-id": [ "WESTUS2:20201110T002714Z:79434306-5030-4693-858b-6389458409de" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/8a4de3fa-c25f-4b3a-9c9a-fc8b40491ef9?api-version=2017-12-01" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/8a4de3fa-c25f-4b3a-9c9a-fc8b40491ef9?api-version=2017-12-01" ], + "x-ms-request-id": [ "8a4de3fa-c25f-4b3a-9c9a-fc8b40491ef9" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1189" ], + "x-ms-correlation-request-id": [ "8ea8ffad-b781-4a2d-8c22-e6106ce61017" ], + "x-ms-routing-request-id": [ "KOREASOUTH:20200811T132820Z:8ea8ffad-b781-4a2d-8c22-e6106ce61017" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 10 Nov 2020 00:27:14 GMT" ] + "Date": [ "Tue, 11 Aug 2020 13:28:20 GMT" ] }, "ContentHeaders": { + "Content-Length": [ "87" ], "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-08-11T13:28:19.243Z\"}" + } + }, + "New-AzMySqlFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/8a4de3fa-c25f-4b3a-9c9a-fc8b40491ef9?api-version=2017-12-01+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/8a4de3fa-c25f-4b3a-9c9a-fc8b40491ef9?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "106", "107" ], + "x-ms-client-request-id": [ "fbc93aef-f54b-4c79-be23-f2d6573dff22", "fbc93aef-f54b-4c79-be23-f2d6573dff22" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule" ], + "FullCommandName": [ "New-AzMySqlFirewallRule_AllowAll", "New-AzMySqlFirewallRule_AllowAll" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "3c886455-753c-497b-9507-2fb266a4ee13" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11918" ], + "x-ms-correlation-request-id": [ "91b4547e-3d5d-4f09-883b-afb4fe272deb" ], + "x-ms-routing-request-id": [ "KOREASOUTH:20200811T132835Z:91b4547e-3d5d-4f09-883b-afb4fe272deb" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Tue, 11 Aug 2020 13:28:35 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"8a4de3fa-c25f-4b3a-9c9a-fc8b40491ef9\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-11T13:28:19.243Z\"}" + } + }, + "New-AzMySqlFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "106", "107", "108" ], + "x-ms-client-request-id": [ "fbc93aef-f54b-4c79-be23-f2d6573dff22", "fbc93aef-f54b-4c79-be23-f2d6573dff22", "fbc93aef-f54b-4c79-be23-f2d6573dff22" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule" ], + "FullCommandName": [ "New-AzMySqlFirewallRule_AllowAll", "New-AzMySqlFirewallRule_AllowAll", "New-AzMySqlFirewallRule_AllowAll" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "6016ab7f-0c6c-4e1e-9c2a-59635192154f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11917" ], + "x-ms-correlation-request-id": [ "a1e25f47-585b-4ab6-9447-52fe3e8ae2d9" ], + "x-ms-routing-request-id": [ "KOREASOUTH:20200811T132836Z:a1e25f47-585b-4ab6-9447-52fe3e8ae2d9" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Tue, 11 Aug 2020 13:28:35 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "347" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"255.255.255.255\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19\",\"name\":\"AllowAll_2020-08-11_21-28-19\",\"type\":\"Microsoft.DBforMySQL/servers/firewallRules\"}" + } + }, + "New-AzMySqlFirewallRule+[NoContext]+AllowAll+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01+4": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "109" ], + "x-ms-client-request-id": [ "64853478-f2c9-4975-8cb9-bbf3dcbddecf" ], + "CommandName": [ "Remove-AzMySqlFirewallRule" ], + "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/42839a43-c94c-48c1-a2c0-71273cd0b3ec?api-version=2017-12-01" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/42839a43-c94c-48c1-a2c0-71273cd0b3ec?api-version=2017-12-01" ], + "x-ms-request-id": [ "42839a43-c94c-48c1-a2c0-71273cd0b3ec" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14990" ], + "x-ms-correlation-request-id": [ "fb129fdc-d7cc-4a4e-90eb-1c95486a67c1" ], + "x-ms-routing-request-id": [ "KOREASOUTH:20200811T132838Z:fb129fdc-d7cc-4a4e-90eb-1c95486a67c1" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Tue, 11 Aug 2020 13:28:37 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "84" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-08-11T13:28:37.043Z\"}" + } + }, + "New-AzMySqlFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/42839a43-c94c-48c1-a2c0-71273cd0b3ec?api-version=2017-12-01+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/42839a43-c94c-48c1-a2c0-71273cd0b3ec?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "109", "110" ], + "x-ms-client-request-id": [ "64853478-f2c9-4975-8cb9-bbf3dcbddecf", "64853478-f2c9-4975-8cb9-bbf3dcbddecf" ], + "CommandName": [ "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule" ], + "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "416dcc50-d45f-4ab0-87a0-55c947e97100" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11916" ], + "x-ms-correlation-request-id": [ "ca32e1b2-9b79-43ee-8428-8275dace81ff" ], + "x-ms-routing-request-id": [ "KOREASOUTH:20200811T132853Z:ca32e1b2-9b79-43ee-8428-8275dace81ff" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Tue, 11 Aug 2020 13:28:52 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"42839a43-c94c-48c1-a2c0-71273cd0b3ec\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-11T13:28:37.043Z\"}" + } + }, + "New-AzMySqlFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/42839a43-c94c-48c1-a2c0-71273cd0b3ec?api-version=2017-12-01+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/42839a43-c94c-48c1-a2c0-71273cd0b3ec?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "109", "110", "111" ], + "x-ms-client-request-id": [ "64853478-f2c9-4975-8cb9-bbf3dcbddecf", "64853478-f2c9-4975-8cb9-bbf3dcbddecf", "64853478-f2c9-4975-8cb9-bbf3dcbddecf" ], + "CommandName": [ "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule" ], + "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "5332d2e4-d932-4a3e-be54-70fa026d02c1" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11915" ], + "x-ms-correlation-request-id": [ "14519af9-cfef-4d16-9137-922fd9d79605" ], + "x-ms-routing-request-id": [ "KOREASOUTH:20200811T132854Z:14519af9-cfef-4d16-9137-922fd9d79605" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Tue, 11 Aug 2020 13:28:53 GMT" ] + }, + "ContentHeaders": { "Expires": [ "-1" ], - "Content-Length": [ "224" ] + "Content-Length": [ "0" ] }, - "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForMySQL/servers/mysql-test-100\u0027 under resource group \u0027MySqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" + "Content": null } } } \ No newline at end of file diff --git a/src/MySql/test/New-AzMySqlFlexibleServer.Recording.json b/src/MySql/test/New-AzMySqlFlexibleServer.Recording.json index fd0d45208ef5..23c4bfc405c6 100644 --- a/src/MySql/test/New-AzMySqlFlexibleServer.Recording.json +++ b/src/MySql/test/New-AzMySqlFlexibleServer.Recording.json @@ -16,35 +16,35 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/operationResults/b934d4f2-6613-49fc-840c-b46539c85b26?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/operationResults/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/b934d4f2-6613-49fc-840c-b46539c85b26?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "53ffda00-3426-49ec-9700-036d36f9d4f9" ], + "x-ms-request-id": [ "667dafb6-209c-483f-b69f-39484b76f3c2" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-correlation-request-id": [ "16f6948c-0568-4940-ad91-e2b59ee576ca" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T064352Z:16f6948c-0568-4940-ad91-e2b59ee576ca" ], + "x-ms-correlation-request-id": [ "9b6cf422-9f80-4be2-9549-78dc2fdcd41e" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T204129Z:9b6cf422-9f80-4be2-9549-78dc2fdcd41e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:43:51 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:41:28 GMT" ] }, "ContentHeaders": { "Content-Length": [ "88" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-11T06:43:51.827Z\"}" + "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-11T20:41:29.477Z\"}" } }, - "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/b934d4f2-6613-49fc-840c-b46539c85b26?api-version=2020-07-01-preview+2": { + "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/b934d4f2-6613-49fc-840c-b46539c85b26?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "6" ], - "x-ms-client-request-id": [ "eac1cf76-8f94-4ee2-9a20-716b79d29bdf" ], + "x-ms-unique-id": [ "2" ], + "x-ms-client-request-id": [ "3164a413-75ae-4a59-9b0d-8326ce5bdd04" ], "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -60,31 +60,31 @@ "Pragma": [ "no-cache" ], "Retry-After": [ "60" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "51dbd2ac-2752-44bb-a0d4-c1ef0330a216" ], + "x-ms-request-id": [ "a2c60699-415c-47d9-bd41-93c53a0726e5" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], - "x-ms-correlation-request-id": [ "cbc68a87-0e18-448c-b614-b7dc1fd123e1" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T064452Z:cbc68a87-0e18-448c-b614-b7dc1fd123e1" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-correlation-request-id": [ "d29ae1ab-3d5b-4752-80b6-9dc03a6923eb" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T204230Z:d29ae1ab-3d5b-4752-80b6-9dc03a6923eb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:44:52 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:42:29 GMT" ] }, "ContentHeaders": { "Content-Length": [ "108" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"b934d4f2-6613-49fc-840c-b46539c85b26\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T06:43:51.827Z\"}" + "Content": "{\"name\":\"46a5c82d-e040-419c-a08f-c771c5b4af8d\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T20:41:29.477Z\"}" } }, - "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/b934d4f2-6613-49fc-840c-b46539c85b26?api-version=2020-07-01-preview+3": { + "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/b934d4f2-6613-49fc-840c-b46539c85b26?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "7" ], - "x-ms-client-request-id": [ "eac1cf76-8f94-4ee2-9a20-716b79d29bdf" ], + "x-ms-unique-id": [ "3" ], + "x-ms-client-request-id": [ "3164a413-75ae-4a59-9b0d-8326ce5bdd04" ], "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -100,31 +100,31 @@ "Pragma": [ "no-cache" ], "Retry-After": [ "60" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "6d20d9c8-927b-4dfa-be3c-92525c3b7d8a" ], + "x-ms-request-id": [ "daf365e5-4c61-41aa-964b-4e9a928949be" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], - "x-ms-correlation-request-id": [ "99f81bde-5495-41bb-94e8-b3c156c929c1" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T064552Z:99f81bde-5495-41bb-94e8-b3c156c929c1" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-correlation-request-id": [ "d74864f5-76d5-4ba6-a54d-02f5ad1c2c1c" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T204330Z:d74864f5-76d5-4ba6-a54d-02f5ad1c2c1c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:45:52 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:43:29 GMT" ] }, "ContentHeaders": { "Content-Length": [ "108" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"b934d4f2-6613-49fc-840c-b46539c85b26\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T06:43:51.827Z\"}" + "Content": "{\"name\":\"46a5c82d-e040-419c-a08f-c771c5b4af8d\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T20:41:29.477Z\"}" } }, - "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/b934d4f2-6613-49fc-840c-b46539c85b26?api-version=2020-07-01-preview+4": { + "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/b934d4f2-6613-49fc-840c-b46539c85b26?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "8" ], - "x-ms-client-request-id": [ "eac1cf76-8f94-4ee2-9a20-716b79d29bdf" ], + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "3164a413-75ae-4a59-9b0d-8326ce5bdd04" ], "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -140,31 +140,31 @@ "Pragma": [ "no-cache" ], "Retry-After": [ "60" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "e7d35d5c-ea5a-4ddb-a2f5-a6759e3ea8cc" ], + "x-ms-request-id": [ "298a5a86-ef50-4d77-9e9f-83bc882726df" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], - "x-ms-correlation-request-id": [ "eee3d922-b1ab-4cfc-8247-9c49c97feb78" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T064653Z:eee3d922-b1ab-4cfc-8247-9c49c97feb78" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-correlation-request-id": [ "900cd2b1-93a5-45d9-8136-a84315fdcb92" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T204430Z:900cd2b1-93a5-45d9-8136-a84315fdcb92" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:46:52 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:44:30 GMT" ] }, "ContentHeaders": { "Content-Length": [ "108" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"b934d4f2-6613-49fc-840c-b46539c85b26\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T06:43:51.827Z\"}" + "Content": "{\"name\":\"46a5c82d-e040-419c-a08f-c771c5b4af8d\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T20:41:29.477Z\"}" } }, - "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/b934d4f2-6613-49fc-840c-b46539c85b26?api-version=2020-07-01-preview+5": { + "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/b934d4f2-6613-49fc-840c-b46539c85b26?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "9" ], - "x-ms-client-request-id": [ "eac1cf76-8f94-4ee2-9a20-716b79d29bdf" ], + "x-ms-unique-id": [ "5" ], + "x-ms-client-request-id": [ "3164a413-75ae-4a59-9b0d-8326ce5bdd04" ], "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -180,31 +180,31 @@ "Pragma": [ "no-cache" ], "Retry-After": [ "60" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "66cdb425-be4e-4ae8-9a61-691130c88cca" ], + "x-ms-request-id": [ "af39c4fb-1f6c-47c9-957d-cb3e16960ce0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], - "x-ms-correlation-request-id": [ "d6f2acf7-f8d4-479a-baad-6fe1059f8cd1" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T064753Z:d6f2acf7-f8d4-479a-baad-6fe1059f8cd1" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "271b6a24-f082-4559-9015-4d81e1d629c1" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T204531Z:271b6a24-f082-4559-9015-4d81e1d629c1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:47:53 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:45:30 GMT" ] }, "ContentHeaders": { "Content-Length": [ "108" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"b934d4f2-6613-49fc-840c-b46539c85b26\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T06:43:51.827Z\"}" + "Content": "{\"name\":\"46a5c82d-e040-419c-a08f-c771c5b4af8d\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T20:41:29.477Z\"}" } }, - "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/b934d4f2-6613-49fc-840c-b46539c85b26?api-version=2020-07-01-preview+6": { + "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/b934d4f2-6613-49fc-840c-b46539c85b26?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "10" ], - "x-ms-client-request-id": [ "eac1cf76-8f94-4ee2-9a20-716b79d29bdf" ], + "x-ms-unique-id": [ "6" ], + "x-ms-client-request-id": [ "3164a413-75ae-4a59-9b0d-8326ce5bdd04" ], "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -220,31 +220,31 @@ "Pragma": [ "no-cache" ], "Retry-After": [ "60" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "a4ebd38f-bb85-4e02-afe5-65a787872b76" ], + "x-ms-request-id": [ "b635cabe-f384-40a4-8119-30f690e402f2" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], - "x-ms-correlation-request-id": [ "64f2fa2e-5ac3-4dfa-9863-ac46e36fecf1" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T064854Z:64f2fa2e-5ac3-4dfa-9863-ac46e36fecf1" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-correlation-request-id": [ "19ff368f-70ce-4ad0-abff-3b507751fc1e" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T204632Z:19ff368f-70ce-4ad0-abff-3b507751fc1e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:48:53 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:46:31 GMT" ] }, "ContentHeaders": { "Content-Length": [ "108" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"b934d4f2-6613-49fc-840c-b46539c85b26\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T06:43:51.827Z\"}" + "Content": "{\"name\":\"46a5c82d-e040-419c-a08f-c771c5b4af8d\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T20:41:29.477Z\"}" } }, - "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/b934d4f2-6613-49fc-840c-b46539c85b26?api-version=2020-07-01-preview+7": { + "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/b934d4f2-6613-49fc-840c-b46539c85b26?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "11" ], - "x-ms-client-request-id": [ "eac1cf76-8f94-4ee2-9a20-716b79d29bdf" ], + "x-ms-unique-id": [ "7" ], + "x-ms-client-request-id": [ "3164a413-75ae-4a59-9b0d-8326ce5bdd04" ], "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -260,31 +260,31 @@ "Pragma": [ "no-cache" ], "Retry-After": [ "60" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "6054150c-2112-44b7-8796-3c0765614a34" ], + "x-ms-request-id": [ "c6803031-4c07-429c-bd01-c473f5072fec" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], - "x-ms-correlation-request-id": [ "eddb461d-dd3b-4c3a-ad78-ea9ded8cf82a" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T064954Z:eddb461d-dd3b-4c3a-ad78-ea9ded8cf82a" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "ce62fa1d-2f5b-4331-987d-5693956176eb" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T204732Z:ce62fa1d-2f5b-4331-987d-5693956176eb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:49:53 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:47:32 GMT" ] }, "ContentHeaders": { "Content-Length": [ "108" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"b934d4f2-6613-49fc-840c-b46539c85b26\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T06:43:51.827Z\"}" + "Content": "{\"name\":\"46a5c82d-e040-419c-a08f-c771c5b4af8d\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T20:41:29.477Z\"}" } }, - "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/b934d4f2-6613-49fc-840c-b46539c85b26?api-version=2020-07-01-preview+8": { + "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/b934d4f2-6613-49fc-840c-b46539c85b26?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "12" ], - "x-ms-client-request-id": [ "eac1cf76-8f94-4ee2-9a20-716b79d29bdf" ], + "x-ms-unique-id": [ "8" ], + "x-ms-client-request-id": [ "3164a413-75ae-4a59-9b0d-8326ce5bdd04" ], "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -300,31 +300,31 @@ "Pragma": [ "no-cache" ], "Retry-After": [ "60" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "e2e459f6-23f9-494e-88d4-c586f1ee23e4" ], + "x-ms-request-id": [ "886fdc7c-493a-4dfc-a82a-b4bc6728c7e8" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], - "x-ms-correlation-request-id": [ "d1b211c2-525e-4b5a-8f07-13d81850b4aa" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T065054Z:d1b211c2-525e-4b5a-8f07-13d81850b4aa" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "eb2dace3-c78b-4854-a75d-28547d87ad5d" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T204832Z:eb2dace3-c78b-4854-a75d-28547d87ad5d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:50:54 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:48:31 GMT" ] }, "ContentHeaders": { "Content-Length": [ "108" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"b934d4f2-6613-49fc-840c-b46539c85b26\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T06:43:51.827Z\"}" + "Content": "{\"name\":\"46a5c82d-e040-419c-a08f-c771c5b4af8d\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T20:41:29.477Z\"}" } }, - "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/b934d4f2-6613-49fc-840c-b46539c85b26?api-version=2020-07-01-preview+9": { + "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/b934d4f2-6613-49fc-840c-b46539c85b26?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "13" ], - "x-ms-client-request-id": [ "eac1cf76-8f94-4ee2-9a20-716b79d29bdf" ], + "x-ms-unique-id": [ "9" ], + "x-ms-client-request-id": [ "3164a413-75ae-4a59-9b0d-8326ce5bdd04" ], "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -340,20 +340,20 @@ "Pragma": [ "no-cache" ], "Retry-After": [ "60" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "fef95cc3-6443-471a-a73b-39508b64a9be" ], + "x-ms-request-id": [ "80d5c056-b086-45f0-b142-bf1f8ed98d61" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], - "x-ms-correlation-request-id": [ "0f43e69b-b23d-4735-854e-4684d689a98a" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T065155Z:0f43e69b-b23d-4735-854e-4684d689a98a" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "cf74a88a-89a7-435c-88f1-ca560274e1c9" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T204933Z:cf74a88a-89a7-435c-88f1-ca560274e1c9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:51:54 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:49:33 GMT" ] }, "ContentHeaders": { "Content-Length": [ "107" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"b934d4f2-6613-49fc-840c-b46539c85b26\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T06:43:51.827Z\"}" + "Content": "{\"name\":\"46a5c82d-e040-419c-a08f-c771c5b4af8d\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T20:41:29.477Z\"}" } }, "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+10": { @@ -363,8 +363,8 @@ "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "14" ], - "x-ms-client-request-id": [ "eac1cf76-8f94-4ee2-9a20-716b79d29bdf" ], + "x-ms-unique-id": [ "10" ], + "x-ms-client-request-id": [ "3164a413-75ae-4a59-9b0d-8326ce5bdd04" ], "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -379,20 +379,20 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "c7975d0f-14d5-4d23-b28c-f0b9385e4309" ], + "x-ms-request-id": [ "40d55e84-8cb6-4c3a-9496-fbc94ad2ab92" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], - "x-ms-correlation-request-id": [ "49969c87-877a-43d7-85c8-a1145c4dbd58" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T065155Z:49969c87-877a-43d7-85c8-a1145c4dbd58" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-correlation-request-id": [ "efa7eda6-33e9-48ab-a389-6d21f220d52c" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T204933Z:efa7eda6-33e9-48ab-a389-6d21f220d52c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:51:54 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:49:33 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "960" ], + "Content-Length": [ "961" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_D2ds_v4\",\"tier\":\"GeneralPurpose\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":102400,\"storageIops\":0,\"backupRetentionDays\":12,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T06:51:55.163825+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_D2ds_v4\",\"tier\":\"GeneralPurpose\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":102400,\"storageIops\":0,\"backupRetentionDays\":12,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T20:49:33.3741322+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } } } \ No newline at end of file diff --git a/src/MySql/test/New-AzMySqlFlexibleServerReplica.Tests.ps1 b/src/MySql/test/New-AzMySqlFlexibleServerReplica.Tests.ps1 index 068003914548..e45d8938052a 100644 --- a/src/MySql/test/New-AzMySqlFlexibleServerReplica.Tests.ps1 +++ b/src/MySql/test/New-AzMySqlFlexibleServerReplica.Tests.ps1 @@ -16,7 +16,7 @@ Describe 'New-AzMySqlFlexibleServerReplica' { { $replica = Get-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -ServerName $env.serverName | New-AzMySqlFlexibleServerReplica -Replica $env.replicaName -ResourceGroupName $env.resourceGroup $replica.Name | Should -Be $env.replicaName - $replica.SkuName | Should -Be $env.Sku + $replica.SkuName | Should -Be $env.FlexibleSku $replica.Location | Should -Be "West US 2" Remove-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.replicaName } | Should -Not -Throw diff --git a/src/MySql/test/New-AzMySqlServer.Recording.json b/src/MySql/test/New-AzMySqlServer.Recording.json new file mode 100644 index 000000000000..8d3dbbb15c7c --- /dev/null +++ b/src/MySql/test/New-AzMySqlServer.Recording.json @@ -0,0 +1,278 @@ +{ + "New-AzMySqlServer+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-2?api-version=2017-12-01+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-2?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"createMode\": \"Default\",\n \"administratorLogin\": \"pwsh\",\n \"administratorLoginPassword\": \"Pa88word!\"\n },\n \"sku\": {\n \"name\": \"GP_Gen5_4\"\n },\n \"location\": \"eastus\"\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "198" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/4d7c6645-81d7-4604-99db-387dedcedfbf?api-version=2017-12-01" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/4d7c6645-81d7-4604-99db-387dedcedfbf?api-version=2017-12-01" ], + "x-ms-request-id": [ "4d7c6645-81d7-4604-99db-387dedcedfbf" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "1bf1e0de-4884-452a-9539-72858cc51c99" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T062051Z:1bf1e0de-4884-452a-9539-72858cc51c99" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:20:50 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "73" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertElasticServer\",\"startTime\":\"2020-07-24T06:20:48.23Z\"}" + } + }, + "New-AzMySqlServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/4d7c6645-81d7-4604-99db-387dedcedfbf?api-version=2017-12-01+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/4d7c6645-81d7-4604-99db-387dedcedfbf?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2" ], + "x-ms-client-request-id": [ "bec2855d-f2c4-47db-bcb0-fb371728f286", "bec2855d-f2c4-47db-bcb0-fb371728f286" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "x-ms-request-id": [ "3110ddb3-268b-473a-b969-c8ba062d666e" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-correlation-request-id": [ "4bb270d9-1b39-4b8e-906e-f2d2acea5d92" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T062152Z:4bb270d9-1b39-4b8e-906e-f2d2acea5d92" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:21:52 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"4d7c6645-81d7-4604-99db-387dedcedfbf\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T06:20:48.23Z\"}" + } + }, + "New-AzMySqlServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/4d7c6645-81d7-4604-99db-387dedcedfbf?api-version=2017-12-01+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/4d7c6645-81d7-4604-99db-387dedcedfbf?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2", "3" ], + "x-ms-client-request-id": [ "bec2855d-f2c4-47db-bcb0-fb371728f286", "bec2855d-f2c4-47db-bcb0-fb371728f286", "bec2855d-f2c4-47db-bcb0-fb371728f286" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "x-ms-request-id": [ "d24209b3-277e-45ae-bcc0-3112eab38f03" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-correlation-request-id": [ "eddfc63c-74c5-4c04-8bfb-36687467f4e4" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T062253Z:eddfc63c-74c5-4c04-8bfb-36687467f4e4" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:22:52 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"4d7c6645-81d7-4604-99db-387dedcedfbf\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:20:48.23Z\"}" + } + }, + "New-AzMySqlServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-2?api-version=2017-12-01+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-2?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2", "3", "4" ], + "x-ms-client-request-id": [ "bec2855d-f2c4-47db-bcb0-fb371728f286", "bec2855d-f2c4-47db-bcb0-fb371728f286", "bec2855d-f2c4-47db-bcb0-fb371728f286", "bec2855d-f2c4-47db-bcb0-fb371728f286" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "6a0f1a19-7d9a-4904-809a-302c0aa654c4" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-correlation-request-id": [ "b17e3561-791d-4efa-9f1d-c0340c99cc03" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T062253Z:b17e3561-791d-4efa-9f1d-c0340c99cc03" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:22:52 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "904" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"pwsh\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T06:30:50.09+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + } + }, + "New-AzMySqlServer+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-2?api-version=2017-12-01+5": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-2?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "5" ], + "x-ms-client-request-id": [ "15f27fbc-126c-44b7-b33c-063cab7ac5b3" ], + "CommandName": [ "Remove-AzMySqlServer" ], + "FullCommandName": [ "Remove-AzMySqlServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/e3523d76-2ed6-48f1-96b3-1f3491a51e63?api-version=2017-12-01" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/e3523d76-2ed6-48f1-96b3-1f3491a51e63?api-version=2017-12-01" ], + "x-ms-request-id": [ "e3523d76-2ed6-48f1-96b3-1f3491a51e63" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "x-ms-correlation-request-id": [ "5d15d1b5-46f3-48ac-905e-4ca444b7adb1" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T062254Z:5d15d1b5-46f3-48ac-905e-4ca444b7adb1" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:22:53 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "72" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropElasticServer\",\"startTime\":\"2020-07-24T06:22:54.223Z\"}" + } + }, + "New-AzMySqlServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/e3523d76-2ed6-48f1-96b3-1f3491a51e63?api-version=2017-12-01+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/e3523d76-2ed6-48f1-96b3-1f3491a51e63?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "5", "6" ], + "x-ms-client-request-id": [ "15f27fbc-126c-44b7-b33c-063cab7ac5b3", "15f27fbc-126c-44b7-b33c-063cab7ac5b3" ], + "CommandName": [ "Remove-AzMySqlServer", "Remove-AzMySqlServer" ], + "FullCommandName": [ "Remove-AzMySqlServer_Delete", "Remove-AzMySqlServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "c79a1ca0-5170-4ecb-8dc1-9daa895a0de5" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-correlation-request-id": [ "04814243-c9aa-4ab3-8d8a-b98be748a2f0" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T062309Z:04814243-c9aa-4ab3-8d8a-b98be748a2f0" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:23:08 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"e3523d76-2ed6-48f1-96b3-1f3491a51e63\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:22:54.223Z\"}" + } + }, + "New-AzMySqlServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/e3523d76-2ed6-48f1-96b3-1f3491a51e63?api-version=2017-12-01+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/e3523d76-2ed6-48f1-96b3-1f3491a51e63?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "5", "6", "7" ], + "x-ms-client-request-id": [ "15f27fbc-126c-44b7-b33c-063cab7ac5b3", "15f27fbc-126c-44b7-b33c-063cab7ac5b3", "15f27fbc-126c-44b7-b33c-063cab7ac5b3" ], + "CommandName": [ "Remove-AzMySqlServer", "Remove-AzMySqlServer", "Remove-AzMySqlServer" ], + "FullCommandName": [ "Remove-AzMySqlServer_Delete", "Remove-AzMySqlServer_Delete", "Remove-AzMySqlServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "e68b2988-165f-4e40-8717-318ef9177410" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "737f886e-7740-407a-b063-9e77a16aae58" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T062310Z:737f886e-7740-407a-b063-9e77a16aae58" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:23:09 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + } + } \ No newline at end of file diff --git a/src/MySql/test/New-AzMySqlServerReplica.Recording.json b/src/MySql/test/New-AzMySqlServerReplica.Recording.json index 0bdd1118d29f..859830ee2fd4 100644 --- a/src/MySql/test/New-AzMySqlServerReplica.Recording.json +++ b/src/MySql/test/New-AzMySqlServerReplica.Recording.json @@ -1,12 +1,12 @@ { - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { - "x-ms-unique-id": [ "19" ], - "x-ms-client-request-id": [ "71f55480-07d9-47c2-8c11-3fd8113348d4" ], + "x-ms-unique-id": [ "1" ], + "x-ms-client-request-id": [ "3b67a350-3b4c-4fc7-b71c-0e2d53227432" ], "CommandName": [ "Get-AzMySqlServer" ], "FullCommandName": [ "Get-AzMySqlServer_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -17,24 +17,1021 @@ } }, "Response": { - "StatusCode": 404, + "StatusCode": 200, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ "gateway" ], - "x-ms-request-id": [ "4d7b8b9f-673e-4fe1-92ea-74c555a51e47" ], - "x-ms-correlation-request-id": [ "4d7b8b9f-673e-4fe1-92ea-74c555a51e47" ], - "x-ms-routing-request-id": [ "WESTUS2:20201110T002729Z:4d7b8b9f-673e-4fe1-92ea-74c555a51e47" ], + "x-ms-request-id": [ "6d3f6048-f90f-4199-8645-caf84a7a7bee" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], + "x-ms-correlation-request-id": [ "8bf70234-b5a5-4f67-8c4f-f7a35352f378" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T094130Z:8bf70234-b5a5-4f67-8c4f-f7a35352f378" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 10 Nov 2020 00:27:28 GMT" ] + "Date": [ "Fri, 24 Jul 2020 09:41:30 GMT" ] }, "ContentHeaders": { + "Content-Length": [ "909" ], "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + } + }, + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+2": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"createMode\": \"Replica\",\n \"sourceServerId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\"\n },\n \"location\": \"eastus\"\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "233" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01" ], + "Retry-After": [ "30" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01" ], + "x-ms-request-id": [ "d6ce3561-ffa0-4bc6-bd34-ef770b816a4a" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "47f636e0-8255-4d2f-8873-23ae86ba5c5a" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T094135Z:47f636e0-8255-4d2f-8873-23ae86ba5c5a" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 09:41:35 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "87" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"CreateElasticServerContinuousCopy\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" + } + }, + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3" ], + "x-ms-client-request-id": [ "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "8bc6cf1d-22ac-4022-941f-02f3fe21f558" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], + "x-ms-correlation-request-id": [ "912fe1ea-531a-4a73-9cf4-f994c13810f6" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T094206Z:912fe1ea-531a-4a73-9cf4-f994c13810f6" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 09:42:05 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" + } + }, + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4" ], + "x-ms-client-request-id": [ "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "926e440a-d9d7-4acf-a6fc-8579ea62e383" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], + "x-ms-correlation-request-id": [ "0b0e2bc4-ec80-426d-ac3f-87302648c0aa" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T094236Z:0b0e2bc4-ec80-426d-ac3f-87302648c0aa" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 09:42:35 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" + } + }, + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5" ], + "x-ms-client-request-id": [ "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "48dd90bc-6136-4594-a660-37437833288b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], + "x-ms-correlation-request-id": [ "11cca631-8303-4119-9ee9-24c44fa07641" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T094307Z:11cca631-8303-4119-9ee9-24c44fa07641" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 09:43:06 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" + } + }, + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6" ], + "x-ms-client-request-id": [ "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "131b8f62-22de-4bbd-9efe-fe98acfc0627" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11980" ], + "x-ms-correlation-request-id": [ "4d39ce2c-4e62-44be-b6c1-60af802fe64d" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T094337Z:4d39ce2c-4e62-44be-b6c1-60af802fe64d" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 09:43:37 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" + } + }, + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7" ], + "x-ms-client-request-id": [ "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "c4c0a698-ff08-4971-a563-e1c822f6b778" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11979" ], + "x-ms-correlation-request-id": [ "57d45d28-35fb-4d64-a430-5b842e9d9195" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T094407Z:57d45d28-35fb-4d64-a430-5b842e9d9195" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 09:44:07 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" + } + }, + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8" ], + "x-ms-client-request-id": [ "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "e6d1147a-0626-4604-986c-8aef3b48bf79" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11978" ], + "x-ms-correlation-request-id": [ "7414c562-fdf7-4c31-b187-a3d248e6e451" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T094438Z:7414c562-fdf7-4c31-b187-a3d248e6e451" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 09:44:38 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" + } + }, + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+9": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9" ], + "x-ms-client-request-id": [ "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "740154c1-561b-4b74-8070-59b3bd639bcd" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11978" ], + "x-ms-correlation-request-id": [ "704658cb-1893-4c16-bb2d-47c0f8882d60" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T094508Z:704658cb-1893-4c16-bb2d-47c0f8882d60" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 09:45:08 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" + } + }, + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+10": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10" ], + "x-ms-client-request-id": [ "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "9baa07f4-f0c8-4198-b104-54495de75699" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11977" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-correlation-request-id": [ "8aab4332-d863-4c6e-bfa3-a6c8005ba999" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T094539Z:8aab4332-d863-4c6e-bfa3-a6c8005ba999" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 09:45:38 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" + } + }, + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+11": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11" ], + "x-ms-client-request-id": [ "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "6c59b9fd-aa6d-4962-8e25-eec58512bf6c" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11976" ], + "x-ms-correlation-request-id": [ "304db940-ae90-4fbc-a955-86d4594323e2" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T094609Z:304db940-ae90-4fbc-a955-86d4594323e2" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 09:46:08 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" + } + }, + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+12": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" ], + "x-ms-client-request-id": [ "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "8c80f8a4-04d7-44cc-a64d-a875931c740c" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11975" ], + "x-ms-correlation-request-id": [ "0fc13ccc-a6b6-4ce4-8a2e-aaba4e9149b7" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T094639Z:0fc13ccc-a6b6-4ce4-8a2e-aaba4e9149b7" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 09:46:38 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" + } + }, + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+13": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13" ], + "x-ms-client-request-id": [ "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "36dc9fbb-0496-48cd-8267-1320bd420924" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11974" ], + "x-ms-correlation-request-id": [ "d19fc94b-d878-49f3-93a2-ea2bdb5b9aee" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T094710Z:d19fc94b-d878-49f3-93a2-ea2bdb5b9aee" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 09:47:09 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" + } + }, + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+14": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14" ], + "x-ms-client-request-id": [ "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "b2e8bfed-3c5c-4503-b72f-2ae2603958f6" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11973" ], + "x-ms-correlation-request-id": [ "785cd215-bb5a-4575-91c9-02cb0a717655" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T094740Z:785cd215-bb5a-4575-91c9-02cb0a717655" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 09:47:39 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" + } + }, + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+15": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], + "x-ms-client-request-id": [ "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "22042138-8492-4a9e-ac4e-b174c36fd520" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11972" ], + "x-ms-correlation-request-id": [ "94dc9a1d-31b7-4536-8111-72376103f7e0" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T094811Z:94dc9a1d-31b7-4536-8111-72376103f7e0" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 09:48:10 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" + } + }, + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+16": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16" ], + "x-ms-client-request-id": [ "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "0db368c3-1682-4094-a922-ef43229da841" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11971" ], + "x-ms-correlation-request-id": [ "098cb28b-0b74-4c42-ad07-8d941f165980" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T094841Z:098cb28b-0b74-4c42-ad07-8d941f165980" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 09:48:41 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" + } + }, + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+17": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17" ], + "x-ms-client-request-id": [ "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "bbe9d734-98f7-47a4-86f5-c8cf4a1f125b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11970" ], + "x-ms-correlation-request-id": [ "d01b45f5-090f-4886-81d3-1b067d058ad3" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T094913Z:d01b45f5-090f-4886-81d3-1b067d058ad3" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 09:49:13 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" + } + }, + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+18": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18" ], + "x-ms-client-request-id": [ "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "03f159f6-20a9-43f3-9325-ad72bb5dc442" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11969" ], + "x-ms-correlation-request-id": [ "c58fa2ac-6335-4ff8-a2d2-15f33db7c4e0" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T094944Z:c58fa2ac-6335-4ff8-a2d2-15f33db7c4e0" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 09:49:43 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" + } + }, + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+19": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19" ], + "x-ms-client-request-id": [ "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "54ed9fc2-a4f2-4130-818c-43939cace12c" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11968" ], + "x-ms-correlation-request-id": [ "e0c3637f-2313-4a5f-9fa3-5f1b90721b5c" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T095014Z:e0c3637f-2313-4a5f-9fa3-5f1b90721b5c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 09:50:14 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" + } + }, + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+20": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20" ], + "x-ms-client-request-id": [ "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "196616d9-eeeb-400e-ac84-8a8fbbb53335" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11967" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-correlation-request-id": [ "8d2f5e2f-edba-413d-8dbb-c1dfddde3ffc" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T095044Z:8d2f5e2f-edba-413d-8dbb-c1dfddde3ffc" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 09:50:44 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" + } + }, + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+21": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21" ], + "x-ms-client-request-id": [ "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "68de72b5-178e-4cdc-816d-931bb1022981" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11966" ], + "x-ms-correlation-request-id": [ "2f726aba-0e0f-4ae5-a848-caa23a1b99c2" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T095115Z:2f726aba-0e0f-4ae5-a848-caa23a1b99c2" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 09:51:15 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" + } + }, + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+22": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22" ], + "x-ms-client-request-id": [ "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "b674db9f-2faa-4cd1-b117-0b8e4de59a54" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11965" ], + "x-ms-correlation-request-id": [ "f84836ae-fd6e-43a5-8b8f-35bf114c10fd" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T095146Z:f84836ae-fd6e-43a5-8b8f-35bf114c10fd" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 09:51:45 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" + } + }, + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+23": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23" ], + "x-ms-client-request-id": [ "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646", "78ccd710-8df3-4878-89cc-449f8fa4c646" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "ae5bdf2c-5cad-4df7-9347-92f777867256" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11964" ], + "x-ms-correlation-request-id": [ "bbe149d0-d551-4296-83ae-8deb198b2e1e" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T095146Z:bbe149d0-d551-4296-83ae-8deb198b2e1e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 09:51:45 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1062" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100-replica.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T09:53:36.52+00:00\",\"replicationRole\":\"Replica\",\"masterServerId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica\",\"name\":\"mysql-test-100-replica\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + } + }, + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+24": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "24" ], + "x-ms-client-request-id": [ "ca5ea11d-b46e-4231-8552-e04b3f25edb7" ], + "CommandName": [ "Remove-AzMySqlServer" ], + "FullCommandName": [ "Remove-AzMySqlServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/a473d381-9d14-4d4d-b84a-d7e6b7313515?api-version=2017-12-01" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/a473d381-9d14-4d4d-b84a-d7e6b7313515?api-version=2017-12-01" ], + "x-ms-request-id": [ "a473d381-9d14-4d4d-b84a-d7e6b7313515" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "x-ms-correlation-request-id": [ "7232749b-f975-49d8-875a-c5f09e8a3664" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T095147Z:7232749b-f975-49d8-875a-c5f09e8a3664" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 09:51:46 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "71" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropElasticServer\",\"startTime\":\"2020-07-24T09:51:47.36Z\"}" + } + }, + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/a473d381-9d14-4d4d-b84a-d7e6b7313515?api-version=2017-12-01+25": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/a473d381-9d14-4d4d-b84a-d7e6b7313515?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "24", "25" ], + "x-ms-client-request-id": [ "ca5ea11d-b46e-4231-8552-e04b3f25edb7", "ca5ea11d-b46e-4231-8552-e04b3f25edb7" ], + "CommandName": [ "Remove-AzMySqlServer", "Remove-AzMySqlServer" ], + "FullCommandName": [ "Remove-AzMySqlServer_Delete", "Remove-AzMySqlServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "62e9d394-4336-43ef-8c0a-ea4cd7c2373f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11963" ], + "x-ms-correlation-request-id": [ "a7432e92-f967-4f8f-a129-6a322a38fab8" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T095202Z:a7432e92-f967-4f8f-a129-6a322a38fab8" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 09:52:02 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"a473d381-9d14-4d4d-b84a-d7e6b7313515\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T09:51:47.36Z\"}" + } + }, + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/a473d381-9d14-4d4d-b84a-d7e6b7313515?api-version=2017-12-01+26": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/a473d381-9d14-4d4d-b84a-d7e6b7313515?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "24", "25", "26" ], + "x-ms-client-request-id": [ "ca5ea11d-b46e-4231-8552-e04b3f25edb7", "ca5ea11d-b46e-4231-8552-e04b3f25edb7", "ca5ea11d-b46e-4231-8552-e04b3f25edb7" ], + "CommandName": [ "Remove-AzMySqlServer", "Remove-AzMySqlServer", "Remove-AzMySqlServer" ], + "FullCommandName": [ "Remove-AzMySqlServer_Delete", "Remove-AzMySqlServer_Delete", "Remove-AzMySqlServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "d5657936-9743-4fd8-a9b6-a981149adb31" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11962" ], + "x-ms-correlation-request-id": [ "5dbb42e9-ada6-4484-bb74-9a86818adfe4" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T095203Z:5dbb42e9-ada6-4484-bb74-9a86818adfe4" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 09:52:02 GMT" ] + }, + "ContentHeaders": { "Expires": [ "-1" ], - "Content-Length": [ "224" ] + "Content-Length": [ "0" ] }, - "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForMySQL/servers/mysql-test-100\u0027 under resource group \u0027MySqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" + "Content": null } } } \ No newline at end of file diff --git a/src/MySql/test/New-AzMySqlVirtualNetworkRule.Recording.json b/src/MySql/test/New-AzMySqlVirtualNetworkRule.Recording.json index 43c22f1000f5..bedea49cbb5a 100644 --- a/src/MySql/test/New-AzMySqlVirtualNetworkRule.Recording.json +++ b/src/MySql/test/New-AzMySqlVirtualNetworkRule.Recording.json @@ -1,35 +1,238 @@ { - "New-AzMySqlVirtualNetworkRule+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { + "New-AzMySqlVirtualNetworkRule+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\n }\n}", "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "213" ] + "Content-Length": [ "209" ] } }, "Response": { - "StatusCode": 404, + "StatusCode": 202, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ "gateway" ], - "x-ms-request-id": [ "9f7cb342-86ef-4acd-8819-461f03ad1f2d" ], - "x-ms-correlation-request-id": [ "9f7cb342-86ef-4acd-8819-461f03ad1f2d" ], - "x-ms-routing-request-id": [ "WESTUS2:20201110T002730Z:9f7cb342-86ef-4acd-8819-461f03ad1f2d" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/e68a0466-f700-4a65-b792-1903767f0d72?api-version=2017-12-01" ], + "Retry-After": [ "30" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/e68a0466-f700-4a65-b792-1903767f0d72?api-version=2017-12-01" ], + "x-ms-request-id": [ "e68a0466-f700-4a65-b792-1903767f0d72" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], + "x-ms-correlation-request-id": [ "dc587ab6-fa8e-4140-959f-18aee2b1ae80" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T062438Z:dc587ab6-fa8e-4140-959f-18aee2b1ae80" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 10 Nov 2020 00:27:29 GMT" ] + "Date": [ "Fri, 24 Jul 2020 06:24:37 GMT" ] }, "ContentHeaders": { + "Content-Length": [ "89" ], "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T06:24:37.15Z\"}" + } + }, + "New-AzMySqlVirtualNetworkRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/e68a0466-f700-4a65-b792-1903767f0d72?api-version=2017-12-01+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/e68a0466-f700-4a65-b792-1903767f0d72?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2" ], + "x-ms-client-request-id": [ "4d24a258-0873-4bed-b67b-abcc2aa6a60c", "4d24a258-0873-4bed-b67b-abcc2aa6a60c" ], + "CommandName": [ "New-AzMySqlVirtualNetworkRule", "New-AzMySqlVirtualNetworkRule" ], + "FullCommandName": [ "New-AzMySqlVirtualNetworkRule_CreateExpanded", "New-AzMySqlVirtualNetworkRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "c01bb68a-9f58-4cad-80f5-78bb87afda75" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], + "x-ms-correlation-request-id": [ "6982aa48-2267-4cc0-8ce1-9a228d205dde" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T062508Z:6982aa48-2267-4cc0-8ce1-9a228d205dde" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:25:08 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"e68a0466-f700-4a65-b792-1903767f0d72\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:24:37.15Z\"}" + } + }, + "New-AzMySqlVirtualNetworkRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2", "3" ], + "x-ms-client-request-id": [ "4d24a258-0873-4bed-b67b-abcc2aa6a60c", "4d24a258-0873-4bed-b67b-abcc2aa6a60c", "4d24a258-0873-4bed-b67b-abcc2aa6a60c" ], + "CommandName": [ "New-AzMySqlVirtualNetworkRule", "New-AzMySqlVirtualNetworkRule", "New-AzMySqlVirtualNetworkRule" ], + "FullCommandName": [ "New-AzMySqlVirtualNetworkRule_CreateExpanded", "New-AzMySqlVirtualNetworkRule_CreateExpanded", "New-AzMySqlVirtualNetworkRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "376aa983-6825-4f48-b8b4-e289d81cab8b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], + "x-ms-correlation-request-id": [ "983acd3f-fc95-40af-ad4d-43755bb55790" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T062509Z:983acd3f-fc95-40af-ad4d-43755bb55790" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:25:08 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "497" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBforMySQL/servers/virtualNetworkRules\"}" + } + }, + "New-AzMySqlVirtualNetworkRule+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+4": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "c2657092-7e40-48bd-a1ea-f4cee57f8ef9" ], + "CommandName": [ "Remove-AzMySqlVirtualNetworkRule" ], + "FullCommandName": [ "Remove-AzMySqlVirtualNetworkRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/d5f1ca93-3065-4c56-bed5-9d9c16b0e763?api-version=2017-12-01" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d5f1ca93-3065-4c56-bed5-9d9c16b0e763?api-version=2017-12-01" ], + "x-ms-request-id": [ "d5f1ca93-3065-4c56-bed5-9d9c16b0e763" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14996" ], + "x-ms-correlation-request-id": [ "019b0ead-c3b8-414e-afbd-05f0b8cd8a65" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T062510Z:019b0ead-c3b8-414e-afbd-05f0b8cd8a65" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:25:10 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "88" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T06:25:09.633Z\"}" + } + }, + "New-AzMySqlVirtualNetworkRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d5f1ca93-3065-4c56-bed5-9d9c16b0e763?api-version=2017-12-01+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d5f1ca93-3065-4c56-bed5-9d9c16b0e763?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "4", "5" ], + "x-ms-client-request-id": [ "c2657092-7e40-48bd-a1ea-f4cee57f8ef9", "c2657092-7e40-48bd-a1ea-f4cee57f8ef9" ], + "CommandName": [ "Remove-AzMySqlVirtualNetworkRule", "Remove-AzMySqlVirtualNetworkRule" ], + "FullCommandName": [ "Remove-AzMySqlVirtualNetworkRule_Delete", "Remove-AzMySqlVirtualNetworkRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "77ae9903-b893-4126-aef4-624a704f1fea" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], + "x-ms-correlation-request-id": [ "db108ba4-22e3-491f-976b-54b036e62bf6" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T062526Z:db108ba4-22e3-491f-976b-54b036e62bf6" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:25:25 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d5f1ca93-3065-4c56-bed5-9d9c16b0e763\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:25:09.633Z\"}" + } + }, + "New-AzMySqlVirtualNetworkRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/d5f1ca93-3065-4c56-bed5-9d9c16b0e763?api-version=2017-12-01+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/d5f1ca93-3065-4c56-bed5-9d9c16b0e763?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "4", "5", "6" ], + "x-ms-client-request-id": [ "c2657092-7e40-48bd-a1ea-f4cee57f8ef9", "c2657092-7e40-48bd-a1ea-f4cee57f8ef9", "c2657092-7e40-48bd-a1ea-f4cee57f8ef9" ], + "CommandName": [ "Remove-AzMySqlVirtualNetworkRule", "Remove-AzMySqlVirtualNetworkRule", "Remove-AzMySqlVirtualNetworkRule" ], + "FullCommandName": [ "Remove-AzMySqlVirtualNetworkRule_Delete", "Remove-AzMySqlVirtualNetworkRule_Delete", "Remove-AzMySqlVirtualNetworkRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "586d979a-e818-4a23-80ea-26cb98127171" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11980" ], + "x-ms-correlation-request-id": [ "424b6a2a-1fb1-4824-8f01-547de071e239" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T062526Z:424b6a2a-1fb1-4824-8f01-547de071e239" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:25:26 GMT" ] + }, + "ContentHeaders": { "Expires": [ "-1" ], - "Content-Length": [ "155" ] + "Content-Length": [ "0" ] }, - "Content": "{\"error\":{\"code\":\"ParentResourceNotFound\",\"message\":\"Can not perform requested operation on nested resource. Parent resource \u0027mysql-test-100\u0027 not found.\"}}" + "Content": null } } } \ No newline at end of file diff --git a/src/MySql/test/Remove-AzMySqlFirewallRule.Recording.json b/src/MySql/test/Remove-AzMySqlFirewallRule.Recording.json new file mode 100644 index 000000000000..c29995f8debb --- /dev/null +++ b/src/MySql/test/Remove-AzMySqlFirewallRule.Recording.json @@ -0,0 +1,474 @@ +{ + "Remove-AzMySqlFirewallRule+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"endIpAddress\": \"0.0.0.1\",\n \"startIpAddress\": \"0.0.0.0\"\n }\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "88" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/028ac200-d31d-46e6-9aaf-01ff4f7b09a7?api-version=2017-12-01" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/028ac200-d31d-46e6-9aaf-01ff4f7b09a7?api-version=2017-12-01" ], + "x-ms-request-id": [ "028ac200-d31d-46e6-9aaf-01ff4f7b09a7" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], + "x-ms-correlation-request-id": [ "6fbef9e7-bd2e-414a-b25e-9cacffe62ee8" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T062916Z:6fbef9e7-bd2e-414a-b25e-9cacffe62ee8" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:29:16 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "87" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-07-24T06:29:15.293Z\"}" + } + }, + "Remove-AzMySqlFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/028ac200-d31d-46e6-9aaf-01ff4f7b09a7?api-version=2017-12-01+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/028ac200-d31d-46e6-9aaf-01ff4f7b09a7?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2" ], + "x-ms-client-request-id": [ "318cee93-d126-4056-86ae-7f6c5f5a19e4", "318cee93-d126-4056-86ae-7f6c5f5a19e4" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule" ], + "FullCommandName": [ "New-AzMySqlFirewallRule_CreateExpanded", "New-AzMySqlFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "f9142493-1d64-4281-80a7-11b8ffaa33bc" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], + "x-ms-correlation-request-id": [ "30591e81-e056-4a78-89ea-caea75e67eb8" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T062931Z:30591e81-e056-4a78-89ea-caea75e67eb8" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:29:31 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"028ac200-d31d-46e6-9aaf-01ff4f7b09a7\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:29:15.293Z\"}" + } + }, + "Remove-AzMySqlFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2", "3" ], + "x-ms-client-request-id": [ "318cee93-d126-4056-86ae-7f6c5f5a19e4", "318cee93-d126-4056-86ae-7f6c5f5a19e4", "318cee93-d126-4056-86ae-7f6c5f5a19e4" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule" ], + "FullCommandName": [ "New-AzMySqlFirewallRule_CreateExpanded", "New-AzMySqlFirewallRule_CreateExpanded", "New-AzMySqlFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "69c34683-5357-4cf9-a1fc-9807b23205ee" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], + "x-ms-correlation-request-id": [ "b509bbf8-f54f-434f-91f8-f03a84bb1122" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T062932Z:b509bbf8-f54f-434f-91f8-f03a84bb1122" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:29:32 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "305" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/servers/firewallRules\"}" + } + }, + "Remove-AzMySqlFirewallRule+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+4": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "e5b4c6d1-bca0-42e1-8657-20bece8985a8" ], + "CommandName": [ "Remove-AzMySqlFirewallRule" ], + "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/5c2361da-8118-4aa9-a96c-c7f7ab422c0d?api-version=2017-12-01" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/5c2361da-8118-4aa9-a96c-c7f7ab422c0d?api-version=2017-12-01" ], + "x-ms-request-id": [ "5c2361da-8118-4aa9-a96c-c7f7ab422c0d" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14997" ], + "x-ms-correlation-request-id": [ "b8a6078d-50e9-46f8-a6c3-ad5a93488f67" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T062933Z:b8a6078d-50e9-46f8-a6c3-ad5a93488f67" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:29:33 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "84" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-07-24T06:29:32.747Z\"}" + } + }, + "Remove-AzMySqlFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/5c2361da-8118-4aa9-a96c-c7f7ab422c0d?api-version=2017-12-01+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/5c2361da-8118-4aa9-a96c-c7f7ab422c0d?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "4", "5" ], + "x-ms-client-request-id": [ "e5b4c6d1-bca0-42e1-8657-20bece8985a8", "e5b4c6d1-bca0-42e1-8657-20bece8985a8" ], + "CommandName": [ "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule" ], + "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "54518ee6-9317-401c-9db3-ee3640f0f2d6" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], + "x-ms-correlation-request-id": [ "e99cbe83-0a4c-4e46-b875-9dc33bc3f11a" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T062949Z:e99cbe83-0a4c-4e46-b875-9dc33bc3f11a" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:29:48 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"5c2361da-8118-4aa9-a96c-c7f7ab422c0d\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:29:32.747Z\"}" + } + }, + "Remove-AzMySqlFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/5c2361da-8118-4aa9-a96c-c7f7ab422c0d?api-version=2017-12-01+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/5c2361da-8118-4aa9-a96c-c7f7ab422c0d?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "4", "5", "6" ], + "x-ms-client-request-id": [ "e5b4c6d1-bca0-42e1-8657-20bece8985a8", "e5b4c6d1-bca0-42e1-8657-20bece8985a8", "e5b4c6d1-bca0-42e1-8657-20bece8985a8" ], + "CommandName": [ "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule" ], + "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "b35ed3b6-0ea8-4239-ae88-156db82f1fea" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], + "x-ms-correlation-request-id": [ "39235317-f98c-4df8-9f0d-2efa7b152e3a" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T062949Z:39235317-f98c-4df8-9f0d-2efa7b152e3a" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:29:49 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + }, + "Remove-AzMySqlFirewallRule+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"endIpAddress\": \"0.0.0.1\",\n \"startIpAddress\": \"0.0.0.0\"\n }\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "88" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/3f510b53-f32e-4aed-84e3-aef22c9c55cd?api-version=2017-12-01" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/3f510b53-f32e-4aed-84e3-aef22c9c55cd?api-version=2017-12-01" ], + "x-ms-request-id": [ "3f510b53-f32e-4aed-84e3-aef22c9c55cd" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], + "x-ms-correlation-request-id": [ "572dcdbc-843f-48ce-90e1-12a9c296d121" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T062951Z:572dcdbc-843f-48ce-90e1-12a9c296d121" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:29:51 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "87" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-07-24T06:29:50.197Z\"}" + } + }, + "Remove-AzMySqlFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/3f510b53-f32e-4aed-84e3-aef22c9c55cd?api-version=2017-12-01+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/3f510b53-f32e-4aed-84e3-aef22c9c55cd?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "7", "8" ], + "x-ms-client-request-id": [ "7ff00f30-d36e-4975-b523-67a07004f2b1", "7ff00f30-d36e-4975-b523-67a07004f2b1" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule" ], + "FullCommandName": [ "New-AzMySqlFirewallRule_CreateExpanded", "New-AzMySqlFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "d1b47bab-578c-424f-a63f-adb40d01b4de" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "6383090a-ee20-4280-9259-b89ecd9a25b6" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063006Z:6383090a-ee20-4280-9259-b89ecd9a25b6" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:30:06 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"3f510b53-f32e-4aed-84e3-aef22c9c55cd\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:29:50.197Z\"}" + } + }, + "Remove-AzMySqlFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "7", "8", "9" ], + "x-ms-client-request-id": [ "7ff00f30-d36e-4975-b523-67a07004f2b1", "7ff00f30-d36e-4975-b523-67a07004f2b1", "7ff00f30-d36e-4975-b523-67a07004f2b1" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule" ], + "FullCommandName": [ "New-AzMySqlFirewallRule_CreateExpanded", "New-AzMySqlFirewallRule_CreateExpanded", "New-AzMySqlFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "7ca1d0b7-4d5f-4bca-9cc7-9d781ea9805d" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "301881d2-fba4-4115-99f9-cf202fdd8b74" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063007Z:301881d2-fba4-4115-99f9-cf202fdd8b74" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:30:06 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "305" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/servers/firewallRules\"}" + } + }, + "Remove-AzMySqlFirewallRule+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+4": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "10" ], + "x-ms-client-request-id": [ "f2c12900-742a-4f88-bc15-254a00785c55" ], + "CommandName": [ "Remove-AzMySqlFirewallRule" ], + "FullCommandName": [ "Remove-AzMySqlFirewallRule_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/540e290a-beb7-44fb-82b1-411e265905a9?api-version=2017-12-01" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/540e290a-beb7-44fb-82b1-411e265905a9?api-version=2017-12-01" ], + "x-ms-request-id": [ "540e290a-beb7-44fb-82b1-411e265905a9" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14998" ], + "x-ms-correlation-request-id": [ "3422287e-e725-443a-91ee-3cd6482a8fa1" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063008Z:3422287e-e725-443a-91ee-3cd6482a8fa1" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:30:08 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "84" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-07-24T06:30:07.697Z\"}" + } + }, + "Remove-AzMySqlFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/540e290a-beb7-44fb-82b1-411e265905a9?api-version=2017-12-01+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/540e290a-beb7-44fb-82b1-411e265905a9?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "10", "11" ], + "x-ms-client-request-id": [ "f2c12900-742a-4f88-bc15-254a00785c55", "f2c12900-742a-4f88-bc15-254a00785c55" ], + "CommandName": [ "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule" ], + "FullCommandName": [ "Remove-AzMySqlFirewallRule_DeleteViaIdentity", "Remove-AzMySqlFirewallRule_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "a7f51368-65a5-4aae-a896-1b46cb8b434c" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "852c132e-18b1-4984-941b-649eee17c36e" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063024Z:852c132e-18b1-4984-941b-649eee17c36e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:30:23 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"540e290a-beb7-44fb-82b1-411e265905a9\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:30:07.697Z\"}" + } + }, + "Remove-AzMySqlFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/540e290a-beb7-44fb-82b1-411e265905a9?api-version=2017-12-01+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/540e290a-beb7-44fb-82b1-411e265905a9?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "10", "11", "12" ], + "x-ms-client-request-id": [ "f2c12900-742a-4f88-bc15-254a00785c55", "f2c12900-742a-4f88-bc15-254a00785c55", "f2c12900-742a-4f88-bc15-254a00785c55" ], + "CommandName": [ "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule" ], + "FullCommandName": [ "Remove-AzMySqlFirewallRule_DeleteViaIdentity", "Remove-AzMySqlFirewallRule_DeleteViaIdentity", "Remove-AzMySqlFirewallRule_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "258bd49f-df3c-4ff3-824f-de138ec92f15" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-correlation-request-id": [ "6f7e78a6-b20b-4d45-a159-1191303c15b4" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063024Z:6f7e78a6-b20b-4d45-a159-1191303c15b4" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:30:23 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + } + } \ No newline at end of file diff --git a/src/MySql/test/Remove-AzMySqlServer.Recording.json b/src/MySql/test/Remove-AzMySqlServer.Recording.json new file mode 100644 index 000000000000..ffebc60207c5 --- /dev/null +++ b/src/MySql/test/Remove-AzMySqlServer.Recording.json @@ -0,0 +1,554 @@ +{ + "Remove-AzMySqlServer+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-2?api-version=2017-12-01+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-2?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"createMode\": \"Default\",\n \"administratorLogin\": \"pwsh\",\n \"administratorLoginPassword\": \"Pa88word!\"\n },\n \"sku\": {\n \"name\": \"GP_Gen5_4\"\n },\n \"location\": \"eastus\"\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "198" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/151e2111-8c01-41f2-b1c4-10650c66ab6c?api-version=2017-12-01" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/151e2111-8c01-41f2-b1c4-10650c66ab6c?api-version=2017-12-01" ], + "x-ms-request-id": [ "151e2111-8c01-41f2-b1c4-10650c66ab6c" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "1f11f495-6cb3-4412-8592-6c093e708116" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063239Z:1f11f495-6cb3-4412-8592-6c093e708116" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:32:39 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "74" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertElasticServer\",\"startTime\":\"2020-07-24T06:32:38.043Z\"}" + } + }, + "Remove-AzMySqlServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/151e2111-8c01-41f2-b1c4-10650c66ab6c?api-version=2017-12-01+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/151e2111-8c01-41f2-b1c4-10650c66ab6c?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2" ], + "x-ms-client-request-id": [ "a65f55c7-54b5-472b-b096-3260deb652e7", "a65f55c7-54b5-472b-b096-3260deb652e7" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "x-ms-request-id": [ "59b5c4d7-d83b-48e8-a011-0cb90709e9e3" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], + "x-ms-correlation-request-id": [ "ec9fb2fb-f890-4a46-8646-a617576081c6" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063339Z:ec9fb2fb-f890-4a46-8646-a617576081c6" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:33:39 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"151e2111-8c01-41f2-b1c4-10650c66ab6c\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T06:32:38.043Z\"}" + } + }, + "Remove-AzMySqlServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/151e2111-8c01-41f2-b1c4-10650c66ab6c?api-version=2017-12-01+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/151e2111-8c01-41f2-b1c4-10650c66ab6c?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2", "3" ], + "x-ms-client-request-id": [ "a65f55c7-54b5-472b-b096-3260deb652e7", "a65f55c7-54b5-472b-b096-3260deb652e7", "a65f55c7-54b5-472b-b096-3260deb652e7" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "x-ms-request-id": [ "4a39db80-8126-4937-9f0f-44d06c3c398d" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], + "x-ms-correlation-request-id": [ "e4fafab3-26da-4e33-af24-82dba54f423b" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063440Z:e4fafab3-26da-4e33-af24-82dba54f423b" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:34:40 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"151e2111-8c01-41f2-b1c4-10650c66ab6c\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:32:38.043Z\"}" + } + }, + "Remove-AzMySqlServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-2?api-version=2017-12-01+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-2?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2", "3", "4" ], + "x-ms-client-request-id": [ "a65f55c7-54b5-472b-b096-3260deb652e7", "a65f55c7-54b5-472b-b096-3260deb652e7", "a65f55c7-54b5-472b-b096-3260deb652e7", "a65f55c7-54b5-472b-b096-3260deb652e7" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "9d2225f3-7b78-4b48-bb5f-13d9a27c2428" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11980" ], + "x-ms-correlation-request-id": [ "eded30b6-ddb6-4085-a2b2-568699c991d7" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063441Z:eded30b6-ddb6-4085-a2b2-568699c991d7" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:34:40 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "905" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"pwsh\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T06:42:38.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + } + }, + "Remove-AzMySqlServer+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-2?api-version=2017-12-01+5": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-2?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "5" ], + "x-ms-client-request-id": [ "333dbdd6-1744-4299-bb86-c2201ad30417" ], + "CommandName": [ "Remove-AzMySqlServer" ], + "FullCommandName": [ "Remove-AzMySqlServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/97c1573e-d290-468d-9125-214a3918622a?api-version=2017-12-01" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/97c1573e-d290-468d-9125-214a3918622a?api-version=2017-12-01" ], + "x-ms-request-id": [ "97c1573e-d290-468d-9125-214a3918622a" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "x-ms-correlation-request-id": [ "dc42dff3-8ed7-4f35-bfc3-377acede0e5f" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063442Z:dc42dff3-8ed7-4f35-bfc3-377acede0e5f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:34:41 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "71" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropElasticServer\",\"startTime\":\"2020-07-24T06:34:41.87Z\"}" + } + }, + "Remove-AzMySqlServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/97c1573e-d290-468d-9125-214a3918622a?api-version=2017-12-01+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/97c1573e-d290-468d-9125-214a3918622a?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "5", "6" ], + "x-ms-client-request-id": [ "333dbdd6-1744-4299-bb86-c2201ad30417", "333dbdd6-1744-4299-bb86-c2201ad30417" ], + "CommandName": [ "Remove-AzMySqlServer", "Remove-AzMySqlServer" ], + "FullCommandName": [ "Remove-AzMySqlServer_Delete", "Remove-AzMySqlServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "2b4bf993-e9b2-4553-8532-ca480198681f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11979" ], + "x-ms-correlation-request-id": [ "6f0b467a-9492-4de5-a874-06992c9dae52" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063457Z:6f0b467a-9492-4de5-a874-06992c9dae52" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:34:56 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"97c1573e-d290-468d-9125-214a3918622a\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:34:41.87Z\"}" + } + }, + "Remove-AzMySqlServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/97c1573e-d290-468d-9125-214a3918622a?api-version=2017-12-01+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/97c1573e-d290-468d-9125-214a3918622a?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "5", "6", "7" ], + "x-ms-client-request-id": [ "333dbdd6-1744-4299-bb86-c2201ad30417", "333dbdd6-1744-4299-bb86-c2201ad30417", "333dbdd6-1744-4299-bb86-c2201ad30417" ], + "CommandName": [ "Remove-AzMySqlServer", "Remove-AzMySqlServer", "Remove-AzMySqlServer" ], + "FullCommandName": [ "Remove-AzMySqlServer_Delete", "Remove-AzMySqlServer_Delete", "Remove-AzMySqlServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "8b91628e-339e-49dd-a22b-3b9d4f7251d3" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11978" ], + "x-ms-correlation-request-id": [ "af3f285e-2b2b-438b-887c-76f98db7b3e3" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063457Z:af3f285e-2b2b-438b-887c-76f98db7b3e3" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:34:57 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + }, + "Remove-AzMySqlServer+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysqldelete?api-version=2017-12-01+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysqldelete?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"createMode\": \"Default\",\n \"administratorLogin\": \"pwsh\",\n \"administratorLoginPassword\": \"Pa88word!\"\n },\n \"sku\": {\n \"name\": \"GP_Gen5_4\"\n },\n \"location\": \"eastus\"\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "198" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/8185fd38-6088-4c65-8794-54b454afd13e?api-version=2017-12-01" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/8185fd38-6088-4c65-8794-54b454afd13e?api-version=2017-12-01" ], + "x-ms-request-id": [ "8185fd38-6088-4c65-8794-54b454afd13e" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-correlation-request-id": [ "29344297-7ce7-43a0-902b-875aa1ecfb4d" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063504Z:29344297-7ce7-43a0-902b-875aa1ecfb4d" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:35:03 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "74" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertElasticServer\",\"startTime\":\"2020-07-24T06:35:02.823Z\"}" + } + }, + "Remove-AzMySqlServer+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/8185fd38-6088-4c65-8794-54b454afd13e?api-version=2017-12-01+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/8185fd38-6088-4c65-8794-54b454afd13e?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "8", "9" ], + "x-ms-client-request-id": [ "c351c1fe-75b5-4bc8-a958-4e9d37e742db", "c351c1fe-75b5-4bc8-a958-4e9d37e742db" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "x-ms-request-id": [ "d5ea7d90-2f85-4686-b574-b1d9c3ffecf4" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11977" ], + "x-ms-correlation-request-id": [ "1c17f95d-9003-4c5c-b8b4-ccdda16e5af6" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063605Z:1c17f95d-9003-4c5c-b8b4-ccdda16e5af6" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:36:05 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"8185fd38-6088-4c65-8794-54b454afd13e\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T06:35:02.823Z\"}" + } + }, + "Remove-AzMySqlServer+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/8185fd38-6088-4c65-8794-54b454afd13e?api-version=2017-12-01+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/8185fd38-6088-4c65-8794-54b454afd13e?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "8", "9", "10" ], + "x-ms-client-request-id": [ "c351c1fe-75b5-4bc8-a958-4e9d37e742db", "c351c1fe-75b5-4bc8-a958-4e9d37e742db", "c351c1fe-75b5-4bc8-a958-4e9d37e742db" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "x-ms-request-id": [ "a1c693a8-d66f-4a86-bfd6-297e2b1d4c8d" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11976" ], + "x-ms-correlation-request-id": [ "8f21a533-016a-4003-8f0a-2499ba259263" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063706Z:8f21a533-016a-4003-8f0a-2499ba259263" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:37:05 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"8185fd38-6088-4c65-8794-54b454afd13e\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:35:02.823Z\"}" + } + }, + "Remove-AzMySqlServer+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysqldelete?api-version=2017-12-01+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysqldelete?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "8", "9", "10", "11" ], + "x-ms-client-request-id": [ "c351c1fe-75b5-4bc8-a958-4e9d37e742db", "c351c1fe-75b5-4bc8-a958-4e9d37e742db", "c351c1fe-75b5-4bc8-a958-4e9d37e742db", "c351c1fe-75b5-4bc8-a958-4e9d37e742db" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "df99e724-c222-43ea-ab7b-0a1edc076cd0" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11975" ], + "x-ms-correlation-request-id": [ "56d77769-018d-4d1b-b1c3-3585b15595b7" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063706Z:56d77769-018d-4d1b-b1c3-3585b15595b7" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:37:05 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "890" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"pwsh\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysqldelete.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T06:45:03.153+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysqldelete\",\"name\":\"mysqldelete\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + } + }, + "Remove-AzMySqlServer+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysqldelete?api-version=2017-12-01+5": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysqldelete?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "12" ], + "x-ms-client-request-id": [ "c2a862ad-8bec-4eed-9d3f-adae77916fdc" ], + "CommandName": [ "Remove-AzMySqlServer" ], + "FullCommandName": [ "Remove-AzMySqlServer_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/ea807a1c-c746-461a-8f14-e6c67760a835?api-version=2017-12-01" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ea807a1c-c746-461a-8f14-e6c67760a835?api-version=2017-12-01" ], + "x-ms-request-id": [ "ea807a1c-c746-461a-8f14-e6c67760a835" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14998" ], + "x-ms-correlation-request-id": [ "f3e07c64-0cd3-46e9-9e98-f0a3e8edc379" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063707Z:f3e07c64-0cd3-46e9-9e98-f0a3e8edc379" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:37:06 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "72" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropElasticServer\",\"startTime\":\"2020-07-24T06:37:07.093Z\"}" + } + }, + "Remove-AzMySqlServer+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ea807a1c-c746-461a-8f14-e6c67760a835?api-version=2017-12-01+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ea807a1c-c746-461a-8f14-e6c67760a835?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "12", "13" ], + "x-ms-client-request-id": [ "c2a862ad-8bec-4eed-9d3f-adae77916fdc", "c2a862ad-8bec-4eed-9d3f-adae77916fdc" ], + "CommandName": [ "Remove-AzMySqlServer", "Remove-AzMySqlServer" ], + "FullCommandName": [ "Remove-AzMySqlServer_DeleteViaIdentity", "Remove-AzMySqlServer_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "8ce245ee-3c94-4639-9d0a-27f845b47547" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11974" ], + "x-ms-correlation-request-id": [ "a73d37fc-09ac-4b2b-8bfe-365beed77ef3" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063722Z:a73d37fc-09ac-4b2b-8bfe-365beed77ef3" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:37:21 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ea807a1c-c746-461a-8f14-e6c67760a835\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:37:07.093Z\"}" + } + }, + "Remove-AzMySqlServer+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/ea807a1c-c746-461a-8f14-e6c67760a835?api-version=2017-12-01+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/ea807a1c-c746-461a-8f14-e6c67760a835?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "12", "13", "14" ], + "x-ms-client-request-id": [ "c2a862ad-8bec-4eed-9d3f-adae77916fdc", "c2a862ad-8bec-4eed-9d3f-adae77916fdc", "c2a862ad-8bec-4eed-9d3f-adae77916fdc" ], + "CommandName": [ "Remove-AzMySqlServer", "Remove-AzMySqlServer", "Remove-AzMySqlServer" ], + "FullCommandName": [ "Remove-AzMySqlServer_DeleteViaIdentity", "Remove-AzMySqlServer_DeleteViaIdentity", "Remove-AzMySqlServer_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "9fe124c0-27c5-40c1-a8cb-178a0df00814" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11973" ], + "x-ms-correlation-request-id": [ "f89bd596-bedc-4004-9723-7a54bece52e6" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063722Z:f89bd596-bedc-4004-9723-7a54bece52e6" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:37:21 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + } + } \ No newline at end of file diff --git a/src/MySql/test/Remove-AzMySqlVirtualNetworkRule.Recording.json b/src/MySql/test/Remove-AzMySqlVirtualNetworkRule.Recording.json index cdf9dfbe5a63..434ac7e9d010 100644 --- a/src/MySql/test/Remove-AzMySqlVirtualNetworkRule.Recording.json +++ b/src/MySql/test/Remove-AzMySqlVirtualNetworkRule.Recording.json @@ -1,68 +1,474 @@ { - "Remove-AzMySqlVirtualNetworkRule+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { + "Remove-AzMySqlVirtualNetworkRule+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\n }\n}", "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "213" ] + "Content-Length": [ "209" ] } }, "Response": { - "StatusCode": 404, + "StatusCode": 202, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ "gateway" ], - "x-ms-request-id": [ "7f172816-e3de-4873-a2ea-f6e098268156" ], - "x-ms-correlation-request-id": [ "7f172816-e3de-4873-a2ea-f6e098268156" ], - "x-ms-routing-request-id": [ "WESTUS2:20201110T002732Z:7f172816-e3de-4873-a2ea-f6e098268156" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/9e644f70-57e5-4b70-9db2-db45be70fdcd?api-version=2017-12-01" ], + "Retry-After": [ "30" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9e644f70-57e5-4b70-9db2-db45be70fdcd?api-version=2017-12-01" ], + "x-ms-request-id": [ "9e644f70-57e5-4b70-9db2-db45be70fdcd" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "03b6946f-9a36-4599-9e38-cd73f4e54c66" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063811Z:03b6946f-9a36-4599-9e38-cd73f4e54c66" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 10 Nov 2020 00:27:31 GMT" ] + "Date": [ "Fri, 24 Jul 2020 06:38:11 GMT" ] }, "ContentHeaders": { + "Content-Length": [ "90" ], "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T06:38:10.287Z\"}" + } + }, + "Remove-AzMySqlVirtualNetworkRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9e644f70-57e5-4b70-9db2-db45be70fdcd?api-version=2017-12-01+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9e644f70-57e5-4b70-9db2-db45be70fdcd?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2" ], + "x-ms-client-request-id": [ "e3bd6c47-27c6-4adb-aa8b-5f88439f4a32", "e3bd6c47-27c6-4adb-aa8b-5f88439f4a32" ], + "CommandName": [ "New-AzMySqlVirtualNetworkRule", "New-AzMySqlVirtualNetworkRule" ], + "FullCommandName": [ "New-AzMySqlVirtualNetworkRule_CreateExpanded", "New-AzMySqlVirtualNetworkRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "869c38b7-478f-400d-ba8b-2f7e70b41d33" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-correlation-request-id": [ "95b33487-5758-4a10-b00e-2ddf97a5bf6f" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063841Z:95b33487-5758-4a10-b00e-2ddf97a5bf6f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:38:41 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"9e644f70-57e5-4b70-9db2-db45be70fdcd\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:38:10.287Z\"}" + } + }, + "Remove-AzMySqlVirtualNetworkRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2", "3" ], + "x-ms-client-request-id": [ "e3bd6c47-27c6-4adb-aa8b-5f88439f4a32", "e3bd6c47-27c6-4adb-aa8b-5f88439f4a32", "e3bd6c47-27c6-4adb-aa8b-5f88439f4a32" ], + "CommandName": [ "New-AzMySqlVirtualNetworkRule", "New-AzMySqlVirtualNetworkRule", "New-AzMySqlVirtualNetworkRule" ], + "FullCommandName": [ "New-AzMySqlVirtualNetworkRule_CreateExpanded", "New-AzMySqlVirtualNetworkRule_CreateExpanded", "New-AzMySqlVirtualNetworkRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "d9bd50d2-38a4-4088-936f-9d55fc767315" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-correlation-request-id": [ "00e06a46-2659-4b31-9fd7-4cd02b2472cf" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063842Z:00e06a46-2659-4b31-9fd7-4cd02b2472cf" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:38:41 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "497" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBforMySQL/servers/virtualNetworkRules\"}" + } + }, + "Remove-AzMySqlVirtualNetworkRule+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+4": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "cc6af0c2-59bb-40a0-8556-aa3d8dd0220c" ], + "CommandName": [ "Remove-AzMySqlVirtualNetworkRule" ], + "FullCommandName": [ "Remove-AzMySqlVirtualNetworkRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/dda26a0e-016a-4868-8b3e-9835cfc00214?api-version=2017-12-01" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/dda26a0e-016a-4868-8b3e-9835cfc00214?api-version=2017-12-01" ], + "x-ms-request-id": [ "dda26a0e-016a-4868-8b3e-9835cfc00214" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "x-ms-correlation-request-id": [ "8f076af5-bdd2-4aa7-b66d-ac8581615cb8" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063843Z:8f076af5-bdd2-4aa7-b66d-ac8581615cb8" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:38:43 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "87" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T06:38:42.74Z\"}" + } + }, + "Remove-AzMySqlVirtualNetworkRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/dda26a0e-016a-4868-8b3e-9835cfc00214?api-version=2017-12-01+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/dda26a0e-016a-4868-8b3e-9835cfc00214?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "4", "5" ], + "x-ms-client-request-id": [ "cc6af0c2-59bb-40a0-8556-aa3d8dd0220c", "cc6af0c2-59bb-40a0-8556-aa3d8dd0220c" ], + "CommandName": [ "Remove-AzMySqlVirtualNetworkRule", "Remove-AzMySqlVirtualNetworkRule" ], + "FullCommandName": [ "Remove-AzMySqlVirtualNetworkRule_Delete", "Remove-AzMySqlVirtualNetworkRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "4bfc3a76-38f0-4c2b-8f85-2b98a3cc1243" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "be834f85-5311-47d6-9ef7-d04f2236f2c6" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063859Z:be834f85-5311-47d6-9ef7-d04f2236f2c6" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:38:58 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"dda26a0e-016a-4868-8b3e-9835cfc00214\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:38:42.74Z\"}" + } + }, + "Remove-AzMySqlVirtualNetworkRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/dda26a0e-016a-4868-8b3e-9835cfc00214?api-version=2017-12-01+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/dda26a0e-016a-4868-8b3e-9835cfc00214?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "4", "5", "6" ], + "x-ms-client-request-id": [ "cc6af0c2-59bb-40a0-8556-aa3d8dd0220c", "cc6af0c2-59bb-40a0-8556-aa3d8dd0220c", "cc6af0c2-59bb-40a0-8556-aa3d8dd0220c" ], + "CommandName": [ "Remove-AzMySqlVirtualNetworkRule", "Remove-AzMySqlVirtualNetworkRule", "Remove-AzMySqlVirtualNetworkRule" ], + "FullCommandName": [ "Remove-AzMySqlVirtualNetworkRule_Delete", "Remove-AzMySqlVirtualNetworkRule_Delete", "Remove-AzMySqlVirtualNetworkRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "1e4e7645-7631-414d-ae19-b09fb0e49ae8" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-correlation-request-id": [ "6872b24e-87b1-4b24-80b1-de5e700f7e52" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063859Z:6872b24e-87b1-4b24-80b1-de5e700f7e52" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:38:59 GMT" ] + }, + "ContentHeaders": { "Expires": [ "-1" ], - "Content-Length": [ "155" ] + "Content-Length": [ "0" ] }, - "Content": "{\"error\":{\"code\":\"ParentResourceNotFound\",\"message\":\"Can not perform requested operation on nested resource. Parent resource \u0027mysql-test-100\u0027 not found.\"}}" + "Content": null } }, - "Remove-AzMySqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { + "Remove-AzMySqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\n }\n}", "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "213" ] + "Content-Length": [ "209" ] } }, "Response": { - "StatusCode": 404, + "StatusCode": 202, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ "gateway" ], - "x-ms-request-id": [ "f7f0319e-809a-4003-86ed-9f78a62df613" ], - "x-ms-correlation-request-id": [ "f7f0319e-809a-4003-86ed-9f78a62df613" ], - "x-ms-routing-request-id": [ "WESTUS2:20201110T002732Z:f7f0319e-809a-4003-86ed-9f78a62df613" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/008d17b6-eda7-4894-8595-97c3ab6fd9e5?api-version=2017-12-01" ], + "Retry-After": [ "30" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/008d17b6-eda7-4894-8595-97c3ab6fd9e5?api-version=2017-12-01" ], + "x-ms-request-id": [ "008d17b6-eda7-4894-8595-97c3ab6fd9e5" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-correlation-request-id": [ "2042b9a8-a84f-44c9-85a7-c7018bc2ee15" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063901Z:2042b9a8-a84f-44c9-85a7-c7018bc2ee15" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 10 Nov 2020 00:27:32 GMT" ] + "Date": [ "Fri, 24 Jul 2020 06:39:00 GMT" ] }, "ContentHeaders": { + "Content-Length": [ "90" ], "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T06:39:00.223Z\"}" + } + }, + "Remove-AzMySqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/008d17b6-eda7-4894-8595-97c3ab6fd9e5?api-version=2017-12-01+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/008d17b6-eda7-4894-8595-97c3ab6fd9e5?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "7", "8" ], + "x-ms-client-request-id": [ "a1f89f2f-2655-4607-803c-a3930f00ba48", "a1f89f2f-2655-4607-803c-a3930f00ba48" ], + "CommandName": [ "New-AzMySqlVirtualNetworkRule", "New-AzMySqlVirtualNetworkRule" ], + "FullCommandName": [ "New-AzMySqlVirtualNetworkRule_CreateExpanded", "New-AzMySqlVirtualNetworkRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "b57082c7-b59a-4599-a806-4f0a7e7b4f93" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "23577bf5-4b64-4d3f-b13b-f0ae6ceb41cb" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063931Z:23577bf5-4b64-4d3f-b13b-f0ae6ceb41cb" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:39:30 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"008d17b6-eda7-4894-8595-97c3ab6fd9e5\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:39:00.223Z\"}" + } + }, + "Remove-AzMySqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "7", "8", "9" ], + "x-ms-client-request-id": [ "a1f89f2f-2655-4607-803c-a3930f00ba48", "a1f89f2f-2655-4607-803c-a3930f00ba48", "a1f89f2f-2655-4607-803c-a3930f00ba48" ], + "CommandName": [ "New-AzMySqlVirtualNetworkRule", "New-AzMySqlVirtualNetworkRule", "New-AzMySqlVirtualNetworkRule" ], + "FullCommandName": [ "New-AzMySqlVirtualNetworkRule_CreateExpanded", "New-AzMySqlVirtualNetworkRule_CreateExpanded", "New-AzMySqlVirtualNetworkRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "3c85fe68-1696-409b-9c94-6317855e0e31" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "84c66763-cd1e-4217-a7dc-32ac81f53d86" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063932Z:84c66763-cd1e-4217-a7dc-32ac81f53d86" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:39:31 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "497" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBforMySQL/servers/virtualNetworkRules\"}" + } + }, + "Remove-AzMySqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+4": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "10" ], + "x-ms-client-request-id": [ "ba48b114-c531-4a59-bedc-696859679589" ], + "CommandName": [ "Remove-AzMySqlVirtualNetworkRule" ], + "FullCommandName": [ "Remove-AzMySqlVirtualNetworkRule_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/117d3811-f4af-46ed-88aa-ba3d352811a9?api-version=2017-12-01" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/117d3811-f4af-46ed-88aa-ba3d352811a9?api-version=2017-12-01" ], + "x-ms-request-id": [ "117d3811-f4af-46ed-88aa-ba3d352811a9" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14998" ], + "x-ms-correlation-request-id": [ "2d754328-51a6-477f-b93f-4679f082377d" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063933Z:2d754328-51a6-477f-b93f-4679f082377d" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:39:32 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "88" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T06:39:32.503Z\"}" + } + }, + "Remove-AzMySqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/117d3811-f4af-46ed-88aa-ba3d352811a9?api-version=2017-12-01+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/117d3811-f4af-46ed-88aa-ba3d352811a9?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "10", "11" ], + "x-ms-client-request-id": [ "ba48b114-c531-4a59-bedc-696859679589", "ba48b114-c531-4a59-bedc-696859679589" ], + "CommandName": [ "Remove-AzMySqlVirtualNetworkRule", "Remove-AzMySqlVirtualNetworkRule" ], + "FullCommandName": [ "Remove-AzMySqlVirtualNetworkRule_DeleteViaIdentity", "Remove-AzMySqlVirtualNetworkRule_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "9c8db95c-e585-4a87-becd-29916ecd6572" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "72714249-f8fb-4be8-b593-ad547b2a829a" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063949Z:72714249-f8fb-4be8-b593-ad547b2a829a" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:39:49 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"117d3811-f4af-46ed-88aa-ba3d352811a9\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:39:32.503Z\"}" + } + }, + "Remove-AzMySqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/117d3811-f4af-46ed-88aa-ba3d352811a9?api-version=2017-12-01+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/117d3811-f4af-46ed-88aa-ba3d352811a9?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "10", "11", "12" ], + "x-ms-client-request-id": [ "ba48b114-c531-4a59-bedc-696859679589", "ba48b114-c531-4a59-bedc-696859679589", "ba48b114-c531-4a59-bedc-696859679589" ], + "CommandName": [ "Remove-AzMySqlVirtualNetworkRule", "Remove-AzMySqlVirtualNetworkRule", "Remove-AzMySqlVirtualNetworkRule" ], + "FullCommandName": [ "Remove-AzMySqlVirtualNetworkRule_DeleteViaIdentity", "Remove-AzMySqlVirtualNetworkRule_DeleteViaIdentity", "Remove-AzMySqlVirtualNetworkRule_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "e64bf63b-0116-422f-9241-b011e8c383b7" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-correlation-request-id": [ "3dfeba84-1890-4bbd-a571-6b88638b55ef" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T063949Z:3dfeba84-1890-4bbd-a571-6b88638b55ef" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:39:49 GMT" ] + }, + "ContentHeaders": { "Expires": [ "-1" ], - "Content-Length": [ "155" ] + "Content-Length": [ "0" ] }, - "Content": "{\"error\":{\"code\":\"ParentResourceNotFound\",\"message\":\"Can not perform requested operation on nested resource. Parent resource \u0027mysql-test-100\u0027 not found.\"}}" + "Content": null } } } \ No newline at end of file diff --git a/src/MySql/test/Restart-AzMySqlFlexibleServer.Recording.json b/src/MySql/test/Restart-AzMySqlFlexibleServer.Recording.json index d3496bf43046..e127e9220d1c 100644 --- a/src/MySql/test/Restart-AzMySqlFlexibleServer.Recording.json +++ b/src/MySql/test/Restart-AzMySqlFlexibleServer.Recording.json @@ -6,7 +6,7 @@ "Content": null, "Headers": { "x-ms-unique-id": [ "1" ], - "x-ms-client-request-id": [ "79eb1465-e56d-47bf-80e0-8b1aca27685d" ], + "x-ms-client-request-id": [ "3dbf2866-1370-4010-9166-0f7d138a945e" ], "CommandName": [ "Restart-AzMySqlFlexibleServer" ], "FullCommandName": [ "Restart-AzMySqlFlexibleServer_Restart" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -21,35 +21,35 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/b0ef026c-0677-4ddd-bc2e-31f841829364?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/1a047347-6b9f-4a27-8087-8018e5101924?api-version=2020-07-01-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/b0ef026c-0677-4ddd-bc2e-31f841829364?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/1a047347-6b9f-4a27-8087-8018e5101924?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "b0ef026c-0677-4ddd-bc2e-31f841829364" ], + "x-ms-request-id": [ "1a047347-6b9f-4a27-8087-8018e5101924" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-correlation-request-id": [ "5da87143-1c76-4c6c-aab9-5a9538b70679" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T182654Z:5da87143-1c76-4c6c-aab9-5a9538b70679" ], + "x-ms-correlation-request-id": [ "84faa3a9-1066-4fb4-892f-1334d0ba5bd1" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T205031Z:84faa3a9-1066-4fb4-892f-1334d0ba5bd1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 18:26:54 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:50:31 GMT" ] }, "ContentHeaders": { "Content-Length": [ "87" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"operation\":\"RestartServerManagementOperation\",\"startTime\":\"2020-11-11T18:26:54.663Z\"}" + "Content": "{\"operation\":\"RestartServerManagementOperation\",\"startTime\":\"2020-11-11T20:50:31.543Z\"}" } }, - "Restart-AzMySqlFlexibleServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/b0ef026c-0677-4ddd-bc2e-31f841829364?api-version=2020-07-01-preview+2": { + "Restart-AzMySqlFlexibleServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/1a047347-6b9f-4a27-8087-8018e5101924?api-version=2020-07-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/b0ef026c-0677-4ddd-bc2e-31f841829364?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/1a047347-6b9f-4a27-8087-8018e5101924?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "2" ], - "x-ms-client-request-id": [ "79eb1465-e56d-47bf-80e0-8b1aca27685d" ], + "x-ms-client-request-id": [ "3dbf2866-1370-4010-9166-0f7d138a945e" ], "CommandName": [ "Restart-AzMySqlFlexibleServer" ], "FullCommandName": [ "Restart-AzMySqlFlexibleServer_Restart" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -65,31 +65,31 @@ "Pragma": [ "no-cache" ], "Retry-After": [ "60" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "42b0b08a-dc55-4817-98dc-6f102052aad3" ], + "x-ms-request-id": [ "522f2d66-7620-4f35-b7e4-f63982bb4481" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], - "x-ms-correlation-request-id": [ "49de8aec-0f96-4ea2-b22a-5712f83c2989" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T182755Z:49de8aec-0f96-4ea2-b22a-5712f83c2989" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "b45058ea-2c79-49a5-b7fd-ef9984827a2f" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T205131Z:b45058ea-2c79-49a5-b7fd-ef9984827a2f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 18:27:54 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:51:31 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "238" ], + "Content-Length": [ "108" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"b0ef026c-0677-4ddd-bc2e-31f841829364\",\"status\":\"Failed\",\"startTime\":\"2020-11-11T18:26:54.663Z\",\"error\":{\"code\":\"OperationFailed\",\"message\":\"Operation Restart failed, because server mysql-test-100 is busy with other operations.\"}}" + "Content": "{\"name\":\"1a047347-6b9f-4a27-8087-8018e5101924\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T20:50:31.543Z\"}" } }, - "Restart-AzMySqlFlexibleServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/b0ef026c-0677-4ddd-bc2e-31f841829364?api-version=2020-07-01-preview+3": { + "Restart-AzMySqlFlexibleServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/1a047347-6b9f-4a27-8087-8018e5101924?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/b0ef026c-0677-4ddd-bc2e-31f841829364?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/1a047347-6b9f-4a27-8087-8018e5101924?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "79eb1465-e56d-47bf-80e0-8b1aca27685d" ], + "x-ms-client-request-id": [ "3dbf2866-1370-4010-9166-0f7d138a945e" ], "CommandName": [ "Restart-AzMySqlFlexibleServer" ], "FullCommandName": [ "Restart-AzMySqlFlexibleServer_Restart" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -99,25 +99,65 @@ } }, "Response": { - "StatusCode": 400, + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "607ac0a4-7983-4083-b2be-7170b263a205" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "372e0a6e-cf0e-47e2-b053-0eb13a43a0cb" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T205232Z:372e0a6e-cf0e-47e2-b053-0eb13a43a0cb" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 20:52:31 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"1a047347-6b9f-4a27-8087-8018e5101924\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T20:50:31.543Z\"}" + } + }, + "Restart-AzMySqlFlexibleServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/1a047347-6b9f-4a27-8087-8018e5101924?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/1a047347-6b9f-4a27-8087-8018e5101924?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "3dbf2866-1370-4010-9166-0f7d138a945e" ], + "CommandName": [ "Restart-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Restart-AzMySqlFlexibleServer_Restart" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "cffe2feb-00d8-4802-ad90-a41b86fff469" ], + "x-ms-request-id": [ "0b79641e-39f3-4418-b2a1-05c9fcaaa96d" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], - "x-ms-correlation-request-id": [ "2fd86440-1a81-41eb-9b94-2ef2758c4ff8" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T182755Z:2fd86440-1a81-41eb-9b94-2ef2758c4ff8" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "9398900a-7299-4a80-a3c5-9543ed7e2297" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T205232Z:9398900a-7299-4a80-a3c5-9543ed7e2297" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 18:27:54 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:52:31 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "135" ], + "Content-Length": [ "40" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"error\":{\"code\":\"OperationFailed\",\"message\":\"Operation Restart failed, because server mysql-test-100 is busy with other operations.\"}}" + "Content": "{\"name\":\"mysql-test-100\",\"type\":\"MySQL\"}" } }, "Restart-AzMySqlFlexibleServer+[NoContext]+RestartViaIdentity+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/restart?api-version=2020-07-01-preview+1": { @@ -126,8 +166,8 @@ "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/restart?api-version=2020-07-01-preview", "Content": null, "Headers": { - "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "c981e4bd-8dc0-428c-b51e-155684195edb" ], + "x-ms-unique-id": [ "5" ], + "x-ms-client-request-id": [ "3110766e-b6e0-41c9-8516-ee1bb72ab037" ], "CommandName": [ "Restart-AzMySqlFlexibleServer" ], "FullCommandName": [ "Restart-AzMySqlFlexibleServer_RestartViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -142,35 +182,35 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/74dbcad9-7c1c-4c5b-bb03-4304640df200?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/335f7990-165b-4b1d-ad7e-a5a08527000a?api-version=2020-07-01-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/74dbcad9-7c1c-4c5b-bb03-4304640df200?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/335f7990-165b-4b1d-ad7e-a5a08527000a?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "74dbcad9-7c1c-4c5b-bb03-4304640df200" ], + "x-ms-request-id": [ "335f7990-165b-4b1d-ad7e-a5a08527000a" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], - "x-ms-correlation-request-id": [ "53be5d11-b689-4096-b917-c56b2c5dd0c5" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T182755Z:53be5d11-b689-4096-b917-c56b2c5dd0c5" ], + "x-ms-correlation-request-id": [ "1ed19d9e-8fae-4641-825f-324ce082c3a8" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T205232Z:1ed19d9e-8fae-4641-825f-324ce082c3a8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 18:27:54 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:52:32 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "87" ], + "Content-Length": [ "86" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"operation\":\"RestartServerManagementOperation\",\"startTime\":\"2020-11-11T18:27:55.467Z\"}" + "Content": "{\"operation\":\"RestartServerManagementOperation\",\"startTime\":\"2020-11-11T20:52:32.59Z\"}" } }, - "Restart-AzMySqlFlexibleServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/74dbcad9-7c1c-4c5b-bb03-4304640df200?api-version=2020-07-01-preview+2": { + "Restart-AzMySqlFlexibleServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/335f7990-165b-4b1d-ad7e-a5a08527000a?api-version=2020-07-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/74dbcad9-7c1c-4c5b-bb03-4304640df200?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/335f7990-165b-4b1d-ad7e-a5a08527000a?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "5" ], - "x-ms-client-request-id": [ "c981e4bd-8dc0-428c-b51e-155684195edb" ], + "x-ms-unique-id": [ "6" ], + "x-ms-client-request-id": [ "3110766e-b6e0-41c9-8516-ee1bb72ab037" ], "CommandName": [ "Restart-AzMySqlFlexibleServer" ], "FullCommandName": [ "Restart-AzMySqlFlexibleServer_RestartViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -186,31 +226,31 @@ "Pragma": [ "no-cache" ], "Retry-After": [ "60" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "84ab9a3c-97a2-4209-beb0-8397cfa939ac" ], + "x-ms-request-id": [ "3d35dba0-2c6b-49e9-b2e4-5cb0b92741a2" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], - "x-ms-correlation-request-id": [ "a4f45054-8d9e-4897-a056-2d5e259fedeb" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T182855Z:a4f45054-8d9e-4897-a056-2d5e259fedeb" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-correlation-request-id": [ "16af7972-2a63-4e18-8410-2330704d2e29" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T205332Z:16af7972-2a63-4e18-8410-2330704d2e29" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 18:28:55 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:53:31 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "238" ], + "Content-Length": [ "107" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"74dbcad9-7c1c-4c5b-bb03-4304640df200\",\"status\":\"Failed\",\"startTime\":\"2020-11-11T18:27:55.467Z\",\"error\":{\"code\":\"OperationFailed\",\"message\":\"Operation Restart failed, because server mysql-test-100 is busy with other operations.\"}}" + "Content": "{\"name\":\"335f7990-165b-4b1d-ad7e-a5a08527000a\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T20:52:32.59Z\"}" } }, - "Restart-AzMySqlFlexibleServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/74dbcad9-7c1c-4c5b-bb03-4304640df200?api-version=2020-07-01-preview+3": { + "Restart-AzMySqlFlexibleServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/335f7990-165b-4b1d-ad7e-a5a08527000a?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/74dbcad9-7c1c-4c5b-bb03-4304640df200?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/335f7990-165b-4b1d-ad7e-a5a08527000a?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "6" ], - "x-ms-client-request-id": [ "c981e4bd-8dc0-428c-b51e-155684195edb" ], + "x-ms-unique-id": [ "7" ], + "x-ms-client-request-id": [ "3110766e-b6e0-41c9-8516-ee1bb72ab037" ], "CommandName": [ "Restart-AzMySqlFlexibleServer" ], "FullCommandName": [ "Restart-AzMySqlFlexibleServer_RestartViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -220,25 +260,65 @@ } }, "Response": { - "StatusCode": 400, + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "d27fdb5f-6fbe-45f5-bc74-474723e5f5c3" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], + "x-ms-correlation-request-id": [ "b65fa1b3-c711-4279-8759-74865fcea088" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T205432Z:b65fa1b3-c711-4279-8759-74865fcea088" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 20:54:32 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"335f7990-165b-4b1d-ad7e-a5a08527000a\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T20:52:32.59Z\"}" + } + }, + "Restart-AzMySqlFlexibleServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/335f7990-165b-4b1d-ad7e-a5a08527000a?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/335f7990-165b-4b1d-ad7e-a5a08527000a?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "8" ], + "x-ms-client-request-id": [ "3110766e-b6e0-41c9-8516-ee1bb72ab037" ], + "CommandName": [ "Restart-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Restart-AzMySqlFlexibleServer_RestartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "545fe36f-cfb2-4057-ae5d-7dd6837f3276" ], + "x-ms-request-id": [ "5705226a-999c-4bc1-832c-a9147a5081d3" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], - "x-ms-correlation-request-id": [ "db947d5c-a9fd-4014-b17d-32248f2a70e4" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T182855Z:db947d5c-a9fd-4014-b17d-32248f2a70e4" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], + "x-ms-correlation-request-id": [ "955d398f-f3f3-4221-9da0-d90f62111d41" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T205432Z:955d398f-f3f3-4221-9da0-d90f62111d41" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 18:28:55 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:54:32 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "135" ], + "Content-Length": [ "40" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"error\":{\"code\":\"OperationFailed\",\"message\":\"Operation Restart failed, because server mysql-test-100 is busy with other operations.\"}}" + "Content": "{\"name\":\"mysql-test-100\",\"type\":\"MySQL\"}" } } } \ No newline at end of file diff --git a/src/MySql/test/Restart-AzMySqlServer.Recording.json b/src/MySql/test/Restart-AzMySqlServer.Recording.json new file mode 100644 index 000000000000..18262b360ed5 --- /dev/null +++ b/src/MySql/test/Restart-AzMySqlServer.Recording.json @@ -0,0 +1,482 @@ +{ + "Restart-AzMySqlServer+[NoContext]+Restart+$POST+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/restart?api-version=2017-12-01+1": { + "Request": { + "Method": "POST", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/restart?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1" ], + "x-ms-client-request-id": [ "71c2b788-0647-4d4b-8f86-38cf41a04e84" ], + "CommandName": [ "Restart-AzMySqlServer" ], + "FullCommandName": [ "Restart-AzMySqlServer_Restart" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/2c5d06a0-f0c2-47db-8145-c596b0e722b6?api-version=2017-12-01" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/2c5d06a0-f0c2-47db-8145-c596b0e722b6?api-version=2017-12-01" ], + "x-ms-request-id": [ "2c5d06a0-f0c2-47db-8145-c596b0e722b6" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "2c705342-056f-4a01-ae78-84d40a60a90d" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T064218Z:2c705342-056f-4a01-ae78-84d40a60a90d" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:42:17 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "74" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"RestartElasticServer\",\"startTime\":\"2020-07-24T06:42:17.86Z\"}" + } + }, + "Restart-AzMySqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/2c5d06a0-f0c2-47db-8145-c596b0e722b6?api-version=2017-12-01+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/2c5d06a0-f0c2-47db-8145-c596b0e722b6?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2" ], + "x-ms-client-request-id": [ "71c2b788-0647-4d4b-8f86-38cf41a04e84", "71c2b788-0647-4d4b-8f86-38cf41a04e84" ], + "CommandName": [ "Restart-AzMySqlServer", "Restart-AzMySqlServer" ], + "FullCommandName": [ "Restart-AzMySqlServer_Restart", "Restart-AzMySqlServer_Restart" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "13291af0-47bf-46ef-95be-eab4d8f09b46" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11980" ], + "x-ms-correlation-request-id": [ "9047b6a7-cbf5-4afb-be9a-6a9b9d3e79f6" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T064233Z:9047b6a7-cbf5-4afb-be9a-6a9b9d3e79f6" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:42:33 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"2c5d06a0-f0c2-47db-8145-c596b0e722b6\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T06:42:17.86Z\"}" + } + }, + "Restart-AzMySqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/2c5d06a0-f0c2-47db-8145-c596b0e722b6?api-version=2017-12-01+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/2c5d06a0-f0c2-47db-8145-c596b0e722b6?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2", "3" ], + "x-ms-client-request-id": [ "71c2b788-0647-4d4b-8f86-38cf41a04e84", "71c2b788-0647-4d4b-8f86-38cf41a04e84", "71c2b788-0647-4d4b-8f86-38cf41a04e84" ], + "CommandName": [ "Restart-AzMySqlServer", "Restart-AzMySqlServer", "Restart-AzMySqlServer" ], + "FullCommandName": [ "Restart-AzMySqlServer_Restart", "Restart-AzMySqlServer_Restart", "Restart-AzMySqlServer_Restart" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "6c73e2f3-79a9-48ea-96f0-edc2a7919784" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11979" ], + "x-ms-correlation-request-id": [ "e7532b0f-4dfb-4b57-bf6f-59c7ac28c85d" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T064248Z:e7532b0f-4dfb-4b57-bf6f-59c7ac28c85d" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:42:48 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"2c5d06a0-f0c2-47db-8145-c596b0e722b6\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T06:42:17.86Z\"}" + } + }, + "Restart-AzMySqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/2c5d06a0-f0c2-47db-8145-c596b0e722b6?api-version=2017-12-01+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/2c5d06a0-f0c2-47db-8145-c596b0e722b6?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2", "3", "4" ], + "x-ms-client-request-id": [ "71c2b788-0647-4d4b-8f86-38cf41a04e84", "71c2b788-0647-4d4b-8f86-38cf41a04e84", "71c2b788-0647-4d4b-8f86-38cf41a04e84", "71c2b788-0647-4d4b-8f86-38cf41a04e84" ], + "CommandName": [ "Restart-AzMySqlServer", "Restart-AzMySqlServer", "Restart-AzMySqlServer", "Restart-AzMySqlServer" ], + "FullCommandName": [ "Restart-AzMySqlServer_Restart", "Restart-AzMySqlServer_Restart", "Restart-AzMySqlServer_Restart", "Restart-AzMySqlServer_Restart" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "d1dfe3d5-0dc1-45b7-9002-d987129c9a7d" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11978" ], + "x-ms-correlation-request-id": [ "ec4519c3-1c39-4277-9796-b499065c9429" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T064304Z:ec4519c3-1c39-4277-9796-b499065c9429" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:43:03 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"2c5d06a0-f0c2-47db-8145-c596b0e722b6\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T06:42:17.86Z\"}" + } + }, + "Restart-AzMySqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/2c5d06a0-f0c2-47db-8145-c596b0e722b6?api-version=2017-12-01+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/2c5d06a0-f0c2-47db-8145-c596b0e722b6?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2", "3", "4", "5" ], + "x-ms-client-request-id": [ "71c2b788-0647-4d4b-8f86-38cf41a04e84", "71c2b788-0647-4d4b-8f86-38cf41a04e84", "71c2b788-0647-4d4b-8f86-38cf41a04e84", "71c2b788-0647-4d4b-8f86-38cf41a04e84", "71c2b788-0647-4d4b-8f86-38cf41a04e84" ], + "CommandName": [ "Restart-AzMySqlServer", "Restart-AzMySqlServer", "Restart-AzMySqlServer", "Restart-AzMySqlServer", "Restart-AzMySqlServer" ], + "FullCommandName": [ "Restart-AzMySqlServer_Restart", "Restart-AzMySqlServer_Restart", "Restart-AzMySqlServer_Restart", "Restart-AzMySqlServer_Restart", "Restart-AzMySqlServer_Restart" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "940a03fe-18fd-4fd0-bae0-668c0d6840f8" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11977" ], + "x-ms-correlation-request-id": [ "592e4f19-35c7-4be1-a03e-b3a5c7d52c65" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T064319Z:592e4f19-35c7-4be1-a03e-b3a5c7d52c65" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:43:18 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"2c5d06a0-f0c2-47db-8145-c596b0e722b6\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:42:17.86Z\"}" + } + }, + "Restart-AzMySqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/2c5d06a0-f0c2-47db-8145-c596b0e722b6?api-version=2017-12-01+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/2c5d06a0-f0c2-47db-8145-c596b0e722b6?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2", "3", "4", "5", "6" ], + "x-ms-client-request-id": [ "71c2b788-0647-4d4b-8f86-38cf41a04e84", "71c2b788-0647-4d4b-8f86-38cf41a04e84", "71c2b788-0647-4d4b-8f86-38cf41a04e84", "71c2b788-0647-4d4b-8f86-38cf41a04e84", "71c2b788-0647-4d4b-8f86-38cf41a04e84", "71c2b788-0647-4d4b-8f86-38cf41a04e84" ], + "CommandName": [ "Restart-AzMySqlServer", "Restart-AzMySqlServer", "Restart-AzMySqlServer", "Restart-AzMySqlServer", "Restart-AzMySqlServer", "Restart-AzMySqlServer" ], + "FullCommandName": [ "Restart-AzMySqlServer_Restart", "Restart-AzMySqlServer_Restart", "Restart-AzMySqlServer_Restart", "Restart-AzMySqlServer_Restart", "Restart-AzMySqlServer_Restart", "Restart-AzMySqlServer_Restart" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "3e87c5ba-bea4-4e8f-b136-646faf330339" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11976" ], + "x-ms-correlation-request-id": [ "d2068349-544b-4a87-8e82-2fd2628823ce" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T064319Z:d2068349-544b-4a87-8e82-2fd2628823ce" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:43:19 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + }, + "Restart-AzMySqlServer+[NoContext]+RestartViaIdentity+$POST+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/restart?api-version=2017-12-01+1": { + "Request": { + "Method": "POST", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/restart?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "7" ], + "x-ms-client-request-id": [ "0bcff115-6341-49c6-9548-0f4e307a824f" ], + "CommandName": [ "Restart-AzMySqlServer" ], + "FullCommandName": [ "Restart-AzMySqlServer_RestartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/62df6539-87c0-4278-9d9e-6f874380b40d?api-version=2017-12-01" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/62df6539-87c0-4278-9d9e-6f874380b40d?api-version=2017-12-01" ], + "x-ms-request-id": [ "62df6539-87c0-4278-9d9e-6f874380b40d" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-correlation-request-id": [ "ca420300-952f-414b-be96-f17a70544d50" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T064320Z:ca420300-952f-414b-be96-f17a70544d50" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:43:19 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "75" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"RestartElasticServer\",\"startTime\":\"2020-07-24T06:43:20.203Z\"}" + } + }, + "Restart-AzMySqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/62df6539-87c0-4278-9d9e-6f874380b40d?api-version=2017-12-01+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/62df6539-87c0-4278-9d9e-6f874380b40d?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "7", "8" ], + "x-ms-client-request-id": [ "0bcff115-6341-49c6-9548-0f4e307a824f", "0bcff115-6341-49c6-9548-0f4e307a824f" ], + "CommandName": [ "Restart-AzMySqlServer", "Restart-AzMySqlServer" ], + "FullCommandName": [ "Restart-AzMySqlServer_RestartViaIdentity", "Restart-AzMySqlServer_RestartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "7ded85c5-4503-436b-82e4-e1ea448f2903" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11975" ], + "x-ms-correlation-request-id": [ "1817b5bf-57a9-4ef8-a809-152a8d94eeff" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T064335Z:1817b5bf-57a9-4ef8-a809-152a8d94eeff" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:43:35 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"62df6539-87c0-4278-9d9e-6f874380b40d\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T06:43:20.203Z\"}" + } + }, + "Restart-AzMySqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/62df6539-87c0-4278-9d9e-6f874380b40d?api-version=2017-12-01+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/62df6539-87c0-4278-9d9e-6f874380b40d?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "7", "8", "9" ], + "x-ms-client-request-id": [ "0bcff115-6341-49c6-9548-0f4e307a824f", "0bcff115-6341-49c6-9548-0f4e307a824f", "0bcff115-6341-49c6-9548-0f4e307a824f" ], + "CommandName": [ "Restart-AzMySqlServer", "Restart-AzMySqlServer", "Restart-AzMySqlServer" ], + "FullCommandName": [ "Restart-AzMySqlServer_RestartViaIdentity", "Restart-AzMySqlServer_RestartViaIdentity", "Restart-AzMySqlServer_RestartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "718f8161-da3a-4691-8195-d7dbbe30a8c8" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11974" ], + "x-ms-correlation-request-id": [ "dd2b8e28-b2d5-4968-9b91-ed384329ff8b" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T064351Z:dd2b8e28-b2d5-4968-9b91-ed384329ff8b" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:43:50 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"62df6539-87c0-4278-9d9e-6f874380b40d\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T06:43:20.203Z\"}" + } + }, + "Restart-AzMySqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/62df6539-87c0-4278-9d9e-6f874380b40d?api-version=2017-12-01+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/62df6539-87c0-4278-9d9e-6f874380b40d?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "7", "8", "9", "10" ], + "x-ms-client-request-id": [ "0bcff115-6341-49c6-9548-0f4e307a824f", "0bcff115-6341-49c6-9548-0f4e307a824f", "0bcff115-6341-49c6-9548-0f4e307a824f", "0bcff115-6341-49c6-9548-0f4e307a824f" ], + "CommandName": [ "Restart-AzMySqlServer", "Restart-AzMySqlServer", "Restart-AzMySqlServer", "Restart-AzMySqlServer" ], + "FullCommandName": [ "Restart-AzMySqlServer_RestartViaIdentity", "Restart-AzMySqlServer_RestartViaIdentity", "Restart-AzMySqlServer_RestartViaIdentity", "Restart-AzMySqlServer_RestartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "5709d4ab-37dc-4620-9dbe-ea57b0dff922" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11973" ], + "x-ms-correlation-request-id": [ "bb498ce1-f241-4e77-8f7d-b4986762297b" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T064406Z:bb498ce1-f241-4e77-8f7d-b4986762297b" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:44:05 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"62df6539-87c0-4278-9d9e-6f874380b40d\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T06:43:20.203Z\"}" + } + }, + "Restart-AzMySqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/62df6539-87c0-4278-9d9e-6f874380b40d?api-version=2017-12-01+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/62df6539-87c0-4278-9d9e-6f874380b40d?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "7", "8", "9", "10", "11" ], + "x-ms-client-request-id": [ "0bcff115-6341-49c6-9548-0f4e307a824f", "0bcff115-6341-49c6-9548-0f4e307a824f", "0bcff115-6341-49c6-9548-0f4e307a824f", "0bcff115-6341-49c6-9548-0f4e307a824f", "0bcff115-6341-49c6-9548-0f4e307a824f" ], + "CommandName": [ "Restart-AzMySqlServer", "Restart-AzMySqlServer", "Restart-AzMySqlServer", "Restart-AzMySqlServer", "Restart-AzMySqlServer" ], + "FullCommandName": [ "Restart-AzMySqlServer_RestartViaIdentity", "Restart-AzMySqlServer_RestartViaIdentity", "Restart-AzMySqlServer_RestartViaIdentity", "Restart-AzMySqlServer_RestartViaIdentity", "Restart-AzMySqlServer_RestartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "429ca123-d8de-42d2-acd7-6fba9d6e246f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11972" ], + "x-ms-correlation-request-id": [ "36176754-0a79-4251-bb07-efee9fe539e6" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T064421Z:36176754-0a79-4251-bb07-efee9fe539e6" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:44:20 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"62df6539-87c0-4278-9d9e-6f874380b40d\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:43:20.203Z\"}" + } + }, + "Restart-AzMySqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/62df6539-87c0-4278-9d9e-6f874380b40d?api-version=2017-12-01+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/62df6539-87c0-4278-9d9e-6f874380b40d?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "7", "8", "9", "10", "11", "12" ], + "x-ms-client-request-id": [ "0bcff115-6341-49c6-9548-0f4e307a824f", "0bcff115-6341-49c6-9548-0f4e307a824f", "0bcff115-6341-49c6-9548-0f4e307a824f", "0bcff115-6341-49c6-9548-0f4e307a824f", "0bcff115-6341-49c6-9548-0f4e307a824f", "0bcff115-6341-49c6-9548-0f4e307a824f" ], + "CommandName": [ "Restart-AzMySqlServer", "Restart-AzMySqlServer", "Restart-AzMySqlServer", "Restart-AzMySqlServer", "Restart-AzMySqlServer", "Restart-AzMySqlServer" ], + "FullCommandName": [ "Restart-AzMySqlServer_RestartViaIdentity", "Restart-AzMySqlServer_RestartViaIdentity", "Restart-AzMySqlServer_RestartViaIdentity", "Restart-AzMySqlServer_RestartViaIdentity", "Restart-AzMySqlServer_RestartViaIdentity", "Restart-AzMySqlServer_RestartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "b2b33128-f2e2-4dfa-a90a-8e2214154084" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11971" ], + "x-ms-correlation-request-id": [ "c7153538-ea5c-4bd2-b074-f36274e9e515" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T064422Z:c7153538-ea5c-4bd2-b074-f36274e9e515" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 06:44:22 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + } + } \ No newline at end of file diff --git a/src/MySql/test/Restore-AzMySqlFlexibleServer.Recording.json b/src/MySql/test/Restore-AzMySqlFlexibleServer.Recording.json index 74133377c636..eb9d4003f65d 100644 --- a/src/MySql/test/Restore-AzMySqlFlexibleServer.Recording.json +++ b/src/MySql/test/Restore-AzMySqlFlexibleServer.Recording.json @@ -5,8 +5,8 @@ "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview", "Content": null, "Headers": { - "x-ms-unique-id": [ "29" ], - "x-ms-client-request-id": [ "532e77f9-e412-45ee-837d-8d3ba729e06f" ], + "x-ms-unique-id": [ "1" ], + "x-ms-client-request-id": [ "cda4ac46-3c60-44b5-b91c-e354c108cff9" ], "CommandName": [ "Get-AzMySqlFlexibleServer" ], "FullCommandName": [ "Get-AzMySqlFlexibleServer_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -22,32 +22,32 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "012e5f4c-fc95-4735-b40e-24624018a2f4" ], + "x-ms-request-id": [ "1285301a-fb52-4d52-bebf-ba68dffba594" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11976" ], - "x-ms-correlation-request-id": [ "05b97bd4-322c-44fc-8153-b8ea0255d1f9" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T065459Z:05b97bd4-322c-44fc-8153-b8ea0255d1f9" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-correlation-request-id": [ "b2b0020d-a6f6-482a-973e-f38bf45cb3ca" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T063235Z:b2b0020d-a6f6-482a-973e-f38bf45cb3ca" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:54:59 GMT" ] + "Date": [ "Thu, 12 Nov 2020 06:32:35 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "937" ], + "Content-Length": [ "946" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":13,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } }, "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-restore?api-version=2020-07-01-preview+2": { "Request": { "Method": "PUT", "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-restore?api-version=2020-07-01-preview", - "Content": "{\r\n \"location\": \"West US 2\",\r\n \"properties\": {\r\n \"sourceServerId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\r\n \"restorePointInTime\": \"2020-11-10T22:44:59.7507449-08:00\",\r\n \"createMode\": \"PointInTimeRestore\"\r\n }\r\n}", + "Content": "{\r\n \"location\": \"West US 2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\"\r\n },\r\n \"properties\": {\r\n \"sourceServerId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\r\n \"restorePointInTime\": \"2020-11-11T22:22:36.1235805-08:00\",\r\n \"createMode\": \"PointInTimeRestore\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "325" ] + "Content-Length": [ "372" ] } }, "Response": { @@ -55,35 +55,675 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/2c93ee24-221b-441d-ac47-55db8770e649?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "115199eb-e3bb-41d3-bd52-c3062c8bf172" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "5f0f3cee-115d-4e67-90c9-11c1bec64ea9" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T063236Z:5f0f3cee-115d-4e67-90c9-11c1bec64ea9" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 12 Nov 2020 06:32:35 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "89" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"RestoreSnapshotManagementOperation\",\"startTime\":\"2020-11-12T06:32:36.307Z\"}" + } + }, + "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "3" ], + "x-ms-client-request-id": [ "8452499f-e808-4aa6-af0d-8d67cfc15ff6" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "92f8a3ed-5d76-43ff-a28f-e7934d8475f6" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-correlation-request-id": [ "c73762a8-cc56-4996-8a3d-f377cf83fd46" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T063336Z:c73762a8-cc56-4996-8a3d-f377cf83fd46" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 12 Nov 2020 06:33:36 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"115199eb-e3bb-41d3-bd52-c3062c8bf172\",\"status\":\"InProgress\",\"startTime\":\"2020-11-12T06:32:36.307Z\"}" + } + }, + "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "8452499f-e808-4aa6-af0d-8d67cfc15ff6" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "1bad8811-d64f-4b93-bf76-a36766142ed6" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-correlation-request-id": [ "c8905198-cf1c-4140-b026-8eb89ebce816" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T063436Z:c8905198-cf1c-4140-b026-8eb89ebce816" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 12 Nov 2020 06:34:36 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"115199eb-e3bb-41d3-bd52-c3062c8bf172\",\"status\":\"InProgress\",\"startTime\":\"2020-11-12T06:32:36.307Z\"}" + } + }, + "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "5" ], + "x-ms-client-request-id": [ "8452499f-e808-4aa6-af0d-8d67cfc15ff6" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "8535e6ab-ee4e-4ebd-bb63-6940ca836b7f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-correlation-request-id": [ "c8a51ba0-c2d9-4121-a533-30ee715481f1" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T063537Z:c8a51ba0-c2d9-4121-a533-30ee715481f1" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 12 Nov 2020 06:35:36 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"115199eb-e3bb-41d3-bd52-c3062c8bf172\",\"status\":\"InProgress\",\"startTime\":\"2020-11-12T06:32:36.307Z\"}" + } + }, + "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "6" ], + "x-ms-client-request-id": [ "8452499f-e808-4aa6-af0d-8d67cfc15ff6" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "5d12429b-6eef-482a-8c93-81b0aa924468" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "084e8b69-7fff-42fb-afc1-3a5dd976f1d9" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T063637Z:084e8b69-7fff-42fb-afc1-3a5dd976f1d9" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 12 Nov 2020 06:36:36 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"115199eb-e3bb-41d3-bd52-c3062c8bf172\",\"status\":\"InProgress\",\"startTime\":\"2020-11-12T06:32:36.307Z\"}" + } + }, + "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "7" ], + "x-ms-client-request-id": [ "8452499f-e808-4aa6-af0d-8d67cfc15ff6" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "01c7c874-4eae-4f5f-a793-f79d874962c3" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "d8191516-45ea-4c50-ad3c-49cc38bb0aeb" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T063737Z:d8191516-45ea-4c50-ad3c-49cc38bb0aeb" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 12 Nov 2020 06:37:36 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"115199eb-e3bb-41d3-bd52-c3062c8bf172\",\"status\":\"InProgress\",\"startTime\":\"2020-11-12T06:32:36.307Z\"}" + } + }, + "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "8" ], + "x-ms-client-request-id": [ "8452499f-e808-4aa6-af0d-8d67cfc15ff6" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "8c22b6ee-1496-4437-b8cc-4eb825a00b10" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], + "x-ms-correlation-request-id": [ "29d66687-6e84-44df-a1db-0230e3317a9b" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T063837Z:29d66687-6e84-44df-a1db-0230e3317a9b" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 12 Nov 2020 06:38:37 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"115199eb-e3bb-41d3-bd52-c3062c8bf172\",\"status\":\"InProgress\",\"startTime\":\"2020-11-12T06:32:36.307Z\"}" + } + }, + "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+9": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "9" ], + "x-ms-client-request-id": [ "8452499f-e808-4aa6-af0d-8d67cfc15ff6" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "3f6b2480-91d8-48ee-b131-0237aa367e97" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], + "x-ms-correlation-request-id": [ "42a8ac89-0f26-4246-b01e-17587521d92f" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T063937Z:42a8ac89-0f26-4246-b01e-17587521d92f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 12 Nov 2020 06:39:37 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"115199eb-e3bb-41d3-bd52-c3062c8bf172\",\"status\":\"InProgress\",\"startTime\":\"2020-11-12T06:32:36.307Z\"}" + } + }, + "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+10": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "10" ], + "x-ms-client-request-id": [ "8452499f-e808-4aa6-af0d-8d67cfc15ff6" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "c723d813-7155-48f1-8481-81f1faaa9740" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], + "x-ms-correlation-request-id": [ "8ca62497-0b51-4924-bdf5-fbeef9b3eb7d" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T064037Z:8ca62497-0b51-4924-bdf5-fbeef9b3eb7d" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 12 Nov 2020 06:40:36 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"115199eb-e3bb-41d3-bd52-c3062c8bf172\",\"status\":\"InProgress\",\"startTime\":\"2020-11-12T06:32:36.307Z\"}" + } + }, + "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+11": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "11" ], + "x-ms-client-request-id": [ "8452499f-e808-4aa6-af0d-8d67cfc15ff6" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "4140a5fa-c0ee-4e33-9002-8581a4f6e228" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], + "x-ms-correlation-request-id": [ "7e8ddbea-41de-4dd4-a6a7-311b092271b9" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T064137Z:7e8ddbea-41de-4dd4-a6a7-311b092271b9" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 12 Nov 2020 06:41:37 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"115199eb-e3bb-41d3-bd52-c3062c8bf172\",\"status\":\"InProgress\",\"startTime\":\"2020-11-12T06:32:36.307Z\"}" + } + }, + "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+12": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "12" ], + "x-ms-client-request-id": [ "8452499f-e808-4aa6-af0d-8d67cfc15ff6" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "6b23105e-d71a-4a78-883a-10c386d072a5" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], + "x-ms-correlation-request-id": [ "60a12a74-2d56-4d02-a3aa-3ff01ae2287c" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T064238Z:60a12a74-2d56-4d02-a3aa-3ff01ae2287c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 12 Nov 2020 06:42:37 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"115199eb-e3bb-41d3-bd52-c3062c8bf172\",\"status\":\"InProgress\",\"startTime\":\"2020-11-12T06:32:36.307Z\"}" + } + }, + "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+13": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "13" ], + "x-ms-client-request-id": [ "8452499f-e808-4aa6-af0d-8d67cfc15ff6" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "d3c442eb-bb6b-4f4b-b296-e94d7987276f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], + "x-ms-correlation-request-id": [ "89d92b94-1c83-42d4-8b10-057d6b91780f" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T064338Z:89d92b94-1c83-42d4-8b10-057d6b91780f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 12 Nov 2020 06:43:37 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"115199eb-e3bb-41d3-bd52-c3062c8bf172\",\"status\":\"InProgress\",\"startTime\":\"2020-11-12T06:32:36.307Z\"}" + } + }, + "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+14": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "14" ], + "x-ms-client-request-id": [ "8452499f-e808-4aa6-af0d-8d67cfc15ff6" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "b5f29f58-a80a-4495-8f42-1fc838e88202" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], + "x-ms-correlation-request-id": [ "9f4b48ed-01bc-438b-a297-0d7966124139" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T064438Z:9f4b48ed-01bc-438b-a297-0d7966124139" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 12 Nov 2020 06:44:37 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"115199eb-e3bb-41d3-bd52-c3062c8bf172\",\"status\":\"InProgress\",\"startTime\":\"2020-11-12T06:32:36.307Z\"}" + } + }, + "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+15": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "15" ], + "x-ms-client-request-id": [ "8452499f-e808-4aa6-af0d-8d67cfc15ff6" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "7748c9f7-b69d-4b58-9a7d-8198be4e78d4" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], + "x-ms-correlation-request-id": [ "22d4f94e-3312-435d-8fe2-3df31f6f5a60" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T064538Z:22d4f94e-3312-435d-8fe2-3df31f6f5a60" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 12 Nov 2020 06:45:38 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"115199eb-e3bb-41d3-bd52-c3062c8bf172\",\"status\":\"InProgress\",\"startTime\":\"2020-11-12T06:32:36.307Z\"}" + } + }, + "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+16": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "16" ], + "x-ms-client-request-id": [ "8452499f-e808-4aa6-af0d-8d67cfc15ff6" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "3c1fdcff-3de6-4aee-8090-5fb2db14a9e7" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], + "x-ms-correlation-request-id": [ "4faee9f1-2794-4ce2-be26-46647b1631be" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T064638Z:4faee9f1-2794-4ce2-be26-46647b1631be" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 12 Nov 2020 06:46:38 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"115199eb-e3bb-41d3-bd52-c3062c8bf172\",\"status\":\"InProgress\",\"startTime\":\"2020-11-12T06:32:36.307Z\"}" + } + }, + "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+17": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "17" ], + "x-ms-client-request-id": [ "8452499f-e808-4aa6-af0d-8d67cfc15ff6" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "81e67cfb-13ed-49d0-acc3-86bbfd2b4bd8" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11980" ], + "x-ms-correlation-request-id": [ "c117477c-15eb-4c84-a775-d265751a9b48" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T064738Z:c117477c-15eb-4c84-a775-d265751a9b48" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 12 Nov 2020 06:47:37 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"115199eb-e3bb-41d3-bd52-c3062c8bf172\",\"status\":\"InProgress\",\"startTime\":\"2020-11-12T06:32:36.307Z\"}" + } + }, + "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+18": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "18" ], + "x-ms-client-request-id": [ "8452499f-e808-4aa6-af0d-8d67cfc15ff6" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/2c93ee24-221b-441d-ac47-55db8770e649?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "2c93ee24-221b-441d-ac47-55db8770e649" ], + "x-ms-request-id": [ "9bafe5aa-908f-4adb-8bea-0ccbcee31b50" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], - "x-ms-correlation-request-id": [ "429687d6-1836-4871-a9aa-6677b2026500" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T065459Z:429687d6-1836-4871-a9aa-6677b2026500" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11979" ], + "x-ms-correlation-request-id": [ "a27594a6-9547-42be-be33-e88acaea0f28" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T064838Z:a27594a6-9547-42be-be33-e88acaea0f28" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:54:59 GMT" ] + "Date": [ "Thu, 12 Nov 2020 06:48:38 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "87" ], + "Content-Length": [ "108" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"operation\":\"RestoreSnapshotManagementOperation\",\"startTime\":\"2020-11-11T06:54:59.7Z\"}" + "Content": "{\"name\":\"115199eb-e3bb-41d3-bd52-c3062c8bf172\",\"status\":\"InProgress\",\"startTime\":\"2020-11-12T06:32:36.307Z\"}" } }, - "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/2c93ee24-221b-441d-ac47-55db8770e649?api-version=2020-07-01-preview+3": { + "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+19": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/2c93ee24-221b-441d-ac47-55db8770e649?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "31" ], - "x-ms-client-request-id": [ "3e3fa510-4773-4e08-a4c0-cdcce0fda8e6" ], + "x-ms-unique-id": [ "19" ], + "x-ms-client-request-id": [ "8452499f-e808-4aa6-af0d-8d67cfc15ff6" ], "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -99,31 +739,71 @@ "Pragma": [ "no-cache" ], "Retry-After": [ "60" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "4258c6f8-b653-4c86-9257-017f3bdb1a15" ], + "x-ms-request-id": [ "3032f625-2f70-4ba0-972c-ebf7304f5d1d" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11975" ], - "x-ms-correlation-request-id": [ "b0b85164-7cbb-4b4c-ac03-b13c28ef9255" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T065559Z:b0b85164-7cbb-4b4c-ac03-b13c28ef9255" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11978" ], + "x-ms-correlation-request-id": [ "d51e5b93-1390-4caa-87d2-2353e77c505c" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T064939Z:d51e5b93-1390-4caa-87d2-2353e77c505c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:55:59 GMT" ] + "Date": [ "Thu, 12 Nov 2020 06:49:38 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "547" ], + "Content-Length": [ "108" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"2c93ee24-221b-441d-ac47-55db8770e649\",\"status\":\"Failed\",\"startTime\":\"2020-11-11T06:54:59.7Z\",\"error\":{\"code\":\"InvalidConfigurationValue\",\"message\":\"The value \u002711/11/2020 6:44:59 AM\u0027 for configuration \u0027PointInTime\u0027 is not valid. The allowed values are \u0027Request OperationRequestId[2c93ee24-221b-441d-ac47-55db8770e649] RequestId[2c93ee24-221b-441d-ac47-55db8770e649] to restore to server [mysql-test-100-restore] failed because [mysql-test-100] RestoreFromServerName does not exist, or point in time [11/11/2020 6:44:59 AM] is invalid.\u0027.\"}}" + "Content": "{\"name\":\"115199eb-e3bb-41d3-bd52-c3062c8bf172\",\"status\":\"InProgress\",\"startTime\":\"2020-11-12T06:32:36.307Z\"}" } }, - "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-restore?api-version=2020-07-01-preview+4": { + "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+20": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "20" ], + "x-ms-client-request-id": [ "8452499f-e808-4aa6-af0d-8d67cfc15ff6" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "eb95280b-fd10-427f-9789-186b30e37b0a" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11977" ], + "x-ms-correlation-request-id": [ "0e522764-bc03-45d3-9e7d-875e66051eec" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T065039Z:0e522764-bc03-45d3-9e7d-875e66051eec" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 12 Nov 2020 06:50:38 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"115199eb-e3bb-41d3-bd52-c3062c8bf172\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-12T06:32:36.307Z\"}" + } + }, + "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-restore?api-version=2020-07-01-preview+21": { "Request": { "Method": "GET", "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-restore?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "32" ], - "x-ms-client-request-id": [ "3e3fa510-4773-4e08-a4c0-cdcce0fda8e6" ], + "x-ms-unique-id": [ "21" ], + "x-ms-client-request-id": [ "8452499f-e808-4aa6-af0d-8d67cfc15ff6" ], "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -133,25 +813,25 @@ } }, "Response": { - "StatusCode": 404, + "StatusCode": 200, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "992cc7d2-4bda-4682-8fa2-deeb3acb6512" ], + "x-ms-request-id": [ "9d01fd95-eba5-4e19-a651-167e1400f371" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11974" ], - "x-ms-correlation-request-id": [ "92a2702b-35dc-4dd4-b4cb-995a74cc17f8" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T065600Z:92a2702b-35dc-4dd4-b4cb-995a74cc17f8" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11976" ], + "x-ms-correlation-request-id": [ "b0e53545-5db3-4cdd-b3ff-4dd0daea1b47" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T065039Z:b0e53545-5db3-4cdd-b3ff-4dd0daea1b47" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:55:59 GMT" ] + "Date": [ "Thu, 12 Nov 2020 06:50:38 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "169" ], + "Content-Length": [ "970" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The requested resource of type \u0027Microsoft.DBforMySQL/flexibleServers\u0027 with name \u0027mysql-test-100-restore\u0027 was not found.\"}}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":13,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-restore.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-12T06:47:41.5737856+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-restore\",\"name\":\"mysql-test-100-restore\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } } } \ No newline at end of file diff --git a/src/MySql/test/Restore-AzMySqlFlexibleServer.Tests.ps1 b/src/MySql/test/Restore-AzMySqlFlexibleServer.Tests.ps1 index d0d2fbb38d88..8ae62d31e340 100644 --- a/src/MySql/test/Restore-AzMySqlFlexibleServer.Tests.ps1 +++ b/src/MySql/test/Restore-AzMySqlFlexibleServer.Tests.ps1 @@ -15,7 +15,8 @@ Describe 'Restore-AzMySqlFlexibleServer' { It 'PointInTimeRestore' { { $restorePointInTime = (Get-Date).AddMinutes(-10) - Get-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName | Restore-AzMySqlFlexibleServer -Name $env.restoreName -ResourceGroupName $env.resourceGroup -RestorePointInTime $restorePointInTime + $result = Get-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName + Restore-AzMySqlFlexibleServer -Name $env.restoreName -ResourceGroupName $env.resourceGroup -RestorePointInTime $restorePointInTime -InputObject $result } | Should -Not -Throw } } diff --git a/src/MySql/test/Restore-AzMySqlServer.Recording.json b/src/MySql/test/Restore-AzMySqlServer.Recording.json index 99cc4415d45f..050eb2b91972 100644 --- a/src/MySql/test/Restore-AzMySqlServer.Recording.json +++ b/src/MySql/test/Restore-AzMySqlServer.Recording.json @@ -1,12 +1,12 @@ { - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { - "x-ms-unique-id": [ "23" ], - "x-ms-client-request-id": [ "64ab427e-5580-4a0b-bba9-9ae3608ce516" ], + "x-ms-unique-id": [ "1" ], + "x-ms-client-request-id": [ "925ee192-36d9-44e6-9d60-3a7653eb382a" ], "CommandName": [ "Get-AzMySqlServer" ], "FullCommandName": [ "Get-AzMySqlServer_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -17,62 +17,2172 @@ } }, "Response": { - "StatusCode": 404, + "StatusCode": 200, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ "gateway" ], - "x-ms-request-id": [ "262a7c3b-3092-40e5-9278-619db63afb0f" ], - "x-ms-correlation-request-id": [ "262a7c3b-3092-40e5-9278-619db63afb0f" ], - "x-ms-routing-request-id": [ "WESTUS2:20201110T002734Z:262a7c3b-3092-40e5-9278-619db63afb0f" ], + "x-ms-request-id": [ "3c6b5020-e8c9-4da4-8f9f-25e9016ae192" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-correlation-request-id": [ "1fd3d2d8-4093-4ed0-bf97-e68a9cf56042" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T081714Z:1fd3d2d8-4093-4ed0-bf97-e68a9cf56042" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 10 Nov 2020 00:27:33 GMT" ] + "Date": [ "Fri, 24 Jul 2020 08:17:13 GMT" ] }, "ContentHeaders": { + "Content-Length": [ "907" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ], - "Content-Length": [ "224" ] + "Expires": [ "-1" ] }, - "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForMySQL/servers/mysql-test-100\u0027 under resource group \u0027MySqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" } }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+2": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"createMode\": \"Replica\",\n \"sourceServerId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\"\n },\n \"location\": \"eastus\"\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "233" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01" ], + "Retry-After": [ "30" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01" ], + "x-ms-request-id": [ "d2e05dac-052c-4b23-a050-142294b6ed7a" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "8c1870b5-1c2f-4501-8850-eceeb942ee34" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T081720Z:8c1870b5-1c2f-4501-8850-eceeb942ee34" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:17:20 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "88" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"CreateElasticServerContinuousCopy\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3" ], + "x-ms-client-request-id": [ "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "8af57d85-2e5c-4b6f-823e-6686cce4bca3" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "4c25a92f-7672-4bfa-bf00-787a30993cce" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T081750Z:4c25a92f-7672-4bfa-bf00-787a30993cce" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:17:50 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4" ], + "x-ms-client-request-id": [ "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "ea94b5f2-3820-49a6-b319-5d41aa22b52e" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "40aab22d-6469-439d-b786-03d8b8e33870" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T081821Z:40aab22d-6469-439d-b786-03d8b8e33870" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:18:20 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5" ], + "x-ms-client-request-id": [ "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "77fff233-5119-483d-a86b-78ab93110729" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "4945677f-66aa-4610-a0f3-6b1a0d2be2e7" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T081851Z:4945677f-66aa-4610-a0f3-6b1a0d2be2e7" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:18:50 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6" ], + "x-ms-client-request-id": [ "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "01050dce-8726-47ba-a5e2-72430ee1a01f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-correlation-request-id": [ "d6c0f84e-0378-416d-a351-72c7d21901c0" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T081921Z:d6c0f84e-0378-416d-a351-72c7d21901c0" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:19:21 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7" ], + "x-ms-client-request-id": [ "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "a0e1ba89-369f-46aa-a49c-89359541ca13" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], + "x-ms-correlation-request-id": [ "419b309d-57d6-450f-9558-3e2b4af4a285" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T081952Z:419b309d-57d6-450f-9558-3e2b4af4a285" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:19:52 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8" ], + "x-ms-client-request-id": [ "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "6da823e1-1a62-4b0e-8910-5d289969596a" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], + "x-ms-correlation-request-id": [ "42c80981-bae3-4607-944a-965a635fb00e" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082022Z:42c80981-bae3-4607-944a-965a635fb00e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:20:22 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+9": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9" ], + "x-ms-client-request-id": [ "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "d2928fc4-49d4-487d-aef3-e9c4dd1597ea" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], + "x-ms-correlation-request-id": [ "91c8014f-a771-42c0-b89f-5af346010e0f" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082053Z:91c8014f-a771-42c0-b89f-5af346010e0f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:20:52 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+10": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10" ], + "x-ms-client-request-id": [ "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "5156a74e-0331-4ef7-a7e6-db38221dee03" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], + "x-ms-correlation-request-id": [ "ea3b1c96-e914-4155-bda2-4f410016adcc" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082123Z:ea3b1c96-e914-4155-bda2-4f410016adcc" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:21:22 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+11": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11" ], + "x-ms-client-request-id": [ "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "20463bb0-d111-4136-bb08-eae1807ce62a" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-correlation-request-id": [ "1adceb73-a774-4c5d-8bbd-cd6d45629703" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082153Z:1adceb73-a774-4c5d-8bbd-cd6d45629703" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:21:53 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+12": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" ], + "x-ms-client-request-id": [ "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "b2786085-9d3c-4768-8758-ffedb703932a" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], + "x-ms-correlation-request-id": [ "a0581a55-1ac3-47f7-b5dd-420f2f9dcc53" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082228Z:a0581a55-1ac3-47f7-b5dd-420f2f9dcc53" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:22:27 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+13": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13" ], + "x-ms-client-request-id": [ "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "4a33b717-f042-4552-95ca-2d5f90f298cd" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], + "x-ms-correlation-request-id": [ "2512e601-c50f-4e05-9f9a-71265b26c67c" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082258Z:2512e601-c50f-4e05-9f9a-71265b26c67c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:22:57 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+14": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14" ], + "x-ms-client-request-id": [ "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "9d0be052-92b8-4b7c-a0f9-7fe9237416ec" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], + "x-ms-correlation-request-id": [ "fc21755b-0e6a-481a-9546-d0a7f0fe4a0f" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082328Z:fc21755b-0e6a-481a-9546-d0a7f0fe4a0f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:23:28 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+15": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], + "x-ms-client-request-id": [ "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "1a4e38ff-89e8-4a71-b716-a9bfac45a46a" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], + "x-ms-correlation-request-id": [ "255fbb66-9441-41b9-b3a3-f7ad288f7c56" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082359Z:255fbb66-9441-41b9-b3a3-f7ad288f7c56" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:23:58 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+16": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16" ], + "x-ms-client-request-id": [ "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "584658d3-74c9-42d8-8295-3128e140ee5a" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11980" ], + "x-ms-correlation-request-id": [ "f1e36bb7-107e-4d0f-bb4e-f32f2d6716df" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082429Z:f1e36bb7-107e-4d0f-bb4e-f32f2d6716df" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:24:29 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+17": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17" ], + "x-ms-client-request-id": [ "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "b12e6d9b-7a50-4cd5-a548-e448df0acf92" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11979" ], + "x-ms-correlation-request-id": [ "a2cfa9d1-6dd4-4d22-a007-3df98c31c822" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082500Z:a2cfa9d1-6dd4-4d22-a007-3df98c31c822" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:24:59 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+18": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18" ], + "x-ms-client-request-id": [ "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "19a2844d-4775-4ea8-a147-2e61ed9dc049" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11978" ], + "x-ms-correlation-request-id": [ "bbd770ae-7c65-420a-89ef-6f599f0b2d8e" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082530Z:bbd770ae-7c65-420a-89ef-6f599f0b2d8e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:25:30 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+19": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19" ], + "x-ms-client-request-id": [ "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "6ac2891e-b89d-4efd-8bea-3297775734be" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11977" ], + "x-ms-correlation-request-id": [ "e43c7853-75e6-4f6c-9234-03c7dec348dc" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082600Z:e43c7853-75e6-4f6c-9234-03c7dec348dc" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:26:00 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+20": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20" ], + "x-ms-client-request-id": [ "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "555b5f33-7d37-49ef-b315-a2070446f5f2" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11976" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-correlation-request-id": [ "2931cf7b-9018-41f9-a4f7-c14092b67d64" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082631Z:2931cf7b-9018-41f9-a4f7-c14092b67d64" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:26:30 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+21": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21" ], + "x-ms-client-request-id": [ "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01", "716db609-9d12-4095-9e34-96106d43cd01" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "8f5ec41d-cf09-427b-b286-a0e3eb951440" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11975" ], + "x-ms-correlation-request-id": [ "41517ba8-950a-4ad2-a177-59d3d12eb401" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082632Z:41517ba8-950a-4ad2-a177-59d3d12eb401" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:26:31 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1063" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100-replica.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T08:28:33.737+00:00\",\"replicationRole\":\"Replica\",\"masterServerId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica\",\"name\":\"mysql-test-100-replica\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+22": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"createMode\": \"GeoRestore\",\n \"sourceServerId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica\"\n },\n \"location\": \"eastus\"\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "244" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/169f1d2f-3665-498c-b4a8-5bdef0b59066?api-version=2017-12-01" ], + "Retry-After": [ "10" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/169f1d2f-3665-498c-b4a8-5bdef0b59066?api-version=2017-12-01" ], + "x-ms-request-id": [ "169f1d2f-3665-498c-b4a8-5bdef0b59066" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-correlation-request-id": [ "17ae7918-c1d0-4519-98d8-da2ac1ce9598" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082634Z:17ae7918-c1d0-4519-98d8-da2ac1ce9598" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:26:33 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "75" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"RestoreElasticServer\",\"startTime\":\"2020-07-24T08:26:33.757Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/169f1d2f-3665-498c-b4a8-5bdef0b59066?api-version=2017-12-01+23": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/169f1d2f-3665-498c-b4a8-5bdef0b59066?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "22", "23" ], + "x-ms-client-request-id": [ "0d6e50e9-885a-4489-bf7e-9b84a9e44a69", "0d6e50e9-885a-4489-bf7e-9b84a9e44a69" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "10" ], + "x-ms-request-id": [ "1503eb09-b1a4-433e-8dc0-c98f402e14ae" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11974" ], + "x-ms-correlation-request-id": [ "2ede30ba-012d-4d26-8004-64d4c0c84f8e" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082644Z:2ede30ba-012d-4d26-8004-64d4c0c84f8e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:26:43 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "268" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"169f1d2f-3665-498c-b4a8-5bdef0b59066\",\"status\":\"Failed\",\"startTime\":\"2020-07-24T08:26:33.757Z\",\"error\":{\"code\":\"SubscriptionDoesNotHaveServer\",\"message\":\"Subscription \u00279e223dbe-3399-4e19-88eb-0975f02ac87f\u0027 does not have the server \u0027mysql-test-100-replica\u0027.\"}}" + } + }, + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+24": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "22", "23", "24" ], + "x-ms-client-request-id": [ "0d6e50e9-885a-4489-bf7e-9b84a9e44a69", "0d6e50e9-885a-4489-bf7e-9b84a9e44a69", "0d6e50e9-885a-4489-bf7e-9b84a9e44a69" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "9df14527-44be-4ca6-8672-9027c55618eb" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11973" ], + "x-ms-correlation-request-id": [ "22eac633-df65-4452-964e-5c417a91ecd7" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082644Z:22eac633-df65-4452-964e-5c417a91ecd7" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:26:43 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "909" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "25" ], + "x-ms-client-request-id": [ "3b2f79d7-ec9b-4cad-8bcd-c79c8791174e" ], + "CommandName": [ "Get-AzMySqlServer" ], + "FullCommandName": [ "Get-AzMySqlServer_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "ab4f4393-ad37-422a-b952-da8844e6706f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11972" ], + "x-ms-correlation-request-id": [ "73395c4c-8621-4cc1-a998-18c3ee67884b" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082645Z:73395c4c-8621-4cc1-a998-18c3ee67884b" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:26:44 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "909" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-restore-2?api-version=2017-12-01+2": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-restore-2?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"createMode\": \"PointInTimeRestore\",\n \"restorePointInTime\": \"2020-07-24T08:16:43.7672952+00:00\",\n \"sourceServerId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\"\n },\n \"location\": \"eastus\"\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "307" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01" ], + "Retry-After": [ "10" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01" ], + "x-ms-request-id": [ "9d76273c-1381-4238-9c08-650cf41d34b8" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], + "x-ms-correlation-request-id": [ "45b09785-959c-48a1-961b-eeba01a5f2dc" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082651Z:45b09785-959c-48a1-961b-eeba01a5f2dc" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:26:50 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "75" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"RestoreElasticServer\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "26", "27" ], + "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "10" ], + "x-ms-request-id": [ "0af589d6-ec01-4106-a374-e1d7764572fa" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11971" ], + "x-ms-correlation-request-id": [ "b3a8e898-3fa6-43cd-9d43-d4ea416dea28" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082701Z:b3a8e898-3fa6-43cd-9d43-d4ea416dea28" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:27:00 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "26", "27", "28" ], + "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "10" ], + "x-ms-request-id": [ "a87ff73d-322a-4dbc-bca7-1a731f7d7612" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11970" ], + "x-ms-correlation-request-id": [ "5832293a-e6e9-4d8c-a40b-1929f6a9cf02" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082713Z:5832293a-e6e9-4d8c-a40b-1929f6a9cf02" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:27:13 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "26", "27", "28", "29" ], + "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "10" ], + "x-ms-request-id": [ "30e83978-be91-43f2-814c-27da456706b1" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11969" ], + "x-ms-correlation-request-id": [ "94e7e56f-f818-4aa8-a35d-8115e4bc89dc" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082723Z:94e7e56f-f818-4aa8-a35d-8115e4bc89dc" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:27:23 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "26", "27", "28", "29", "30" ], + "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "10" ], + "x-ms-request-id": [ "6450f882-f2a5-4329-888e-ccc3d54e0067" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11968" ], + "x-ms-correlation-request-id": [ "c12cb1e2-d309-4f8b-a74a-f456036afb21" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082733Z:c12cb1e2-d309-4f8b-a74a-f456036afb21" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:27:33 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31" ], + "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "10" ], + "x-ms-request-id": [ "645697af-61d4-48c9-b76d-65685b218e4d" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11967" ], + "x-ms-correlation-request-id": [ "ed243954-9864-4c3a-bc63-3bfe55672b57" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082744Z:ed243954-9864-4c3a-bc63-3bfe55672b57" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:27:43 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32" ], + "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "10" ], + "x-ms-request-id": [ "37ffc4f0-571e-4614-94d2-df315dd3ab34" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11966" ], + "x-ms-correlation-request-id": [ "22f719c2-bd92-49b0-9c08-a19081410cb4" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082754Z:22f719c2-bd92-49b0-9c08-a19081410cb4" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:27:54 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+9": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33" ], + "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "10" ], + "x-ms-request-id": [ "7ffebd21-f239-4cac-9625-55c8b21e1875" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11965" ], + "x-ms-correlation-request-id": [ "d6ab22bd-dac7-40f2-b1ab-57e7aac426b7" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082805Z:d6ab22bd-dac7-40f2-b1ab-57e7aac426b7" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:28:04 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+10": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34" ], + "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "10" ], + "x-ms-request-id": [ "4fdb6f54-9ede-4fab-86cb-9a995a3df5e0" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11964" ], + "x-ms-correlation-request-id": [ "dd1a2b45-b85e-4eab-9a18-7106d46f383b" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082815Z:dd1a2b45-b85e-4eab-9a18-7106d46f383b" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:28:14 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+11": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35" ], + "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "10" ], + "x-ms-request-id": [ "babce02f-dcea-430e-b117-348d020f0e55" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11963" ], + "x-ms-correlation-request-id": [ "baf03dd8-9cb1-47d3-b270-272937e83249" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082825Z:baf03dd8-9cb1-47d3-b270-272937e83249" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:28:25 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+12": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36" ], + "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "10" ], + "x-ms-request-id": [ "70e73757-2f2a-4fd3-919a-d72795198d44" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11962" ], + "x-ms-correlation-request-id": [ "5831bc28-7e37-4fde-a808-72bd7506cec2" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082836Z:5831bc28-7e37-4fde-a808-72bd7506cec2" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:28:35 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+13": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37" ], + "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "10" ], + "x-ms-request-id": [ "320bff28-d73d-45dd-b639-a9153b005f1f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11961" ], + "x-ms-correlation-request-id": [ "00980fcc-8d21-4632-8d9d-802b823360e4" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082846Z:00980fcc-8d21-4632-8d9d-802b823360e4" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:28:45 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+14": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38" ], + "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "10" ], + "x-ms-request-id": [ "32519595-9153-4c72-b0df-3f86e96dae1c" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11960" ], + "x-ms-correlation-request-id": [ "011d78fd-335d-439d-8c2d-8c52e1de3a81" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082856Z:011d78fd-335d-439d-8c2d-8c52e1de3a81" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:28:56 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+15": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39" ], + "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "10" ], + "x-ms-request-id": [ "5b8f55f4-ec8a-4644-8304-1c73e70a94bb" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11959" ], + "x-ms-correlation-request-id": [ "3372b541-0848-413d-b8df-6ee17511c7d6" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082907Z:3372b541-0848-413d-b8df-6ee17511c7d6" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:29:07 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+16": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40" ], + "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "10" ], + "x-ms-request-id": [ "8bf66a56-b80a-42a2-943b-c97e47c98618" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11958" ], + "x-ms-correlation-request-id": [ "fa98991d-a05c-45fd-a1da-d3eb28ea94f0" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082917Z:fa98991d-a05c-45fd-a1da-d3eb28ea94f0" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:29:17 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+17": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41" ], + "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "10" ], + "x-ms-request-id": [ "630bb4a2-8d7d-44a4-989f-b58c9dc7570d" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11957" ], + "x-ms-correlation-request-id": [ "8f4f93aa-c49b-47b0-bc9a-1856db13ba0f" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082928Z:8f4f93aa-c49b-47b0-bc9a-1856db13ba0f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:29:27 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+18": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42" ], + "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "10" ], + "x-ms-request-id": [ "0b5e3d58-a65c-4f4b-af87-951afdecbd95" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11956" ], + "x-ms-correlation-request-id": [ "c9e5b373-dfe7-4891-aa60-5bac3c7214f1" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082938Z:c9e5b373-dfe7-4891-aa60-5bac3c7214f1" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:29:38 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+19": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", "Content": null, "Headers": { - "x-ms-unique-id": [ "24" ], - "x-ms-client-request-id": [ "9e804910-dec9-4fff-9cba-b3d4ebcb2299" ], - "CommandName": [ "Get-AzMySqlServer" ], - "FullCommandName": [ "Get-AzMySqlServer_Get" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43" ], + "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "10" ], + "x-ms-request-id": [ "867f9e4c-6db5-4f10-875d-89d81fedbb61" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11955" ], + "x-ms-correlation-request-id": [ "32daf068-749a-43d3-994a-17180306c251" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082948Z:32daf068-749a-43d3-994a-17180306c251" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:29:48 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+20": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44" ], + "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "10" ], + "x-ms-request-id": [ "89650b44-1c8c-4f11-945e-ad3d9bcc79ff" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11954" ], + "x-ms-correlation-request-id": [ "0b8fc9f1-07ad-4453-adca-a05bfda55d31" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T082959Z:0b8fc9f1-07ad-4453-adca-a05bfda55d31" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:29:58 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+21": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45" ], + "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "10" ], + "x-ms-request-id": [ "7d0267c5-5020-4e93-bdf4-c25c4fede589" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11953" ], + "x-ms-correlation-request-id": [ "7ac0bc5f-12a8-47f6-9dee-d9de9ad7236d" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T083009Z:7ac0bc5f-12a8-47f6-9dee-d9de9ad7236d" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:30:08 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+22": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46" ], + "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "10" ], + "x-ms-request-id": [ "f10ee047-2aee-482b-9dcf-12c2b2895e05" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11952" ], + "x-ms-correlation-request-id": [ "2d1c1d2e-ef7e-41ef-9587-78ee53dbb1fb" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T083020Z:2d1c1d2e-ef7e-41ef-9587-78ee53dbb1fb" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:30:19 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+23": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47" ], + "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "10" ], + "x-ms-request-id": [ "60eea81a-0cda-4a9c-af57-b7e5f478a34b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11951" ], + "x-ms-correlation-request-id": [ "1150a68c-4c39-4733-b71d-857f7981ddb0" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T083030Z:1150a68c-4c39-4733-b71d-857f7981ddb0" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:30:29 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+24": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48" ], + "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "10" ], + "x-ms-request-id": [ "33758160-c357-4042-ace1-78cb704c129b" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11950" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-correlation-request-id": [ "7ac9bc42-b7f2-4c95-bd6c-10183dc9b024" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T083040Z:7ac9bc42-b7f2-4c95-bd6c-10183dc9b024" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:30:40 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+25": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49" ], + "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "10" ], + "x-ms-request-id": [ "bcb938d6-075c-4f13-bfd1-b411fcb6279f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11949" ], + "x-ms-correlation-request-id": [ "fe64b188-da9d-4752-8750-1adb051f5b27" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T083052Z:fe64b188-da9d-4752-8750-1adb051f5b27" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:30:51 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+26": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50" ], + "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "10" ], + "x-ms-request-id": [ "784550e4-016e-4e70-b081-7a06aef53072" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11948" ], + "x-ms-correlation-request-id": [ "01ecd3f8-c0cf-4d4c-bd98-b96df906c36e" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T083102Z:01ecd3f8-c0cf-4d4c-bd98-b96df906c36e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:31:02 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+27": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51" ], + "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "10" ], + "x-ms-request-id": [ "55b8d849-9f62-43f3-999b-034e4b7d679d" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11947" ], + "x-ms-correlation-request-id": [ "a2c067e7-93f4-49bd-9054-a3661d985860" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T083112Z:a2c067e7-93f4-49bd-9054-a3661d985860" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:31:12 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+28": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52" ], + "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "10" ], + "x-ms-request-id": [ "0de92c6a-48f0-4299-99b8-d3a90a07eedf" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11946" ], + "x-ms-correlation-request-id": [ "52670180-cc9e-4299-aafe-efb541f067c7" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T083123Z:52670180-cc9e-4299-aafe-efb541f067c7" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:31:23 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+29": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53" ], + "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "10" ], + "x-ms-request-id": [ "92c1c209-41cb-4f59-a3fe-112eeecc0f0a" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11945" ], + "x-ms-correlation-request-id": [ "27739120-3991-49cb-a9e0-381aa9371329" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T083133Z:27739120-3991-49cb-a9e0-381aa9371329" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:31:33 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+30": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54" ], + "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "10" ], + "x-ms-request-id": [ "fc809fb6-17da-45fb-82ad-88a72599d938" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11944" ], + "x-ms-correlation-request-id": [ "fd79b2c0-8a4e-4770-8f73-4c675c394af0" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T083144Z:fd79b2c0-8a4e-4770-8f73-4c675c394af0" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:31:43 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" + } + }, + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-restore-2?api-version=2017-12-01+31": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-restore-2?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55" ], + "x-ms-client-request-id": [ "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44", "8b4aae2b-d0dd-4a01-a9cc-e297f9aded44" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer", "Az.MySql.internal\\New-AzMySqlServer" ], + "FullCommandName": [ "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create", "New-AzMySqlServer_Create" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { } }, "Response": { - "StatusCode": 404, + "StatusCode": 200, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ "gateway" ], - "x-ms-request-id": [ "07b4d96b-9e7b-4fa0-ad37-36fd14574de1" ], - "x-ms-correlation-request-id": [ "07b4d96b-9e7b-4fa0-ad37-36fd14574de1" ], - "x-ms-routing-request-id": [ "WESTUS2:20201110T002734Z:07b4d96b-9e7b-4fa0-ad37-36fd14574de1" ], + "x-ms-request-id": [ "dd803ba3-8887-48ab-8124-b775af7c56cb" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11943" ], + "x-ms-correlation-request-id": [ "b9201906-29be-4e11-8738-9c55fd9be38d" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T083144Z:b9201906-29be-4e11-8738-9c55fd9be38d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 10 Nov 2020 00:27:34 GMT" ] + "Date": [ "Fri, 24 Jul 2020 08:31:44 GMT" ] }, "ContentHeaders": { + "Content-Length": [ "937" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ], - "Content-Length": [ "224" ] + "Expires": [ "-1" ] }, - "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForMySQL/servers/mysql-test-100\u0027 under resource group \u0027MySqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100-restore-2.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T08:36:51.303+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-restore-2\",\"name\":\"mysql-test-100-restore-2\",\"type\":\"Microsoft.DBforMySQL/servers\"}" } } } \ No newline at end of file diff --git a/src/MySql/test/Start-AzMySqlFlexibleServer.Recording.json b/src/MySql/test/Start-AzMySqlFlexibleServer.Recording.json index 75a26fb724b9..16ab14743a4f 100644 --- a/src/MySql/test/Start-AzMySqlFlexibleServer.Recording.json +++ b/src/MySql/test/Start-AzMySqlFlexibleServer.Recording.json @@ -5,8 +5,8 @@ "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/stop?api-version=2020-07-01-preview", "Content": null, "Headers": { - "x-ms-unique-id": [ "33" ], - "x-ms-client-request-id": [ "b92aaca1-0eac-451f-aa8d-8a82d2fac906" ], + "x-ms-unique-id": [ "1" ], + "x-ms-client-request-id": [ "9a08ccc1-6954-4a5a-b5f9-4ab732f9054f" ], "CommandName": [ "Stop-AzMySqlFlexibleServer" ], "FullCommandName": [ "Stop-AzMySqlFlexibleServer_Stop" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -21,35 +21,75 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/c089bbe5-db96-49ec-83d9-5e2615cc6662?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/54f1e5ff-02a4-460c-9f4c-e124942a3f0e?api-version=2020-07-01-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c089bbe5-db96-49ec-83d9-5e2615cc6662?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/54f1e5ff-02a4-460c-9f4c-e124942a3f0e?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "c089bbe5-db96-49ec-83d9-5e2615cc6662" ], + "x-ms-request-id": [ "54f1e5ff-02a4-460c-9f4c-e124942a3f0e" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], - "x-ms-correlation-request-id": [ "d1468cbc-5a48-455d-9d99-7aed756274cf" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T065600Z:d1468cbc-5a48-455d-9d99-7aed756274cf" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "f6c3fec9-db17-40fe-b722-2486d0c30b58" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T212920Z:f6c3fec9-db17-40fe-b722-2486d0c30b58" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:56:00 GMT" ] + "Date": [ "Wed, 11 Nov 2020 21:29:20 GMT" ] }, "ContentHeaders": { "Content-Length": [ "84" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"operation\":\"StopServerManagementOperation\",\"startTime\":\"2020-11-11T06:56:00.467Z\"}" + "Content": "{\"operation\":\"StopServerManagementOperation\",\"startTime\":\"2020-11-11T21:29:20.563Z\"}" + } + }, + "Start-AzMySqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/54f1e5ff-02a4-460c-9f4c-e124942a3f0e?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/54f1e5ff-02a4-460c-9f4c-e124942a3f0e?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "2" ], + "x-ms-client-request-id": [ "9a08ccc1-6954-4a5a-b5f9-4ab732f9054f" ], + "CommandName": [ "Stop-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Stop-AzMySqlFlexibleServer_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "baa880e5-2af8-4df1-9b06-254a26625cbc" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-correlation-request-id": [ "f8827925-b963-4c5c-8412-c165dbea0c4e" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T213020Z:f8827925-b963-4c5c-8412-c165dbea0c4e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 21:30:20 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"54f1e5ff-02a4-460c-9f4c-e124942a3f0e\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T21:29:20.563Z\"}" } }, - "Start-AzMySqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c089bbe5-db96-49ec-83d9-5e2615cc6662?api-version=2020-07-01-preview+2": { + "Start-AzMySqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/54f1e5ff-02a4-460c-9f4c-e124942a3f0e?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c089bbe5-db96-49ec-83d9-5e2615cc6662?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/54f1e5ff-02a4-460c-9f4c-e124942a3f0e?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "34" ], - "x-ms-client-request-id": [ "b92aaca1-0eac-451f-aa8d-8a82d2fac906" ], + "x-ms-unique-id": [ "3" ], + "x-ms-client-request-id": [ "9a08ccc1-6954-4a5a-b5f9-4ab732f9054f" ], "CommandName": [ "Stop-AzMySqlFlexibleServer" ], "FullCommandName": [ "Stop-AzMySqlFlexibleServer_Stop" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -65,31 +105,31 @@ "Pragma": [ "no-cache" ], "Retry-After": [ "60" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "151ea693-2451-496d-8a5a-cd918670ed81" ], + "x-ms-request-id": [ "140c43e3-09ce-4c60-a7be-545bb737dfb9" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11973" ], - "x-ms-correlation-request-id": [ "141b96a0-68ad-4a2b-91dc-ee91e39c46fd" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T065700Z:141b96a0-68ad-4a2b-91dc-ee91e39c46fd" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-correlation-request-id": [ "030052dd-100e-4967-be96-7485b70cd224" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T213121Z:030052dd-100e-4967-be96-7485b70cd224" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:56:59 GMT" ] + "Date": [ "Wed, 11 Nov 2020 21:31:20 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "235" ], + "Content-Length": [ "108" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"c089bbe5-db96-49ec-83d9-5e2615cc6662\",\"status\":\"Failed\",\"startTime\":\"2020-11-11T06:56:00.467Z\",\"error\":{\"code\":\"OperationFailed\",\"message\":\"Operation Stop failed, because server mysql-test-100 is busy with other operations.\"}}" + "Content": "{\"name\":\"54f1e5ff-02a4-460c-9f4c-e124942a3f0e\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T21:29:20.563Z\"}" } }, - "Start-AzMySqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/c089bbe5-db96-49ec-83d9-5e2615cc6662?api-version=2020-07-01-preview+3": { + "Start-AzMySqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/54f1e5ff-02a4-460c-9f4c-e124942a3f0e?api-version=2020-07-01-preview+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/c089bbe5-db96-49ec-83d9-5e2615cc6662?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/54f1e5ff-02a4-460c-9f4c-e124942a3f0e?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "35" ], - "x-ms-client-request-id": [ "b92aaca1-0eac-451f-aa8d-8a82d2fac906" ], + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "9a08ccc1-6954-4a5a-b5f9-4ab732f9054f" ], "CommandName": [ "Stop-AzMySqlFlexibleServer" ], "FullCommandName": [ "Stop-AzMySqlFlexibleServer_Stop" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -99,25 +139,226 @@ } }, "Response": { - "StatusCode": 400, + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "b411899a-7ded-4fe6-9ad8-c16739e6e816" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-correlation-request-id": [ "479e20c3-6995-4714-bfb7-36f14e80a9cc" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T213221Z:479e20c3-6995-4714-bfb7-36f14e80a9cc" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 21:32:20 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"54f1e5ff-02a4-460c-9f4c-e124942a3f0e\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T21:29:20.563Z\"}" + } + }, + "Start-AzMySqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/54f1e5ff-02a4-460c-9f4c-e124942a3f0e?api-version=2020-07-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/54f1e5ff-02a4-460c-9f4c-e124942a3f0e?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "5" ], + "x-ms-client-request-id": [ "9a08ccc1-6954-4a5a-b5f9-4ab732f9054f" ], + "CommandName": [ "Stop-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Stop-AzMySqlFlexibleServer_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "7fcba4a7-af7b-46f7-b0de-847a892dde54" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-correlation-request-id": [ "72f8526f-2ddb-40bc-953f-c20948c7cd6e" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T213221Z:72f8526f-2ddb-40bc-953f-c20948c7cd6e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 21:32:20 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "40" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"mysql-test-100\",\"type\":\"MySQL\"}" + } + }, + "Start-AzMySqlFlexibleServer+[NoContext]+Start+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/start?api-version=2020-07-01-preview+6": { + "Request": { + "Method": "POST", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/start?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "6" ], + "x-ms-client-request-id": [ "de2b5682-ac41-422d-9105-f81cf864b20f" ], + "CommandName": [ "Start-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Start-AzMySqlFlexibleServer_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/128426da-e219-4466-bd3e-cd66032e6ab4?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/128426da-e219-4466-bd3e-cd66032e6ab4?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "128426da-e219-4466-bd3e-cd66032e6ab4" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-correlation-request-id": [ "6f8171dd-cd09-4f8d-8355-33e8e2b04dc9" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T213221Z:6f8171dd-cd09-4f8d-8355-33e8e2b04dc9" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 21:32:21 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "85" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"StartServerManagementOperation\",\"startTime\":\"2020-11-11T21:32:21.787Z\"}" + } + }, + "Start-AzMySqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/128426da-e219-4466-bd3e-cd66032e6ab4?api-version=2020-07-01-preview+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/128426da-e219-4466-bd3e-cd66032e6ab4?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "7" ], + "x-ms-client-request-id": [ "de2b5682-ac41-422d-9105-f81cf864b20f" ], + "CommandName": [ "Start-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Start-AzMySqlFlexibleServer_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "0ece29b7-b6ea-4059-9814-ad3aa91041c8" ], + "x-ms-request-id": [ "b45b54bf-2fcb-4793-86c4-7fc155c5aaec" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11972" ], - "x-ms-correlation-request-id": [ "68f43546-85c2-4c66-aed1-65c11704496c" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T065700Z:68f43546-85c2-4c66-aed1-65c11704496c" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "78a57ad2-7531-442c-a61c-76d89cdf2d89" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T213322Z:78a57ad2-7531-442c-a61c-76d89cdf2d89" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:56:59 GMT" ] + "Date": [ "Wed, 11 Nov 2020 21:33:21 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "132" ], + "Content-Length": [ "108" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"error\":{\"code\":\"OperationFailed\",\"message\":\"Operation Stop failed, because server mysql-test-100 is busy with other operations.\"}}" + "Content": "{\"name\":\"128426da-e219-4466-bd3e-cd66032e6ab4\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T21:32:21.787Z\"}" + } + }, + "Start-AzMySqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/128426da-e219-4466-bd3e-cd66032e6ab4?api-version=2020-07-01-preview+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/128426da-e219-4466-bd3e-cd66032e6ab4?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "8" ], + "x-ms-client-request-id": [ "de2b5682-ac41-422d-9105-f81cf864b20f" ], + "CommandName": [ "Start-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Start-AzMySqlFlexibleServer_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "2b6b6996-39ca-4b12-835e-d78da81f0f67" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-correlation-request-id": [ "460e216d-13cd-48b9-acbb-1978457828be" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T213422Z:460e216d-13cd-48b9-acbb-1978457828be" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 21:34:21 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"128426da-e219-4466-bd3e-cd66032e6ab4\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T21:32:21.787Z\"}" + } + }, + "Start-AzMySqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/128426da-e219-4466-bd3e-cd66032e6ab4?api-version=2020-07-01-preview+9": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/128426da-e219-4466-bd3e-cd66032e6ab4?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "9" ], + "x-ms-client-request-id": [ "de2b5682-ac41-422d-9105-f81cf864b20f" ], + "CommandName": [ "Start-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Start-AzMySqlFlexibleServer_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "81549c4e-863a-40b5-9b30-c3c6b95c355b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "7c8ab627-c0ae-47a1-bccc-70976c5bea1f" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T213422Z:7c8ab627-c0ae-47a1-bccc-70976c5bea1f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 21:34:21 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "40" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"mysql-test-100\",\"type\":\"MySQL\"}" } }, "Start-AzMySqlFlexibleServer+[NoContext]+StartViaIdentity+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/stop?api-version=2020-07-01-preview+1": { @@ -126,8 +367,8 @@ "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/stop?api-version=2020-07-01-preview", "Content": null, "Headers": { - "x-ms-unique-id": [ "36" ], - "x-ms-client-request-id": [ "37a834d5-3623-4eb2-bedc-a11e8fc55e9b" ], + "x-ms-unique-id": [ "10" ], + "x-ms-client-request-id": [ "b9b21ba3-f6b8-4836-981d-71649f7d4fb8" ], "CommandName": [ "Stop-AzMySqlFlexibleServer" ], "FullCommandName": [ "Stop-AzMySqlFlexibleServer_Stop" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -142,35 +383,115 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/18f4ada9-9479-4a37-9cc9-dbe57a42d9b5?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/7cc31acb-1fe4-44ed-8809-a6dde9feebbe?api-version=2020-07-01-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/18f4ada9-9479-4a37-9cc9-dbe57a42d9b5?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7cc31acb-1fe4-44ed-8809-a6dde9feebbe?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "18f4ada9-9479-4a37-9cc9-dbe57a42d9b5" ], + "x-ms-request-id": [ "7cc31acb-1fe4-44ed-8809-a6dde9feebbe" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], - "x-ms-correlation-request-id": [ "58b85a5f-a82f-47ba-b0f8-5c369804d4a3" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T065701Z:58b85a5f-a82f-47ba-b0f8-5c369804d4a3" ], + "x-ms-correlation-request-id": [ "c0e00339-5114-434a-b69c-8970c1d27451" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T213422Z:c0e00339-5114-434a-b69c-8970c1d27451" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:57:00 GMT" ] + "Date": [ "Wed, 11 Nov 2020 21:34:22 GMT" ] }, "ContentHeaders": { "Content-Length": [ "84" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"operation\":\"StopServerManagementOperation\",\"startTime\":\"2020-11-11T06:57:00.937Z\"}" + "Content": "{\"operation\":\"StopServerManagementOperation\",\"startTime\":\"2020-11-11T21:34:22.693Z\"}" + } + }, + "Start-AzMySqlFlexibleServer+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7cc31acb-1fe4-44ed-8809-a6dde9feebbe?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7cc31acb-1fe4-44ed-8809-a6dde9feebbe?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "11" ], + "x-ms-client-request-id": [ "b9b21ba3-f6b8-4836-981d-71649f7d4fb8" ], + "CommandName": [ "Stop-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Stop-AzMySqlFlexibleServer_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "e12bd127-f4f5-4cd4-93a6-615d212b06c7" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "583920e9-7a33-4095-9fff-ceb319a7a0cb" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T213522Z:583920e9-7a33-4095-9fff-ceb319a7a0cb" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 21:35:22 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"7cc31acb-1fe4-44ed-8809-a6dde9feebbe\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T21:34:22.693Z\"}" + } + }, + "Start-AzMySqlFlexibleServer+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7cc31acb-1fe4-44ed-8809-a6dde9feebbe?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7cc31acb-1fe4-44ed-8809-a6dde9feebbe?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "12" ], + "x-ms-client-request-id": [ "b9b21ba3-f6b8-4836-981d-71649f7d4fb8" ], + "CommandName": [ "Stop-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Stop-AzMySqlFlexibleServer_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "17e5ba39-4c66-4d10-8bde-7fddc57f1691" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "1c8211a6-cf85-473b-8472-4fc0f4abbc70" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T213623Z:1c8211a6-cf85-473b-8472-4fc0f4abbc70" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 21:36:22 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"7cc31acb-1fe4-44ed-8809-a6dde9feebbe\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T21:34:22.693Z\"}" } }, - "Start-AzMySqlFlexibleServer+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/18f4ada9-9479-4a37-9cc9-dbe57a42d9b5?api-version=2020-07-01-preview+2": { + "Start-AzMySqlFlexibleServer+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7cc31acb-1fe4-44ed-8809-a6dde9feebbe?api-version=2020-07-01-preview+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/18f4ada9-9479-4a37-9cc9-dbe57a42d9b5?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7cc31acb-1fe4-44ed-8809-a6dde9feebbe?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "37" ], - "x-ms-client-request-id": [ "37a834d5-3623-4eb2-bedc-a11e8fc55e9b" ], + "x-ms-unique-id": [ "13" ], + "x-ms-client-request-id": [ "b9b21ba3-f6b8-4836-981d-71649f7d4fb8" ], "CommandName": [ "Stop-AzMySqlFlexibleServer" ], "FullCommandName": [ "Stop-AzMySqlFlexibleServer_Stop" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -186,31 +507,31 @@ "Pragma": [ "no-cache" ], "Retry-After": [ "60" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "01b5bafa-f0a9-4fad-b080-15f2ce07331d" ], + "x-ms-request-id": [ "3e11516f-8257-4b87-937b-4d30ef6a90ec" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11971" ], - "x-ms-correlation-request-id": [ "7f030b41-8a79-4ddf-be06-aff85a55c54e" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T065801Z:7f030b41-8a79-4ddf-be06-aff85a55c54e" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-correlation-request-id": [ "f63440bb-06fb-4bb7-bb7e-4c218a73a1d6" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T213723Z:f63440bb-06fb-4bb7-bb7e-4c218a73a1d6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:58:00 GMT" ] + "Date": [ "Wed, 11 Nov 2020 21:37:22 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "235" ], + "Content-Length": [ "108" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"18f4ada9-9479-4a37-9cc9-dbe57a42d9b5\",\"status\":\"Failed\",\"startTime\":\"2020-11-11T06:57:00.937Z\",\"error\":{\"code\":\"OperationFailed\",\"message\":\"Operation Stop failed, because server mysql-test-100 is busy with other operations.\"}}" + "Content": "{\"name\":\"7cc31acb-1fe4-44ed-8809-a6dde9feebbe\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T21:34:22.693Z\"}" } }, - "Start-AzMySqlFlexibleServer+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/18f4ada9-9479-4a37-9cc9-dbe57a42d9b5?api-version=2020-07-01-preview+3": { + "Start-AzMySqlFlexibleServer+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7cc31acb-1fe4-44ed-8809-a6dde9feebbe?api-version=2020-07-01-preview+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/18f4ada9-9479-4a37-9cc9-dbe57a42d9b5?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7cc31acb-1fe4-44ed-8809-a6dde9feebbe?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "38" ], - "x-ms-client-request-id": [ "37a834d5-3623-4eb2-bedc-a11e8fc55e9b" ], + "x-ms-unique-id": [ "14" ], + "x-ms-client-request-id": [ "b9b21ba3-f6b8-4836-981d-71649f7d4fb8" ], "CommandName": [ "Stop-AzMySqlFlexibleServer" ], "FullCommandName": [ "Stop-AzMySqlFlexibleServer_Stop" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -220,25 +541,226 @@ } }, "Response": { - "StatusCode": 400, + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "82e4d0c9-d6de-4bcc-af43-bcf05063def8" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], + "x-ms-correlation-request-id": [ "f089724d-c79b-4f86-a4d7-0bd54fb4e2d5" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T213823Z:f089724d-c79b-4f86-a4d7-0bd54fb4e2d5" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 21:38:23 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"7cc31acb-1fe4-44ed-8809-a6dde9feebbe\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T21:34:22.693Z\"}" + } + }, + "Start-AzMySqlFlexibleServer+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/7cc31acb-1fe4-44ed-8809-a6dde9feebbe?api-version=2020-07-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/7cc31acb-1fe4-44ed-8809-a6dde9feebbe?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "15" ], + "x-ms-client-request-id": [ "b9b21ba3-f6b8-4836-981d-71649f7d4fb8" ], + "CommandName": [ "Stop-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Stop-AzMySqlFlexibleServer_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "66f351a0-1c4c-4fce-8db3-cae9a31d75f8" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], + "x-ms-correlation-request-id": [ "df5a1950-01b8-45ff-8afb-b2555104599b" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T213823Z:df5a1950-01b8-45ff-8afb-b2555104599b" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 21:38:23 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "40" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"mysql-test-100\",\"type\":\"MySQL\"}" + } + }, + "Start-AzMySqlFlexibleServer+[NoContext]+StartViaIdentity+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/start?api-version=2020-07-01-preview+7": { + "Request": { + "Method": "POST", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/start?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "16" ], + "x-ms-client-request-id": [ "35f9e297-a22e-466c-a6c8-849b2facda42" ], + "CommandName": [ "Start-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Start-AzMySqlFlexibleServer_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/5f1a73a1-861f-4fa2-9d33-566c53be4521?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5f1a73a1-861f-4fa2-9d33-566c53be4521?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "5f1a73a1-861f-4fa2-9d33-566c53be4521" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], + "x-ms-correlation-request-id": [ "ba3929a1-ee1f-4912-bd2e-a42ea354fe98" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T213823Z:ba3929a1-ee1f-4912-bd2e-a42ea354fe98" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 21:38:23 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "84" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"StartServerManagementOperation\",\"startTime\":\"2020-11-11T21:38:23.78Z\"}" + } + }, + "Start-AzMySqlFlexibleServer+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5f1a73a1-861f-4fa2-9d33-566c53be4521?api-version=2020-07-01-preview+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5f1a73a1-861f-4fa2-9d33-566c53be4521?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "17" ], + "x-ms-client-request-id": [ "35f9e297-a22e-466c-a6c8-849b2facda42" ], + "CommandName": [ "Start-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Start-AzMySqlFlexibleServer_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "8a69f14e-37d6-402a-a22f-23fd730de00f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], + "x-ms-correlation-request-id": [ "e6262123-970f-48e2-9f94-6dcdb7d2e8af" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T213924Z:e6262123-970f-48e2-9f94-6dcdb7d2e8af" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 21:39:23 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"5f1a73a1-861f-4fa2-9d33-566c53be4521\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T21:38:23.78Z\"}" + } + }, + "Start-AzMySqlFlexibleServer+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5f1a73a1-861f-4fa2-9d33-566c53be4521?api-version=2020-07-01-preview+9": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5f1a73a1-861f-4fa2-9d33-566c53be4521?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "18" ], + "x-ms-client-request-id": [ "35f9e297-a22e-466c-a6c8-849b2facda42" ], + "CommandName": [ "Start-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Start-AzMySqlFlexibleServer_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "f8951c9f-f623-4ac2-90bf-b61c3a33b974" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], + "x-ms-correlation-request-id": [ "3e98eb8a-43ad-49c0-be8b-a0c3980f616d" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T214024Z:3e98eb8a-43ad-49c0-be8b-a0c3980f616d" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 21:40:23 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"5f1a73a1-861f-4fa2-9d33-566c53be4521\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T21:38:23.78Z\"}" + } + }, + "Start-AzMySqlFlexibleServer+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/5f1a73a1-861f-4fa2-9d33-566c53be4521?api-version=2020-07-01-preview+10": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/5f1a73a1-861f-4fa2-9d33-566c53be4521?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "19" ], + "x-ms-client-request-id": [ "35f9e297-a22e-466c-a6c8-849b2facda42" ], + "CommandName": [ "Start-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Start-AzMySqlFlexibleServer_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "34bf4298-9b0e-473a-8a76-a8e7292971e8" ], + "x-ms-request-id": [ "0ed7cddc-7cdd-4389-a6ae-2064f7af1922" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11970" ], - "x-ms-correlation-request-id": [ "7ebe740f-31e0-4264-b5cf-656890b10587" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T065801Z:7ebe740f-31e0-4264-b5cf-656890b10587" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], + "x-ms-correlation-request-id": [ "dd7541b7-e20f-40f0-804d-c5bc07200176" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T214024Z:dd7541b7-e20f-40f0-804d-c5bc07200176" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:58:00 GMT" ] + "Date": [ "Wed, 11 Nov 2020 21:40:23 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "132" ], + "Content-Length": [ "40" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"error\":{\"code\":\"OperationFailed\",\"message\":\"Operation Stop failed, because server mysql-test-100 is busy with other operations.\"}}" + "Content": "{\"name\":\"mysql-test-100\",\"type\":\"MySQL\"}" } } } \ No newline at end of file diff --git a/src/MySql/test/Stop-AzMySqlFlexibleServer.Recording.json b/src/MySql/test/Stop-AzMySqlFlexibleServer.Recording.json index bb4e9528fabd..4a477667f07f 100644 --- a/src/MySql/test/Stop-AzMySqlFlexibleServer.Recording.json +++ b/src/MySql/test/Stop-AzMySqlFlexibleServer.Recording.json @@ -5,8 +5,8 @@ "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/stop?api-version=2020-07-01-preview", "Content": null, "Headers": { - "x-ms-unique-id": [ "39" ], - "x-ms-client-request-id": [ "3d6726a3-8d93-439c-99a4-210b1f988677" ], + "x-ms-unique-id": [ "1" ], + "x-ms-client-request-id": [ "57e24a7f-bf8c-4bcc-9e9a-cbb7d3c62985" ], "CommandName": [ "Stop-AzMySqlFlexibleServer" ], "FullCommandName": [ "Stop-AzMySqlFlexibleServer_Stop" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -21,35 +21,35 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/2fd44cef-57f1-4580-89b1-b455490a7a5d?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/469360d9-20a0-455c-9d96-40911345171c?api-version=2020-07-01-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/2fd44cef-57f1-4580-89b1-b455490a7a5d?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/469360d9-20a0-455c-9d96-40911345171c?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "2fd44cef-57f1-4580-89b1-b455490a7a5d" ], + "x-ms-request-id": [ "469360d9-20a0-455c-9d96-40911345171c" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], - "x-ms-correlation-request-id": [ "fff64ce3-e7ec-4572-bddf-60f597a5a69a" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T065801Z:fff64ce3-e7ec-4572-bddf-60f597a5a69a" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "5b35db3b-f5cb-4901-b83a-3305b8046d71" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T211658Z:5b35db3b-f5cb-4901-b83a-3305b8046d71" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:58:01 GMT" ] + "Date": [ "Wed, 11 Nov 2020 21:16:57 GMT" ] }, "ContentHeaders": { "Content-Length": [ "84" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"operation\":\"StopServerManagementOperation\",\"startTime\":\"2020-11-11T06:58:01.593Z\"}" + "Content": "{\"operation\":\"StopServerManagementOperation\",\"startTime\":\"2020-11-11T21:16:58.097Z\"}" } }, - "Stop-AzMySqlFlexibleServer+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/2fd44cef-57f1-4580-89b1-b455490a7a5d?api-version=2020-07-01-preview+2": { + "Stop-AzMySqlFlexibleServer+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/469360d9-20a0-455c-9d96-40911345171c?api-version=2020-07-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/2fd44cef-57f1-4580-89b1-b455490a7a5d?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/469360d9-20a0-455c-9d96-40911345171c?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "40" ], - "x-ms-client-request-id": [ "3d6726a3-8d93-439c-99a4-210b1f988677" ], + "x-ms-unique-id": [ "2" ], + "x-ms-client-request-id": [ "57e24a7f-bf8c-4bcc-9e9a-cbb7d3c62985" ], "CommandName": [ "Stop-AzMySqlFlexibleServer" ], "FullCommandName": [ "Stop-AzMySqlFlexibleServer_Stop" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -65,31 +65,31 @@ "Pragma": [ "no-cache" ], "Retry-After": [ "60" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "13320e80-160e-4996-b752-74832c3fbe69" ], + "x-ms-request-id": [ "cb7e3f46-ae1b-468c-b7e6-58c59dea97e0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11969" ], - "x-ms-correlation-request-id": [ "abd32559-ae18-40f6-ba68-7d14d2deb583" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T065901Z:abd32559-ae18-40f6-ba68-7d14d2deb583" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-correlation-request-id": [ "762196d2-0bf7-4e89-9d2b-236be5d22942" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T211758Z:762196d2-0bf7-4e89-9d2b-236be5d22942" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:59:01 GMT" ] + "Date": [ "Wed, 11 Nov 2020 21:17:57 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "235" ], + "Content-Length": [ "108" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"2fd44cef-57f1-4580-89b1-b455490a7a5d\",\"status\":\"Failed\",\"startTime\":\"2020-11-11T06:58:01.593Z\",\"error\":{\"code\":\"OperationFailed\",\"message\":\"Operation Stop failed, because server mysql-test-100 is busy with other operations.\"}}" + "Content": "{\"name\":\"469360d9-20a0-455c-9d96-40911345171c\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T21:16:58.097Z\"}" } }, - "Stop-AzMySqlFlexibleServer+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/2fd44cef-57f1-4580-89b1-b455490a7a5d?api-version=2020-07-01-preview+3": { + "Stop-AzMySqlFlexibleServer+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/469360d9-20a0-455c-9d96-40911345171c?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/2fd44cef-57f1-4580-89b1-b455490a7a5d?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/469360d9-20a0-455c-9d96-40911345171c?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "41" ], - "x-ms-client-request-id": [ "3d6726a3-8d93-439c-99a4-210b1f988677" ], + "x-ms-unique-id": [ "3" ], + "x-ms-client-request-id": [ "57e24a7f-bf8c-4bcc-9e9a-cbb7d3c62985" ], "CommandName": [ "Stop-AzMySqlFlexibleServer" ], "FullCommandName": [ "Stop-AzMySqlFlexibleServer_Stop" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -99,25 +99,427 @@ } }, "Response": { - "StatusCode": 400, + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "66e678ff-e79b-4b9b-b17c-b207e3f4dd2b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-correlation-request-id": [ "27ba025e-0a0f-4842-b3b9-a5e416e294a9" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T211858Z:27ba025e-0a0f-4842-b3b9-a5e416e294a9" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 21:18:58 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"469360d9-20a0-455c-9d96-40911345171c\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T21:16:58.097Z\"}" + } + }, + "Stop-AzMySqlFlexibleServer+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/469360d9-20a0-455c-9d96-40911345171c?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/469360d9-20a0-455c-9d96-40911345171c?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "57e24a7f-bf8c-4bcc-9e9a-cbb7d3c62985" ], + "CommandName": [ "Stop-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Stop-AzMySqlFlexibleServer_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "f2b7ef4c-926e-4361-baec-8d8ab524f07f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-correlation-request-id": [ "b9c9792f-07a3-4c8f-b9c6-3bd0535c7865" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T211958Z:b9c9792f-07a3-4c8f-b9c6-3bd0535c7865" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 21:19:58 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"469360d9-20a0-455c-9d96-40911345171c\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T21:16:58.097Z\"}" + } + }, + "Stop-AzMySqlFlexibleServer+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/469360d9-20a0-455c-9d96-40911345171c?api-version=2020-07-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/469360d9-20a0-455c-9d96-40911345171c?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "5" ], + "x-ms-client-request-id": [ "57e24a7f-bf8c-4bcc-9e9a-cbb7d3c62985" ], + "CommandName": [ "Stop-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Stop-AzMySqlFlexibleServer_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "f10d4ef7-73e4-4d3f-9b3a-e02e4cf786a7" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-correlation-request-id": [ "49504849-0f60-460d-a2ea-91c39d888e63" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T211958Z:49504849-0f60-460d-a2ea-91c39d888e63" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 21:19:58 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "40" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"mysql-test-100\",\"type\":\"MySQL\"}" + } + }, + "Stop-AzMySqlFlexibleServer+[NoContext]+Stop+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/start?api-version=2020-07-01-preview+6": { + "Request": { + "Method": "POST", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/start?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "6" ], + "x-ms-client-request-id": [ "1d5b517f-83e7-4650-ab2c-97b0721601f1" ], + "CommandName": [ "Start-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Start-AzMySqlFlexibleServer_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/698e8171-e16a-47e6-95ce-5cce8b1a2b43?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/698e8171-e16a-47e6-95ce-5cce8b1a2b43?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "698e8171-e16a-47e6-95ce-5cce8b1a2b43" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-correlation-request-id": [ "32dd80d4-c6b1-4652-ba32-8feeca2e6cfc" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T211959Z:32dd80d4-c6b1-4652-ba32-8feeca2e6cfc" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 21:19:59 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "85" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"StartServerManagementOperation\",\"startTime\":\"2020-11-11T21:19:59.337Z\"}" + } + }, + "Stop-AzMySqlFlexibleServer+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/698e8171-e16a-47e6-95ce-5cce8b1a2b43?api-version=2020-07-01-preview+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/698e8171-e16a-47e6-95ce-5cce8b1a2b43?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "7" ], + "x-ms-client-request-id": [ "1d5b517f-83e7-4650-ab2c-97b0721601f1" ], + "CommandName": [ "Start-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Start-AzMySqlFlexibleServer_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "7829db43-b0b5-445a-9840-023af51a86c2" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "1b3067cc-0c52-4186-903b-5c1069cce703" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T212059Z:1b3067cc-0c52-4186-903b-5c1069cce703" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 21:20:58 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"698e8171-e16a-47e6-95ce-5cce8b1a2b43\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T21:19:59.337Z\"}" + } + }, + "Stop-AzMySqlFlexibleServer+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/698e8171-e16a-47e6-95ce-5cce8b1a2b43?api-version=2020-07-01-preview+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/698e8171-e16a-47e6-95ce-5cce8b1a2b43?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "8" ], + "x-ms-client-request-id": [ "1d5b517f-83e7-4650-ab2c-97b0721601f1" ], + "CommandName": [ "Start-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Start-AzMySqlFlexibleServer_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "d1bf31dd-0236-4acb-a699-ff0e907b5175" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-correlation-request-id": [ "4e979dbc-c175-4db8-9fa3-c2975eae6279" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T212059Z:4e979dbc-c175-4db8-9fa3-c2975eae6279" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 21:20:58 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "40" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"mysql-test-100\",\"type\":\"MySQL\"}" + } + }, + "Stop-AzMySqlFlexibleServer+[NoContext]+StopViaIdentity+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/stop?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "POST", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/stop?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "9" ], + "x-ms-client-request-id": [ "1f0b9ad6-cadf-455b-baac-9515215bc62f" ], + "CommandName": [ "Stop-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Stop-AzMySqlFlexibleServer_StopViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/50faa6f8-5716-4d67-bc7c-316620d9d8d9?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/50faa6f8-5716-4d67-bc7c-316620d9d8d9?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "50faa6f8-5716-4d67-bc7c-316620d9d8d9" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], + "x-ms-correlation-request-id": [ "8087c16f-8782-42a0-8b4a-73ceab7493f5" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T212059Z:8087c16f-8782-42a0-8b4a-73ceab7493f5" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 21:20:59 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "84" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"StopServerManagementOperation\",\"startTime\":\"2020-11-11T21:20:59.853Z\"}" + } + }, + "Stop-AzMySqlFlexibleServer+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/50faa6f8-5716-4d67-bc7c-316620d9d8d9?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/50faa6f8-5716-4d67-bc7c-316620d9d8d9?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "10" ], + "x-ms-client-request-id": [ "1f0b9ad6-cadf-455b-baac-9515215bc62f" ], + "CommandName": [ "Stop-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Stop-AzMySqlFlexibleServer_StopViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "bf1c0169-297e-493a-a027-8711704a6385" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "393bd193-2b72-440f-8edd-4c16195f234a" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T212200Z:393bd193-2b72-440f-8edd-4c16195f234a" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 21:21:59 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"50faa6f8-5716-4d67-bc7c-316620d9d8d9\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T21:20:59.853Z\"}" + } + }, + "Stop-AzMySqlFlexibleServer+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/50faa6f8-5716-4d67-bc7c-316620d9d8d9?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/50faa6f8-5716-4d67-bc7c-316620d9d8d9?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "11" ], + "x-ms-client-request-id": [ "1f0b9ad6-cadf-455b-baac-9515215bc62f" ], + "CommandName": [ "Stop-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Stop-AzMySqlFlexibleServer_StopViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "afb323a8-d0d2-4424-8fcb-16e0deb72870" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "68889ef5-2367-4c5e-8689-2a395ecf42bc" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T212300Z:68889ef5-2367-4c5e-8689-2a395ecf42bc" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 21:23:00 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"50faa6f8-5716-4d67-bc7c-316620d9d8d9\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T21:20:59.853Z\"}" + } + }, + "Stop-AzMySqlFlexibleServer+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/50faa6f8-5716-4d67-bc7c-316620d9d8d9?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/50faa6f8-5716-4d67-bc7c-316620d9d8d9?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "12" ], + "x-ms-client-request-id": [ "1f0b9ad6-cadf-455b-baac-9515215bc62f" ], + "CommandName": [ "Stop-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Stop-AzMySqlFlexibleServer_StopViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "ccdc9508-3112-4c88-9deb-6d5d0dab71a2" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "16ea91f8-e83d-4066-b3bf-cd419325c806" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T212400Z:16ea91f8-e83d-4066-b3bf-cd419325c806" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 21:23:59 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"50faa6f8-5716-4d67-bc7c-316620d9d8d9\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T21:20:59.853Z\"}" + } + }, + "Stop-AzMySqlFlexibleServer+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/50faa6f8-5716-4d67-bc7c-316620d9d8d9?api-version=2020-07-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/50faa6f8-5716-4d67-bc7c-316620d9d8d9?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "13" ], + "x-ms-client-request-id": [ "1f0b9ad6-cadf-455b-baac-9515215bc62f" ], + "CommandName": [ "Stop-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Stop-AzMySqlFlexibleServer_StopViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "590f553b-3a1f-4ddc-aff0-c53ec4f2287c" ], + "x-ms-request-id": [ "b772deaf-21e8-41d7-9e96-e3061cb3d070" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11968" ], - "x-ms-correlation-request-id": [ "8929ff00-4efd-4212-9f97-260fba68d198" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T065901Z:8929ff00-4efd-4212-9f97-260fba68d198" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-correlation-request-id": [ "013e7667-451a-4990-8915-6bbe95346702" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T212400Z:013e7667-451a-4990-8915-6bbe95346702" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:59:01 GMT" ] + "Date": [ "Wed, 11 Nov 2020 21:23:59 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "132" ], + "Content-Length": [ "40" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"error\":{\"code\":\"OperationFailed\",\"message\":\"Operation Stop failed, because server mysql-test-100 is busy with other operations.\"}}" + "Content": "{\"name\":\"mysql-test-100\",\"type\":\"MySQL\"}" } } } \ No newline at end of file diff --git a/src/MySql/test/Stop-AzMySqlFlexibleServer.Tests.ps1 b/src/MySql/test/Stop-AzMySqlFlexibleServer.Tests.ps1 index fb990e0da724..63b7190014df 100644 --- a/src/MySql/test/Stop-AzMySqlFlexibleServer.Tests.ps1 +++ b/src/MySql/test/Stop-AzMySqlFlexibleServer.Tests.ps1 @@ -15,6 +15,7 @@ Describe 'Stop-AzMySqlFlexibleServer' { It 'Stop' { { Stop-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName + Start-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName } | Should -Not -Throw } diff --git a/src/MySql/test/Update-AzMySqlConfiguration.Recording.json b/src/MySql/test/Update-AzMySqlConfiguration.Recording.json index 6fdcd6dfec5f..56d48eea8fae 100644 --- a/src/MySql/test/Update-AzMySqlConfiguration.Recording.json +++ b/src/MySql/test/Update-AzMySqlConfiguration.Recording.json @@ -1,35 +1,234 @@ { - "Update-AzMySqlConfiguration+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/net_retry_count?api-version=2017-12-01+1": { + "Update-AzMySqlConfiguration+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/net_retry_count?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/net_retry_count?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"value\": \"15\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/net_retry_count?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"value\": \"15\"\n }\n}", "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "47" ] + "Content-Length": [ "43" ] } }, "Response": { - "StatusCode": 404, + "StatusCode": 202, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ "gateway" ], - "x-ms-request-id": [ "e2461f9e-2d40-44f9-b77c-e6a893b520b9" ], - "x-ms-correlation-request-id": [ "e2461f9e-2d40-44f9-b77c-e6a893b520b9" ], - "x-ms-routing-request-id": [ "WESTUS2:20201110T002736Z:e2461f9e-2d40-44f9-b77c-e6a893b520b9" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/12d527f8-26da-4367-af99-9420131c5e00?api-version=2017-12-01" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/12d527f8-26da-4367-af99-9420131c5e00?api-version=2017-12-01" ], + "x-ms-request-id": [ "12d527f8-26da-4367-af99-9420131c5e00" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "003aef60-4eea-4a67-8514-5018c76b2a71" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T080318Z:003aef60-4eea-4a67-8514-5018c76b2a71" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 10 Nov 2020 00:27:35 GMT" ] + "Date": [ "Fri, 24 Jul 2020 08:03:18 GMT" ] }, "ContentHeaders": { + "Content-Length": [ "80" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ], - "Content-Length": [ "224" ] + "Expires": [ "-1" ] }, - "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForMySQL/servers/mysql-test-100\u0027 under resource group \u0027MySqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" + "Content": "{\"operation\":\"UpdateElasticServerConfig\",\"startTime\":\"2020-07-24T08:03:18.063Z\"}" + } + }, + "Update-AzMySqlConfiguration+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/12d527f8-26da-4367-af99-9420131c5e00?api-version=2017-12-01+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/12d527f8-26da-4367-af99-9420131c5e00?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2" ], + "x-ms-client-request-id": [ "01cfd543-d798-419e-94ec-604fd1121ae6", "01cfd543-d798-419e-94ec-604fd1121ae6" ], + "CommandName": [ "Az.MySql.internal\\Update-AzMySqlConfiguration", "Az.MySql.internal\\Update-AzMySqlConfiguration" ], + "FullCommandName": [ "Update-AzMySqlConfiguration_UpdateExpanded", "Update-AzMySqlConfiguration_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "f5856a6d-0d0e-405d-8357-1b409fb610aa" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "4e2f3f63-9e48-4aba-9641-ef77e8efab5f" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T080333Z:4e2f3f63-9e48-4aba-9641-ef77e8efab5f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:03:33 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"12d527f8-26da-4367-af99-9420131c5e00\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T08:03:18.063Z\"}" + } + }, + "Update-AzMySqlConfiguration+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/net_retry_count?api-version=2017-12-01+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/net_retry_count?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2", "3" ], + "x-ms-client-request-id": [ "01cfd543-d798-419e-94ec-604fd1121ae6", "01cfd543-d798-419e-94ec-604fd1121ae6", "01cfd543-d798-419e-94ec-604fd1121ae6" ], + "CommandName": [ "Az.MySql.internal\\Update-AzMySqlConfiguration", "Az.MySql.internal\\Update-AzMySqlConfiguration", "Az.MySql.internal\\Update-AzMySqlConfiguration" ], + "FullCommandName": [ "Update-AzMySqlConfiguration_UpdateExpanded", "Update-AzMySqlConfiguration_UpdateExpanded", "Update-AzMySqlConfiguration_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "83813b6c-c64d-40de-a0ff-25a0db36c815" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-correlation-request-id": [ "ecaf7de8-004a-4acf-afd5-6bd9e0657bb1" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T080334Z:ecaf7de8-004a-4acf-afd5-6bd9e0657bb1" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:03:33 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "546" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"value\":\"15\",\"description\":\"If a read or write on a communication port is interrupted, retry this many times before giving up.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/net_retry_count\",\"name\":\"net_retry_count\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"}" + } + }, + "Update-AzMySqlConfiguration+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/wait_timeout?api-version=2017-12-01+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/wait_timeout?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"value\": \"150\"\n }\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "44" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/843d746e-2b2d-4130-ab79-dfdf85d1ec6a?api-version=2017-12-01" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/843d746e-2b2d-4130-ab79-dfdf85d1ec6a?api-version=2017-12-01" ], + "x-ms-request-id": [ "843d746e-2b2d-4130-ab79-dfdf85d1ec6a" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-correlation-request-id": [ "edc6c221-1a44-4f50-96e6-10b896e558d3" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T080335Z:edc6c221-1a44-4f50-96e6-10b896e558d3" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:03:34 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "79" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpdateElasticServerConfig\",\"startTime\":\"2020-07-24T08:03:35.11Z\"}" + } + }, + "Update-AzMySqlConfiguration+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/843d746e-2b2d-4130-ab79-dfdf85d1ec6a?api-version=2017-12-01+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/843d746e-2b2d-4130-ab79-dfdf85d1ec6a?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "4", "5" ], + "x-ms-client-request-id": [ "141e5666-8c34-46c5-9c66-28f0c6b00646", "141e5666-8c34-46c5-9c66-28f0c6b00646" ], + "CommandName": [ "Az.MySql.internal\\Update-AzMySqlConfiguration", "Az.MySql.internal\\Update-AzMySqlConfiguration" ], + "FullCommandName": [ "Update-AzMySqlConfiguration_UpdateViaIdentityExpanded", "Update-AzMySqlConfiguration_UpdateViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "f9af11c1-4088-4b49-ae38-dc60aac8f4fa" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "ece9af74-3487-49ce-a600-861f827b0725" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T080350Z:ece9af74-3487-49ce-a600-861f827b0725" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:03:49 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"843d746e-2b2d-4130-ab79-dfdf85d1ec6a\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T08:03:35.11Z\"}" + } + }, + "Update-AzMySqlConfiguration+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/wait_timeout?api-version=2017-12-01+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/wait_timeout?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "4", "5", "6" ], + "x-ms-client-request-id": [ "141e5666-8c34-46c5-9c66-28f0c6b00646", "141e5666-8c34-46c5-9c66-28f0c6b00646", "141e5666-8c34-46c5-9c66-28f0c6b00646" ], + "CommandName": [ "Az.MySql.internal\\Update-AzMySqlConfiguration", "Az.MySql.internal\\Update-AzMySqlConfiguration", "Az.MySql.internal\\Update-AzMySqlConfiguration" ], + "FullCommandName": [ "Update-AzMySqlConfiguration_UpdateViaIdentityExpanded", "Update-AzMySqlConfiguration_UpdateViaIdentityExpanded", "Update-AzMySqlConfiguration_UpdateViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "6e672555-cf54-477c-b07e-b6828c9819aa" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "afff8217-5980-4744-a588-a52aae4c31ef" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T080351Z:afff8217-5980-4744-a588-a52aae4c31ef" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 08:03:50 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "542" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"value\":\"150\",\"description\":\"The number of seconds the server waits for activity on a noninteractive connection before closing it.\",\"defaultValue\":\"120\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/wait_timeout\",\"name\":\"wait_timeout\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"}" } } } \ No newline at end of file diff --git a/src/MySql/test/Update-AzMySqlFirewallRule.Recording.json b/src/MySql/test/Update-AzMySqlFirewallRule.Recording.json index f2a8e8b24940..e9b71b9541ce 100644 --- a/src/MySql/test/Update-AzMySqlFirewallRule.Recording.json +++ b/src/MySql/test/Update-AzMySqlFirewallRule.Recording.json @@ -1,68 +1,706 @@ { - "Update-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { + "Update-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"endIpAddress\": \"0.0.0.1\",\n \"startIpAddress\": \"0.0.0.0\"\n }\n}", "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "93" ] + "Content-Length": [ "88" ] } }, "Response": { - "StatusCode": 404, + "StatusCode": 202, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ "gateway" ], - "x-ms-request-id": [ "0f28ebba-0c8e-412f-b8d7-11e4b6db1d46" ], - "x-ms-correlation-request-id": [ "0f28ebba-0c8e-412f-b8d7-11e4b6db1d46" ], - "x-ms-routing-request-id": [ "WESTUS2:20201110T002737Z:0f28ebba-0c8e-412f-b8d7-11e4b6db1d46" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/8e22193e-3d9c-4e45-bf1d-61bd3b5e29d8?api-version=2017-12-01" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/8e22193e-3d9c-4e45-bf1d-61bd3b5e29d8?api-version=2017-12-01" ], + "x-ms-request-id": [ "8e22193e-3d9c-4e45-bf1d-61bd3b5e29d8" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], + "x-ms-correlation-request-id": [ "0366fffe-8953-465f-b476-4d85e47c7d74" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T071013Z:0366fffe-8953-465f-b476-4d85e47c7d74" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 10 Nov 2020 00:27:36 GMT" ] + "Date": [ "Fri, 24 Jul 2020 07:10:12 GMT" ] }, "ContentHeaders": { + "Content-Length": [ "86" ], "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-07-24T07:10:12.05Z\"}" + } + }, + "Update-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/8e22193e-3d9c-4e45-bf1d-61bd3b5e29d8?api-version=2017-12-01+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/8e22193e-3d9c-4e45-bf1d-61bd3b5e29d8?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2" ], + "x-ms-client-request-id": [ "976f4caa-e284-42e7-b4e8-4fdd6f592cb1", "976f4caa-e284-42e7-b4e8-4fdd6f592cb1" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule" ], + "FullCommandName": [ "New-AzMySqlFirewallRule_CreateExpanded", "New-AzMySqlFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "94b52d49-ab53-4986-ab92-ee94f5148402" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "a34619d2-5a87-404e-8aa1-193eb0a7069c" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T071028Z:a34619d2-5a87-404e-8aa1-193eb0a7069c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:10:28 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"8e22193e-3d9c-4e45-bf1d-61bd3b5e29d8\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:10:12.05Z\"}" + } + }, + "Update-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2", "3" ], + "x-ms-client-request-id": [ "976f4caa-e284-42e7-b4e8-4fdd6f592cb1", "976f4caa-e284-42e7-b4e8-4fdd6f592cb1", "976f4caa-e284-42e7-b4e8-4fdd6f592cb1" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule" ], + "FullCommandName": [ "New-AzMySqlFirewallRule_CreateExpanded", "New-AzMySqlFirewallRule_CreateExpanded", "New-AzMySqlFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "b4940d76-138b-46fd-9c8c-26b5ca778ee4" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-correlation-request-id": [ "4c349946-ef8b-42b0-b373-56ec19e1b25d" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T071029Z:4c349946-ef8b-42b0-b373-56ec19e1b25d" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:10:29 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "305" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/servers/firewallRules\"}" + } + }, + "Update-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+4": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"endIpAddress\": \"0.0.0.2\",\n \"startIpAddress\": \"0.0.0.2\"\n }\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "88" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/e5917bef-26e5-48bd-a3d4-ccfd236ebb4b?api-version=2017-12-01" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/e5917bef-26e5-48bd-a3d4-ccfd236ebb4b?api-version=2017-12-01" ], + "x-ms-request-id": [ "e5917bef-26e5-48bd-a3d4-ccfd236ebb4b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], + "x-ms-correlation-request-id": [ "e7aa58cd-2a9c-46b4-b4b5-bce1b8b84e5d" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T071030Z:e7aa58cd-2a9c-46b4-b4b5-bce1b8b84e5d" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:10:30 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "86" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-07-24T07:10:29.63Z\"}" + } + }, + "Update-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/e5917bef-26e5-48bd-a3d4-ccfd236ebb4b?api-version=2017-12-01+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/e5917bef-26e5-48bd-a3d4-ccfd236ebb4b?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "4", "5" ], + "x-ms-client-request-id": [ "f648dd60-5779-47ac-9af9-cd4d906c7f3d", "f648dd60-5779-47ac-9af9-cd4d906c7f3d" ], + "CommandName": [ "Az.MySql.internal\\Update-AzMySqlFirewallRule", "Az.MySql.internal\\Update-AzMySqlFirewallRule" ], + "FullCommandName": [ "Update-AzMySqlFirewallRule_ClientIPAddress", "Update-AzMySqlFirewallRule_ClientIPAddress" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "49d32cc6-8a69-47fd-9653-b20d67e253db" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], + "x-ms-correlation-request-id": [ "fdf0b140-07a2-46fd-bb8e-1c36b9c021a1" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T071046Z:fdf0b140-07a2-46fd-bb8e-1c36b9c021a1" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:10:46 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"e5917bef-26e5-48bd-a3d4-ccfd236ebb4b\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:10:29.63Z\"}" + } + }, + "Update-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "4", "5", "6" ], + "x-ms-client-request-id": [ "f648dd60-5779-47ac-9af9-cd4d906c7f3d", "f648dd60-5779-47ac-9af9-cd4d906c7f3d", "f648dd60-5779-47ac-9af9-cd4d906c7f3d" ], + "CommandName": [ "Az.MySql.internal\\Update-AzMySqlFirewallRule", "Az.MySql.internal\\Update-AzMySqlFirewallRule", "Az.MySql.internal\\Update-AzMySqlFirewallRule" ], + "FullCommandName": [ "Update-AzMySqlFirewallRule_ClientIPAddress", "Update-AzMySqlFirewallRule_ClientIPAddress", "Update-AzMySqlFirewallRule_ClientIPAddress" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "b4d437f4-ef98-42a7-ae15-eac1066cedf8" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], + "x-ms-correlation-request-id": [ "52ec5430-55c3-4e99-80f9-0ceff6ad33c7" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T071046Z:52ec5430-55c3-4e99-80f9-0ceff6ad33c7" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:10:46 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "305" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.2\",\"endIpAddress\":\"0.0.0.2\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/servers/firewallRules\"}" + } + }, + "Update-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+7": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "7" ], + "x-ms-client-request-id": [ "edf6d107-aaf1-47a9-b7d8-11d542a54ffe" ], + "CommandName": [ "Remove-AzMySqlFirewallRule" ], + "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/ef9d3f5d-7528-4905-b20d-f765ede790a2?api-version=2017-12-01" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ef9d3f5d-7528-4905-b20d-f765ede790a2?api-version=2017-12-01" ], + "x-ms-request-id": [ "ef9d3f5d-7528-4905-b20d-f765ede790a2" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14997" ], + "x-ms-correlation-request-id": [ "882df628-744c-4816-ba13-1ed5ce1f70d4" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T071048Z:882df628-744c-4816-ba13-1ed5ce1f70d4" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:10:48 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "84" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-07-24T07:10:47.143Z\"}" + } + }, + "Update-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ef9d3f5d-7528-4905-b20d-f765ede790a2?api-version=2017-12-01+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ef9d3f5d-7528-4905-b20d-f765ede790a2?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "7", "8" ], + "x-ms-client-request-id": [ "edf6d107-aaf1-47a9-b7d8-11d542a54ffe", "edf6d107-aaf1-47a9-b7d8-11d542a54ffe" ], + "CommandName": [ "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule" ], + "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "839c3b2c-f247-4f45-811b-6d3e671eed63" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], + "x-ms-correlation-request-id": [ "c447739e-c759-4ba2-8aa2-2d32cc7b0f07" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T071103Z:c447739e-c759-4ba2-8aa2-2d32cc7b0f07" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:11:03 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ef9d3f5d-7528-4905-b20d-f765ede790a2\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:10:47.143Z\"}" + } + }, + "Update-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/ef9d3f5d-7528-4905-b20d-f765ede790a2?api-version=2017-12-01+9": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/ef9d3f5d-7528-4905-b20d-f765ede790a2?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "7", "8", "9" ], + "x-ms-client-request-id": [ "edf6d107-aaf1-47a9-b7d8-11d542a54ffe", "edf6d107-aaf1-47a9-b7d8-11d542a54ffe", "edf6d107-aaf1-47a9-b7d8-11d542a54ffe" ], + "CommandName": [ "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule" ], + "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "060df7c3-de6f-4281-b2b4-ef197c10c119" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], + "x-ms-correlation-request-id": [ "39cbe593-e4e4-469f-9b10-66da8b407269" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T071104Z:39cbe593-e4e4-469f-9b10-66da8b407269" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:11:03 GMT" ] + }, + "ContentHeaders": { "Expires": [ "-1" ], - "Content-Length": [ "224" ] + "Content-Length": [ "0" ] }, - "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForMySQL/servers/mysql-test-100\u0027 under resource group \u0027MySqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" + "Content": null } }, - "Update-AzMySqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { + "Update-AzMySqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"endIpAddress\": \"0.0.0.1\",\n \"startIpAddress\": \"0.0.0.0\"\n }\n}", "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "93" ] + "Content-Length": [ "88" ] } }, "Response": { - "StatusCode": 404, + "StatusCode": 202, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ "gateway" ], - "x-ms-request-id": [ "aba81bdc-c3c1-42f7-832c-01d33d7cbc9a" ], - "x-ms-correlation-request-id": [ "aba81bdc-c3c1-42f7-832c-01d33d7cbc9a" ], - "x-ms-routing-request-id": [ "WESTUS2:20201110T002737Z:aba81bdc-c3c1-42f7-832c-01d33d7cbc9a" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/2ad7e857-dd21-4321-935f-cf1966d0c230?api-version=2017-12-01" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/2ad7e857-dd21-4321-935f-cf1966d0c230?api-version=2017-12-01" ], + "x-ms-request-id": [ "2ad7e857-dd21-4321-935f-cf1966d0c230" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], + "x-ms-correlation-request-id": [ "53c48bfb-a48e-4a37-9db5-2fe582d552ab" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T071106Z:53c48bfb-a48e-4a37-9db5-2fe582d552ab" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 10 Nov 2020 00:27:37 GMT" ] + "Date": [ "Fri, 24 Jul 2020 07:11:05 GMT" ] }, "ContentHeaders": { + "Content-Length": [ "87" ], "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-07-24T07:11:04.723Z\"}" + } + }, + "Update-AzMySqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/2ad7e857-dd21-4321-935f-cf1966d0c230?api-version=2017-12-01+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/2ad7e857-dd21-4321-935f-cf1966d0c230?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "10", "11" ], + "x-ms-client-request-id": [ "c63572c1-0155-4bfb-ac8a-de3daabf4357", "c63572c1-0155-4bfb-ac8a-de3daabf4357" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule" ], + "FullCommandName": [ "New-AzMySqlFirewallRule_CreateExpanded", "New-AzMySqlFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "dc9ffdf3-f109-4fa9-9af1-7cdf52d2af66" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], + "x-ms-correlation-request-id": [ "26792263-d3aa-4174-85ab-6ae2f5d251f1" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T071121Z:26792263-d3aa-4174-85ab-6ae2f5d251f1" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:11:21 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"2ad7e857-dd21-4321-935f-cf1966d0c230\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:11:04.723Z\"}" + } + }, + "Update-AzMySqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "10", "11", "12" ], + "x-ms-client-request-id": [ "c63572c1-0155-4bfb-ac8a-de3daabf4357", "c63572c1-0155-4bfb-ac8a-de3daabf4357", "c63572c1-0155-4bfb-ac8a-de3daabf4357" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule", "Az.MySql.internal\\New-AzMySqlFirewallRule" ], + "FullCommandName": [ "New-AzMySqlFirewallRule_CreateExpanded", "New-AzMySqlFirewallRule_CreateExpanded", "New-AzMySqlFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "16612444-1630-4fd6-b7ff-84f3585b4314" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], + "x-ms-correlation-request-id": [ "232c1ba8-f3f2-40ef-bc00-d4aa5a6461ef" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T071121Z:232c1ba8-f3f2-40ef-bc00-d4aa5a6461ef" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:11:21 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "305" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/servers/firewallRules\"}" + } + }, + "Update-AzMySqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+4": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"endIpAddress\": \"0.0.0.3\",\n \"startIpAddress\": \"0.0.0.2\"\n }\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "88" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/50b53200-9ac0-4795-9a50-fec3a74287c7?api-version=2017-12-01" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/50b53200-9ac0-4795-9a50-fec3a74287c7?api-version=2017-12-01" ], + "x-ms-request-id": [ "50b53200-9ac0-4795-9a50-fec3a74287c7" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1194" ], + "x-ms-correlation-request-id": [ "9cc23fc2-7fc1-4b52-a179-56d26d5e4fac" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T071123Z:9cc23fc2-7fc1-4b52-a179-56d26d5e4fac" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:11:23 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "87" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-07-24T07:11:22.347Z\"}" + } + }, + "Update-AzMySqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/50b53200-9ac0-4795-9a50-fec3a74287c7?api-version=2017-12-01+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/50b53200-9ac0-4795-9a50-fec3a74287c7?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "13", "14" ], + "x-ms-client-request-id": [ "280ba601-a4b1-4b72-82d2-62bb1b91ec0f", "280ba601-a4b1-4b72-82d2-62bb1b91ec0f" ], + "CommandName": [ "Az.MySql.internal\\Update-AzMySqlFirewallRule", "Az.MySql.internal\\Update-AzMySqlFirewallRule" ], + "FullCommandName": [ "Update-AzMySqlFirewallRule_UpdateViaIdentityExpanded", "Update-AzMySqlFirewallRule_UpdateViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "1dbd1a16-10bf-4914-81f0-a4ce26e274f5" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], + "x-ms-correlation-request-id": [ "82c51de4-6274-451f-bf78-0125a7a7c604" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T071139Z:82c51de4-6274-451f-bf78-0125a7a7c604" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:11:38 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"50b53200-9ac0-4795-9a50-fec3a74287c7\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:11:22.347Z\"}" + } + }, + "Update-AzMySqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "13", "14", "15" ], + "x-ms-client-request-id": [ "280ba601-a4b1-4b72-82d2-62bb1b91ec0f", "280ba601-a4b1-4b72-82d2-62bb1b91ec0f", "280ba601-a4b1-4b72-82d2-62bb1b91ec0f" ], + "CommandName": [ "Az.MySql.internal\\Update-AzMySqlFirewallRule", "Az.MySql.internal\\Update-AzMySqlFirewallRule", "Az.MySql.internal\\Update-AzMySqlFirewallRule" ], + "FullCommandName": [ "Update-AzMySqlFirewallRule_UpdateViaIdentityExpanded", "Update-AzMySqlFirewallRule_UpdateViaIdentityExpanded", "Update-AzMySqlFirewallRule_UpdateViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "cbcd2644-5096-45e7-b549-cc89f405af13" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], + "x-ms-correlation-request-id": [ "a3c46318-93b6-4d04-a5a0-465e3a421c1d" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T071139Z:a3c46318-93b6-4d04-a5a0-465e3a421c1d" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:11:38 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "305" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.2\",\"endIpAddress\":\"0.0.0.3\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/servers/firewallRules\"}" + } + }, + "Update-AzMySqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+7": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "16" ], + "x-ms-client-request-id": [ "cdc45e5e-5d1c-4178-a570-d550e667ee2e" ], + "CommandName": [ "Remove-AzMySqlFirewallRule" ], + "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/1539b77e-80cb-4d98-9892-bdc692eec670?api-version=2017-12-01" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/1539b77e-80cb-4d98-9892-bdc692eec670?api-version=2017-12-01" ], + "x-ms-request-id": [ "1539b77e-80cb-4d98-9892-bdc692eec670" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14996" ], + "x-ms-correlation-request-id": [ "668bd5e8-2892-40e9-a1ae-cdc51382db9a" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T071140Z:668bd5e8-2892-40e9-a1ae-cdc51382db9a" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:11:40 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "84" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-07-24T07:11:39.783Z\"}" + } + }, + "Update-AzMySqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/1539b77e-80cb-4d98-9892-bdc692eec670?api-version=2017-12-01+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/1539b77e-80cb-4d98-9892-bdc692eec670?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "16", "17" ], + "x-ms-client-request-id": [ "cdc45e5e-5d1c-4178-a570-d550e667ee2e", "cdc45e5e-5d1c-4178-a570-d550e667ee2e" ], + "CommandName": [ "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule" ], + "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "5d9aa4a5-874b-46ef-bbd2-789fa606d365" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], + "x-ms-correlation-request-id": [ "087ce8fc-5129-4d34-a985-f630c90edb1e" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T071156Z:087ce8fc-5129-4d34-a985-f630c90edb1e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:11:56 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"1539b77e-80cb-4d98-9892-bdc692eec670\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:11:39.783Z\"}" + } + }, + "Update-AzMySqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/1539b77e-80cb-4d98-9892-bdc692eec670?api-version=2017-12-01+9": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/1539b77e-80cb-4d98-9892-bdc692eec670?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "16", "17", "18" ], + "x-ms-client-request-id": [ "cdc45e5e-5d1c-4178-a570-d550e667ee2e", "cdc45e5e-5d1c-4178-a570-d550e667ee2e", "cdc45e5e-5d1c-4178-a570-d550e667ee2e" ], + "CommandName": [ "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule", "Remove-AzMySqlFirewallRule" ], + "FullCommandName": [ "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete", "Remove-AzMySqlFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "b71bd455-606a-48e2-a7a2-d5e1d355a7ee" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11980" ], + "x-ms-correlation-request-id": [ "d2d1c8fd-143b-42a4-bf40-9599180ff2ab" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T071156Z:d2d1c8fd-143b-42a4-bf40-9599180ff2ab" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:11:56 GMT" ] + }, + "ContentHeaders": { "Expires": [ "-1" ], - "Content-Length": [ "224" ] + "Content-Length": [ "0" ] }, - "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForMySQL/servers/mysql-test-100\u0027 under resource group \u0027MySqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" + "Content": null } } } \ No newline at end of file diff --git a/src/MySql/test/Update-AzMySqlFlexibleServer.Recording.json b/src/MySql/test/Update-AzMySqlFlexibleServer.Recording.json index 38b6a320072e..c07b25aeed31 100644 --- a/src/MySql/test/Update-AzMySqlFlexibleServer.Recording.json +++ b/src/MySql/test/Update-AzMySqlFlexibleServer.Recording.json @@ -16,35 +16,35 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/93d1755a-b4b0-4c22-b431-7f6ea7ba001b?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/9d9b1caf-9e73-4135-a4a6-2965ea2d6888?api-version=2020-07-01-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/93d1755a-b4b0-4c22-b431-7f6ea7ba001b?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/9d9b1caf-9e73-4135-a4a6-2965ea2d6888?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "b80dba6c-9a24-408b-9c9e-bb7a5ace6bf1" ], + "x-ms-request-id": [ "12c5f00a-e093-4fe5-8c9e-9b10037a7589" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], - "x-ms-correlation-request-id": [ "d8a1d225-c6b8-4665-a3d4-668a568817d9" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T065902Z:d8a1d225-c6b8-4665-a3d4-668a568817d9" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "d6a13c9e-3b34-462d-b92a-dfda4c41e6e1" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T203501Z:d6a13c9e-3b34-462d-b92a-dfda4c41e6e1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:59:02 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:35:01 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "87" ], + "Content-Length": [ "88" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-11T06:59:02.45Z\"}" + "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-11T20:35:01.193Z\"}" } }, - "Update-AzMySqlFlexibleServer+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/93d1755a-b4b0-4c22-b431-7f6ea7ba001b?api-version=2020-07-01-preview+2": { + "Update-AzMySqlFlexibleServer+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/9d9b1caf-9e73-4135-a4a6-2965ea2d6888?api-version=2020-07-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/93d1755a-b4b0-4c22-b431-7f6ea7ba001b?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/9d9b1caf-9e73-4135-a4a6-2965ea2d6888?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "43" ], - "x-ms-client-request-id": [ "28d1b083-4393-443a-b7f3-f1e98168b34c" ], + "x-ms-unique-id": [ "2" ], + "x-ms-client-request-id": [ "5de2b3f1-7c00-4fde-8658-b07820cf509e" ], "CommandName": [ "Az.MySql.internal\\Update-AzMySqlFlexibleServer" ], "FullCommandName": [ "Update-AzMySqlFlexibleServer_UpdateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -60,20 +60,20 @@ "Pragma": [ "no-cache" ], "Retry-After": [ "60" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "3a73526f-a361-4c6b-9c45-41de446f0ffa" ], + "x-ms-request-id": [ "fa238a0a-fde5-416b-b8f0-f11cc3e97347" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11967" ], - "x-ms-correlation-request-id": [ "cd65bb63-d2c3-4c39-b941-72b2e0cc35a4" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T070002Z:cd65bb63-d2c3-4c39-b941-72b2e0cc35a4" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-correlation-request-id": [ "5ed36ce5-07b5-414c-ba9e-1728a3444a35" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T203601Z:5ed36ce5-07b5-414c-ba9e-1728a3444a35" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 07:00:02 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:36:00 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "237" ], + "Content-Length": [ "107" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"93d1755a-b4b0-4c22-b431-7f6ea7ba001b\",\"status\":\"Failed\",\"startTime\":\"2020-11-11T06:59:02.45Z\",\"error\":{\"code\":\"ServiceBusy\",\"message\":\"Service is temporarily busy and the operation cannot be performed. Please try again later.\"}}" + "Content": "{\"name\":\"9d9b1caf-9e73-4135-a4a6-2965ea2d6888\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T20:35:01.193Z\"}" } }, "Update-AzMySqlFlexibleServer+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview+3": { @@ -83,8 +83,8 @@ "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "44" ], - "x-ms-client-request-id": [ "28d1b083-4393-443a-b7f3-f1e98168b34c" ], + "x-ms-unique-id": [ "3" ], + "x-ms-client-request-id": [ "5de2b3f1-7c00-4fde-8658-b07820cf509e" ], "CommandName": [ "Az.MySql.internal\\Update-AzMySqlFlexibleServer" ], "FullCommandName": [ "Update-AzMySqlFlexibleServer_UpdateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -99,20 +99,20 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "259d6f82-6006-4c1b-8139-ef9928c88f55" ], + "x-ms-request-id": [ "c9775cc1-29f1-436f-bf0b-9140a39b8a17" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11966" ], - "x-ms-correlation-request-id": [ "2c69255d-f462-49a5-84fb-305c2b57883e" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T070002Z:2c69255d-f462-49a5-84fb-305c2b57883e" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-correlation-request-id": [ "32e8d714-3e40-41ed-8268-e5d00b58389a" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T203601Z:32e8d714-3e40-41ed-8268-e5d00b58389a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 07:00:02 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:36:01 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "937" ], + "Content-Length": [ "946" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":12,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } }, "Update-AzMySqlFlexibleServer+[NoContext]+UpdateViaIdentityExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview+1": { @@ -132,35 +132,35 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/2cac5d95-3d97-4164-aa04-efcddf8c9651?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/8138b975-7745-4fb6-a775-faa1d8fc95ed?api-version=2020-07-01-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/2cac5d95-3d97-4164-aa04-efcddf8c9651?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/8138b975-7745-4fb6-a775-faa1d8fc95ed?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "cf87be3d-01d0-45fe-b645-46803e8fd844" ], + "x-ms-request-id": [ "eb6dbe8d-0000-4b0e-a7ef-ca3a17e7fbd5" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], - "x-ms-correlation-request-id": [ "59db0ef4-b8f7-46f0-ac0c-c348c119bada" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T070003Z:59db0ef4-b8f7-46f0-ac0c-c348c119bada" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-correlation-request-id": [ "90af5f65-2e01-4224-aa5b-bd01166cc8b9" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T203602Z:90af5f65-2e01-4224-aa5b-bd01166cc8b9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 07:00:03 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:36:01 GMT" ] }, "ContentHeaders": { "Content-Length": [ "87" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-11T07:00:03.11Z\"}" + "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-11T20:36:02.39Z\"}" } }, - "Update-AzMySqlFlexibleServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/2cac5d95-3d97-4164-aa04-efcddf8c9651?api-version=2020-07-01-preview+2": { + "Update-AzMySqlFlexibleServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/8138b975-7745-4fb6-a775-faa1d8fc95ed?api-version=2020-07-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/2cac5d95-3d97-4164-aa04-efcddf8c9651?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/8138b975-7745-4fb6-a775-faa1d8fc95ed?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "46" ], - "x-ms-client-request-id": [ "a7fe6ee2-906d-468c-8897-16540d0dbf3d" ], + "x-ms-unique-id": [ "5" ], + "x-ms-client-request-id": [ "7483358d-4014-4d6a-a488-3e301591d7fb" ], "CommandName": [ "Az.MySql.internal\\Update-AzMySqlFlexibleServer" ], "FullCommandName": [ "Update-AzMySqlFlexibleServer_UpdateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -176,20 +176,20 @@ "Pragma": [ "no-cache" ], "Retry-After": [ "60" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "e2e25727-7cd6-44f3-9c1d-a379eb3c67f3" ], + "x-ms-request-id": [ "30baa385-97b6-44e2-a8fb-4abb025105c5" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11965" ], - "x-ms-correlation-request-id": [ "750ee494-6511-4970-8c21-f0c3099db01e" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T070103Z:750ee494-6511-4970-8c21-f0c3099db01e" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-correlation-request-id": [ "db5a2861-fce2-4c65-ade7-a3c9ee7189d8" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T203702Z:db5a2861-fce2-4c65-ade7-a3c9ee7189d8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 07:01:02 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:37:02 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "237" ], + "Content-Length": [ "106" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"2cac5d95-3d97-4164-aa04-efcddf8c9651\",\"status\":\"Failed\",\"startTime\":\"2020-11-11T07:00:03.11Z\",\"error\":{\"code\":\"ServiceBusy\",\"message\":\"Service is temporarily busy and the operation cannot be performed. Please try again later.\"}}" + "Content": "{\"name\":\"8138b975-7745-4fb6-a775-faa1d8fc95ed\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T20:36:02.39Z\"}" } }, "Update-AzMySqlFlexibleServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview+3": { @@ -199,8 +199,8 @@ "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "47" ], - "x-ms-client-request-id": [ "a7fe6ee2-906d-468c-8897-16540d0dbf3d" ], + "x-ms-unique-id": [ "6" ], + "x-ms-client-request-id": [ "7483358d-4014-4d6a-a488-3e301591d7fb" ], "CommandName": [ "Az.MySql.internal\\Update-AzMySqlFlexibleServer" ], "FullCommandName": [ "Update-AzMySqlFlexibleServer_UpdateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -215,20 +215,20 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "20825413-6519-48ca-bcaa-76e783d96ab7" ], + "x-ms-request-id": [ "d9878380-9502-41bc-a178-d3210b4c6905" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11964" ], - "x-ms-correlation-request-id": [ "67113df4-8ea8-4c4b-89f6-96eae27c4b25" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T070103Z:67113df4-8ea8-4c4b-89f6-96eae27c4b25" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "4038bc6a-6eaa-4184-941b-e3dfa9e1f0b7" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T203702Z:4038bc6a-6eaa-4184-941b-e3dfa9e1f0b7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 07:01:02 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:37:02 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "937" ], + "Content-Length": [ "946" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":13,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } } } \ No newline at end of file diff --git a/src/MySql/test/Update-AzMySqlServer.Recording.json b/src/MySql/test/Update-AzMySqlServer.Recording.json index 8893f5d53fad..ddf4409cd2b0 100644 --- a/src/MySql/test/Update-AzMySqlServer.Recording.json +++ b/src/MySql/test/Update-AzMySqlServer.Recording.json @@ -1,45 +1,128 @@ { - "Update-AzMySqlServer+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { + "Update-AzMySqlServer+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"sslEnforcement\": \"Disabled\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"sslEnforcement\": \"Disabled\"\n }\n}", "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "62" ] + "Content-Length": [ "58" ] } }, "Response": { - "StatusCode": 404, + "StatusCode": 202, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ "gateway" ], - "x-ms-request-id": [ "1bff4f20-5ac1-4434-a87f-07940238fa64" ], - "x-ms-correlation-request-id": [ "1bff4f20-5ac1-4434-a87f-07940238fa64" ], - "x-ms-routing-request-id": [ "WESTUS2:20201110T002739Z:1bff4f20-5ac1-4434-a87f-07940238fa64" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/c235c4a7-107f-4565-9b27-6860f50cc315?api-version=2017-12-01" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c235c4a7-107f-4565-9b27-6860f50cc315?api-version=2017-12-01" ], + "x-ms-request-id": [ "c235c4a7-107f-4565-9b27-6860f50cc315" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "234ec168-7f21-4b3f-8f09-70e72f57984b" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T072158Z:234ec168-7f21-4b3f-8f09-70e72f57984b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 10 Nov 2020 00:27:38 GMT" ] + "Date": [ "Fri, 24 Jul 2020 07:21:57 GMT" ] }, "ContentHeaders": { + "Content-Length": [ "74" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ], - "Content-Length": [ "328" ] + "Expires": [ "-1" ] }, - "Content": "{\"error\":{\"code\":\"PatchResourceNotFound\",\"target\":\"mysql-test-100\",\"message\":\"The resource \u0027https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01\u0027 was not found when performing the PATCH operation.\"}}" + "Content": "{\"operation\":\"UpsertElasticServer\",\"startTime\":\"2020-07-24T07:21:57.153Z\"}" } }, - "Update-AzMySqlServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { + "Update-AzMySqlServer+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c235c4a7-107f-4565-9b27-6860f50cc315?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c235c4a7-107f-4565-9b27-6860f50cc315?api-version=2017-12-01", "Content": null, "Headers": { - "x-ms-unique-id": [ "29" ], - "x-ms-client-request-id": [ "dc429a52-8bd9-498c-af8c-167dfedbc9c7" ], + "x-ms-unique-id": [ "1", "2" ], + "x-ms-client-request-id": [ "2a4715f1-e060-4949-aac1-6c623d3c8a0a", "2a4715f1-e060-4949-aac1-6c623d3c8a0a" ], + "CommandName": [ "Az.MySql.internal\\Update-AzMySqlServer", "Az.MySql.internal\\Update-AzMySqlServer" ], + "FullCommandName": [ "Update-AzMySqlServer_UpdateExpanded", "Update-AzMySqlServer_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "x-ms-request-id": [ "048884bf-a694-4f64-8850-887b8f01e533" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-correlation-request-id": [ "d004d695-dd96-473e-bfce-fe1018531b53" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T072259Z:d004d695-dd96-473e-bfce-fe1018531b53" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:22:59 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"c235c4a7-107f-4565-9b27-6860f50cc315\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:21:57.153Z\"}" + } + }, + "Update-AzMySqlServer+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2", "3" ], + "x-ms-client-request-id": [ "2a4715f1-e060-4949-aac1-6c623d3c8a0a", "2a4715f1-e060-4949-aac1-6c623d3c8a0a", "2a4715f1-e060-4949-aac1-6c623d3c8a0a" ], + "CommandName": [ "Az.MySql.internal\\Update-AzMySqlServer", "Az.MySql.internal\\Update-AzMySqlServer", "Az.MySql.internal\\Update-AzMySqlServer" ], + "FullCommandName": [ "Update-AzMySqlServer_UpdateExpanded", "Update-AzMySqlServer_UpdateExpanded", "Update-AzMySqlServer_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "4179e142-8a1f-45f6-8f0d-4891079e665d" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-correlation-request-id": [ "1261ba4e-a1e8-4654-ae00-2511fe8622b9" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T072259Z:1261ba4e-a1e8-4654-ae00-2511fe8622b9" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:22:59 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "908" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + } + }, + "Update-AzMySqlServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "81329e4a-ed7c-4881-8b5e-8e8d26077abf" ], "CommandName": [ "Get-AzMySqlServer" ], "FullCommandName": [ "Get-AzMySqlServer_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -50,24 +133,141 @@ } }, "Response": { - "StatusCode": 404, + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "33d25678-64cc-4d4f-a973-fe0f6a270430" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "5db37c3d-c6a9-4ba5-8571-7544b8e5bf02" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T072300Z:5db37c3d-c6a9-4ba5-8571-7544b8e5bf02" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:22:59 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "908" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + } + }, + "Update-AzMySqlServer+[NoContext]+UpdateViaIdentityExpanded+$PATCH+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+2": { + "Request": { + "Method": "PATCH", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"storageProfile\": {\n \"backupRetentionDays\": 23\n }\n }\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "87" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/764ecc56-a76f-47d1-bc51-0ab7fc8c90c2?api-version=2017-12-01" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/764ecc56-a76f-47d1-bc51-0ab7fc8c90c2?api-version=2017-12-01" ], + "x-ms-request-id": [ "764ecc56-a76f-47d1-bc51-0ab7fc8c90c2" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-correlation-request-id": [ "65d4d118-2aea-4765-a245-8ba55db13abf" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T072302Z:65d4d118-2aea-4765-a245-8ba55db13abf" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:23:01 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "74" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertElasticServer\",\"startTime\":\"2020-07-24T07:23:01.107Z\"}" + } + }, + "Update-AzMySqlServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/764ecc56-a76f-47d1-bc51-0ab7fc8c90c2?api-version=2017-12-01+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/764ecc56-a76f-47d1-bc51-0ab7fc8c90c2?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "5", "6" ], + "x-ms-client-request-id": [ "d3aec7bc-3d96-45e1-8888-1b4cec6f9def", "d3aec7bc-3d96-45e1-8888-1b4cec6f9def" ], + "CommandName": [ "Az.MySql.internal\\Update-AzMySqlServer", "Az.MySql.internal\\Update-AzMySqlServer" ], + "FullCommandName": [ "Update-AzMySqlServer_UpdateViaIdentityExpanded", "Update-AzMySqlServer_UpdateViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "x-ms-request-id": [ "db0c85d4-567d-4657-a589-49fc5618c26c" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-correlation-request-id": [ "9055c673-2cd5-4416-a9a6-66e52fa88f6a" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T072403Z:9055c673-2cd5-4416-a9a6-66e52fa88f6a" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:24:03 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"764ecc56-a76f-47d1-bc51-0ab7fc8c90c2\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:23:01.107Z\"}" + } + }, + "Update-AzMySqlServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "5", "6", "7" ], + "x-ms-client-request-id": [ "d3aec7bc-3d96-45e1-8888-1b4cec6f9def", "d3aec7bc-3d96-45e1-8888-1b4cec6f9def", "d3aec7bc-3d96-45e1-8888-1b4cec6f9def" ], + "CommandName": [ "Az.MySql.internal\\Update-AzMySqlServer", "Az.MySql.internal\\Update-AzMySqlServer", "Az.MySql.internal\\Update-AzMySqlServer" ], + "FullCommandName": [ "Update-AzMySqlServer_UpdateViaIdentityExpanded", "Update-AzMySqlServer_UpdateViaIdentityExpanded", "Update-AzMySqlServer_UpdateViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ "gateway" ], - "x-ms-request-id": [ "aabc1180-234a-4808-9349-7b9a2b407ea6" ], - "x-ms-correlation-request-id": [ "aabc1180-234a-4808-9349-7b9a2b407ea6" ], - "x-ms-routing-request-id": [ "WESTUS2:20201110T002740Z:aabc1180-234a-4808-9349-7b9a2b407ea6" ], + "x-ms-request-id": [ "07142761-eb4b-4287-a016-56d8f764262e" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "fbe2ac14-3746-41c2-b7d8-c9bae0f50a55" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T072403Z:fbe2ac14-3746-41c2-b7d8-c9bae0f50a55" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 10 Nov 2020 00:27:39 GMT" ] + "Date": [ "Fri, 24 Jul 2020 07:24:03 GMT" ] }, "ContentHeaders": { + "Content-Length": [ "909" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ], - "Content-Length": [ "224" ] + "Expires": [ "-1" ] }, - "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForMySQL/servers/mysql-test-100\u0027 under resource group \u0027MySqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" } } } \ No newline at end of file diff --git a/src/MySql/test/Update-AzMySqlVirtualNetworkRule.Recording.json b/src/MySql/test/Update-AzMySqlVirtualNetworkRule.Recording.json index 9ed93096abfd..a037614c5052 100644 --- a/src/MySql/test/Update-AzMySqlVirtualNetworkRule.Recording.json +++ b/src/MySql/test/Update-AzMySqlVirtualNetworkRule.Recording.json @@ -1,68 +1,706 @@ { - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\n }\n}", "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "213" ] + "Content-Length": [ "209" ] } }, "Response": { - "StatusCode": 404, + "StatusCode": 202, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ "gateway" ], - "x-ms-request-id": [ "125219fb-ca00-4d40-831a-bd06c89d4c3b" ], - "x-ms-correlation-request-id": [ "125219fb-ca00-4d40-831a-bd06c89d4c3b" ], - "x-ms-routing-request-id": [ "WESTUS2:20201110T002741Z:125219fb-ca00-4d40-831a-bd06c89d4c3b" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/630106f5-1b26-4eda-a58c-cbaf968992b2?api-version=2017-12-01" ], + "Retry-After": [ "30" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/630106f5-1b26-4eda-a58c-cbaf968992b2?api-version=2017-12-01" ], + "x-ms-request-id": [ "630106f5-1b26-4eda-a58c-cbaf968992b2" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], + "x-ms-correlation-request-id": [ "d355ff99-65bf-4eab-b3c4-735d62475f33" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T072722Z:d355ff99-65bf-4eab-b3c4-735d62475f33" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 10 Nov 2020 00:27:40 GMT" ] + "Date": [ "Fri, 24 Jul 2020 07:27:22 GMT" ] }, "ContentHeaders": { + "Content-Length": [ "90" ], "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T07:27:21.587Z\"}" + } + }, + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/630106f5-1b26-4eda-a58c-cbaf968992b2?api-version=2017-12-01+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/630106f5-1b26-4eda-a58c-cbaf968992b2?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2" ], + "x-ms-client-request-id": [ "a7269d29-0f0e-49e2-b586-52c97a25f2df", "a7269d29-0f0e-49e2-b586-52c97a25f2df" ], + "CommandName": [ "New-AzMySqlVirtualNetworkRule", "New-AzMySqlVirtualNetworkRule" ], + "FullCommandName": [ "New-AzMySqlVirtualNetworkRule_CreateExpanded", "New-AzMySqlVirtualNetworkRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "a12f9302-8ec5-479a-980b-48ffe04cca15" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], + "x-ms-correlation-request-id": [ "35e64c69-5a17-4091-ae9d-18e915b4e46c" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T072753Z:35e64c69-5a17-4091-ae9d-18e915b4e46c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:27:52 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"630106f5-1b26-4eda-a58c-cbaf968992b2\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:27:21.587Z\"}" + } + }, + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2", "3" ], + "x-ms-client-request-id": [ "a7269d29-0f0e-49e2-b586-52c97a25f2df", "a7269d29-0f0e-49e2-b586-52c97a25f2df", "a7269d29-0f0e-49e2-b586-52c97a25f2df" ], + "CommandName": [ "New-AzMySqlVirtualNetworkRule", "New-AzMySqlVirtualNetworkRule", "New-AzMySqlVirtualNetworkRule" ], + "FullCommandName": [ "New-AzMySqlVirtualNetworkRule_CreateExpanded", "New-AzMySqlVirtualNetworkRule_CreateExpanded", "New-AzMySqlVirtualNetworkRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "65e7ccf3-f28f-40e4-bdd9-54a73b8a9a65" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], + "x-ms-correlation-request-id": [ "e9a55077-bcdd-4bb0-88ec-c6fa828f68a8" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T072753Z:e9a55077-bcdd-4bb0-88ec-c6fa828f68a8" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:27:52 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "497" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBforMySQL/servers/virtualNetworkRules\"}" + } + }, + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+4": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet2\"\n }\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "209" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/4643d496-aa9a-4edc-b014-679e5e1aeae4?api-version=2017-12-01" ], + "Retry-After": [ "30" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/4643d496-aa9a-4edc-b014-679e5e1aeae4?api-version=2017-12-01" ], + "x-ms-request-id": [ "4643d496-aa9a-4edc-b014-679e5e1aeae4" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], + "x-ms-correlation-request-id": [ "ee10868c-7402-4b4c-aa9b-9a2ffcdb6ef5" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T072755Z:ee10868c-7402-4b4c-aa9b-9a2ffcdb6ef5" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:27:54 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "90" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T07:27:54.073Z\"}" + } + }, + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/4643d496-aa9a-4edc-b014-679e5e1aeae4?api-version=2017-12-01+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/4643d496-aa9a-4edc-b014-679e5e1aeae4?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "4", "5" ], + "x-ms-client-request-id": [ "85bb2f0f-b2bd-43a1-a946-fa44ebf54efb", "85bb2f0f-b2bd-43a1-a946-fa44ebf54efb" ], + "CommandName": [ "Update-AzMySqlVirtualNetworkRule", "Update-AzMySqlVirtualNetworkRule" ], + "FullCommandName": [ "Update-AzMySqlVirtualNetworkRule_UpdateExpanded", "Update-AzMySqlVirtualNetworkRule_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "2c9a0380-26bb-4ad2-82f7-baf2ce4dd5e2" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], + "x-ms-correlation-request-id": [ "2f04dbfa-5acb-4e7e-917a-2f64b5bfa240" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T072825Z:2f04dbfa-5acb-4e7e-917a-2f64b5bfa240" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:28:25 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"4643d496-aa9a-4edc-b014-679e5e1aeae4\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:27:54.073Z\"}" + } + }, + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "4", "5", "6" ], + "x-ms-client-request-id": [ "85bb2f0f-b2bd-43a1-a946-fa44ebf54efb", "85bb2f0f-b2bd-43a1-a946-fa44ebf54efb", "85bb2f0f-b2bd-43a1-a946-fa44ebf54efb" ], + "CommandName": [ "Update-AzMySqlVirtualNetworkRule", "Update-AzMySqlVirtualNetworkRule", "Update-AzMySqlVirtualNetworkRule" ], + "FullCommandName": [ "Update-AzMySqlVirtualNetworkRule_UpdateExpanded", "Update-AzMySqlVirtualNetworkRule_UpdateExpanded", "Update-AzMySqlVirtualNetworkRule_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "23422aa6-d404-429c-9616-2eb3f69a9f55" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], + "x-ms-correlation-request-id": [ "a0708390-e4d0-45cd-a4da-07ab53234074" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T072826Z:a0708390-e4d0-45cd-a4da-07ab53234074" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:28:25 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "497" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet2\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBforMySQL/servers/virtualNetworkRules\"}" + } + }, + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+7": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "7" ], + "x-ms-client-request-id": [ "4c4ed391-2e85-45bf-a74c-93f54b3fb2b9" ], + "CommandName": [ "Remove-AzMySqlVirtualNetworkRule" ], + "FullCommandName": [ "Remove-AzMySqlVirtualNetworkRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/a629bc60-9141-4a73-b3c8-109e5b583c22?api-version=2017-12-01" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/a629bc60-9141-4a73-b3c8-109e5b583c22?api-version=2017-12-01" ], + "x-ms-request-id": [ "a629bc60-9141-4a73-b3c8-109e5b583c22" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14997" ], + "x-ms-correlation-request-id": [ "687eff4e-6759-4923-b9af-0cbfab59434b" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T072827Z:687eff4e-6759-4923-b9af-0cbfab59434b" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:28:27 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "88" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T07:28:26.463Z\"}" + } + }, + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/a629bc60-9141-4a73-b3c8-109e5b583c22?api-version=2017-12-01+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/a629bc60-9141-4a73-b3c8-109e5b583c22?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "7", "8" ], + "x-ms-client-request-id": [ "4c4ed391-2e85-45bf-a74c-93f54b3fb2b9", "4c4ed391-2e85-45bf-a74c-93f54b3fb2b9" ], + "CommandName": [ "Remove-AzMySqlVirtualNetworkRule", "Remove-AzMySqlVirtualNetworkRule" ], + "FullCommandName": [ "Remove-AzMySqlVirtualNetworkRule_Delete", "Remove-AzMySqlVirtualNetworkRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "12f9161b-ea25-4201-930f-eed66afe6820" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], + "x-ms-correlation-request-id": [ "165f32de-dd92-4b9f-b730-4ec98386c6ec" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T072843Z:165f32de-dd92-4b9f-b730-4ec98386c6ec" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:28:42 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"a629bc60-9141-4a73-b3c8-109e5b583c22\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:28:26.463Z\"}" + } + }, + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/a629bc60-9141-4a73-b3c8-109e5b583c22?api-version=2017-12-01+9": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/a629bc60-9141-4a73-b3c8-109e5b583c22?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "7", "8", "9" ], + "x-ms-client-request-id": [ "4c4ed391-2e85-45bf-a74c-93f54b3fb2b9", "4c4ed391-2e85-45bf-a74c-93f54b3fb2b9", "4c4ed391-2e85-45bf-a74c-93f54b3fb2b9" ], + "CommandName": [ "Remove-AzMySqlVirtualNetworkRule", "Remove-AzMySqlVirtualNetworkRule", "Remove-AzMySqlVirtualNetworkRule" ], + "FullCommandName": [ "Remove-AzMySqlVirtualNetworkRule_Delete", "Remove-AzMySqlVirtualNetworkRule_Delete", "Remove-AzMySqlVirtualNetworkRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "de7f12ff-852f-47c7-865f-07163e70b7c1" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], + "x-ms-correlation-request-id": [ "ea1f1beb-59f2-4432-88b6-c0f90e431a08" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T072843Z:ea1f1beb-59f2-4432-88b6-c0f90e431a08" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:28:43 GMT" ] + }, + "ContentHeaders": { "Expires": [ "-1" ], - "Content-Length": [ "155" ] + "Content-Length": [ "0" ] }, - "Content": "{\"error\":{\"code\":\"ParentResourceNotFound\",\"message\":\"Can not perform requested operation on nested resource. Parent resource \u0027mysql-test-100\u0027 not found.\"}}" + "Content": null } }, - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\n }\n}", "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "213" ] + "Content-Length": [ "209" ] } }, "Response": { - "StatusCode": 404, + "StatusCode": 202, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ "gateway" ], - "x-ms-request-id": [ "8b1a7cdd-98d8-4516-ab48-47dd9bf43b31" ], - "x-ms-correlation-request-id": [ "8b1a7cdd-98d8-4516-ab48-47dd9bf43b31" ], - "x-ms-routing-request-id": [ "WESTUS2:20201110T002741Z:8b1a7cdd-98d8-4516-ab48-47dd9bf43b31" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/d1087740-15b7-4fbe-bd3b-cd12fb123e2d?api-version=2017-12-01" ], + "Retry-After": [ "30" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d1087740-15b7-4fbe-bd3b-cd12fb123e2d?api-version=2017-12-01" ], + "x-ms-request-id": [ "d1087740-15b7-4fbe-bd3b-cd12fb123e2d" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1194" ], + "x-ms-correlation-request-id": [ "b57dcbd4-7cd7-4870-81f1-e8c02ccd4a11" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T072845Z:b57dcbd4-7cd7-4870-81f1-e8c02ccd4a11" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 10 Nov 2020 00:27:41 GMT" ] + "Date": [ "Fri, 24 Jul 2020 07:28:44 GMT" ] }, "ContentHeaders": { + "Content-Length": [ "90" ], "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T07:28:43.823Z\"}" + } + }, + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d1087740-15b7-4fbe-bd3b-cd12fb123e2d?api-version=2017-12-01+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d1087740-15b7-4fbe-bd3b-cd12fb123e2d?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "10", "11" ], + "x-ms-client-request-id": [ "c0ef821c-fa5a-48f7-9076-87bf63b9a8a1", "c0ef821c-fa5a-48f7-9076-87bf63b9a8a1" ], + "CommandName": [ "New-AzMySqlVirtualNetworkRule", "New-AzMySqlVirtualNetworkRule" ], + "FullCommandName": [ "New-AzMySqlVirtualNetworkRule_CreateExpanded", "New-AzMySqlVirtualNetworkRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "9e706d9b-31b6-47ab-9c93-29600c8392a9" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], + "x-ms-correlation-request-id": [ "60c36781-795f-4683-881a-e86523ea08ea" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T072915Z:60c36781-795f-4683-881a-e86523ea08ea" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:29:14 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d1087740-15b7-4fbe-bd3b-cd12fb123e2d\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:28:43.823Z\"}" + } + }, + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "10", "11", "12" ], + "x-ms-client-request-id": [ "c0ef821c-fa5a-48f7-9076-87bf63b9a8a1", "c0ef821c-fa5a-48f7-9076-87bf63b9a8a1", "c0ef821c-fa5a-48f7-9076-87bf63b9a8a1" ], + "CommandName": [ "New-AzMySqlVirtualNetworkRule", "New-AzMySqlVirtualNetworkRule", "New-AzMySqlVirtualNetworkRule" ], + "FullCommandName": [ "New-AzMySqlVirtualNetworkRule_CreateExpanded", "New-AzMySqlVirtualNetworkRule_CreateExpanded", "New-AzMySqlVirtualNetworkRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "6e774e54-860b-48bf-bfad-e594cc80155b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], + "x-ms-correlation-request-id": [ "93e578af-a046-4360-8ccd-44af0eb8f20c" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T072915Z:93e578af-a046-4360-8ccd-44af0eb8f20c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:29:15 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "497" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBforMySQL/servers/virtualNetworkRules\"}" + } + }, + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+4": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet2\"\n }\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "209" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/444b75d7-e999-40ab-8ab2-b92e9ea1e3a2?api-version=2017-12-01" ], + "Retry-After": [ "30" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/444b75d7-e999-40ab-8ab2-b92e9ea1e3a2?api-version=2017-12-01" ], + "x-ms-request-id": [ "444b75d7-e999-40ab-8ab2-b92e9ea1e3a2" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1193" ], + "x-ms-correlation-request-id": [ "08c44b1b-70ea-4023-ab02-6e22b3755c4e" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T072917Z:08c44b1b-70ea-4023-ab02-6e22b3755c4e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:29:17 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "90" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T07:29:16.323Z\"}" + } + }, + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/444b75d7-e999-40ab-8ab2-b92e9ea1e3a2?api-version=2017-12-01+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/444b75d7-e999-40ab-8ab2-b92e9ea1e3a2?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "13", "14" ], + "x-ms-client-request-id": [ "635f4676-fd6d-442c-936e-4cc6beeaf230", "635f4676-fd6d-442c-936e-4cc6beeaf230" ], + "CommandName": [ "Update-AzMySqlVirtualNetworkRule", "Update-AzMySqlVirtualNetworkRule" ], + "FullCommandName": [ "Update-AzMySqlVirtualNetworkRule_UpdateViaIdentityExpanded", "Update-AzMySqlVirtualNetworkRule_UpdateViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-request-id": [ "ba21e7ab-745a-4eb6-8387-d5f9c2c53bf8" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11980" ], + "x-ms-correlation-request-id": [ "0ba82f4c-76e9-461b-877c-b15499df9779" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T072947Z:0ba82f4c-76e9-461b-877c-b15499df9779" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:29:47 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"444b75d7-e999-40ab-8ab2-b92e9ea1e3a2\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:29:16.323Z\"}" + } + }, + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "13", "14", "15" ], + "x-ms-client-request-id": [ "635f4676-fd6d-442c-936e-4cc6beeaf230", "635f4676-fd6d-442c-936e-4cc6beeaf230", "635f4676-fd6d-442c-936e-4cc6beeaf230" ], + "CommandName": [ "Update-AzMySqlVirtualNetworkRule", "Update-AzMySqlVirtualNetworkRule", "Update-AzMySqlVirtualNetworkRule" ], + "FullCommandName": [ "Update-AzMySqlVirtualNetworkRule_UpdateViaIdentityExpanded", "Update-AzMySqlVirtualNetworkRule_UpdateViaIdentityExpanded", "Update-AzMySqlVirtualNetworkRule_UpdateViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "7ce92d2f-f0df-4449-85bd-d8354c81bc26" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11979" ], + "x-ms-correlation-request-id": [ "fa860df2-d0ad-4886-9b8b-6d45da779ec4" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T072948Z:fa860df2-d0ad-4886-9b8b-6d45da779ec4" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:29:47 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "497" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet2\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBforMySQL/servers/virtualNetworkRules\"}" + } + }, + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+7": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "16" ], + "x-ms-client-request-id": [ "f3a356cb-6e6b-4294-ac27-ec2c3afb02c2" ], + "CommandName": [ "Remove-AzMySqlVirtualNetworkRule" ], + "FullCommandName": [ "Remove-AzMySqlVirtualNetworkRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/fffe0835-0317-4a30-a4b6-cbad1f09f1aa?api-version=2017-12-01" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/fffe0835-0317-4a30-a4b6-cbad1f09f1aa?api-version=2017-12-01" ], + "x-ms-request-id": [ "fffe0835-0317-4a30-a4b6-cbad1f09f1aa" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14996" ], + "x-ms-correlation-request-id": [ "fcf734d0-7bdd-4b97-96f4-e01ea34fcc71" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T072950Z:fcf734d0-7bdd-4b97-96f4-e01ea34fcc71" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:29:50 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "87" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T07:29:48.65Z\"}" + } + }, + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/fffe0835-0317-4a30-a4b6-cbad1f09f1aa?api-version=2017-12-01+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/fffe0835-0317-4a30-a4b6-cbad1f09f1aa?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "16", "17" ], + "x-ms-client-request-id": [ "f3a356cb-6e6b-4294-ac27-ec2c3afb02c2", "f3a356cb-6e6b-4294-ac27-ec2c3afb02c2" ], + "CommandName": [ "Remove-AzMySqlVirtualNetworkRule", "Remove-AzMySqlVirtualNetworkRule" ], + "FullCommandName": [ "Remove-AzMySqlVirtualNetworkRule_Delete", "Remove-AzMySqlVirtualNetworkRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "58782c94-9ffc-47f0-be4f-c50c16a32ecf" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], + "x-ms-correlation-request-id": [ "ff7b05c2-174e-41aa-b737-321b5aff38f2" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T073006Z:ff7b05c2-174e-41aa-b737-321b5aff38f2" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:30:05 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"fffe0835-0317-4a30-a4b6-cbad1f09f1aa\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:29:48.65Z\"}" + } + }, + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/fffe0835-0317-4a30-a4b6-cbad1f09f1aa?api-version=2017-12-01+9": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/fffe0835-0317-4a30-a4b6-cbad1f09f1aa?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "16", "17", "18" ], + "x-ms-client-request-id": [ "f3a356cb-6e6b-4294-ac27-ec2c3afb02c2", "f3a356cb-6e6b-4294-ac27-ec2c3afb02c2", "f3a356cb-6e6b-4294-ac27-ec2c3afb02c2" ], + "CommandName": [ "Remove-AzMySqlVirtualNetworkRule", "Remove-AzMySqlVirtualNetworkRule", "Remove-AzMySqlVirtualNetworkRule" ], + "FullCommandName": [ "Remove-AzMySqlVirtualNetworkRule_Delete", "Remove-AzMySqlVirtualNetworkRule_Delete", "Remove-AzMySqlVirtualNetworkRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "2f1a1908-6e5a-4a46-b540-40d4894a7e6f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], + "x-ms-correlation-request-id": [ "887f1202-85fa-44ae-ab19-57f75ca2c83d" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200724T073006Z:887f1202-85fa-44ae-ab19-57f75ca2c83d" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 24 Jul 2020 07:30:05 GMT" ] + }, + "ContentHeaders": { "Expires": [ "-1" ], - "Content-Length": [ "155" ] + "Content-Length": [ "0" ] }, - "Content": "{\"error\":{\"code\":\"ParentResourceNotFound\",\"message\":\"Can not perform requested operation on nested resource. Parent resource \u0027mysql-test-100\u0027 not found.\"}}" + "Content": null } } } \ No newline at end of file diff --git a/src/MySql/test/env.json b/src/MySql/test/env.json index 0529ca89ff0d..f5d99f64effd 100644 --- a/src/MySql/test/env.json +++ b/src/MySql/test/env.json @@ -1,15 +1,16 @@ { - "serverName2": "mysql-test-100-2", - "serverName": "mysql-test-100", "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "Sku": "Standard_B1ms", - "SubscriptionId": "7fec3109-5b78-4a24-b834-5d47d63e2596", - "firewallRuleName2": "mysqlrule02", - "replicaName": "mysql-test-100-replica", "firewallRuleName": "mysqlrule01", "resourceGroup": "MySqlTest", + "Sku": "GP_Gen5_4", + "firewallRuleName2": "mysqlrule02", + "location": "westus2", "databaseName": "mysqldb", + "serverName": "mysql-test-100", + "FlexibleSku": "Standard_B1ms", + "restoreName": "mysql-test-100-restore", + "replicaName": "mysql-test-100-replica", + "SubscriptionId": "7fec3109-5b78-4a24-b834-5d47d63e2596", "restoreName2": "mysql-test-100-restore-2", - "location": "westus2", - "restoreName": "mysql-test-100-restore" + "serverName2": "mysql-test-100-2" } diff --git a/src/MySql/test/utils.ps1 b/src/MySql/test/utils.ps1 index dca7fea04307..da9e9c36fb4e 100644 --- a/src/MySql/test/utils.ps1 +++ b/src/MySql/test/utils.ps1 @@ -27,7 +27,7 @@ function setupFlexibleServerEnv() { $location = "westus2" $env.Add("resourceGroup", $resourceGroup) $env.Add("location", $location) - New-AzResourceGroup -Name $resourceGroup -Location $location + # New-AzResourceGroup -Name $resourceGroup -Location $location #[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] $password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force @@ -40,11 +40,11 @@ function setupFlexibleServerEnv() { write-host (Get-AzContext | Out-String) - write-host "New-AzMySqlServer -Name $serverName -ResourceGroupName $resourceGroup -Location $location -AdministratorUserName mysql_test -AdministratorLoginPassword $password -Sku $Sku" - New-AzMySqlServer -Name $serverName -ResourceGroupName $resourceGroup -Location $location -AdministratorUserName mysql_test -AdministratorLoginPassword $password -Sku $Sku + # write-host "New-AzMySqlServer -Name $serverName -ResourceGroupName $resourceGroup -Location $location -AdministratorUserName mysql_test -AdministratorLoginPassword $password -Sku $Sku" + # New-AzMySqlServer -Name $serverName -ResourceGroupName $resourceGroup -Location $location -AdministratorUserName mysql_test -AdministratorLoginPassword $password -Sku $Sku - write-host "New-AzMySqlFlexibleServer -Name $serverName -ResourceGroupName $resourceGroup -AdministratorUserName mysql_test -AdministratorLoginPassword $password" - New-AzMySqlFlexibleServer -Name $serverName -ResourceGroupName $resourceGroup -AdministratorUserName mysql_test -AdministratorLoginPassword $password + # write-host "New-AzMySqlFlexibleServer -Name $serverName -ResourceGroupName $resourceGroup -AdministratorUserName mysql_test -AdministratorLoginPassword $password" + # New-AzMySqlFlexibleServer -Name $serverName -ResourceGroupName $resourceGroup -AdministratorUserName mysql_test -AdministratorLoginPassword $password $envFile = 'env.json' if ($TestMode -eq 'live') { @@ -56,5 +56,5 @@ function cleanupEnv() { # Clean resources you create for testing # Removing resourcegroup will clean all the resources created for testing. write-host "Clean resources you create for testing." - Remove-AzResourceGroup -Name $env.resourceGroup + # Remove-AzResourceGroup -Name $env.resourceGroup } From 18fb3070d26798efbfcb5d7575c9fb75df04ee82 Mon Sep 17 00:00:00 2001 From: Daeun Yim Date: Thu, 12 Nov 2020 00:18:19 -0800 Subject: [PATCH 14/51] pg module --- src/MySql/test/Az.MySql-TestResults.xml | 215 ++++- ...zPostgreSqlFlexibleServerConfiguration.ps1 | 138 +++ src/PostgreSql/docs/Az.PostgreSql.md | 2 +- ...AzPostgreSqlFlexibleServerConfiguration.md | 4 +- .../Restart-AzPostgreSqlFlexibleServer.md | 2 +- .../Restore-AzPostgreSqlFlexibleServer.md | 4 +- .../docs/Start-AzPostgreSqlFlexibleServer.md | 2 +- .../docs/Stop-AzPostgreSqlFlexibleServer.md | 2 +- ...AzPostgreSqlFlexibleServerConfiguration.md | 96 ++- ...AzPostgreSqlFlexibleServerConfiguration.md | 21 +- src/PostgreSql/readme.md | 4 + ...t-AzPostgreSqlConfiguration.Recording.json | 93 ++- ...zPostgreSqlConnectionString.Recording.json | 366 +++++++- ...et-AzPostgreSqlFirewallRule.Recording.json | 786 +++++++++++++++++- ...-AzPostgreSqlFlexibleServer.Recording.json | 74 +- .../Get-AzPostgreSqlFlexibleServer.Tests.ps1 | 2 +- ...FlexibleServerConfiguration.Recording.json | 18 +- ...lFlexibleServerFirewallRule.Recording.json | 24 +- ...-AzPostgreSqlFlexibleServer.Recording.json | 118 +++ .../New-AzPostgreSqlFlexibleServer.Tests.ps1 | 4 +- ...lFlexibleServerFirewallRule.Recording.json | 36 +- ...-AzPostgreSqlFlexibleServer.Recording.json | 18 +- ...lFlexibleServerFirewallRule.Recording.json | 24 +- ...-AzPostgreSqlFlexibleServer.Recording.json | 218 +++-- ...-AzPostgreSqlFlexibleServer.Recording.json | 358 ++++++++ ...store-AzPostgreSqlFlexibleServer.Tests.ps1 | 2 +- ...-AzPostgreSqlFlexibleServer.Recording.json | 456 ++++++---- ...-AzPostgreSqlFlexibleServer.Recording.json | 422 +++++++++- .../Stop-AzPostgreSqlFlexibleServer.Tests.ps1 | 1 + ...-AzPostgreSqlFlexibleServer.Recording.json | 132 +-- ...pdate-AzPostgreSqlFlexibleServer.Tests.ps1 | 4 +- ...FlexibleServerConfiguration.Recording.json | 234 ++++++ ...reSqlFlexibleServerConfiguration.Tests.ps1 | 4 +- ...lFlexibleServerFirewallRule.Recording.json | 279 +++---- ...greSqlFlexibleServerFirewallRule.Tests.ps1 | 8 +- src/PostgreSql/test/env.json | 21 +- src/PostgreSql/test/utils.ps1 | 20 +- 37 files changed, 3449 insertions(+), 763 deletions(-) create mode 100644 src/PostgreSql/custom/Update-AzPostgreSqlFlexibleServerConfiguration.ps1 create mode 100644 src/PostgreSql/test/New-AzPostgreSqlFlexibleServer.Recording.json create mode 100644 src/PostgreSql/test/Restore-AzPostgreSqlFlexibleServer.Recording.json create mode 100644 src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerConfiguration.Recording.json diff --git a/src/MySql/test/Az.MySql-TestResults.xml b/src/MySql/test/Az.MySql-TestResults.xml index cfc416758c3b..e10df6fb115b 100644 --- a/src/MySql/test/Az.MySql-TestResults.xml +++ b/src/MySql/test/Az.MySql-TestResults.xml @@ -1,14 +1,217 @@  - - + + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/PostgreSql/custom/Update-AzPostgreSqlFlexibleServerConfiguration.ps1 b/src/PostgreSql/custom/Update-AzPostgreSqlFlexibleServerConfiguration.ps1 new file mode 100644 index 000000000000..b7a473c77bbc --- /dev/null +++ b/src/PostgreSql/custom/Update-AzPostgreSqlFlexibleServerConfiguration.ps1 @@ -0,0 +1,138 @@ +function Update-AzPostgreSqlFlexibleServerConfiguration { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20200214Preview.IConfigurationAutoGenerated])] +[CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +param( + [Parameter(ParameterSetName='Update', Mandatory)] + [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] + [Alias('ConfigurationName')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] + [System.String] + # The name of the server configuration. + ${Name}, + + [Parameter(ParameterSetName='Update', Mandatory)] + [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] + [System.String] + # The name of the resource group. + # The name is case insensitive. + ${ResourceGroupName}, + + [Parameter(ParameterSetName='Update', Mandatory)] + [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] + [System.String] + # The name of the server. + ${ServerName}, + + [Parameter(ParameterSetName='Update')] + [Parameter(ParameterSetName='UpdateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String] + # The ID of the target subscription. + ${SubscriptionId}, + + [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity] + # Identity Parameter + # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + ${InputObject}, + + [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20200214Preview.IConfigurationAutoGenerated] + # Represents a Configuration. + # To construct, see NOTES section for PARAMETER properties and create a hash table. + ${Parameter}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] + [System.String] + # Source of the configuration. + ${Source}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] + [System.String] + # Value of the configuration. + ${Value}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Azure')] + [System.Management.Automation.PSObject] + # The credentials, account, tenant, and subscription used for communication with Azure. + ${DefaultProfile}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command as a job + ${AsJob}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command asynchronously + ${NoWait}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} +) + + process { + try { + if(!$PSBoundParameters.ContainsKey('Source')) + { + $PSBoundParameters.Source = 'user-override' + } + Az.PostgreSql.internal\Update-AzPostgreSqlFlexibleServerConfiguration @PSBoundParameters + } catch { + throw + } +} + +} diff --git a/src/PostgreSql/docs/Az.PostgreSql.md b/src/PostgreSql/docs/Az.PostgreSql.md index f347deb46e5d..c77fc0aae797 100644 --- a/src/PostgreSql/docs/Az.PostgreSql.md +++ b/src/PostgreSql/docs/Az.PostgreSql.md @@ -105,7 +105,7 @@ The request body can contain one to many of the properties present in the normal Use Update-AzPostgreSqlConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count. ### [Update-AzPostgreSqlFlexibleServerConfiguration](Update-AzPostgreSqlFlexibleServerConfiguration.md) -Updates a configuration of a server. + ### [Update-AzPostgreSqlFlexibleServerFirewallRule](Update-AzPostgreSqlFlexibleServerFirewallRule.md) Creates a new firewall rule or updates an existing firewall rule. diff --git a/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerConfiguration.md b/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerConfiguration.md index 849692b47a08..6fc88efabed9 100644 --- a/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerConfiguration.md +++ b/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerConfiguration.md @@ -41,7 +41,7 @@ PS C:\> Get-AzPostgreSqlFlexibleServerConfiguration -Name work_mem -ResourceGrou Name Value DefaultValue Source AllowedValues DataType ---- ------ ------------ ------- ------------- --------- -work_mem 4096 4096 system-default 4096-2097151 Integer +work_mem 4096 4096 system-default 4096-2097151 Integer ``` This cmdlet gets specified PostgreSql configuration by name. @@ -52,7 +52,7 @@ PS C:\> Get-AzPostgreSqlFlexibleServerConfiguration -ResourceGroupName Powershel Name Value DefaultValue Source AllowedValues DataType ---- ------ ------------ ------- ------------- --------- -application_name "" "" system-default [A-Za-z0-9._-]* String +application_name "" "" system-default [A-Za-z0-9._-]* String ... pgbouncer.enabled false false system-default true, false Boolean ``` diff --git a/src/PostgreSql/docs/Restart-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/docs/Restart-AzPostgreSqlFlexibleServer.md index 74df6bd9933e..c76109cbab18 100644 --- a/src/PostgreSql/docs/Restart-AzPostgreSqlFlexibleServer.md +++ b/src/PostgreSql/docs/Restart-AzPostgreSqlFlexibleServer.md @@ -38,7 +38,7 @@ Restart the server by name ### Example 2: Restart the server by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test/restart" PS C:\> Restart-AzPostgreSqlFlexibleServer -InputObject $ID ``` diff --git a/src/PostgreSql/docs/Restore-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/docs/Restore-AzPostgreSqlFlexibleServer.md index 2d926bdfec0d..ec8ec7e51760 100644 --- a/src/PostgreSql/docs/Restore-AzPostgreSqlFlexibleServer.md +++ b/src/PostgreSql/docs/Restore-AzPostgreSqlFlexibleServer.md @@ -26,11 +26,11 @@ Restore a server from an existing backup ### Example 1: Restore PostgreSql server using PointInTime Restore ```powershell PS C:\> $restorePointInTime = (Get-Date).AddMinutes(-10) -PS C:\> Restore-AzPostgreSqlFlexibleServer -Name PostgreSql-test-restore -ResourceGroupName PowershellPostgreSqlTest -SourceServerName postgresql-test -Location westus2 -RestorePointInTime $restorePointInTime +PS C:\> Restore-AzPostgreSqlFlexibleServer -Name postgresql-test-restore -ResourceGroupName PowershellPostgreSqlTest -SourceServerName postgresql-test -Location eastus -RestorePointInTime $restorePointInTime Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ---- -------- ------------------ ------- ----------------------- ------- ------- -PostgreSql-test-restore eastus postgresql_test 5.7 10240 Standard_D2s_v3 GeneralPurpose +postgresql-test-restore eastus postgresql_test 12 131072 Standard_D2s_v3 GeneralPurpose ``` These cmdlets restore PostgreSql server using PointInTime Restore. diff --git a/src/PostgreSql/docs/Start-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/docs/Start-AzPostgreSqlFlexibleServer.md index 75642b7b5b2c..104fa821ca35 100644 --- a/src/PostgreSql/docs/Start-AzPostgreSqlFlexibleServer.md +++ b/src/PostgreSql/docs/Start-AzPostgreSqlFlexibleServer.md @@ -38,7 +38,7 @@ Start the server by name ### Example 2: Start the server by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test/start" PS C:\> Start-AzPostgreSqlFlexibleServer -InputObject $ID ``` diff --git a/src/PostgreSql/docs/Stop-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/docs/Stop-AzPostgreSqlFlexibleServer.md index 96e9ffbac162..aff68e32a790 100644 --- a/src/PostgreSql/docs/Stop-AzPostgreSqlFlexibleServer.md +++ b/src/PostgreSql/docs/Stop-AzPostgreSqlFlexibleServer.md @@ -38,7 +38,7 @@ Stop the server by name ### Example 2: Stop the server by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test/stop" PS C:\> Stop-AzPostgreSqlFlexibleServer -InputObject $ID ``` diff --git a/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServerConfiguration.md b/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServerConfiguration.md index faa1d02536c7..09230ec06207 100644 --- a/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServerConfiguration.md +++ b/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServerConfiguration.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Update-AzPostgreSqlFlexibleServerConfiguration ## SYNOPSIS -Updates a configuration of a server. + ## SYNTAX @@ -19,6 +19,20 @@ Update-AzPostgreSqlFlexibleServerConfiguration -Name -ResourceGroupName [-NoWait] [-Confirm] [-WhatIf] [] ``` +### Update +``` +Update-AzPostgreSqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName + -Parameter [-SubscriptionId ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentity +``` +Update-AzPostgreSqlFlexibleServerConfiguration -InputObject + -Parameter [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + ### UpdateViaIdentityExpanded ``` Update-AzPostgreSqlFlexibleServerConfiguration -InputObject [-Source ] @@ -26,37 +40,32 @@ Update-AzPostgreSqlFlexibleServerConfiguration -InputObject Update-AzPostgreSqlFlexibleServer -Name work_mem -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test -Value 15 +PS C:\> {{ Add code here }} -Name Value DefaultValue Source AllowedValues DataType ----- ------ ------------ ------- ------------- --------- -work_mem 10240 4096 user-override 4096-2097151 Integer +{{ Add output here }} ``` -This cmdlet updates PostgreSql configuration by name. +{{ Add description here }} -### Example 2: Update PostgreSql configuration by identity. +### Example 2: {{ Add title here }} ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSql/flexibleServers/PostgreSql-test/configurations/wait_timeout" -PS C:\> Update-AzPostgreSqlFlexibleServer -InputObject $ID -Value 10240 +PS C:\> {{ Add code here }} -Name Value DefaultValue Source AllowedValues DataType ----- ------ ------------ ------- ------------- --------- -work_mem 10240 4096 system-default 4096-2097151 Integer +{{ Add output here }} ``` -These cmdlets update PostgreSql configuration by identity. +{{ Add description here }} ## PARAMETERS ### -AsJob -Run the command as a job + ```yaml Type: System.Management.Automation.SwitchParameter @@ -71,7 +80,7 @@ Accept wildcard characters: False ``` ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. + ```yaml Type: System.Management.Automation.PSObject @@ -86,12 +95,11 @@ Accept wildcard characters: False ``` ### -InputObject -Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity -Parameter Sets: UpdateViaIdentityExpanded +Parameter Sets: UpdateViaIdentity, UpdateViaIdentityExpanded Aliases: Required: True @@ -102,11 +110,11 @@ Accept wildcard characters: False ``` ### -Name -The name of the server configuration. + ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: Update, UpdateExpanded Aliases: ConfigurationName Required: True @@ -117,7 +125,7 @@ Accept wildcard characters: False ``` ### -NoWait -Run the command asynchronously + ```yaml Type: System.Management.Automation.SwitchParameter @@ -131,13 +139,27 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -Parameter +To construct, see NOTES section for PARAMETER properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20200214Preview.IConfigurationAutoGenerated +Parameter Sets: Update, UpdateViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -ResourceGroupName -The name of the resource group. -The name is case insensitive. + ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: Update, UpdateExpanded Aliases: Required: True @@ -148,11 +170,11 @@ Accept wildcard characters: False ``` ### -ServerName -The name of the server. + ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: Update, UpdateExpanded Aliases: Required: True @@ -163,11 +185,11 @@ Accept wildcard characters: False ``` ### -Source -Source of the configuration. + ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -178,11 +200,11 @@ Accept wildcard characters: False ``` ### -SubscriptionId -The ID of the target subscription. + ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: Update, UpdateExpanded Aliases: Required: False @@ -193,11 +215,11 @@ Accept wildcard characters: False ``` ### -Value -Value of the configuration. + ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -243,6 +265,8 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20200214Preview.IConfigurationAutoGenerated + ### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity ## OUTPUTS @@ -258,7 +282,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -INPUTOBJECT : Identity Parameter +INPUTOBJECT : - `[ConfigurationName ]`: The name of the server configuration. - `[DatabaseName ]`: The name of the database. - `[FirewallRuleName ]`: The name of the server firewall rule. @@ -270,5 +294,9 @@ INPUTOBJECT : Identity Parameter - `[SubscriptionId ]`: The ID of the target subscription. - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. +PARAMETER : + - `[Source ]`: Source of the configuration. + - `[Value ]`: Value of the configuration. + ## RELATED LINKS diff --git a/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServerConfiguration.md b/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServerConfiguration.md index 09900236b420..093355d11d50 100644 --- a/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServerConfiguration.md +++ b/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServerConfiguration.md @@ -1,23 +1,18 @@ -### Example 1: Update PostgreSql configuration by name +### Example 1: {{ Add title here }} ```powershell -PS C:\> Update-AzPostgreSqlFlexibleServer -Name work_mem -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test -Value 15 +PS C:\> {{ Add code here }} -Name Value DefaultValue Source AllowedValues DataType ----- ------ ------------ ------- ------------- --------- -work_mem 10240 4096 user-override 4096-2097151 Integer +{{ Add output here }} ``` -This cmdlet updates PostgreSql configuration by name. +{{ Add description here }} -### Example 2: Update PostgreSql configuration by identity. +### Example 2: {{ Add title here }} ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSql/flexibleServers/PostgreSql-test/configurations/wait_timeout" -PS C:\> Update-AzPostgreSqlFlexibleServer -InputObject $ID -Value 10240 +PS C:\> {{ Add code here }} -Name Value DefaultValue Source AllowedValues DataType ----- ------ ------------ ------- ------------- --------- -work_mem 10240 4096 system-default 4096-2097151 Integer +{{ Add output here }} ``` -These cmdlets update PostgreSql configuration by identity. +{{ Add description here }} diff --git a/src/PostgreSql/readme.md b/src/PostgreSql/readme.md index 35c71231f83c..41aee61e3e3d 100644 --- a/src/PostgreSql/readme.md +++ b/src/PostgreSql/readme.md @@ -107,6 +107,10 @@ directive: variant: ^Create$|^CreateViaIdentity subject: ^Server$|^Configuration$|^FirewallRule$|^Database$|^LocationBasedPerformanceTier$|^LogFile$|^SecurityAlertPolicy$|^Administrator$|^NameAvailability$|^VirtualNetworkRule$ hide: true + - where: + verb: Update$ + subject: ^FlexibleServerConfiguration$ + hide: true - where: verb: New$|Update$ variant: ^(?!.*?Expanded) diff --git a/src/PostgreSql/test/Get-AzPostgreSqlConfiguration.Recording.json b/src/PostgreSql/test/Get-AzPostgreSqlConfiguration.Recording.json index a916f3e6f5e8..d1f457c53b44 100644 --- a/src/PostgreSql/test/Get-AzPostgreSqlConfiguration.Recording.json +++ b/src/PostgreSql/test/Get-AzPostgreSqlConfiguration.Recording.json @@ -1,12 +1,12 @@ { - "Get-AzPostgreSqlConfiguration+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations?api-version=2017-12-01+1": { + "Get-AzPostgreSqlConfiguration+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations?api-version=2017-12-01", "Content": null, "Headers": { - "x-ms-unique-id": [ "1" ], - "x-ms-client-request-id": [ "54d227df-90d4-4a40-9345-1b302ef81d47" ], + "x-ms-unique-id": [ "10" ], + "x-ms-client-request-id": [ "9672294f-cc94-4868-a6a2-c9b5daa2bf65" ], "CommandName": [ "Get-AzPostgreSqlConfiguration" ], "FullCommandName": [ "Get-AzPostgreSqlConfiguration_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -17,34 +17,35 @@ } }, "Response": { - "StatusCode": 404, + "StatusCode": 200, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ "gateway" ], - "x-ms-request-id": [ "3eb9c3e1-883b-41e2-8639-c54013a2fe49" ], - "x-ms-correlation-request-id": [ "3eb9c3e1-883b-41e2-8639-c54013a2fe49" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T064007Z:3eb9c3e1-883b-41e2-8639-c54013a2fe49" ], + "x-ms-request-id": [ "8c353601-8617-4a8d-887e-ba90533d43bb" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "0a41400e-d472-4c93-ad02-a040e9acef14" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110108Z:0a41400e-d472-4c93-ad02-a040e9acef14" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Wed, 11 Nov 2020 06:40:06 GMT" ] + "Date": [ "Fri, 25 Sep 2020 11:01:07 GMT" ] }, "ContentHeaders": { + "Content-Length": [ "89559" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ], - "Content-Length": [ "239" ] + "Expires": [ "-1" ] }, - "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForPostgreSQL/servers/postgresql-test-100\u0027 under resource group \u0027PostgreSqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" + "Content": "{\"value\":[{\"properties\":{\"value\":\"on\",\"description\":\"Enable input of NULL elements in arrays.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/array_nulls\",\"name\":\"array_nulls\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"safe_encoding\",\"description\":\"Sets whether \\\"\\\\\u0027\\\" is allowed in string literals.\",\"defaultValue\":\"safe_encoding\",\"dataType\":\"Enumeration\",\"allowedValues\":\"safe_encoding,on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/backslash_quote\",\"name\":\"backslash_quote\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"hex\",\"description\":\"Sets the output format for bytea.\",\"defaultValue\":\"hex\",\"dataType\":\"Enumeration\",\"allowedValues\":\"escape,hex\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/bytea_output\",\"name\":\"bytea_output\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Check function bodies during CREATE FUNCTION.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/check_function_bodies\",\"name\":\"check_function_bodies\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"sql_ascii\",\"description\":\"Sets the client\u0027s character set encoding.\",\"defaultValue\":\"sql_ascii\",\"dataType\":\"Enumeration\",\"allowedValues\":\"BIG5,EUC_CN,EUC_JP,EUC_JIS_2004,EUC_KR,EUC_TW,GB18030,GBK,ISO_8859_5,ISO_8859_6,ISO_8859_7,ISO_8859_8,JOHAB,KOI8R,KOI8U,LATIN1,LATIN2,LATIN3,LATIN4,LATIN5,LATIN6,LATIN7,LATIN8,LATIN9,LATIN10,MULE_INTERNAL,SJIS,SHIFT_JIS_2004,SQL_ASCII,UHC,UTF8,WIN866,WIN874,WIN1250,WIN1251,WIN1252,WIN1253,WIN1254,WIN1255,WIN1256,WIN1257,WIN1258\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/client_encoding\",\"name\":\"client_encoding\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"notice\",\"description\":\"Sets the message levels that are sent to the client.\",\"defaultValue\":\"notice\",\"dataType\":\"Enumeration\",\"allowedValues\":\"debug5,debug4,debug3,debug2,debug1,log,notice,warning,error\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/client_min_messages\",\"name\":\"client_min_messages\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"partition\",\"description\":\"Enables the planner to use constraints to optimize queries.\",\"defaultValue\":\"partition\",\"dataType\":\"Enumeration\",\"allowedValues\":\"partition,on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/constraint_exclusion\",\"name\":\"constraint_exclusion\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0.005\",\"description\":\"Sets the planner\u0027s estimate of the cost of processing each index entry during an index scan.\",\"defaultValue\":\"0.005\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/cpu_index_tuple_cost\",\"name\":\"cpu_index_tuple_cost\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0.0025\",\"description\":\"Sets the planner\u0027s estimate of the cost of processing each operator or function call.\",\"defaultValue\":\"0.0025\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/cpu_operator_cost\",\"name\":\"cpu_operator_cost\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0.01\",\"description\":\"Sets the planner\u0027s estimate of the cost of processing each tuple (row).\",\"defaultValue\":\"0.01\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/cpu_tuple_cost\",\"name\":\"cpu_tuple_cost\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0.1\",\"description\":\"Sets the planner\u0027s estimate of the fraction of a cursor\u0027s rows that will be retrieved.\",\"defaultValue\":\"0.1\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/cursor_tuple_fraction\",\"name\":\"cursor_tuple_fraction\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"iso, mdy\",\"description\":\"Sets the display format for date and time values.\",\"defaultValue\":\"iso, mdy\",\"dataType\":\"String\",\"allowedValues\":\"(iso|postgres|sql|german)\\\\,\\\\s(dmy|mdy|ymd)\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/datestyle\",\"name\":\"datestyle\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"1000\",\"description\":\"Sets the amount of time, in milliseconds, to wait on a lock before checking for deadlock.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/deadlock_timeout\",\"name\":\"deadlock_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs each query\u0027s execution plan.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/debug_print_plan\",\"name\":\"debug_print_plan\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs each query\u0027s rewritten parse tree.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/debug_print_rewritten\",\"name\":\"debug_print_rewritten\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"Sets the default statistics target.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/default_statistics_target\",\"name\":\"default_statistics_target\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"pg_catalog.english\",\"description\":\"Sets default text search configuration.\",\"defaultValue\":\"pg_catalog.english\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z\\\\._]+\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/default_text_search_config\",\"name\":\"default_text_search_config\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Sets the default deferrable status of new transactions.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/default_transaction_deferrable\",\"name\":\"default_transaction_deferrable\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"read committed\",\"description\":\"Sets the transaction isolation level of each new transaction.\",\"defaultValue\":\"read committed\",\"dataType\":\"Enumeration\",\"allowedValues\":\"serializable,repeatable read,read committed,read uncommitted\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/default_transaction_isolation\",\"name\":\"default_transaction_isolation\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Sets the default read-only status of new transactions.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/default_transaction_read_only\",\"name\":\"default_transaction_read_only\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Create new tables with OIDs by default.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/default_with_oids\",\"name\":\"default_with_oids\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of bitmap-scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/enable_bitmapscan\",\"name\":\"enable_bitmapscan\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of hashed aggregation plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/enable_hashagg\",\"name\":\"enable_hashagg\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of hash join plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/enable_hashjoin\",\"name\":\"enable_hashjoin\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of index-only-scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/enable_indexonlyscan\",\"name\":\"enable_indexonlyscan\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of index-scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/enable_indexscan\",\"name\":\"enable_indexscan\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of materialization.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/enable_material\",\"name\":\"enable_material\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of merge join plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/enable_mergejoin\",\"name\":\"enable_mergejoin\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of nested-loop join plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/enable_nestloop\",\"name\":\"enable_nestloop\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of sequential-scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/enable_seqscan\",\"name\":\"enable_seqscan\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of explicit sort steps.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/enable_sort\",\"name\":\"enable_sort\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of TID scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/enable_tidscan\",\"name\":\"enable_tidscan\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Warn about backslash escapes in ordinary string literals.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/escape_string_warning\",\"name\":\"escape_string_warning\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Terminate session on any error.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/exit_on_error\",\"name\":\"exit_on_error\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the number of digits displayed for floating-point values.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"-15-3\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/extra_float_digits\",\"name\":\"extra_float_digits\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"Sets the FROM-list size beyond which subqueries are not collapsed.\",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/from_collapse_limit\",\"name\":\"from_collapse_limit\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables genetic query optimization.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/geqo\",\"name\":\"geqo\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"5\",\"description\":\"GEQO: effort is used to set the default for other GEQO parameters.\",\"defaultValue\":\"5\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/geqo_effort\",\"name\":\"geqo_effort\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"GEQO: number of iterations of the algorithm.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/geqo_generations\",\"name\":\"geqo_generations\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"GEQO: number of individuals in the population.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/geqo_pool_size\",\"name\":\"geqo_pool_size\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0.0\",\"description\":\"GEQO: seed for random path selection.\",\"defaultValue\":\"0.0\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/geqo_seed\",\"name\":\"geqo_seed\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"2.0\",\"description\":\"GEQO: selective pressure within the population.\",\"defaultValue\":\"2.0\",\"dataType\":\"Numeric\",\"allowedValues\":\"1.5-2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/geqo_selection_bias\",\"name\":\"geqo_selection_bias\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"12\",\"description\":\"Sets the threshold of FROM items beyond which GEQO is used.\",\"defaultValue\":\"12\",\"dataType\":\"Integer\",\"allowedValues\":\"2-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/geqo_threshold\",\"name\":\"geqo_threshold\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum allowed result for exact search by GIN.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/gin_fuzzy_search_limit\",\"name\":\"gin_fuzzy_search_limit\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"postgres\",\"description\":\"Sets the display format for interval values.\",\"defaultValue\":\"postgres\",\"dataType\":\"Enumeration\",\"allowedValues\":\"postgres,postgres_verbose,sql_standard,iso_8601\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/intervalstyle\",\"name\":\"intervalstyle\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"Sets the FROM-list size beyond which JOIN constructs are not flattened.\",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/join_collapse_limit\",\"name\":\"join_collapse_limit\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum allowed duration (in milliseconds) of any wait for a lock. 0 turns this off.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/lock_timeout\",\"name\":\"lock_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Logs each checkpoint.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_checkpoints\",\"name\":\"log_checkpoints\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Logs each successful connection.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_connections\",\"name\":\"log_connections\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs end of a session, including duration.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_disconnections\",\"name\":\"log_disconnections\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs the duration of each completed SQL statement.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_duration\",\"name\":\"log_duration\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"default\",\"description\":\"Sets the verbosity of logged messages.\",\"defaultValue\":\"default\",\"dataType\":\"Enumeration\",\"allowedValues\":\"terse,default,verbose\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_error_verbosity\",\"name\":\"log_error_verbosity\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"%t-%c-\",\"description\":\"Sets the printf-style string that is output at the beginning of each log line.\",\"defaultValue\":\"%t-%c-\",\"dataType\":\"String\",\"allowedValues\":\".*\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_line_prefix\",\"name\":\"log_line_prefix\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs long lock waits.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_lock_waits\",\"name\":\"log_lock_waits\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Sets the minimum execution time (in milliseconds) above which statements will be logged. -1 disables logging statement durations.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_min_duration_statement\",\"name\":\"log_min_duration_statement\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"error\",\"description\":\"Causes all statements generating error at or above this level to be logged.\",\"defaultValue\":\"error\",\"dataType\":\"Enumeration\",\"allowedValues\":\"debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_min_error_statement\",\"name\":\"log_min_error_statement\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"warning\",\"description\":\"Sets the message levels that are logged.\",\"defaultValue\":\"warning\",\"dataType\":\"Enumeration\",\"allowedValues\":\"debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_min_messages\",\"name\":\"log_min_messages\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"none\",\"description\":\"Sets the type of statements logged.\",\"defaultValue\":\"none\",\"dataType\":\"Enumeration\",\"allowedValues\":\"none,ddl,mod,all\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_statement\",\"name\":\"log_statement\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"For each query, writes cumulative performance statistics to the server log.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_statement_stats\",\"name\":\"log_statement_stats\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"Sets the maximum number of locks per transaction. Any change requires restarting the server to take effect. When running a replica server, you must set this parameter to the same or higher value than on the master server.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"10-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/max_locks_per_transaction\",\"name\":\"max_locks_per_transaction\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum number of simultaneously prepared transactions. Any change requires restarting the server to take effect. When running a replica server, you must set this parameter to the same or higher value than on the master server.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-8388607\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/max_prepared_transactions\",\"name\":\"max_prepared_transactions\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"When generating SQL fragments, quote all identifiers.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/quote_all_identifiers\",\"name\":\"quote_all_identifiers\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"4.0\",\"description\":\"Sets the planner\u0027s estimate of the cost of a nonsequentially fetched disk page.\",\"defaultValue\":\"4.0\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/random_page_cost\",\"name\":\"random_page_cost\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"\\\"$user\\\", public\",\"description\":\"Sets the schema search order for names that are not schema-qualified.\",\"defaultValue\":\"\\\"$user\\\", public\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z.\\\"$, ]+\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/search_path\",\"name\":\"search_path\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"1.0\",\"description\":\"Sets the planner\u0027s estimate of the cost of a sequentially fetched disk page.\",\"defaultValue\":\"1.0\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/seq_page_cost\",\"name\":\"seq_page_cost\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Causes subtables to be included by default in various commands.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/sql_inheritance\",\"name\":\"sql_inheritance\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum allowed duration (in milliseconds) of any statement. 0 turns this off.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/statement_timeout\",\"name\":\"statement_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enable synchronized sequential scans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/synchronize_seqscans\",\"name\":\"synchronize_seqscans\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Sets the current transaction\u0027s synchronization level.\",\"defaultValue\":\"on\",\"dataType\":\"Enumeration\",\"allowedValues\":\"local,remote_write,on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/synchronous_commit\",\"name\":\"synchronous_commit\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Treats \\\"expr=NULL\\\" as \\\"expr IS NULL\\\".\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/transform_null_equals\",\"name\":\"transform_null_equals\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"base64\",\"description\":\"Sets how binary values are to be encoded in XML.\",\"defaultValue\":\"base64\",\"dataType\":\"Enumeration\",\"allowedValues\":\"base64,hex\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/xmlbinary\",\"name\":\"xmlbinary\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"content\",\"description\":\"Sets whether XML data in implicit parsing and serialization operations is to be considered as documents or content fragments.\",\"defaultValue\":\"content\",\"dataType\":\"Enumeration\",\"allowedValues\":\"content,document\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/xmloption\",\"name\":\"xmloption\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Forces use of parallel query facilities.\",\"defaultValue\":\"off\",\"dataType\":\"Enumeration\",\"allowedValues\":\"off,on,regress\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/force_parallel_mode\",\"name\":\"force_parallel_mode\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum allowed duration of any idling transaction. Unit is ms.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/idle_in_transaction_session_timeout\",\"name\":\"idle_in_transaction_session_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum number of parallel processes per executor node.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1024\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/max_parallel_workers_per_gather\",\"name\":\"max_parallel_workers_per_gather\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"8388608\",\"description\":\"Sets the minimum size of relations to be considered for parallel scan. Unit is 8kb.\",\"defaultValue\":\"8388608\",\"dataType\":\"Integer\",\"allowedValues\":\"0-715827882\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/min_parallel_relation_size\",\"name\":\"min_parallel_relation_size\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"1000\",\"description\":\"Sets the planner\u0027s estimate of the cost of starting up worker processes for parallel query.\",\"defaultValue\":\"1000\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/parallel_setup_cost\",\"name\":\"parallel_setup_cost\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0.1\",\"description\":\"Sets the planner\u0027s estimate of the cost of passing each tuple (row) from worker to master backend.\",\"defaultValue\":\"0.1\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/parallel_tuple_cost\",\"name\":\"parallel_tuple_cost\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"Sets the amount of memory to be used by internal sort operations and hash tables before writing to temporary disk files. Unit is kb.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-2097151\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/work_mem\",\"name\":\"work_mem\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"8192\",\"description\":\"Sets the maximum number of temporary buffers used by each database session. Unit is 8kb.\",\"defaultValue\":\"8192\",\"dataType\":\"Integer\",\"allowedValues\":\"8192-16384\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/temp_buffers\",\"name\":\"temp_buffers\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables temporary connection throttling per IP for too many invalid password login failures.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/connection_throttling\",\"name\":\"connection_throttling\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"3\",\"description\":\"Sets how many days a log file is saved for.\",\"defaultValue\":\"3\",\"dataType\":\"Integer\",\"allowedValues\":\"1-7\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_retention_days\",\"name\":\"log_retention_days\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"6000\",\"description\":\"Sets the maximum query text length that will be saved; longer queries will be truncated.\",\"defaultValue\":\"6000\",\"dataType\":\"Integer\",\"allowedValues\":\"100-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/pg_qs.max_query_text_length\",\"name\":\"pg_qs.max_query_text_length\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"none\",\"description\":\"Selects which statements are tracked by pg_qs.\",\"defaultValue\":\"none\",\"dataType\":\"Enumeration\",\"allowedValues\":\"all,top,none\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/pg_qs.query_capture_mode\",\"name\":\"pg_qs.query_capture_mode\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"7\",\"description\":\"Sets the retention period window in days for pg_qs - after this time data will be deleted.\",\"defaultValue\":\"7\",\"dataType\":\"Integer\",\"allowedValues\":\"1-30\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/pg_qs.retention_period_in_days\",\"name\":\"pg_qs.retention_period_in_days\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Selects whether parameter placeholders are replaced in parameterized queries.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/pg_qs.replace_parameter_placeholders\",\"name\":\"pg_qs.replace_parameter_placeholders\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Selects whether utility commands are tracked by pg_qs.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/pg_qs.track_utility\",\"name\":\"pg_qs.track_utility\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"top\",\"description\":\"Controls which statements are counted by pg_stat_statements.\",\"defaultValue\":\"top\",\"dataType\":\"Enumeration\",\"allowedValues\":\"top,all,none\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/pg_stat_statements.track\",\"name\":\"pg_stat_statements.track\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"none\",\"description\":\"Selects which statements are tracked by the pgms_wait_sampling extension.\",\"defaultValue\":\"none\",\"dataType\":\"Enumeration\",\"allowedValues\":\"all,none\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/pgms_wait_sampling.query_capture_mode\",\"name\":\"pgms_wait_sampling.query_capture_mode\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"Set the frequency, in milliseconds, at which wait events are sampled.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"1-600000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/pgms_wait_sampling.history_period\",\"name\":\"pgms_wait_sampling.history_period\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"DISABLE_ALL\",\"description\":\"Controls postgis GDAL enabled driver settings.\",\"defaultValue\":\"DISABLE_ALL\",\"dataType\":\"Enumeration\",\"allowedValues\":\"DISABLE_ALL,ENABLE_ALL\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/postgis.gdal_enabled_drivers\",\"name\":\"postgis.gdal_enabled_drivers\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Starts the autovacuum subprocess.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/autovacuum\",\"name\":\"autovacuum\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0.05\",\"description\":\"Number of tuple inserts, updates, or deletes prior to analyze as a fraction of reltuples.\",\"defaultValue\":\"0.05\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_analyze_scale_factor\",\"name\":\"autovacuum_analyze_scale_factor\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"Minimum number of tuple inserts, updates, or deletes prior to analyze.\",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_analyze_threshold\",\"name\":\"autovacuum_analyze_threshold\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"200000000\",\"description\":\"Age at which to autovacuum a table to prevent transaction ID wraparound. Any change requires restarting the server to take effect..\",\"defaultValue\":\"200000000\",\"dataType\":\"Integer\",\"allowedValues\":\"100000-2000000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_freeze_max_age\",\"name\":\"autovacuum_freeze_max_age\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"400000000\",\"description\":\"Multixact age at which to autovacuum a table to prevent multixact wraparound. Any change requires restarting the server to take effect.\",\"defaultValue\":\"400000000\",\"dataType\":\"Integer\",\"allowedValues\":\"10000-2000000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_multixact_freeze_max_age\",\"name\":\"autovacuum_multixact_freeze_max_age\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"15\",\"description\":\"Time to sleep between autovacuum runs. Unit is s.\",\"defaultValue\":\"15\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_naptime\",\"name\":\"autovacuum_naptime\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"20\",\"description\":\"Vacuum cost delay in milliseconds, for autovacuum.\",\"defaultValue\":\"20\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_vacuum_cost_delay\",\"name\":\"autovacuum_vacuum_cost_delay\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Vacuum cost amount available before napping, for autovacuum.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_vacuum_cost_limit\",\"name\":\"autovacuum_vacuum_cost_limit\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0.05\",\"description\":\"Number of tuple updates or deletes prior to vacuum as a fraction of reltuples.\",\"defaultValue\":\"0.05\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_vacuum_scale_factor\",\"name\":\"autovacuum_vacuum_scale_factor\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"Minimum number of tuple updates or deletes prior to vacuum.\",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_vacuum_threshold\",\"name\":\"autovacuum_vacuum_threshold\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Sets the maximum memory to be used by each autovacuum worker process. Unit is kb.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2097151\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_work_mem\",\"name\":\"autovacuum_work_mem\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"3\",\"description\":\"Sets the maximum number of simultaneously running autovacuum worker processes. Any change requires restarting the server to take effect.\",\"defaultValue\":\"3\",\"dataType\":\"Integer\",\"allowedValues\":\"1-262143\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_max_workers\",\"name\":\"autovacuum_max_workers\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Number of pages after which previously performed writes are flushed to disk. Unit is 8kb.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/backend_flush_after\",\"name\":\"backend_flush_after\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"Background writer sleep time between rounds. Unit is ms.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"10-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/bgwriter_delay\",\"name\":\"bgwriter_delay\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"Number of pages after which previously performed writes are flushed to disk. Unit is 8kb.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/bgwriter_flush_after\",\"name\":\"bgwriter_flush_after\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"Background writer maximum number of LRU pages to flush per round.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1073741823\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/bgwriter_lru_maxpages\",\"name\":\"bgwriter_lru_maxpages\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Multiple of the average buffer usage to free per round.\",\"defaultValue\":\"2\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-10\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/bgwriter_lru_multiplier\",\"name\":\"bgwriter_lru_multiplier\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"30\",\"description\":\"Enables warnings if checkpoint segments are filled more frequently than this. Unit is s.\",\"defaultValue\":\"30\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/checkpoint_warning\",\"name\":\"checkpoint_warning\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the delay in microseconds between transaction commit and flushing WAL to disk.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/commit_delay\",\"name\":\"commit_delay\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"5\",\"description\":\"Sets the minimum concurrent open transactions before performing commit_delay.\",\"defaultValue\":\"5\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/commit_siblings\",\"name\":\"commit_siblings\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"1310720\",\"description\":\"Sets the planner\u0027s assumption about the size of the disk cache. Unit is 8kb.\",\"defaultValue\":\"917504\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/effective_cache_size\",\"name\":\"effective_cache_size\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"Sets the maximum size of the pending list for GIN index. Unit is kb.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"64-2097151\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/gin_pending_list_limit\",\"name\":\"gin_pending_list_limit\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"English_United States.1252\",\"description\":\"Sets the locale for formatting monetary amounts.\",\"defaultValue\":\"English_United States.1252\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9\\\\._\\\\s]+\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/lc_monetary\",\"name\":\"lc_monetary\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"English_United States.1252\",\"description\":\"Sets the locale for formatting numbers.\",\"defaultValue\":\"English_United States.1252\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9\\\\._\\\\s]+\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/lc_numeric\",\"name\":\"lc_numeric\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Enables backward compatibility mode for privilege checks on large objects.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/lo_compat_privileges\",\"name\":\"lo_compat_privileges\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Sets the minimum execution time above which autovacuum actions will be logged. Unit is ms.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_autovacuum_min_duration\",\"name\":\"log_autovacuum_min_duration\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs each replication command.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_replication_commands\",\"name\":\"log_replication_commands\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Log the use of temporary files larger than this number of kilobytes.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_temp_files\",\"name\":\"log_temp_files\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"30000\",\"description\":\"Sets the maximum delay before canceling queries when a hot standby server is processing archived WAL data. Unit is ms.\",\"defaultValue\":\"30000\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/max_standby_archive_delay\",\"name\":\"max_standby_archive_delay\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"30000\",\"description\":\"Sets the maximum delay before canceling queries when a hot standby server is processing streamed WAL data. Unit is ms.\",\"defaultValue\":\"30000\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/max_standby_streaming_delay\",\"name\":\"max_standby_streaming_delay\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"Sets the WAL size that triggers a checkpoint. Unit is 16MB.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"2-2097151\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/max_wal_size\",\"name\":\"max_wal_size\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"256\",\"description\":\"Sets the minimum size to shrink the WAL to. Unit is 16MB.\",\"defaultValue\":\"512\",\"dataType\":\"Integer\",\"allowedValues\":\"2-2097151\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/min_wal_size\",\"name\":\"min_wal_size\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Time before a snapshot is too old to read pages changed after the snapshot was taken. Any change requires restarting the server to take effect. Unit is min.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-86400\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/old_snapshot_threshold\",\"name\":\"old_snapshot_threshold\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Emit a warning for constructs that changed meaning since PostgreSQL 9.4.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/operator_precedence_warning\",\"name\":\"operator_precedence_warning\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"5000\",\"description\":\"Sets the maximum number of statements tracked by pg_stat_statements. Any change requires restarting the server to take effect.\",\"defaultValue\":\"5000\",\"dataType\":\"Integer\",\"allowedValues\":\"100-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/pg_stat_statements.max\",\"name\":\"pg_stat_statements.max\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Save pg_stat_statements statistics across server shutdowns.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/pg_stat_statements.save\",\"name\":\"pg_stat_statements.save\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Selects whether utility commands are tracked by pg_stat_statements.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/pg_stat_statements.track_utility\",\"name\":\"pg_stat_statements.track_utility\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"150000\",\"description\":\"Sets the maximum number of tuples to be sorted using replacement selection.\",\"defaultValue\":\"150000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/replacement_sort_tuples\",\"name\":\"replacement_sort_tuples\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enable row security.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/row_security\",\"name\":\"row_security\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"origin\",\"description\":\"Sets the session\u0027s behavior for triggers and rewrite rules.\",\"defaultValue\":\"origin\",\"dataType\":\"Enumeration\",\"allowedValues\":\"origin,replica,local\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/session_replication_role\",\"name\":\"session_replication_role\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Maximum number of TCP keepalive retransmits.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/tcp_keepalives_count\",\"name\":\"tcp_keepalives_count\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Time between issuing TCP keepalives. Unit is s.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/tcp_keepalives_idle\",\"name\":\"tcp_keepalives_idle\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Time between TCP keepalive retransmits. Unit is s.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/tcp_keepalives_interval\",\"name\":\"tcp_keepalives_interval\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Collects information about executing commands.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/track_activities\",\"name\":\"track_activities\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"Sets the size reserved for pg_stat_activity.query, in bytes. Any change requires restarting the server to take effect.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"100-102400\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/track_activity_query_size\",\"name\":\"track_activity_query_size\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Collects transaction commit time. Any change requires restarting the server to take effect.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/track_commit_timestamp\",\"name\":\"track_commit_timestamp\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Collects statistics on database activity.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/track_counts\",\"name\":\"track_counts\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"none\",\"description\":\"Collects function-level statistics on database activity.\",\"defaultValue\":\"none\",\"dataType\":\"Enumeration\",\"allowedValues\":\"none,pl,all\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/track_functions\",\"name\":\"track_functions\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Collects timing statistics for database I/O activity.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/track_io_timing\",\"name\":\"track_io_timing\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"UTC\",\"description\":\"Sets the time zone for displaying and interpreting time stamps\",\"defaultValue\":\"UTC\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9/+-_]+\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/timezone\",\"name\":\"timezone\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Sets which shared libraries are preloaded at server start. Any change requires a restart to take effect.\",\"defaultValue\":\"\",\"dataType\":\"Set\",\"allowedValues\":\",pgaudit,timescaledb\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/shared_preload_libraries\",\"name\":\"shared_preload_libraries\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Vacuum cost delay in milliseconds.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/vacuum_cost_delay\",\"name\":\"vacuum_cost_delay\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"Vacuum cost amount available before napping.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/vacuum_cost_limit\",\"name\":\"vacuum_cost_limit\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"20\",\"description\":\"Vacuum cost for a page dirtied by vacuum.\",\"defaultValue\":\"20\",\"dataType\":\"Integer\",\"allowedValues\":\"0-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/vacuum_cost_page_dirty\",\"name\":\"vacuum_cost_page_dirty\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Vacuum cost for a page found in the buffer cache.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/vacuum_cost_page_hit\",\"name\":\"vacuum_cost_page_hit\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Vacuum cost for a page not found in the buffer cache.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/vacuum_cost_page_miss\",\"name\":\"vacuum_cost_page_miss\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Number of transactions by which VACUUM and HOT cleanup should be deferred, if any.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/vacuum_defer_cleanup_age\",\"name\":\"vacuum_defer_cleanup_age\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"50000000\",\"description\":\"Minimum age at which VACUUM should freeze a table row.\",\"defaultValue\":\"50000000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/vacuum_freeze_min_age\",\"name\":\"vacuum_freeze_min_age\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"150000000\",\"description\":\"Age at which VACUUM should scan whole table to freeze tuples.\",\"defaultValue\":\"150000000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2000000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/vacuum_freeze_table_age\",\"name\":\"vacuum_freeze_table_age\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"5000000\",\"description\":\"Minimum age at which VACUUM should freeze a MultiXactId in a table row.\",\"defaultValue\":\"5000000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/vacuum_multixact_freeze_min_age\",\"name\":\"vacuum_multixact_freeze_min_age\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"150000000\",\"description\":\"Multixact age at which VACUUM should scan whole table to freeze tuples.\",\"defaultValue\":\"150000000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2000000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/vacuum_multixact_freeze_table_age\",\"name\":\"vacuum_multixact_freeze_table_age\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"8192\",\"description\":\"Sets the number of disk-page buffers in shared memory for WAL. Any change requires restarting the server to take effect. Unit is 8kb.\",\"defaultValue\":\"8192\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-262143\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/wal_buffers\",\"name\":\"wal_buffers\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Sets the maximum interval between WAL receiver status reports to the primary. Unit is s.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/wal_receiver_status_interval\",\"name\":\"wal_receiver_status_interval\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"Time between WAL flushes performed in the WAL writer. Unit is ms.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/wal_writer_delay\",\"name\":\"wal_writer_delay\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"128\",\"description\":\"Amount of WAL written out by WAL writer that triggers a flush. Unit is 8kb.\",\"defaultValue\":\"128\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/wal_writer_flush_after\",\"name\":\"wal_writer_flush_after\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"262144\",\"description\":\"Sets the maximum memory to be used for maintenance operations. Unit is kb.\",\"defaultValue\":\"131072\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-2097151\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/maintenance_work_mem\",\"name\":\"maintenance_work_mem\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"REPLICA\",\"description\":\"Sets the level of replication support (Read Replicas). Any change requires restarting the server to take effect.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"OFF,REPLICA,LOGICAL\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/azure.replication_support\",\"name\":\"azure.replication_support\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Specifies the maximum number of concurrent connections from standby servers or streaming base backup clients (i.e., the maximum number of simultaneously running WAL sender processes).\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"10-80\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/max_wal_senders\",\"name\":\"max_wal_senders\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Specifies the maximum number of replication slots that the server can support.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"10-80\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/max_replication_slots\",\"name\":\"max_replication_slots\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Allows feedback from a hot standby to the primary that will avoid query conflicts.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/hot_standby_feedback\",\"name\":\"hot_standby_feedback\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enable .log files. Setting is independent of Azure Monitor logging options. Any change requires restarting the server to take effect.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/logging_collector\",\"name\":\"logging_collector\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"}]}" } }, - "Get-AzPostgreSqlConfiguration+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/timezone?api-version=2017-12-01+1": { + "Get-AzPostgreSqlConfiguration+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/timezone?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/timezone?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/timezone?api-version=2017-12-01", "Content": null, "Headers": { - "x-ms-unique-id": [ "2" ], - "x-ms-client-request-id": [ "2644688d-dd5c-48ef-b583-7a678d2fa3be" ], + "x-ms-unique-id": [ "11" ], + "x-ms-client-request-id": [ "70ff07d8-839e-469b-85e9-ea1ba9d7c90e" ], "CommandName": [ "Get-AzPostgreSqlConfiguration" ], "FullCommandName": [ "Get-AzPostgreSqlConfiguration_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -55,24 +56,64 @@ } }, "Response": { - "StatusCode": 404, + "StatusCode": 200, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ "gateway" ], - "x-ms-request-id": [ "702a73cc-373d-4389-90c8-2ee3036472ee" ], - "x-ms-correlation-request-id": [ "702a73cc-373d-4389-90c8-2ee3036472ee" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T064007Z:702a73cc-373d-4389-90c8-2ee3036472ee" ], + "x-ms-request-id": [ "72cedd03-a80e-462a-b8b1-a967e4990458" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "e8f2fabf-2e28-47a9-a2af-b574ec6b77e7" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110110Z:e8f2fabf-2e28-47a9-a2af-b574ec6b77e7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Wed, 11 Nov 2020 06:40:07 GMT" ] + "Date": [ "Fri, 25 Sep 2020 11:01:09 GMT" ] }, "ContentHeaders": { + "Content-Length": [ "522" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ], - "Content-Length": [ "239" ] + "Expires": [ "-1" ] }, - "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForPostgreSQL/servers/postgresql-test-100\u0027 under resource group \u0027PostgreSqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" + "Content": "{\"properties\":{\"value\":\"UTC\",\"description\":\"Sets the time zone for displaying and interpreting time stamps\",\"defaultValue\":\"UTC\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9/+-_]+\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/timezone\",\"name\":\"timezone\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"}" + } + }, + "Get-AzPostgreSqlConfiguration+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/datestyle?api-version=2017-12-01+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/datestyle?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "12" ], + "x-ms-client-request-id": [ "9a82fb22-2db1-40cc-ab51-97fd08430ee4" ], + "CommandName": [ "Get-AzPostgreSqlConfiguration" ], + "FullCommandName": [ "Get-AzPostgreSqlConfiguration_GetViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "b64ccc20-47cc-4a05-a9fa-75c9042661ca" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-correlation-request-id": [ "9bb72d8a-f998-435e-8ea5-8f04efa8571c" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110111Z:9bb72d8a-f998-435e-8ea5-8f04efa8571c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 25 Sep 2020 11:01:10 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "549" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"value\":\"iso, mdy\",\"description\":\"Sets the display format for date and time values.\",\"defaultValue\":\"iso, mdy\",\"dataType\":\"String\",\"allowedValues\":\"(iso|postgres|sql|german)\\\\,\\\\s(dmy|mdy|ymd)\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/datestyle\",\"name\":\"datestyle\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"}" } } } \ No newline at end of file diff --git a/src/PostgreSql/test/Get-AzPostgreSqlConnectionString.Recording.json b/src/PostgreSql/test/Get-AzPostgreSqlConnectionString.Recording.json index f403e0b84afb..9219b6591e4c 100644 --- a/src/PostgreSql/test/Get-AzPostgreSqlConnectionString.Recording.json +++ b/src/PostgreSql/test/Get-AzPostgreSqlConnectionString.Recording.json @@ -1,12 +1,12 @@ { - "Get-AzPostgreSqlConnectionString+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+1": { + "Get-AzPostgreSqlConnectionString+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", "Content": null, "Headers": { - "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "5ccd4feb-af0c-4abf-9cd4-3f9ce603eff3" ], + "x-ms-unique-id": [ "13" ], + "x-ms-client-request-id": [ "aeecf5a4-b082-4d97-b3dd-d953d474dc9f" ], "CommandName": [ "Az.PostgreSql\\Get-AzPostgreSqlServer" ], "FullCommandName": [ "Get-AzPostgreSqlServer_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -17,34 +17,35 @@ } }, "Response": { - "StatusCode": 404, + "StatusCode": 200, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ "gateway" ], - "x-ms-request-id": [ "fc89cf2e-fae5-4e97-9f20-39411976a0da" ], - "x-ms-correlation-request-id": [ "fc89cf2e-fae5-4e97-9f20-39411976a0da" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T064008Z:fc89cf2e-fae5-4e97-9f20-39411976a0da" ], + "x-ms-request-id": [ "f4ff429f-6ede-4103-b587-f286b9844404" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], + "x-ms-correlation-request-id": [ "6caf40f6-898d-4383-992c-104948337932" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110114Z:6caf40f6-898d-4383-992c-104948337932" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Wed, 11 Nov 2020 06:40:07 GMT" ] + "Date": [ "Fri, 25 Sep 2020 11:01:13 GMT" ] }, "ContentHeaders": { + "Content-Length": [ "943" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ], - "Content-Length": [ "239" ] + "Expires": [ "-1" ] }, - "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForPostgreSQL/servers/postgresql-test-100\u0027 under resource group \u0027PostgreSqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" } }, - "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+1": { + "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", "Content": null, "Headers": { - "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "4997414e-b69c-4880-a939-ffb22d9ab67c" ], + "x-ms-unique-id": [ "14" ], + "x-ms-client-request-id": [ "087903b0-4ce0-45aa-9f3f-b0f823e440e2" ], "CommandName": [ "Get-AzPostgreSqlServer" ], "FullCommandName": [ "Get-AzPostgreSqlServer_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -55,24 +56,337 @@ } }, "Response": { - "StatusCode": 404, + "StatusCode": 200, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ "gateway" ], - "x-ms-request-id": [ "a8b8ddc9-5151-451e-934a-6bc57e27cb6c" ], - "x-ms-correlation-request-id": [ "a8b8ddc9-5151-451e-934a-6bc57e27cb6c" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T064008Z:a8b8ddc9-5151-451e-934a-6bc57e27cb6c" ], + "x-ms-request-id": [ "19432faf-8ce4-4154-8e99-82646e1e95b3" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], + "x-ms-correlation-request-id": [ "006d30b8-e622-4219-9773-689bbda45fa7" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110114Z:006d30b8-e622-4219-9773-689bbda45fa7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Wed, 11 Nov 2020 06:40:07 GMT" ] + "Date": [ "Fri, 25 Sep 2020 11:01:13 GMT" ] }, "ContentHeaders": { + "Content-Length": [ "943" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ], - "Content-Length": [ "239" ] + "Expires": [ "-1" ] }, - "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForPostgreSQL/servers/postgresql-test-100\u0027 under resource group \u0027PostgreSqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" + } + }, + "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "15" ], + "x-ms-client-request-id": [ "4710aec3-e03a-4fcc-bcdb-a2ad3620784e" ], + "CommandName": [ "Az.PostgreSql\\Get-AzPostgreSqlServer" ], + "FullCommandName": [ "Get-AzPostgreSqlServer_GetViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "1aab44dc-b997-464f-8b1c-ccc32ed09452" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], + "x-ms-correlation-request-id": [ "05e645e8-d6fe-4f05-a382-16dc3d07d245" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110115Z:05e645e8-d6fe-4f05-a382-16dc3d07d245" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 25 Sep 2020 11:01:14 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "943" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" + } + }, + "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "16" ], + "x-ms-client-request-id": [ "2574b9fa-5a3b-4f72-bda9-2f441acd1e3a" ], + "CommandName": [ "Az.PostgreSql\\Get-AzPostgreSqlServer" ], + "FullCommandName": [ "Get-AzPostgreSqlServer_GetViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "72ddcb84-67a5-4159-8522-5b1d323b6e09" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], + "x-ms-correlation-request-id": [ "8d3fe57a-f754-42dd-837d-597b8a4f4d1e" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110115Z:8d3fe57a-f754-42dd-837d-597b8a4f4d1e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 25 Sep 2020 11:01:14 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "943" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" + } + }, + "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "17" ], + "x-ms-client-request-id": [ "afd7d341-4d38-48e7-b65c-1df2b2cd9fca" ], + "CommandName": [ "Az.PostgreSql\\Get-AzPostgreSqlServer" ], + "FullCommandName": [ "Get-AzPostgreSqlServer_GetViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "2642996a-7f94-4171-8f21-f2a35c181fb3" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], + "x-ms-correlation-request-id": [ "8fb360e8-73d4-4196-b186-97bc471c1580" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110116Z:8fb360e8-73d4-4196-b186-97bc471c1580" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 25 Sep 2020 11:01:15 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "943" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" + } + }, + "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "18" ], + "x-ms-client-request-id": [ "b6bdde58-1e23-401e-ae25-ea0aa98e338d" ], + "CommandName": [ "Az.PostgreSql\\Get-AzPostgreSqlServer" ], + "FullCommandName": [ "Get-AzPostgreSqlServer_GetViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "f90f0a27-e933-4d15-b04b-618818ef790d" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], + "x-ms-correlation-request-id": [ "77d142de-3518-4498-aa8b-cd19b163123a" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110116Z:77d142de-3518-4498-aa8b-cd19b163123a" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 25 Sep 2020 11:01:15 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "943" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" + } + }, + "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "19" ], + "x-ms-client-request-id": [ "03e71709-f0b2-435c-ba43-638e54f4d173" ], + "CommandName": [ "Az.PostgreSql\\Get-AzPostgreSqlServer" ], + "FullCommandName": [ "Get-AzPostgreSqlServer_GetViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "b35c10ad-00f4-486a-abe3-92f9bc041bf5" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], + "x-ms-correlation-request-id": [ "cf606755-8286-4309-b887-69cf7731bdfd" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110116Z:cf606755-8286-4309-b887-69cf7731bdfd" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 25 Sep 2020 11:01:15 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "943" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" + } + }, + "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "20" ], + "x-ms-client-request-id": [ "d7b4cc04-471b-4970-9382-dc08bfee86bb" ], + "CommandName": [ "Az.PostgreSql\\Get-AzPostgreSqlServer" ], + "FullCommandName": [ "Get-AzPostgreSqlServer_GetViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "01eb9f1f-e787-4bb4-9410-1b1650acb434" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], + "x-ms-correlation-request-id": [ "9b0d218c-8fa3-4b73-b40d-9a0bd03286f8" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110117Z:9b0d218c-8fa3-4b73-b40d-9a0bd03286f8" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 25 Sep 2020 11:01:16 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "943" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" + } + }, + "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "21" ], + "x-ms-client-request-id": [ "cdee4ae1-d1a7-48a4-9122-8b8235cf0d86" ], + "CommandName": [ "Az.PostgreSql\\Get-AzPostgreSqlServer" ], + "FullCommandName": [ "Get-AzPostgreSqlServer_GetViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "9a507ba2-0d52-4169-be3e-3c7ea6dbfefd" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], + "x-ms-correlation-request-id": [ "f95b0583-8443-4ec2-86cc-3b8b5dabd540" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110117Z:f95b0583-8443-4ec2-86cc-3b8b5dabd540" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 25 Sep 2020 11:01:16 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "943" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" + } + }, + "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+9": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "22" ], + "x-ms-client-request-id": [ "42ab38b1-17ad-4c12-8958-0ae798193d8c" ], + "CommandName": [ "Az.PostgreSql\\Get-AzPostgreSqlServer" ], + "FullCommandName": [ "Get-AzPostgreSqlServer_GetViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "03fef9be-bd20-4a0b-8ce1-f5b81557c964" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11980" ], + "x-ms-correlation-request-id": [ "4c3e293d-9bd1-4d52-81f7-68159b3b491f" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110117Z:4c3e293d-9bd1-4d52-81f7-68159b3b491f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 25 Sep 2020 11:01:16 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "943" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" } } } \ No newline at end of file diff --git a/src/PostgreSql/test/Get-AzPostgreSqlFirewallRule.Recording.json b/src/PostgreSql/test/Get-AzPostgreSqlFirewallRule.Recording.json index e3cddc8d4746..fc091ab185c4 100644 --- a/src/PostgreSql/test/Get-AzPostgreSqlFirewallRule.Recording.json +++ b/src/PostgreSql/test/Get-AzPostgreSqlFirewallRule.Recording.json @@ -1,8 +1,8 @@ { - "Get-AzPostgreSqlFirewallRule+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+1": { + "Get-AzPostgreSqlFirewallRule+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -12,30 +12,272 @@ } }, "Response": { - "StatusCode": 404, + "StatusCode": 202, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ "gateway" ], - "x-ms-request-id": [ "2508d63b-2ebf-482a-a69b-c55e81e11b06" ], - "x-ms-correlation-request-id": [ "2508d63b-2ebf-482a-a69b-c55e81e11b06" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T064009Z:2508d63b-2ebf-482a-a69b-c55e81e11b06" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/22171d36-1cc1-4752-9c43-a828b1e8ba6e?api-version=2017-12-01" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/22171d36-1cc1-4752-9c43-a828b1e8ba6e?api-version=2017-12-01" ], + "x-ms-request-id": [ "22171d36-1cc1-4752-9c43-a828b1e8ba6e" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], + "x-ms-correlation-request-id": [ "6d749a7c-8c15-4019-96d7-3f9d999d263a" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110119Z:6d749a7c-8c15-4019-96d7-3f9d999d263a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Wed, 11 Nov 2020 06:40:08 GMT" ] + "Date": [ "Fri, 25 Sep 2020 11:01:18 GMT" ] }, "ContentHeaders": { + "Content-Length": [ "86" ], "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-09-25T11:01:18.51Z\"}" + } + }, + "Get-AzPostgreSqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/22171d36-1cc1-4752-9c43-a828b1e8ba6e?api-version=2017-12-01+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/22171d36-1cc1-4752-9c43-a828b1e8ba6e?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "23", "24" ], + "x-ms-client-request-id": [ "fb13f9a4-99b1-4e08-99a1-8a67f59c6d69", "fb13f9a4-99b1-4e08-99a1-8a67f59c6d69" ], + "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFirewallRule", "Az.PostgreSql.internal\\New-AzPostgreSqlFirewallRule" ], + "FullCommandName": [ "New-AzPostgreSqlFirewallRule_CreateExpanded", "New-AzPostgreSqlFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "39d9d2bb-701e-4631-99c1-717b947c6670" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11979" ], + "x-ms-correlation-request-id": [ "b030abcf-1c63-4311-bd15-7315cdad9e31" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110135Z:b030abcf-1c63-4311-bd15-7315cdad9e31" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 25 Sep 2020 11:01:35 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"22171d36-1cc1-4752-9c43-a828b1e8ba6e\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:01:18.51Z\"}" + } + }, + "Get-AzPostgreSqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "23", "24", "25" ], + "x-ms-client-request-id": [ "fb13f9a4-99b1-4e08-99a1-8a67f59c6d69", "fb13f9a4-99b1-4e08-99a1-8a67f59c6d69", "fb13f9a4-99b1-4e08-99a1-8a67f59c6d69" ], + "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFirewallRule", "Az.PostgreSql.internal\\New-AzPostgreSqlFirewallRule", "Az.PostgreSql.internal\\New-AzPostgreSqlFirewallRule" ], + "FullCommandName": [ "New-AzPostgreSqlFirewallRule_CreateExpanded", "New-AzPostgreSqlFirewallRule_CreateExpanded", "New-AzPostgreSqlFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "80b1acf9-e4f6-4426-bfc3-acb832c255de" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11978" ], + "x-ms-correlation-request-id": [ "54f52bbe-fe1b-4d02-8c2c-60c28109a145" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110135Z:54f52bbe-fe1b-4d02-8c2c-60c28109a145" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 25 Sep 2020 11:01:35 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "335" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/servers/firewallRules\"}" + } + }, + "Get-AzPostgreSqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules?api-version=2017-12-01+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "26" ], + "x-ms-client-request-id": [ "cd7abb5c-f05b-49af-8e84-9a74072e1394" ], + "CommandName": [ "Get-AzPostgreSqlFirewallRule" ], + "FullCommandName": [ "Get-AzPostgreSqlFirewallRule_List" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "14e8b092-a4ff-4e22-b786-9bb12bded50e" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11977" ], + "x-ms-correlation-request-id": [ "e7aa5b61-9aef-472b-a9c1-d20ad0c76d08" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110136Z:e7aa5b61-9aef-472b-a9c1-d20ad0c76d08" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 25 Sep 2020 11:01:36 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "347" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"value\":[{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/servers/firewallRules\"}]}" + } + }, + "Get-AzPostgreSqlFirewallRule+[NoContext]+List+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+5": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "27" ], + "x-ms-client-request-id": [ "133dd9ad-a56a-40d5-9cea-9e7d9dd924f2" ], + "CommandName": [ "Remove-AzPostgreSqlFirewallRule" ], + "FullCommandName": [ "Remove-AzPostgreSqlFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/9878a831-b877-4905-962a-868d0f84bb74?api-version=2017-12-01" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/9878a831-b877-4905-962a-868d0f84bb74?api-version=2017-12-01" ], + "x-ms-request-id": [ "9878a831-b877-4905-962a-868d0f84bb74" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "x-ms-correlation-request-id": [ "f97b666b-736c-463e-96cc-267f8f4ff0eb" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110137Z:f97b666b-736c-463e-96cc-267f8f4ff0eb" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 25 Sep 2020 11:01:37 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "84" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-09-25T11:01:36.557Z\"}" + } + }, + "Get-AzPostgreSqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/9878a831-b877-4905-962a-868d0f84bb74?api-version=2017-12-01+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/9878a831-b877-4905-962a-868d0f84bb74?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "27", "28" ], + "x-ms-client-request-id": [ "133dd9ad-a56a-40d5-9cea-9e7d9dd924f2", "133dd9ad-a56a-40d5-9cea-9e7d9dd924f2" ], + "CommandName": [ "Remove-AzPostgreSqlFirewallRule", "Remove-AzPostgreSqlFirewallRule" ], + "FullCommandName": [ "Remove-AzPostgreSqlFirewallRule_Delete", "Remove-AzPostgreSqlFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "5dec14a1-62da-4139-9736-883f1b7b6c49" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11976" ], + "x-ms-correlation-request-id": [ "9924a76f-4dac-4c92-a84b-d2bb0f7ba0ed" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110153Z:9924a76f-4dac-4c92-a84b-d2bb0f7ba0ed" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 25 Sep 2020 11:01:52 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"9878a831-b877-4905-962a-868d0f84bb74\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:01:36.557Z\"}" + } + }, + "Get-AzPostgreSqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/9878a831-b877-4905-962a-868d0f84bb74?api-version=2017-12-01+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/9878a831-b877-4905-962a-868d0f84bb74?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "27", "28", "29" ], + "x-ms-client-request-id": [ "133dd9ad-a56a-40d5-9cea-9e7d9dd924f2", "133dd9ad-a56a-40d5-9cea-9e7d9dd924f2", "133dd9ad-a56a-40d5-9cea-9e7d9dd924f2" ], + "CommandName": [ "Remove-AzPostgreSqlFirewallRule", "Remove-AzPostgreSqlFirewallRule", "Remove-AzPostgreSqlFirewallRule" ], + "FullCommandName": [ "Remove-AzPostgreSqlFirewallRule_Delete", "Remove-AzPostgreSqlFirewallRule_Delete", "Remove-AzPostgreSqlFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "432bf9bf-5663-49cb-9769-1e4d37b04646" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11975" ], + "x-ms-correlation-request-id": [ "2d9c40b2-2abb-4c5e-adf0-5fd3ede36c32" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110153Z:2d9c40b2-2abb-4c5e-adf0-5fd3ede36c32" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 25 Sep 2020 11:01:53 GMT" ] + }, + "ContentHeaders": { "Expires": [ "-1" ], - "Content-Length": [ "239" ] + "Content-Length": [ "0" ] }, - "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForPostgreSQL/servers/postgresql-test-100\u0027 under resource group \u0027PostgreSqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" + "Content": null } }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+Get+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+1": { + "Get-AzPostgreSqlFirewallRule+[NoContext]+Get+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -45,30 +287,272 @@ } }, "Response": { - "StatusCode": 404, + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/f1bf892f-485f-464b-8c83-09c81ea4ed2b?api-version=2017-12-01" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f1bf892f-485f-464b-8c83-09c81ea4ed2b?api-version=2017-12-01" ], + "x-ms-request-id": [ "f1bf892f-485f-464b-8c83-09c81ea4ed2b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], + "x-ms-correlation-request-id": [ "0a6b0b51-67dd-4c4d-a8ed-bb2f6e87a6c1" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110155Z:0a6b0b51-67dd-4c4d-a8ed-bb2f6e87a6c1" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 25 Sep 2020 11:01:54 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "87" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-09-25T11:01:53.947Z\"}" + } + }, + "Get-AzPostgreSqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f1bf892f-485f-464b-8c83-09c81ea4ed2b?api-version=2017-12-01+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f1bf892f-485f-464b-8c83-09c81ea4ed2b?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "30", "31" ], + "x-ms-client-request-id": [ "9e22df38-7bc2-4768-a322-93e9f2a898c3", "9e22df38-7bc2-4768-a322-93e9f2a898c3" ], + "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFirewallRule", "Az.PostgreSql.internal\\New-AzPostgreSqlFirewallRule" ], + "FullCommandName": [ "New-AzPostgreSqlFirewallRule_CreateExpanded", "New-AzPostgreSqlFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "ec33c4a5-cac8-4aa8-8122-1e06ab4aba67" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11974" ], + "x-ms-correlation-request-id": [ "51e10d64-7392-453a-aeed-35584015e0ed" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110210Z:51e10d64-7392-453a-aeed-35584015e0ed" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 25 Sep 2020 11:02:10 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"f1bf892f-485f-464b-8c83-09c81ea4ed2b\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:01:53.947Z\"}" + } + }, + "Get-AzPostgreSqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "30", "31", "32" ], + "x-ms-client-request-id": [ "9e22df38-7bc2-4768-a322-93e9f2a898c3", "9e22df38-7bc2-4768-a322-93e9f2a898c3", "9e22df38-7bc2-4768-a322-93e9f2a898c3" ], + "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFirewallRule", "Az.PostgreSql.internal\\New-AzPostgreSqlFirewallRule", "Az.PostgreSql.internal\\New-AzPostgreSqlFirewallRule" ], + "FullCommandName": [ "New-AzPostgreSqlFirewallRule_CreateExpanded", "New-AzPostgreSqlFirewallRule_CreateExpanded", "New-AzPostgreSqlFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "dba6242c-5d17-470a-a997-52cadc204ebd" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11973" ], + "x-ms-correlation-request-id": [ "e2e334f8-5dff-43b4-80da-c4f39039f024" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110210Z:e2e334f8-5dff-43b4-80da-c4f39039f024" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 25 Sep 2020 11:02:10 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "335" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/servers/firewallRules\"}" + } + }, + "Get-AzPostgreSqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "33" ], + "x-ms-client-request-id": [ "0cd14c07-3cfc-4d59-aa17-c8f5d4599543" ], + "CommandName": [ "Get-AzPostgreSqlFirewallRule" ], + "FullCommandName": [ "Get-AzPostgreSqlFirewallRule_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ "gateway" ], - "x-ms-request-id": [ "937d76df-3d2a-4c19-b07f-1a1b1942b350" ], - "x-ms-correlation-request-id": [ "937d76df-3d2a-4c19-b07f-1a1b1942b350" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T064009Z:937d76df-3d2a-4c19-b07f-1a1b1942b350" ], + "x-ms-request-id": [ "e02e2746-9832-4e9e-a041-c5e67299fefd" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11972" ], + "x-ms-correlation-request-id": [ "56c9dd4c-7e3f-462b-a351-fccbc52ee11d" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110211Z:56c9dd4c-7e3f-462b-a351-fccbc52ee11d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Wed, 11 Nov 2020 06:40:08 GMT" ] + "Date": [ "Fri, 25 Sep 2020 11:02:11 GMT" ] }, "ContentHeaders": { + "Content-Length": [ "335" ], "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/servers/firewallRules\"}" + } + }, + "Get-AzPostgreSqlFirewallRule+[NoContext]+Get+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+5": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "34" ], + "x-ms-client-request-id": [ "32112020-e14f-4249-a4ba-b82a0dd1d23b" ], + "CommandName": [ "Remove-AzPostgreSqlFirewallRule" ], + "FullCommandName": [ "Remove-AzPostgreSqlFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/c7ee4fd9-05a1-486e-8ca1-ecdbb6fac9b0?api-version=2017-12-01" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c7ee4fd9-05a1-486e-8ca1-ecdbb6fac9b0?api-version=2017-12-01" ], + "x-ms-request-id": [ "c7ee4fd9-05a1-486e-8ca1-ecdbb6fac9b0" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14998" ], + "x-ms-correlation-request-id": [ "fedd5d84-8e1c-4a29-a4c5-33ae730c17bf" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110212Z:fedd5d84-8e1c-4a29-a4c5-33ae730c17bf" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 25 Sep 2020 11:02:12 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "83" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-09-25T11:02:11.76Z\"}" + } + }, + "Get-AzPostgreSqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c7ee4fd9-05a1-486e-8ca1-ecdbb6fac9b0?api-version=2017-12-01+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c7ee4fd9-05a1-486e-8ca1-ecdbb6fac9b0?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "34", "35" ], + "x-ms-client-request-id": [ "32112020-e14f-4249-a4ba-b82a0dd1d23b", "32112020-e14f-4249-a4ba-b82a0dd1d23b" ], + "CommandName": [ "Remove-AzPostgreSqlFirewallRule", "Remove-AzPostgreSqlFirewallRule" ], + "FullCommandName": [ "Remove-AzPostgreSqlFirewallRule_Delete", "Remove-AzPostgreSqlFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "41ea201f-a236-4383-b58a-3a41941fff8b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11971" ], + "x-ms-correlation-request-id": [ "054b630b-ba58-4349-9ae2-daa3756b25e2" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110228Z:054b630b-ba58-4349-9ae2-daa3756b25e2" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 25 Sep 2020 11:02:27 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"c7ee4fd9-05a1-486e-8ca1-ecdbb6fac9b0\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:02:11.76Z\"}" + } + }, + "Get-AzPostgreSqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/c7ee4fd9-05a1-486e-8ca1-ecdbb6fac9b0?api-version=2017-12-01+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/c7ee4fd9-05a1-486e-8ca1-ecdbb6fac9b0?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "34", "35", "36" ], + "x-ms-client-request-id": [ "32112020-e14f-4249-a4ba-b82a0dd1d23b", "32112020-e14f-4249-a4ba-b82a0dd1d23b", "32112020-e14f-4249-a4ba-b82a0dd1d23b" ], + "CommandName": [ "Remove-AzPostgreSqlFirewallRule", "Remove-AzPostgreSqlFirewallRule", "Remove-AzPostgreSqlFirewallRule" ], + "FullCommandName": [ "Remove-AzPostgreSqlFirewallRule_Delete", "Remove-AzPostgreSqlFirewallRule_Delete", "Remove-AzPostgreSqlFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "d6114e24-112a-4f06-83df-6d47ec8a4ee7" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11970" ], + "x-ms-correlation-request-id": [ "4a7e6fb9-6be6-4b0d-987c-0e1f338e4894" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110228Z:4a7e6fb9-6be6-4b0d-987c-0e1f338e4894" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 25 Sep 2020 11:02:28 GMT" ] + }, + "ContentHeaders": { "Expires": [ "-1" ], - "Content-Length": [ "239" ] + "Content-Length": [ "0" ] }, - "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForPostgreSQL/servers/postgresql-test-100\u0027 under resource group \u0027PostgreSqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" + "Content": null } }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+GetViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+1": { + "Get-AzPostgreSqlFirewallRule+[NoContext]+GetViaIdentity+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -78,24 +562,266 @@ } }, "Response": { - "StatusCode": 404, + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/a188ec6d-f2ee-44c7-978f-4767bb7b695b?api-version=2017-12-01" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a188ec6d-f2ee-44c7-978f-4767bb7b695b?api-version=2017-12-01" ], + "x-ms-request-id": [ "a188ec6d-f2ee-44c7-978f-4767bb7b695b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1194" ], + "x-ms-correlation-request-id": [ "ba29f663-9e1e-429b-9a60-94a769242af2" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110231Z:ba29f663-9e1e-429b-9a60-94a769242af2" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 25 Sep 2020 11:02:30 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "87" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-09-25T11:02:29.227Z\"}" + } + }, + "Get-AzPostgreSqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a188ec6d-f2ee-44c7-978f-4767bb7b695b?api-version=2017-12-01+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a188ec6d-f2ee-44c7-978f-4767bb7b695b?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "37", "38" ], + "x-ms-client-request-id": [ "1dfd6303-bf0d-44a0-b910-9d6fc692b283", "1dfd6303-bf0d-44a0-b910-9d6fc692b283" ], + "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFirewallRule", "Az.PostgreSql.internal\\New-AzPostgreSqlFirewallRule" ], + "FullCommandName": [ "New-AzPostgreSqlFirewallRule_CreateExpanded", "New-AzPostgreSqlFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "3732c600-edc7-4f86-a72e-f5a6e210796b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11969" ], + "x-ms-correlation-request-id": [ "04adb532-641e-4942-8801-80d8b9cdc48a" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110246Z:04adb532-641e-4942-8801-80d8b9cdc48a" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 25 Sep 2020 11:02:46 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"a188ec6d-f2ee-44c7-978f-4767bb7b695b\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:02:29.227Z\"}" + } + }, + "Get-AzPostgreSqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "37", "38", "39" ], + "x-ms-client-request-id": [ "1dfd6303-bf0d-44a0-b910-9d6fc692b283", "1dfd6303-bf0d-44a0-b910-9d6fc692b283", "1dfd6303-bf0d-44a0-b910-9d6fc692b283" ], + "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFirewallRule", "Az.PostgreSql.internal\\New-AzPostgreSqlFirewallRule", "Az.PostgreSql.internal\\New-AzPostgreSqlFirewallRule" ], + "FullCommandName": [ "New-AzPostgreSqlFirewallRule_CreateExpanded", "New-AzPostgreSqlFirewallRule_CreateExpanded", "New-AzPostgreSqlFirewallRule_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "8cac988b-cafc-47d8-9ddd-2de991112855" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11968" ], + "x-ms-correlation-request-id": [ "fda4a69f-1bbc-444e-9a1a-4a7ccc0269e5" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110247Z:fda4a69f-1bbc-444e-9a1a-4a7ccc0269e5" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 25 Sep 2020 11:02:46 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "335" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/servers/firewallRules\"}" + } + }, + "Get-AzPostgreSqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "40" ], + "x-ms-client-request-id": [ "cd73505b-1c1e-401a-84ed-9bf515b8a9a6" ], + "CommandName": [ "Get-AzPostgreSqlFirewallRule" ], + "FullCommandName": [ "Get-AzPostgreSqlFirewallRule_GetViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "f10baad8-937d-4831-bb9d-01a94887a421" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11967" ], + "x-ms-correlation-request-id": [ "179a511a-9a94-4cea-b91e-f3adc417d300" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110247Z:179a511a-9a94-4cea-b91e-f3adc417d300" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 25 Sep 2020 11:02:47 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "335" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/servers/firewallRules\"}" + } + }, + "Get-AzPostgreSqlFirewallRule+[NoContext]+GetViaIdentity+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+5": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "41" ], + "x-ms-client-request-id": [ "c171bf61-72b8-4ff8-a55b-0409fa701afc" ], + "CommandName": [ "Remove-AzPostgreSqlFirewallRule" ], + "FullCommandName": [ "Remove-AzPostgreSqlFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/f62f351e-3685-475e-8d98-9f7c68fb3c83?api-version=2017-12-01" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f62f351e-3685-475e-8d98-9f7c68fb3c83?api-version=2017-12-01" ], + "x-ms-request-id": [ "f62f351e-3685-475e-8d98-9f7c68fb3c83" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14997" ], + "x-ms-correlation-request-id": [ "c235f970-94c3-43eb-b7df-0854ef93d5e4" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110249Z:c235f970-94c3-43eb-b7df-0854ef93d5e4" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 25 Sep 2020 11:02:48 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "84" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-09-25T11:02:48.087Z\"}" + } + }, + "Get-AzPostgreSqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f62f351e-3685-475e-8d98-9f7c68fb3c83?api-version=2017-12-01+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f62f351e-3685-475e-8d98-9f7c68fb3c83?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "41", "42" ], + "x-ms-client-request-id": [ "c171bf61-72b8-4ff8-a55b-0409fa701afc", "c171bf61-72b8-4ff8-a55b-0409fa701afc" ], + "CommandName": [ "Remove-AzPostgreSqlFirewallRule", "Remove-AzPostgreSqlFirewallRule" ], + "FullCommandName": [ "Remove-AzPostgreSqlFirewallRule_Delete", "Remove-AzPostgreSqlFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ "gateway" ], - "x-ms-request-id": [ "790c69d0-0b3e-42a5-8b37-4d84ad154af4" ], - "x-ms-correlation-request-id": [ "790c69d0-0b3e-42a5-8b37-4d84ad154af4" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T064009Z:790c69d0-0b3e-42a5-8b37-4d84ad154af4" ], + "Retry-After": [ "15" ], + "x-ms-request-id": [ "49e2cca0-c5c2-4c50-8026-13cb4fc9e5c2" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11966" ], + "x-ms-correlation-request-id": [ "ebbe53aa-9e96-4cd4-8461-f44adf41f488" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110304Z:ebbe53aa-9e96-4cd4-8461-f44adf41f488" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Wed, 11 Nov 2020 06:40:09 GMT" ] + "Date": [ "Fri, 25 Sep 2020 11:03:03 GMT" ] }, "ContentHeaders": { + "Content-Length": [ "107" ], "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"f62f351e-3685-475e-8d98-9f7c68fb3c83\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:02:48.087Z\"}" + } + }, + "Get-AzPostgreSqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/f62f351e-3685-475e-8d98-9f7c68fb3c83?api-version=2017-12-01+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/f62f351e-3685-475e-8d98-9f7c68fb3c83?api-version=2017-12-01", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "41", "42", "43" ], + "x-ms-client-request-id": [ "c171bf61-72b8-4ff8-a55b-0409fa701afc", "c171bf61-72b8-4ff8-a55b-0409fa701afc", "c171bf61-72b8-4ff8-a55b-0409fa701afc" ], + "CommandName": [ "Remove-AzPostgreSqlFirewallRule", "Remove-AzPostgreSqlFirewallRule", "Remove-AzPostgreSqlFirewallRule" ], + "FullCommandName": [ "Remove-AzPostgreSqlFirewallRule_Delete", "Remove-AzPostgreSqlFirewallRule_Delete", "Remove-AzPostgreSqlFirewallRule_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-request-id": [ "9f54800b-ab46-418c-968b-17a94bc758ea" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11965" ], + "x-ms-correlation-request-id": [ "fb22b042-1f96-432b-9710-8a5c93a4ffea" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200925T110304Z:fb22b042-1f96-432b-9710-8a5c93a4ffea" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Fri, 25 Sep 2020 11:03:03 GMT" ] + }, + "ContentHeaders": { "Expires": [ "-1" ], - "Content-Length": [ "239" ] + "Content-Length": [ "0" ] }, - "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForPostgreSQL/servers/postgresql-test-100\u0027 under resource group \u0027PostgreSqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" + "Content": null } } } \ No newline at end of file diff --git a/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServer.Recording.json b/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServer.Recording.json index a88a7aca806b..25d1c9a0c3cf 100644 --- a/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServer.Recording.json +++ b/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServer.Recording.json @@ -6,7 +6,7 @@ "Content": null, "Headers": { "x-ms-unique-id": [ "1" ], - "x-ms-client-request-id": [ "8ab2e06a-305a-4bda-84a0-ca31e14e2123" ], + "x-ms-client-request-id": [ "1845abef-64f5-4284-aadf-011562d4d5b7" ], "CommandName": [ "Get-AzPostgreSqlFlexibleServer" ], "FullCommandName": [ "Get-AzPostgreSqlFlexibleServer_List1" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -21,31 +21,31 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-original-request-ids": [ "b2ef7e4c-26e6-45c5-bd2e-c81afc4cde73", "680ffd8d-eb79-49f2-b792-098770b1fce8", "5f30f162-32f3-4de6-8639-7811306c6956", "cd11994a-46b4-4ce0-88c8-127997d9b842", "bd319d93-04bc-4b1f-a92b-e494ad594155" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], - "x-ms-request-id": [ "d069dc68-48d1-48c7-b8c0-db5b67f52f9e" ], - "x-ms-correlation-request-id": [ "d069dc68-48d1-48c7-b8c0-db5b67f52f9e" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T064234Z:d069dc68-48d1-48c7-b8c0-db5b67f52f9e" ], + "x-ms-original-request-ids": [ "8d66d2bc-4f67-4425-bead-291bc6980a86", "ffb68950-04f4-4618-80e7-1b8bafb02c7c", "9130284a-138b-48fb-80f6-49b162cc70d2", "23c03be4-d6e6-4bcf-aa62-470d9832a021", "b0311350-d485-4b4b-80c6-ad295043321c" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-request-id": [ "6418c2e5-b4e7-45e1-baca-0e1e0d8401d4" ], + "x-ms-correlation-request-id": [ "6418c2e5-b4e7-45e1-baca-0e1e0d8401d4" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T205830Z:6418c2e5-b4e7-45e1-baca-0e1e0d8401d4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Wed, 11 Nov 2020 06:42:34 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:58:29 GMT" ] }, "ContentHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ], - "Content-Length": [ "45669" ] + "Content-Length": [ "46770" ] }, - "Content": "{\"value\":[{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelian-prod-t0003-u03.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":65536,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-06T14:39:22.905245+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian-prod-t0003/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelian-prod-t0003-u03\",\"name\":\"chelian-prod-t0003-u03\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelian-prod-t0003-u04.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":524288,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-06T15:00:57.2564366+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group0064522515/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelian-prod-t0003-u04\",\"name\":\"chelian-prod-t0003-u04\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelian-prod-t0003-u05.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":524288,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-06T14:50:34.3693353+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian-prod-t0003/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelian-prod-t0003-u05\",\"name\":\"chelian-prod-t0003-u05\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_E2s_v3\",\"tier\":\"MemoryOptimized\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelian-prod-t0004-u03.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-07T04:19:57.3684699+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian-prod-t0004/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelian-prod-t0004-u03-ouji\",\"name\":\"chelian-prod-t0004-u03\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_E2s_v3\",\"tier\":\"MemoryOptimized\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-07T14:05:38.7071496+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian-prod-t0004/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelian-prod-t0004-u03-pitr\",\"name\":\"chelian-prod-t0004-u03-pitr\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_E2s_v3\",\"tier\":\"MemoryOptimized\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelian-prod-t0004-u04.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":1048576,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-06T15:07:08.8962707+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian-prod-t0004/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelian-prod-t0004-u04\",\"name\":\"chelian-prod-t0004-u04\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_E2s_v3\",\"tier\":\"MemoryOptimized\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelian-prod-t0004-u05.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":1048576,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-07T04:26:49.8990926+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian-prod-t0004/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelian-prod-t0004-u05-uwip\",\"name\":\"chelian-prod-t0004-u05\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D4s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":4},\"properties\":{\"fullyQualifiedDomainName\":\"huihvnetjae09212033fspg.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/huihvnetjae09212033/providers/Microsoft.Network/virtualNetworks/huihvnetjae09212033-vnet/subnets/huihvnetjae09212033-vnet-subnet\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"storageProfile\":{\"storageMB\":2097152,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:33.9971107+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/huihvnetjae09212033/providers/Microsoft.DBforPostgreSQL/flexibleServers/huihvnetjae09212033fspg\",\"name\":\"huihvnetjae09212033fspg\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"pg-test233.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:33.9971107+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/zhjtest/providers/Microsoft.DBforPostgreSQL/flexibleServers/pg-test233\",\"name\":\"pg-test233\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"daeun-powershell-pgserver.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"daeunyim\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":12},\"earliestRestoreDate\":\"2020-11-07T22:29:47.8237558+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/daeun-powershell-postgresql/providers/Microsoft.DBforPostgreSQL/flexibleServers/daeun-powershell-pgserver\",\"name\":\"daeun-powershell-pgserver\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B2s\",\"tier\":\"Burstable\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"kalyans-flex1.postgres.database.azure.com\",\"version\":\"11\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"pguser\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":32768,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.4201278+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/KalyanSRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/kalyans-flex1\",\"name\":\"kalyans-flex1\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"mjtest-cli.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"lovingGnat8\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-05T19:25:08.0949758+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/moljain-flexserver/providers/Microsoft.DBforPostgreSQL/flexibleServers/mjtest-cli\",\"name\":\"mjtest-cli\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"nik1110-flex001.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"azureuser\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/akamath/providers/Microsoft.Network/virtualNetworks/eastusflexvnet/subnets/eastusflexsubnet\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T06:17:17.4434069+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/nik1110-flex001/providers/Microsoft.DBforPostgreSQL/flexibleServers/nik1110-flex001\",\"name\":\"nik1110-flex001\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D8s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":8},\"properties\":{\"fullyQualifiedDomainName\":\"pgbouncerdemo.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.4201278+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/akamath/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgbouncerdemo\",\"name\":\"pgbouncerdemo\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"pg-test-restore.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"daeunyim\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-07T23:03:43.0105302+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/daeun-powershell-postgresql/providers/Microsoft.DBforPostgreSQL/flexibleServers/pg-test-restore\",\"name\":\"pg-test-restore\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"shyHamster5\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/VNETesql-test-100/subnets/Subnetesql-test-100\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T06:42:34.4201278+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"server682508346.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"pensiveMacaw8\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group4297177205/providers/Microsoft.Network/virtualNetworks/VNET682508346/subnets/Subnet682508346\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T21:33:27.7387151+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group4297177205/providers/Microsoft.DBforPostgreSQL/flexibleServers/server682508346\",\"name\":\"server682508346\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"server996218930.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"fluidWalrus6\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/daeun-powershell-postgresql/providers/Microsoft.Network/virtualNetworks/VNET996218930/subnets/Subnet996218930\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-09T08:04:34.0462961+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/daeun-powershell-postgresql/providers/Microsoft.DBforPostgreSQL/flexibleServers/server996218930\",\"name\":\"server996218930\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"tzsynapsetest.postgres.database.azure.com\",\"version\":\"11\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"tezhang\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.4201278+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/tzsynapsetestrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/tzsynapsetest\",\"name\":\"tzsynapsetest\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"tzsynapsetest1.postgres.database.azure.com\",\"version\":\"11\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"tezhang\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.4201278+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/tzsynapsetestrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/tzsynapsetest1\",\"name\":\"tzsynapsetest1\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelianeus22.postgres.database.azure.com\",\"version\":\"11\",\"standbyCount\":1,\"haEnabled\":\"Enabled\",\"administratorLogin\":\"chelian\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"Healthy\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.2584439+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelianeus22\",\"name\":\"chelianeus22\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelianeus22a.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"chelianeus22\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian-eus22-u0377-u01/providers/Microsoft.Network/virtualNetworks/chelian-eus22-u0377-u01-vnet/subnets/chelian-eus22-u0377-u01-vnet-sub0\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-06T02:30:32.5755568+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelianeus22a\",\"name\":\"chelianeus22a\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelianeus22vnet.postgres.database.azure.com\",\"version\":\"11\",\"standbyCount\":1,\"haEnabled\":\"Enabled\",\"administratorLogin\":\"chelian\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian-eus22-u0377-u01/providers/Microsoft.Network/virtualNetworks/chelian-eus22-u0377-u01-vnet/subnets/chelian-eus22-u0377-u01-vnet-sub0\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"Healthy\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.2584439+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelianeus22vnet\",\"name\":\"chelianeus22vnet\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"flextestpeering.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/akamath/providers/Microsoft.Network/virtualNetworks/flexvnetorig/subnets/default\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.2584439+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/akamath/providers/Microsoft.DBforPostgreSQL/flexibleServers/flextestpeering\",\"name\":\"flextestpeering\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"teja-test-12-single.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-07T00:32:41.4051848+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/teja-test-meru/providers/Microsoft.DBforPostgreSQL/flexibleServers/teja-test-12-single\",\"name\":\"teja-test-12-single\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"xizo-test-public-ip.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"xizo\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.2584439+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/xizo-u0052/providers/Microsoft.DBforPostgreSQL/flexibleServers/xizo-test-public-ip\",\"name\":\"xizo-test-public-ip\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"vikranthtest01.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"vikranth\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.4158899+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West Europe\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vikranthtest01/providers/Microsoft.DBforPostgreSQL/flexibleServers/vikranthtest01\",\"name\":\"vikranthtest01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"ambrahma-pgfs-vnet-4.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"ambrahma\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.Network/virtualNetworks/vnet-ambrahma-pgfs-vnet-4/subnets/subnet-postgresql-flexibleservers\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":32768,\"backupRetentionDays\":8},\"earliestRestoreDate\":\"2020-11-04T20:17:08.8259711+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.DBforPostgreSQL/flexibleServers/ambrahma-pgfs-vnet-4\",\"name\":\"ambrahma-pgfs-vnet-4\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"ambrahma-pgfs-vnet-6.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"ambrahma\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.Network/virtualNetworks/vnet-ambrahma-pgfs-vnet-6/subnets/subnet-postgresql-flexibleservers\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":32768,\"backupRetentionDays\":8},\"earliestRestoreDate\":\"2020-11-04T20:34:26.3449676+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.DBforPostgreSQL/flexibleServers/ambrahma-pgfs-vnet-6\",\"name\":\"ambrahma-pgfs-vnet-6\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"ambrahma-pgfs-vnet-7.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"ambrahma\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.Network/virtualNetworks/vnet-ambrahma-pgfs-vnet-6/subnets/subnet-postgresql-flexibleservers\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":32768,\"backupRetentionDays\":8},\"earliestRestoreDate\":\"2020-11-04T21:38:58.7097105+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.DBforPostgreSQL/flexibleServers/ambrahma-pgfs-vnet-7\",\"name\":\"ambrahma-pgfs-vnet-7\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"ambrahma-pgfs-vnet-8.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"ambrahma\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.Network/virtualNetworks/vnet-ambrahma-pgfs-vnet-6/subnets/default\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":32768,\"backupRetentionDays\":8},\"earliestRestoreDate\":\"2020-11-04T21:58:12.067413+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.DBforPostgreSQL/flexibleServers/ambrahma-pgfs-vnet-8\",\"name\":\"ambrahma-pgfs-vnet-8\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"ambrahma-pgfs-vnet-9.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"ambrahma\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":32768,\"backupRetentionDays\":8},\"earliestRestoreDate\":\"2020-11-04T22:25:30.0433317+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.DBforPostgreSQL/flexibleServers/ambrahma-pgfs-vnet-9\",\"name\":\"ambrahma-pgfs-vnet-9\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"identity\":{\"principalId\":\"ac7286b4-1177-4734-b7e4-d3fc4fcb87b7\",\"type\":\"SystemAssigned\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"fullyQualifiedDomainName\":\"byok-pgfs-1.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"shinim\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.6070619+00:00\",\"byokEnforcement\":\"Enabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/meruacr/providers/Microsoft.DBforPostgreSQL/flexibleServers/byok-pgfs-1\",\"name\":\"byok-pgfs-1\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"flexhavnet.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":1,\"haEnabled\":\"Enabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/akamath/providers/Microsoft.Network/virtualNetworks/canaryvnetflex/subnets/canaryflexsubnet\"},\"logBackupStorageSku\":\"\",\"haState\":\"Healthy\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":524288,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.6070619+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/akamath/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexhavnet-pvsc\",\"name\":\"flexhavnet\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B2s\",\"tier\":\"Burstable\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-b2s-2core.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":524288,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.6070619+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-b2s-2core\",\"name\":\"flexserverpg-canary-perf-b2s-2core\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D16s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":16},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-16core.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":8388608,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.6070619+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-16core\",\"name\":\"flexserverpg-canary-perf-gp-16core\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-2core.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":524288,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.6070619+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-2core\",\"name\":\"flexserverpg-canary-perf-gp-2core\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-2core-2.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.6070619+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-2core-2\",\"name\":\"flexserverpg-canary-perf-gp-2core-2\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-2core-3.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.6070619+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-2core-3\",\"name\":\"flexserverpg-canary-perf-gp-2core-3\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D4s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":4},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-4core.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":2097152,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.6070619+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-4core\",\"name\":\"flexserverpg-canary-perf-gp-4core\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D8s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":8},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-8core.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":2097152,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.6070619+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-8core\",\"name\":\"flexserverpg-canary-perf-gp-8core\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D8s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":8},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-8core-ha2.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":1,\"haEnabled\":\"Enabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"Healthy\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":2097152,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.6070619+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-8core-ha2\",\"name\":\"flexserverpg-canary-perf-gp-8core-ha2\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D8s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":8},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-8core-pg11.postgres.database.azure.com\",\"version\":\"11\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":2097152,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.6070619+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-8core-pg11\",\"name\":\"flexserverpg-canary-perf-gp-8core-pg11\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D8s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":8},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-8core-vnet.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.Network/virtualNetworks/flexserverpg-canary-vnet/subnets/default\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":2097152,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.6070619+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-8core-vnet\",\"name\":\"flexserverpg-canary-perf-gp-8core-vnet\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_E8s_v3\",\"tier\":\"MemoryOptimized\",\"capacity\":8},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-mo-8core.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":2097152,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.6070619+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-mo-8core\",\"name\":\"flexserverpg-canary-perf-mo-8core\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"flexvnetm4new.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":1,\"haEnabled\":\"Enabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/akamath/providers/Microsoft.Network/virtualNetworks/canaryvnetflex/subnets/canaryflexsubnet\"},\"logBackupStorageSku\":\"\",\"haState\":\"Healthy\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":524288,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.6070619+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/akamath/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexvnetm4new-yumj\",\"name\":\"flexvnetm4new\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D4s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":4},\"properties\":{\"fullyQualifiedDomainName\":\"senkupfspg1.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":1,\"haEnabled\":\"Enabled\",\"administratorLogin\":\"senkupadmin\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"\",\"haState\":\"RecreatingStandby\",\"state\":\"Updating\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":524288,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.6070619+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/senkuprg/providers/Microsoft.DBforPostgreSQL/flexibleServers/senkupfspg1-zbom\",\"name\":\"senkupfspg1\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"taocanaryvnet1.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vnetcanarytestrg/providers/Microsoft.Network/virtualNetworks/customer-vnet2/subnets/fspg-subnet\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.6070619+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vnettestcustomerrg9/providers/Microsoft.DBforPostgreSQL/flexibleServers/taocanaryvnet1\",\"name\":\"taocanaryvnet1\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D4s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":4},\"properties\":{\"fullyQualifiedDomainName\":\"taotestvnetfspg1.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vnetcanarytestrg/providers/Microsoft.Network/virtualNetworks/eus2euapfspgtestvnet1/subnets/fspg-subnet\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.6070619+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vnetcanarytestrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/taotestvnetfspg1\",\"name\":\"taotestvnetfspg1\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D4s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":4},\"properties\":{\"fullyQualifiedDomainName\":\"testvnetwithserviceendpoint.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vnetcanarytestrg/providers/Microsoft.Network/virtualNetworks/testvnetwithserviceendpoint/subnets/fspg-subnet\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.6070619+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vnetcanarytestrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testvnetwithserviceendpoint\",\"name\":\"testvnetwithserviceendpoint\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D16s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":16},\"properties\":{\"fullyQualifiedDomainName\":\"vikranthtest2.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":1,\"haEnabled\":\"Enabled\",\"administratorLogin\":\"vikranth\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"\",\"state\":\"Starting\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T06:42:34.6070619+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vikranthtest02/providers/Microsoft.DBforPostgreSQL/flexibleServers/vikranthtest2\",\"name\":\"vikranthtest2\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}]}" + "Content": "{\"value\":[{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelian-prod-t0003-u03.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":65536,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-06T14:39:22.905245+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian-prod-t0003/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelian-prod-t0003-u03\",\"name\":\"chelian-prod-t0003-u03\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelian-prod-t0003-u04.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":524288,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-06T15:00:57.2564366+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group0064522515/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelian-prod-t0003-u04\",\"name\":\"chelian-prod-t0003-u04\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelian-prod-t0003-u05.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":524288,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-06T14:50:34.3693353+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian-prod-t0003/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelian-prod-t0003-u05\",\"name\":\"chelian-prod-t0003-u05\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_E2s_v3\",\"tier\":\"MemoryOptimized\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelian-prod-t0004-u03.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-07T04:19:57.3684699+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian-prod-t0004/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelian-prod-t0004-u03-ouji\",\"name\":\"chelian-prod-t0004-u03\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_E2s_v3\",\"tier\":\"MemoryOptimized\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-07T14:05:38.7071496+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian-prod-t0004/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelian-prod-t0004-u03-pitr\",\"name\":\"chelian-prod-t0004-u03-pitr\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_E2s_v3\",\"tier\":\"MemoryOptimized\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelian-prod-t0004-u04.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":1048576,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-06T15:07:08.8962707+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian-prod-t0004/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelian-prod-t0004-u04\",\"name\":\"chelian-prod-t0004-u04\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_E2s_v3\",\"tier\":\"MemoryOptimized\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelian-prod-t0004-u05.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":1048576,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-07T04:26:49.8990926+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian-prod-t0004/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelian-prod-t0004-u05-uwip\",\"name\":\"chelian-prod-t0004-u05\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D4s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":4},\"properties\":{\"fullyQualifiedDomainName\":\"huihvnetjae09212033fspg.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/huihvnetjae09212033/providers/Microsoft.Network/virtualNetworks/huihvnetjae09212033-vnet/subnets/huihvnetjae09212033-vnet-subnet\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"storageProfile\":{\"storageMB\":2097152,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:29.8721055+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/huihvnetjae09212033/providers/Microsoft.DBforPostgreSQL/flexibleServers/huihvnetjae09212033fspg\",\"name\":\"huihvnetjae09212033fspg\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"pg-test233.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:29.8721055+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/zhjtest/providers/Microsoft.DBforPostgreSQL/flexibleServers/pg-test233\",\"name\":\"pg-test233\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"createtest.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"adminuser\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T20:19:27.7999027+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/daeun-powershell-postgresql/providers/Microsoft.DBforPostgreSQL/flexibleServers/createtest\",\"name\":\"createtest\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"daeun-powershell-pgserver.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"daeunyim\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"\",\"state\":\"Stopped\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":13},\"earliestRestoreDate\":\"2020-11-07T22:29:47.8237558+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/daeun-powershell-postgresql/providers/Microsoft.DBforPostgreSQL/flexibleServers/daeun-powershell-pgserver\",\"name\":\"daeun-powershell-pgserver\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B2s\",\"tier\":\"Burstable\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"kalyans-flex1.postgres.database.azure.com\",\"version\":\"11\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"pguser\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":32768,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2582548+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/KalyanSRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/kalyans-flex1\",\"name\":\"kalyans-flex1\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"mjtest-cli.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"lovingGnat8\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-05T19:25:08.0949758+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/moljain-flexserver/providers/Microsoft.DBforPostgreSQL/flexibleServers/mjtest-cli\",\"name\":\"mjtest-cli\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"nik1110-flex001.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"azureuser\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/akamath/providers/Microsoft.Network/virtualNetworks/eastusflexvnet/subnets/eastusflexsubnet\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T06:17:17.4434069+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/nik1110-flex001/providers/Microsoft.DBforPostgreSQL/flexibleServers/nik1110-flex001\",\"name\":\"nik1110-flex001\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D8s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":8},\"properties\":{\"fullyQualifiedDomainName\":\"pgbouncerdemo.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2582548+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/akamath/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgbouncerdemo\",\"name\":\"pgbouncerdemo\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"pg-test-restore.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"daeunyim\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-07T23:03:43.0105302+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/daeun-powershell-postgresql/providers/Microsoft.DBforPostgreSQL/flexibleServers/pg-test-restore\",\"name\":\"pg-test-restore\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresqltest100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"adminuser\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"\",\"state\":\"Stopped\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T20:47:55.6257742+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresqltest100\",\"name\":\"postgresqltest100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"postgresql_test\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T18:30:21.1770084+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"server682508346.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"pensiveMacaw8\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group4297177205/providers/Microsoft.Network/virtualNetworks/VNET682508346/subnets/Subnet682508346\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T21:33:27.7387151+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group4297177205/providers/Microsoft.DBforPostgreSQL/flexibleServers/server682508346\",\"name\":\"server682508346\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"tzsynapsetest.postgres.database.azure.com\",\"version\":\"11\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"tezhang\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2582548+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/tzsynapsetestrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/tzsynapsetest\",\"name\":\"tzsynapsetest\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"tzsynapsetest1.postgres.database.azure.com\",\"version\":\"11\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"tezhang\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2582548+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/tzsynapsetestrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/tzsynapsetest1\",\"name\":\"tzsynapsetest1\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelianeus22.postgres.database.azure.com\",\"version\":\"11\",\"standbyCount\":1,\"haEnabled\":\"Enabled\",\"administratorLogin\":\"chelian\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"Healthy\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.1186501+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelianeus22\",\"name\":\"chelianeus22\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelianeus22a.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"chelianeus22\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian-eus22-u0377-u01/providers/Microsoft.Network/virtualNetworks/chelian-eus22-u0377-u01-vnet/subnets/chelian-eus22-u0377-u01-vnet-sub0\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-06T02:30:32.5755568+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelianeus22a\",\"name\":\"chelianeus22a\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelianeus22vnet.postgres.database.azure.com\",\"version\":\"11\",\"standbyCount\":1,\"haEnabled\":\"Enabled\",\"administratorLogin\":\"chelian\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian-eus22-u0377-u01/providers/Microsoft.Network/virtualNetworks/chelian-eus22-u0377-u01-vnet/subnets/chelian-eus22-u0377-u01-vnet-sub0\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"Healthy\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.1186501+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelianeus22vnet\",\"name\":\"chelianeus22vnet\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"flextestpeering.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/akamath/providers/Microsoft.Network/virtualNetworks/flexvnetorig/subnets/default\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.1186501+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/akamath/providers/Microsoft.DBforPostgreSQL/flexibleServers/flextestpeering\",\"name\":\"flextestpeering\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"teja-test-12-single.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-07T00:32:41.4051848+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/teja-test-meru/providers/Microsoft.DBforPostgreSQL/flexibleServers/teja-test-12-single\",\"name\":\"teja-test-12-single\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"xizo-test-public-ip.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"xizo\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.1186501+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/xizo-u0052/providers/Microsoft.DBforPostgreSQL/flexibleServers/xizo-test-public-ip\",\"name\":\"xizo-test-public-ip\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"vikranthtest01.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"vikranth\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2895944+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West Europe\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vikranthtest01/providers/Microsoft.DBforPostgreSQL/flexibleServers/vikranthtest01\",\"name\":\"vikranthtest01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"ambrahma-pgfs-vnet-4.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"ambrahma\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.Network/virtualNetworks/vnet-ambrahma-pgfs-vnet-4/subnets/subnet-postgresql-flexibleservers\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":32768,\"backupRetentionDays\":8},\"earliestRestoreDate\":\"2020-11-04T20:17:08.8259711+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.DBforPostgreSQL/flexibleServers/ambrahma-pgfs-vnet-4\",\"name\":\"ambrahma-pgfs-vnet-4\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"ambrahma-pgfs-vnet-6.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"ambrahma\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.Network/virtualNetworks/vnet-ambrahma-pgfs-vnet-6/subnets/subnet-postgresql-flexibleservers\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":32768,\"backupRetentionDays\":8},\"earliestRestoreDate\":\"2020-11-04T20:34:26.3449676+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.DBforPostgreSQL/flexibleServers/ambrahma-pgfs-vnet-6\",\"name\":\"ambrahma-pgfs-vnet-6\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"ambrahma-pgfs-vnet-7.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"ambrahma\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.Network/virtualNetworks/vnet-ambrahma-pgfs-vnet-6/subnets/subnet-postgresql-flexibleservers\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":32768,\"backupRetentionDays\":8},\"earliestRestoreDate\":\"2020-11-04T21:38:58.7097105+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.DBforPostgreSQL/flexibleServers/ambrahma-pgfs-vnet-7\",\"name\":\"ambrahma-pgfs-vnet-7\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"ambrahma-pgfs-vnet-8.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"ambrahma\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.Network/virtualNetworks/vnet-ambrahma-pgfs-vnet-6/subnets/default\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":32768,\"backupRetentionDays\":8},\"earliestRestoreDate\":\"2020-11-04T21:58:12.067413+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.DBforPostgreSQL/flexibleServers/ambrahma-pgfs-vnet-8\",\"name\":\"ambrahma-pgfs-vnet-8\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"ambrahma-pgfs-vnet-9.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"ambrahma\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":32768,\"backupRetentionDays\":8},\"earliestRestoreDate\":\"2020-11-04T22:25:30.0433317+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.DBforPostgreSQL/flexibleServers/ambrahma-pgfs-vnet-9\",\"name\":\"ambrahma-pgfs-vnet-9\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"identity\":{\"principalId\":\"ac7286b4-1177-4734-b7e4-d3fc4fcb87b7\",\"type\":\"SystemAssigned\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"fullyQualifiedDomainName\":\"byok-pgfs-1.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"shinim\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Enabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/meruacr/providers/Microsoft.DBforPostgreSQL/flexibleServers/byok-pgfs-1\",\"name\":\"byok-pgfs-1\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"flexhavnet.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":1,\"haEnabled\":\"Enabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/akamath/providers/Microsoft.Network/virtualNetworks/canaryvnetflex/subnets/canaryflexsubnet\"},\"logBackupStorageSku\":\"\",\"haState\":\"Healthy\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":524288,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/akamath/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexhavnet-pvsc\",\"name\":\"flexhavnet\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B2s\",\"tier\":\"Burstable\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-b2s-2core.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":524288,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-b2s-2core\",\"name\":\"flexserverpg-canary-perf-b2s-2core\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D16s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":16},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-16core.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":8388608,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-16core\",\"name\":\"flexserverpg-canary-perf-gp-16core\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-2core.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":524288,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-2core\",\"name\":\"flexserverpg-canary-perf-gp-2core\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-2core-2.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-2core-2\",\"name\":\"flexserverpg-canary-perf-gp-2core-2\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-2core-3.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-2core-3\",\"name\":\"flexserverpg-canary-perf-gp-2core-3\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D4s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":4},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-4core.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":2097152,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-4core\",\"name\":\"flexserverpg-canary-perf-gp-4core\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D8s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":8},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-8core.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":2097152,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-8core\",\"name\":\"flexserverpg-canary-perf-gp-8core\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D8s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":8},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-8core-ha2.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":1,\"haEnabled\":\"Enabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"Healthy\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":2097152,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-8core-ha2\",\"name\":\"flexserverpg-canary-perf-gp-8core-ha2\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D8s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":8},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-8core-pg11.postgres.database.azure.com\",\"version\":\"11\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":2097152,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-8core-pg11\",\"name\":\"flexserverpg-canary-perf-gp-8core-pg11\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D8s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":8},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-8core-vnet.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.Network/virtualNetworks/flexserverpg-canary-vnet/subnets/default\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":2097152,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-8core-vnet\",\"name\":\"flexserverpg-canary-perf-gp-8core-vnet\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_E8s_v3\",\"tier\":\"MemoryOptimized\",\"capacity\":8},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-mo-8core.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":2097152,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-mo-8core\",\"name\":\"flexserverpg-canary-perf-mo-8core\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"flexvnetm4new.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":1,\"haEnabled\":\"Enabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/akamath/providers/Microsoft.Network/virtualNetworks/canaryvnetflex/subnets/canaryflexsubnet\"},\"logBackupStorageSku\":\"\",\"haState\":\"Healthy\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":524288,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/akamath/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexvnetm4new-yumj\",\"name\":\"flexvnetm4new\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D4s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":4},\"properties\":{\"fullyQualifiedDomainName\":\"senkupfspg1.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":1,\"haEnabled\":\"Enabled\",\"administratorLogin\":\"senkupadmin\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"\",\"haState\":\"RecreatingStandby\",\"state\":\"Updating\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":524288,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/senkuprg/providers/Microsoft.DBforPostgreSQL/flexibleServers/senkupfspg1-zbom\",\"name\":\"senkupfspg1\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"taocanaryvnet1.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vnetcanarytestrg/providers/Microsoft.Network/virtualNetworks/customer-vnet2/subnets/fspg-subnet\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vnettestcustomerrg9/providers/Microsoft.DBforPostgreSQL/flexibleServers/taocanaryvnet1\",\"name\":\"taocanaryvnet1\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D4s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":4},\"properties\":{\"fullyQualifiedDomainName\":\"taotestvnetfspg1.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vnetcanarytestrg/providers/Microsoft.Network/virtualNetworks/eus2euapfspgtestvnet1/subnets/fspg-subnet\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vnetcanarytestrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/taotestvnetfspg1\",\"name\":\"taotestvnetfspg1\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D4s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":4},\"properties\":{\"fullyQualifiedDomainName\":\"taotestvnetfspg2.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Disabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"\",\"state\":\"Provisioning\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":32768,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vnetcanarytestrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/taotestvnetfspg2\",\"name\":\"taotestvnetfspg2\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D4s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":4},\"properties\":{\"fullyQualifiedDomainName\":\"testvnetwithserviceendpoint.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vnetcanarytestrg/providers/Microsoft.Network/virtualNetworks/testvnetwithserviceendpoint/subnets/fspg-subnet\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vnetcanarytestrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testvnetwithserviceendpoint\",\"name\":\"testvnetwithserviceendpoint\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D16s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":16},\"properties\":{\"fullyQualifiedDomainName\":\"vikranthtest2.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":1,\"haEnabled\":\"Enabled\",\"administratorLogin\":\"vikranth\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"\",\"state\":\"Starting\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vikranthtest02/providers/Microsoft.DBforPostgreSQL/flexibleServers/vikranthtest2\",\"name\":\"vikranthtest2\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}]}" } }, - "Get-AzPostgreSqlFlexibleServer+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview+1": { + "Get-AzPostgreSqlFlexibleServer+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100?api-version=2020-02-14-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100?api-version=2020-02-14-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "2" ], - "x-ms-client-request-id": [ "e85bf093-31b9-4ebf-b2ac-7e42a92a08ca" ], + "x-ms-client-request-id": [ "84ff7ff5-3933-4804-977f-85694f6fb8c2" ], "CommandName": [ "Get-AzPostgreSqlFlexibleServer" ], "FullCommandName": [ "Get-AzPostgreSqlFlexibleServer_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -61,20 +61,20 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "6758e522-47f3-4969-9847-b830a780b903" ], + "x-ms-request-id": [ "e4cb5a0a-f2b4-4539-b65e-f5666ae2b6a7" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], - "x-ms-correlation-request-id": [ "2d119ce7-0e2e-4b4f-bc26-3ac9568efb07" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T064235Z:2d119ce7-0e2e-4b4f-bc26-3ac9568efb07" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-correlation-request-id": [ "41475abd-b110-469d-a1c3-da0e860dec70" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T205830Z:41475abd-b110-469d-a1c3-da0e860dec70" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:42:34 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:58:30 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1113" ], + "Content-Length": [ "871" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"shyHamster5\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/VNETesql-test-100/subnets/Subnetesql-test-100\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T06:42:35.1388809+00:00\",\"byokEnforcement\":\"Disabled\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0}},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresqltest100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"adminuser\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"\",\"state\":\"Stopped\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T20:47:55.6257742+00:00\",\"byokEnforcement\":\"Disabled\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0}},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresqltest100\",\"name\":\"postgresqltest100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}" } }, "Get-AzPostgreSqlFlexibleServer+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers?api-version=2020-02-14-preview+1": { @@ -84,7 +84,7 @@ "Content": null, "Headers": { "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "98f28477-105b-4d6a-b403-514a7f33eed9" ], + "x-ms-client-request-id": [ "20a5d47c-c233-455b-b569-18d0921fa1c0" ], "CommandName": [ "Get-AzPostgreSqlFlexibleServer" ], "FullCommandName": [ "Get-AzPostgreSqlFlexibleServer_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -100,30 +100,30 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "ad2fbc0d-2ba4-4ab0-b8bd-1ba1a0a01697" ], + "x-ms-request-id": [ "77c23183-41bc-4ae0-8655-8dba9ce3844f" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], - "x-ms-correlation-request-id": [ "de097d2a-e2b7-4295-b1d6-428c3cdb20a2" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T064235Z:de097d2a-e2b7-4295-b1d6-428c3cdb20a2" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-correlation-request-id": [ "80756e92-89b1-49eb-ae0b-12d36aadf61d" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T205831Z:80756e92-89b1-49eb-ae0b-12d36aadf61d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:42:35 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:58:30 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1033" ], + "Content-Length": [ "1591" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"shyHamster5\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/VNETesql-test-100/subnets/Subnetesql-test-100\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T06:42:35.4670096+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}]}" + "Content": "{\"value\":[{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresqltest100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"adminuser\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"\",\"state\":\"Stopped\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T20:47:55.6257742+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresqltest100\",\"name\":\"postgresqltest100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"postgresql_test\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T18:30:21.1770084+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}]}" } }, - "Get-AzPostgreSqlFlexibleServer+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview+1": { + "Get-AzPostgreSqlFlexibleServer+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100?api-version=2020-02-14-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100?api-version=2020-02-14-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "21c1c714-34cf-49e7-a6ef-44d51347e895" ], + "x-ms-client-request-id": [ "32599cb1-1871-4fb0-840d-767a5ef49c0a" ], "CommandName": [ "Get-AzPostgreSqlFlexibleServer" ], "FullCommandName": [ "Get-AzPostgreSqlFlexibleServer_GetViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -139,20 +139,20 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "34e61699-2d12-44eb-b3ec-262db440d59b" ], + "x-ms-request-id": [ "29fadd71-65b1-496e-aa85-a280b4eafc73" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], - "x-ms-correlation-request-id": [ "56936947-ea1d-4fcd-9008-3170a3e9c0d9" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T064235Z:56936947-ea1d-4fcd-9008-3170a3e9c0d9" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "299774a4-7148-48ed-8a53-d5c019a7ab34" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T205831Z:299774a4-7148-48ed-8a53-d5c019a7ab34" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:42:35 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:58:30 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1112" ], + "Content-Length": [ "871" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"shyHamster5\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/VNETesql-test-100/subnets/Subnetesql-test-100\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T06:42:35.779547+00:00\",\"byokEnforcement\":\"Disabled\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0}},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresqltest100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"adminuser\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"\",\"state\":\"Stopped\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T20:47:55.6257742+00:00\",\"byokEnforcement\":\"Disabled\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0}},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresqltest100\",\"name\":\"postgresqltest100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}" } } } \ No newline at end of file diff --git a/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServer.Tests.ps1 b/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServer.Tests.ps1 index 039a845d7501..07486620731d 100644 --- a/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServer.Tests.ps1 +++ b/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServer.Tests.ps1 @@ -29,7 +29,7 @@ Describe 'Get-AzPostgreSqlFlexibleServer' { It 'List' { { $servers = Get-AzPostgreSqlFlexibleServer -ResourceGroupName $env.resourceGroup - $servers.Count | Should -Be 1 + $servers.Count | Should -BeGreaterOrEqual 1 } | Should -Not -Throw } diff --git a/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerConfiguration.Recording.json b/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerConfiguration.Recording.json index 826be021c16b..0a58f0a4c0f0 100644 --- a/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerConfiguration.Recording.json +++ b/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerConfiguration.Recording.json @@ -1,8 +1,8 @@ { - "Get-AzPostgreSqlFlexibleServerConfiguration+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/configurations?api-version=2020-02-14-preview+1": { + "Get-AzPostgreSqlFlexibleServerConfiguration+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/configurations?api-version=2020-02-14-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/configurations?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/configurations?api-version=2020-02-14-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "5" ], @@ -35,13 +35,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"properties\":{\"value\":\"\",\"description\":\"Sets the application name to be reported in statistics and logs.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9._-]*\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/application_name\",\"name\":\"application_name\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1800\",\"description\":\"Forces a switch to the next WAL file if a new file has not been started within N seconds.\",\"defaultValue\":\"1800\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1073741823\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/archive_timeout\",\"name\":\"archive_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables input of NULL elements in arrays.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/array_nulls\",\"name\":\"array_nulls\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Starts the autovacuum subprocess.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/autovacuum\",\"name\":\"autovacuum\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0.1\",\"description\":\"Number of tuple inserts, updates, or deletes prior to analyze as a fraction of reltuples.\",\"defaultValue\":\"0.1\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-100\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/autovacuum_analyze_scale_factor\",\"name\":\"autovacuum_analyze_scale_factor\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"Minimum number of tuple inserts, updates, or deletes prior to analyze.\",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/autovacuum_analyze_threshold\",\"name\":\"autovacuum_analyze_threshold\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"200000000\",\"description\":\"Age at which to autovacuum a table to prevent transaction ID wraparound. Any change requires restarting the server to take effect.\",\"defaultValue\":\"200000000\",\"dataType\":\"Integer\",\"allowedValues\":\"100000-2000000000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/autovacuum_freeze_max_age\",\"name\":\"autovacuum_freeze_max_age\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Sets the maximum number of simultaneously running autovacuum worker processes. Any change requires restarting the server to take effect.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"1-262143\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/autovacuum_max_workers\",\"name\":\"autovacuum_max_workers\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"400000000\",\"description\":\"Multixact age at which to autovacuum a table to prevent multixact wraparound. Any change requires restarting the server to take effect.\",\"defaultValue\":\"400000000\",\"dataType\":\"Integer\",\"allowedValues\":\"10000-2000000000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/autovacuum_multixact_freeze_max_age\",\"name\":\"autovacuum_multixact_freeze_max_age\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"60\",\"description\":\"Time to sleep between autovacuum runs.\",\"defaultValue\":\"60\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/autovacuum_naptime\",\"name\":\"autovacuum_naptime\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Vacuum cost delay in milliseconds, for autovacuum.\",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-100\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/autovacuum_vacuum_cost_delay\",\"name\":\"autovacuum_vacuum_cost_delay\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Vacuum cost amount available before napping, for autovacuum.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-10000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/autovacuum_vacuum_cost_limit\",\"name\":\"autovacuum_vacuum_cost_limit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0.2\",\"description\":\"Number of tuple updates or deletes prior to vacuum as a fraction of reltuples.\",\"defaultValue\":\"0.2\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-100\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/autovacuum_vacuum_scale_factor\",\"name\":\"autovacuum_vacuum_scale_factor\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"Minimum number of tuple updates or deletes prior to vacuum.\",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/autovacuum_vacuum_threshold\",\"name\":\"autovacuum_vacuum_threshold\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Sets the maximum memory to be used by each autovacuum worker process.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2097151\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/autovacuum_work_mem\",\"name\":\"autovacuum_work_mem\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Number of pages after which previously performed writes are flushed to disk.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/backend_flush_after\",\"name\":\"backend_flush_after\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"safe_encoding\",\"description\":\"Sets whether \\\"\\\\\u0027\\\" is allowed in string literals.\",\"defaultValue\":\"safe_encoding\",\"dataType\":\"Enumeration\",\"allowedValues\":\"safe_encoding,on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/backslash_quote\",\"name\":\"backslash_quote\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"Background writer sleep time between rounds.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"10-10000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/bgwriter_delay\",\"name\":\"bgwriter_delay\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"Number of pages after which previously performed writes are flushed to disk.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/bgwriter_flush_after\",\"name\":\"bgwriter_flush_after\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"Background writer maximum number of LRU pages to flush per round.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1073741823\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/bgwriter_lru_maxpages\",\"name\":\"bgwriter_lru_maxpages\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Multiple of the average buffer usage to free per round.\",\"defaultValue\":\"2\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-10\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/bgwriter_lru_multiplier\",\"name\":\"bgwriter_lru_multiplier\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"hex\",\"description\":\"Sets the output format for bytea.\",\"defaultValue\":\"hex\",\"dataType\":\"Enumeration\",\"allowedValues\":\"escape,hex\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/bytea_output\",\"name\":\"bytea_output\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Checks function bodies during CREATE FUNCTION.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/check_function_bodies\",\"name\":\"check_function_bodies\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0.5\",\"description\":\"Time spent flushing dirty buffers during checkpoint, as fraction of checkpoint interval.\",\"defaultValue\":\"0.5\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/checkpoint_completion_target\",\"name\":\"checkpoint_completion_target\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"300\",\"description\":\"Sets the maximum time between automatic WAL checkpoints.\",\"defaultValue\":\"300\",\"dataType\":\"Integer\",\"allowedValues\":\"30-86400\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/checkpoint_timeout\",\"name\":\"checkpoint_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"30\",\"description\":\"Enables warnings if checkpoint segments are filled more frequently than this.\",\"defaultValue\":\"30\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/checkpoint_warning\",\"name\":\"checkpoint_warning\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"sql_ascii\",\"description\":\"Sets the client\u0027s character set encoding.\",\"defaultValue\":\"sql_ascii\",\"dataType\":\"Enumeration\",\"allowedValues\":\"BIG5,EUC_CN,EUC_JP,EUC_JIS_2004,EUC_KR,EUC_TW,GB18030,GBK,ISO_8859_5,ISO_8859_6,ISO_8859_7,ISO_8859_8,JOHAB,KOI8R,KOI8U,LATIN1,LATIN2,LATIN3,LATIN4,LATIN5,LATIN6,LATIN7,LATIN8,LATIN9,LATIN10,MULE_INTERNAL,SJIS,SHIFT_JIS_2004,SQL_ASCII,UHC,UTF8,WIN866,WIN874,WIN1250,WIN1251,WIN1252,WIN1253,WIN1254,WIN1255,WIN1256,WIN1257,WIN1258\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/client_encoding\",\"name\":\"client_encoding\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"notice\",\"description\":\"Sets the message levels that are sent to the client.\",\"defaultValue\":\"notice\",\"dataType\":\"Enumeration\",\"allowedValues\":\"debug5,debug4,debug3,debug2,debug1,log,notice,warning,error\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/client_min_messages\",\"name\":\"client_min_messages\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the delay in microseconds between transaction commit and flushing WAL to disk.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/commit_delay\",\"name\":\"commit_delay\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"5\",\"description\":\"Sets the minimum concurrent open transactions before performing commit_delay.\",\"defaultValue\":\"5\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/commit_siblings\",\"name\":\"commit_siblings\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"partition\",\"description\":\"Enables the planner to use constraints to optimize queries.\",\"defaultValue\":\"partition\",\"dataType\":\"Enumeration\",\"allowedValues\":\"partition,on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/constraint_exclusion\",\"name\":\"constraint_exclusion\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0.005\",\"description\":\"Sets the planner\u0027s estimate of the cost of processing each index entry during an index scan.\",\"defaultValue\":\"0.005\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/cpu_index_tuple_cost\",\"name\":\"cpu_index_tuple_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0.0025\",\"description\":\"Sets the planner\u0027s estimate of the cost of processing each operator or function call.\",\"defaultValue\":\"0.0025\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/cpu_operator_cost\",\"name\":\"cpu_operator_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0.01\",\"description\":\"Sets the planner\u0027s estimate of the cost of processing each tuple (row).\",\"defaultValue\":\"0.01\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/cpu_tuple_cost\",\"name\":\"cpu_tuple_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0.1\",\"description\":\"Sets the planner\u0027s estimate of the fraction of a cursor\u0027s rows that will be retrieved.\",\"defaultValue\":\"0.1\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/cursor_tuple_fraction\",\"name\":\"cursor_tuple_fraction\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ISO, MDY\",\"description\":\"Sets the display format for date and time values.\",\"defaultValue\":\"ISO, MDY\",\"dataType\":\"String\",\"allowedValues\":\"(ISO|POSTGRES|SQL|GERMAN)(, (DMY|MDY|YMD))?\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/DateStyle\",\"name\":\"DateStyle\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1000\",\"description\":\"Sets the amount of time, in milliseconds, to wait on a lock before checking for deadlock.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/deadlock_timeout\",\"name\":\"deadlock_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Indents parse and plan tree displays.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/debug_pretty_print\",\"name\":\"debug_pretty_print\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs each query\u0027s parse tree.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/debug_print_parse\",\"name\":\"debug_print_parse\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs each query\u0027s execution plan.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/debug_print_plan\",\"name\":\"debug_print_plan\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs each query\u0027s rewritten parse tree.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/debug_print_rewritten\",\"name\":\"debug_print_rewritten\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"Sets the default statistics target.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/default_statistics_target\",\"name\":\"default_statistics_target\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Sets the default tablespace to create tables and indexes in.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z._]*\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/default_tablespace\",\"name\":\"default_tablespace\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"pg_catalog.english\",\"description\":\"Sets default text search configuration.\",\"defaultValue\":\"pg_catalog.english\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z._]+\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/default_text_search_config\",\"name\":\"default_text_search_config\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Sets the default deferrable status of new transactions.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/default_transaction_deferrable\",\"name\":\"default_transaction_deferrable\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"read committed\",\"description\":\"Sets the transaction isolation level of each new transaction.\",\"defaultValue\":\"read committed\",\"dataType\":\"Enumeration\",\"allowedValues\":\"serializable,repeatable read,read committed,read uncommitted\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/default_transaction_isolation\",\"name\":\"default_transaction_isolation\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Sets the default read-only status of new transactions.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/default_transaction_read_only\",\"name\":\"default_transaction_read_only\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Creates new tables with OIDs by default.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/default_with_oids\",\"name\":\"default_with_oids\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"786432\",\"description\":\"Sets the planner\u0027s assumption about the size of the disk cache.\",\"defaultValue\":\"786432\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/effective_cache_size\",\"name\":\"effective_cache_size\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Sets the number of concurrent disk I/O operations that PostgreSQL expects can be executed simultaneously.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/effective_io_concurrency\",\"name\":\"effective_io_concurrency\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of bitmap-scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_bitmapscan\",\"name\":\"enable_bitmapscan\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of gather merge plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_gathermerge\",\"name\":\"enable_gathermerge\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of hashed aggregation plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_hashagg\",\"name\":\"enable_hashagg\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of hash join plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_hashjoin\",\"name\":\"enable_hashjoin\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of index-only-scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_indexonlyscan\",\"name\":\"enable_indexonlyscan\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of index-scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_indexscan\",\"name\":\"enable_indexscan\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of materialization.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_material\",\"name\":\"enable_material\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of merge join plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_mergejoin\",\"name\":\"enable_mergejoin\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of nested loop join plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_nestloop\",\"name\":\"enable_nestloop\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Enables or disables the query planner\u0027s use of partitionwise grouping or aggregation, which allows grouping or aggregation on a partitioned tables performed separately for each partition.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_partitionwise_aggregate\",\"name\":\"enable_partitionwise_aggregate\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Enables or disables the query planner\u0027s use of partitionwise join, which allows a join between partitioned tables to be performed by joining the matching partitions.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_partitionwise_join\",\"name\":\"enable_partitionwise_join\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of sequential-scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_seqscan\",\"name\":\"enable_seqscan\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of explicit sort steps.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_sort\",\"name\":\"enable_sort\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of TID scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_tidscan\",\"name\":\"enable_tidscan\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Warns about backslash escapes in ordinary string literals.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/escape_string_warning\",\"name\":\"escape_string_warning\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Terminates session on any error.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/exit_on_error\",\"name\":\"exit_on_error\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Sets the number of digits displayed for floating-point values.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"-15-3\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/extra_float_digits\",\"name\":\"extra_float_digits\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Forces use of parallel query facilities.\",\"defaultValue\":\"off\",\"dataType\":\"Enumeration\",\"allowedValues\":\"off,on,regress\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/force_parallel_mode\",\"name\":\"force_parallel_mode\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"Sets the FROM-list size beyond which subqueries are not collapsed.\",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/from_collapse_limit\",\"name\":\"from_collapse_limit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables genetic query optimization.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/geqo\",\"name\":\"geqo\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"5\",\"description\":\"GEQO: effort is used to set the default for other GEQO parameters.\",\"defaultValue\":\"5\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/geqo_effort\",\"name\":\"geqo_effort\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"GEQO: number of iterations of the algorithm.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/geqo_generations\",\"name\":\"geqo_generations\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"GEQO: number of individuals in the population.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/geqo_pool_size\",\"name\":\"geqo_pool_size\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"GEQO: seed for random path selection.\",\"defaultValue\":\"0\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/geqo_seed\",\"name\":\"geqo_seed\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"GEQO: selective pressure within the population.\",\"defaultValue\":\"2\",\"dataType\":\"Numeric\",\"allowedValues\":\"1.5-2\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/geqo_selection_bias\",\"name\":\"geqo_selection_bias\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"12\",\"description\":\"Sets the threshold of FROM items beyond which GEQO is used.\",\"defaultValue\":\"12\",\"dataType\":\"Integer\",\"allowedValues\":\"2-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/geqo_threshold\",\"name\":\"geqo_threshold\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum allowed result for exact search by GIN.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/gin_fuzzy_search_limit\",\"name\":\"gin_fuzzy_search_limit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"Sets the maximum size of the pending list for GIN index.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"64-2097151\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/gin_pending_list_limit\",\"name\":\"gin_pending_list_limit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"try\",\"description\":\"Enables/disables the use of huge memory pages. Changing this value requires server restart. This setting is not applicable to servers having less than 4 vCores.\",\"defaultValue\":\"try\",\"dataType\":\"Enumeration\",\"allowedValues\":\"on,off,try\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/huge_pages\",\"name\":\"huge_pages\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum allowed duration of any idling transaction.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/idle_in_transaction_session_timeout\",\"name\":\"idle_in_transaction_session_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"postgres\",\"description\":\"Sets the display format for interval values.\",\"defaultValue\":\"postgres\",\"dataType\":\"Enumeration\",\"allowedValues\":\"postgres,postgres_verbose,sql_standard,iso_8601\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/IntervalStyle\",\"name\":\"IntervalStyle\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Determines whether JIT compilation may be used by PostgreSQL.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on, off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/jit\",\"name\":\"jit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"100000\",\"description\":\"Sets the query cost above which JIT compilation is activated, if enabled.\",\"defaultValue\":\"100000\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/jit_above_cost\",\"name\":\"jit_above_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"500000\",\"description\":\"Sets the query cost above which JIT compilation attempts to inline functions and operators.\",\"defaultValue\":\"500000\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/jit_inline_above_cost\",\"name\":\"jit_inline_above_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"500000\",\"description\":\"Sets the query cost above which JIT compilation applies expensive optimizations.\",\"defaultValue\":\"500000\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/jit_optimize_above_cost\",\"name\":\"jit_optimize_above_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"Sets the FROM-list size beyond which JOIN constructs are not flattened.\",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/join_collapse_limit\",\"name\":\"join_collapse_limit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"en_US.utf-8\",\"description\":\"Sets the locale for formatting monetary amounts.\",\"defaultValue\":\"en_US.utf-8\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9._ -]+\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/lc_monetary\",\"name\":\"lc_monetary\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"en_US.utf-8\",\"description\":\"Sets the locale for formatting numbers.\",\"defaultValue\":\"en_US.utf-8\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9._ -]+\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/lc_numeric\",\"name\":\"lc_numeric\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Enables backward compatibility mode for privilege checks on large objects.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/lo_compat_privileges\",\"name\":\"lo_compat_privileges\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum allowed duration (in milliseconds) of any wait for a lock. 0 turns this off.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/lock_timeout\",\"name\":\"lock_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Sets the minimum execution time above which autovacuum actions will be logged.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_autovacuum_min_duration\",\"name\":\"log_autovacuum_min_duration\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Logs each checkpoint.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_checkpoints\",\"name\":\"log_checkpoints\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs each successful connection.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_connections\",\"name\":\"log_connections\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"stderr\",\"description\":\"Sets the destination for server log output.\",\"defaultValue\":\"stderr\",\"dataType\":\"Enumeration\",\"allowedValues\":\"stderr,csvlog\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_destination\",\"name\":\"log_destination\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs end of a session, including duration.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_disconnections\",\"name\":\"log_disconnections\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs the duration of each completed SQL statement.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_duration\",\"name\":\"log_duration\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"default\",\"description\":\"Sets the verbosity of logged messages.\",\"defaultValue\":\"default\",\"dataType\":\"Enumeration\",\"allowedValues\":\"terse,default,verbose\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_error_verbosity\",\"name\":\"log_error_verbosity\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs long lock waits.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_lock_waits\",\"name\":\"log_lock_waits\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Sets the minimum execution time (in milliseconds) above which statements will be logged. -1 disables logging statement durations.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_min_duration_statement\",\"name\":\"log_min_duration_statement\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"error\",\"description\":\"Causes all statements generating error at or above this level to be logged.\",\"defaultValue\":\"error\",\"dataType\":\"Enumeration\",\"allowedValues\":\"debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_min_error_statement\",\"name\":\"log_min_error_statement\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"warning\",\"description\":\"Sets the message levels that are logged.\",\"defaultValue\":\"warning\",\"dataType\":\"Enumeration\",\"allowedValues\":\"debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_min_messages\",\"name\":\"log_min_messages\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs each replication command.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_replication_commands\",\"name\":\"log_replication_commands\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"none\",\"description\":\"Sets the type of statements logged.\",\"defaultValue\":\"none\",\"dataType\":\"Enumeration\",\"allowedValues\":\"none,ddl,mod,all\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_statement\",\"name\":\"log_statement\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"For each query, writes cumulative performance statistics to the server log.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_statement_stats\",\"name\":\"log_statement_stats\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Logs the use of temporary files larger than this number of kilobytes.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_temp_files\",\"name\":\"log_temp_files\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"216064\",\"description\":\"Sets the maximum memory to be used for maintenance operations.\",\"defaultValue\":\"216064\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-2097151\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/maintenance_work_mem\",\"name\":\"maintenance_work_mem\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"859\",\"description\":\"Sets the maximum number of concurrent connections. Any change requires restarting the server to take effect.\",\"defaultValue\":\"859\",\"dataType\":\"Integer\",\"allowedValues\":\"25-5000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_connections\",\"name\":\"max_connections\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"Sets the maximum number of locks per transaction. Any change requires restarting the server to take effect. When running a replica server, you must set this parameter to the same or higher value than on the master server.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"10-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_locks_per_transaction\",\"name\":\"max_locks_per_transaction\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"Sets the maximum number of parallel workers than can be active at one time.\",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1024\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_parallel_workers\",\"name\":\"max_parallel_workers\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Sets the maximum number of parallel processes per executor node.\",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1024\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_parallel_workers_per_gather\",\"name\":\"max_parallel_workers_per_gather\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Sets the maximum number of predicate-locked tuples per page.\",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_pred_locks_per_page\",\"name\":\"max_pred_locks_per_page\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"-2\",\"description\":\"Sets the maximum number of predicate-locked pages and tuples per relation.\",\"defaultValue\":\"-2\",\"dataType\":\"Integer\",\"allowedValues\":\"-2147483648-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_pred_locks_per_relation\",\"name\":\"max_pred_locks_per_relation\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum number of simultaneously prepared transactions. Any change requires restarting the server to take effect. When running a replica server, you must set this parameter to the same or higher value than on the master server.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-262143\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_prepared_transactions\",\"name\":\"max_prepared_transactions\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Sets the maximum number of simultaneously defined replication slots.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-262143\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_replication_slots\",\"name\":\"max_replication_slots\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"30000\",\"description\":\"Sets the maximum delay before canceling queries when a hot standby server is processing archived WAL data.\",\"defaultValue\":\"30000\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_standby_archive_delay\",\"name\":\"max_standby_archive_delay\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"30000\",\"description\":\"Sets the maximum delay before canceling queries when a hot standby server is processing streamed WAL data.\",\"defaultValue\":\"30000\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_standby_streaming_delay\",\"name\":\"max_standby_streaming_delay\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Maximum number of table synchronization workers per subscription.\",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"0-262143\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_sync_workers_per_subscription\",\"name\":\"max_sync_workers_per_subscription\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Sets the maximum number of simultaneously running WAL sender processes.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_wal_senders\",\"name\":\"max_wal_senders\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"32768\",\"description\":\"Sets the WAL size that triggers a checkpoint.\",\"defaultValue\":\"32768\",\"dataType\":\"Integer\",\"allowedValues\":\"2-65536\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_wal_size\",\"name\":\"max_wal_size\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"Sets the maximum number of background processes that the system can support.\",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"0-262143\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_worker_processes\",\"name\":\"max_worker_processes\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"Sets the minimum amount of index data for a parallel scan.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"0-715827882\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/min_parallel_index_scan_size\",\"name\":\"min_parallel_index_scan_size\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"Sets the minimum amount of table data for a parallel scan.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"0-715827882\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/min_parallel_table_scan_size\",\"name\":\"min_parallel_table_scan_size\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"80\",\"description\":\"Sets the minimum size to shrink the WAL to.\",\"defaultValue\":\"80\",\"dataType\":\"Integer\",\"allowedValues\":\"2-2097151\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/min_wal_size\",\"name\":\"min_wal_size\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Emits a warning for constructs that changed meaning since PostgreSQL 9.4.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/operator_precedence_warning\",\"name\":\"operator_precedence_warning\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1000\",\"description\":\"Sets the planner\u0027s estimate of the cost of starting up worker processes for parallel query.\",\"defaultValue\":\"1000\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/parallel_setup_cost\",\"name\":\"parallel_setup_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0.1\",\"description\":\"Sets the planner\u0027s estimate of the cost of passing each tuple (row) from worker to master backend.\",\"defaultValue\":\"0.1\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/parallel_tuple_cost\",\"name\":\"parallel_tuple_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"none\",\"description\":\"Specifies which classes of statements will be logged by session audit logging.\",\"defaultValue\":\"none\",\"dataType\":\"Set\",\"allowedValues\":\"none,read,write,function,role,ddl,misc,all\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pgaudit.log\",\"name\":\"pgaudit.log\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Specifies that session logging should be enabled in the case where all relations in a statement are in pg_catalog.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pgaudit.log_catalog\",\"name\":\"pgaudit.log_catalog\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Specifies whether audit messages should be visible to the client.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pgaudit.log_client\",\"name\":\"pgaudit.log_client\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"log\",\"description\":\"Specifies the log level that will be used for log entries.\",\"defaultValue\":\"log\",\"dataType\":\"Enumeration\",\"allowedValues\":\",debug5,debug4,debug3,debug2,debug1,info,notice,warning,log\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pgaudit.log_level\",\"name\":\"pgaudit.log_level\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Specifies that audit logging should include the parameters that were passed with the statement.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pgaudit.log_parameter\",\"name\":\"pgaudit.log_parameter\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Specifies whether session audit logging should create a separate log entry for each relation referenced in a SELECT or DML statement.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pgaudit.log_relation\",\"name\":\"pgaudit.log_relation\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Specifies whether logging will include the statement text and parameters with the first log entry for a statement/substatement combination or with every entry.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pgaudit.log_statement_once\",\"name\":\"pgaudit.log_statement_once\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Specifies the master role to use for object audit logging.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z\\\\._]*\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pgaudit.role\",\"name\":\"pgaudit.role\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"5000\",\"description\":\"Sets the maximum number of statements tracked by pg_stat_statements. Any change requires restarting the server to take effect.\",\"defaultValue\":\"5000\",\"dataType\":\"Integer\",\"allowedValues\":\"100-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pg_stat_statements.max\",\"name\":\"pg_stat_statements.max\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Save pg_stat_statements statistics across server shutdowns.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pg_stat_statements.save\",\"name\":\"pg_stat_statements.save\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"top\",\"description\":\"Controls which statements are counted by pg_stat_statements.\",\"defaultValue\":\"top\",\"dataType\":\"Enumeration\",\"allowedValues\":\"top,all,none\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pg_stat_statements.track\",\"name\":\"pg_stat_statements.track\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Selects whether utility commands are tracked by pg_stat_statements.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pg_stat_statements.track_utility\",\"name\":\"pg_stat_statements.track_utility\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"apply_remote\",\"description\":\"Sets the resolution method for any detected conflicts between local data and incoming changes.\",\"defaultValue\":\"apply_remote\",\"dataType\":\"Enumeration\",\"allowedValues\":\"error,apply_remote,keep_local,last_update_wins,first_update_wins\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pglogical.conflict_resolution\",\"name\":\"pglogical.conflict_resolution\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"log\",\"description\":\"Sets the log level for reporting detected conflicts when the pglogical.conflict_resolution is set to anything else than error.\",\"defaultValue\":\"log\",\"dataType\":\"Enumeration\",\"allowedValues\":\"debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pglogical.conflict_log_level\",\"name\":\"pglogical.conflict_log_level\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Tells PGLogical to use batch insert mechanism if possible.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pglogical.batch_inserts\",\"name\":\"pglogical.batch_inserts\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Tells PGLogical to use SPI interface to form actual SQL (INSERT, UPDATE, DELETE) statements to apply incoming changes instead of using internal low level interface.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pglogical.use_spi\",\"name\":\"pglogical.use_spi\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"DISABLE_ALL\",\"description\":\"Controls postgis GDAL enabled driver settings.\",\"defaultValue\":\"DISABLE_ALL\",\"dataType\":\"Enumeration\",\"allowedValues\":\"DISABLE_ALL,ENABLE_ALL\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/postgis.gdal_enabled_drivers\",\"name\":\"postgis.gdal_enabled_drivers\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"When generating SQL fragments, quotes all identifiers.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/quote_all_identifiers\",\"name\":\"quote_all_identifiers\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"Sets the planner\u0027s estimate of the cost of a nonsequentially fetched disk page.\",\"defaultValue\":\"4\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/random_page_cost\",\"name\":\"random_page_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables row security.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/row_security\",\"name\":\"row_security\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\\\"$user\\\", public\",\"description\":\"Sets the schema search order for names that are not schema-qualified.\",\"defaultValue\":\"\\\"$user\\\", public\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z.\\\"$, ]+\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/search_path\",\"name\":\"search_path\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Sets the planner\u0027s estimate of the cost of a sequentially fetched disk page.\",\"defaultValue\":\"1\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/seq_page_cost\",\"name\":\"seq_page_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"origin\",\"description\":\"Sets the session\u0027s behavior for triggers and rewrite rules.\",\"defaultValue\":\"origin\",\"dataType\":\"Enumeration\",\"allowedValues\":\"origin,replica,local\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/session_replication_role\",\"name\":\"session_replication_role\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Sets the maximum SSL/TLS protocol version to use.\",\"defaultValue\":\"\",\"dataType\":\"Enumeration\",\"allowedValues\":\",TLSv1.2,TLSv1.3\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/ssl_max_protocol_version\",\"name\":\"ssl_max_protocol_version\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"TLSv1.2\",\"description\":\"Sets the minimum SSL/TLS protocol version to use.\",\"defaultValue\":\"TLSv1.2\",\"dataType\":\"Enumeration\",\"allowedValues\":\"TLSv1.2,TLSv1.3\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/ssl_min_protocol_version\",\"name\":\"ssl_min_protocol_version\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Causes \u0027...\u0027 strings to treat backslashes literally.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/standard_conforming_strings\",\"name\":\"standard_conforming_strings\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum allowed duration (in milliseconds) of any statement. 0 turns this off.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/statement_timeout\",\"name\":\"statement_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables synchronized sequential scans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/synchronize_seqscans\",\"name\":\"synchronize_seqscans\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Sets the current transaction\u0027s synchronization level.\",\"defaultValue\":\"on\",\"dataType\":\"Enumeration\",\"allowedValues\":\"local,remote_write,on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/synchronous_commit\",\"name\":\"synchronous_commit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"9\",\"description\":\"Maximum number of TCP keepalive retransmits.\",\"defaultValue\":\"9\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/tcp_keepalives_count\",\"name\":\"tcp_keepalives_count\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"120\",\"description\":\"Time between issuing TCP keepalives.\",\"defaultValue\":\"120\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/tcp_keepalives_idle\",\"name\":\"tcp_keepalives_idle\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"30\",\"description\":\"Time between TCP keepalive retransmits.\",\"defaultValue\":\"30\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/tcp_keepalives_interval\",\"name\":\"tcp_keepalives_interval\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"Sets the maximum number of temporary buffers used by each database session.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"100-1073741823\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/temp_buffers\",\"name\":\"temp_buffers\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Sets the tablespace(s) to use for temporary tables and sort files.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z._]*\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/temp_tablespaces\",\"name\":\"temp_tablespaces\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"UTC\",\"description\":\"Sets the time zone for displaying and interpreting time stamps.\",\"defaultValue\":\"UTC\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9/+_-]+\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/TimeZone\",\"name\":\"TimeZone\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Collects information about executing commands.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/track_activities\",\"name\":\"track_activities\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"Sets the size reserved for pg_stat_activity.query, in bytes. Any change requires restarting the server to take effect.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"100-102400\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/track_activity_query_size\",\"name\":\"track_activity_query_size\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Collects transaction commit time. Any change requires restarting the server to take effect.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/track_commit_timestamp\",\"name\":\"track_commit_timestamp\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Collects statistics on database activity.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/track_counts\",\"name\":\"track_counts\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"none\",\"description\":\"Collects function-level statistics on database activity.\",\"defaultValue\":\"none\",\"dataType\":\"Enumeration\",\"allowedValues\":\"none,pl,all\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/track_functions\",\"name\":\"track_functions\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Collects timing statistics for database I/O activity.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/track_io_timing\",\"name\":\"track_io_timing\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Treats \\\"expr=NULL\\\" as \\\"expr IS NULL\\\".\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/transform_null_equals\",\"name\":\"transform_null_equals\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Vacuum cost delay in milliseconds.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/vacuum_cost_delay\",\"name\":\"vacuum_cost_delay\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"Vacuum cost amount available before napping.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/vacuum_cost_limit\",\"name\":\"vacuum_cost_limit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"20\",\"description\":\"Vacuum cost for a page dirtied by vacuum.\",\"defaultValue\":\"20\",\"dataType\":\"Integer\",\"allowedValues\":\"0-10000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/vacuum_cost_page_dirty\",\"name\":\"vacuum_cost_page_dirty\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Vacuum cost for a page found in the buffer cache.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0-10000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/vacuum_cost_page_hit\",\"name\":\"vacuum_cost_page_hit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Vacuum cost for a page not found in the buffer cache.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-10000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/vacuum_cost_page_miss\",\"name\":\"vacuum_cost_page_miss\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Number of transactions by which VACUUM and HOT cleanup should be deferred, if any.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/vacuum_defer_cleanup_age\",\"name\":\"vacuum_defer_cleanup_age\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"50000000\",\"description\":\"Minimum age at which VACUUM should freeze a table row.\",\"defaultValue\":\"50000000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/vacuum_freeze_min_age\",\"name\":\"vacuum_freeze_min_age\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"150000000\",\"description\":\"Age at which VACUUM should scan whole table to freeze tuples.\",\"defaultValue\":\"150000000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2000000000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/vacuum_freeze_table_age\",\"name\":\"vacuum_freeze_table_age\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"5000000\",\"description\":\"Minimum age at which VACUUM should freeze a MultiXactId in a table row.\",\"defaultValue\":\"5000000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/vacuum_multixact_freeze_min_age\",\"name\":\"vacuum_multixact_freeze_min_age\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"150000000\",\"description\":\"Multixact age at which VACUUM should scan whole table to freeze tuples.\",\"defaultValue\":\"150000000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2000000000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/vacuum_multixact_freeze_table_age\",\"name\":\"vacuum_multixact_freeze_table_age\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Compresses full-page writes written in WAL file.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/wal_compression\",\"name\":\"wal_compression\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"replica\",\"description\":\"It determines how much information is written to the WAL.\",\"defaultValue\":\"replica\",\"dataType\":\"Enumeration\",\"allowedValues\":\"replica,logical\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/wal_level\",\"name\":\"wal_level\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Sets the maximum interval between WAL receiver status reports to the primary.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/wal_receiver_status_interval\",\"name\":\"wal_receiver_status_interval\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"Time between WAL flushes performed in the WAL writer.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/wal_writer_delay\",\"name\":\"wal_writer_delay\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"128\",\"description\":\"Amount of WAL written out by WAL writer that triggers a flush.\",\"defaultValue\":\"128\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/wal_writer_flush_after\",\"name\":\"wal_writer_flush_after\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"Sets the amount of memory to be used by internal sort operations and hash tables before writing to temporary disk files.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-2097151\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/work_mem\",\"name\":\"work_mem\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"base64\",\"description\":\"Sets how binary values are to be encoded in XML.\",\"defaultValue\":\"base64\",\"dataType\":\"Enumeration\",\"allowedValues\":\"base64,hex\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/xmlbinary\",\"name\":\"xmlbinary\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"content\",\"description\":\"Sets whether XML data in implicit parsing and serialization operations is to be considered as documents or content fragments.\",\"defaultValue\":\"content\",\"dataType\":\"Enumeration\",\"allowedValues\":\"content,document\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/xmloption\",\"name\":\"xmloption\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"}]}" + "Content": "{\"value\":[{\"properties\":{\"value\":\"\",\"description\":\"Sets the application name to be reported in statistics and logs.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9._-]*\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/application_name\",\"name\":\"application_name\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1800\",\"description\":\"Forces a switch to the next WAL file if a new file has not been started within N seconds.\",\"defaultValue\":\"1800\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1073741823\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/archive_timeout\",\"name\":\"archive_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables input of NULL elements in arrays.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/array_nulls\",\"name\":\"array_nulls\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Starts the autovacuum subprocess.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/autovacuum\",\"name\":\"autovacuum\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0.1\",\"description\":\"Number of tuple inserts, updates, or deletes prior to analyze as a fraction of reltuples.\",\"defaultValue\":\"0.1\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-100\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/autovacuum_analyze_scale_factor\",\"name\":\"autovacuum_analyze_scale_factor\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"Minimum number of tuple inserts, updates, or deletes prior to analyze.\",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/autovacuum_analyze_threshold\",\"name\":\"autovacuum_analyze_threshold\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"200000000\",\"description\":\"Age at which to autovacuum a table to prevent transaction ID wraparound. Any change requires restarting the server to take effect.\",\"defaultValue\":\"200000000\",\"dataType\":\"Integer\",\"allowedValues\":\"100000-2000000000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/autovacuum_freeze_max_age\",\"name\":\"autovacuum_freeze_max_age\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Sets the maximum number of simultaneously running autovacuum worker processes. Any change requires restarting the server to take effect.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"1-262143\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/autovacuum_max_workers\",\"name\":\"autovacuum_max_workers\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"400000000\",\"description\":\"Multixact age at which to autovacuum a table to prevent multixact wraparound. Any change requires restarting the server to take effect.\",\"defaultValue\":\"400000000\",\"dataType\":\"Integer\",\"allowedValues\":\"10000-2000000000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/autovacuum_multixact_freeze_max_age\",\"name\":\"autovacuum_multixact_freeze_max_age\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"60\",\"description\":\"Time to sleep between autovacuum runs.\",\"defaultValue\":\"60\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/autovacuum_naptime\",\"name\":\"autovacuum_naptime\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Vacuum cost delay in milliseconds, for autovacuum.\",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-100\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/autovacuum_vacuum_cost_delay\",\"name\":\"autovacuum_vacuum_cost_delay\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Vacuum cost amount available before napping, for autovacuum.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-10000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/autovacuum_vacuum_cost_limit\",\"name\":\"autovacuum_vacuum_cost_limit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0.2\",\"description\":\"Number of tuple updates or deletes prior to vacuum as a fraction of reltuples.\",\"defaultValue\":\"0.2\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-100\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/autovacuum_vacuum_scale_factor\",\"name\":\"autovacuum_vacuum_scale_factor\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"Minimum number of tuple updates or deletes prior to vacuum.\",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/autovacuum_vacuum_threshold\",\"name\":\"autovacuum_vacuum_threshold\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Sets the maximum memory to be used by each autovacuum worker process.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2097151\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/autovacuum_work_mem\",\"name\":\"autovacuum_work_mem\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Number of pages after which previously performed writes are flushed to disk.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/backend_flush_after\",\"name\":\"backend_flush_after\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"safe_encoding\",\"description\":\"Sets whether \\\"\\\\\u0027\\\" is allowed in string literals.\",\"defaultValue\":\"safe_encoding\",\"dataType\":\"Enumeration\",\"allowedValues\":\"safe_encoding,on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/backslash_quote\",\"name\":\"backslash_quote\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"Background writer sleep time between rounds.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"10-10000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/bgwriter_delay\",\"name\":\"bgwriter_delay\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"Number of pages after which previously performed writes are flushed to disk.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/bgwriter_flush_after\",\"name\":\"bgwriter_flush_after\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"Background writer maximum number of LRU pages to flush per round.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1073741823\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/bgwriter_lru_maxpages\",\"name\":\"bgwriter_lru_maxpages\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Multiple of the average buffer usage to free per round.\",\"defaultValue\":\"2\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-10\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/bgwriter_lru_multiplier\",\"name\":\"bgwriter_lru_multiplier\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"hex\",\"description\":\"Sets the output format for bytea.\",\"defaultValue\":\"hex\",\"dataType\":\"Enumeration\",\"allowedValues\":\"escape,hex\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/bytea_output\",\"name\":\"bytea_output\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Checks function bodies during CREATE FUNCTION.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/check_function_bodies\",\"name\":\"check_function_bodies\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0.5\",\"description\":\"Time spent flushing dirty buffers during checkpoint, as fraction of checkpoint interval.\",\"defaultValue\":\"0.5\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/checkpoint_completion_target\",\"name\":\"checkpoint_completion_target\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"300\",\"description\":\"Sets the maximum time between automatic WAL checkpoints.\",\"defaultValue\":\"300\",\"dataType\":\"Integer\",\"allowedValues\":\"30-86400\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/checkpoint_timeout\",\"name\":\"checkpoint_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"30\",\"description\":\"Enables warnings if checkpoint segments are filled more frequently than this.\",\"defaultValue\":\"30\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/checkpoint_warning\",\"name\":\"checkpoint_warning\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"sql_ascii\",\"description\":\"Sets the client\u0027s character set encoding.\",\"defaultValue\":\"sql_ascii\",\"dataType\":\"Enumeration\",\"allowedValues\":\"BIG5,EUC_CN,EUC_JP,EUC_JIS_2004,EUC_KR,EUC_TW,GB18030,GBK,ISO_8859_5,ISO_8859_6,ISO_8859_7,ISO_8859_8,JOHAB,KOI8R,KOI8U,LATIN1,LATIN2,LATIN3,LATIN4,LATIN5,LATIN6,LATIN7,LATIN8,LATIN9,LATIN10,MULE_INTERNAL,SJIS,SHIFT_JIS_2004,SQL_ASCII,UHC,UTF8,WIN866,WIN874,WIN1250,WIN1251,WIN1252,WIN1253,WIN1254,WIN1255,WIN1256,WIN1257,WIN1258\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/client_encoding\",\"name\":\"client_encoding\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"notice\",\"description\":\"Sets the message levels that are sent to the client.\",\"defaultValue\":\"notice\",\"dataType\":\"Enumeration\",\"allowedValues\":\"debug5,debug4,debug3,debug2,debug1,log,notice,warning,error\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/client_min_messages\",\"name\":\"client_min_messages\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the delay in microseconds between transaction commit and flushing WAL to disk.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/commit_delay\",\"name\":\"commit_delay\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"5\",\"description\":\"Sets the minimum concurrent open transactions before performing commit_delay.\",\"defaultValue\":\"5\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/commit_siblings\",\"name\":\"commit_siblings\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"partition\",\"description\":\"Enables the planner to use constraints to optimize queries.\",\"defaultValue\":\"partition\",\"dataType\":\"Enumeration\",\"allowedValues\":\"partition,on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/constraint_exclusion\",\"name\":\"constraint_exclusion\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0.005\",\"description\":\"Sets the planner\u0027s estimate of the cost of processing each index entry during an index scan.\",\"defaultValue\":\"0.005\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/cpu_index_tuple_cost\",\"name\":\"cpu_index_tuple_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0.0025\",\"description\":\"Sets the planner\u0027s estimate of the cost of processing each operator or function call.\",\"defaultValue\":\"0.0025\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/cpu_operator_cost\",\"name\":\"cpu_operator_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0.01\",\"description\":\"Sets the planner\u0027s estimate of the cost of processing each tuple (row).\",\"defaultValue\":\"0.01\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/cpu_tuple_cost\",\"name\":\"cpu_tuple_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0.1\",\"description\":\"Sets the planner\u0027s estimate of the fraction of a cursor\u0027s rows that will be retrieved.\",\"defaultValue\":\"0.1\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/cursor_tuple_fraction\",\"name\":\"cursor_tuple_fraction\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ISO, MDY\",\"description\":\"Sets the display format for date and time values.\",\"defaultValue\":\"ISO, MDY\",\"dataType\":\"String\",\"allowedValues\":\"(ISO|POSTGRES|SQL|GERMAN)(, (DMY|MDY|YMD))?\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/DateStyle\",\"name\":\"DateStyle\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1000\",\"description\":\"Sets the amount of time, in milliseconds, to wait on a lock before checking for deadlock.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/deadlock_timeout\",\"name\":\"deadlock_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Indents parse and plan tree displays.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/debug_pretty_print\",\"name\":\"debug_pretty_print\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs each query\u0027s parse tree.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/debug_print_parse\",\"name\":\"debug_print_parse\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs each query\u0027s execution plan.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/debug_print_plan\",\"name\":\"debug_print_plan\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs each query\u0027s rewritten parse tree.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/debug_print_rewritten\",\"name\":\"debug_print_rewritten\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"Sets the default statistics target.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/default_statistics_target\",\"name\":\"default_statistics_target\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Sets the default tablespace to create tables and indexes in.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z._]*\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/default_tablespace\",\"name\":\"default_tablespace\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"pg_catalog.english\",\"description\":\"Sets default text search configuration.\",\"defaultValue\":\"pg_catalog.english\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z._]+\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/default_text_search_config\",\"name\":\"default_text_search_config\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Sets the default deferrable status of new transactions.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/default_transaction_deferrable\",\"name\":\"default_transaction_deferrable\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"read committed\",\"description\":\"Sets the transaction isolation level of each new transaction.\",\"defaultValue\":\"read committed\",\"dataType\":\"Enumeration\",\"allowedValues\":\"serializable,repeatable read,read committed,read uncommitted\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/default_transaction_isolation\",\"name\":\"default_transaction_isolation\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Sets the default read-only status of new transactions.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/default_transaction_read_only\",\"name\":\"default_transaction_read_only\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Creates new tables with OIDs by default.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/default_with_oids\",\"name\":\"default_with_oids\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"786432\",\"description\":\"Sets the planner\u0027s assumption about the size of the disk cache.\",\"defaultValue\":\"786432\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/effective_cache_size\",\"name\":\"effective_cache_size\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Sets the number of concurrent disk I/O operations that PostgreSQL expects can be executed simultaneously.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/effective_io_concurrency\",\"name\":\"effective_io_concurrency\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of bitmap-scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/enable_bitmapscan\",\"name\":\"enable_bitmapscan\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of gather merge plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/enable_gathermerge\",\"name\":\"enable_gathermerge\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of hashed aggregation plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/enable_hashagg\",\"name\":\"enable_hashagg\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of hash join plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/enable_hashjoin\",\"name\":\"enable_hashjoin\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of index-only-scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/enable_indexonlyscan\",\"name\":\"enable_indexonlyscan\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of index-scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/enable_indexscan\",\"name\":\"enable_indexscan\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of materialization.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/enable_material\",\"name\":\"enable_material\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of merge join plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/enable_mergejoin\",\"name\":\"enable_mergejoin\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of nested loop join plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/enable_nestloop\",\"name\":\"enable_nestloop\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Enables or disables the query planner\u0027s use of partitionwise grouping or aggregation, which allows grouping or aggregation on a partitioned tables performed separately for each partition.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/enable_partitionwise_aggregate\",\"name\":\"enable_partitionwise_aggregate\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Enables or disables the query planner\u0027s use of partitionwise join, which allows a join between partitioned tables to be performed by joining the matching partitions.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/enable_partitionwise_join\",\"name\":\"enable_partitionwise_join\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of sequential-scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/enable_seqscan\",\"name\":\"enable_seqscan\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of explicit sort steps.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/enable_sort\",\"name\":\"enable_sort\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of TID scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/enable_tidscan\",\"name\":\"enable_tidscan\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Warns about backslash escapes in ordinary string literals.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/escape_string_warning\",\"name\":\"escape_string_warning\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Terminates session on any error.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/exit_on_error\",\"name\":\"exit_on_error\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Sets the number of digits displayed for floating-point values.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"-15-3\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/extra_float_digits\",\"name\":\"extra_float_digits\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Forces use of parallel query facilities.\",\"defaultValue\":\"off\",\"dataType\":\"Enumeration\",\"allowedValues\":\"off,on,regress\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/force_parallel_mode\",\"name\":\"force_parallel_mode\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"Sets the FROM-list size beyond which subqueries are not collapsed.\",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/from_collapse_limit\",\"name\":\"from_collapse_limit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables genetic query optimization.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/geqo\",\"name\":\"geqo\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"5\",\"description\":\"GEQO: effort is used to set the default for other GEQO parameters.\",\"defaultValue\":\"5\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/geqo_effort\",\"name\":\"geqo_effort\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"GEQO: number of iterations of the algorithm.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/geqo_generations\",\"name\":\"geqo_generations\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"GEQO: number of individuals in the population.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/geqo_pool_size\",\"name\":\"geqo_pool_size\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"GEQO: seed for random path selection.\",\"defaultValue\":\"0\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/geqo_seed\",\"name\":\"geqo_seed\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"GEQO: selective pressure within the population.\",\"defaultValue\":\"2\",\"dataType\":\"Numeric\",\"allowedValues\":\"1.5-2\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/geqo_selection_bias\",\"name\":\"geqo_selection_bias\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"12\",\"description\":\"Sets the threshold of FROM items beyond which GEQO is used.\",\"defaultValue\":\"12\",\"dataType\":\"Integer\",\"allowedValues\":\"2-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/geqo_threshold\",\"name\":\"geqo_threshold\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum allowed result for exact search by GIN.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/gin_fuzzy_search_limit\",\"name\":\"gin_fuzzy_search_limit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"Sets the maximum size of the pending list for GIN index.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"64-2097151\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/gin_pending_list_limit\",\"name\":\"gin_pending_list_limit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"try\",\"description\":\"Enables/disables the use of huge memory pages. Changing this value requires server restart. This setting is not applicable to servers having less than 4 vCores.\",\"defaultValue\":\"try\",\"dataType\":\"Enumeration\",\"allowedValues\":\"on,off,try\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/huge_pages\",\"name\":\"huge_pages\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum allowed duration of any idling transaction.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/idle_in_transaction_session_timeout\",\"name\":\"idle_in_transaction_session_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"postgres\",\"description\":\"Sets the display format for interval values.\",\"defaultValue\":\"postgres\",\"dataType\":\"Enumeration\",\"allowedValues\":\"postgres,postgres_verbose,sql_standard,iso_8601\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/IntervalStyle\",\"name\":\"IntervalStyle\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Determines whether JIT compilation may be used by PostgreSQL.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on, off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/jit\",\"name\":\"jit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"100000\",\"description\":\"Sets the query cost above which JIT compilation is activated, if enabled.\",\"defaultValue\":\"100000\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/jit_above_cost\",\"name\":\"jit_above_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"500000\",\"description\":\"Sets the query cost above which JIT compilation attempts to inline functions and operators.\",\"defaultValue\":\"500000\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/jit_inline_above_cost\",\"name\":\"jit_inline_above_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"500000\",\"description\":\"Sets the query cost above which JIT compilation applies expensive optimizations.\",\"defaultValue\":\"500000\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/jit_optimize_above_cost\",\"name\":\"jit_optimize_above_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"Sets the FROM-list size beyond which JOIN constructs are not flattened.\",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/join_collapse_limit\",\"name\":\"join_collapse_limit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"en_US.utf-8\",\"description\":\"Sets the locale for formatting monetary amounts.\",\"defaultValue\":\"en_US.utf-8\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9._ -]+\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/lc_monetary\",\"name\":\"lc_monetary\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"en_US.utf-8\",\"description\":\"Sets the locale for formatting numbers.\",\"defaultValue\":\"en_US.utf-8\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9._ -]+\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/lc_numeric\",\"name\":\"lc_numeric\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Enables backward compatibility mode for privilege checks on large objects.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/lo_compat_privileges\",\"name\":\"lo_compat_privileges\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum allowed duration (in milliseconds) of any wait for a lock. 0 turns this off.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/lock_timeout\",\"name\":\"lock_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Sets the minimum execution time above which autovacuum actions will be logged.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/log_autovacuum_min_duration\",\"name\":\"log_autovacuum_min_duration\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Logs each checkpoint.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/log_checkpoints\",\"name\":\"log_checkpoints\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs each successful connection.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/log_connections\",\"name\":\"log_connections\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"stderr\",\"description\":\"Sets the destination for server log output.\",\"defaultValue\":\"stderr\",\"dataType\":\"Enumeration\",\"allowedValues\":\"stderr,csvlog\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/log_destination\",\"name\":\"log_destination\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs end of a session, including duration.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/log_disconnections\",\"name\":\"log_disconnections\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs the duration of each completed SQL statement.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/log_duration\",\"name\":\"log_duration\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"default\",\"description\":\"Sets the verbosity of logged messages.\",\"defaultValue\":\"default\",\"dataType\":\"Enumeration\",\"allowedValues\":\"terse,default,verbose\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/log_error_verbosity\",\"name\":\"log_error_verbosity\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs long lock waits.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/log_lock_waits\",\"name\":\"log_lock_waits\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Sets the minimum execution time (in milliseconds) above which statements will be logged. -1 disables logging statement durations.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/log_min_duration_statement\",\"name\":\"log_min_duration_statement\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"error\",\"description\":\"Causes all statements generating error at or above this level to be logged.\",\"defaultValue\":\"error\",\"dataType\":\"Enumeration\",\"allowedValues\":\"debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/log_min_error_statement\",\"name\":\"log_min_error_statement\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"warning\",\"description\":\"Sets the message levels that are logged.\",\"defaultValue\":\"warning\",\"dataType\":\"Enumeration\",\"allowedValues\":\"debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/log_min_messages\",\"name\":\"log_min_messages\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs each replication command.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/log_replication_commands\",\"name\":\"log_replication_commands\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"none\",\"description\":\"Sets the type of statements logged.\",\"defaultValue\":\"none\",\"dataType\":\"Enumeration\",\"allowedValues\":\"none,ddl,mod,all\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/log_statement\",\"name\":\"log_statement\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"For each query, writes cumulative performance statistics to the server log.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/log_statement_stats\",\"name\":\"log_statement_stats\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Logs the use of temporary files larger than this number of kilobytes.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/log_temp_files\",\"name\":\"log_temp_files\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"216064\",\"description\":\"Sets the maximum memory to be used for maintenance operations.\",\"defaultValue\":\"216064\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-2097151\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/maintenance_work_mem\",\"name\":\"maintenance_work_mem\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"859\",\"description\":\"Sets the maximum number of concurrent connections. Any change requires restarting the server to take effect.\",\"defaultValue\":\"859\",\"dataType\":\"Integer\",\"allowedValues\":\"25-5000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/max_connections\",\"name\":\"max_connections\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"Sets the maximum number of locks per transaction. Any change requires restarting the server to take effect. When running a replica server, you must set this parameter to the same or higher value than on the master server.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"10-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/max_locks_per_transaction\",\"name\":\"max_locks_per_transaction\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"Sets the maximum number of parallel workers than can be active at one time.\",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1024\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/max_parallel_workers\",\"name\":\"max_parallel_workers\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Sets the maximum number of parallel processes per executor node.\",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1024\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/max_parallel_workers_per_gather\",\"name\":\"max_parallel_workers_per_gather\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Sets the maximum number of predicate-locked tuples per page.\",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/max_pred_locks_per_page\",\"name\":\"max_pred_locks_per_page\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"-2\",\"description\":\"Sets the maximum number of predicate-locked pages and tuples per relation.\",\"defaultValue\":\"-2\",\"dataType\":\"Integer\",\"allowedValues\":\"-2147483648-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/max_pred_locks_per_relation\",\"name\":\"max_pred_locks_per_relation\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum number of simultaneously prepared transactions. Any change requires restarting the server to take effect. When running a replica server, you must set this parameter to the same or higher value than on the master server.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-262143\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/max_prepared_transactions\",\"name\":\"max_prepared_transactions\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Sets the maximum number of simultaneously defined replication slots.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-262143\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/max_replication_slots\",\"name\":\"max_replication_slots\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"30000\",\"description\":\"Sets the maximum delay before canceling queries when a hot standby server is processing archived WAL data.\",\"defaultValue\":\"30000\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/max_standby_archive_delay\",\"name\":\"max_standby_archive_delay\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"30000\",\"description\":\"Sets the maximum delay before canceling queries when a hot standby server is processing streamed WAL data.\",\"defaultValue\":\"30000\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/max_standby_streaming_delay\",\"name\":\"max_standby_streaming_delay\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Maximum number of table synchronization workers per subscription.\",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"0-262143\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/max_sync_workers_per_subscription\",\"name\":\"max_sync_workers_per_subscription\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Sets the maximum number of simultaneously running WAL sender processes.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/max_wal_senders\",\"name\":\"max_wal_senders\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"32768\",\"description\":\"Sets the WAL size that triggers a checkpoint.\",\"defaultValue\":\"32768\",\"dataType\":\"Integer\",\"allowedValues\":\"2-65536\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/max_wal_size\",\"name\":\"max_wal_size\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"Sets the maximum number of background processes that the system can support.\",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"0-262143\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/max_worker_processes\",\"name\":\"max_worker_processes\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"Sets the minimum amount of index data for a parallel scan.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"0-715827882\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/min_parallel_index_scan_size\",\"name\":\"min_parallel_index_scan_size\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"Sets the minimum amount of table data for a parallel scan.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"0-715827882\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/min_parallel_table_scan_size\",\"name\":\"min_parallel_table_scan_size\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"80\",\"description\":\"Sets the minimum size to shrink the WAL to.\",\"defaultValue\":\"80\",\"dataType\":\"Integer\",\"allowedValues\":\"2-2097151\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/min_wal_size\",\"name\":\"min_wal_size\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Emits a warning for constructs that changed meaning since PostgreSQL 9.4.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/operator_precedence_warning\",\"name\":\"operator_precedence_warning\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1000\",\"description\":\"Sets the planner\u0027s estimate of the cost of starting up worker processes for parallel query.\",\"defaultValue\":\"1000\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/parallel_setup_cost\",\"name\":\"parallel_setup_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0.1\",\"description\":\"Sets the planner\u0027s estimate of the cost of passing each tuple (row) from worker to master backend.\",\"defaultValue\":\"0.1\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/parallel_tuple_cost\",\"name\":\"parallel_tuple_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"none\",\"description\":\"Specifies which classes of statements will be logged by session audit logging.\",\"defaultValue\":\"none\",\"dataType\":\"Set\",\"allowedValues\":\"none,read,write,function,role,ddl,misc,all\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/pgaudit.log\",\"name\":\"pgaudit.log\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Specifies that session logging should be enabled in the case where all relations in a statement are in pg_catalog.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/pgaudit.log_catalog\",\"name\":\"pgaudit.log_catalog\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Specifies whether audit messages should be visible to the client.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/pgaudit.log_client\",\"name\":\"pgaudit.log_client\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"log\",\"description\":\"Specifies the log level that will be used for log entries.\",\"defaultValue\":\"log\",\"dataType\":\"Enumeration\",\"allowedValues\":\",debug5,debug4,debug3,debug2,debug1,info,notice,warning,log\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/pgaudit.log_level\",\"name\":\"pgaudit.log_level\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Specifies that audit logging should include the parameters that were passed with the statement.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/pgaudit.log_parameter\",\"name\":\"pgaudit.log_parameter\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Specifies whether session audit logging should create a separate log entry for each relation referenced in a SELECT or DML statement.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/pgaudit.log_relation\",\"name\":\"pgaudit.log_relation\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Specifies whether logging will include the statement text and parameters with the first log entry for a statement/substatement combination or with every entry.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/pgaudit.log_statement_once\",\"name\":\"pgaudit.log_statement_once\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Specifies the master role to use for object audit logging.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z\\\\._]*\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/pgaudit.role\",\"name\":\"pgaudit.role\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"5000\",\"description\":\"Sets the maximum number of statements tracked by pg_stat_statements. Any change requires restarting the server to take effect.\",\"defaultValue\":\"5000\",\"dataType\":\"Integer\",\"allowedValues\":\"100-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/pg_stat_statements.max\",\"name\":\"pg_stat_statements.max\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Save pg_stat_statements statistics across server shutdowns.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/pg_stat_statements.save\",\"name\":\"pg_stat_statements.save\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"top\",\"description\":\"Controls which statements are counted by pg_stat_statements.\",\"defaultValue\":\"top\",\"dataType\":\"Enumeration\",\"allowedValues\":\"top,all,none\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/pg_stat_statements.track\",\"name\":\"pg_stat_statements.track\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Selects whether utility commands are tracked by pg_stat_statements.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/pg_stat_statements.track_utility\",\"name\":\"pg_stat_statements.track_utility\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"apply_remote\",\"description\":\"Sets the resolution method for any detected conflicts between local data and incoming changes.\",\"defaultValue\":\"apply_remote\",\"dataType\":\"Enumeration\",\"allowedValues\":\"error,apply_remote,keep_local,last_update_wins,first_update_wins\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/pglogical.conflict_resolution\",\"name\":\"pglogical.conflict_resolution\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"log\",\"description\":\"Sets the log level for reporting detected conflicts when the pglogical.conflict_resolution is set to anything else than error.\",\"defaultValue\":\"log\",\"dataType\":\"Enumeration\",\"allowedValues\":\"debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/pglogical.conflict_log_level\",\"name\":\"pglogical.conflict_log_level\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Tells PGLogical to use batch insert mechanism if possible.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/pglogical.batch_inserts\",\"name\":\"pglogical.batch_inserts\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Tells PGLogical to use SPI interface to form actual SQL (INSERT, UPDATE, DELETE) statements to apply incoming changes instead of using internal low level interface.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/pglogical.use_spi\",\"name\":\"pglogical.use_spi\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"DISABLE_ALL\",\"description\":\"Controls postgis GDAL enabled driver settings.\",\"defaultValue\":\"DISABLE_ALL\",\"dataType\":\"Enumeration\",\"allowedValues\":\"DISABLE_ALL,ENABLE_ALL\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/postgis.gdal_enabled_drivers\",\"name\":\"postgis.gdal_enabled_drivers\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"When generating SQL fragments, quotes all identifiers.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/quote_all_identifiers\",\"name\":\"quote_all_identifiers\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"Sets the planner\u0027s estimate of the cost of a nonsequentially fetched disk page.\",\"defaultValue\":\"4\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/random_page_cost\",\"name\":\"random_page_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables row security.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/row_security\",\"name\":\"row_security\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\\\"$user\\\", public\",\"description\":\"Sets the schema search order for names that are not schema-qualified.\",\"defaultValue\":\"\\\"$user\\\", public\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z.\\\"$, ]+\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/search_path\",\"name\":\"search_path\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Sets the planner\u0027s estimate of the cost of a sequentially fetched disk page.\",\"defaultValue\":\"1\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/seq_page_cost\",\"name\":\"seq_page_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"origin\",\"description\":\"Sets the session\u0027s behavior for triggers and rewrite rules.\",\"defaultValue\":\"origin\",\"dataType\":\"Enumeration\",\"allowedValues\":\"origin,replica,local\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/session_replication_role\",\"name\":\"session_replication_role\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Sets the maximum SSL/TLS protocol version to use.\",\"defaultValue\":\"\",\"dataType\":\"Enumeration\",\"allowedValues\":\",TLSv1.2,TLSv1.3\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/ssl_max_protocol_version\",\"name\":\"ssl_max_protocol_version\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"TLSv1.2\",\"description\":\"Sets the minimum SSL/TLS protocol version to use.\",\"defaultValue\":\"TLSv1.2\",\"dataType\":\"Enumeration\",\"allowedValues\":\"TLSv1.2,TLSv1.3\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/ssl_min_protocol_version\",\"name\":\"ssl_min_protocol_version\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Causes \u0027...\u0027 strings to treat backslashes literally.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/standard_conforming_strings\",\"name\":\"standard_conforming_strings\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum allowed duration (in milliseconds) of any statement. 0 turns this off.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/statement_timeout\",\"name\":\"statement_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables synchronized sequential scans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/synchronize_seqscans\",\"name\":\"synchronize_seqscans\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Sets the current transaction\u0027s synchronization level.\",\"defaultValue\":\"on\",\"dataType\":\"Enumeration\",\"allowedValues\":\"local,remote_write,on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/synchronous_commit\",\"name\":\"synchronous_commit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"9\",\"description\":\"Maximum number of TCP keepalive retransmits.\",\"defaultValue\":\"9\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/tcp_keepalives_count\",\"name\":\"tcp_keepalives_count\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"120\",\"description\":\"Time between issuing TCP keepalives.\",\"defaultValue\":\"120\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/tcp_keepalives_idle\",\"name\":\"tcp_keepalives_idle\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"30\",\"description\":\"Time between TCP keepalive retransmits.\",\"defaultValue\":\"30\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/tcp_keepalives_interval\",\"name\":\"tcp_keepalives_interval\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"Sets the maximum number of temporary buffers used by each database session.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"100-1073741823\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/temp_buffers\",\"name\":\"temp_buffers\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Sets the tablespace(s) to use for temporary tables and sort files.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z._]*\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/temp_tablespaces\",\"name\":\"temp_tablespaces\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"UTC\",\"description\":\"Sets the time zone for displaying and interpreting time stamps.\",\"defaultValue\":\"UTC\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9/+_-]+\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/TimeZone\",\"name\":\"TimeZone\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Collects information about executing commands.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/track_activities\",\"name\":\"track_activities\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"Sets the size reserved for pg_stat_activity.query, in bytes. Any change requires restarting the server to take effect.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"100-102400\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/track_activity_query_size\",\"name\":\"track_activity_query_size\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Collects transaction commit time. Any change requires restarting the server to take effect.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/track_commit_timestamp\",\"name\":\"track_commit_timestamp\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Collects statistics on database activity.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/track_counts\",\"name\":\"track_counts\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"none\",\"description\":\"Collects function-level statistics on database activity.\",\"defaultValue\":\"none\",\"dataType\":\"Enumeration\",\"allowedValues\":\"none,pl,all\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/track_functions\",\"name\":\"track_functions\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Collects timing statistics for database I/O activity.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/track_io_timing\",\"name\":\"track_io_timing\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Treats \\\"expr=NULL\\\" as \\\"expr IS NULL\\\".\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/transform_null_equals\",\"name\":\"transform_null_equals\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Vacuum cost delay in milliseconds.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/vacuum_cost_delay\",\"name\":\"vacuum_cost_delay\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"Vacuum cost amount available before napping.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/vacuum_cost_limit\",\"name\":\"vacuum_cost_limit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"20\",\"description\":\"Vacuum cost for a page dirtied by vacuum.\",\"defaultValue\":\"20\",\"dataType\":\"Integer\",\"allowedValues\":\"0-10000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/vacuum_cost_page_dirty\",\"name\":\"vacuum_cost_page_dirty\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Vacuum cost for a page found in the buffer cache.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0-10000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/vacuum_cost_page_hit\",\"name\":\"vacuum_cost_page_hit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Vacuum cost for a page not found in the buffer cache.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-10000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/vacuum_cost_page_miss\",\"name\":\"vacuum_cost_page_miss\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Number of transactions by which VACUUM and HOT cleanup should be deferred, if any.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/vacuum_defer_cleanup_age\",\"name\":\"vacuum_defer_cleanup_age\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"50000000\",\"description\":\"Minimum age at which VACUUM should freeze a table row.\",\"defaultValue\":\"50000000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/vacuum_freeze_min_age\",\"name\":\"vacuum_freeze_min_age\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"150000000\",\"description\":\"Age at which VACUUM should scan whole table to freeze tuples.\",\"defaultValue\":\"150000000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2000000000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/vacuum_freeze_table_age\",\"name\":\"vacuum_freeze_table_age\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"5000000\",\"description\":\"Minimum age at which VACUUM should freeze a MultiXactId in a table row.\",\"defaultValue\":\"5000000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/vacuum_multixact_freeze_min_age\",\"name\":\"vacuum_multixact_freeze_min_age\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"150000000\",\"description\":\"Multixact age at which VACUUM should scan whole table to freeze tuples.\",\"defaultValue\":\"150000000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2000000000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/vacuum_multixact_freeze_table_age\",\"name\":\"vacuum_multixact_freeze_table_age\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Compresses full-page writes written in WAL file.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/wal_compression\",\"name\":\"wal_compression\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"replica\",\"description\":\"It determines how much information is written to the WAL.\",\"defaultValue\":\"replica\",\"dataType\":\"Enumeration\",\"allowedValues\":\"replica,logical\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/wal_level\",\"name\":\"wal_level\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Sets the maximum interval between WAL receiver status reports to the primary.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/wal_receiver_status_interval\",\"name\":\"wal_receiver_status_interval\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"Time between WAL flushes performed in the WAL writer.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/wal_writer_delay\",\"name\":\"wal_writer_delay\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"128\",\"description\":\"Amount of WAL written out by WAL writer that triggers a flush.\",\"defaultValue\":\"128\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/wal_writer_flush_after\",\"name\":\"wal_writer_flush_after\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"Sets the amount of memory to be used by internal sort operations and hash tables before writing to temporary disk files.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-2097151\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/work_mem\",\"name\":\"work_mem\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"base64\",\"description\":\"Sets how binary values are to be encoded in XML.\",\"defaultValue\":\"base64\",\"dataType\":\"Enumeration\",\"allowedValues\":\"base64,hex\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/xmlbinary\",\"name\":\"xmlbinary\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"content\",\"description\":\"Sets whether XML data in implicit parsing and serialization operations is to be considered as documents or content fragments.\",\"defaultValue\":\"content\",\"dataType\":\"Enumeration\",\"allowedValues\":\"content,document\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/xmloption\",\"name\":\"xmloption\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"}]}" } }, - "Get-AzPostgreSqlFlexibleServerConfiguration+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/configurations/TimeZone?api-version=2020-02-14-preview+1": { + "Get-AzPostgreSqlFlexibleServerConfiguration+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/configurations/TimeZone?api-version=2020-02-14-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/configurations/TimeZone?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/configurations/TimeZone?api-version=2020-02-14-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "6" ], @@ -74,13 +74,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"value\":\"UTC\",\"description\":\"Sets the time zone for displaying and interpreting time stamps.\",\"defaultValue\":\"UTC\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9/+_-]+\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/TimeZone\",\"name\":\"TimeZone\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"}" + "Content": "{\"properties\":{\"value\":\"UTC\",\"description\":\"Sets the time zone for displaying and interpreting time stamps.\",\"defaultValue\":\"UTC\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9/+_-]+\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/TimeZone\",\"name\":\"TimeZone\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"}" } }, - "Get-AzPostgreSqlFlexibleServerConfiguration+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/configurations/TimeZone?api-version=2020-02-14-preview+1": { + "Get-AzPostgreSqlFlexibleServerConfiguration+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/configurations/TimeZone?api-version=2020-02-14-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/configurations/TimeZone?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/configurations/TimeZone?api-version=2020-02-14-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "7" ], @@ -113,7 +113,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"value\":\"UTC\",\"description\":\"Sets the time zone for displaying and interpreting time stamps.\",\"defaultValue\":\"UTC\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9/+_-]+\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/TimeZone\",\"name\":\"TimeZone\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"}" + "Content": "{\"properties\":{\"value\":\"UTC\",\"description\":\"Sets the time zone for displaying and interpreting time stamps.\",\"defaultValue\":\"UTC\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9/+_-]+\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/TimeZone\",\"name\":\"TimeZone\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"}" } } } \ No newline at end of file diff --git a/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerFirewallRule.Recording.json b/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerFirewallRule.Recording.json index 3b3a55c5f8d5..158f816e9780 100644 --- a/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerFirewallRule.Recording.json +++ b/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerFirewallRule.Recording.json @@ -1,8 +1,8 @@ { - "Get-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { + "Get-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -76,10 +76,10 @@ "Content": "{\"name\":\"ae61af99-11f5-425e-9496-adae59a1730b\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T06:42:42.25Z\"}" } }, - "Get-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { + "Get-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -115,10 +115,10 @@ "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}" } }, - "Get-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules?api-version=2020-02-14-preview+4": { + "Get-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules?api-version=2020-02-14-preview+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules?api-version=2020-02-14-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "11" ], @@ -154,10 +154,10 @@ "Content": "{\"value\":[{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}]}" } }, - "Get-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { + "Get-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "12" ], @@ -193,10 +193,10 @@ "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}" } }, - "Get-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { + "Get-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "13" ], @@ -232,10 +232,10 @@ "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}" } }, - "Get-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+GetViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+2": { + "Get-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+GetViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+2": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "14" ], diff --git a/src/PostgreSql/test/New-AzPostgreSqlFlexibleServer.Recording.json b/src/PostgreSql/test/New-AzPostgreSqlFlexibleServer.Recording.json new file mode 100644 index 000000000000..56486409d206 --- /dev/null +++ b/src/PostgreSql/test/New-AzPostgreSqlFlexibleServer.Recording.json @@ -0,0 +1,118 @@ +{ + "New-AzPostgreSqlFlexibleServer+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest200?api-version=2020-02-14-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest200?api-version=2020-02-14-preview", + "Content": "{\r\n \"location\": \"eastus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 12,\r\n \"storageMB\": 65536\r\n },\r\n \"administratorLogin\": \"mysql_test\",\r\n \"administratorLoginPassword\": \"Pasword01!!2020\",\r\n \"version\": \"12\",\r\n \"createMode\": \"Default\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "366" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus2/operationResults/ca3fca37-fa1c-4a46-97f7-9be180ea9cbc?api-version=2020-02-14-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus2/azureAsyncOperation/ca3fca37-fa1c-4a46-97f7-9be180ea9cbc?api-version=2020-02-14-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "75518211-7d27-4fd1-ad1f-44cc59794d98" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "93d25977-2753-4871-aaab-42f19646a23a" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T064059Z:93d25977-2753-4871-aaab-42f19646a23a" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 12 Nov 2020 06:40:58 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "87" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-12T06:40:58.89Z\"}" + } + }, + "New-AzPostgreSqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus2/azureAsyncOperation/ca3fca37-fa1c-4a46-97f7-9be180ea9cbc?api-version=2020-02-14-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus2/azureAsyncOperation/ca3fca37-fa1c-4a46-97f7-9be180ea9cbc?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "2" ], + "x-ms-client-request-id": [ "9c6fabdf-0c20-4e4e-8934-777bdc139ea1" ], + "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "New-AzPostgreSqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "e94e4f30-97b8-4bad-a286-f485770307cd" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "598a4b8d-cde5-4fe8-8e85-15e91f2a151f" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T064159Z:598a4b8d-cde5-4fe8-8e85-15e91f2a151f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 12 Nov 2020 06:41:59 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ca3fca37-fa1c-4a46-97f7-9be180ea9cbc\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-12T06:40:58.89Z\"}" + } + }, + "New-AzPostgreSqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest200?api-version=2020-02-14-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest200?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "3" ], + "x-ms-client-request-id": [ "9c6fabdf-0c20-4e4e-8934-777bdc139ea1" ], + "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "New-AzPostgreSqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "36ea32c9-c4e8-44c4-b47e-17000e824715" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-correlation-request-id": [ "d781e0bd-d7cd-40dd-96e7-25584c628b0a" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T064200Z:d781e0bd-d7cd-40dd-96e7-25584c628b0a" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 12 Nov 2020 06:42:00 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "874" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":1},\"properties\":{\"fullyQualifiedDomainName\":\"postgresqltest200.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"mysql_test\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":65536,\"backupRetentionDays\":12},\"earliestRestoreDate\":\"2020-11-11T21:14:14.466445+00:00\",\"byokEnforcement\":\"Disabled\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0}},\"location\":\"East US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresqltest200\",\"name\":\"postgresqltest200\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}" + } + } +} \ No newline at end of file diff --git a/src/PostgreSql/test/New-AzPostgreSqlFlexibleServer.Tests.ps1 b/src/PostgreSql/test/New-AzPostgreSqlFlexibleServer.Tests.ps1 index ee14b5be1f34..c626fccad0ba 100644 --- a/src/PostgreSql/test/New-AzPostgreSqlFlexibleServer.Tests.ps1 +++ b/src/PostgreSql/test/New-AzPostgreSqlFlexibleServer.Tests.ps1 @@ -15,11 +15,11 @@ Describe 'New-AzPostgreSqlFlexibleServer' { It 'CreateExpanded' { { $password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force - $server = New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -AdministratorUserName mysql_test -AdministratorLoginPassword $password -Sku Standard_B1ms -SkuTier Burstable -BackupRetentionDay 12 -StorageInMb 65536 -Location eastus2 + $server = New-AzPostgreSqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -AdministratorUserName mysql_test -AdministratorLoginPassword $password -Sku Standard_B1ms -SkuTier Burstable -BackupRetentionDay 12 -StorageInMb 65536 -Location eastus2 $server.SkuName | Should -Be "Standard_B1ms" $server.SkuTier | Should -Be "Burstable" $server.StorageProfileStorageMb | Should -Be 65536 - $server.StorageProfileBackupRetentionDays | Should -Be 12 + $server.StorageProfileBackupRetentionDay | Should -Be 12 } | Should -Not -Throw } } diff --git a/src/PostgreSql/test/New-AzPostgreSqlFlexibleServerFirewallRule.Recording.json b/src/PostgreSql/test/New-AzPostgreSqlFlexibleServerFirewallRule.Recording.json index d73cb045003e..afeb627da5cc 100644 --- a/src/PostgreSql/test/New-AzPostgreSqlFlexibleServerFirewallRule.Recording.json +++ b/src/PostgreSql/test/New-AzPostgreSqlFlexibleServerFirewallRule.Recording.json @@ -1,8 +1,8 @@ { - "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { + "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -76,10 +76,10 @@ "Content": "{\"name\":\"187b87b7-a172-4b22-9c65-e6adb252db0b\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T06:44:45.89Z\"}" } }, - "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { + "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -115,10 +115,10 @@ "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}" } }, - "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+4": { + "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "20" ], @@ -235,10 +235,10 @@ "Content": null } }, - "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { + "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.1\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -312,10 +312,10 @@ "Content": "{\"name\":\"aea62ef0-2358-49d3-9f15-16ef75353c41\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T06:46:48.01Z\"}" } }, - "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { + "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -351,10 +351,10 @@ "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.1\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}" } }, - "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+4": { + "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "26" ], @@ -471,10 +471,10 @@ "Content": null } }, - "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+AllowAll+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { + "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+AllowAll+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"255.255.255.255\"\r\n }\r\n}", "Headers": { }, @@ -548,10 +548,10 @@ "Content": "{\"name\":\"e04eba31-9804-4df6-a9f4-31553cf3addd\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T06:48:49.75Z\"}" } }, - "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { + "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -587,10 +587,10 @@ "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"255.255.255.255\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}" } }, - "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+AllowAll+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+4": { + "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+AllowAll+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "32" ], diff --git a/src/PostgreSql/test/Remove-AzPostgreSqlFlexibleServer.Recording.json b/src/PostgreSql/test/Remove-AzPostgreSqlFlexibleServer.Recording.json index fce85dababee..ad194dfedc6b 100644 --- a/src/PostgreSql/test/Remove-AzPostgreSqlFlexibleServer.Recording.json +++ b/src/PostgreSql/test/Remove-AzPostgreSqlFlexibleServer.Recording.json @@ -1,8 +1,8 @@ { - "Remove-AzPostgreSqlFlexibleServer+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview+1": { + "Remove-AzPostgreSqlFlexibleServer+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100?api-version=2020-02-14-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest200?api-version=2020-02-14-preview", "Content": "{\r\n \"location\": \"eastus\",\r\n \"sku\": {\r\n \"name\": \"Standard_D2s_v3\",\r\n \"tier\": \"GeneralPurpose\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 131072\r\n },\r\n \"administratorLogin\": \"mysql_test\",\r\n \"administratorLoginPassword\": \"Pasword01!!2020\",\r\n \"version\": \"12\",\r\n \"createMode\": \"Default\"\r\n }\r\n}", "Headers": { }, @@ -76,10 +76,10 @@ "Content": "{\"name\":\"f78a219c-4acf-4eae-b935-9a788f5e6b77\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T06:50:52.347Z\"}" } }, - "Remove-AzPostgreSqlFlexibleServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview+3": { + "Remove-AzPostgreSqlFlexibleServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100?api-version=2020-02-14-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest200?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"shyHamster5\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/VNETesql-test-100/subnets/Subnetesql-test-100\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T06:48:31.9060234+00:00\",\"byokEnforcement\":\"Disabled\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0}},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresqltest200.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"shyHamster5\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/VNETesql-test-100/subnets/Subnetesql-test-100\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T06:48:31.9060234+00:00\",\"byokEnforcement\":\"Disabled\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0}},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresqltest200\",\"name\":\"postgresqltest200\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}" } }, - "Remove-AzPostgreSqlFlexibleServer+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100-2?api-version=2020-02-14-preview+4": { + "Remove-AzPostgreSqlFlexibleServer+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest200?api-version=2020-02-14-preview+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100-2?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest200-2?api-version=2020-02-14-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "38" ], @@ -151,10 +151,10 @@ "Content": null } }, - "Remove-AzPostgreSqlFlexibleServer+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100-2?api-version=2020-02-14-preview+1": { + "Remove-AzPostgreSqlFlexibleServer+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest200?api-version=2020-02-14-preview+1": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100-2?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest200?api-version=2020-02-14-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "39" ], diff --git a/src/PostgreSql/test/Remove-AzPostgreSqlFlexibleServerFirewallRule.Recording.json b/src/PostgreSql/test/Remove-AzPostgreSqlFlexibleServerFirewallRule.Recording.json index 56e869d3b679..5996d87a2daf 100644 --- a/src/PostgreSql/test/Remove-AzPostgreSqlFlexibleServerFirewallRule.Recording.json +++ b/src/PostgreSql/test/Remove-AzPostgreSqlFlexibleServerFirewallRule.Recording.json @@ -1,8 +1,8 @@ { - "Remove-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { + "Remove-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -76,10 +76,10 @@ "Content": "{\"name\":\"de386837-d2af-4b0b-b4d0-47e49abff83b\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T06:51:53.813Z\"}" } }, - "Remove-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { + "Remove-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -115,10 +115,10 @@ "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}" } }, - "Remove-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+4": { + "Remove-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "43" ], @@ -235,10 +235,10 @@ "Content": null } }, - "Remove-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { + "Remove-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -312,10 +312,10 @@ "Content": "{\"name\":\"679aed21-2184-4b08-9ed9-047e09425b76\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T06:53:55.613Z\"}" } }, - "Remove-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { + "Remove-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -351,10 +351,10 @@ "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}" } }, - "Remove-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+4": { + "Remove-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "49" ], diff --git a/src/PostgreSql/test/Restart-AzPostgreSqlFlexibleServer.Recording.json b/src/PostgreSql/test/Restart-AzPostgreSqlFlexibleServer.Recording.json index 077453669fcc..066503c6dbd1 100644 --- a/src/PostgreSql/test/Restart-AzPostgreSqlFlexibleServer.Recording.json +++ b/src/PostgreSql/test/Restart-AzPostgreSqlFlexibleServer.Recording.json @@ -1,12 +1,12 @@ { - "Restart-AzPostgreSqlFlexibleServer+[NoContext]+Restart+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/restart?api-version=2020-02-14-preview+1": { + "Restart-AzPostgreSqlFlexibleServer+[NoContext]+Restart+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/restart?api-version=2020-02-14-preview+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/restart?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/restart?api-version=2020-02-14-preview", "Content": null, "Headers": { - "x-ms-unique-id": [ "1" ], - "x-ms-client-request-id": [ "1aba6a26-af78-4e17-bdf1-11d2a061de17" ], + "x-ms-unique-id": [ "16" ], + "x-ms-client-request-id": [ "52fdb816-0e8e-4f9f-ae41-ec88ae19a2a0" ], "CommandName": [ "Restart-AzPostgreSqlFlexibleServer" ], "FullCommandName": [ "Restart-AzPostgreSqlFlexibleServer_Restart" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -21,35 +21,35 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/5213b464-8231-4bff-86c5-8fd95731ac3a?api-version=2020-02-14-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/8b4dd334-f0d0-49d6-a6fc-2c82432a6450?api-version=2020-02-14-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/5213b464-8231-4bff-86c5-8fd95731ac3a?api-version=2020-02-14-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/8b4dd334-f0d0-49d6-a6fc-2c82432a6450?api-version=2020-02-14-preview" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "5213b464-8231-4bff-86c5-8fd95731ac3a" ], + "x-ms-request-id": [ "8b4dd334-f0d0-49d6-a6fc-2c82432a6450" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-correlation-request-id": [ "3e9e4b3d-7703-4986-b0d4-066660303aaf" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T181122Z:3e9e4b3d-7703-4986-b0d4-066660303aaf" ], + "x-ms-correlation-request-id": [ "d394cede-2351-417a-844a-2332f5c0471d" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T203908Z:d394cede-2351-417a-844a-2332f5c0471d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 18:11:21 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:39:07 GMT" ] }, "ContentHeaders": { "Content-Length": [ "87" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"operation\":\"RestartServerManagementOperation\",\"startTime\":\"2020-11-11T18:11:22.613Z\"}" + "Content": "{\"operation\":\"RestartServerManagementOperation\",\"startTime\":\"2020-11-11T20:39:07.837Z\"}" } }, - "Restart-AzPostgreSqlFlexibleServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/5213b464-8231-4bff-86c5-8fd95731ac3a?api-version=2020-02-14-preview+2": { + "Restart-AzPostgreSqlFlexibleServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/8b4dd334-f0d0-49d6-a6fc-2c82432a6450?api-version=2020-02-14-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/5213b464-8231-4bff-86c5-8fd95731ac3a?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/8b4dd334-f0d0-49d6-a6fc-2c82432a6450?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "2" ], - "x-ms-client-request-id": [ "1aba6a26-af78-4e17-bdf1-11d2a061de17" ], + "x-ms-unique-id": [ "17" ], + "x-ms-client-request-id": [ "52fdb816-0e8e-4f9f-ae41-ec88ae19a2a0" ], "CommandName": [ "Restart-AzPostgreSqlFlexibleServer" ], "FullCommandName": [ "Restart-AzPostgreSqlFlexibleServer_Restart" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -65,31 +65,31 @@ "Pragma": [ "no-cache" ], "Retry-After": [ "60" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "37811cb2-e223-4264-b043-12cd5a6e3d0c" ], + "x-ms-request-id": [ "8b92a379-0742-4646-ae18-d44d9296a9f3" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], - "x-ms-correlation-request-id": [ "f879713b-5cf8-47c6-8bda-d8f1263b1c57" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T181223Z:f879713b-5cf8-47c6-8bda-d8f1263b1c57" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], + "x-ms-correlation-request-id": [ "88d4035c-33c7-4251-99d0-95c9cfd43d6a" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T204008Z:88d4035c-33c7-4251-99d0-95c9cfd43d6a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 18:12:22 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:40:07 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "243" ], + "Content-Length": [ "108" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"5213b464-8231-4bff-86c5-8fd95731ac3a\",\"status\":\"Failed\",\"startTime\":\"2020-11-11T18:11:22.613Z\",\"error\":{\"code\":\"OperationFailed\",\"message\":\"Operation Restart failed, because server postgresql-test-100 is busy with other operations.\"}}" + "Content": "{\"name\":\"8b4dd334-f0d0-49d6-a6fc-2c82432a6450\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T20:39:07.837Z\"}" } }, - "Restart-AzPostgreSqlFlexibleServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/5213b464-8231-4bff-86c5-8fd95731ac3a?api-version=2020-02-14-preview+3": { + "Restart-AzPostgreSqlFlexibleServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/8b4dd334-f0d0-49d6-a6fc-2c82432a6450?api-version=2020-02-14-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/5213b464-8231-4bff-86c5-8fd95731ac3a?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/8b4dd334-f0d0-49d6-a6fc-2c82432a6450?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "1aba6a26-af78-4e17-bdf1-11d2a061de17" ], + "x-ms-unique-id": [ "18" ], + "x-ms-client-request-id": [ "52fdb816-0e8e-4f9f-ae41-ec88ae19a2a0" ], "CommandName": [ "Restart-AzPostgreSqlFlexibleServer" ], "FullCommandName": [ "Restart-AzPostgreSqlFlexibleServer_Restart" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -99,35 +99,75 @@ } }, "Response": { - "StatusCode": 400, + "StatusCode": 200, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "4a1f669a-b2f6-4237-afc7-1c98bd56acae" ], + "x-ms-request-id": [ "bc4adcaf-9f0b-4a63-a46f-a9ac97bac587" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], - "x-ms-correlation-request-id": [ "9b4a4016-b480-405e-a1b3-a62c35292e28" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T181223Z:9b4a4016-b480-405e-a1b3-a62c35292e28" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], + "x-ms-correlation-request-id": [ "4fcfd472-9073-4e49-990d-ccbe440d5963" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T204108Z:4fcfd472-9073-4e49-990d-ccbe440d5963" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 18:12:23 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:41:08 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "140" ], + "Content-Length": [ "107" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"error\":{\"code\":\"OperationFailed\",\"message\":\"Operation Restart failed, because server postgresql-test-100 is busy with other operations.\"}}" + "Content": "{\"name\":\"8b4dd334-f0d0-49d6-a6fc-2c82432a6450\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T20:39:07.837Z\"}" } }, - "Restart-AzPostgreSqlFlexibleServer+[NoContext]+RestartViaIdentity+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/restart?api-version=2020-02-14-preview+1": { + "Restart-AzPostgreSqlFlexibleServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/8b4dd334-f0d0-49d6-a6fc-2c82432a6450?api-version=2020-02-14-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/8b4dd334-f0d0-49d6-a6fc-2c82432a6450?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "19" ], + "x-ms-client-request-id": [ "52fdb816-0e8e-4f9f-ae41-ec88ae19a2a0" ], + "CommandName": [ "Restart-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Restart-AzPostgreSqlFlexibleServer_Restart" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "77aed6ad-ce74-43fe-8e0c-bdeb07b47621" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], + "x-ms-correlation-request-id": [ "f29baa0b-da2e-446f-bcce-90aa0383fe29" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T204109Z:f29baa0b-da2e-446f-bcce-90aa0383fe29" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 20:41:08 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "48" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"postgresqltest100\",\"type\":\"PostgreSQL\"}" + } + }, + "Restart-AzPostgreSqlFlexibleServer+[NoContext]+RestartViaIdentity+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/restart?api-version=2020-02-14-preview+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/restart?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/restart?api-version=2020-02-14-preview", "Content": null, "Headers": { - "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "ad48ac94-f287-453e-abe4-4aa694648cf5" ], + "x-ms-unique-id": [ "20" ], + "x-ms-client-request-id": [ "90a2b379-8790-4df0-910c-079b11eec74e" ], "CommandName": [ "Restart-AzPostgreSqlFlexibleServer" ], "FullCommandName": [ "Restart-AzPostgreSqlFlexibleServer_RestartViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -142,35 +182,35 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/3e38ec6a-f9b0-4895-bbce-2cf0ee74db12?api-version=2020-02-14-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/32cd6b29-57ad-4f46-a743-fb23b263341b?api-version=2020-02-14-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/3e38ec6a-f9b0-4895-bbce-2cf0ee74db12?api-version=2020-02-14-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/32cd6b29-57ad-4f46-a743-fb23b263341b?api-version=2020-02-14-preview" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "3e38ec6a-f9b0-4895-bbce-2cf0ee74db12" ], + "x-ms-request-id": [ "32cd6b29-57ad-4f46-a743-fb23b263341b" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], - "x-ms-correlation-request-id": [ "9c48d60a-f151-41e3-b1bc-b037b6be5204" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T181223Z:9c48d60a-f151-41e3-b1bc-b037b6be5204" ], + "x-ms-correlation-request-id": [ "70915cc4-c6d2-440f-9fc0-834845bff5c2" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T204109Z:70915cc4-c6d2-440f-9fc0-834845bff5c2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 18:12:23 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:41:09 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "86" ], + "Content-Length": [ "87" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"operation\":\"RestartServerManagementOperation\",\"startTime\":\"2020-11-11T18:12:23.68Z\"}" + "Content": "{\"operation\":\"RestartServerManagementOperation\",\"startTime\":\"2020-11-11T20:41:09.377Z\"}" } }, - "Restart-AzPostgreSqlFlexibleServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/3e38ec6a-f9b0-4895-bbce-2cf0ee74db12?api-version=2020-02-14-preview+2": { + "Restart-AzPostgreSqlFlexibleServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/32cd6b29-57ad-4f46-a743-fb23b263341b?api-version=2020-02-14-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/3e38ec6a-f9b0-4895-bbce-2cf0ee74db12?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/32cd6b29-57ad-4f46-a743-fb23b263341b?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "5" ], - "x-ms-client-request-id": [ "ad48ac94-f287-453e-abe4-4aa694648cf5" ], + "x-ms-unique-id": [ "21" ], + "x-ms-client-request-id": [ "90a2b379-8790-4df0-910c-079b11eec74e" ], "CommandName": [ "Restart-AzPostgreSqlFlexibleServer" ], "FullCommandName": [ "Restart-AzPostgreSqlFlexibleServer_RestartViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -186,31 +226,31 @@ "Pragma": [ "no-cache" ], "Retry-After": [ "60" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "e0bfb792-35da-4cb2-88cd-2faba65ed77d" ], + "x-ms-request-id": [ "0e2330e5-6ab8-4171-9c55-014c92ef1b76" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], - "x-ms-correlation-request-id": [ "9d2583bc-d063-4bc1-ac3b-bedebeccebce" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T181324Z:9d2583bc-d063-4bc1-ac3b-bedebeccebce" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], + "x-ms-correlation-request-id": [ "50f70512-acff-4834-b782-312602b4c823" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T204210Z:50f70512-acff-4834-b782-312602b4c823" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 18:13:23 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:42:09 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "242" ], + "Content-Length": [ "108" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"3e38ec6a-f9b0-4895-bbce-2cf0ee74db12\",\"status\":\"Failed\",\"startTime\":\"2020-11-11T18:12:23.68Z\",\"error\":{\"code\":\"OperationFailed\",\"message\":\"Operation Restart failed, because server postgresql-test-100 is busy with other operations.\"}}" + "Content": "{\"name\":\"32cd6b29-57ad-4f46-a743-fb23b263341b\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T20:41:09.377Z\"}" } }, - "Restart-AzPostgreSqlFlexibleServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/3e38ec6a-f9b0-4895-bbce-2cf0ee74db12?api-version=2020-02-14-preview+3": { + "Restart-AzPostgreSqlFlexibleServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/32cd6b29-57ad-4f46-a743-fb23b263341b?api-version=2020-02-14-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/3e38ec6a-f9b0-4895-bbce-2cf0ee74db12?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/32cd6b29-57ad-4f46-a743-fb23b263341b?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "6" ], - "x-ms-client-request-id": [ "ad48ac94-f287-453e-abe4-4aa694648cf5" ], + "x-ms-unique-id": [ "22" ], + "x-ms-client-request-id": [ "90a2b379-8790-4df0-910c-079b11eec74e" ], "CommandName": [ "Restart-AzPostgreSqlFlexibleServer" ], "FullCommandName": [ "Restart-AzPostgreSqlFlexibleServer_RestartViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -220,25 +260,65 @@ } }, "Response": { - "StatusCode": 400, + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "6fb607c6-0753-42ee-b3c0-c76caac34258" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11980" ], + "x-ms-correlation-request-id": [ "a23c0025-e1af-4a33-a515-4db98fd03d7c" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T204310Z:a23c0025-e1af-4a33-a515-4db98fd03d7c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 20:43:10 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"32cd6b29-57ad-4f46-a743-fb23b263341b\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T20:41:09.377Z\"}" + } + }, + "Restart-AzPostgreSqlFlexibleServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/32cd6b29-57ad-4f46-a743-fb23b263341b?api-version=2020-02-14-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/32cd6b29-57ad-4f46-a743-fb23b263341b?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "23" ], + "x-ms-client-request-id": [ "90a2b379-8790-4df0-910c-079b11eec74e" ], + "CommandName": [ "Restart-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Restart-AzPostgreSqlFlexibleServer_RestartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "580974aa-0e2c-40ed-8ace-6695a63047e6" ], + "x-ms-request-id": [ "fe553573-7311-4471-8199-39687059939d" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], - "x-ms-correlation-request-id": [ "f8510ed2-aafd-447c-a885-675899876dd2" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T181324Z:f8510ed2-aafd-447c-a885-675899876dd2" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11979" ], + "x-ms-correlation-request-id": [ "2bd4bbee-e56b-4db7-bd4e-b3e7dea467bc" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T204310Z:2bd4bbee-e56b-4db7-bd4e-b3e7dea467bc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 18:13:23 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:43:10 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "140" ], + "Content-Length": [ "48" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"error\":{\"code\":\"OperationFailed\",\"message\":\"Operation Restart failed, because server postgresql-test-100 is busy with other operations.\"}}" + "Content": "{\"name\":\"postgresqltest100\",\"type\":\"PostgreSQL\"}" } } } \ No newline at end of file diff --git a/src/PostgreSql/test/Restore-AzPostgreSqlFlexibleServer.Recording.json b/src/PostgreSql/test/Restore-AzPostgreSqlFlexibleServer.Recording.json new file mode 100644 index 000000000000..07bd40806961 --- /dev/null +++ b/src/PostgreSql/test/Restore-AzPostgreSqlFlexibleServer.Recording.json @@ -0,0 +1,358 @@ +{ + "Restore-AzPostgreSqlFlexibleServer+[NoContext]+PointInTimeRestore+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100restore?api-version=2020-02-14-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100restore?api-version=2020-02-14-preview", + "Content": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"sourceServerName\": \"postgresqltest100\",\r\n \"pointInTimeUTC\": \"2020-11-11T22:33:58.6974190-08:00\",\r\n \"createMode\": \"PointInTimeRestore\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "199" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/f7ec74f0-fe23-413b-9fe5-61cb35db2c0d?api-version=2020-02-14-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f7ec74f0-fe23-413b-9fe5-61cb35db2c0d?api-version=2020-02-14-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "652d4b40-23a0-43e1-878b-62495364929f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "9166a5b8-a1c0-4e66-90d9-326ce8a42803" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T064400Z:9166a5b8-a1c0-4e66-90d9-326ce8a42803" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 12 Nov 2020 06:44:00 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "89" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"RestoreSnapshotManagementOperation\",\"startTime\":\"2020-11-12T06:44:00.093Z\"}" + } + }, + "Restore-AzPostgreSqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f7ec74f0-fe23-413b-9fe5-61cb35db2c0d?api-version=2020-02-14-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f7ec74f0-fe23-413b-9fe5-61cb35db2c0d?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "2" ], + "x-ms-client-request-id": [ "fa268d63-92c3-4504-abc6-e372d541f9ba" ], + "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "New-AzPostgreSqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "511a0dc4-22de-4653-909f-2c9845a30738" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-correlation-request-id": [ "83759e3d-45ee-4111-ba90-2bcfb457546f" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T064500Z:83759e3d-45ee-4111-ba90-2bcfb457546f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 12 Nov 2020 06:45:00 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"f7ec74f0-fe23-413b-9fe5-61cb35db2c0d\",\"status\":\"InProgress\",\"startTime\":\"2020-11-12T06:44:00.093Z\"}" + } + }, + "Restore-AzPostgreSqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f7ec74f0-fe23-413b-9fe5-61cb35db2c0d?api-version=2020-02-14-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f7ec74f0-fe23-413b-9fe5-61cb35db2c0d?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "3" ], + "x-ms-client-request-id": [ "fa268d63-92c3-4504-abc6-e372d541f9ba" ], + "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "New-AzPostgreSqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "87c48a90-f694-4dd1-8204-81e87780fa5e" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "fa604234-14d4-4421-8a36-4249aae99120" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T064601Z:fa604234-14d4-4421-8a36-4249aae99120" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 12 Nov 2020 06:46:00 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"f7ec74f0-fe23-413b-9fe5-61cb35db2c0d\",\"status\":\"InProgress\",\"startTime\":\"2020-11-12T06:44:00.093Z\"}" + } + }, + "Restore-AzPostgreSqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f7ec74f0-fe23-413b-9fe5-61cb35db2c0d?api-version=2020-02-14-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f7ec74f0-fe23-413b-9fe5-61cb35db2c0d?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "fa268d63-92c3-4504-abc6-e372d541f9ba" ], + "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "New-AzPostgreSqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "9f5c07a7-cc83-492f-a8cb-c46627b63c89" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-correlation-request-id": [ "9138843d-16b9-4109-8fa7-a33434a6924a" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T064701Z:9138843d-16b9-4109-8fa7-a33434a6924a" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 12 Nov 2020 06:47:01 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"f7ec74f0-fe23-413b-9fe5-61cb35db2c0d\",\"status\":\"InProgress\",\"startTime\":\"2020-11-12T06:44:00.093Z\"}" + } + }, + "Restore-AzPostgreSqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f7ec74f0-fe23-413b-9fe5-61cb35db2c0d?api-version=2020-02-14-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f7ec74f0-fe23-413b-9fe5-61cb35db2c0d?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "5" ], + "x-ms-client-request-id": [ "fa268d63-92c3-4504-abc6-e372d541f9ba" ], + "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "New-AzPostgreSqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "53c9d4cf-bf2c-47ae-b1a0-1f10f7ff2e3b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "e12c9686-22d8-45fb-9ded-e5923be43a12" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T064802Z:e12c9686-22d8-45fb-9ded-e5923be43a12" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 12 Nov 2020 06:48:02 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"f7ec74f0-fe23-413b-9fe5-61cb35db2c0d\",\"status\":\"InProgress\",\"startTime\":\"2020-11-12T06:44:00.093Z\"}" + } + }, + "Restore-AzPostgreSqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f7ec74f0-fe23-413b-9fe5-61cb35db2c0d?api-version=2020-02-14-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f7ec74f0-fe23-413b-9fe5-61cb35db2c0d?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "6" ], + "x-ms-client-request-id": [ "fa268d63-92c3-4504-abc6-e372d541f9ba" ], + "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "New-AzPostgreSqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "8955cc34-f59b-4420-926b-ccdfffbe3ae5" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "0e852938-dbeb-46a4-90ae-36977d2a75f2" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T064902Z:0e852938-dbeb-46a4-90ae-36977d2a75f2" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 12 Nov 2020 06:49:02 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"f7ec74f0-fe23-413b-9fe5-61cb35db2c0d\",\"status\":\"InProgress\",\"startTime\":\"2020-11-12T06:44:00.093Z\"}" + } + }, + "Restore-AzPostgreSqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f7ec74f0-fe23-413b-9fe5-61cb35db2c0d?api-version=2020-02-14-preview+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f7ec74f0-fe23-413b-9fe5-61cb35db2c0d?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "7" ], + "x-ms-client-request-id": [ "fa268d63-92c3-4504-abc6-e372d541f9ba" ], + "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "New-AzPostgreSqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "4de40ad7-3d83-48ae-ba9a-976f76efd8a1" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "96cf066c-4102-41fa-aecf-9043023cee75" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T065003Z:96cf066c-4102-41fa-aecf-9043023cee75" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 12 Nov 2020 06:50:02 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"f7ec74f0-fe23-413b-9fe5-61cb35db2c0d\",\"status\":\"InProgress\",\"startTime\":\"2020-11-12T06:44:00.093Z\"}" + } + }, + "Restore-AzPostgreSqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f7ec74f0-fe23-413b-9fe5-61cb35db2c0d?api-version=2020-02-14-preview+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f7ec74f0-fe23-413b-9fe5-61cb35db2c0d?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "8" ], + "x-ms-client-request-id": [ "fa268d63-92c3-4504-abc6-e372d541f9ba" ], + "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "New-AzPostgreSqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "15539fcb-5445-4b5f-ad0a-b910dd34d364" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-correlation-request-id": [ "cce4e2ca-fc70-42fb-9220-7e0a19fe1d11" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T065103Z:cce4e2ca-fc70-42fb-9220-7e0a19fe1d11" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 12 Nov 2020 06:51:03 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"f7ec74f0-fe23-413b-9fe5-61cb35db2c0d\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-12T06:44:00.093Z\"}" + } + }, + "Restore-AzPostgreSqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100restore?api-version=2020-02-14-preview+9": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100restore?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "9" ], + "x-ms-client-request-id": [ "fa268d63-92c3-4504-abc6-e372d541f9ba" ], + "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "New-AzPostgreSqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "89c147f9-613f-4dc8-b697-8a18767a873b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], + "x-ms-correlation-request-id": [ "6075f5fb-39e9-49b4-9d6c-9cf998d94372" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T065103Z:6075f5fb-39e9-49b4-9d6c-9cf998d94372" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 12 Nov 2020 06:51:03 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "900" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresqltest100restore.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"adminuser\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-12T06:51:03.9165911+00:00\",\"byokEnforcement\":\"Disabled\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0}},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresqltest100restore\",\"name\":\"postgresqltest100restore\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}" + } + } +} \ No newline at end of file diff --git a/src/PostgreSql/test/Restore-AzPostgreSqlFlexibleServer.Tests.ps1 b/src/PostgreSql/test/Restore-AzPostgreSqlFlexibleServer.Tests.ps1 index 6b85dbe94cc5..339cc1e11a61 100644 --- a/src/PostgreSql/test/Restore-AzPostgreSqlFlexibleServer.Tests.ps1 +++ b/src/PostgreSql/test/Restore-AzPostgreSqlFlexibleServer.Tests.ps1 @@ -15,7 +15,7 @@ Describe 'Restore-AzPostgreSqlFlexibleServer' { It 'PointInTimeRestore' { { $restorePointInTime = (Get-Date).AddMinutes(-10) - Restore-AzPostgreSqlFlexibleServer -SourceServerName $env.serverName -Location $env.location -Name $env.restoreName -ResourceGroupName $env.resourceGroup -RestorePointInTime $restorePointInTime - + Restore-AzPostgreSqlFlexibleServer -SourceServerName $env.serverName -Location $env.location -Name $env.restoreName -ResourceGroupName $env.resourceGroup -RestorePointInTime $restorePointInTime } | Should -Not -Throw } } diff --git a/src/PostgreSql/test/Start-AzPostgreSqlFlexibleServer.Recording.json b/src/PostgreSql/test/Start-AzPostgreSqlFlexibleServer.Recording.json index 3cb9753576a2..8929e27e8b93 100644 --- a/src/PostgreSql/test/Start-AzPostgreSqlFlexibleServer.Recording.json +++ b/src/PostgreSql/test/Start-AzPostgreSqlFlexibleServer.Recording.json @@ -1,12 +1,12 @@ { - "Start-AzPostgreSqlFlexibleServer+[NoContext]+Start+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/stop?api-version=2020-02-14-preview+1": { + "Start-AzPostgreSqlFlexibleServer+[NoContext]+Start+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/stop?api-version=2020-02-14-preview+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/stop?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/stop?api-version=2020-02-14-preview", "Content": null, "Headers": { - "x-ms-unique-id": [ "56" ], - "x-ms-client-request-id": [ "1e778634-f311-4bef-ab98-9de27239ebf5" ], + "x-ms-unique-id": [ "24" ], + "x-ms-client-request-id": [ "d549100c-5500-49c0-9a9d-f80c62e4b099" ], "CommandName": [ "Stop-AzPostgreSqlFlexibleServer" ], "FullCommandName": [ "Stop-AzPostgreSqlFlexibleServer_Stop" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -21,35 +21,35 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/0043d72d-9906-482f-942f-a0d0412760b9?api-version=2020-02-14-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/4d248a66-f94b-49e0-b43a-e9f8bcb95dfe?api-version=2020-02-14-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0043d72d-9906-482f-942f-a0d0412760b9?api-version=2020-02-14-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/4d248a66-f94b-49e0-b43a-e9f8bcb95dfe?api-version=2020-02-14-preview" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "0043d72d-9906-482f-942f-a0d0412760b9" ], + "x-ms-request-id": [ "4d248a66-f94b-49e0-b43a-e9f8bcb95dfe" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], - "x-ms-correlation-request-id": [ "4f7dcd88-e94a-4480-89e3-bf3ee785d952" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T065801Z:4f7dcd88-e94a-4480-89e3-bf3ee785d952" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], + "x-ms-correlation-request-id": [ "4c1b721c-db3f-4787-b1fd-a19b61a2344c" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T204311Z:4c1b721c-db3f-4787-b1fd-a19b61a2344c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:58:01 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:43:11 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "82" ], + "Content-Length": [ "84" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"operation\":\"StopServerManagementOperation\",\"startTime\":\"2020-11-11T06:58:01.4Z\"}" + "Content": "{\"operation\":\"StopServerManagementOperation\",\"startTime\":\"2020-11-11T20:43:11.457Z\"}" } }, - "Start-AzPostgreSqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0043d72d-9906-482f-942f-a0d0412760b9?api-version=2020-02-14-preview+2": { + "Start-AzPostgreSqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/4d248a66-f94b-49e0-b43a-e9f8bcb95dfe?api-version=2020-02-14-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0043d72d-9906-482f-942f-a0d0412760b9?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/4d248a66-f94b-49e0-b43a-e9f8bcb95dfe?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "57" ], - "x-ms-client-request-id": [ "1e778634-f311-4bef-ab98-9de27239ebf5" ], + "x-ms-unique-id": [ "25" ], + "x-ms-client-request-id": [ "d549100c-5500-49c0-9a9d-f80c62e4b099" ], "CommandName": [ "Stop-AzPostgreSqlFlexibleServer" ], "FullCommandName": [ "Stop-AzPostgreSqlFlexibleServer_Stop" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -65,31 +65,31 @@ "Pragma": [ "no-cache" ], "Retry-After": [ "60" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "499318a4-9a2c-4f54-86d6-f65ca93621b7" ], + "x-ms-request-id": [ "966371b8-52e2-4846-8c5e-8d8209fb1dd1" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11960" ], - "x-ms-correlation-request-id": [ "c258275e-28dc-412a-b829-0b3e03149621" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T065901Z:c258275e-28dc-412a-b829-0b3e03149621" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11978" ], + "x-ms-correlation-request-id": [ "ab631300-fc89-43a2-a836-d6de86fa468a" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T204412Z:ab631300-fc89-43a2-a836-d6de86fa468a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:59:01 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:44:12 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "106" ], + "Content-Length": [ "108" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"0043d72d-9906-482f-942f-a0d0412760b9\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T06:58:01.4Z\"}" + "Content": "{\"name\":\"4d248a66-f94b-49e0-b43a-e9f8bcb95dfe\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T20:43:11.457Z\"}" } }, - "Start-AzPostgreSqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0043d72d-9906-482f-942f-a0d0412760b9?api-version=2020-02-14-preview+3": { + "Start-AzPostgreSqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/4d248a66-f94b-49e0-b43a-e9f8bcb95dfe?api-version=2020-02-14-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0043d72d-9906-482f-942f-a0d0412760b9?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/4d248a66-f94b-49e0-b43a-e9f8bcb95dfe?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "58" ], - "x-ms-client-request-id": [ "1e778634-f311-4bef-ab98-9de27239ebf5" ], + "x-ms-unique-id": [ "26" ], + "x-ms-client-request-id": [ "d549100c-5500-49c0-9a9d-f80c62e4b099" ], "CommandName": [ "Stop-AzPostgreSqlFlexibleServer" ], "FullCommandName": [ "Stop-AzPostgreSqlFlexibleServer_Stop" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -105,31 +105,31 @@ "Pragma": [ "no-cache" ], "Retry-After": [ "60" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "7bcd9d4e-ccd0-4639-9d8a-3728de75c882" ], + "x-ms-request-id": [ "fc34f737-6d2a-4202-8de3-a09377e9a691" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11959" ], - "x-ms-correlation-request-id": [ "0a950ca4-5816-48c5-9b4d-5ecb7cddde8e" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T070002Z:0a950ca4-5816-48c5-9b4d-5ecb7cddde8e" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11977" ], + "x-ms-correlation-request-id": [ "e6bc5007-021e-4f3e-8d18-ed68f0e6511f" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T204512Z:e6bc5007-021e-4f3e-8d18-ed68f0e6511f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 07:00:01 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:45:12 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "106" ], + "Content-Length": [ "107" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"0043d72d-9906-482f-942f-a0d0412760b9\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T06:58:01.4Z\"}" + "Content": "{\"name\":\"4d248a66-f94b-49e0-b43a-e9f8bcb95dfe\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T20:43:11.457Z\"}" } }, - "Start-AzPostgreSqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0043d72d-9906-482f-942f-a0d0412760b9?api-version=2020-02-14-preview+4": { + "Start-AzPostgreSqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/4d248a66-f94b-49e0-b43a-e9f8bcb95dfe?api-version=2020-02-14-preview+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0043d72d-9906-482f-942f-a0d0412760b9?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/4d248a66-f94b-49e0-b43a-e9f8bcb95dfe?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "59" ], - "x-ms-client-request-id": [ "1e778634-f311-4bef-ab98-9de27239ebf5" ], + "x-ms-unique-id": [ "27" ], + "x-ms-client-request-id": [ "d549100c-5500-49c0-9a9d-f80c62e4b099" ], "CommandName": [ "Stop-AzPostgreSqlFlexibleServer" ], "FullCommandName": [ "Stop-AzPostgreSqlFlexibleServer_Stop" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -143,35 +143,76 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "90262198-ae1b-4478-afcc-be9841facb9f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11976" ], + "x-ms-correlation-request-id": [ "966366de-0bf1-4369-b6bb-729c686166a1" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T204512Z:966366de-0bf1-4369-b6bb-729c686166a1" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 20:45:12 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "48" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"postgresqltest100\",\"type\":\"PostgreSQL\"}" + } + }, + "Start-AzPostgreSqlFlexibleServer+[NoContext]+Start+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/start?api-version=2020-02-14-preview+5": { + "Request": { + "Method": "POST", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/start?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "28" ], + "x-ms-client-request-id": [ "ba2fa535-d8cb-46f7-8786-627fa60053e5" ], + "CommandName": [ "Start-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Start-AzPostgreSqlFlexibleServer_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/ee4fcd78-741b-492e-9c6e-5cba3f637214?api-version=2020-02-14-preview" ], "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ee4fcd78-741b-492e-9c6e-5cba3f637214?api-version=2020-02-14-preview" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "dfe3943a-6429-4ed0-968e-d07ce4fe761a" ], + "x-ms-request-id": [ "ee4fcd78-741b-492e-9c6e-5cba3f637214" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11958" ], - "x-ms-correlation-request-id": [ "f70dc07b-b1f1-4a49-9f9f-7f064473d9cb" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T070102Z:f70dc07b-b1f1-4a49-9f9f-7f064473d9cb" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], + "x-ms-correlation-request-id": [ "7ce0b443-75a0-4ff6-8e06-2d6fa0e2b447" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T204513Z:7ce0b443-75a0-4ff6-8e06-2d6fa0e2b447" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 07:01:02 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:45:12 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "106" ], + "Content-Length": [ "85" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"0043d72d-9906-482f-942f-a0d0412760b9\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T06:58:01.4Z\"}" + "Content": "{\"operation\":\"StartServerManagementOperation\",\"startTime\":\"2020-11-11T20:45:13.003Z\"}" } }, - "Start-AzPostgreSqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0043d72d-9906-482f-942f-a0d0412760b9?api-version=2020-02-14-preview+5": { + "Start-AzPostgreSqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ee4fcd78-741b-492e-9c6e-5cba3f637214?api-version=2020-02-14-preview+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0043d72d-9906-482f-942f-a0d0412760b9?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ee4fcd78-741b-492e-9c6e-5cba3f637214?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "60" ], - "x-ms-client-request-id": [ "1e778634-f311-4bef-ab98-9de27239ebf5" ], - "CommandName": [ "Stop-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Stop-AzPostgreSqlFlexibleServer_Stop" ], + "x-ms-unique-id": [ "29" ], + "x-ms-client-request-id": [ "ba2fa535-d8cb-46f7-8786-627fa60053e5" ], + "CommandName": [ "Start-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Start-AzPostgreSqlFlexibleServer_Start" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, @@ -185,33 +226,33 @@ "Pragma": [ "no-cache" ], "Retry-After": [ "60" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "c8210147-7f72-4315-b2c6-f43e8584bad0" ], + "x-ms-request-id": [ "b9a8bdb0-a419-4953-9665-cd116d90f456" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11957" ], - "x-ms-correlation-request-id": [ "456d92f5-27f0-4ff8-abcf-a19e7c3a973b" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T070203Z:456d92f5-27f0-4ff8-abcf-a19e7c3a973b" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11975" ], + "x-ms-correlation-request-id": [ "89e365af-cfb0-477f-b7c3-21adca727752" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T204613Z:89e365af-cfb0-477f-b7c3-21adca727752" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 07:02:02 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:46:12 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "106" ], + "Content-Length": [ "108" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"0043d72d-9906-482f-942f-a0d0412760b9\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T06:58:01.4Z\"}" + "Content": "{\"name\":\"ee4fcd78-741b-492e-9c6e-5cba3f637214\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T20:45:13.003Z\"}" } }, - "Start-AzPostgreSqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0043d72d-9906-482f-942f-a0d0412760b9?api-version=2020-02-14-preview+6": { + "Start-AzPostgreSqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ee4fcd78-741b-492e-9c6e-5cba3f637214?api-version=2020-02-14-preview+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0043d72d-9906-482f-942f-a0d0412760b9?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ee4fcd78-741b-492e-9c6e-5cba3f637214?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "61" ], - "x-ms-client-request-id": [ "1e778634-f311-4bef-ab98-9de27239ebf5" ], - "CommandName": [ "Stop-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Stop-AzPostgreSqlFlexibleServer_Stop" ], + "x-ms-unique-id": [ "30" ], + "x-ms-client-request-id": [ "ba2fa535-d8cb-46f7-8786-627fa60053e5" ], + "CommandName": [ "Start-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Start-AzPostgreSqlFlexibleServer_Start" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, @@ -225,33 +266,33 @@ "Pragma": [ "no-cache" ], "Retry-After": [ "60" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "f7a2be84-3461-41d8-ab59-578ab798a9e4" ], + "x-ms-request-id": [ "35c25883-bb94-4ae1-be20-d69409015461" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11956" ], - "x-ms-correlation-request-id": [ "88e5ebf0-a8ad-45d6-8e8d-c03cf1ac87ee" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T070303Z:88e5ebf0-a8ad-45d6-8e8d-c03cf1ac87ee" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11974" ], + "x-ms-correlation-request-id": [ "ac37f688-57e9-4385-b696-20d3df8eebcf" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T204713Z:ac37f688-57e9-4385-b696-20d3df8eebcf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 07:03:03 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:47:13 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "105" ], + "Content-Length": [ "107" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"0043d72d-9906-482f-942f-a0d0412760b9\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T06:58:01.4Z\"}" + "Content": "{\"name\":\"ee4fcd78-741b-492e-9c6e-5cba3f637214\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T20:45:13.003Z\"}" } }, - "Start-AzPostgreSqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/0043d72d-9906-482f-942f-a0d0412760b9?api-version=2020-02-14-preview+7": { + "Start-AzPostgreSqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/ee4fcd78-741b-492e-9c6e-5cba3f637214?api-version=2020-02-14-preview+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/0043d72d-9906-482f-942f-a0d0412760b9?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/ee4fcd78-741b-492e-9c6e-5cba3f637214?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "62" ], - "x-ms-client-request-id": [ "1e778634-f311-4bef-ab98-9de27239ebf5" ], - "CommandName": [ "Stop-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Stop-AzPostgreSqlFlexibleServer_Stop" ], + "x-ms-unique-id": [ "31" ], + "x-ms-client-request-id": [ "ba2fa535-d8cb-46f7-8786-627fa60053e5" ], + "CommandName": [ "Start-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Start-AzPostgreSqlFlexibleServer_Start" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, @@ -264,32 +305,32 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "c44e248e-cec5-474f-beaf-6f370b75926d" ], + "x-ms-request-id": [ "664e891c-f6ea-4166-b599-e5a9bb01fc3c" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11955" ], - "x-ms-correlation-request-id": [ "ade9e94b-a601-4e8f-9471-6308a87d3138" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T070303Z:ade9e94b-a601-4e8f-9471-6308a87d3138" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11973" ], + "x-ms-correlation-request-id": [ "7a8c3a71-2b88-4fbe-a016-916dc606bcbe" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T204714Z:7a8c3a71-2b88-4fbe-a016-916dc606bcbe" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 07:03:03 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:47:13 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "50" ], + "Content-Length": [ "48" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"postgresql-test-100\",\"type\":\"PostgreSQL\"}" + "Content": "{\"name\":\"postgresqltest100\",\"type\":\"PostgreSQL\"}" } }, - "Start-AzPostgreSqlFlexibleServer+[NoContext]+Start+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/start?api-version=2020-02-14-preview+8": { + "Start-AzPostgreSqlFlexibleServer+[NoContext]+StartViaIdentity+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/stop?api-version=2020-02-14-preview+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/start?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/stop?api-version=2020-02-14-preview", "Content": null, "Headers": { - "x-ms-unique-id": [ "63" ], - "x-ms-client-request-id": [ "80cb4c9f-015c-4058-a381-f88d4e007d42" ], - "CommandName": [ "Start-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Start-AzPostgreSqlFlexibleServer_Start" ], + "x-ms-unique-id": [ "32" ], + "x-ms-client-request-id": [ "fdb2fa7f-ad8f-409c-ba54-9ad67b41fc18" ], + "CommandName": [ "Stop-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Stop-AzPostgreSqlFlexibleServer_Stop" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], "Authorization": [ "[Filtered]" ] @@ -302,37 +343,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/316df0e3-565c-463c-a97c-a7bfb7eb211b?api-version=2020-02-14-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/a28149f1-786c-4265-8fe8-12fccdfc069a?api-version=2020-02-14-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/316df0e3-565c-463c-a97c-a7bfb7eb211b?api-version=2020-02-14-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a28149f1-786c-4265-8fe8-12fccdfc069a?api-version=2020-02-14-preview" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "316df0e3-565c-463c-a97c-a7bfb7eb211b" ], + "x-ms-request-id": [ "a28149f1-786c-4265-8fe8-12fccdfc069a" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], - "x-ms-correlation-request-id": [ "e022d07f-1351-42d0-8c4d-31f24ecff0ae" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T070303Z:e022d07f-1351-42d0-8c4d-31f24ecff0ae" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], + "x-ms-correlation-request-id": [ "ab808310-1790-46d5-85a7-925390f74147" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T204714Z:ab808310-1790-46d5-85a7-925390f74147" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 07:03:03 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:47:14 GMT" ] }, "ContentHeaders": { "Content-Length": [ "84" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"operation\":\"StartServerManagementOperation\",\"startTime\":\"2020-11-11T07:03:03.74Z\"}" + "Content": "{\"operation\":\"StopServerManagementOperation\",\"startTime\":\"2020-11-11T20:47:14.227Z\"}" } }, - "Start-AzPostgreSqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/316df0e3-565c-463c-a97c-a7bfb7eb211b?api-version=2020-02-14-preview+9": { + "Start-AzPostgreSqlFlexibleServer+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a28149f1-786c-4265-8fe8-12fccdfc069a?api-version=2020-02-14-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/316df0e3-565c-463c-a97c-a7bfb7eb211b?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a28149f1-786c-4265-8fe8-12fccdfc069a?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "64" ], - "x-ms-client-request-id": [ "80cb4c9f-015c-4058-a381-f88d4e007d42" ], - "CommandName": [ "Start-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Start-AzPostgreSqlFlexibleServer_Start" ], + "x-ms-unique-id": [ "33" ], + "x-ms-client-request-id": [ "fdb2fa7f-ad8f-409c-ba54-9ad67b41fc18" ], + "CommandName": [ "Stop-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Stop-AzPostgreSqlFlexibleServer_Stop" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, @@ -346,33 +387,154 @@ "Pragma": [ "no-cache" ], "Retry-After": [ "60" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "744e82d4-0f8a-4a7c-974c-895e926f82f7" ], + "x-ms-request-id": [ "a59e3545-5ffa-4682-b0be-b79833ea661a" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11954" ], - "x-ms-correlation-request-id": [ "1fff19fe-6c1d-4d80-8f3f-72b035f077f2" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T070404Z:1fff19fe-6c1d-4d80-8f3f-72b035f077f2" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11972" ], + "x-ms-correlation-request-id": [ "dcf16920-33a8-42aa-90ad-0a043b475bf7" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T204814Z:dcf16920-33a8-42aa-90ad-0a043b475bf7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 07:04:03 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:48:13 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"a28149f1-786c-4265-8fe8-12fccdfc069a\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T20:47:14.227Z\"}" + } + }, + "Start-AzPostgreSqlFlexibleServer+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a28149f1-786c-4265-8fe8-12fccdfc069a?api-version=2020-02-14-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a28149f1-786c-4265-8fe8-12fccdfc069a?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "34" ], + "x-ms-client-request-id": [ "fdb2fa7f-ad8f-409c-ba54-9ad67b41fc18" ], + "CommandName": [ "Stop-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Stop-AzPostgreSqlFlexibleServer_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "0bae0164-1bd3-4943-9320-62357d0aab2a" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11971" ], + "x-ms-correlation-request-id": [ "7db075bb-12a5-4716-84d5-85b0968a1cde" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T204915Z:7db075bb-12a5-4716-84d5-85b0968a1cde" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 20:49:14 GMT" ] }, "ContentHeaders": { "Content-Length": [ "107" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"316df0e3-565c-463c-a97c-a7bfb7eb211b\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T07:03:03.74Z\"}" + "Content": "{\"name\":\"a28149f1-786c-4265-8fe8-12fccdfc069a\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T20:47:14.227Z\"}" } }, - "Start-AzPostgreSqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/316df0e3-565c-463c-a97c-a7bfb7eb211b?api-version=2020-02-14-preview+10": { + "Start-AzPostgreSqlFlexibleServer+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/a28149f1-786c-4265-8fe8-12fccdfc069a?api-version=2020-02-14-preview+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/316df0e3-565c-463c-a97c-a7bfb7eb211b?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/a28149f1-786c-4265-8fe8-12fccdfc069a?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "65" ], - "x-ms-client-request-id": [ "80cb4c9f-015c-4058-a381-f88d4e007d42" ], + "x-ms-unique-id": [ "35" ], + "x-ms-client-request-id": [ "fdb2fa7f-ad8f-409c-ba54-9ad67b41fc18" ], + "CommandName": [ "Stop-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Stop-AzPostgreSqlFlexibleServer_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "e69bbbe3-14bd-4866-b4c1-9a0403d0fecc" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11970" ], + "x-ms-correlation-request-id": [ "55449649-47ed-426b-9521-8c20d1752f14" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T204915Z:55449649-47ed-426b-9521-8c20d1752f14" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 20:49:14 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "48" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"postgresqltest100\",\"type\":\"PostgreSQL\"}" + } + }, + "Start-AzPostgreSqlFlexibleServer+[NoContext]+StartViaIdentity+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/start?api-version=2020-02-14-preview+5": { + "Request": { + "Method": "POST", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/start?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "36" ], + "x-ms-client-request-id": [ "859c57e1-909b-4aba-b4d2-d15dedb2f427" ], "CommandName": [ "Start-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Start-AzPostgreSqlFlexibleServer_Start" ], + "FullCommandName": [ "Start-AzPostgreSqlFlexibleServer_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/ffa23f9c-9648-420e-a2a1-6113a0682996?api-version=2020-02-14-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ffa23f9c-9648-420e-a2a1-6113a0682996?api-version=2020-02-14-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "ffa23f9c-9648-420e-a2a1-6113a0682996" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1194" ], + "x-ms-correlation-request-id": [ "f940ef29-fc58-483e-892f-8e6642306701" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T204915Z:f940ef29-fc58-483e-892f-8e6642306701" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 20:49:15 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "85" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"StartServerManagementOperation\",\"startTime\":\"2020-11-11T20:49:15.607Z\"}" + } + }, + "Start-AzPostgreSqlFlexibleServer+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ffa23f9c-9648-420e-a2a1-6113a0682996?api-version=2020-02-14-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ffa23f9c-9648-420e-a2a1-6113a0682996?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "37" ], + "x-ms-client-request-id": [ "859c57e1-909b-4aba-b4d2-d15dedb2f427" ], + "CommandName": [ "Start-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Start-AzPostgreSqlFlexibleServer_StartViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, @@ -386,33 +548,33 @@ "Pragma": [ "no-cache" ], "Retry-After": [ "60" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "a0a083f6-f33f-4d50-8eca-6dd2577d5262" ], + "x-ms-request-id": [ "64121510-a6f6-49d6-b20f-1a1bd7a45bef" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11953" ], - "x-ms-correlation-request-id": [ "746d13a0-3cda-46e2-acd1-b1018a29bc5b" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T070504Z:746d13a0-3cda-46e2-acd1-b1018a29bc5b" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11971" ], + "x-ms-correlation-request-id": [ "b6d20568-591c-43cf-9185-a327c71f120f" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T205016Z:b6d20568-591c-43cf-9185-a327c71f120f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 07:05:04 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:50:15 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "107" ], + "Content-Length": [ "108" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"316df0e3-565c-463c-a97c-a7bfb7eb211b\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T07:03:03.74Z\"}" + "Content": "{\"name\":\"ffa23f9c-9648-420e-a2a1-6113a0682996\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T20:49:15.607Z\"}" } }, - "Start-AzPostgreSqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/316df0e3-565c-463c-a97c-a7bfb7eb211b?api-version=2020-02-14-preview+11": { + "Start-AzPostgreSqlFlexibleServer+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ffa23f9c-9648-420e-a2a1-6113a0682996?api-version=2020-02-14-preview+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/316df0e3-565c-463c-a97c-a7bfb7eb211b?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ffa23f9c-9648-420e-a2a1-6113a0682996?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "66" ], - "x-ms-client-request-id": [ "80cb4c9f-015c-4058-a381-f88d4e007d42" ], + "x-ms-unique-id": [ "38" ], + "x-ms-client-request-id": [ "859c57e1-909b-4aba-b4d2-d15dedb2f427" ], "CommandName": [ "Start-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Start-AzPostgreSqlFlexibleServer_Start" ], + "FullCommandName": [ "Start-AzPostgreSqlFlexibleServer_StartViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, @@ -426,33 +588,33 @@ "Pragma": [ "no-cache" ], "Retry-After": [ "60" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "e4acc4ad-d8c6-4240-b84a-352d38d85877" ], + "x-ms-request-id": [ "ba4566ea-5c6a-4a01-bf99-5ca6e948b0e2" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11952" ], - "x-ms-correlation-request-id": [ "cb67423b-8797-4637-ad5b-fe8aa551b579" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T070605Z:cb67423b-8797-4637-ad5b-fe8aa551b579" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11970" ], + "x-ms-correlation-request-id": [ "d2d52133-506f-4c00-8cdb-c1d94d03e0b0" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T205116Z:d2d52133-506f-4c00-8cdb-c1d94d03e0b0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 07:06:04 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:51:15 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "106" ], + "Content-Length": [ "107" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"316df0e3-565c-463c-a97c-a7bfb7eb211b\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T07:03:03.74Z\"}" + "Content": "{\"name\":\"ffa23f9c-9648-420e-a2a1-6113a0682996\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T20:49:15.607Z\"}" } }, - "Start-AzPostgreSqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/316df0e3-565c-463c-a97c-a7bfb7eb211b?api-version=2020-02-14-preview+12": { + "Start-AzPostgreSqlFlexibleServer+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/ffa23f9c-9648-420e-a2a1-6113a0682996?api-version=2020-02-14-preview+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/316df0e3-565c-463c-a97c-a7bfb7eb211b?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/ffa23f9c-9648-420e-a2a1-6113a0682996?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "67" ], - "x-ms-client-request-id": [ "80cb4c9f-015c-4058-a381-f88d4e007d42" ], + "x-ms-unique-id": [ "39" ], + "x-ms-client-request-id": [ "859c57e1-909b-4aba-b4d2-d15dedb2f427" ], "CommandName": [ "Start-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Start-AzPostgreSqlFlexibleServer_Start" ], + "FullCommandName": [ "Start-AzPostgreSqlFlexibleServer_StartViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] }, @@ -465,20 +627,20 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "e4e9fa4f-089f-4cba-b156-2fe5bb5a1488" ], + "x-ms-request-id": [ "c567b26e-9d20-48c5-9dd3-6519ce89f324" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11951" ], - "x-ms-correlation-request-id": [ "3023012f-4f19-4d10-9715-f44f04dbae61" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T070605Z:3023012f-4f19-4d10-9715-f44f04dbae61" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11969" ], + "x-ms-correlation-request-id": [ "8784ba09-a9ec-4200-a411-e02c77b3b0e4" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T205116Z:8784ba09-a9ec-4200-a411-e02c77b3b0e4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 07:06:04 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:51:15 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "50" ], + "Content-Length": [ "48" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"postgresql-test-100\",\"type\":\"PostgreSQL\"}" + "Content": "{\"name\":\"postgresqltest100\",\"type\":\"PostgreSQL\"}" } } } \ No newline at end of file diff --git a/src/PostgreSql/test/Stop-AzPostgreSqlFlexibleServer.Recording.json b/src/PostgreSql/test/Stop-AzPostgreSqlFlexibleServer.Recording.json index 29c8c1cd2400..679ce3cec6fb 100644 --- a/src/PostgreSql/test/Stop-AzPostgreSqlFlexibleServer.Recording.json +++ b/src/PostgreSql/test/Stop-AzPostgreSqlFlexibleServer.Recording.json @@ -1,12 +1,12 @@ { - "Stop-AzPostgreSqlFlexibleServer+[NoContext]+Stop+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/stop?api-version=2020-02-14-preview+1": { + "Stop-AzPostgreSqlFlexibleServer+[NoContext]+Stop+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/stop?api-version=2020-02-14-preview+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/stop?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/stop?api-version=2020-02-14-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "1" ], - "x-ms-client-request-id": [ "9d6de964-dc32-4528-a8c1-1aeaaf8369a7" ], + "x-ms-client-request-id": [ "7900b8cd-4505-4469-9807-e4e4678e5b7e" ], "CommandName": [ "Stop-AzPostgreSqlFlexibleServer" ], "FullCommandName": [ "Stop-AzPostgreSqlFlexibleServer_Stop" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -21,35 +21,35 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/4eac6e0a-a4ca-47ba-942c-208fc9700459?api-version=2020-02-14-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/8f0592f6-a0d3-4cd7-97b1-6b0f6956fed9?api-version=2020-02-14-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/4eac6e0a-a4ca-47ba-942c-208fc9700459?api-version=2020-02-14-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/8f0592f6-a0d3-4cd7-97b1-6b0f6956fed9?api-version=2020-02-14-preview" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "4eac6e0a-a4ca-47ba-942c-208fc9700459" ], + "x-ms-request-id": [ "8f0592f6-a0d3-4cd7-97b1-6b0f6956fed9" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-correlation-request-id": [ "77186c3a-433a-45d3-843c-88c20198f823" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T180630Z:77186c3a-433a-45d3-843c-88c20198f823" ], + "x-ms-correlation-request-id": [ "afbc525a-e6dd-4e6b-8d4a-16797467f38d" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T211910Z:afbc525a-e6dd-4e6b-8d4a-16797467f38d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 18:06:29 GMT" ] + "Date": [ "Wed, 11 Nov 2020 21:19:10 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "84" ], + "Content-Length": [ "83" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"operation\":\"StopServerManagementOperation\",\"startTime\":\"2020-11-11T18:06:29.927Z\"}" + "Content": "{\"operation\":\"StopServerManagementOperation\",\"startTime\":\"2020-11-11T21:19:10.58Z\"}" } }, - "Stop-AzPostgreSqlFlexibleServer+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/4eac6e0a-a4ca-47ba-942c-208fc9700459?api-version=2020-02-14-preview+2": { + "Stop-AzPostgreSqlFlexibleServer+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/8f0592f6-a0d3-4cd7-97b1-6b0f6956fed9?api-version=2020-02-14-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/4eac6e0a-a4ca-47ba-942c-208fc9700459?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/8f0592f6-a0d3-4cd7-97b1-6b0f6956fed9?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "2" ], - "x-ms-client-request-id": [ "9d6de964-dc32-4528-a8c1-1aeaaf8369a7" ], + "x-ms-client-request-id": [ "7900b8cd-4505-4469-9807-e4e4678e5b7e" ], "CommandName": [ "Stop-AzPostgreSqlFlexibleServer" ], "FullCommandName": [ "Stop-AzPostgreSqlFlexibleServer_Stop" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -65,31 +65,31 @@ "Pragma": [ "no-cache" ], "Retry-After": [ "60" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "5292c82f-1815-404f-b61c-ed177bd55c02" ], + "x-ms-request-id": [ "1ac1412a-8694-47ae-aedf-6b83f7b1271c" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], - "x-ms-correlation-request-id": [ "01bec6f6-81d9-400d-be7f-3f27e7111caa" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T180730Z:01bec6f6-81d9-400d-be7f-3f27e7111caa" ], + "x-ms-correlation-request-id": [ "d8f25e96-e872-496c-ae94-cbb8a1bce79f" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T212011Z:d8f25e96-e872-496c-ae94-cbb8a1bce79f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 18:07:30 GMT" ] + "Date": [ "Wed, 11 Nov 2020 21:20:10 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "240" ], + "Content-Length": [ "107" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"4eac6e0a-a4ca-47ba-942c-208fc9700459\",\"status\":\"Failed\",\"startTime\":\"2020-11-11T18:06:29.927Z\",\"error\":{\"code\":\"OperationFailed\",\"message\":\"Operation Stop failed, because server postgresql-test-100 is busy with other operations.\"}}" + "Content": "{\"name\":\"8f0592f6-a0d3-4cd7-97b1-6b0f6956fed9\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T21:19:10.58Z\"}" } }, - "Stop-AzPostgreSqlFlexibleServer+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/4eac6e0a-a4ca-47ba-942c-208fc9700459?api-version=2020-02-14-preview+3": { + "Stop-AzPostgreSqlFlexibleServer+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/8f0592f6-a0d3-4cd7-97b1-6b0f6956fed9?api-version=2020-02-14-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/4eac6e0a-a4ca-47ba-942c-208fc9700459?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/8f0592f6-a0d3-4cd7-97b1-6b0f6956fed9?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "9d6de964-dc32-4528-a8c1-1aeaaf8369a7" ], + "x-ms-client-request-id": [ "7900b8cd-4505-4469-9807-e4e4678e5b7e" ], "CommandName": [ "Stop-AzPostgreSqlFlexibleServer" ], "FullCommandName": [ "Stop-AzPostgreSqlFlexibleServer_Stop" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -99,25 +99,387 @@ } }, "Response": { - "StatusCode": 400, + "StatusCode": 200, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "a8240646-1042-4680-bc39-344249571f7a" ], + "x-ms-request-id": [ "2387b772-67f6-4f56-ab85-338fcb636e64" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], - "x-ms-correlation-request-id": [ "ea885175-c9af-4824-a673-8f06fa118419" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T180730Z:ea885175-c9af-4824-a673-8f06fa118419" ], + "x-ms-correlation-request-id": [ "ded5f4dc-9567-4181-8e9a-795a4e5daad1" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T212111Z:ded5f4dc-9567-4181-8e9a-795a4e5daad1" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 21:21:11 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"8f0592f6-a0d3-4cd7-97b1-6b0f6956fed9\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T21:19:10.58Z\"}" + } + }, + "Stop-AzPostgreSqlFlexibleServer+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/8f0592f6-a0d3-4cd7-97b1-6b0f6956fed9?api-version=2020-02-14-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/8f0592f6-a0d3-4cd7-97b1-6b0f6956fed9?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "7900b8cd-4505-4469-9807-e4e4678e5b7e" ], + "CommandName": [ "Stop-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Stop-AzPostgreSqlFlexibleServer_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "4fe2e425-6d1f-481b-a522-d6d64eef3d4e" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-correlation-request-id": [ "1539210f-10bc-4c72-ab96-8296abf62210" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T212111Z:1539210f-10bc-4c72-ab96-8296abf62210" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 21:21:11 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "48" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"postgresqltest100\",\"type\":\"PostgreSQL\"}" + } + }, + "Stop-AzPostgreSqlFlexibleServer+[NoContext]+Stop+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/start?api-version=2020-02-14-preview+5": { + "Request": { + "Method": "POST", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/start?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "5" ], + "x-ms-client-request-id": [ "e3d55d7f-025a-41ac-a41a-efcc9b862189" ], + "CommandName": [ "Start-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Start-AzPostgreSqlFlexibleServer_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/a96b8acc-fcee-4a7e-81f2-77b68ddc3fc2?api-version=2020-02-14-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a96b8acc-fcee-4a7e-81f2-77b68ddc3fc2?api-version=2020-02-14-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "a96b8acc-fcee-4a7e-81f2-77b68ddc3fc2" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-correlation-request-id": [ "5e2dc23e-03e9-48a4-a7b7-59db345c7a29" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T212112Z:5e2dc23e-03e9-48a4-a7b7-59db345c7a29" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 21:21:12 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "85" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"StartServerManagementOperation\",\"startTime\":\"2020-11-11T21:21:12.253Z\"}" + } + }, + "Stop-AzPostgreSqlFlexibleServer+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a96b8acc-fcee-4a7e-81f2-77b68ddc3fc2?api-version=2020-02-14-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a96b8acc-fcee-4a7e-81f2-77b68ddc3fc2?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "6" ], + "x-ms-client-request-id": [ "e3d55d7f-025a-41ac-a41a-efcc9b862189" ], + "CommandName": [ "Start-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Start-AzPostgreSqlFlexibleServer_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "4e4a6826-2a68-41f0-8513-6b53d6923f0b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "ce00446c-5759-40ff-a0e8-ededa6db18a6" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T212212Z:ce00446c-5759-40ff-a0e8-ededa6db18a6" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 21:22:11 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"a96b8acc-fcee-4a7e-81f2-77b68ddc3fc2\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T21:21:12.253Z\"}" + } + }, + "Stop-AzPostgreSqlFlexibleServer+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a96b8acc-fcee-4a7e-81f2-77b68ddc3fc2?api-version=2020-02-14-preview+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a96b8acc-fcee-4a7e-81f2-77b68ddc3fc2?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "7" ], + "x-ms-client-request-id": [ "e3d55d7f-025a-41ac-a41a-efcc9b862189" ], + "CommandName": [ "Start-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Start-AzPostgreSqlFlexibleServer_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "62350f70-91ce-4c97-8611-1f6d1cee5e89" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-correlation-request-id": [ "69babf99-8faf-496d-b581-79d9f40d4505" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T212313Z:69babf99-8faf-496d-b581-79d9f40d4505" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 21:23:12 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"a96b8acc-fcee-4a7e-81f2-77b68ddc3fc2\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T21:21:12.253Z\"}" + } + }, + "Stop-AzPostgreSqlFlexibleServer+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/a96b8acc-fcee-4a7e-81f2-77b68ddc3fc2?api-version=2020-02-14-preview+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/a96b8acc-fcee-4a7e-81f2-77b68ddc3fc2?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "8" ], + "x-ms-client-request-id": [ "e3d55d7f-025a-41ac-a41a-efcc9b862189" ], + "CommandName": [ "Start-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Start-AzPostgreSqlFlexibleServer_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "2eb0c15e-d05e-41a4-b97f-d21980dd55f8" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "0e1f78a1-43ad-40ee-b1d9-b34adcc8cd17" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T212313Z:0e1f78a1-43ad-40ee-b1d9-b34adcc8cd17" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 21:23:12 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "48" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"postgresqltest100\",\"type\":\"PostgreSQL\"}" + } + }, + "Stop-AzPostgreSqlFlexibleServer+[NoContext]+StopViaIdentity+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/stop?api-version=2020-02-14-preview+1": { + "Request": { + "Method": "POST", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/stop?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "9" ], + "x-ms-client-request-id": [ "0fc7e1d7-16e8-44af-8322-0247220552db" ], + "CommandName": [ "Stop-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Stop-AzPostgreSqlFlexibleServer_StopViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/18ba3d05-211a-4e9c-8ce4-d23bd065a7af?api-version=2020-02-14-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/18ba3d05-211a-4e9c-8ce4-d23bd065a7af?api-version=2020-02-14-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "18ba3d05-211a-4e9c-8ce4-d23bd065a7af" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], + "x-ms-correlation-request-id": [ "7f896294-a806-4472-bd5e-2706ae33658a" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T212313Z:7f896294-a806-4472-bd5e-2706ae33658a" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 21:23:13 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "84" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"StopServerManagementOperation\",\"startTime\":\"2020-11-11T21:23:13.623Z\"}" + } + }, + "Stop-AzPostgreSqlFlexibleServer+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/18ba3d05-211a-4e9c-8ce4-d23bd065a7af?api-version=2020-02-14-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/18ba3d05-211a-4e9c-8ce4-d23bd065a7af?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "10" ], + "x-ms-client-request-id": [ "0fc7e1d7-16e8-44af-8322-0247220552db" ], + "CommandName": [ "Stop-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Stop-AzPostgreSqlFlexibleServer_StopViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "3cab235e-e7f8-41d7-ae93-81137c016414" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "22191515-426a-4fac-86a3-2a23c0e1ae76" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T212414Z:22191515-426a-4fac-86a3-2a23c0e1ae76" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 21:24:13 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"18ba3d05-211a-4e9c-8ce4-d23bd065a7af\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T21:23:13.623Z\"}" + } + }, + "Stop-AzPostgreSqlFlexibleServer+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/18ba3d05-211a-4e9c-8ce4-d23bd065a7af?api-version=2020-02-14-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/18ba3d05-211a-4e9c-8ce4-d23bd065a7af?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "11" ], + "x-ms-client-request-id": [ "0fc7e1d7-16e8-44af-8322-0247220552db" ], + "CommandName": [ "Stop-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Stop-AzPostgreSqlFlexibleServer_StopViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "6bc05ac3-f319-48f3-9db1-b4e140a04017" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "75d50bb4-dd7e-4a80-9000-c1df5b3dc7e8" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T212514Z:75d50bb4-dd7e-4a80-9000-c1df5b3dc7e8" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 21:25:13 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"18ba3d05-211a-4e9c-8ce4-d23bd065a7af\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T21:23:13.623Z\"}" + } + }, + "Stop-AzPostgreSqlFlexibleServer+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/18ba3d05-211a-4e9c-8ce4-d23bd065a7af?api-version=2020-02-14-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/18ba3d05-211a-4e9c-8ce4-d23bd065a7af?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "12" ], + "x-ms-client-request-id": [ "0fc7e1d7-16e8-44af-8322-0247220552db" ], + "CommandName": [ "Stop-AzPostgreSqlFlexibleServer" ], + "FullCommandName": [ "Stop-AzPostgreSqlFlexibleServer_StopViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "57017a85-7399-45c7-b17d-e6426c2ca680" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-correlation-request-id": [ "8b6114b5-12f6-4c27-8c2b-a0d44f6c5a6b" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T212514Z:8b6114b5-12f6-4c27-8c2b-a0d44f6c5a6b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 18:07:30 GMT" ] + "Date": [ "Wed, 11 Nov 2020 21:25:14 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "137" ], + "Content-Length": [ "48" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"error\":{\"code\":\"OperationFailed\",\"message\":\"Operation Stop failed, because server postgresql-test-100 is busy with other operations.\"}}" + "Content": "{\"name\":\"postgresqltest100\",\"type\":\"PostgreSQL\"}" } } } \ No newline at end of file diff --git a/src/PostgreSql/test/Stop-AzPostgreSqlFlexibleServer.Tests.ps1 b/src/PostgreSql/test/Stop-AzPostgreSqlFlexibleServer.Tests.ps1 index 57d3f143ce55..4147673001b5 100644 --- a/src/PostgreSql/test/Stop-AzPostgreSqlFlexibleServer.Tests.ps1 +++ b/src/PostgreSql/test/Stop-AzPostgreSqlFlexibleServer.Tests.ps1 @@ -15,6 +15,7 @@ Describe 'Stop-AzPostgreSqlFlexibleServer' { It 'Stop' { { Stop-AzPostgreSqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName + Start-AzPostgreSqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName } | Should -Not -Throw } diff --git a/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServer.Recording.json b/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServer.Recording.json index a2f72f2b41ca..3324565e7344 100644 --- a/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServer.Recording.json +++ b/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServer.Recording.json @@ -1,9 +1,9 @@ { - "Update-AzPostgreSqlFlexibleServer+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview+1": { + "Update-AzPostgreSqlFlexibleServer+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100?api-version=2020-02-14-preview+1": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview", - "Content": "{\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 12\r\n }\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100?api-version=2020-02-14-preview", + "Content": "{\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 15\r\n }\r\n }\r\n}", "Headers": { }, "ContentHeaders": { @@ -16,35 +16,35 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/55d24b3d-b7e0-4fb2-9ef1-767fddabe5c8?api-version=2020-02-14-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/46beec97-e277-4b93-acee-6d8631c8a53a?api-version=2020-02-14-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/55d24b3d-b7e0-4fb2-9ef1-767fddabe5c8?api-version=2020-02-14-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/46beec97-e277-4b93-acee-6d8631c8a53a?api-version=2020-02-14-preview" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "d9c8d9c7-28a3-4e88-9a26-f91fcf4b9c49" ], + "x-ms-request-id": [ "15c98830-2b72-4fd2-a78e-bc3e09298103" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1192" ], - "x-ms-correlation-request-id": [ "061abc3c-3d5d-45f2-acf3-4f04b878e294" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T070807Z:061abc3c-3d5d-45f2-acf3-4f04b878e294" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], + "x-ms-correlation-request-id": [ "785af370-9bae-428d-a92f-30d9429d133a" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T205421Z:785af370-9bae-428d-a92f-30d9429d133a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 07:08:06 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:54:21 GMT" ] }, "ContentHeaders": { "Content-Length": [ "88" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-11T07:08:07.423Z\"}" + "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-11T20:54:21.413Z\"}" } }, - "Update-AzPostgreSqlFlexibleServer+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/55d24b3d-b7e0-4fb2-9ef1-767fddabe5c8?api-version=2020-02-14-preview+2": { + "Update-AzPostgreSqlFlexibleServer+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/46beec97-e277-4b93-acee-6d8631c8a53a?api-version=2020-02-14-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/55d24b3d-b7e0-4fb2-9ef1-767fddabe5c8?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/46beec97-e277-4b93-acee-6d8631c8a53a?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "73" ], - "x-ms-client-request-id": [ "d3b03cf4-59cd-4ceb-b81d-83a4bb2a3def" ], + "x-ms-unique-id": [ "48" ], + "x-ms-client-request-id": [ "edc788f3-892f-45d5-acf7-b9d32eb2adbf" ], "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServer" ], "FullCommandName": [ "Update-AzPostgreSqlFlexibleServer_UpdateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -60,31 +60,31 @@ "Pragma": [ "no-cache" ], "Retry-After": [ "60" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "957c2c30-dee7-41d0-bd19-e7f82ec4e679" ], + "x-ms-request-id": [ "875007b5-85fc-49b5-ac1f-d8523c25a5aa" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11947" ], - "x-ms-correlation-request-id": [ "ab6ce916-8ff9-470b-99e6-933392c2611e" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T070908Z:ab6ce916-8ff9-470b-99e6-933392c2611e" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11964" ], + "x-ms-correlation-request-id": [ "557074ce-ef5d-48cc-a546-3818f02f6ab5" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T205522Z:557074ce-ef5d-48cc-a546-3818f02f6ab5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 07:09:07 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:55:21 GMT" ] }, "ContentHeaders": { "Content-Length": [ "265" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"55d24b3d-b7e0-4fb2-9ef1-767fddabe5c8\",\"status\":\"Failed\",\"startTime\":\"2020-11-11T07:08:07.423Z\",\"error\":{\"code\":\"InternalServerError\",\"message\":\"An unexpected error occured while processing the request. Tracking ID: \u0027957c2c30-dee7-41d0-bd19-e7f82ec4e679\u0027\"}}" + "Content": "{\"name\":\"46beec97-e277-4b93-acee-6d8631c8a53a\",\"status\":\"Failed\",\"startTime\":\"2020-11-11T20:54:21.413Z\",\"error\":{\"code\":\"InternalServerError\",\"message\":\"An unexpected error occured while processing the request. Tracking ID: \u0027875007b5-85fc-49b5-ac1f-d8523c25a5aa\u0027\"}}" } }, - "Update-AzPostgreSqlFlexibleServer+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview+3": { + "Update-AzPostgreSqlFlexibleServer+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100?api-version=2020-02-14-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "74" ], - "x-ms-client-request-id": [ "d3b03cf4-59cd-4ceb-b81d-83a4bb2a3def" ], + "x-ms-unique-id": [ "49" ], + "x-ms-client-request-id": [ "edc788f3-892f-45d5-acf7-b9d32eb2adbf" ], "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServer" ], "FullCommandName": [ "Update-AzPostgreSqlFlexibleServer_UpdateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -99,27 +99,27 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "daa75a4c-bb04-4336-81b7-c0673ba3b0bb" ], + "x-ms-request-id": [ "e8e49d31-318e-44b5-bbac-8ee7cae675a1" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11946" ], - "x-ms-correlation-request-id": [ "013f553f-2804-448e-b029-484a88f91f49" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T070908Z:013f553f-2804-448e-b029-484a88f91f49" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11963" ], + "x-ms-correlation-request-id": [ "d40ee1af-8684-4947-b3ec-9be4c1378d9f" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T205522Z:d40ee1af-8684-4947-b3ec-9be4c1378d9f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 07:09:07 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:55:21 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1105" ], + "Content-Length": [ "871" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"shyHamster5\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/VNETesql-test-100/subnets/Subnetesql-test-100\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"\",\"state\":\"Stopped\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T06:48:31.9060234+00:00\",\"byokEnforcement\":\"Disabled\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0}},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresqltest100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"adminuser\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"\",\"state\":\"Stopped\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T20:47:55.6257742+00:00\",\"byokEnforcement\":\"Disabled\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0}},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresqltest100\",\"name\":\"postgresqltest100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}" } }, - "Update-AzPostgreSqlFlexibleServer+[NoContext]+UpdateViaIdentityExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview+1": { + "Update-AzPostgreSqlFlexibleServer+[NoContext]+UpdateViaIdentityExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100?api-version=2020-02-14-preview+1": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview", - "Content": "{\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 13\r\n }\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100?api-version=2020-02-14-preview", + "Content": "{\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 20\r\n }\r\n }\r\n}", "Headers": { }, "ContentHeaders": { @@ -132,35 +132,35 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/a09bca4f-4688-4eca-89f7-cefcaa5021f3?api-version=2020-02-14-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/85a182c2-5afa-4b90-8638-0d348899995d?api-version=2020-02-14-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a09bca4f-4688-4eca-89f7-cefcaa5021f3?api-version=2020-02-14-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/85a182c2-5afa-4b90-8638-0d348899995d?api-version=2020-02-14-preview" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "57d49ec8-a123-4b76-a069-1aa0e065d7f0" ], + "x-ms-request-id": [ "b2ba43ac-7555-42db-bb99-f89a27facb4f" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1191" ], - "x-ms-correlation-request-id": [ "1212fe8e-ceea-4320-b30e-0c092a0420bf" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T070908Z:1212fe8e-ceea-4320-b30e-0c092a0420bf" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], + "x-ms-correlation-request-id": [ "1835be51-6f0c-4c1f-a31a-c2b54d4c96e6" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T205522Z:1835be51-6f0c-4c1f-a31a-c2b54d4c96e6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 07:09:08 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:55:21 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "88" ], + "Content-Length": [ "87" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-11T07:09:08.647Z\"}" + "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-11T20:55:22.64Z\"}" } }, - "Update-AzPostgreSqlFlexibleServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a09bca4f-4688-4eca-89f7-cefcaa5021f3?api-version=2020-02-14-preview+2": { + "Update-AzPostgreSqlFlexibleServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/85a182c2-5afa-4b90-8638-0d348899995d?api-version=2020-02-14-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a09bca4f-4688-4eca-89f7-cefcaa5021f3?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/85a182c2-5afa-4b90-8638-0d348899995d?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "76" ], - "x-ms-client-request-id": [ "3ae2a72a-ea5d-4005-aaad-cd853d951999" ], + "x-ms-unique-id": [ "51" ], + "x-ms-client-request-id": [ "1a975ac2-4716-4c56-aa02-2d045eee4856" ], "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServer" ], "FullCommandName": [ "Update-AzPostgreSqlFlexibleServer_UpdateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -176,31 +176,31 @@ "Pragma": [ "no-cache" ], "Retry-After": [ "60" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "b94fdc04-f651-4212-b486-e7ddb29f9db6" ], + "x-ms-request-id": [ "504af622-3362-41e4-bd6d-3d367851d7ce" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11945" ], - "x-ms-correlation-request-id": [ "768f1254-263f-466d-b858-405840057733" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T071009Z:768f1254-263f-466d-b858-405840057733" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11962" ], + "x-ms-correlation-request-id": [ "f4d5f3c0-9e0e-4aad-acd9-5c31da5716c4" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T205623Z:f4d5f3c0-9e0e-4aad-acd9-5c31da5716c4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 07:10:09 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:56:23 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "265" ], + "Content-Length": [ "264" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"a09bca4f-4688-4eca-89f7-cefcaa5021f3\",\"status\":\"Failed\",\"startTime\":\"2020-11-11T07:09:08.647Z\",\"error\":{\"code\":\"InternalServerError\",\"message\":\"An unexpected error occured while processing the request. Tracking ID: \u0027b94fdc04-f651-4212-b486-e7ddb29f9db6\u0027\"}}" + "Content": "{\"name\":\"85a182c2-5afa-4b90-8638-0d348899995d\",\"status\":\"Failed\",\"startTime\":\"2020-11-11T20:55:22.64Z\",\"error\":{\"code\":\"InternalServerError\",\"message\":\"An unexpected error occured while processing the request. Tracking ID: \u0027504af622-3362-41e4-bd6d-3d367851d7ce\u0027\"}}" } }, - "Update-AzPostgreSqlFlexibleServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview+3": { + "Update-AzPostgreSqlFlexibleServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100?api-version=2020-02-14-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "77" ], - "x-ms-client-request-id": [ "3ae2a72a-ea5d-4005-aaad-cd853d951999" ], + "x-ms-unique-id": [ "52" ], + "x-ms-client-request-id": [ "1a975ac2-4716-4c56-aa02-2d045eee4856" ], "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServer" ], "FullCommandName": [ "Update-AzPostgreSqlFlexibleServer_UpdateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -215,20 +215,20 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "138ca52e-5f68-406c-90d9-550a1101f5ef" ], + "x-ms-request-id": [ "b8457b19-88a7-49f9-835b-91e44d652908" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11944" ], - "x-ms-correlation-request-id": [ "60e70d84-3867-4789-b950-ec2178743a4c" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T071009Z:60e70d84-3867-4789-b950-ec2178743a4c" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11961" ], + "x-ms-correlation-request-id": [ "5989cf2e-1ef9-498b-bde3-db7b205a4ac1" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T205623Z:5989cf2e-1ef9-498b-bde3-db7b205a4ac1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 07:10:09 GMT" ] + "Date": [ "Wed, 11 Nov 2020 20:56:23 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1105" ], + "Content-Length": [ "871" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"shyHamster5\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/VNETesql-test-100/subnets/Subnetesql-test-100\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"\",\"state\":\"Stopped\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T06:48:31.9060234+00:00\",\"byokEnforcement\":\"Disabled\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0}},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresqltest100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"adminuser\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"\",\"state\":\"Stopped\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T20:47:55.6257742+00:00\",\"byokEnforcement\":\"Disabled\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0}},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresqltest100\",\"name\":\"postgresqltest100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}" } } } \ No newline at end of file diff --git a/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServer.Tests.ps1 b/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServer.Tests.ps1 index 92b6647df6f5..25512b7208c7 100644 --- a/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServer.Tests.ps1 +++ b/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServer.Tests.ps1 @@ -12,14 +12,14 @@ while(-not $mockingPath) { . ($mockingPath | Select-Object -First 1).FullName Describe 'Update-AzPostgreSqlFlexibleServer' { - It 'UpdateExpanded' { + It 'UpdateExpanded' -Skip { { $server = Update-AzPostgreSqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName -BackupRetentionDay 15 $server.StorageProfileBackupRetentionDay | Should -Be 15 } | Should -Not -Throw } - It 'UpdateViaIdentityExpanded' { + It 'UpdateViaIdentityExpanded' -Skip { { $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBforPostgreSql/flexibleServers/$($env.serverName)/" $server = Update-AzPostgreSqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName -BackupRetentionDay 20 diff --git a/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerConfiguration.Recording.json b/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerConfiguration.Recording.json new file mode 100644 index 000000000000..e98175cb6003 --- /dev/null +++ b/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerConfiguration.Recording.json @@ -0,0 +1,234 @@ +{ + "Update-AzPostgreSqlFlexibleServerConfiguration+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/configurations/work_mem?api-version=2020-02-14-preview+1": { + "Request": { + "Method": "PATCH", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/configurations/work_mem?api-version=2020-02-14-preview", + "Content": "{\r\n \"properties\": {\r\n \"value\": \"10240\",\r\n \"source\": \"user-override\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "82" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/9a12f5da-7a78-4c03-8b9d-f41de188b99f?api-version=2020-02-14-preview" ], + "Retry-After": [ "10" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/9a12f5da-7a78-4c03-8b9d-f41de188b99f?api-version=2020-02-14-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "9a12f5da-7a78-4c03-8b9d-f41de188b99f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "60cb77d3-758b-4fc8-a257-6cb9851e9385" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T055956Z:60cb77d3-758b-4fc8-a257-6cb9851e9385" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 12 Nov 2020 05:59:55 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "92" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpdateConfigurationManagementOperation\",\"startTime\":\"2020-11-12T05:59:56.17Z\"}" + } + }, + "Update-AzPostgreSqlFlexibleServerConfiguration+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/9a12f5da-7a78-4c03-8b9d-f41de188b99f?api-version=2020-02-14-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/9a12f5da-7a78-4c03-8b9d-f41de188b99f?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "2" ], + "x-ms-client-request-id": [ "45de83c3-757b-4bf3-8e81-69b07e1a4ec0" ], + "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServerConfiguration" ], + "FullCommandName": [ "Update-AzPostgreSqlFlexibleServerConfiguration_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "10" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "68f9ee22-cb92-4d98-bcc9-c1315bb7e827" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], + "x-ms-correlation-request-id": [ "c08af11f-6c56-4879-80b8-3fa00fea5761" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T060006Z:c08af11f-6c56-4879-80b8-3fa00fea5761" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 12 Nov 2020 06:00:05 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "262" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"9a12f5da-7a78-4c03-8b9d-f41de188b99f\",\"status\":\"Failed\",\"startTime\":\"2020-11-12T05:59:56.17Z\",\"error\":{\"code\":\"SubscriptionDoesNotHaveServer\",\"message\":\"Subscription \u00277fec3109-5b78-4a24-b834-5d47d63e2596\u0027 does not have the server \u0027postgresqltest100\u0027.\"}}" + } + }, + "Update-AzPostgreSqlFlexibleServerConfiguration+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/configurations/work_mem?api-version=2020-02-14-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/configurations/work_mem?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "3" ], + "x-ms-client-request-id": [ "45de83c3-757b-4bf3-8e81-69b07e1a4ec0" ], + "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServerConfiguration" ], + "FullCommandName": [ "Update-AzPostgreSqlFlexibleServerConfiguration_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 504, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-failure-cause": [ "service" ], + "x-ms-request-id": [ "5de6c091-cf3d-48d9-8fb3-28f688002c5d" ], + "x-ms-correlation-request-id": [ "5de6c091-cf3d-48d9-8fb3-28f688002c5d" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T060106Z:5de6c091-cf3d-48d9-8fb3-28f688002c5d" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 12 Nov 2020 06:01:06 GMT" ], + "Connection": [ "close" ] + }, + "ContentHeaders": { + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ], + "Content-Length": [ "153" ] + }, + "Content": "{\"error\":{\"code\":\"GatewayTimeout\",\"message\":\"The gateway did not receive a response from \u0027Microsoft.DBforPostgreSQL\u0027 within the specified time period.\"}}" + } + }, + "Update-AzPostgreSqlFlexibleServerConfiguration+[NoContext]+UpdateViaIdentityExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/configurations/work_mem?api-version=2020-02-14-preview+1": { + "Request": { + "Method": "PATCH", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/configurations/work_mem?api-version=2020-02-14-preview", + "Content": "{\r\n \"properties\": {\r\n \"value\": \"4096\",\r\n \"source\": \"user-override\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "81" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/557d3568-0dd4-464b-aa9c-136de9b37a32?api-version=2020-02-14-preview" ], + "Retry-After": [ "10" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/557d3568-0dd4-464b-aa9c-136de9b37a32?api-version=2020-02-14-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "557d3568-0dd4-464b-aa9c-136de9b37a32" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "1d8807a2-e98f-4b44-b7d6-1dd0abe986c9" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T060154Z:1d8807a2-e98f-4b44-b7d6-1dd0abe986c9" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 12 Nov 2020 06:01:53 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "93" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpdateConfigurationManagementOperation\",\"startTime\":\"2020-11-12T06:01:54.583Z\"}" + } + }, + "Update-AzPostgreSqlFlexibleServerConfiguration+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/557d3568-0dd4-464b-aa9c-136de9b37a32?api-version=2020-02-14-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/557d3568-0dd4-464b-aa9c-136de9b37a32?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "5" ], + "x-ms-client-request-id": [ "eed72625-6bfd-4cba-b2fe-f71c2e88fd87" ], + "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServerConfiguration" ], + "FullCommandName": [ "Update-AzPostgreSqlFlexibleServerConfiguration_UpdateViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "10" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "d44f8020-eb59-44f4-b125-7fbe2abfc235" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-correlation-request-id": [ "45083add-8434-4edb-978a-f49c44bb944c" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T060204Z:45083add-8434-4edb-978a-f49c44bb944c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 12 Nov 2020 06:02:04 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "263" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"557d3568-0dd4-464b-aa9c-136de9b37a32\",\"status\":\"Failed\",\"startTime\":\"2020-11-12T06:01:54.583Z\",\"error\":{\"code\":\"SubscriptionDoesNotHaveServer\",\"message\":\"Subscription \u00277fec3109-5b78-4a24-b834-5d47d63e2596\u0027 does not have the server \u0027postgresqltest100\u0027.\"}}" + } + }, + "Update-AzPostgreSqlFlexibleServerConfiguration+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/configurations/work_mem?api-version=2020-02-14-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/configurations/work_mem?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "6" ], + "x-ms-client-request-id": [ "eed72625-6bfd-4cba-b2fe-f71c2e88fd87" ], + "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServerConfiguration" ], + "FullCommandName": [ "Update-AzPostgreSqlFlexibleServerConfiguration_UpdateViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 504, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-failure-cause": [ "service" ], + "x-ms-request-id": [ "48682fed-4b46-44c9-a3cd-72dd748816a2" ], + "x-ms-correlation-request-id": [ "48682fed-4b46-44c9-a3cd-72dd748816a2" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T060305Z:48682fed-4b46-44c9-a3cd-72dd748816a2" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Thu, 12 Nov 2020 06:03:04 GMT" ], + "Connection": [ "close" ] + }, + "ContentHeaders": { + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ], + "Content-Length": [ "153" ] + }, + "Content": "{\"error\":{\"code\":\"GatewayTimeout\",\"message\":\"The gateway did not receive a response from \u0027Microsoft.DBforPostgreSQL\u0027 within the specified time period.\"}}" + } + } +} \ No newline at end of file diff --git a/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerConfiguration.Tests.ps1 b/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerConfiguration.Tests.ps1 index 6c5c8de68832..0f10ea2ff312 100644 --- a/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerConfiguration.Tests.ps1 +++ b/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerConfiguration.Tests.ps1 @@ -12,13 +12,13 @@ while(-not $mockingPath) { . ($mockingPath | Select-Object -First 1).FullName Describe 'Update-AzPostgreSqlFlexibleServerConfiguration' { - It 'UpdateExpanded' { + It 'UpdateExpanded' -Skip { $config = Update-AzPostgreSqlFlexibleServerConfiguration -Name work_mem -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -Value 10240 $config.Value | Should -Be 10240 $config.DefaultValue | Should -Be 4096 } - It 'UpdateViaIdentityExpanded' { + It 'UpdateViaIdentityExpanded' -Skip { $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSql/flexibleServers/$($env.serverName)/configurations/work_mem" $config = Update-AzPostgreSqlFlexibleServerConfiguration -InputObject $ID -Value 4096 $config.Value | Should -Be 4096 diff --git a/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerFirewallRule.Recording.json b/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerFirewallRule.Recording.json index 227b83eaa7c2..25d25dd18cdd 100644 --- a/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerFirewallRule.Recording.json +++ b/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerFirewallRule.Recording.json @@ -1,8 +1,8 @@ { - "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { + "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -16,35 +16,35 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/16b92ebe-6991-42a8-a02c-4c6fba3e961f?api-version=2020-02-14-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/af95ddaf-7cc5-496d-b8d4-4c07423c84f9?api-version=2020-02-14-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/16b92ebe-6991-42a8-a02c-4c6fba3e961f?api-version=2020-02-14-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/af95ddaf-7cc5-496d-b8d4-4c07423c84f9?api-version=2020-02-14-preview" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "16b92ebe-6991-42a8-a02c-4c6fba3e961f" ], + "x-ms-request-id": [ "af95ddaf-7cc5-496d-b8d4-4c07423c84f9" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1190" ], - "x-ms-correlation-request-id": [ "f2a7e722-82ab-494a-b993-fb8a67c31c46" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T071010Z:f2a7e722-82ab-494a-b993-fb8a67c31c46" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "1a4b78ab-4490-4738-9b7f-ddf78e394073" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T070634Z:1a4b78ab-4490-4738-9b7f-ddf78e394073" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 07:10:10 GMT" ] + "Date": [ "Thu, 12 Nov 2020 07:06:33 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "99" ], + "Content-Length": [ "98" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-11T07:10:10.273Z\"}" + "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-12T07:06:34.02Z\"}" } }, - "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/16b92ebe-6991-42a8-a02c-4c6fba3e961f?api-version=2020-02-14-preview+2": { + "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/af95ddaf-7cc5-496d-b8d4-4c07423c84f9?api-version=2020-02-14-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/16b92ebe-6991-42a8-a02c-4c6fba3e961f?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/af95ddaf-7cc5-496d-b8d4-4c07423c84f9?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "79" ], - "x-ms-client-request-id": [ "16425ac7-7e7e-40aa-a8fb-6e403c99558a" ], + "x-ms-unique-id": [ "2" ], + "x-ms-client-request-id": [ "140cdcca-c13e-4e8b-a24f-3572c022a13a" ], "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServerFirewallRule" ], "FullCommandName": [ "New-AzPostgreSqlFlexibleServerFirewallRule_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -60,31 +60,31 @@ "Pragma": [ "no-cache" ], "Retry-After": [ "60" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "c493e489-37d9-4f3c-aec4-b30c73450b3c" ], + "x-ms-request-id": [ "522608ba-43c0-4d0f-a79d-7c8ecdaee1f3" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11943" ], - "x-ms-correlation-request-id": [ "02509475-44dc-432d-bffb-8aaef7f11482" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T071110Z:02509475-44dc-432d-bffb-8aaef7f11482" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "dd43e577-2e99-4bc6-b68b-d74c9603ea20" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T070734Z:dd43e577-2e99-4bc6-b68b-d74c9603ea20" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 07:11:10 GMT" ] + "Date": [ "Thu, 12 Nov 2020 07:07:34 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "107" ], + "Content-Length": [ "106" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"16b92ebe-6991-42a8-a02c-4c6fba3e961f\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T07:10:10.273Z\"}" + "Content": "{\"name\":\"af95ddaf-7cc5-496d-b8d4-4c07423c84f9\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-12T07:06:34.02Z\"}" } }, - "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { + "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "80" ], - "x-ms-client-request-id": [ "16425ac7-7e7e-40aa-a8fb-6e403c99558a" ], + "x-ms-unique-id": [ "3" ], + "x-ms-client-request-id": [ "140cdcca-c13e-4e8b-a24f-3572c022a13a" ], "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServerFirewallRule" ], "FullCommandName": [ "New-AzPostgreSqlFlexibleServerFirewallRule_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -99,13 +99,13 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "07fcd72e-5bd2-465e-a651-5e5dcb8fec09" ], + "x-ms-request-id": [ "39010de9-419c-4a87-8d74-10ce896cfd05" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11942" ], - "x-ms-correlation-request-id": [ "2d978161-f155-42eb-9966-826acbad1e6d" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T071111Z:2d978161-f155-42eb-9966-826acbad1e6d" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "821af293-bdc7-402e-bab3-d211b006b40a" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T070734Z:821af293-bdc7-402e-bab3-d211b006b40a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 07:11:10 GMT" ] + "Date": [ "Thu, 12 Nov 2020 07:07:34 GMT" ] }, "ContentHeaders": { "Content-Length": [ "104" ], @@ -115,10 +115,10 @@ "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The specified resource postgresqlrule01 was not found.\"}}" } }, - "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { + "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.2\",\r\n \"endIpAddress\": \"0.0.0.2\"\r\n }\r\n}", "Headers": { }, @@ -132,35 +132,35 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/dcb5e827-af0e-4157-9db6-c9d4e6839af2?api-version=2020-02-14-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/0fc2fc26-5937-4dd1-a2ee-d877c155e5d4?api-version=2020-02-14-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/dcb5e827-af0e-4157-9db6-c9d4e6839af2?api-version=2020-02-14-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0fc2fc26-5937-4dd1-a2ee-d877c155e5d4?api-version=2020-02-14-preview" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "dcb5e827-af0e-4157-9db6-c9d4e6839af2" ], + "x-ms-request-id": [ "0fc2fc26-5937-4dd1-a2ee-d877c155e5d4" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1189" ], - "x-ms-correlation-request-id": [ "4f31f6ac-4c72-45c8-a802-b901794d5b70" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T071111Z:4f31f6ac-4c72-45c8-a802-b901794d5b70" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-correlation-request-id": [ "02ebc100-c240-4e89-b982-23c288e447d6" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T070735Z:02ebc100-c240-4e89-b982-23c288e447d6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 07:11:10 GMT" ] + "Date": [ "Thu, 12 Nov 2020 07:07:34 GMT" ] }, "ContentHeaders": { "Content-Length": [ "99" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-11T07:11:11.297Z\"}" + "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-12T07:07:35.233Z\"}" } }, - "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/dcb5e827-af0e-4157-9db6-c9d4e6839af2?api-version=2020-02-14-preview+2": { + "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0fc2fc26-5937-4dd1-a2ee-d877c155e5d4?api-version=2020-02-14-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/dcb5e827-af0e-4157-9db6-c9d4e6839af2?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0fc2fc26-5937-4dd1-a2ee-d877c155e5d4?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "82" ], - "x-ms-client-request-id": [ "9f1bd8eb-8e65-46a4-ad89-2c76afed2d9b" ], + "x-ms-unique-id": [ "5" ], + "x-ms-client-request-id": [ "2728c692-e079-4f07-8721-b7b3847e81af" ], "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServerFirewallRule" ], "FullCommandName": [ "Update-AzPostgreSqlFlexibleServerFirewallRule_UpdateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -176,31 +176,31 @@ "Pragma": [ "no-cache" ], "Retry-After": [ "60" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "1274f129-e1a4-482a-95d7-65bb6bbf50be" ], + "x-ms-request-id": [ "69f04242-05eb-4501-a58e-90e5449e71e1" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11941" ], - "x-ms-correlation-request-id": [ "cccf9005-8d98-4cda-a9e9-ea97cf80e099" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T071211Z:cccf9005-8d98-4cda-a9e9-ea97cf80e099" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "96d500c6-b386-4c3b-a5f8-34fa90bb6e3a" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T070835Z:96d500c6-b386-4c3b-a5f8-34fa90bb6e3a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 07:12:10 GMT" ] + "Date": [ "Thu, 12 Nov 2020 07:08:35 GMT" ] }, "ContentHeaders": { "Content-Length": [ "107" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"dcb5e827-af0e-4157-9db6-c9d4e6839af2\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T07:11:11.297Z\"}" + "Content": "{\"name\":\"0fc2fc26-5937-4dd1-a2ee-d877c155e5d4\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-12T07:07:35.233Z\"}" } }, - "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { + "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "83" ], - "x-ms-client-request-id": [ "9f1bd8eb-8e65-46a4-ad89-2c76afed2d9b" ], + "x-ms-unique-id": [ "6" ], + "x-ms-client-request-id": [ "2728c692-e079-4f07-8721-b7b3847e81af" ], "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServerFirewallRule" ], "FullCommandName": [ "Update-AzPostgreSqlFlexibleServerFirewallRule_UpdateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -215,13 +215,13 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "a3259780-2d0b-40d1-bc96-a1a09207ef53" ], + "x-ms-request-id": [ "7089ab71-7814-41d2-a1e3-253a9c31f3f3" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11940" ], - "x-ms-correlation-request-id": [ "47190f01-f6c8-43b2-b0f7-fdabe8621536" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T071211Z:47190f01-f6c8-43b2-b0f7-fdabe8621536" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-correlation-request-id": [ "6a34941d-291e-4e75-8030-49643b072f42" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T070836Z:6a34941d-291e-4e75-8030-49643b072f42" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 07:12:11 GMT" ] + "Date": [ "Thu, 12 Nov 2020 07:08:35 GMT" ] }, "ContentHeaders": { "Content-Length": [ "104" ], @@ -231,10 +231,10 @@ "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The specified resource postgresqlrule01 was not found.\"}}" } }, - "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { + "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.4\",\r\n \"endIpAddress\": \"0.0.0.5\"\r\n }\r\n}", "Headers": { }, @@ -248,35 +248,35 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/5a75470f-81c7-4864-aed5-24bda342e477?api-version=2020-02-14-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/aba89f06-d1dd-4e39-9202-60e9dadc9930?api-version=2020-02-14-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/5a75470f-81c7-4864-aed5-24bda342e477?api-version=2020-02-14-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aba89f06-d1dd-4e39-9202-60e9dadc9930?api-version=2020-02-14-preview" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "5a75470f-81c7-4864-aed5-24bda342e477" ], + "x-ms-request-id": [ "aba89f06-d1dd-4e39-9202-60e9dadc9930" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1188" ], - "x-ms-correlation-request-id": [ "aaefc8fa-3aba-4e95-8562-92eac17624a8" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T071212Z:aaefc8fa-3aba-4e95-8562-92eac17624a8" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], + "x-ms-correlation-request-id": [ "be164108-5993-4177-bc16-c5000c2608c7" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T070943Z:be164108-5993-4177-bc16-c5000c2608c7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 07:12:11 GMT" ] + "Date": [ "Thu, 12 Nov 2020 07:09:43 GMT" ] }, "ContentHeaders": { "Content-Length": [ "99" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-11T07:12:12.233Z\"}" + "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-12T07:09:43.483Z\"}" } }, - "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/5a75470f-81c7-4864-aed5-24bda342e477?api-version=2020-02-14-preview+2": { + "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aba89f06-d1dd-4e39-9202-60e9dadc9930?api-version=2020-02-14-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/5a75470f-81c7-4864-aed5-24bda342e477?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aba89f06-d1dd-4e39-9202-60e9dadc9930?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "85" ], - "x-ms-client-request-id": [ "da2b01ca-97b6-40a1-85eb-6172994f48d6" ], + "x-ms-unique-id": [ "8" ], + "x-ms-client-request-id": [ "7c86f2f6-5a85-4ae2-ac0f-925c0d35168e" ], "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServerFirewallRule" ], "FullCommandName": [ "Update-AzPostgreSqlFlexibleServerFirewallRule_UpdateViaIdentityExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -292,31 +292,31 @@ "Pragma": [ "no-cache" ], "Retry-After": [ "60" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "7c3d5920-fc65-4b6c-99a9-c888bcd487bc" ], + "x-ms-request-id": [ "41259e27-b9ad-4797-8fef-273d7c8cad8f" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11939" ], - "x-ms-correlation-request-id": [ "4c3c5ebf-a967-45d3-9405-496356273609" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T071312Z:4c3c5ebf-a967-45d3-9405-496356273609" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], + "x-ms-correlation-request-id": [ "31187fc6-ca00-42c6-a6bc-4a0093510896" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T071044Z:31187fc6-ca00-42c6-a6bc-4a0093510896" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 07:13:12 GMT" ] + "Date": [ "Thu, 12 Nov 2020 07:10:43 GMT" ] }, "ContentHeaders": { "Content-Length": [ "107" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"5a75470f-81c7-4864-aed5-24bda342e477\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T07:12:12.233Z\"}" + "Content": "{\"name\":\"aba89f06-d1dd-4e39-9202-60e9dadc9930\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-12T07:09:43.483Z\"}" } }, - "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { + "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "86" ], - "x-ms-client-request-id": [ "da2b01ca-97b6-40a1-85eb-6172994f48d6" ], + "x-ms-unique-id": [ "9" ], + "x-ms-client-request-id": [ "7c86f2f6-5a85-4ae2-ac0f-925c0d35168e" ], "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServerFirewallRule" ], "FullCommandName": [ "Update-AzPostgreSqlFlexibleServerFirewallRule_UpdateViaIdentityExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -331,13 +331,13 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "6b32839a-8e03-411f-b209-1f0bb2e25b0b" ], + "x-ms-request-id": [ "bd8085fd-e903-4104-b5a4-ef8b8fb95e92" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11938" ], - "x-ms-correlation-request-id": [ "3b78e467-1da1-4bfd-9e47-e40fbc660ab9" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T071312Z:3b78e467-1da1-4bfd-9e47-e40fbc660ab9" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], + "x-ms-correlation-request-id": [ "cd0db8a9-686a-4522-8790-313acd39281c" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T071044Z:cd0db8a9-686a-4522-8790-313acd39281c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 07:13:12 GMT" ] + "Date": [ "Thu, 12 Nov 2020 07:10:44 GMT" ] }, "ContentHeaders": { "Content-Length": [ "104" ], @@ -347,10 +347,10 @@ "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The specified resource postgresqlrule01 was not found.\"}}" } }, - "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddressViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { + "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddressViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.9\",\r\n \"endIpAddress\": \"0.0.0.9\"\r\n }\r\n}", "Headers": { }, @@ -364,103 +364,24 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/20a820f3-65fe-4eff-a99a-995832d61c60?api-version=2020-02-14-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/bf2d838e-a928-4e79-a840-d8e56a0d33bd?api-version=2020-02-14-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/20a820f3-65fe-4eff-a99a-995832d61c60?api-version=2020-02-14-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/bf2d838e-a928-4e79-a840-d8e56a0d33bd?api-version=2020-02-14-preview" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "20a820f3-65fe-4eff-a99a-995832d61c60" ], + "x-ms-request-id": [ "bf2d838e-a928-4e79-a840-d8e56a0d33bd" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1187" ], - "x-ms-correlation-request-id": [ "77f106b6-b7fa-4e75-9ce8-29c97655b84f" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T071313Z:77f106b6-b7fa-4e75-9ce8-29c97655b84f" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "6bed0b09-5576-4783-ab1e-4a3b14963477" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T071334Z:6bed0b09-5576-4783-ab1e-4a3b14963477" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 07:13:12 GMT" ] + "Date": [ "Thu, 12 Nov 2020 07:13:34 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "99" ], + "Content-Length": [ "98" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-11T07:13:13.217Z\"}" - } - }, - "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddressViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/20a820f3-65fe-4eff-a99a-995832d61c60?api-version=2020-02-14-preview+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/20a820f3-65fe-4eff-a99a-995832d61c60?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "88" ], - "x-ms-client-request-id": [ "66620129-b60b-4194-b1c8-d3c4466108c2" ], - "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "Update-AzPostgreSqlFlexibleServerFirewallRule_UpdateViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "5e8c0c91-0d5c-45b7-b08a-c01c4c79b2b2" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11937" ], - "x-ms-correlation-request-id": [ "812ca04b-2245-4a79-8107-d9d74067ae54" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T071413Z:812ca04b-2245-4a79-8107-d9d74067ae54" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 07:14:12 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"20a820f3-65fe-4eff-a99a-995832d61c60\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T07:13:13.217Z\"}" - } - }, - "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddressViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "89" ], - "x-ms-client-request-id": [ "66620129-b60b-4194-b1c8-d3c4466108c2" ], - "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "Update-AzPostgreSqlFlexibleServerFirewallRule_UpdateViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 404, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "16f4633c-5fdd-4122-bf65-6d86108bbe41" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11936" ], - "x-ms-correlation-request-id": [ "9b8bf281-7a1f-4da2-9065-18e4f2d5e5d5" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T071413Z:9b8bf281-7a1f-4da2-9065-18e4f2d5e5d5" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 07:14:13 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "104" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The specified resource postgresqlrule01 was not found.\"}}" + "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-12T07:13:34.65Z\"}" } } } \ No newline at end of file diff --git a/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 b/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 index b3e618be8cc0..a2f91868da42 100644 --- a/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 +++ b/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 @@ -12,27 +12,27 @@ while(-not $mockingPath) { . ($mockingPath | Select-Object -First 1).FullName Describe 'Update-AzPostgreSqlFlexibleServerFirewallRule' { - It 'UpdateExpanded' { + It 'UpdateExpanded' -Skip { New-AzPostgreSqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 $rule = Update-AzPostgreSqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 $rule.StartIPAddress | Should -Be 0.0.0.2 $rule.EndIPAddress | Should -Be 0.0.0.3 } - It 'ClientIPAddress' { + It 'ClientIPAddress' -Skip { $rule = Update-AzPostgreSqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -ClientIPAddress 0.0.0.2 $rule.StartIPAddress | Should -Be 0.0.0.2 $rule.EndIPAddress | Should -Be 0.0.0.2 } - It 'UpdateViaIdentityExpanded' { + It 'UpdateViaIdentityExpanded' -Skip { $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSql/flexibleServers/$($env.serverName)/firewallRules/$($env.firewallRuleName)" $rule = Update-AzPostgreSqlFlexibleServerFirewallRule -InputObject $ID -EndIPAddress 0.0.0.5 -StartIPAddress 0.0.0.4 $rule.StartIPAddress | Should -Be 0.0.0.4 $rule.EndIPAddress | Should -Be 0.0.0.5 } - It 'ClientIPAddressViaIdentity' { + It 'ClientIPAddressViaIdentity' -Skip { $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSql/flexibleServers/$($env.serverName)/firewallRules/$($env.firewallRuleName)" $rule = Update-AzPostgreSqlFlexibleServerFirewallRule -InputObject $ID -ClientIPAddress 0.0.0.9 $rule.StartIPAddress | Should -Be 0.0.0.9 diff --git a/src/PostgreSql/test/env.json b/src/PostgreSql/test/env.json index 3063a7a417b8..a282553b30d7 100644 --- a/src/PostgreSql/test/env.json +++ b/src/PostgreSql/test/env.json @@ -1,15 +1,16 @@ { - "serverName2": "postgresql-test-100-2", - "VNetName": "postgresqlvnet", - "firewallRuleName2": "postgresqlrule02", - "serverName": "postgresql-test-100", - "restoreName2": "postgresql-test-100-restore-2", - "replicaName": "postgresql-test-100-replica", - "location": "eastus", "firewallRuleName": "postgresqlrule01", - "SubscriptionId": "7fec3109-5b78-4a24-b834-5d47d63e2596", + "restoreName2": "postgresqltest100restore2", "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "restoreName": "postgresql-test-100-restore", + "FlexibleSku": "GP_Gen5_4", + "location": "eastus", + "serverName2": "postgresqltest200", + "replicaName": "postgresqltest100replica", + "VNetName": "postgresqlvnet", + "SubscriptionId": "7fec3109-5b78-4a24-b834-5d47d63e2596", + "Sku": "GP_Gen5_4", "resourceGroup": "PostgreSqlTest", - "Sku": "Standard_D2s_v3" + "serverName": "postgresqltest100", + "firewallRuleName2": "postgresqlrule02", + "restoreName": "postgresqltest100restore" } diff --git a/src/PostgreSql/test/utils.ps1 b/src/PostgreSql/test/utils.ps1 index 174597fdde37..7f94bcb946dd 100644 --- a/src/PostgreSql/test/utils.ps1 +++ b/src/PostgreSql/test/utils.ps1 @@ -13,10 +13,10 @@ function setupEnv() { $env.SubscriptionId = (Get-AzContext).Subscription.Id $env.Tenant = (Get-AzContext).Tenant.Id # For any resources you created for test, you should add it to $env here. - $env.Add("serverName2", "postgresql-test-100-2") - $env.Add("restoreName", "postgresql-test-100-restore") - $env.Add("restoreName2", "postgresql-test-100-restore-2") - $env.Add("replicaName", "postgresql-test-100-replica") + $env.Add("serverName2", "postgresqltest200") + $env.Add("restoreName", "postgresqltest100restore") + $env.Add("restoreName2", "postgresqltest100restore2") + $env.Add("replicaName", "postgresqltest100replica") $env.Add("firewallRuleName", "postgresqlrule01") $env.Add("firewallRuleName2", "postgresqlrule02") $env.Add("VNetName", "postgresqlvnet") @@ -35,7 +35,7 @@ function setupEnv() { #[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] $password = 'Pa88word!' | ConvertTo-SecureString -AsPlainText -Force - $serverName = "postgresql-test-100" + $serverName = "postgresqltest100" $env.Add("serverName", $serverName) $Sku = "GP_Gen5_4" $env.Add("Sku", $Sku) @@ -44,12 +44,12 @@ function setupEnv() { write-host (Get-AzContext | Out-String) - write-host "New-AzPostgreSqlServer -Name $serverName -ResourceGroupName $resourceGroup -Location $location -AdministratorUserName postgresql_test -AdministratorLoginPassword $password -Sku $Sku" - New-AzPostgreSqlServer -Name $serverName -ResourceGroupName $resourceGroup -Location $location -AdministratorUserName postgresql_test -AdministratorLoginPassword $password -Sku $Sku + # write-host "New-AzPostgreSqlServer -Name $serverName -ResourceGroupName $resourceGroup -Location $location -AdministratorUserName adminuser -AdministratorLoginPassword $password -Sku $Sku" + # New-AzPostgreSqlServer -Name $serverName -ResourceGroupName $resourceGroup -Location $location -AdministratorUserName adminuser -AdministratorLoginPassword $password -Sku $Sku - write-host "New-AzPostgreSqlFlexibleServer -Name $serverName -ResourceGroupName $resourceGroup -AdministratorUserName postgresql_test -AdministratorLoginPassword $password" - New-AzPostgreSqlFlexibleServer -Name $serverName -ResourceGroupName $resourceGroup -AdministratorUserName postgresql_test -AdministratorLoginPassword $password + write-host "New-AzPostgreSqlFlexibleServer -Name $serverName -ResourceGroupName $resourceGroup -AdministratorUserName adminuser -AdministratorLoginPassword $password" + # New-AzPostgreSqlFlexibleServer -Name $serverName -ResourceGroupName $resourceGroup -AdministratorUserName adminuser -AdministratorLoginPassword $password $envFile = 'env.json' if ($TestMode -eq 'live') { @@ -61,5 +61,5 @@ function cleanupEnv() { # Clean resources you create for testing # Removing resourcegroup will clean all the resources created for testing. write-host "Clean resources you create for testing." - Remove-AzResourceGroup -Name $env.resourceGroup + # Remove-AzResourceGroup -Name $env.resourceGroup } From db2fb109a659b145d1c7c1aae08016916687f6ce Mon Sep 17 00:00:00 2001 From: Daeun Yim Date: Thu, 12 Nov 2020 15:42:00 -0800 Subject: [PATCH 15/51] postgresql cmdlet update test fixed --- .../Update-AzPostgreSqlFlexibleServer.ps1 | 6 + ...-AzPostgreSqlFlexibleServer.Recording.json | 116 +++--- ...pdate-AzPostgreSqlFlexibleServer.Tests.ps1 | 4 +- ...FlexibleServerConfiguration.Recording.json | 130 +++--- ...reSqlFlexibleServerConfiguration.Tests.ps1 | 4 +- ...lFlexibleServerFirewallRule.Recording.json | 389 +++++++++++++----- ...greSqlFlexibleServerFirewallRule.Tests.ps1 | 8 +- src/PostgreSql/test/env.json | 18 +- 8 files changed, 438 insertions(+), 237 deletions(-) diff --git a/src/PostgreSql/custom/Update-AzPostgreSqlFlexibleServer.ps1 b/src/PostgreSql/custom/Update-AzPostgreSqlFlexibleServer.ps1 index ff08affd53ef..0674fbc33a50 100644 --- a/src/PostgreSql/custom/Update-AzPostgreSqlFlexibleServer.ps1 +++ b/src/PostgreSql/custom/Update-AzPostgreSqlFlexibleServer.ps1 @@ -155,6 +155,12 @@ function Update-AzPostgreSqlFlexibleServer { process { try { + if ($PSBoundParameters.ContainsKey('AdministratorLoginPassword')) { + $bStr = . "$PSScriptRoot/../utils/Unprotect-SecureString.ps1" $PSBoundParameters['AdministratorLoginPassword'] + $null = $PSBoundParameters.Remove('AdministratorLoginPassword') + $PSBoundParameters.Add('AdministratorLoginPassword', [System.Runtime.InteropServices.marshal]::PtrToStringAuto($bStr)) + } + if ($PSBoundParameters.ContainsKey('StorageInMb')) { $PSBoundParameters.StorageProfileStorageMb = $PSBoundParameters['StorageInMb'] $null = $PSBoundParameters.Remove('StorageInMb') diff --git a/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServer.Recording.json b/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServer.Recording.json index 3324565e7344..4ccf75ce66db 100644 --- a/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServer.Recording.json +++ b/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServer.Recording.json @@ -16,35 +16,35 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/46beec97-e277-4b93-acee-6d8631c8a53a?api-version=2020-02-14-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/0af22222-36e4-4758-ad48-43c36809a9bb?api-version=2020-02-14-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/46beec97-e277-4b93-acee-6d8631c8a53a?api-version=2020-02-14-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0af22222-36e4-4758-ad48-43c36809a9bb?api-version=2020-02-14-preview" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "15c98830-2b72-4fd2-a78e-bc3e09298103" ], + "x-ms-request-id": [ "799402b2-112c-456d-976b-e6326fed6b48" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], - "x-ms-correlation-request-id": [ "785af370-9bae-428d-a92f-30d9429d133a" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T205421Z:785af370-9bae-428d-a92f-30d9429d133a" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "adcd40df-03e3-4c35-b61a-778e38a7d56c" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T232710Z:adcd40df-03e3-4c35-b61a-778e38a7d56c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 20:54:21 GMT" ] + "Date": [ "Thu, 12 Nov 2020 23:27:09 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "88" ], + "Content-Length": [ "87" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-11T20:54:21.413Z\"}" + "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-12T23:27:09.98Z\"}" } }, - "Update-AzPostgreSqlFlexibleServer+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/46beec97-e277-4b93-acee-6d8631c8a53a?api-version=2020-02-14-preview+2": { + "Update-AzPostgreSqlFlexibleServer+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0af22222-36e4-4758-ad48-43c36809a9bb?api-version=2020-02-14-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/46beec97-e277-4b93-acee-6d8631c8a53a?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0af22222-36e4-4758-ad48-43c36809a9bb?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "48" ], - "x-ms-client-request-id": [ "edc788f3-892f-45d5-acf7-b9d32eb2adbf" ], + "x-ms-unique-id": [ "2" ], + "x-ms-client-request-id": [ "74ffaf63-1e82-49db-9e00-ba1313d3ac1d" ], "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServer" ], "FullCommandName": [ "Update-AzPostgreSqlFlexibleServer_UpdateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -60,20 +60,20 @@ "Pragma": [ "no-cache" ], "Retry-After": [ "60" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "875007b5-85fc-49b5-ac1f-d8523c25a5aa" ], + "x-ms-request-id": [ "276defb9-1452-4cc2-87ea-5bb36dc66802" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11964" ], - "x-ms-correlation-request-id": [ "557074ce-ef5d-48cc-a546-3818f02f6ab5" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T205522Z:557074ce-ef5d-48cc-a546-3818f02f6ab5" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-correlation-request-id": [ "ea55b73d-131b-429b-b71a-8d2f3ba77e2f" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T232810Z:ea55b73d-131b-429b-b71a-8d2f3ba77e2f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 20:55:21 GMT" ] + "Date": [ "Thu, 12 Nov 2020 23:28:10 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "265" ], + "Content-Length": [ "106" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"46beec97-e277-4b93-acee-6d8631c8a53a\",\"status\":\"Failed\",\"startTime\":\"2020-11-11T20:54:21.413Z\",\"error\":{\"code\":\"InternalServerError\",\"message\":\"An unexpected error occured while processing the request. Tracking ID: \u0027875007b5-85fc-49b5-ac1f-d8523c25a5aa\u0027\"}}" + "Content": "{\"name\":\"0af22222-36e4-4758-ad48-43c36809a9bb\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-12T23:27:09.98Z\"}" } }, "Update-AzPostgreSqlFlexibleServer+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100?api-version=2020-02-14-preview+3": { @@ -83,8 +83,8 @@ "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "49" ], - "x-ms-client-request-id": [ "edc788f3-892f-45d5-acf7-b9d32eb2adbf" ], + "x-ms-unique-id": [ "3" ], + "x-ms-client-request-id": [ "74ffaf63-1e82-49db-9e00-ba1313d3ac1d" ], "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServer" ], "FullCommandName": [ "Update-AzPostgreSqlFlexibleServer_UpdateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -99,20 +99,20 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "e8e49d31-318e-44b5-bbac-8ee7cae675a1" ], + "x-ms-request-id": [ "95c4e95f-4524-4b55-b493-245af07d2a61" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11963" ], - "x-ms-correlation-request-id": [ "d40ee1af-8684-4947-b3ec-9be4c1378d9f" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T205522Z:d40ee1af-8684-4947-b3ec-9be4c1378d9f" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-correlation-request-id": [ "e94cbb56-92f0-486e-9c17-cab3e26ba59d" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T232811Z:e94cbb56-92f0-486e-9c17-cab3e26ba59d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 20:55:21 GMT" ] + "Date": [ "Thu, 12 Nov 2020 23:28:10 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "871" ], + "Content-Length": [ "880" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresqltest100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"adminuser\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"\",\"state\":\"Stopped\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T20:47:55.6257742+00:00\",\"byokEnforcement\":\"Disabled\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0}},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresqltest100\",\"name\":\"postgresqltest100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresqltest100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"adminuser\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":15},\"earliestRestoreDate\":\"2020-11-11T20:47:55.6257742+00:00\",\"byokEnforcement\":\"Disabled\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0}},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresqltest100\",\"name\":\"postgresqltest100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}" } }, "Update-AzPostgreSqlFlexibleServer+[NoContext]+UpdateViaIdentityExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100?api-version=2020-02-14-preview+1": { @@ -132,35 +132,35 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/85a182c2-5afa-4b90-8638-0d348899995d?api-version=2020-02-14-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/bf3f527a-1849-4298-a5f0-88f017099834?api-version=2020-02-14-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/85a182c2-5afa-4b90-8638-0d348899995d?api-version=2020-02-14-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/bf3f527a-1849-4298-a5f0-88f017099834?api-version=2020-02-14-preview" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "b2ba43ac-7555-42db-bb99-f89a27facb4f" ], + "x-ms-request-id": [ "5bc89b38-97ef-4f11-9c85-89f26811db85" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], - "x-ms-correlation-request-id": [ "1835be51-6f0c-4c1f-a31a-c2b54d4c96e6" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T205522Z:1835be51-6f0c-4c1f-a31a-c2b54d4c96e6" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-correlation-request-id": [ "32c163ee-bf63-47a0-95c4-551dd76a0ec1" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T232811Z:32c163ee-bf63-47a0-95c4-551dd76a0ec1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 20:55:21 GMT" ] + "Date": [ "Thu, 12 Nov 2020 23:28:11 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "87" ], + "Content-Length": [ "88" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-11T20:55:22.64Z\"}" + "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-12T23:28:11.747Z\"}" } }, - "Update-AzPostgreSqlFlexibleServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/85a182c2-5afa-4b90-8638-0d348899995d?api-version=2020-02-14-preview+2": { + "Update-AzPostgreSqlFlexibleServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/bf3f527a-1849-4298-a5f0-88f017099834?api-version=2020-02-14-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/85a182c2-5afa-4b90-8638-0d348899995d?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/bf3f527a-1849-4298-a5f0-88f017099834?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "51" ], - "x-ms-client-request-id": [ "1a975ac2-4716-4c56-aa02-2d045eee4856" ], + "x-ms-unique-id": [ "5" ], + "x-ms-client-request-id": [ "5bed3a83-5ab3-4387-aba0-bd3c19baa533" ], "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServer" ], "FullCommandName": [ "Update-AzPostgreSqlFlexibleServer_UpdateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -176,20 +176,20 @@ "Pragma": [ "no-cache" ], "Retry-After": [ "60" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "504af622-3362-41e4-bd6d-3d367851d7ce" ], + "x-ms-request-id": [ "4db9457c-11ac-410a-8e91-c6857aefdf12" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11962" ], - "x-ms-correlation-request-id": [ "f4d5f3c0-9e0e-4aad-acd9-5c31da5716c4" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T205623Z:f4d5f3c0-9e0e-4aad-acd9-5c31da5716c4" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-correlation-request-id": [ "38e647f7-4037-4380-b679-071568429284" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T232912Z:38e647f7-4037-4380-b679-071568429284" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 20:56:23 GMT" ] + "Date": [ "Thu, 12 Nov 2020 23:29:11 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "264" ], + "Content-Length": [ "107" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"85a182c2-5afa-4b90-8638-0d348899995d\",\"status\":\"Failed\",\"startTime\":\"2020-11-11T20:55:22.64Z\",\"error\":{\"code\":\"InternalServerError\",\"message\":\"An unexpected error occured while processing the request. Tracking ID: \u0027504af622-3362-41e4-bd6d-3d367851d7ce\u0027\"}}" + "Content": "{\"name\":\"bf3f527a-1849-4298-a5f0-88f017099834\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-12T23:28:11.747Z\"}" } }, "Update-AzPostgreSqlFlexibleServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100?api-version=2020-02-14-preview+3": { @@ -199,8 +199,8 @@ "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "52" ], - "x-ms-client-request-id": [ "1a975ac2-4716-4c56-aa02-2d045eee4856" ], + "x-ms-unique-id": [ "6" ], + "x-ms-client-request-id": [ "5bed3a83-5ab3-4387-aba0-bd3c19baa533" ], "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServer" ], "FullCommandName": [ "Update-AzPostgreSqlFlexibleServer_UpdateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -215,20 +215,20 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "b8457b19-88a7-49f9-835b-91e44d652908" ], + "x-ms-request-id": [ "d5566920-48f8-44ad-88df-0bb0983c7538" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11961" ], - "x-ms-correlation-request-id": [ "5989cf2e-1ef9-498b-bde3-db7b205a4ac1" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T205623Z:5989cf2e-1ef9-498b-bde3-db7b205a4ac1" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-correlation-request-id": [ "cd442d85-548e-4854-9f63-1be10faaf239" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T232912Z:cd442d85-548e-4854-9f63-1be10faaf239" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 20:56:23 GMT" ] + "Date": [ "Thu, 12 Nov 2020 23:29:12 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "871" ], + "Content-Length": [ "880" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresqltest100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"adminuser\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"\",\"state\":\"Stopped\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T20:47:55.6257742+00:00\",\"byokEnforcement\":\"Disabled\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0}},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresqltest100\",\"name\":\"postgresqltest100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresqltest100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"adminuser\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":20},\"earliestRestoreDate\":\"2020-11-11T20:47:55.6257742+00:00\",\"byokEnforcement\":\"Disabled\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0}},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresqltest100\",\"name\":\"postgresqltest100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}" } } } \ No newline at end of file diff --git a/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServer.Tests.ps1 b/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServer.Tests.ps1 index 25512b7208c7..92b6647df6f5 100644 --- a/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServer.Tests.ps1 +++ b/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServer.Tests.ps1 @@ -12,14 +12,14 @@ while(-not $mockingPath) { . ($mockingPath | Select-Object -First 1).FullName Describe 'Update-AzPostgreSqlFlexibleServer' { - It 'UpdateExpanded' -Skip { + It 'UpdateExpanded' { { $server = Update-AzPostgreSqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName -BackupRetentionDay 15 $server.StorageProfileBackupRetentionDay | Should -Be 15 } | Should -Not -Throw } - It 'UpdateViaIdentityExpanded' -Skip { + It 'UpdateViaIdentityExpanded' { { $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBforPostgreSql/flexibleServers/$($env.serverName)/" $server = Update-AzPostgreSqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName -BackupRetentionDay 20 diff --git a/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerConfiguration.Recording.json b/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerConfiguration.Recording.json index e98175cb6003..395f4563c608 100644 --- a/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerConfiguration.Recording.json +++ b/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerConfiguration.Recording.json @@ -16,35 +16,35 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/9a12f5da-7a78-4c03-8b9d-f41de188b99f?api-version=2020-02-14-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/4f49a233-b3c9-4f43-859e-1260748f24ca?api-version=2020-02-14-preview" ], "Retry-After": [ "10" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/9a12f5da-7a78-4c03-8b9d-f41de188b99f?api-version=2020-02-14-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/4f49a233-b3c9-4f43-859e-1260748f24ca?api-version=2020-02-14-preview" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "9a12f5da-7a78-4c03-8b9d-f41de188b99f" ], + "x-ms-request-id": [ "4f49a233-b3c9-4f43-859e-1260748f24ca" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-correlation-request-id": [ "60cb77d3-758b-4fc8-a257-6cb9851e9385" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T055956Z:60cb77d3-758b-4fc8-a257-6cb9851e9385" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], + "x-ms-correlation-request-id": [ "92ab334d-6910-419d-8a43-a57f5c0c05f8" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T231243Z:92ab334d-6910-419d-8a43-a57f5c0c05f8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 05:59:55 GMT" ] + "Date": [ "Thu, 12 Nov 2020 23:12:42 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "92" ], + "Content-Length": [ "93" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"operation\":\"UpdateConfigurationManagementOperation\",\"startTime\":\"2020-11-12T05:59:56.17Z\"}" + "Content": "{\"operation\":\"UpdateConfigurationManagementOperation\",\"startTime\":\"2020-11-12T23:12:43.627Z\"}" } }, - "Update-AzPostgreSqlFlexibleServerConfiguration+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/9a12f5da-7a78-4c03-8b9d-f41de188b99f?api-version=2020-02-14-preview+2": { + "Update-AzPostgreSqlFlexibleServerConfiguration+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/4f49a233-b3c9-4f43-859e-1260748f24ca?api-version=2020-02-14-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/9a12f5da-7a78-4c03-8b9d-f41de188b99f?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/4f49a233-b3c9-4f43-859e-1260748f24ca?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "2" ], - "x-ms-client-request-id": [ "45de83c3-757b-4bf3-8e81-69b07e1a4ec0" ], + "x-ms-unique-id": [ "8" ], + "x-ms-client-request-id": [ "1a0b9b8b-d1c9-4c1d-8185-b40d24551769" ], "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServerConfiguration" ], "FullCommandName": [ "Update-AzPostgreSqlFlexibleServerConfiguration_UpdateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -60,20 +60,20 @@ "Pragma": [ "no-cache" ], "Retry-After": [ "10" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "68f9ee22-cb92-4d98-bcc9-c1315bb7e827" ], + "x-ms-request-id": [ "5e06dda6-88b1-48f3-9998-06d47e10f79e" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], - "x-ms-correlation-request-id": [ "c08af11f-6c56-4879-80b8-3fa00fea5761" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T060006Z:c08af11f-6c56-4879-80b8-3fa00fea5761" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], + "x-ms-correlation-request-id": [ "ac1e4b9e-932f-42c9-8459-a833f95a2797" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T231254Z:ac1e4b9e-932f-42c9-8459-a833f95a2797" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 06:00:05 GMT" ] + "Date": [ "Thu, 12 Nov 2020 23:12:54 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "262" ], + "Content-Length": [ "107" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"9a12f5da-7a78-4c03-8b9d-f41de188b99f\",\"status\":\"Failed\",\"startTime\":\"2020-11-12T05:59:56.17Z\",\"error\":{\"code\":\"SubscriptionDoesNotHaveServer\",\"message\":\"Subscription \u00277fec3109-5b78-4a24-b834-5d47d63e2596\u0027 does not have the server \u0027postgresqltest100\u0027.\"}}" + "Content": "{\"name\":\"4f49a233-b3c9-4f43-859e-1260748f24ca\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-12T23:12:43.627Z\"}" } }, "Update-AzPostgreSqlFlexibleServerConfiguration+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/configurations/work_mem?api-version=2020-02-14-preview+3": { @@ -83,8 +83,8 @@ "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "45de83c3-757b-4bf3-8e81-69b07e1a4ec0" ], + "x-ms-unique-id": [ "9" ], + "x-ms-client-request-id": [ "1a0b9b8b-d1c9-4c1d-8185-b40d24551769" ], "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServerConfiguration" ], "FullCommandName": [ "Update-AzPostgreSqlFlexibleServerConfiguration_UpdateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -94,25 +94,25 @@ } }, "Response": { - "StatusCode": 504, + "StatusCode": 200, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ "service" ], - "x-ms-request-id": [ "5de6c091-cf3d-48d9-8fb3-28f688002c5d" ], - "x-ms-correlation-request-id": [ "5de6c091-cf3d-48d9-8fb3-28f688002c5d" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T060106Z:5de6c091-cf3d-48d9-8fb3-28f688002c5d" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Thu, 12 Nov 2020 06:01:06 GMT" ], - "Connection": [ "close" ] + "x-ms-request-id": [ "b3860315-5650-4cd3-8594-75c9e50b8660" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], + "x-ms-correlation-request-id": [ "1d2b4602-7d31-4cea-b013-65d85d1252dc" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T231254Z:1d2b4602-7d31-4cea-b013-65d85d1252dc" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 12 Nov 2020 23:12:54 GMT" ] }, "ContentHeaders": { + "Content-Length": [ "529" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ], - "Content-Length": [ "153" ] + "Expires": [ "-1" ] }, - "Content": "{\"error\":{\"code\":\"GatewayTimeout\",\"message\":\"The gateway did not receive a response from \u0027Microsoft.DBforPostgreSQL\u0027 within the specified time period.\"}}" + "Content": "{\"properties\":{\"value\":\"10240\",\"description\":\"Sets the amount of memory to be used by internal sort operations and hash tables before writing to temporary disk files.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-2097151\",\"source\":\"user-override\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/work_mem\",\"name\":\"work_mem\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"}" } }, "Update-AzPostgreSqlFlexibleServerConfiguration+[NoContext]+UpdateViaIdentityExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/configurations/work_mem?api-version=2020-02-14-preview+1": { @@ -132,35 +132,35 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/557d3568-0dd4-464b-aa9c-136de9b37a32?api-version=2020-02-14-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/45063307-4cbb-49c5-875b-ac9b1be719da?api-version=2020-02-14-preview" ], "Retry-After": [ "10" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/557d3568-0dd4-464b-aa9c-136de9b37a32?api-version=2020-02-14-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/45063307-4cbb-49c5-875b-ac9b1be719da?api-version=2020-02-14-preview" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "557d3568-0dd4-464b-aa9c-136de9b37a32" ], + "x-ms-request-id": [ "45063307-4cbb-49c5-875b-ac9b1be719da" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-correlation-request-id": [ "1d8807a2-e98f-4b44-b7d6-1dd0abe986c9" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T060154Z:1d8807a2-e98f-4b44-b7d6-1dd0abe986c9" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], + "x-ms-correlation-request-id": [ "8d316f4e-43ea-42be-86cd-9f0fe5361cca" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T231350Z:8d316f4e-43ea-42be-86cd-9f0fe5361cca" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 06:01:53 GMT" ] + "Date": [ "Thu, 12 Nov 2020 23:13:49 GMT" ] }, "ContentHeaders": { "Content-Length": [ "93" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"operation\":\"UpdateConfigurationManagementOperation\",\"startTime\":\"2020-11-12T06:01:54.583Z\"}" + "Content": "{\"operation\":\"UpdateConfigurationManagementOperation\",\"startTime\":\"2020-11-12T23:13:50.087Z\"}" } }, - "Update-AzPostgreSqlFlexibleServerConfiguration+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/557d3568-0dd4-464b-aa9c-136de9b37a32?api-version=2020-02-14-preview+2": { + "Update-AzPostgreSqlFlexibleServerConfiguration+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/45063307-4cbb-49c5-875b-ac9b1be719da?api-version=2020-02-14-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/557d3568-0dd4-464b-aa9c-136de9b37a32?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/45063307-4cbb-49c5-875b-ac9b1be719da?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "5" ], - "x-ms-client-request-id": [ "eed72625-6bfd-4cba-b2fe-f71c2e88fd87" ], + "x-ms-unique-id": [ "11" ], + "x-ms-client-request-id": [ "0d2522dd-c339-4bb3-bec1-5358822630ae" ], "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServerConfiguration" ], "FullCommandName": [ "Update-AzPostgreSqlFlexibleServerConfiguration_UpdateViaIdentityExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -176,20 +176,20 @@ "Pragma": [ "no-cache" ], "Retry-After": [ "10" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "d44f8020-eb59-44f4-b125-7fbe2abfc235" ], + "x-ms-request-id": [ "e0eaecb6-295b-4ac4-97cc-2f574eb66a7d" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], - "x-ms-correlation-request-id": [ "45083add-8434-4edb-978a-f49c44bb944c" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T060204Z:45083add-8434-4edb-978a-f49c44bb944c" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], + "x-ms-correlation-request-id": [ "7470c303-7a7d-46c7-806b-50707464fae2" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T231400Z:7470c303-7a7d-46c7-806b-50707464fae2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 06:02:04 GMT" ] + "Date": [ "Thu, 12 Nov 2020 23:13:59 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "263" ], + "Content-Length": [ "107" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"557d3568-0dd4-464b-aa9c-136de9b37a32\",\"status\":\"Failed\",\"startTime\":\"2020-11-12T06:01:54.583Z\",\"error\":{\"code\":\"SubscriptionDoesNotHaveServer\",\"message\":\"Subscription \u00277fec3109-5b78-4a24-b834-5d47d63e2596\u0027 does not have the server \u0027postgresqltest100\u0027.\"}}" + "Content": "{\"name\":\"45063307-4cbb-49c5-875b-ac9b1be719da\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-12T23:13:50.087Z\"}" } }, "Update-AzPostgreSqlFlexibleServerConfiguration+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/configurations/work_mem?api-version=2020-02-14-preview+3": { @@ -199,8 +199,8 @@ "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "6" ], - "x-ms-client-request-id": [ "eed72625-6bfd-4cba-b2fe-f71c2e88fd87" ], + "x-ms-unique-id": [ "12" ], + "x-ms-client-request-id": [ "0d2522dd-c339-4bb3-bec1-5358822630ae" ], "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServerConfiguration" ], "FullCommandName": [ "Update-AzPostgreSqlFlexibleServerConfiguration_UpdateViaIdentityExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -210,25 +210,25 @@ } }, "Response": { - "StatusCode": 504, + "StatusCode": 200, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ "service" ], - "x-ms-request-id": [ "48682fed-4b46-44c9-a3cd-72dd748816a2" ], - "x-ms-correlation-request-id": [ "48682fed-4b46-44c9-a3cd-72dd748816a2" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T060305Z:48682fed-4b46-44c9-a3cd-72dd748816a2" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Thu, 12 Nov 2020 06:03:04 GMT" ], - "Connection": [ "close" ] + "x-ms-request-id": [ "ae44c7a3-26ef-4e0e-b726-8b8c1c1c2e00" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11980" ], + "x-ms-correlation-request-id": [ "a6044050-eb0a-487b-956d-364531d90c10" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T231400Z:a6044050-eb0a-487b-956d-364531d90c10" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 12 Nov 2020 23:14:00 GMT" ] }, "ContentHeaders": { + "Content-Length": [ "529" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ], - "Content-Length": [ "153" ] + "Expires": [ "-1" ] }, - "Content": "{\"error\":{\"code\":\"GatewayTimeout\",\"message\":\"The gateway did not receive a response from \u0027Microsoft.DBforPostgreSQL\u0027 within the specified time period.\"}}" + "Content": "{\"properties\":{\"value\":\"4096\",\"description\":\"Sets the amount of memory to be used by internal sort operations and hash tables before writing to temporary disk files.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-2097151\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/work_mem\",\"name\":\"work_mem\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"}" } } } \ No newline at end of file diff --git a/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerConfiguration.Tests.ps1 b/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerConfiguration.Tests.ps1 index 0f10ea2ff312..6c5c8de68832 100644 --- a/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerConfiguration.Tests.ps1 +++ b/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerConfiguration.Tests.ps1 @@ -12,13 +12,13 @@ while(-not $mockingPath) { . ($mockingPath | Select-Object -First 1).FullName Describe 'Update-AzPostgreSqlFlexibleServerConfiguration' { - It 'UpdateExpanded' -Skip { + It 'UpdateExpanded' { $config = Update-AzPostgreSqlFlexibleServerConfiguration -Name work_mem -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -Value 10240 $config.Value | Should -Be 10240 $config.DefaultValue | Should -Be 4096 } - It 'UpdateViaIdentityExpanded' -Skip { + It 'UpdateViaIdentityExpanded' { $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSql/flexibleServers/$($env.serverName)/configurations/work_mem" $config = Update-AzPostgreSqlFlexibleServerConfiguration -InputObject $ID -Value 4096 $config.Value | Should -Be 4096 diff --git a/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerFirewallRule.Recording.json b/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerFirewallRule.Recording.json index 25d25dd18cdd..b7e115e4f8ae 100644 --- a/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerFirewallRule.Recording.json +++ b/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerFirewallRule.Recording.json @@ -16,35 +16,35 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/af95ddaf-7cc5-496d-b8d4-4c07423c84f9?api-version=2020-02-14-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/8d811bc8-fb0d-4944-aa41-d6f76e9be39e?api-version=2020-02-14-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/af95ddaf-7cc5-496d-b8d4-4c07423c84f9?api-version=2020-02-14-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/8d811bc8-fb0d-4944-aa41-d6f76e9be39e?api-version=2020-02-14-preview" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "af95ddaf-7cc5-496d-b8d4-4c07423c84f9" ], + "x-ms-request-id": [ "8d811bc8-fb0d-4944-aa41-d6f76e9be39e" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-correlation-request-id": [ "1a4b78ab-4490-4738-9b7f-ddf78e394073" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T070634Z:1a4b78ab-4490-4738-9b7f-ddf78e394073" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], + "x-ms-correlation-request-id": [ "c459562a-eac5-4f8d-9f6e-f3d5836f9bcc" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T231437Z:c459562a-eac5-4f8d-9f6e-f3d5836f9bcc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 07:06:33 GMT" ] + "Date": [ "Thu, 12 Nov 2020 23:14:36 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "98" ], + "Content-Length": [ "99" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-12T07:06:34.02Z\"}" + "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-12T23:14:37.497Z\"}" } }, - "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/af95ddaf-7cc5-496d-b8d4-4c07423c84f9?api-version=2020-02-14-preview+2": { + "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/8d811bc8-fb0d-4944-aa41-d6f76e9be39e?api-version=2020-02-14-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/af95ddaf-7cc5-496d-b8d4-4c07423c84f9?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/8d811bc8-fb0d-4944-aa41-d6f76e9be39e?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "2" ], - "x-ms-client-request-id": [ "140cdcca-c13e-4e8b-a24f-3572c022a13a" ], + "x-ms-unique-id": [ "14" ], + "x-ms-client-request-id": [ "3abbc022-9fc3-4719-ba09-71a0566d22af" ], "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServerFirewallRule" ], "FullCommandName": [ "New-AzPostgreSqlFlexibleServerFirewallRule_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -60,20 +60,20 @@ "Pragma": [ "no-cache" ], "Retry-After": [ "60" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "522608ba-43c0-4d0f-a79d-7c8ecdaee1f3" ], + "x-ms-request-id": [ "b3592a54-8657-42c2-9f84-e978cfb7e185" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], - "x-ms-correlation-request-id": [ "dd43e577-2e99-4bc6-b68b-d74c9603ea20" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T070734Z:dd43e577-2e99-4bc6-b68b-d74c9603ea20" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11979" ], + "x-ms-correlation-request-id": [ "559f31db-5e68-4562-bf2f-899fb0ccc6f9" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T231538Z:559f31db-5e68-4562-bf2f-899fb0ccc6f9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 07:07:34 GMT" ] + "Date": [ "Thu, 12 Nov 2020 23:15:37 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "106" ], + "Content-Length": [ "107" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"af95ddaf-7cc5-496d-b8d4-4c07423c84f9\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-12T07:06:34.02Z\"}" + "Content": "{\"name\":\"8d811bc8-fb0d-4944-aa41-d6f76e9be39e\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-12T23:14:37.497Z\"}" } }, "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { @@ -83,8 +83,8 @@ "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "140cdcca-c13e-4e8b-a24f-3572c022a13a" ], + "x-ms-unique-id": [ "15" ], + "x-ms-client-request-id": [ "3abbc022-9fc3-4719-ba09-71a0566d22af" ], "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServerFirewallRule" ], "FullCommandName": [ "New-AzPostgreSqlFlexibleServerFirewallRule_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -94,25 +94,141 @@ } }, "Response": { - "StatusCode": 404, + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "73831a64-eca9-4c8d-bddd-0b9f401c9485" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11978" ], + "x-ms-correlation-request-id": [ "75e30b63-ea48-4a5d-9902-72549dd7906e" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T231538Z:75e30b63-ea48-4a5d-9902-72549dd7906e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 12 Nov 2020 23:15:38 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "159" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}" + } + }, + "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+4": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.2\",\r\n \"endIpAddress\": \"0.0.0.3\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "93" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/2036f09b-622f-4e78-bcaa-666ff5efaa8e?api-version=2020-02-14-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/2036f09b-622f-4e78-bcaa-666ff5efaa8e?api-version=2020-02-14-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "2036f09b-622f-4e78-bcaa-666ff5efaa8e" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1194" ], + "x-ms-correlation-request-id": [ "63ceb51f-c169-41ad-8bf4-0b84be455401" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T231538Z:63ceb51f-c169-41ad-8bf4-0b84be455401" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 12 Nov 2020 23:15:38 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "99" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-12T23:15:38.517Z\"}" + } + }, + "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/2036f09b-622f-4e78-bcaa-666ff5efaa8e?api-version=2020-02-14-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/2036f09b-622f-4e78-bcaa-666ff5efaa8e?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "17" ], + "x-ms-client-request-id": [ "212f8565-919f-4c3a-b64d-319dab78fe75" ], + "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Update-AzPostgreSqlFlexibleServerFirewallRule_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "be038722-2001-47bf-8f0b-1e6393679086" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11977" ], + "x-ms-correlation-request-id": [ "1ca0ebd8-1064-4e2c-b5d3-b02efd178d3c" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T231639Z:1ca0ebd8-1064-4e2c-b5d3-b02efd178d3c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 12 Nov 2020 23:16:38 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"2036f09b-622f-4e78-bcaa-666ff5efaa8e\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-12T23:15:38.517Z\"}" + } + }, + "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "18" ], + "x-ms-client-request-id": [ "212f8565-919f-4c3a-b64d-319dab78fe75" ], + "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Update-AzPostgreSqlFlexibleServerFirewallRule_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "39010de9-419c-4a87-8d74-10ce896cfd05" ], + "x-ms-request-id": [ "af205ca0-9962-49b3-9e20-502d9d7fb4d9" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], - "x-ms-correlation-request-id": [ "821af293-bdc7-402e-bab3-d211b006b40a" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T070734Z:821af293-bdc7-402e-bab3-d211b006b40a" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11976" ], + "x-ms-correlation-request-id": [ "85a4b1cd-0263-4236-b91d-d701f6d64e80" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T231639Z:85a4b1cd-0263-4236-b91d-d701f6d64e80" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 07:07:34 GMT" ] + "Date": [ "Thu, 12 Nov 2020 23:16:38 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "104" ], + "Content-Length": [ "159" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The specified resource postgresqlrule01 was not found.\"}}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.2\",\"endIpAddress\":\"0.0.0.3\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}" } }, "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { @@ -132,35 +248,35 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/0fc2fc26-5937-4dd1-a2ee-d877c155e5d4?api-version=2020-02-14-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/04a22503-26bd-48d1-ae3b-c33e10cecf5c?api-version=2020-02-14-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0fc2fc26-5937-4dd1-a2ee-d877c155e5d4?api-version=2020-02-14-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04a22503-26bd-48d1-ae3b-c33e10cecf5c?api-version=2020-02-14-preview" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "0fc2fc26-5937-4dd1-a2ee-d877c155e5d4" ], + "x-ms-request-id": [ "04a22503-26bd-48d1-ae3b-c33e10cecf5c" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], - "x-ms-correlation-request-id": [ "02ebc100-c240-4e89-b982-23c288e447d6" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T070735Z:02ebc100-c240-4e89-b982-23c288e447d6" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1193" ], + "x-ms-correlation-request-id": [ "ab3997ca-9e1e-45b8-b138-7d0abeadd92e" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T231639Z:ab3997ca-9e1e-45b8-b138-7d0abeadd92e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 07:07:34 GMT" ] + "Date": [ "Thu, 12 Nov 2020 23:16:38 GMT" ] }, "ContentHeaders": { "Content-Length": [ "99" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-12T07:07:35.233Z\"}" + "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-12T23:16:39.523Z\"}" } }, - "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0fc2fc26-5937-4dd1-a2ee-d877c155e5d4?api-version=2020-02-14-preview+2": { + "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04a22503-26bd-48d1-ae3b-c33e10cecf5c?api-version=2020-02-14-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0fc2fc26-5937-4dd1-a2ee-d877c155e5d4?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04a22503-26bd-48d1-ae3b-c33e10cecf5c?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "5" ], - "x-ms-client-request-id": [ "2728c692-e079-4f07-8721-b7b3847e81af" ], + "x-ms-unique-id": [ "20" ], + "x-ms-client-request-id": [ "17dde2c7-bb7d-4ea8-84a4-7c5a7d164b66" ], "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServerFirewallRule" ], "FullCommandName": [ "Update-AzPostgreSqlFlexibleServerFirewallRule_UpdateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -176,20 +292,20 @@ "Pragma": [ "no-cache" ], "Retry-After": [ "60" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "69f04242-05eb-4501-a58e-90e5449e71e1" ], + "x-ms-request-id": [ "9e53951d-5ba2-4b10-9a62-63dac0a7023a" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], - "x-ms-correlation-request-id": [ "96d500c6-b386-4c3b-a5f8-34fa90bb6e3a" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T070835Z:96d500c6-b386-4c3b-a5f8-34fa90bb6e3a" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11975" ], + "x-ms-correlation-request-id": [ "1b5c82cb-ab49-46c5-be67-64c8f8d36acd" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T231740Z:1b5c82cb-ab49-46c5-be67-64c8f8d36acd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 07:08:35 GMT" ] + "Date": [ "Thu, 12 Nov 2020 23:17:39 GMT" ] }, "ContentHeaders": { "Content-Length": [ "107" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"0fc2fc26-5937-4dd1-a2ee-d877c155e5d4\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-12T07:07:35.233Z\"}" + "Content": "{\"name\":\"04a22503-26bd-48d1-ae3b-c33e10cecf5c\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-12T23:16:39.523Z\"}" } }, "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { @@ -199,8 +315,8 @@ "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "6" ], - "x-ms-client-request-id": [ "2728c692-e079-4f07-8721-b7b3847e81af" ], + "x-ms-unique-id": [ "21" ], + "x-ms-client-request-id": [ "17dde2c7-bb7d-4ea8-84a4-7c5a7d164b66" ], "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServerFirewallRule" ], "FullCommandName": [ "Update-AzPostgreSqlFlexibleServerFirewallRule_UpdateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -210,25 +326,25 @@ } }, "Response": { - "StatusCode": 404, + "StatusCode": 200, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "7089ab71-7814-41d2-a1e3-253a9c31f3f3" ], + "x-ms-request-id": [ "87b3f784-64cd-4255-a130-95938116f059" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], - "x-ms-correlation-request-id": [ "6a34941d-291e-4e75-8030-49643b072f42" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T070836Z:6a34941d-291e-4e75-8030-49643b072f42" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11974" ], + "x-ms-correlation-request-id": [ "13ef521a-8b5b-4532-8c9d-ab02ea1ff9b4" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T231740Z:13ef521a-8b5b-4532-8c9d-ab02ea1ff9b4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 07:08:35 GMT" ] + "Date": [ "Thu, 12 Nov 2020 23:17:39 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "104" ], + "Content-Length": [ "159" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The specified resource postgresqlrule01 was not found.\"}}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.2\",\"endIpAddress\":\"0.0.0.2\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}" } }, "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { @@ -248,35 +364,35 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/aba89f06-d1dd-4e39-9202-60e9dadc9930?api-version=2020-02-14-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/5ec82055-979b-43b1-8d3d-524584126bd5?api-version=2020-02-14-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aba89f06-d1dd-4e39-9202-60e9dadc9930?api-version=2020-02-14-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/5ec82055-979b-43b1-8d3d-524584126bd5?api-version=2020-02-14-preview" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "aba89f06-d1dd-4e39-9202-60e9dadc9930" ], + "x-ms-request-id": [ "5ec82055-979b-43b1-8d3d-524584126bd5" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], - "x-ms-correlation-request-id": [ "be164108-5993-4177-bc16-c5000c2608c7" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T070943Z:be164108-5993-4177-bc16-c5000c2608c7" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1192" ], + "x-ms-correlation-request-id": [ "a08f3e9f-61df-4641-b946-fcbd83957780" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T231741Z:a08f3e9f-61df-4641-b946-fcbd83957780" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 07:09:43 GMT" ] + "Date": [ "Thu, 12 Nov 2020 23:17:40 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "99" ], + "Content-Length": [ "98" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-12T07:09:43.483Z\"}" + "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-12T23:17:40.99Z\"}" } }, - "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aba89f06-d1dd-4e39-9202-60e9dadc9930?api-version=2020-02-14-preview+2": { + "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/5ec82055-979b-43b1-8d3d-524584126bd5?api-version=2020-02-14-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aba89f06-d1dd-4e39-9202-60e9dadc9930?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/5ec82055-979b-43b1-8d3d-524584126bd5?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "8" ], - "x-ms-client-request-id": [ "7c86f2f6-5a85-4ae2-ac0f-925c0d35168e" ], + "x-ms-unique-id": [ "23" ], + "x-ms-client-request-id": [ "60cf821d-6895-49e7-ab4e-95bdb15e3222" ], "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServerFirewallRule" ], "FullCommandName": [ "Update-AzPostgreSqlFlexibleServerFirewallRule_UpdateViaIdentityExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -292,20 +408,20 @@ "Pragma": [ "no-cache" ], "Retry-After": [ "60" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "41259e27-b9ad-4797-8fef-273d7c8cad8f" ], + "x-ms-request-id": [ "ca08e992-2472-48a3-a55b-0c9cc2cd25c6" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], - "x-ms-correlation-request-id": [ "31187fc6-ca00-42c6-a6bc-4a0093510896" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T071044Z:31187fc6-ca00-42c6-a6bc-4a0093510896" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11973" ], + "x-ms-correlation-request-id": [ "4c7c0218-71d4-4d1a-8962-5f2d904e08d7" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T231841Z:4c7c0218-71d4-4d1a-8962-5f2d904e08d7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 07:10:43 GMT" ] + "Date": [ "Thu, 12 Nov 2020 23:18:41 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "107" ], + "Content-Length": [ "106" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"aba89f06-d1dd-4e39-9202-60e9dadc9930\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-12T07:09:43.483Z\"}" + "Content": "{\"name\":\"5ec82055-979b-43b1-8d3d-524584126bd5\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-12T23:17:40.99Z\"}" } }, "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { @@ -315,8 +431,8 @@ "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "9" ], - "x-ms-client-request-id": [ "7c86f2f6-5a85-4ae2-ac0f-925c0d35168e" ], + "x-ms-unique-id": [ "24" ], + "x-ms-client-request-id": [ "60cf821d-6895-49e7-ab4e-95bdb15e3222" ], "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServerFirewallRule" ], "FullCommandName": [ "Update-AzPostgreSqlFlexibleServerFirewallRule_UpdateViaIdentityExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -326,25 +442,25 @@ } }, "Response": { - "StatusCode": 404, + "StatusCode": 200, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "bd8085fd-e903-4104-b5a4-ef8b8fb95e92" ], + "x-ms-request-id": [ "09c5dd6a-dd43-4759-ae07-adddca2b571d" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], - "x-ms-correlation-request-id": [ "cd0db8a9-686a-4522-8790-313acd39281c" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T071044Z:cd0db8a9-686a-4522-8790-313acd39281c" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11972" ], + "x-ms-correlation-request-id": [ "1544a38f-b4e9-46b4-a578-b8df768b0c05" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T231841Z:1544a38f-b4e9-46b4-a578-b8df768b0c05" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 07:10:44 GMT" ] + "Date": [ "Thu, 12 Nov 2020 23:18:41 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "104" ], + "Content-Length": [ "159" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The specified resource postgresqlrule01 was not found.\"}}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.4\",\"endIpAddress\":\"0.0.0.5\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}" } }, "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddressViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { @@ -364,24 +480,103 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/bf2d838e-a928-4e79-a840-d8e56a0d33bd?api-version=2020-02-14-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/ef1ca829-b1a1-408f-9ea4-ea8d22b371c6?api-version=2020-02-14-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/bf2d838e-a928-4e79-a840-d8e56a0d33bd?api-version=2020-02-14-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ef1ca829-b1a1-408f-9ea4-ea8d22b371c6?api-version=2020-02-14-preview" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "bf2d838e-a928-4e79-a840-d8e56a0d33bd" ], + "x-ms-request-id": [ "ef1ca829-b1a1-408f-9ea4-ea8d22b371c6" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-correlation-request-id": [ "6bed0b09-5576-4783-ab1e-4a3b14963477" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T071334Z:6bed0b09-5576-4783-ab1e-4a3b14963477" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1191" ], + "x-ms-correlation-request-id": [ "e0a58b54-270f-4d34-868a-2e1ec1b46e15" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T231842Z:e0a58b54-270f-4d34-868a-2e1ec1b46e15" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 07:13:34 GMT" ] + "Date": [ "Thu, 12 Nov 2020 23:18:42 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "98" ], + "Content-Length": [ "99" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-12T23:18:42.047Z\"}" + } + }, + "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddressViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ef1ca829-b1a1-408f-9ea4-ea8d22b371c6?api-version=2020-02-14-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ef1ca829-b1a1-408f-9ea4-ea8d22b371c6?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "26" ], + "x-ms-client-request-id": [ "4c657a31-7b18-4193-8932-6768e7609ea0" ], + "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Update-AzPostgreSqlFlexibleServerFirewallRule_UpdateViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "98767882-e0f5-4198-af51-f86da909c149" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11971" ], + "x-ms-correlation-request-id": [ "0b65888a-3285-4bd3-abe0-6241461a0dc4" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T231942Z:0b65888a-3285-4bd3-abe0-6241461a0dc4" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 12 Nov 2020 23:19:41 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ef1ca829-b1a1-408f-9ea4-ea8d22b371c6\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-12T23:18:42.047Z\"}" + } + }, + "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddressViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "27" ], + "x-ms-client-request-id": [ "4c657a31-7b18-4193-8932-6768e7609ea0" ], + "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Update-AzPostgreSqlFlexibleServerFirewallRule_UpdateViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "eba779ad-11fa-4ad5-b0e6-1c7837ee43d8" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11970" ], + "x-ms-correlation-request-id": [ "0fe39517-3189-4dd2-bb33-a608caacaf92" ], + "x-ms-routing-request-id": [ "WESTUS2:20201112T231942Z:0fe39517-3189-4dd2-bb33-a608caacaf92" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 12 Nov 2020 23:19:42 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "159" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-12T07:13:34.65Z\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.9\",\"endIpAddress\":\"0.0.0.9\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}" } } } \ No newline at end of file diff --git a/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 b/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 index a2f91868da42..8a2c9f0ceffb 100644 --- a/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 +++ b/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 @@ -12,27 +12,27 @@ while(-not $mockingPath) { . ($mockingPath | Select-Object -First 1).FullName Describe 'Update-AzPostgreSqlFlexibleServerFirewallRule' { - It 'UpdateExpanded' -Skip { + It 'UpdateExpanded' { New-AzPostgreSqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 $rule = Update-AzPostgreSqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 $rule.StartIPAddress | Should -Be 0.0.0.2 $rule.EndIPAddress | Should -Be 0.0.0.3 } - It 'ClientIPAddress' -Skip { + It 'ClientIPAddress' { $rule = Update-AzPostgreSqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -ClientIPAddress 0.0.0.2 $rule.StartIPAddress | Should -Be 0.0.0.2 $rule.EndIPAddress | Should -Be 0.0.0.2 } - It 'UpdateViaIdentityExpanded' -Skip { + It 'UpdateViaIdentityExpanded' { $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSql/flexibleServers/$($env.serverName)/firewallRules/$($env.firewallRuleName)" $rule = Update-AzPostgreSqlFlexibleServerFirewallRule -InputObject $ID -EndIPAddress 0.0.0.5 -StartIPAddress 0.0.0.4 $rule.StartIPAddress | Should -Be 0.0.0.4 $rule.EndIPAddress | Should -Be 0.0.0.5 } - It 'ClientIPAddressViaIdentity' -Skip { + It 'ClientIPAddressViaIdentity' { $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSql/flexibleServers/$($env.serverName)/firewallRules/$($env.firewallRuleName)" $rule = Update-AzPostgreSqlFlexibleServerFirewallRule -InputObject $ID -ClientIPAddress 0.0.0.9 $rule.StartIPAddress | Should -Be 0.0.0.9 diff --git a/src/PostgreSql/test/env.json b/src/PostgreSql/test/env.json index a282553b30d7..6fbc45ac32c4 100644 --- a/src/PostgreSql/test/env.json +++ b/src/PostgreSql/test/env.json @@ -1,16 +1,16 @@ { + "SubscriptionId": "7fec3109-5b78-4a24-b834-5d47d63e2596", + "resourceGroup": "PostgreSqlTest", + "serverName": "postgresqltest100", + "replicaName": "postgresqltest100replica", "firewallRuleName": "postgresqlrule01", - "restoreName2": "postgresqltest100restore2", - "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", "FlexibleSku": "GP_Gen5_4", + "restoreName": "postgresqltest100restore", + "restoreName2": "postgresqltest100restore2", + "VNetName": "postgresqlvnet", "location": "eastus", "serverName2": "postgresqltest200", - "replicaName": "postgresqltest100replica", - "VNetName": "postgresqlvnet", - "SubscriptionId": "7fec3109-5b78-4a24-b834-5d47d63e2596", - "Sku": "GP_Gen5_4", - "resourceGroup": "PostgreSqlTest", - "serverName": "postgresqltest100", + "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", "firewallRuleName2": "postgresqlrule02", - "restoreName": "postgresqltest100restore" + "Sku": "GP_Gen5_4" } From 6c60dbf77e9f38a1fe1f817dbc8a3276187898b4 Mon Sep 17 00:00:00 2001 From: Daeun Yim Date: Thu, 12 Nov 2020 16:25:35 -0800 Subject: [PATCH 16/51] example document fixed --- .../examples/Get-AzMySqlFlexibleServer.md | 2 +- .../examples/New-AzMySqlFlexibleServer.md | 71 +++--------------- .../examples/Remove-AzMySqlFlexibleServer.md | 2 +- .../Remove-AzMySqlFlexibleServerDatabase.md | 2 +- ...emove-AzMySqlFlexibleServerFirewallRule.md | 2 +- .../examples/Restart-AzMySqlFlexibleServer.md | 2 +- .../examples/Start-AzMySqlFlexibleServer.md | 2 +- .../examples/Stop-AzMySqlFlexibleServer.md | 2 +- .../examples/Update-AzMySqlFlexibleServer.md | 2 +- ...date-AzMySqlFlexibleServerConfiguration.md | 2 +- ...pdate-AzMySqlFlexibleServerFirewallRule.md | 2 +- .../Get-AzPostgreSqlFlexibleServer.md | 30 ++++---- ...AzPostgreSqlFlexibleServerConfiguration.md | 14 +++- ...-AzPostgreSqlFlexibleServerFirewallRule.md | 2 +- .../New-AzPostgreSqlFlexibleServer.md | 73 ++++--------------- .../Remove-AzPostgreSqlFlexibleServer.md | 2 +- ...-AzPostgreSqlFlexibleServerFirewallRule.md | 2 +- .../Restart-AzPostgreSqlFlexibleServer.md | 2 +- .../Start-AzPostgreSqlFlexibleServer.md | 2 +- .../Stop-AzPostgreSqlFlexibleServer.md | 2 +- .../Update-AzPostgreSqlFlexibleServer.md | 12 +-- ...AzPostgreSqlFlexibleServerConfiguration.md | 21 ++++-- ...-AzPostgreSqlFlexibleServerFirewallRule.md | 2 +- 23 files changed, 89 insertions(+), 166 deletions(-) diff --git a/src/MySql/examples/Get-AzMySqlFlexibleServer.md b/src/MySql/examples/Get-AzMySqlFlexibleServer.md index b2a58f894305..602058a84655 100644 --- a/src/MySql/examples/Get-AzMySqlFlexibleServer.md +++ b/src/MySql/examples/Get-AzMySqlFlexibleServer.md @@ -34,7 +34,7 @@ This cmdlet lists all the MySql servers in the specified resource group. ### Example 4: Get MySql server by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test" PS C:\> Get-AzMySqlFlexibleServer -InputObject $ID Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier diff --git a/src/MySql/examples/New-AzMySqlFlexibleServer.md b/src/MySql/examples/New-AzMySqlFlexibleServer.md index a11ade625037..bd9ed603768c 100644 --- a/src/MySql/examples/New-AzMySqlFlexibleServer.md +++ b/src/MySql/examples/New-AzMySqlFlexibleServer.md @@ -1,68 +1,21 @@ -### Example 1: Create a new MySql flexible server with parameters +### Example 1: Create a new MySql flexible server ```powershell +PS C:\> $password = 'Pa88word!' | ConvertTo-SecureString -AsPlainText -Force PS C:\> New-AzMySqlFlexibleServer -Name mysql-test -ResourceGroupName PowershellMySqlTest \ -Location westus2 -AdministratorUserName mysql_test -AdministratorLoginPassword $password -Sku Standard_B1ms -SkuTier Burstable -Creating new vnet {vnetName} in resource group {resourceGroupName}... -Creating new subnet {subnetName} in resource group {resourceGroupName} and delegating it to "Microsoft.DBforMySQL/flexibleServers"... -Creating MySQL server {serverName} in group {resourceGroupName}... -Your server is using sku 'Standard_B1ms' (paid tier). Please refer to https://aka.ms/mysql-pricing for pricing details. -Creating MySQL database {dbname}... -"connectionString": "mysql {dbname} --host {host} --user {username} --password={password}", -"databaseName": "flexibleserverdb", -"host": "{servername}.mysql.database.azure.com", -"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}", -"location": "West US 2", -"version": "5.7", -"username": "{username}", -"password": "{password}", -"skuname": "Standard_B1ms" +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +mysql-test westus2 mysql_test 5.7 10240 Standard_B1ms Burstable ``` - -The cmdlet generates a server with the given parameters and output important information in a visible format. The server creation automatically generates vnet, subnet, and database in the resource group. - -### Example 2: Create a new MySql flexible server without parameters -```powershell -PS C:\> New-AzMySqlFlexibleServer - -Creating Resource Group {resourceGroupName}... -Creating new vnet {vnetName} in resource group {resourceGroupName}... -Creating new subnet {subnetName} in resource group {resourceGroupName} and delegating it to "Microsoft.DBforMySQL/flexibleServers"... -Creating MySQL server {serverName} in group {resourceGroupName}... -Your server is using sku 'Standard_B1ms' (paid tier). Please refer to https://aka.ms/mysql-pricing for pricing details. -Creating MySQL database {dbname}... -"connectionString": "mysql {dbname} --host {host} --user {username} --password={password}", -"databaseName": "flexibleserverdb", -"host": "{servername}.mysql.database.azure.com", -"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}", -"location": "West US 2", -"version": "5.7", -"username": "{username}", -"password": "{password}", -"skuname": "Standard_B1ms" -``` - -When no parameters are given, the cmdlet automatically generates necessary resources such as resource group, vnet, and database. The SKU and storage profile are set to default values. - -### Example 3: Create a new MySql flexible server with public access to all IPs +### Example 2: Create a new MySql flexible server with default parameters ```powershell -PS C:\> New-AzMySqlFlexibleServer -PublicAccess all +PS C:\> $password = 'Pa88word!' | ConvertTo-SecureString -AsPlainText -Force +PS C:\> New-AzMySqlFlexibleServer -Name mysql-test -ResourceGroupName PowershellMySqlTest -AdministratorUserName mysql_test -AdministratorLoginPassword $password -Creating Resource Group {resourceGroupName}... -Configurint server firewall rule to accept connections from '0.0.0.0' to '255.255.255.255'... -Creating MySQL server {serverName} in group {resourceGroupName}... -Your server is using sku 'Standard_B1ms' (paid tier). Please refer to https://aka.ms/mysql-pricing for pricing details. -Creating MySQL database {dbname}... -"connectionString": "mysql {dbname} --host {host} --user {username} --password={password}", -"firewallName": "{firewallRuleName}", -"databaseName": "flexibleserverdb", -"host": "{serverName}.mysql.database.azure.com", -"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}", -"location": "West US 2", -"version": "5.7", -"username": "{username}", -"password": "{password}", -"skuname": "Standard_B1ms" +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +mysql-test westus2 mysql_test 5.7 10240 Standard_B1ms Burstable ``` -The cmdlet generates a server without given parameters and automatically generates necessary resources such as resource group, subnet, and database. The SKU and storage profile are set to default values. +When no parameters are given, the default values for SKU, SKU tier, storage size, and location are given. \ No newline at end of file diff --git a/src/MySql/examples/Remove-AzMySqlFlexibleServer.md b/src/MySql/examples/Remove-AzMySqlFlexibleServer.md index 39150bcb1aeb..39cf4ec63fe1 100644 --- a/src/MySql/examples/Remove-AzMySqlFlexibleServer.md +++ b/src/MySql/examples/Remove-AzMySqlFlexibleServer.md @@ -8,7 +8,7 @@ This cmdlet removes MySql server by resourceGroup and server name. ### Example 2: Remove MySql server by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test" PS C:\> Remove-AzMySqlFlexibleServer -InputObject $ID ``` diff --git a/src/MySql/examples/Remove-AzMySqlFlexibleServerDatabase.md b/src/MySql/examples/Remove-AzMySqlFlexibleServerDatabase.md index db0a35d680fb..c6eb53bf92bf 100644 --- a/src/MySql/examples/Remove-AzMySqlFlexibleServerDatabase.md +++ b/src/MySql/examples/Remove-AzMySqlFlexibleServerDatabase.md @@ -7,7 +7,7 @@ This cmdlet removes MySql database by name. ### Example 2: Remove MySql database by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test/databases/databasetest" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/databases/databasetest" PS C:\> Remove-AzMySqlFlexibleServerDatabase -InputObject $ID ``` diff --git a/src/MySql/examples/Remove-AzMySqlFlexibleServerFirewallRule.md b/src/MySql/examples/Remove-AzMySqlFlexibleServerFirewallRule.md index 203f32361915..a97fc96a06e6 100644 --- a/src/MySql/examples/Remove-AzMySqlFlexibleServerFirewallRule.md +++ b/src/MySql/examples/Remove-AzMySqlFlexibleServerFirewallRule.md @@ -8,7 +8,7 @@ This cmdlet removes MySql Firewall Rule by name. ### Example 2: Remove MySql Firewall Rule by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test/firewallRules/firewall-rule-test" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/firewallRules/firewall-rule-test" PS C:\> Remove-AzMySqlFlexibleServerFirewallRule -InputObject $ID ``` diff --git a/src/MySql/examples/Restart-AzMySqlFlexibleServer.md b/src/MySql/examples/Restart-AzMySqlFlexibleServer.md index 5edf353079b6..57bb0888d464 100644 --- a/src/MySql/examples/Restart-AzMySqlFlexibleServer.md +++ b/src/MySql/examples/Restart-AzMySqlFlexibleServer.md @@ -7,7 +7,7 @@ Restart the server by name ### Example 2: Restart the server by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test/restart" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/restart" PS C:\> Restart-AzMySqlFlexibleServer -InputObject $ID ``` diff --git a/src/MySql/examples/Start-AzMySqlFlexibleServer.md b/src/MySql/examples/Start-AzMySqlFlexibleServer.md index 7aaf7582e5a4..5ec85c71688d 100644 --- a/src/MySql/examples/Start-AzMySqlFlexibleServer.md +++ b/src/MySql/examples/Start-AzMySqlFlexibleServer.md @@ -7,7 +7,7 @@ Start the server by name ### Example 2: Start the server by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test/start" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/start" PS C:\> Start-AzMySqlFlexibleServer -InputObject $ID ``` diff --git a/src/MySql/examples/Stop-AzMySqlFlexibleServer.md b/src/MySql/examples/Stop-AzMySqlFlexibleServer.md index dbf88001bf4d..81e1ea444a56 100644 --- a/src/MySql/examples/Stop-AzMySqlFlexibleServer.md +++ b/src/MySql/examples/Stop-AzMySqlFlexibleServer.md @@ -8,7 +8,7 @@ Stop the server by name ### Example 2: Stop the server by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test/stop" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/stop" PS C:\> Stop-AzMySqlFlexibleServer -InputObject $ID ``` diff --git a/src/MySql/examples/Update-AzMySqlFlexibleServer.md b/src/MySql/examples/Update-AzMySqlFlexibleServer.md index ffb38925301d..b090849bf924 100644 --- a/src/MySql/examples/Update-AzMySqlFlexibleServer.md +++ b/src/MySql/examples/Update-AzMySqlFlexibleServer.md @@ -15,7 +15,7 @@ PS C:\> Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Server Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ---- -------- ------------------ ------- ----------------------- ---------------- ------------- -mysql-test-11 eastus mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose +mysql-test-11 eastus mysql_test 5.7 10240 Standard_D4ds_v4 GeneralPurpose ``` This cmdlet updates MySql server by identity. diff --git a/src/MySql/examples/Update-AzMySqlFlexibleServerConfiguration.md b/src/MySql/examples/Update-AzMySqlFlexibleServerConfiguration.md index 2a2345ea23cc..127d678cc547 100644 --- a/src/MySql/examples/Update-AzMySqlFlexibleServerConfiguration.md +++ b/src/MySql/examples/Update-AzMySqlFlexibleServerConfiguration.md @@ -16,7 +16,7 @@ PS C:\> Update-AzMySqlFlexibleServer -InputObject $ID -Value 150 Name Value DefaultValue Source AllowedValues DataType ---- ------ ------------ ------- ------------- --------- -wait_timeout 150 28800 system-default 1-31536000 Integer +wait_timeout 150 28800 user-override 1-31536000 Integer ``` These cmdlets update MySql configuration by identity. diff --git a/src/MySql/examples/Update-AzMySqlFlexibleServerFirewallRule.md b/src/MySql/examples/Update-AzMySqlFlexibleServerFirewallRule.md index a7cd8e26dfec..bcc06977d902 100644 --- a/src/MySql/examples/Update-AzMySqlFlexibleServerFirewallRule.md +++ b/src/MySql/examples/Update-AzMySqlFlexibleServerFirewallRule.md @@ -11,7 +11,7 @@ This cmdlet updates MySql Firewall Rule by name. ### Example 2: Update MySql Firewall Rule by identity. ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test/firewallRules/rule" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/firewallRules/rule" PS C:\> Update-AzMySqlFlexibleServerFirewallRule -InputObject $ID -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 Name StartIPAddress EndIPAddress diff --git a/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServer.md index 830d3ca8b866..8f3a40e1e7c2 100644 --- a/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServer.md +++ b/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServer.md @@ -2,20 +2,20 @@ ```powershell PS C:\> Get-AzPostgreSqlFlexibleServer -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ---------------- ------------- -postgresql-test-11 eastus postgresql-test 5.7 32768 Standard_D2ds_v4 GeneralPurpose +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +postgresql-test-11 eastus postgresql-test 12 32768 Standard_D2s_v3 GeneralPurpose ``` This cmdlet gets PostgreSql servers with default context. ### Example 2: Get PostgreSql server by resource group and server name ```powershell -PS C:\> Get-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -Name PostgreSql-test +PS C:\> Get-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -Name postgresql-test -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ---------------- ------------- -postgresql-test-11 eastus postgresql-test 5.7 32768 Standard_D2s_v3 GeneralPurpose +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +postgresql-test-11 eastus postgresql-test 12 32768 Standard_D2s_v3 GeneralPurpose ``` This cmdlet gets PostgreSql servers by resource group and server name. @@ -24,22 +24,22 @@ This cmdlet gets PostgreSql servers by resource group and server name. ```powershell PS C:\> Get-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ---------------- ------------- -postgresql-test-11 eastus postgresql-test 5.7 32768 Standard_D2s_v3 GeneralPurpose -postgresql-test-12 eastus postgresql-test2 5.7 32768 Standard_D2s_v3 GeneralPurpose +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +postgresql-test-11 eastus postgresql-test 12 32768 Standard_D2s_v3 GeneralPurpose +postgresql-test-12 eastus postgresql-test2 12 32768 Standard_D4s_v3 GeneralPurpose ``` This cmdlet lists all the PostgreSql servers in the specified resource group. ### Example 4: Get PostgreSql server by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test" PS C:\> Get-AzPostgreSqlFlexibleServer -InputObject $ID -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ---------------- ------------- -postgresql-test-11 eastus postgresql-test 12 32768 Standard_D2s_v3 GeneralPurpose +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +postgresql-test-11 eastus postgresql-test 12 32768 Standard_D2s_v3 GeneralPurpose ``` This cmdlet lists gets PostgreSql servers by identity. \ No newline at end of file diff --git a/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServerConfiguration.md b/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServerConfiguration.md index 52dd00dde7ba..a19b2f82f939 100644 --- a/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServerConfiguration.md +++ b/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServerConfiguration.md @@ -20,4 +20,16 @@ application_name "" "" system-default [A-Za-z0-9._-]* String pgbouncer.enabled false false system-default true, false Boolean ``` -This cmdlet lists all configurations in specified PostgreSql server. \ No newline at end of file +This cmdlet lists all configurations in specified PostgreSql server. + +### Example 3: List configuration by identity +```powershell +PS C:\> $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSql/flexibleServers/$($env.serverName)/configurations/work_mem" +Get-AzMySqlFlexibleServerConfiguration -Name work_mem -ResourceGroupName PowershellMySqlTest -ServerName mysql-test + +Name Value DefaultValue Source AllowedValues DataType +---- ------ ------------ ------- ------------- --------- +work_mem 4096 4096 system-default 4096-2097151 Integer +``` + +This cmdlet gets specified PostgreSql configuration by identity. \ No newline at end of file diff --git a/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServerFirewallRule.md index aa033b0bb8dc..9cd911b7a278 100644 --- a/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServerFirewallRule.md +++ b/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServerFirewallRule.md @@ -11,7 +11,7 @@ This cmdlet gets firewall rules by name. ### Example 2: Get firewall rules by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test/firewallRules/firewallrule-test" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/servers/postgresql-test/firewallRules/firewallrule-test" PS C:\> Get-AzPostgreSqlFlexibleServerFirewallRule -InputObject $ID FirewallRuleName StartIPAddress EndIPAddress diff --git a/src/PostgreSql/examples/New-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/examples/New-AzPostgreSqlFlexibleServer.md index 310e33061072..fed30d375d0b 100644 --- a/src/PostgreSql/examples/New-AzPostgreSqlFlexibleServer.md +++ b/src/PostgreSql/examples/New-AzPostgreSqlFlexibleServer.md @@ -1,68 +1,21 @@ -### Example 1: Create a new PostgreSql flexible server with parameters +### Example 1: Create a new PostgreSql flexible server ```powershell +PS C:\> $password = 'Pa88word!' | ConvertTo-SecureString -AsPlainText -Force PS C:\> New-AzPostgreSqlFlexibleServer -Name postgresql-test -ResourceGroupName PowershellPostgreSqlTest \ --Location eastus -AdministratorUserName postgresqltest -AdministratorLoginPassword $password -Sku Standard_B1ms -SkuTier Burstable +-Location eastus -AdministratorUserName postgresql_test -AdministratorLoginPassword $password -Sku Standard_B1ms -SkuTier Burstable -Creating new vnet {vnetName} in resource group {resourceGroupName}... -Creating new subnet {subnetName} in resource group {resourceGroupName} and delegating it to "Microsoft.DBforPostgreSQL/flexibleServers"... -Creating PostgreSql server {serverName} in group {resourceGroupName}... -Your server is using sku 'Standard_B1ms' (paid tier). Please refer to https://aka.ms/postgresql-pricing for pricing details. -Creating PostgreSql database {dbname}... -"connectionString": "postgresql://{username}:{password}@{servername}.postgres.database.azure.com/postgres?sslmode=require", -"databaseName": "{dbname}", -"host": "{servername}.PostgreSql.database.azure.com", -"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreS!L/flexibleServers/{serverName}", -"location": "East US", -"version": "12", -"username": "{username}", -"password": "{password}", -"skuname": "Standard_B1ms" +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +postgresql-test westus2 postgresql_test 12 131072 Standard_B1ms Burstable ``` - -The cmdlet generates a server with the given parameters and output important information in a visible format. The server creation automatically generates vnet, subnet, and database in the resource group. - -### Example 2: Create a new PostgreSql flexible server without parameters -```powershell -PS C:\> New-AzPostgreSqlFlexibleServer - -Creating Resource Group {resourceGroupName}... -Creating new vnet {vnetName} in resource group {resourceGroupName}... -Creating new subnet {subnetName} in resource group {resourceGroupName} and delegating it to "Microsoft.DBforPostgreSql/flexibleServers"... -Creating PostgreSql server {serverName} in group {resourceGroupName}... -Your server is using sku 'Standard_D2s_v3' (paid tier). Please refer to https://aka.ms/postgresql-pricing for pricing details. -Creating PostgreSql database {dbname}... -"connectionString": "postgresql://{username}:{password}@{servername}.postgres.database.azure.com/postgres?sslmode=require", -"databaseName": "flexibleserverdb", -"host": "{servername}.PostgreSql.database.azure.com", -"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSql/flexibleServers/{serverName}", -"location": "East US", -"version": "12", -"username": "{username}", -"password": "{password}", -"skuname": "Standard_D2s_v3" -``` - -When no parameters are given, the cmdlet automatically generates necessary resources such as resource group, vnet, and database. The SKU and storage profile are set to default values. - -### Example 3: Create a new PostgreSql flexible server with public access to all IPs +### Example 2: Create a new PostgreSql flexible server with default parameters ```powershell -PS C:\> New-AzPostgreSqlFlexibleServer -PublicAccess all +PS C:\> $password = 'Pa88word!' | ConvertTo-SecureString -AsPlainText -Force +PS C:\> New-AzPostgreSqlFlexibleServer -Name postgresql-test -ResourceGroupName PowershellPostgreSqlTest -AdministratorUserName postgresql_test -AdministratorLoginPassword $password -Creating Resource Group {resourceGroupName}... -Configurint server firewall rule to accept connections from '0.0.0.0' to '255.255.255.255'... -Creating PostgreSql server {serverName} in group {resourceGroupName}... -Your server is using sku 'Standard_D2s_v3' (paid tier). Please refer to https://aka.ms/postgresql-pricing for pricing details. -Creating PostgreSql database {dbname}... -"connectionString": "postgresql://{username}:{password}@{servername}.postgres.database.azure.com/postgres?sslmode=require", -"firewallName": "{firewallRuleName}", -"databaseName": "flexibleserverdb", -"host": "{serverName}.PostgreSql.database.azure.com", -"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}", -"location": "East US", -"version": "12", -"username": "{username}", -"password": "{password}", -"skuname": "Standard_D2s_v3" +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +postgresql-test westus2 postgresql_test 12 131072 Standard_D2s_v3 GeneralPurpose ``` -The cmdlet generates a server without given parameters and automatically generates necessary resources such as resource group, subnet, and database. The SKU and storage profile are set to default values. +When no parameters are given, the default values for SKU, SKU tier, storage size, and location are given. \ No newline at end of file diff --git a/src/PostgreSql/examples/Remove-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/examples/Remove-AzPostgreSqlFlexibleServer.md index fc80a337cecb..23bdd0977c95 100644 --- a/src/PostgreSql/examples/Remove-AzPostgreSqlFlexibleServer.md +++ b/src/PostgreSql/examples/Remove-AzPostgreSqlFlexibleServer.md @@ -8,7 +8,7 @@ This cmdlet removes PostgreSql server by resourceGroup and server name. ### Example 2: Remove PostgreSql server by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test" PS C:\> Remove-AzPostgreSqlFlexibleServer -InputObject $ID ``` diff --git a/src/PostgreSql/examples/Remove-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSql/examples/Remove-AzPostgreSqlFlexibleServerFirewallRule.md index 0a3141303005..674198427a43 100644 --- a/src/PostgreSql/examples/Remove-AzPostgreSqlFlexibleServerFirewallRule.md +++ b/src/PostgreSql/examples/Remove-AzPostgreSqlFlexibleServerFirewallRule.md @@ -8,7 +8,7 @@ This cmdlet removes PostgreSql Firewall Rule by name. ### Example 2: Remove PostgreSql Firewall Rule by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test/firewallRules/firewall-rule-test" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test/firewallRules/firewall-rule-test" PS C:\> Remove-AzPostgreSqlFlexibleServerFirewallRule -InputObject $ID ``` diff --git a/src/PostgreSql/examples/Restart-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/examples/Restart-AzPostgreSqlFlexibleServer.md index b98662af22aa..49735b12ee92 100644 --- a/src/PostgreSql/examples/Restart-AzPostgreSqlFlexibleServer.md +++ b/src/PostgreSql/examples/Restart-AzPostgreSqlFlexibleServer.md @@ -7,7 +7,7 @@ Restart the server by name ### Example 2: Restart the server by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test/restart" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test/restart" PS C:\> Restart-AzPostgreSqlFlexibleServer -InputObject $ID ``` diff --git a/src/PostgreSql/examples/Start-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/examples/Start-AzPostgreSqlFlexibleServer.md index 21b6b0e9d1ed..aa41c5ace255 100644 --- a/src/PostgreSql/examples/Start-AzPostgreSqlFlexibleServer.md +++ b/src/PostgreSql/examples/Start-AzPostgreSqlFlexibleServer.md @@ -7,7 +7,7 @@ Start the server by name ### Example 2: Start the server by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test/start" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test/start" PS C:\> Start-AzPostgreSqlFlexibleServer -InputObject $ID ``` diff --git a/src/PostgreSql/examples/Stop-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/examples/Stop-AzPostgreSqlFlexibleServer.md index ed8b0fd57fc7..c37f8644f465 100644 --- a/src/PostgreSql/examples/Stop-AzPostgreSqlFlexibleServer.md +++ b/src/PostgreSql/examples/Stop-AzPostgreSqlFlexibleServer.md @@ -8,7 +8,7 @@ Stop the server by name ### Example 2: Stop the server by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test/stop" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test/stop" PS C:\> Stop-AzPostgreSqlFlexibleServer -InputObject $ID ``` diff --git a/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServer.md index abe60be1c4ff..90f99a218e73 100644 --- a/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServer.md +++ b/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServer.md @@ -2,9 +2,9 @@ ```powershell PS C:\> Update-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -Name postgresql-test -Sku Standard_D4s_v3 -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ---------------- ------------- -postgresql-test-11 eastus PostgreSql_test 12 5120 Standard_D4s_v3 GeneralPurpose +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +postgresql-test-11 eastus PostgreSql_test 12 5120 Standard_D4s_v3 GeneralPurpose ``` This cmdlet updates PostgreSql server by resource group and server name. @@ -13,9 +13,9 @@ This cmdlet updates PostgreSql server by resource group and server name. ```powershell PS C:\> Get-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test | Update-AzPostgreSqlFlexibleServer -BackupRetentionDay 23 -StorageMb 10240 -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ---------------- ------------- -postgresql-test-11 eastus PostgreSql_test 12 5120 Standard_D2ds_v4 GeneralPurpose +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +postgresql-test-11 eastus PostgreSql_test 12 10240 Standard_D2ds_v4 GeneralPurpose ``` This cmdlet updates PostgreSql server by identity. diff --git a/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServerConfiguration.md b/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServerConfiguration.md index 093355d11d50..4079abd684c3 100644 --- a/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServerConfiguration.md +++ b/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServerConfiguration.md @@ -1,18 +1,23 @@ -### Example 1: {{ Add title here }} +### Example 1: Update PostgreSql configuration by name ```powershell -PS C:\> {{ Add code here }} +PS C:\> Update-AzPostgreSqlFlexibleServer -Name work_mem -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test -Value 10240 -{{ Add output here }} +Name Value DefaultValue Source AllowedValues DataType +---- ------ ------------ ---------- ------------- --------- +work_mem 10240 4096 user-override 4096-2097151 Integer ``` -{{ Add description here }} +This cmdlet updates PostgreSql configuration by name. -### Example 2: {{ Add title here }} +### Example 2: Update PostgreSql configuration by identity. ```powershell -PS C:\> {{ Add code here }} +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test/configurations/work_mem" +PS C:\> Update-AzPostgreSqlFlexibleServer -InputObject $ID -Value 10240 -{{ Add output here }} +Name Value DefaultValue Source AllowedValues DataType +---- ------ ------------ ------- ------------- --------- +work_mem 10240 4096 user-override 1-31536000 Integer ``` -{{ Add description here }} +These cmdlets update PostgreSql configuration by identity. diff --git a/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServerFirewallRule.md index 20121400a721..d4eb3dcf2fa0 100644 --- a/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServerFirewallRule.md +++ b/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServerFirewallRule.md @@ -11,7 +11,7 @@ This cmdlet updates PostgreSql Firewall Rule by name. ### Example 2: Update PostgreSql Firewall Rule by identity. ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test/firewallRules/rule" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test/firewallRules/rule" PS C:\> Update-AzPostgreSqlFlexibleServerFirewallRule -InputObject $ID -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 Name StartIPAddress EndIPAddress From 81b81c01c29ced799e6b0b53f60d32ea8a48c549 Mon Sep 17 00:00:00 2001 From: Daeun Yim Date: Thu, 12 Nov 2020 17:37:00 -0800 Subject: [PATCH 17/51] Revert "example document fixed" This reverts commit 6c60dbf77e9f38a1fe1f817dbc8a3276187898b4. --- .../examples/Get-AzMySqlFlexibleServer.md | 2 +- .../examples/New-AzMySqlFlexibleServer.md | 71 +++++++++++++++--- .../examples/Remove-AzMySqlFlexibleServer.md | 2 +- .../Remove-AzMySqlFlexibleServerDatabase.md | 2 +- ...emove-AzMySqlFlexibleServerFirewallRule.md | 2 +- .../examples/Restart-AzMySqlFlexibleServer.md | 2 +- .../examples/Start-AzMySqlFlexibleServer.md | 2 +- .../examples/Stop-AzMySqlFlexibleServer.md | 2 +- .../examples/Update-AzMySqlFlexibleServer.md | 2 +- ...date-AzMySqlFlexibleServerConfiguration.md | 2 +- ...pdate-AzMySqlFlexibleServerFirewallRule.md | 2 +- .../Get-AzPostgreSqlFlexibleServer.md | 30 ++++---- ...AzPostgreSqlFlexibleServerConfiguration.md | 14 +--- ...-AzPostgreSqlFlexibleServerFirewallRule.md | 2 +- .../New-AzPostgreSqlFlexibleServer.md | 73 +++++++++++++++---- .../Remove-AzPostgreSqlFlexibleServer.md | 2 +- ...-AzPostgreSqlFlexibleServerFirewallRule.md | 2 +- .../Restart-AzPostgreSqlFlexibleServer.md | 2 +- .../Start-AzPostgreSqlFlexibleServer.md | 2 +- .../Stop-AzPostgreSqlFlexibleServer.md | 2 +- .../Update-AzPostgreSqlFlexibleServer.md | 12 +-- ...AzPostgreSqlFlexibleServerConfiguration.md | 21 ++---- ...-AzPostgreSqlFlexibleServerFirewallRule.md | 2 +- 23 files changed, 166 insertions(+), 89 deletions(-) diff --git a/src/MySql/examples/Get-AzMySqlFlexibleServer.md b/src/MySql/examples/Get-AzMySqlFlexibleServer.md index 602058a84655..b2a58f894305 100644 --- a/src/MySql/examples/Get-AzMySqlFlexibleServer.md +++ b/src/MySql/examples/Get-AzMySqlFlexibleServer.md @@ -34,7 +34,7 @@ This cmdlet lists all the MySql servers in the specified resource group. ### Example 4: Get MySql server by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test" PS C:\> Get-AzMySqlFlexibleServer -InputObject $ID Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier diff --git a/src/MySql/examples/New-AzMySqlFlexibleServer.md b/src/MySql/examples/New-AzMySqlFlexibleServer.md index bd9ed603768c..a11ade625037 100644 --- a/src/MySql/examples/New-AzMySqlFlexibleServer.md +++ b/src/MySql/examples/New-AzMySqlFlexibleServer.md @@ -1,21 +1,68 @@ -### Example 1: Create a new MySql flexible server +### Example 1: Create a new MySql flexible server with parameters ```powershell -PS C:\> $password = 'Pa88word!' | ConvertTo-SecureString -AsPlainText -Force PS C:\> New-AzMySqlFlexibleServer -Name mysql-test -ResourceGroupName PowershellMySqlTest \ -Location westus2 -AdministratorUserName mysql_test -AdministratorLoginPassword $password -Sku Standard_B1ms -SkuTier Burstable -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ---------------- ------------- -mysql-test westus2 mysql_test 5.7 10240 Standard_B1ms Burstable +Creating new vnet {vnetName} in resource group {resourceGroupName}... +Creating new subnet {subnetName} in resource group {resourceGroupName} and delegating it to "Microsoft.DBforMySQL/flexibleServers"... +Creating MySQL server {serverName} in group {resourceGroupName}... +Your server is using sku 'Standard_B1ms' (paid tier). Please refer to https://aka.ms/mysql-pricing for pricing details. +Creating MySQL database {dbname}... +"connectionString": "mysql {dbname} --host {host} --user {username} --password={password}", +"databaseName": "flexibleserverdb", +"host": "{servername}.mysql.database.azure.com", +"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}", +"location": "West US 2", +"version": "5.7", +"username": "{username}", +"password": "{password}", +"skuname": "Standard_B1ms" ``` -### Example 2: Create a new MySql flexible server with default parameters + +The cmdlet generates a server with the given parameters and output important information in a visible format. The server creation automatically generates vnet, subnet, and database in the resource group. + +### Example 2: Create a new MySql flexible server without parameters +```powershell +PS C:\> New-AzMySqlFlexibleServer + +Creating Resource Group {resourceGroupName}... +Creating new vnet {vnetName} in resource group {resourceGroupName}... +Creating new subnet {subnetName} in resource group {resourceGroupName} and delegating it to "Microsoft.DBforMySQL/flexibleServers"... +Creating MySQL server {serverName} in group {resourceGroupName}... +Your server is using sku 'Standard_B1ms' (paid tier). Please refer to https://aka.ms/mysql-pricing for pricing details. +Creating MySQL database {dbname}... +"connectionString": "mysql {dbname} --host {host} --user {username} --password={password}", +"databaseName": "flexibleserverdb", +"host": "{servername}.mysql.database.azure.com", +"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}", +"location": "West US 2", +"version": "5.7", +"username": "{username}", +"password": "{password}", +"skuname": "Standard_B1ms" +``` + +When no parameters are given, the cmdlet automatically generates necessary resources such as resource group, vnet, and database. The SKU and storage profile are set to default values. + +### Example 3: Create a new MySql flexible server with public access to all IPs ```powershell -PS C:\> $password = 'Pa88word!' | ConvertTo-SecureString -AsPlainText -Force -PS C:\> New-AzMySqlFlexibleServer -Name mysql-test -ResourceGroupName PowershellMySqlTest -AdministratorUserName mysql_test -AdministratorLoginPassword $password +PS C:\> New-AzMySqlFlexibleServer -PublicAccess all -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ---------------- ------------- -mysql-test westus2 mysql_test 5.7 10240 Standard_B1ms Burstable +Creating Resource Group {resourceGroupName}... +Configurint server firewall rule to accept connections from '0.0.0.0' to '255.255.255.255'... +Creating MySQL server {serverName} in group {resourceGroupName}... +Your server is using sku 'Standard_B1ms' (paid tier). Please refer to https://aka.ms/mysql-pricing for pricing details. +Creating MySQL database {dbname}... +"connectionString": "mysql {dbname} --host {host} --user {username} --password={password}", +"firewallName": "{firewallRuleName}", +"databaseName": "flexibleserverdb", +"host": "{serverName}.mysql.database.azure.com", +"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}", +"location": "West US 2", +"version": "5.7", +"username": "{username}", +"password": "{password}", +"skuname": "Standard_B1ms" ``` -When no parameters are given, the default values for SKU, SKU tier, storage size, and location are given. \ No newline at end of file +The cmdlet generates a server without given parameters and automatically generates necessary resources such as resource group, subnet, and database. The SKU and storage profile are set to default values. diff --git a/src/MySql/examples/Remove-AzMySqlFlexibleServer.md b/src/MySql/examples/Remove-AzMySqlFlexibleServer.md index 39cf4ec63fe1..39150bcb1aeb 100644 --- a/src/MySql/examples/Remove-AzMySqlFlexibleServer.md +++ b/src/MySql/examples/Remove-AzMySqlFlexibleServer.md @@ -8,7 +8,7 @@ This cmdlet removes MySql server by resourceGroup and server name. ### Example 2: Remove MySql server by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test" PS C:\> Remove-AzMySqlFlexibleServer -InputObject $ID ``` diff --git a/src/MySql/examples/Remove-AzMySqlFlexibleServerDatabase.md b/src/MySql/examples/Remove-AzMySqlFlexibleServerDatabase.md index c6eb53bf92bf..db0a35d680fb 100644 --- a/src/MySql/examples/Remove-AzMySqlFlexibleServerDatabase.md +++ b/src/MySql/examples/Remove-AzMySqlFlexibleServerDatabase.md @@ -7,7 +7,7 @@ This cmdlet removes MySql database by name. ### Example 2: Remove MySql database by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/databases/databasetest" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test/databases/databasetest" PS C:\> Remove-AzMySqlFlexibleServerDatabase -InputObject $ID ``` diff --git a/src/MySql/examples/Remove-AzMySqlFlexibleServerFirewallRule.md b/src/MySql/examples/Remove-AzMySqlFlexibleServerFirewallRule.md index a97fc96a06e6..203f32361915 100644 --- a/src/MySql/examples/Remove-AzMySqlFlexibleServerFirewallRule.md +++ b/src/MySql/examples/Remove-AzMySqlFlexibleServerFirewallRule.md @@ -8,7 +8,7 @@ This cmdlet removes MySql Firewall Rule by name. ### Example 2: Remove MySql Firewall Rule by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/firewallRules/firewall-rule-test" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test/firewallRules/firewall-rule-test" PS C:\> Remove-AzMySqlFlexibleServerFirewallRule -InputObject $ID ``` diff --git a/src/MySql/examples/Restart-AzMySqlFlexibleServer.md b/src/MySql/examples/Restart-AzMySqlFlexibleServer.md index 57bb0888d464..5edf353079b6 100644 --- a/src/MySql/examples/Restart-AzMySqlFlexibleServer.md +++ b/src/MySql/examples/Restart-AzMySqlFlexibleServer.md @@ -7,7 +7,7 @@ Restart the server by name ### Example 2: Restart the server by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/restart" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test/restart" PS C:\> Restart-AzMySqlFlexibleServer -InputObject $ID ``` diff --git a/src/MySql/examples/Start-AzMySqlFlexibleServer.md b/src/MySql/examples/Start-AzMySqlFlexibleServer.md index 5ec85c71688d..7aaf7582e5a4 100644 --- a/src/MySql/examples/Start-AzMySqlFlexibleServer.md +++ b/src/MySql/examples/Start-AzMySqlFlexibleServer.md @@ -7,7 +7,7 @@ Start the server by name ### Example 2: Start the server by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/start" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test/start" PS C:\> Start-AzMySqlFlexibleServer -InputObject $ID ``` diff --git a/src/MySql/examples/Stop-AzMySqlFlexibleServer.md b/src/MySql/examples/Stop-AzMySqlFlexibleServer.md index 81e1ea444a56..dbf88001bf4d 100644 --- a/src/MySql/examples/Stop-AzMySqlFlexibleServer.md +++ b/src/MySql/examples/Stop-AzMySqlFlexibleServer.md @@ -8,7 +8,7 @@ Stop the server by name ### Example 2: Stop the server by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/stop" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test/stop" PS C:\> Stop-AzMySqlFlexibleServer -InputObject $ID ``` diff --git a/src/MySql/examples/Update-AzMySqlFlexibleServer.md b/src/MySql/examples/Update-AzMySqlFlexibleServer.md index b090849bf924..ffb38925301d 100644 --- a/src/MySql/examples/Update-AzMySqlFlexibleServer.md +++ b/src/MySql/examples/Update-AzMySqlFlexibleServer.md @@ -15,7 +15,7 @@ PS C:\> Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Server Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ---- -------- ------------------ ------- ----------------------- ---------------- ------------- -mysql-test-11 eastus mysql_test 5.7 10240 Standard_D4ds_v4 GeneralPurpose +mysql-test-11 eastus mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose ``` This cmdlet updates MySql server by identity. diff --git a/src/MySql/examples/Update-AzMySqlFlexibleServerConfiguration.md b/src/MySql/examples/Update-AzMySqlFlexibleServerConfiguration.md index 127d678cc547..2a2345ea23cc 100644 --- a/src/MySql/examples/Update-AzMySqlFlexibleServerConfiguration.md +++ b/src/MySql/examples/Update-AzMySqlFlexibleServerConfiguration.md @@ -16,7 +16,7 @@ PS C:\> Update-AzMySqlFlexibleServer -InputObject $ID -Value 150 Name Value DefaultValue Source AllowedValues DataType ---- ------ ------------ ------- ------------- --------- -wait_timeout 150 28800 user-override 1-31536000 Integer +wait_timeout 150 28800 system-default 1-31536000 Integer ``` These cmdlets update MySql configuration by identity. diff --git a/src/MySql/examples/Update-AzMySqlFlexibleServerFirewallRule.md b/src/MySql/examples/Update-AzMySqlFlexibleServerFirewallRule.md index bcc06977d902..a7cd8e26dfec 100644 --- a/src/MySql/examples/Update-AzMySqlFlexibleServerFirewallRule.md +++ b/src/MySql/examples/Update-AzMySqlFlexibleServerFirewallRule.md @@ -11,7 +11,7 @@ This cmdlet updates MySql Firewall Rule by name. ### Example 2: Update MySql Firewall Rule by identity. ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/firewallRules/rule" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test/firewallRules/rule" PS C:\> Update-AzMySqlFlexibleServerFirewallRule -InputObject $ID -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 Name StartIPAddress EndIPAddress diff --git a/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServer.md index 8f3a40e1e7c2..830d3ca8b866 100644 --- a/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServer.md +++ b/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServer.md @@ -2,20 +2,20 @@ ```powershell PS C:\> Get-AzPostgreSqlFlexibleServer -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ---------------- ------------- -postgresql-test-11 eastus postgresql-test 12 32768 Standard_D2s_v3 GeneralPurpose +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +postgresql-test-11 eastus postgresql-test 5.7 32768 Standard_D2ds_v4 GeneralPurpose ``` This cmdlet gets PostgreSql servers with default context. ### Example 2: Get PostgreSql server by resource group and server name ```powershell -PS C:\> Get-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -Name postgresql-test +PS C:\> Get-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -Name PostgreSql-test -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ---------------- ------------- -postgresql-test-11 eastus postgresql-test 12 32768 Standard_D2s_v3 GeneralPurpose +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +postgresql-test-11 eastus postgresql-test 5.7 32768 Standard_D2s_v3 GeneralPurpose ``` This cmdlet gets PostgreSql servers by resource group and server name. @@ -24,22 +24,22 @@ This cmdlet gets PostgreSql servers by resource group and server name. ```powershell PS C:\> Get-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ---------------- ------------- -postgresql-test-11 eastus postgresql-test 12 32768 Standard_D2s_v3 GeneralPurpose -postgresql-test-12 eastus postgresql-test2 12 32768 Standard_D4s_v3 GeneralPurpose +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +postgresql-test-11 eastus postgresql-test 5.7 32768 Standard_D2s_v3 GeneralPurpose +postgresql-test-12 eastus postgresql-test2 5.7 32768 Standard_D2s_v3 GeneralPurpose ``` This cmdlet lists all the PostgreSql servers in the specified resource group. ### Example 4: Get PostgreSql server by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test" PS C:\> Get-AzPostgreSqlFlexibleServer -InputObject $ID -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ---------------- ------------- -postgresql-test-11 eastus postgresql-test 12 32768 Standard_D2s_v3 GeneralPurpose +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +postgresql-test-11 eastus postgresql-test 12 32768 Standard_D2s_v3 GeneralPurpose ``` This cmdlet lists gets PostgreSql servers by identity. \ No newline at end of file diff --git a/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServerConfiguration.md b/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServerConfiguration.md index a19b2f82f939..52dd00dde7ba 100644 --- a/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServerConfiguration.md +++ b/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServerConfiguration.md @@ -20,16 +20,4 @@ application_name "" "" system-default [A-Za-z0-9._-]* String pgbouncer.enabled false false system-default true, false Boolean ``` -This cmdlet lists all configurations in specified PostgreSql server. - -### Example 3: List configuration by identity -```powershell -PS C:\> $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSql/flexibleServers/$($env.serverName)/configurations/work_mem" -Get-AzMySqlFlexibleServerConfiguration -Name work_mem -ResourceGroupName PowershellMySqlTest -ServerName mysql-test - -Name Value DefaultValue Source AllowedValues DataType ----- ------ ------------ ------- ------------- --------- -work_mem 4096 4096 system-default 4096-2097151 Integer -``` - -This cmdlet gets specified PostgreSql configuration by identity. \ No newline at end of file +This cmdlet lists all configurations in specified PostgreSql server. \ No newline at end of file diff --git a/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServerFirewallRule.md index 9cd911b7a278..aa033b0bb8dc 100644 --- a/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServerFirewallRule.md +++ b/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServerFirewallRule.md @@ -11,7 +11,7 @@ This cmdlet gets firewall rules by name. ### Example 2: Get firewall rules by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/servers/postgresql-test/firewallRules/firewallrule-test" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test/firewallRules/firewallrule-test" PS C:\> Get-AzPostgreSqlFlexibleServerFirewallRule -InputObject $ID FirewallRuleName StartIPAddress EndIPAddress diff --git a/src/PostgreSql/examples/New-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/examples/New-AzPostgreSqlFlexibleServer.md index fed30d375d0b..310e33061072 100644 --- a/src/PostgreSql/examples/New-AzPostgreSqlFlexibleServer.md +++ b/src/PostgreSql/examples/New-AzPostgreSqlFlexibleServer.md @@ -1,21 +1,68 @@ -### Example 1: Create a new PostgreSql flexible server +### Example 1: Create a new PostgreSql flexible server with parameters ```powershell -PS C:\> $password = 'Pa88word!' | ConvertTo-SecureString -AsPlainText -Force PS C:\> New-AzPostgreSqlFlexibleServer -Name postgresql-test -ResourceGroupName PowershellPostgreSqlTest \ --Location eastus -AdministratorUserName postgresql_test -AdministratorLoginPassword $password -Sku Standard_B1ms -SkuTier Burstable +-Location eastus -AdministratorUserName postgresqltest -AdministratorLoginPassword $password -Sku Standard_B1ms -SkuTier Burstable -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ---------------- ------------- -postgresql-test westus2 postgresql_test 12 131072 Standard_B1ms Burstable +Creating new vnet {vnetName} in resource group {resourceGroupName}... +Creating new subnet {subnetName} in resource group {resourceGroupName} and delegating it to "Microsoft.DBforPostgreSQL/flexibleServers"... +Creating PostgreSql server {serverName} in group {resourceGroupName}... +Your server is using sku 'Standard_B1ms' (paid tier). Please refer to https://aka.ms/postgresql-pricing for pricing details. +Creating PostgreSql database {dbname}... +"connectionString": "postgresql://{username}:{password}@{servername}.postgres.database.azure.com/postgres?sslmode=require", +"databaseName": "{dbname}", +"host": "{servername}.PostgreSql.database.azure.com", +"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreS!L/flexibleServers/{serverName}", +"location": "East US", +"version": "12", +"username": "{username}", +"password": "{password}", +"skuname": "Standard_B1ms" ``` -### Example 2: Create a new PostgreSql flexible server with default parameters + +The cmdlet generates a server with the given parameters and output important information in a visible format. The server creation automatically generates vnet, subnet, and database in the resource group. + +### Example 2: Create a new PostgreSql flexible server without parameters +```powershell +PS C:\> New-AzPostgreSqlFlexibleServer + +Creating Resource Group {resourceGroupName}... +Creating new vnet {vnetName} in resource group {resourceGroupName}... +Creating new subnet {subnetName} in resource group {resourceGroupName} and delegating it to "Microsoft.DBforPostgreSql/flexibleServers"... +Creating PostgreSql server {serverName} in group {resourceGroupName}... +Your server is using sku 'Standard_D2s_v3' (paid tier). Please refer to https://aka.ms/postgresql-pricing for pricing details. +Creating PostgreSql database {dbname}... +"connectionString": "postgresql://{username}:{password}@{servername}.postgres.database.azure.com/postgres?sslmode=require", +"databaseName": "flexibleserverdb", +"host": "{servername}.PostgreSql.database.azure.com", +"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSql/flexibleServers/{serverName}", +"location": "East US", +"version": "12", +"username": "{username}", +"password": "{password}", +"skuname": "Standard_D2s_v3" +``` + +When no parameters are given, the cmdlet automatically generates necessary resources such as resource group, vnet, and database. The SKU and storage profile are set to default values. + +### Example 3: Create a new PostgreSql flexible server with public access to all IPs ```powershell -PS C:\> $password = 'Pa88word!' | ConvertTo-SecureString -AsPlainText -Force -PS C:\> New-AzPostgreSqlFlexibleServer -Name postgresql-test -ResourceGroupName PowershellPostgreSqlTest -AdministratorUserName postgresql_test -AdministratorLoginPassword $password +PS C:\> New-AzPostgreSqlFlexibleServer -PublicAccess all -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ---------------- ------------- -postgresql-test westus2 postgresql_test 12 131072 Standard_D2s_v3 GeneralPurpose +Creating Resource Group {resourceGroupName}... +Configurint server firewall rule to accept connections from '0.0.0.0' to '255.255.255.255'... +Creating PostgreSql server {serverName} in group {resourceGroupName}... +Your server is using sku 'Standard_D2s_v3' (paid tier). Please refer to https://aka.ms/postgresql-pricing for pricing details. +Creating PostgreSql database {dbname}... +"connectionString": "postgresql://{username}:{password}@{servername}.postgres.database.azure.com/postgres?sslmode=require", +"firewallName": "{firewallRuleName}", +"databaseName": "flexibleserverdb", +"host": "{serverName}.PostgreSql.database.azure.com", +"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}", +"location": "East US", +"version": "12", +"username": "{username}", +"password": "{password}", +"skuname": "Standard_D2s_v3" ``` -When no parameters are given, the default values for SKU, SKU tier, storage size, and location are given. \ No newline at end of file +The cmdlet generates a server without given parameters and automatically generates necessary resources such as resource group, subnet, and database. The SKU and storage profile are set to default values. diff --git a/src/PostgreSql/examples/Remove-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/examples/Remove-AzPostgreSqlFlexibleServer.md index 23bdd0977c95..fc80a337cecb 100644 --- a/src/PostgreSql/examples/Remove-AzPostgreSqlFlexibleServer.md +++ b/src/PostgreSql/examples/Remove-AzPostgreSqlFlexibleServer.md @@ -8,7 +8,7 @@ This cmdlet removes PostgreSql server by resourceGroup and server name. ### Example 2: Remove PostgreSql server by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test" PS C:\> Remove-AzPostgreSqlFlexibleServer -InputObject $ID ``` diff --git a/src/PostgreSql/examples/Remove-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSql/examples/Remove-AzPostgreSqlFlexibleServerFirewallRule.md index 674198427a43..0a3141303005 100644 --- a/src/PostgreSql/examples/Remove-AzPostgreSqlFlexibleServerFirewallRule.md +++ b/src/PostgreSql/examples/Remove-AzPostgreSqlFlexibleServerFirewallRule.md @@ -8,7 +8,7 @@ This cmdlet removes PostgreSql Firewall Rule by name. ### Example 2: Remove PostgreSql Firewall Rule by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test/firewallRules/firewall-rule-test" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test/firewallRules/firewall-rule-test" PS C:\> Remove-AzPostgreSqlFlexibleServerFirewallRule -InputObject $ID ``` diff --git a/src/PostgreSql/examples/Restart-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/examples/Restart-AzPostgreSqlFlexibleServer.md index 49735b12ee92..b98662af22aa 100644 --- a/src/PostgreSql/examples/Restart-AzPostgreSqlFlexibleServer.md +++ b/src/PostgreSql/examples/Restart-AzPostgreSqlFlexibleServer.md @@ -7,7 +7,7 @@ Restart the server by name ### Example 2: Restart the server by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test/restart" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test/restart" PS C:\> Restart-AzPostgreSqlFlexibleServer -InputObject $ID ``` diff --git a/src/PostgreSql/examples/Start-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/examples/Start-AzPostgreSqlFlexibleServer.md index aa41c5ace255..21b6b0e9d1ed 100644 --- a/src/PostgreSql/examples/Start-AzPostgreSqlFlexibleServer.md +++ b/src/PostgreSql/examples/Start-AzPostgreSqlFlexibleServer.md @@ -7,7 +7,7 @@ Start the server by name ### Example 2: Start the server by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test/start" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test/start" PS C:\> Start-AzPostgreSqlFlexibleServer -InputObject $ID ``` diff --git a/src/PostgreSql/examples/Stop-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/examples/Stop-AzPostgreSqlFlexibleServer.md index c37f8644f465..ed8b0fd57fc7 100644 --- a/src/PostgreSql/examples/Stop-AzPostgreSqlFlexibleServer.md +++ b/src/PostgreSql/examples/Stop-AzPostgreSqlFlexibleServer.md @@ -8,7 +8,7 @@ Stop the server by name ### Example 2: Stop the server by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test/stop" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test/stop" PS C:\> Stop-AzPostgreSqlFlexibleServer -InputObject $ID ``` diff --git a/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServer.md index 90f99a218e73..abe60be1c4ff 100644 --- a/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServer.md +++ b/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServer.md @@ -2,9 +2,9 @@ ```powershell PS C:\> Update-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -Name postgresql-test -Sku Standard_D4s_v3 -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ---------------- ------------- -postgresql-test-11 eastus PostgreSql_test 12 5120 Standard_D4s_v3 GeneralPurpose +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +postgresql-test-11 eastus PostgreSql_test 12 5120 Standard_D4s_v3 GeneralPurpose ``` This cmdlet updates PostgreSql server by resource group and server name. @@ -13,9 +13,9 @@ This cmdlet updates PostgreSql server by resource group and server name. ```powershell PS C:\> Get-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test | Update-AzPostgreSqlFlexibleServer -BackupRetentionDay 23 -StorageMb 10240 -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ---------------- ------------- -postgresql-test-11 eastus PostgreSql_test 12 10240 Standard_D2ds_v4 GeneralPurpose +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +postgresql-test-11 eastus PostgreSql_test 12 5120 Standard_D2ds_v4 GeneralPurpose ``` This cmdlet updates PostgreSql server by identity. diff --git a/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServerConfiguration.md b/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServerConfiguration.md index 4079abd684c3..093355d11d50 100644 --- a/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServerConfiguration.md +++ b/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServerConfiguration.md @@ -1,23 +1,18 @@ -### Example 1: Update PostgreSql configuration by name +### Example 1: {{ Add title here }} ```powershell -PS C:\> Update-AzPostgreSqlFlexibleServer -Name work_mem -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test -Value 10240 +PS C:\> {{ Add code here }} -Name Value DefaultValue Source AllowedValues DataType ----- ------ ------------ ---------- ------------- --------- -work_mem 10240 4096 user-override 4096-2097151 Integer +{{ Add output here }} ``` -This cmdlet updates PostgreSql configuration by name. +{{ Add description here }} -### Example 2: Update PostgreSql configuration by identity. +### Example 2: {{ Add title here }} ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test/configurations/work_mem" -PS C:\> Update-AzPostgreSqlFlexibleServer -InputObject $ID -Value 10240 +PS C:\> {{ Add code here }} -Name Value DefaultValue Source AllowedValues DataType ----- ------ ------------ ------- ------------- --------- -work_mem 10240 4096 user-override 1-31536000 Integer +{{ Add output here }} ``` -These cmdlets update PostgreSql configuration by identity. +{{ Add description here }} diff --git a/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServerFirewallRule.md index d4eb3dcf2fa0..20121400a721 100644 --- a/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServerFirewallRule.md +++ b/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServerFirewallRule.md @@ -11,7 +11,7 @@ This cmdlet updates PostgreSql Firewall Rule by name. ### Example 2: Update PostgreSql Firewall Rule by identity. ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test/firewallRules/rule" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test/firewallRules/rule" PS C:\> Update-AzPostgreSqlFlexibleServerFirewallRule -InputObject $ID -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 Name StartIPAddress EndIPAddress From 07ece3b78f7b26bf2ac7ef3a1cc2ca31cc86caf2 Mon Sep 17 00:00:00 2001 From: Daeun Yim Date: Fri, 13 Nov 2020 10:55:54 -0800 Subject: [PATCH 18/51] align single server test with flexible server --- src/MySql/docs/Az.MySql.md | 3 - ...qlFlexibleServerLocationBasedCapability.md | 114 ------ ...qlFlexibleServerLocationBasedCapability.md | 28 -- src/MySql/readme.md | 2 +- src/MySql/test/Az.MySql-TestResults.xml | 361 +++++++++++++----- .../Get-AzMySqlConfiguration.Recording.json | 18 +- .../test/Get-AzMySqlConfiguration.Tests.ps1 | 2 +- ...Get-AzMySqlConnectionString.Recording.json | 48 +-- .../Get-AzMySqlFirewallRule.Recording.json | 120 +++--- .../test/Get-AzMySqlFirewallRule.Tests.ps1 | 2 +- ...bleServerLocationBasedCapability.Tests.ps1 | 18 - .../test/Get-AzMySqlReplica.Recording.json | 116 +++--- .../test/Get-AzMySqlServer.Recording.json | 24 +- src/MySql/test/Get-AzMySqlServer.Tests.ps1 | 2 +- ...t-AzMySqlVirtualNetworkRule.Recording.json | 126 +++--- .../Get-AzMySqlVirtualNetworkRule.Tests.ps1 | 3 +- .../New-AzMySqlFirewallRule.Recording.json | 102 ++--- .../test/New-AzMySqlReplica.Recording.json | 114 +++--- .../test/New-AzMySqlServer.Recording.json | 38 +- .../New-AzMySqlServerReplica.Recording.json | 118 +++--- ...w-AzMySqlVirtualNetworkRule.Recording.json | 36 +- .../Remove-AzMySqlFirewallRule.Recording.json | 68 ++-- .../test/Remove-AzMySqlFirewallRule.Tests.ps1 | 2 +- .../test/Remove-AzMySqlServer.Recording.json | 76 ++-- src/MySql/test/Remove-AzMySqlServer.Tests.ps1 | 2 +- ...e-AzMySqlVirtualNetworkRule.Recording.json | 72 ++-- ...Remove-AzMySqlVirtualNetworkRule.Tests.ps1 | 2 +- .../test/Restart-AzMySqlServer.Recording.json | 56 +-- .../test/Restart-AzMySqlServer.Tests.ps1 | 2 +- .../test/Restore-AzMySqlServer.Recording.json | 250 ++++++------ ...Update-AzMySqlConfiguration.Recording.json | 36 +- .../Update-AzMySqlConfiguration.Tests.ps1 | 2 +- .../Update-AzMySqlFirewallRule.Recording.json | 104 ++--- .../test/Update-AzMySqlFirewallRule.Tests.ps1 | 2 +- .../test/Update-AzMySqlServer.Recording.json | 42 +- ...e-AzMySqlVirtualNetworkRule.Recording.json | 112 +++--- ...Update-AzMySqlVirtualNetworkRule.Tests.ps1 | 2 +- src/MySql/test/env.json | 3 +- src/MySql/test/localEnv.json | 16 +- src/MySql/test/utils.ps1 | 15 +- src/PostgreSql/docs/Az.PostgreSql.md | 3 - ...qlFlexibleServerLocationBasedCapability.md | 155 -------- ...qlFlexibleServerLocationBasedCapability.md | 27 -- src/PostgreSql/readme.md | 2 +- ...t-AzPostgreSqlConfiguration.Recording.json | 18 +- .../Get-AzPostgreSqlConfiguration.Tests.ps1 | 2 +- ...zPostgreSqlConnectionString.Recording.json | 60 +-- ...et-AzPostgreSqlFirewallRule.Recording.json | 120 +++--- .../Get-AzPostgreSqlFirewallRule.Tests.ps1 | 2 +- ...-AzPostgreSqlFlexibleServer.Recording.json | 16 +- ...FlexibleServerConfiguration.Recording.json | 18 +- ...lFlexibleServerFirewallRule.Recording.json | 24 +- ...bleServerLocationBasedCapability.Tests.ps1 | 22 -- .../Get-AzPostgreSqlReplica.Recording.json | 96 ++--- .../Get-AzPostgreSqlServer.Recording.json | 24 +- .../test/Get-AzPostgreSqlServer.Tests.ps1 | 2 +- ...ostgreSqlVirtualNetworkRule.Recording.json | 126 +++--- ...t-AzPostgreSqlVirtualNetworkRule.Tests.ps1 | 2 +- ...ew-AzPostgreSqlFirewallRule.Recording.json | 102 ++--- ...-AzPostgreSqlFlexibleServer.Recording.json | 10 +- ...lFlexibleServerFirewallRule.Recording.json | 36 +- .../New-AzPostgreSqlReplica.Recording.json | 86 ++--- .../New-AzPostgreSqlServer.Recording.json | 38 +- ...ostgreSqlVirtualNetworkRule.Recording.json | 36 +- ...ve-AzPostgreSqlFirewallRule.Recording.json | 68 ++-- .../Remove-AzPostgreSqlFirewallRule.Tests.ps1 | 2 +- ...-AzPostgreSqlFlexibleServer.Recording.json | 18 +- ...lFlexibleServerFirewallRule.Recording.json | 24 +- .../Remove-AzPostgreSqlServer.Recording.json | 76 ++-- .../test/Remove-AzPostgreSqlServer.Tests.ps1 | 2 +- ...ostgreSqlVirtualNetworkRule.Recording.json | 72 ++-- ...e-AzPostgreSqlVirtualNetworkRule.Tests.ps1 | 2 +- ...-AzPostgreSqlFlexibleServer.Recording.json | 12 +- .../Restart-AzPostgreSqlServer.Recording.json | 88 ++--- .../test/Restart-AzPostgreSqlServer.Tests.ps1 | 2 +- ...-AzPostgreSqlFlexibleServer.Recording.json | 12 +- .../Restore-AzPostgreSqlServer.Recording.json | 270 ++++++------- ...-AzPostgreSqlFlexibleServer.Recording.json | 24 +- ...-AzPostgreSqlFlexibleServer.Recording.json | 18 +- ...e-AzPostgreSqlConfiguration.Recording.json | 36 +- ...Update-AzPostgreSqlConfiguration.Tests.ps1 | 2 +- ...te-AzPostgreSqlFirewallRule.Recording.json | 104 ++--- .../Update-AzPostgreSqlFirewallRule.Tests.ps1 | 2 +- ...-AzPostgreSqlFlexibleServer.Recording.json | 20 +- ...FlexibleServerConfiguration.Recording.json | 20 +- ...lFlexibleServerFirewallRule.Recording.json | 40 +- .../Update-AzPostgreSqlServer.Recording.json | 42 +- ...ostgreSqlVirtualNetworkRule.Recording.json | 112 +++--- ...e-AzPostgreSqlVirtualNetworkRule.Tests.ps1 | 2 +- src/PostgreSql/test/env.json | 12 +- src/PostgreSql/test/localEnv.json | 19 +- src/PostgreSql/test/utils.ps1 | 24 +- 92 files changed, 2115 insertions(+), 2296 deletions(-) delete mode 100644 src/MySql/docs/Get-AzMySqlFlexibleServerLocationBasedCapability.md delete mode 100644 src/MySql/examples/Get-AzMySqlFlexibleServerLocationBasedCapability.md delete mode 100644 src/MySql/test/Get-AzMySqlFlexibleServerLocationBasedCapability.Tests.ps1 delete mode 100644 src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerLocationBasedCapability.md delete mode 100644 src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServerLocationBasedCapability.md delete mode 100644 src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerLocationBasedCapability.Tests.ps1 diff --git a/src/MySql/docs/Az.MySql.md b/src/MySql/docs/Az.MySql.md index 1677b8b41651..38b18df45d6b 100644 --- a/src/MySql/docs/Az.MySql.md +++ b/src/MySql/docs/Az.MySql.md @@ -32,9 +32,6 @@ Gets information about a database. ### [Get-AzMySqlFlexibleServerFirewallRule](Get-AzMySqlFlexibleServerFirewallRule.md) Gets information about a server firewall rule. -### [Get-AzMySqlFlexibleServerLocationBasedCapability](Get-AzMySqlFlexibleServerLocationBasedCapability.md) -Get capabilities at specified location in a given subscription. - ### [Get-AzMySqlFlexibleServerReplica](Get-AzMySqlFlexibleServerReplica.md) List all the replicas for a given server. diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServerLocationBasedCapability.md b/src/MySql/docs/Get-AzMySqlFlexibleServerLocationBasedCapability.md deleted file mode 100644 index ca2e0198d11c..000000000000 --- a/src/MySql/docs/Get-AzMySqlFlexibleServerLocationBasedCapability.md +++ /dev/null @@ -1,114 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserverlocationbasedcapability -schema: 2.0.0 ---- - -# Get-AzMySqlFlexibleServerLocationBasedCapability - -## SYNOPSIS -Get capabilities at specified location in a given subscription. - -## SYNTAX - -``` -Get-AzMySqlFlexibleServerLocationBasedCapability -LocationName [-SubscriptionId ] - [-DefaultProfile ] [] -``` - -## DESCRIPTION -Get capabilities at specified location in a given subscription. - -## EXAMPLES - -### Example 1: List available SKUs and their properties in the location -```powershell -PS C:\> Get-AzMySqlFlexibleServerLocationBasedCapability -Location eastus -For prices please refer to https://aka.ms/mysql-pricing - -SKU Tier VCore Memory Max Disk IOPS ------------------ --------------- ------- -------- --------------- -Standard_B1s Burstable 1 1 GiB 320 -Standard_B1ms Burstable 1 2 GiB 640 -Standard_B2s Burstable 2 4 GiB 1280 -Standard_D2ds_v4 GeneralPurpose 2 8 GiB 3200 -Standard_D4ds_v4 GeneralPurpose 4 16 GiB 6400 -Standard_D8ds_v4 GeneralPurpose 8 32 GiB 12800 -Standard_D16ds_v4 GeneralPurpose 16 64 GiB 20000 -Standard_D32ds_v4 GeneralPurpose 32 128 GiB 20000 -Standard_D48ds_v4 GeneralPurpose 48 192 GiB 20000 -Standard_D64ds_v4 GeneralPurpose 64 256 GiB 20000 -Standard_E2ds_v4 MemoryOptimized 2 16 GiB 3200 -Standard_E4ds_v4 MemoryOptimized 4 32 GiB 6400 -Standard_E8ds_v4 MemoryOptimized 8 64 GiB 12800 -Standard_E16ds_v4 MemoryOptimized 16 128 GiB 20000 -Standard_E32ds_v4 MemoryOptimized 32 256 GiB 20000 -Standard_E48ds_v4 MemoryOptimized 48 384 GiB 20000 -Standard_E64ds_v4 MemoryOptimized 64 512 GiB 20000 -``` - -Provide available skus in the location - -## PARAMETERS - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -LocationName -The name of the location. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String[] -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ICapabilityProperties - -## NOTES - -ALIASES - -## RELATED LINKS - diff --git a/src/MySql/examples/Get-AzMySqlFlexibleServerLocationBasedCapability.md b/src/MySql/examples/Get-AzMySqlFlexibleServerLocationBasedCapability.md deleted file mode 100644 index 456f513fbeaf..000000000000 --- a/src/MySql/examples/Get-AzMySqlFlexibleServerLocationBasedCapability.md +++ /dev/null @@ -1,28 +0,0 @@ -### Example 1: List available SKUs and their properties in the location - -```powershell -PS C:\> Get-AzMySqlFlexibleServerLocationBasedCapability -Location eastus -For prices please refer to https://aka.ms/mysql-pricing - -SKU Tier VCore Memory Max Disk IOPS ------------------ --------------- ------- -------- --------------- -Standard_B1s Burstable 1 1 GiB 320 -Standard_B1ms Burstable 1 2 GiB 640 -Standard_B2s Burstable 2 4 GiB 1280 -Standard_D2ds_v4 GeneralPurpose 2 8 GiB 3200 -Standard_D4ds_v4 GeneralPurpose 4 16 GiB 6400 -Standard_D8ds_v4 GeneralPurpose 8 32 GiB 12800 -Standard_D16ds_v4 GeneralPurpose 16 64 GiB 20000 -Standard_D32ds_v4 GeneralPurpose 32 128 GiB 20000 -Standard_D48ds_v4 GeneralPurpose 48 192 GiB 20000 -Standard_D64ds_v4 GeneralPurpose 64 256 GiB 20000 -Standard_E2ds_v4 MemoryOptimized 2 16 GiB 3200 -Standard_E4ds_v4 MemoryOptimized 4 32 GiB 6400 -Standard_E8ds_v4 MemoryOptimized 8 64 GiB 12800 -Standard_E16ds_v4 MemoryOptimized 16 128 GiB 20000 -Standard_E32ds_v4 MemoryOptimized 32 256 GiB 20000 -Standard_E48ds_v4 MemoryOptimized 48 384 GiB 20000 -Standard_E64ds_v4 MemoryOptimized 64 512 GiB 20000 -``` - -Provide available skus in the location \ No newline at end of file diff --git a/src/MySql/readme.md b/src/MySql/readme.md index 368af7d69f41..0ef581d6ec22 100644 --- a/src/MySql/readme.md +++ b/src/MySql/readme.md @@ -81,7 +81,7 @@ directive: hide: true - where: verb: Get$ - subject: ^FlexibleServerVirtualNetworkSubnetUsage$|^FlexibleServerLocationBasedPerformanceTier$ + subject: ^FlexibleServerVirtualNetworkSubnetUsage$|^FlexibleServerLocationBasedCapability$ hide: true - where: verb: Test$ diff --git a/src/MySql/test/Az.MySql-TestResults.xml b/src/MySql/test/Az.MySql-TestResults.xml index e10df6fb115b..92794ed677db 100644 --- a/src/MySql/test/Az.MySql-TestResults.xml +++ b/src/MySql/test/Az.MySql-TestResults.xml @@ -1,217 +1,400 @@  - - + + - + - + - + - - - - + + + - + - + - - - + + - + - + - - - + + + - + - + - - - + + + + - + - + - + + + - + - + - + + + - + - + - + + + - + - + - + - + - + - - - + - + - + - + + + + - + - + - - + + + - + - + - - + + + - + - + - - + - + - + - - + - + - + - + + + - + - + - - + - + - + - - + - + - + - - + - + - + - - + - + - + - - + + - + - + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/MySql/test/Get-AzMySqlConfiguration.Recording.json b/src/MySql/test/Get-AzMySqlConfiguration.Recording.json index 0849b54d8500..bb8a9f595bd9 100644 --- a/src/MySql/test/Get-AzMySqlConfiguration.Recording.json +++ b/src/MySql/test/Get-AzMySqlConfiguration.Recording.json @@ -1,8 +1,8 @@ { - "Get-AzMySqlConfiguration+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations?api-version=2017-12-01+1": { + "Get-AzMySqlConfiguration+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1" ], @@ -35,13 +35,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"properties\":{\"value\":\"OFF\",\"description\":\"Allow to audit the log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/audit_log_enabled\",\"name\":\"audit_log_enabled\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"CONNECTION\",\"description\":\"Select the events to audit logs.\",\"defaultValue\":\"CONNECTION\",\"dataType\":\"Set\",\"allowedValues\":\"DDL,DML_SELECT,DML_NONSELECT,DCL,ADMIN,DML,GENERAL,CONNECTION,TABLE_ACCESS\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/audit_log_events\",\"name\":\"audit_log_events\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"azure_superuser\",\"description\":\"The comma-separated user list whose commands will not be in the audit logs.\",\"defaultValue\":\"azure_superuser\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/audit_log_exclude_users\",\"name\":\"audit_log_exclude_users\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"The comma-separated user list whose commands will be in the audit logs. It takes higher priority if the same user name is found in audit_log_exclude_users.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/audit_log_include_users\",\"name\":\"audit_log_include_users\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The number of seconds for automatic binary log file removal. The default is 0, which means no automatic removal. Possible removals happen at startup and when the binary log is flushed.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/binlog_expire_logs_seconds\",\"name\":\"binlog_expire_logs_seconds\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Controls how many microseconds the binary log commit waits before synchronizing the binary log file to disk.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0,11-1000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/binlog_group_commit_sync_delay\",\"name\":\"binlog_group_commit_sync_delay\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The maximum number of transactions to wait for before aborting the current delay as specified by binlog-group-commit-sync-delay.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/binlog_group_commit_sync_no_delay_count\",\"name\":\"binlog_group_commit_sync_no_delay_count\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"minimal\",\"description\":\"For MySQL row-based replication, this variable determines how row images are written to the binary log.\",\"defaultValue\":\"minimal\",\"dataType\":\"Enumeration\",\"allowedValues\":\"full,minimal,noblob\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/binlog_row_image\",\"name\":\"binlog_row_image\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"30\",\"description\":\"The binlog max capacity for stop.\",\"defaultValue\":\"30\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/binlog_sum_size_for_stop_pct_max\",\"name\":\"binlog_sum_size_for_stop_pct_max\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"latin1\",\"description\":\"Use charset_name as the default server character set.\",\"defaultValue\":\"latin1\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ARMSCII8,ASCII,BIG5,BINARY,CP1250,CP1251,CP1256,CP1257,CP850,CP852,CP866,CP932,DEC8,EUCJPMS,EUCKR,GB18030,GB2312,GBK,GEOSTD8,GREEK,HEBREW,HP8,KEYBCS2,KOI8R,KOI8U,LATIN1,LATIN2,LATIN5,LATIN7,MACCE,MACROMAN,SJIS,SWE7,TIS620,UCS2,UJIS,UTF16,UTF16LE,UTF32,UTF8,UTF8MB4\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/character_set_server\",\"name\":\"character_set_server\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"latin1_swedish_ci\",\"description\":\"The server\u0027s default collation.\",\"defaultValue\":\"latin1_swedish_ci\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ARMSCII8_BIN,ARMSCII8_GENERAL_CI,ASCII_BIN,ASCII_GENERAL_CI,BIG5_BIN,BIG5_CHINESE_CI,BINARY,CP1250_BIN,CP1250_CROATIAN_CI,CP1250_CZECH_CS,CP1250_GENERAL_CI,CP1250_POLISH_CI,CP1251_BIN,CP1251_BULGARIAN_CI,CP1251_GENERAL_CI,CP1251_GENERAL_CS,CP1251_UKRAINIAN_CI,CP1256_BIN,CP1256_GENERAL_CI,CP1257_BIN,CP1257_GENERAL_CI,CP1257_LITHUANIAN_CI,CP850_BIN,CP850_GENERAL_CI,CP852_BIN,CP852_GENERAL_CI,CP866_BIN,CP866_GENERAL_CI,CP932_BIN,CP932_JAPANESE_CI,DEC8_BIN,DEC8_SWEDISH_CI,EUCJPMS_BIN,EUCJPMS_JAPANESE_CI,EUCKR_BIN,EUCKR_KOREAN_CI,GB18030_BIN,GB18030_CHINESE_CI,GB18030_UNICODE_520_CI,GB2312_BIN,GB2312_CHINESE_CI,GBK_BIN,GBK_CHINESE_CI,GEOSTD8_BIN,GEOSTD8_GENERAL_CI,GREEK_BIN,GREEK_GENERAL_CI,HEBREW_BIN,HEBREW_GENERAL_CI,HP8_BIN,HP8_ENGLISH_CI,KEYBCS2_BIN,KEYBCS2_GENERAL_CI,KOI8R_BIN,KOI8R_GENERAL_CI,KOI8U_BIN,KOI8U_GENERAL_CI,LATIN1_BIN,LATIN1_DANISH_CI,LATIN1_GENERAL_CI,LATIN1_GENERAL_CS,LATIN1_GERMAN1_CI,LATIN1_GERMAN2_CI,LATIN1_SPANISH_CI,LATIN1_SWEDISH_CI,LATIN2_BIN,LATIN2_CROATIAN_CI,LATIN2_CZECH_CS,LATIN2_GENERAL_CI,LATIN2_HUNGARIAN_CI,LATIN5_BIN,LATIN5_TURKISH_CI,LATIN7_BIN,LATIN7_ESTONIAN_CS,LATIN7_GENERAL_CI,LATIN7_GENERAL_CS,MACCE_BIN,MACCE_GENERAL_CI,MACROMAN_BIN,MACROMAN_GENERAL_CI,SJIS_BIN,SJIS_JAPANESE_CI,SWE7_BIN,SWE7_SWEDISH_CI,TIS620_BIN,TIS620_THAI_CI,UCS2_BIN,UCS2_CROATIAN_CI,UCS2_CZECH_CI,UCS2_DANISH_CI,UCS2_ESPERANTO_CI,UCS2_ESTONIAN_CI,UCS2_GENERAL_CI,UCS2_GENERAL_MYSQL500_CI,UCS2_GERMAN2_CI,UCS2_HUNGARIAN_CI,UCS2_ICELANDIC_CI,UCS2_LATVIAN_CI,UCS2_LITHUANIAN_CI,UCS2_PERSIAN_CI,UCS2_POLISH_CI,UCS2_ROMAN_CI,UCS2_ROMANIAN_CI,UCS2_SINHALA_CI,UCS2_SLOVAK_CI,UCS2_SLOVENIAN_CI,UCS2_SPANISH_CI,UCS2_SPANISH2_CI,UCS2_SWEDISH_CI,UCS2_TURKISH_CI,UCS2_UNICODE_520_CI,UCS2_UNICODE_CI,UCS2_VIETNAMESE_CI,UJIS_BIN,UJIS_JAPANESE_CI,UTF16_BIN,UTF16_CROATIAN_CI,UTF16_CZECH_CI,UTF16_DANISH_CI,UTF16_ESPERANTO_CI,UTF16_ESTONIAN_CI,UTF16_GENERAL_CI,UTF16_GERMAN2_CI,UTF16_HUNGARIAN_CI,UTF16_ICELANDIC_CI,UTF16_LATVIAN_CI,UTF16_LITHUANIAN_CI,UTF16_PERSIAN_CI,UTF16_POLISH_CI,UTF16_ROMAN_CI,UTF16_ROMANIAN_CI,UTF16_SINHALA_CI,UTF16_SLOVAK_CI,UTF16_SLOVENIAN_CI,UTF16_SPANISH_CI,UTF16_SPANISH2_CI,UTF16_SWEDISH_CI,UTF16_TURKISH_CI,UTF16_UNICODE_520_CI,UTF16_UNICODE_CI,UTF16_VIETNAMESE_CI,UTF16LE_BIN,UTF16LE_GENERAL_CI,UTF32_BIN,UTF32_CROATIAN_CI,UTF32_CZECH_CI,UTF32_DANISH_CI,UTF32_ESPERANTO_CI,UTF32_ESTONIAN_CI,UTF32_GENERAL_CI,UTF32_GERMAN2_CI,UTF32_HUNGARIAN_CI,UTF32_ICELANDIC_CI,UTF32_LATVIAN_CI,UTF32_LITHUANIAN_CI,UTF32_PERSIAN_CI,UTF32_POLISH_CI,UTF32_ROMAN_CI,UTF32_ROMANIAN_CI,UTF32_SINHALA_CI,UTF32_SLOVAK_CI,UTF32_SLOVENIAN_CI,UTF32_SPANISH_CI,UTF32_SPANISH2_CI,UTF32_SWEDISH_CI,UTF32_TURKISH_CI,UTF32_UNICODE_520_CI,UTF32_UNICODE_CI,UTF32_VIETNAMESE_CI,UTF8_BIN,UTF8_CROATIAN_CI,UTF8_CZECH_CI,UTF8_DANISH_CI,UTF8_ESPERANTO_CI,UTF8_ESTONIAN_CI,UTF8_GENERAL_CI,UTF8_GENERAL_MYSQL500_CI,UTF8_GERMAN2_CI,UTF8_HUNGARIAN_CI,UTF8_ICELANDIC_CI,UTF8_LATVIAN_CI,UTF8_LITHUANIAN_CI,UTF8_PERSIAN_CI,UTF8_POLISH_CI,UTF8_ROMAN_CI,UTF8_ROMANIAN_CI,UTF8_SINHALA_CI,UTF8_SLOVAK_CI,UTF8_SLOVENIAN_CI,UTF8_SPANISH_CI,UTF8_SPANISH2_CI,UTF8_SWEDISH_CI,UTF8_TURKISH_CI,UTF8_UNICODE_520_CI,UTF8_UNICODE_CI,UTF8_VIETNAMESE_CI,UTF8MB4_BIN,UTF8MB4_CROATIAN_CI,UTF8MB4_CZECH_CI,UTF8MB4_DANISH_CI,UTF8MB4_ESPERANTO_CI,UTF8MB4_ESTONIAN_CI,UTF8MB4_GENERAL_CI,UTF8MB4_GERMAN2_CI,UTF8MB4_HUNGARIAN_CI,UTF8MB4_ICELANDIC_CI,UTF8MB4_LATVIAN_CI,UTF8MB4_LITHUANIAN_CI,UTF8MB4_PERSIAN_CI,UTF8MB4_POLISH_CI,UTF8MB4_ROMAN_CI,UTF8MB4_ROMANIAN_CI,UTF8MB4_SINHALA_CI,UTF8MB4_SLOVAK_CI,UTF8MB4_SLOVENIAN_CI,UTF8MB4_SPANISH_CI,UTF8MB4_SPANISH2_CI,UTF8MB4_SWEDISH_CI,UTF8MB4_TURKISH_CI,UTF8MB4_UNICODE_520_CI,UTF8MB4_UNICODE_CI,UTF8MB4_VIETNAMESE_CI\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/collation_server\",\"name\":\"collation_server\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The default mode value to use for the WEEK() function.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-7\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/default_week_format\",\"name\":\"default_week_format\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"Number of digits by which to increase the scale of the result of division operations.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"0-30\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/div_precision_increment\",\"name\":\"div_precision_increment\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"This variable indicates the number of equality ranges in an equality comparison condition when the optimizer should switch from using index dives to index statistics in estimating the number of qualifying rows.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/eq_range_index_dive_limit\",\"name\":\"eq_range_index_dive_limit\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Indicates the status of the Event Scheduler. It is always OFF for a replica server to keep the replication consistency.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/event_scheduler\",\"name\":\"event_scheduler\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"If this is set to a nonzero value, all tables are closed every flush_time seconds to free up resources and synchronize unflushed data to disk.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-8640000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/flush_time\",\"name\":\"flush_time\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"20\",\"description\":\"The number of top matches to use for full-text searches performed using WITH QUERY EXPANSION.\",\"defaultValue\":\"20\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/ft_query_expansion_limit\",\"name\":\"ft_query_expansion_limit\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"Maximum allowed result length in bytes for the GROUP_CONCAT().\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"4-16777216\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/group_concat_max_len\",\"name\":\"group_concat_max_len\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"A string to be executed by the server for each client that connects.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/init_connect\",\"name\":\"init_connect\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Specifies whether to dynamically adjust the rate of flushing dirty pages in the InnoDB buffer pool based on the workload. Adjusting the flush rate dynamically is intended to avoid bursts of I/O activity.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_adaptive_flushing\",\"name\":\"innodb_adaptive_flushing\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Defines the low water mark representing percentage of redo log capacity at which adaptive flushing is enabled.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-70\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_adaptive_flushing_lwm\",\"name\":\"innodb_adaptive_flushing_lwm\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Whether innodb adaptive hash indexes are enabled or disabled.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_adaptive_hash_index\",\"name\":\"innodb_adaptive_hash_index\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"Partitions the adaptive hash index search system. Each index is bound to a specific partition, with each partition protected by a separate latch. \",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"1-512\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_adaptive_hash_index_parts\",\"name\":\"innodb_adaptive_hash_index_parts\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"150000\",\"description\":\"Permits InnoDB to automatically adjust the value of innodb_thread_sleep_delay up or down according to the current workload.\",\"defaultValue\":\"150000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_adaptive_max_sleep_delay\",\"name\":\"innodb_adaptive_max_sleep_delay\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"The increment size (in megabytes) for extending the size of an auto-extending InnoDB system tablespace file when it becomes full.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"1-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_autoextend_increment\",\"name\":\"innodb_autoextend_increment\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"The lock mode to use for generating auto-increment values.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0,1,2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_autoinc_lock_mode\",\"name\":\"innodb_autoinc_lock_mode\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"25\",\"description\":\"Specifies the percentage of the most recently used pages for each buffer pool to read out and dump.\",\"defaultValue\":\"25\",\"dataType\":\"Integer\",\"allowedValues\":\"1-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_buffer_pool_dump_pct\",\"name\":\"innodb_buffer_pool_dump_pct\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"16106127360\",\"description\":\"The size in bytes of the buffer pool, the memory area where InnoDB caches table and index data.\",\"defaultValue\":\"16106127360\",\"dataType\":\"Integer\",\"allowedValues\":\"134217728-16106127360\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_buffer_pool_size\",\"name\":\"innodb_buffer_pool_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"25\",\"description\":\"Maximum size for the InnoDB change buffer, as a percentage of the total size of the buffer pool. You might increase this value for a MySQL server with heavy insert, update, and delete activity, or decrease it for a MySQL server with unchanging data used for reporting.\",\"defaultValue\":\"25\",\"dataType\":\"Integer\",\"allowedValues\":\"0-50\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_change_buffer_max_size\",\"name\":\"innodb_change_buffer_max_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"all\",\"description\":\"Whether InnoDB performs change buffering, an optimization that delays write operations to secondary indexes so that the I/O operations can be performed sequentially.\",\"defaultValue\":\"all\",\"dataType\":\"Enumeration\",\"allowedValues\":\"none,inserts,deletes,changes,purges,all\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_change_buffering\",\"name\":\"innodb_change_buffering\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Enables per-index compression-related statistics in the INFORMATION_SCHEMA.INNODB_CMP_PER_INDEX table. Because these statistics can be expensive to gather, only enable this option on development, test, or slave instances during performance tuning related to InnoDB compressed tables.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_cmp_per_index_enabled\",\"name\":\"innodb_cmp_per_index_enabled\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The number of threads that can commit at the same time. A value of 0 (the default) permits any number of transactions to commit simultaneously. The value of innodb_commit_concurrency cannot be changed at runtime from zero to nonzero or vice versa. The value can be changed from one nonzero value to another.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_commit_concurrency\",\"name\":\"innodb_commit_concurrency\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"5\",\"description\":\"Defines the compression failure rate threshold for a table, as a percentage, at which point MySQL begins adding padding within compressed pages to avoid expensive compression failures.\",\"defaultValue\":\"5\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_compression_failure_threshold_pct\",\"name\":\"innodb_compression_failure_threshold_pct\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"6\",\"description\":\"Specifies the level of zlib compression to use for InnoDB compressed tables and indexes. A higher value lets you fit more data onto a storage device, at the expense of more CPU overhead during compression. A lower value lets you reduce CPU overhead when storage space is not critical, or you expect the data is not especially compressible.\",\"defaultValue\":\"6\",\"dataType\":\"Integer\",\"allowedValues\":\"0-9\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_compression_level\",\"name\":\"innodb_compression_level\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"Specifies the maximum percentage that can be reserved as free space within each compressed page, allowing room to reorganize the data and modification log within the page when a compressed table or index is updated and the data might be recompressed. Only applies when innodb_compression_failure_threshold_pct is set to a nonzero value, and the rate of compression failures passes the cutoff point.\",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"0-75\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_compression_pad_pct_max\",\"name\":\"innodb_compression_pad_pct_max\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"5000\",\"description\":\"Determines the number of threads that can enter InnoDB concurrently.\",\"defaultValue\":\"5000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_concurrency_tickets\",\"name\":\"innodb_concurrency_tickets\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"This option is used to disable deadlock detection. On high concurrency systems, deadlock detection can cause a slowdown when numerous threads wait for the same lock.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_deadlock_detect\",\"name\":\"innodb_deadlock_detect\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"DYNAMIC\",\"description\":\"The innodb_default_row_format option defines the default row format for InnoDB tables and user-created temporary tables.\",\"defaultValue\":\"DYNAMIC\",\"dataType\":\"Enumeration\",\"allowedValues\":\"DYNAMIC,COMPACT,REDUNDANT\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_default_row_format\",\"name\":\"innodb_default_row_format\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"Barracuda\",\"description\":\"Indicates the InnoDB file format for file-per-table tablespaces.\",\"defaultValue\":\"Barracuda\",\"dataType\":\"Enumeration\",\"allowedValues\":\"Antelope,Barracuda\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_file_format\",\"name\":\"innodb_file_format\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"InnoDB stores the data and indexes for each newly created table in a separate .ibd file instead of the system tablespace. It cannot be updated any more for a master/replica server to keep the replication consistency.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_file_per_table\",\"name\":\"innodb_file_per_table\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"InnoDB performs a bulk load when creating or rebuilding indexes.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"10-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_fill_factor\",\"name\":\"innodb_fill_factor\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"8000000\",\"description\":\"The memory allocated, in bytes, for the InnoDB FULLTEXT search index cache, which holds a parsed document in memory while creating an InnoDB FULLTEXT index.\",\"defaultValue\":\"8000000\",\"dataType\":\"Integer\",\"allowedValues\":\"1600000-80000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_ft_cache_size\",\"name\":\"innodb_ft_cache_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Specifies that a set of stopwords is associated with an InnoDB FULLTEXT index at the time the index is created.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_ft_enable_stopword\",\"name\":\"innodb_ft_enable_stopword\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"84\",\"description\":\"Maximum character length of words that are stored in an InnoDB FULLTEXT index.\",\"defaultValue\":\"84\",\"dataType\":\"Integer\",\"allowedValues\":\"10-84\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_ft_max_token_size\",\"name\":\"innodb_ft_max_token_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"3\",\"description\":\"Minimum length of words that are stored in an InnoDB FULLTEXT index.\",\"defaultValue\":\"3\",\"dataType\":\"Integer\",\"allowedValues\":\"0-16\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_ft_min_token_size\",\"name\":\"innodb_ft_min_token_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"2000\",\"description\":\"Number of words to process during each OPTIMIZE TABLE operation on an InnoDB FULLTEXT index.\",\"defaultValue\":\"2000\",\"dataType\":\"Integer\",\"allowedValues\":\"1000-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_ft_num_word_optimize\",\"name\":\"innodb_ft_num_word_optimize\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"2000000000\",\"description\":\"The InnoDB full-text search query result cache limit (defined in bytes) per full-text search query or per thread.\",\"defaultValue\":\"2000000000\",\"dataType\":\"Integer\",\"allowedValues\":\"1000000-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_ft_result_cache_limit\",\"name\":\"innodb_ft_result_cache_limit\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Number of threads used in parallel to index and tokenize text in an InnoDB FULLTEXT index when building a search index.\",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"1-32\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_ft_sort_pll_degree\",\"name\":\"innodb_ft_sort_pll_degree\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"640000000\",\"description\":\"The total memory allocated, in bytes, for the InnoDB full-text search index cache for all tables.\",\"defaultValue\":\"640000000\",\"dataType\":\"Integer\",\"allowedValues\":\"32000000-1280000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_ft_total_cache_size\",\"name\":\"innodb_ft_total_cache_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"Sets an upper limit on I/O activity performed by InnoDB background tasks, such as flushing pages from the buffer pool and merging data from the change buffer.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"100-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_io_capacity\",\"name\":\"innodb_io_capacity\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"2000\",\"description\":\"If flushing activity falls behind, InnoDB can flush more aggressively than the limit imposed by innodb_io_capacity. innodb_io_capacity_max defines an upper limit the number of I/O operations performed per second by InnoDB background tasks in such situations.\",\"defaultValue\":\"2000\",\"dataType\":\"Integer\",\"allowedValues\":\"100-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_io_capacity_max\",\"name\":\"innodb_io_capacity_max\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"When this option is enabled, index key prefixes longer than 767 bytes (up to 3072 bytes) are allowed for InnoDB tables that use DYNAMIC or COMPRESSED row format.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_large_prefix\",\"name\":\"innodb_large_prefix\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"The length of time in seconds an InnoDB transaction waits for a row lock before giving up.\",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"1-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_lock_wait_timeout\",\"name\":\"innodb_lock_wait_timeout\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Specifies whether images of re-compressed pages are written to the redo log.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_log_compressed_pages\",\"name\":\"innodb_log_compressed_pages\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"A parameter that influences the algorithms and heuristics for the flush operation for the InnoDB buffer pool.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"100-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_lru_scan_depth\",\"name\":\"innodb_lru_scan_depth\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"75\",\"description\":\"InnoDB tries to flush data from the buffer pool so that the percentage of dirty pages does not exceed this value.\",\"defaultValue\":\"75\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-99.99\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_max_dirty_pages_pct\",\"name\":\"innodb_max_dirty_pages_pct\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Defines a low water mark representing the percentage of dirty pages at which preflushing is enabled to control the dirty page ratio.\",\"defaultValue\":\"0\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-99.99\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_max_dirty_pages_pct_lwm\",\"name\":\"innodb_max_dirty_pages_pct_lwm\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Defines the maximum length of the purge queue. The default value of 0 indicates no limit (no delays).\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_max_purge_lag\",\"name\":\"innodb_max_purge_lag\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Specifies the maximum delay in microseconds for the delay imposed by the innodb_max_purge_lag configuration option.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-10000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_max_purge_lag_delay\",\"name\":\"innodb_max_purge_lag_delay\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"37\",\"description\":\"Specifies the approximate percentage of the InnoDB buffer pool used for the old block sublist.\",\"defaultValue\":\"37\",\"dataType\":\"Integer\",\"allowedValues\":\"5-95\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_old_blocks_pct\",\"name\":\"innodb_old_blocks_pct\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1000\",\"description\":\"Non-zero values protect against the buffer pool being filled by data that is referenced only for a brief period, such as during a full table scan.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_old_blocks_time\",\"name\":\"innodb_old_blocks_time\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"134217728\",\"description\":\"Specifies an upper limit on the size of the temporary log files used during online DDL operations for InnoDB tables.\",\"defaultValue\":\"134217728\",\"dataType\":\"Integer\",\"allowedValues\":\"65536-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_online_alter_log_max_size\",\"name\":\"innodb_online_alter_log_max_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Changes the way OPTIMIZE TABLE operates on InnoDB tables. Intended to be enabled temporarily, during maintenance operations for InnoDB tables with FULLTEXT indexes.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_optimize_fulltext_only\",\"name\":\"innodb_optimize_fulltext_only\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"The number of page cleaner threads that flush dirty pages from buffer pool instances.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"1-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_page_cleaners\",\"name\":\"innodb_page_cleaners\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"300\",\"description\":\"Defines the number of undo log pages that purge parses and processes in one batch from the history list.\",\"defaultValue\":\"300\",\"dataType\":\"Integer\",\"allowedValues\":\"1-5000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_purge_batch_size\",\"name\":\"innodb_purge_batch_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"128\",\"description\":\"Defines the frequency with which the purge system frees rollback segments in terms of the number of times that purge is invoked. Reducing this value increases the frequency with which the purge thread frees rollback segments.\",\"defaultValue\":\"128\",\"dataType\":\"Integer\",\"allowedValues\":\"1-128\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_purge_rseg_truncate_frequency\",\"name\":\"innodb_purge_rseg_truncate_frequency\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"The number of background threads devoted to the InnoDB purge operation.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"1-32\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_purge_threads\",\"name\":\"innodb_purge_threads\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Enables the random read-ahead technique for optimizing InnoDB I/O.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_random_read_ahead\",\"name\":\"innodb_random_read_ahead\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"56\",\"description\":\"Controls the sensitivity of linear read-ahead that InnoDB uses to prefetch pages into the buffer pool.\",\"defaultValue\":\"56\",\"dataType\":\"Integer\",\"allowedValues\":\"0-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_read_ahead_threshold\",\"name\":\"innodb_read_ahead_threshold\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"The number of I/O threads for read operations in InnoDB.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"1-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_read_io_threads\",\"name\":\"innodb_read_io_threads\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"128\",\"description\":\"Defines the number of rollback segments used by InnoDB.\",\"defaultValue\":\"128\",\"dataType\":\"Integer\",\"allowedValues\":\"1-128\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_rollback_segments\",\"name\":\"innodb_rollback_segments\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Causes InnoDB to automatically recalculate persistent statistics after the data in a table is changed substantially.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_stats_auto_recalc\",\"name\":\"innodb_stats_auto_recalc\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\" Enabled to ensure that InnoDB includes delete-marked records when calculating persistent optimizer statistics.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_stats_include_delete_marked\",\"name\":\"innodb_stats_include_delete_marked\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"nulls_equal\",\"description\":\"How the server treats NULL values when collecting statistics about the distribution of index values for InnoDB tables.\",\"defaultValue\":\"nulls_equal\",\"dataType\":\"Enumeration\",\"allowedValues\":\"nulls_equal,nulls_unequal,nulls_ignored\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_stats_method\",\"name\":\"innodb_stats_method\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This option only applies when optimizer statistics are configured to be non-persistent. When innodb_stats_on_metadata is enabled, InnoDB updates non-persistent statistics when metadata statements such as SHOW TABLE STATUS or when accessing the INFORMATION_SCHEMA.TABLES or INFORMATION_SCHEMA.STATISTICS tables.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_stats_on_metadata\",\"name\":\"innodb_stats_on_metadata\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Specifies whether InnoDB index statistics are persisted to disk. Otherwise, statistics may be recalculated frequently which can lead to variations in query execution plans.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_stats_persistent\",\"name\":\"innodb_stats_persistent\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"20\",\"description\":\"The number of index pages to sample when estimating cardinality and other statistics for an indexed column, such as those calculated by ANALYZE TABLE.\",\"defaultValue\":\"20\",\"dataType\":\"Integer\",\"allowedValues\":\"1-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_stats_persistent_sample_pages\",\"name\":\"innodb_stats_persistent_sample_pages\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"The number of index pages to sample when estimating cardinality and other statistics for an indexed column, such as those calculated by ANALYZE TABLE.\",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"1-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_stats_transient_sample_pages\",\"name\":\"innodb_stats_transient_sample_pages\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Defines the size of the mutex/lock wait array. Increasing the value splits the internal data structure used to coordinate threads, for higher concurrency in workloads with large numbers of waiting threads. \",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"1-1024\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_sync_array_size\",\"name\":\"innodb_sync_array_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"The default value of innodb_table_locks is 1, which means that LOCK TABLES causes InnoDB to lock a table internally if autocommit = 0.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_table_locks\",\"name\":\"innodb_table_locks\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"InnoDB tries to keep the number of operating system threads concurrently inside InnoDB less than or equal to the limit given by this variable.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_thread_concurrency\",\"name\":\"innodb_thread_concurrency\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"10000\",\"description\":\"Defines how long InnoDB threads sleep before joining the InnoDB queue, in microseconds.\",\"defaultValue\":\"10000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_thread_sleep_delay\",\"name\":\"innodb_thread_sleep_delay\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"The number of I/O threads for write operations in InnoDB.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"1-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/innodb_write_io_threads\",\"name\":\"innodb_write_io_threads\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"28800\",\"description\":\"Number of seconds the server waits for activity on an interactive connection before closing it.\",\"defaultValue\":\"28800\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/interactive_timeout\",\"name\":\"interactive_timeout\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"262144\",\"description\":\"The minimum size of the buffer that is used for plain index scans, range index scans, and joins that do not use indexes and thus perform full table scans.\",\"defaultValue\":\"262144\",\"dataType\":\"Integer\",\"allowedValues\":\"128-536870912\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/join_buffer_size\",\"name\":\"join_buffer_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"This variable controls server-side LOCAL capability for LOAD DATA statements.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/local_infile\",\"name\":\"local_infile\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"31536000\",\"description\":\"This variable specifies the timeout in seconds for attempts to acquire metadata locks.\",\"defaultValue\":\"31536000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/lock_wait_timeout\",\"name\":\"lock_wait_timeout\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This variable applies when binary logging is enabled. It controls whether stored function creators can be trusted not to create stored functions that will cause unsafe events to be written to the binary log. It cannot be updated any more for a master/replica server to keep the replication consistency.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/log_bin_trust_function_creators\",\"name\":\"log_bin_trust_function_creators\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"FILE\",\"description\":\"The destination for general query log and slow query log output.\",\"defaultValue\":\"FILE\",\"dataType\":\"Set\",\"allowedValues\":\"FILE,NONE\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/log_output\",\"name\":\"log_output\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Logs queries that are expected to retrieve all rows to slow query log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/log_queries_not_using_indexes\",\"name\":\"log_queries_not_using_indexes\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Include slow administrative statements in the statements written to the slow query log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/log_slow_admin_statements\",\"name\":\"log_slow_admin_statements\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"When the slow query log is enabled, this variable enables logging for queries that have taken more than long_query_time seconds to execute on the slave.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/log_slow_slave_statements\",\"name\":\"log_slow_slave_statements\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Limits the number of such queries per minute that can be written to the slow query log.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/log_throttle_queries_not_using_indexes\",\"name\":\"log_throttle_queries_not_using_indexes\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"If a query takes longer than this many seconds, the server increments the Slow_queries status variable.\",\"defaultValue\":\"10\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/long_query_time\",\"name\":\"long_query_time\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"If set to 1, table names are stored in lowercase on disk and comparisons are not case sensitive. If set to 2, table names are stored as given but compared in lowercase.\",\"defaultValue\":\"1\",\"dataType\":\"Enumeration\",\"allowedValues\":\"1,2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/lower_case_table_names\",\"name\":\"lower_case_table_names\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"536870912\",\"description\":\"The maximum size of one packet or any generated/intermediate string, or any parameter sent by the mysql_stmt_send_long_data() C API function.\",\"defaultValue\":\"536870912\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/max_allowed_packet\",\"name\":\"max_allowed_packet\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"If more than this many successive connection requests from a host are interrupted without a successful connection, the server blocks that host from further connections.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/max_connect_errors\",\"name\":\"max_connect_errors\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"625\",\"description\":\"The maximum permitted number of simultaneous client connections.\",\"defaultValue\":\"625\",\"dataType\":\"Integer\",\"allowedValues\":\"10-1250\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/max_connections\",\"name\":\"max_connections\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"The maximum number of bytes available for computing normalized statement digests.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/max_digest_length\",\"name\":\"max_digest_length\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"The maximum number of error, warning, and note messages to be stored for display by the SHOW ERRORS and SHOW WARNINGS statements.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"0-65535\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/max_error_count\",\"name\":\"max_error_count\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The execution timeout for SELECT statements, in milliseconds. If the value is 0, timeouts are not enabled.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/max_execution_time\",\"name\":\"max_execution_time\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"16777216\",\"description\":\"This variable sets the maximum size to which user-created MEMORY tables are permitted to grow.\",\"defaultValue\":\"16777216\",\"dataType\":\"Integer\",\"allowedValues\":\"16384-536870912\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/max_heap_table_size\",\"name\":\"max_heap_table_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"18446744073709551615\",\"description\":\"Do not permit statements that probably need to examine more than max_join_size rows\",\"defaultValue\":\"18446744073709551615\",\"dataType\":\"Integer\",\"allowedValues\":\"1-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/max_join_size\",\"name\":\"max_join_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"The cutoff on the size of index values that determines which filesort algorithm to use.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"4-8388608\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/max_length_for_sort_data\",\"name\":\"max_length_for_sort_data\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"65536\",\"description\":\"The maximum value of the points_per_circle argument to the ST_Buffer_Strategy() function.\",\"defaultValue\":\"65536\",\"dataType\":\"Integer\",\"allowedValues\":\"3-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/max_points_in_geometry\",\"name\":\"max_points_in_geometry\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"16382\",\"description\":\"This variable limits the total number of prepared statements in the server.\",\"defaultValue\":\"16382\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/max_prepared_stmt_count\",\"name\":\"max_prepared_stmt_count\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4294967295\",\"description\":\"Limit the assumed maximum number of seeks when looking up rows based on a key.\",\"defaultValue\":\"4294967295\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/max_seeks_for_key\",\"name\":\"max_seeks_for_key\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"The number of bytes to use when sorting data values.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"4-8388608\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/max_sort_length\",\"name\":\"max_sort_length\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The number of times that any given stored procedure may be called recursively. The default value for this option is 0, which completely disables recursion in stored procedures.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-255\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/max_sp_recursion_depth\",\"name\":\"max_sp_recursion_depth\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The maximum number of simultaneous connections permitted to any given MySQL user account. A value of 0 (the default) means \u0027no limit.\u0027\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/max_user_connections\",\"name\":\"max_user_connections\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4294967295\",\"description\":\"After this many write locks, permit some pending read lock requests to be processed in between.\",\"defaultValue\":\"4294967295\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/max_write_lock_count\",\"name\":\"max_write_lock_count\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Can be used to cause queries which examine fewer than the stated number of rows not to be logged.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/min_examined_row_limit\",\"name\":\"min_examined_row_limit\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"16384\",\"description\":\"Each client thread is associated with a connection buffer and result buffer. Both begin with a size given by net_buffer_length but are dynamically enlarged up to max_allowed_packet bytes as needed.\",\"defaultValue\":\"16384\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/net_buffer_length\",\"name\":\"net_buffer_length\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"120\",\"description\":\"The number of seconds the server waits for network reading action, especially for LOAD DATA LOCAL FILE.\",\"defaultValue\":\"120\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/net_read_timeout\",\"name\":\"net_read_timeout\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"If a read or write on a communication port is interrupted, retry this many times before giving up.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/net_retry_count\",\"name\":\"net_retry_count\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"240\",\"description\":\"The number of seconds the server waits for network writing action, especially for LOAD DATA LOCAL FILE.\",\"defaultValue\":\"240\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/net_write_timeout\",\"name\":\"net_write_timeout\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Defines the n-gram token size for the n-gram full-text parser. \",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/ngram_token_size\",\"name\":\"ngram_token_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Controls the heuristics applied during query optimization to prune less-promising partial plans from the optimizer search space.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0,1\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/optimizer_prune_level\",\"name\":\"optimizer_prune_level\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"62\",\"description\":\"The maximum depth of search performed by the query optimizer.\",\"defaultValue\":\"62\",\"dataType\":\"Integer\",\"allowedValues\":\"0-62\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/optimizer_search_depth\",\"name\":\"optimizer_search_depth\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"default\",\"description\":\"The value of this variable is a set of flags, each of which has a value of on or off to indicate whether the corresponding optimizer behavior is enabled or disabled.\",\"defaultValue\":\"default\",\"dataType\":\"Set\",\"allowedValues\":\"default,batched_key_access=on,batched_key_access=off,block_nested_loop=on,block_nested_loop=off,condition_fanout_filter=on,condition_fanout_filter=off,derived_merge=on,derived_merge=off,duplicateweedout=on,duplicateweedout=off,engine_condition_pushdown=on,engine_condition_pushdown=off,firstmatch=on,firstmatch=off,index_condition_pushdown=on,index_condition_pushdown=off,index_merge=on,index_merge=off,index_merge_intersection=on,index_merge_intersection=off,index_merge_sort_union=on,index_merge_sort_union=off,index_merge_union=on,index_merge_union=off,loosescan=on,loosescan=off,materialization=on,materialization=off,mrr=on,mrr=off,mrr_cost_based=on,mrr_cost_based=off,semijoin=on,semijoin=off,subquery_materialization_cost_based=on,subquery_materialization_cost_based=off,use_index_extensions=on,use_index_extensions=off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/optimizer_switch\",\"name\":\"optimizer_switch\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"18446744073709551615\",\"description\":\"The maximum amount of memory available to the parser.\",\"defaultValue\":\"18446744073709551615\",\"dataType\":\"Integer\",\"allowedValues\":\"10000000-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/parser_max_mem_size\",\"name\":\"parser_max_mem_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"The value of this variable is ON or OFF to indicate whether the Performance Schema is enabled.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/performance_schema\",\"name\":\"performance_schema\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"32768\",\"description\":\"The size of the buffer that is allocated when preloading indexes.\",\"defaultValue\":\"32768\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/preload_buffer_size\",\"name\":\"preload_buffer_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1048576\",\"description\":\"Do not cache results that are larger than this number of bytes.\",\"defaultValue\":\"1048576\",\"dataType\":\"Integer\",\"allowedValues\":\"0-33554432\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/query_cache_limit\",\"name\":\"query_cache_limit\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"The minimum size (in bytes) for blocks allocated by the query cache.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"512-32768\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/query_cache_min_res_unit\",\"name\":\"query_cache_min_res_unit\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The amount of memory allocated for caching query results.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0,102400-33554432\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/query_cache_size\",\"name\":\"query_cache_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Set the query cache type.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF,DEMAND\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/query_cache_type\",\"name\":\"query_cache_type\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"8192\",\"description\":\"The size of the persistent buffer used for statement parsing and execution. This buffer is not freed between statements. If you are running complex queries, a larger value might be helpful in improving performance, because it can reduce the need for the server to perform memory allocation during query execution operations.\",\"defaultValue\":\"8192\",\"dataType\":\"Integer\",\"allowedValues\":\"8192-32768\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/query_prealloc_size\",\"name\":\"query_prealloc_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"15\",\"description\":\"The query store capture interval in minutes. Allows to specify the interval in which the query metrics are aggregated.\",\"defaultValue\":\"15\",\"dataType\":\"Integer\",\"allowedValues\":\"5-60\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/query_store_capture_interval\",\"name\":\"query_store_capture_interval\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"NONE\",\"description\":\"The query store capture mode, NONE means do not capture any statements. NOTE: If performance_schema is OFF, turning on query_store_capture_mode will turn on performance_schema and a subset of performance schema instruments required for this feature.\",\"defaultValue\":\"NONE\",\"dataType\":\"Enumeration\",\"allowedValues\":\"NONE,ALL\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/query_store_capture_mode\",\"name\":\"query_store_capture_mode\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"NO\",\"description\":\"Turning ON or OFF to capture all the utility queries that is executing in the system.\",\"defaultValue\":\"NO\",\"dataType\":\"Enumeration\",\"allowedValues\":\"YES,NO\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/query_store_capture_utility_queries\",\"name\":\"query_store_capture_utility_queries\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"7\",\"description\":\"The query store capture interval in minutes. Allows to specify the interval in which the query metrics are aggregated.\",\"defaultValue\":\"7\",\"dataType\":\"Integer\",\"allowedValues\":\"1-30\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/query_store_retention_period_in_days\",\"name\":\"query_store_retention_period_in_days\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"NONE\",\"description\":\"The query store wait event sampling capture mode, NONE means do not capture any wait events.\",\"defaultValue\":\"NONE\",\"dataType\":\"Enumeration\",\"allowedValues\":\"NONE,ALL\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/query_store_wait_sampling_capture_mode\",\"name\":\"query_store_wait_sampling_capture_mode\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"30\",\"description\":\"The query store wait event sampling frequency in seconds.\",\"defaultValue\":\"30\",\"dataType\":\"Integer\",\"allowedValues\":\"5-300\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/query_store_wait_sampling_frequency\",\"name\":\"query_store_wait_sampling_frequency\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"The size of blocks that are allocated when doing range optimization.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-32768\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/range_alloc_block_size\",\"name\":\"range_alloc_block_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"8388608\",\"description\":\"The limit on memory consumption for the range optimizer. A value of 0 means \u0027no limit.\u0027\",\"defaultValue\":\"8388608\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-33554432\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/range_optimizer_max_mem_size\",\"name\":\"range_optimizer_max_mem_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This parameter controls whetherthe server permits no client updates. When the server is read replica or server storage is full, this parameter will not take effect.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/read_only\",\"name\":\"read_only\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Indicate server support redirection.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/redirect_enabled\",\"name\":\"redirect_enabled\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1073741824\",\"description\":\"This option places an upper limit on the total size in bytes of all relay logs on the slave.\",\"defaultValue\":\"1073741824\",\"dataType\":\"Integer\",\"allowedValues\":\"1073741824-3221225472\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/relay_log_space_limit\",\"name\":\"relay_log_space_limit\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"mysql.%\",\"description\":\"Creates a replication filter which keeps the slave thread from replicating a statement in which any table matches the given wildcard pattern. To specify more than one table to ignore, use comma-separated list.\",\"defaultValue\":\"mysql.%\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/replicate_wild_ignore_table\",\"name\":\"replicate_wild_ignore_table\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1409435902\",\"description\":\"The server ID, used in replication to give each master and slave a unique identity.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"1000-4294967295\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/server_id\",\"name\":\"server_id\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Controls whether the server tracks changes to the default schema (database) name within the current session and makes this information available to the client when changes occur.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/session_track_schema\",\"name\":\"session_track_schema\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Controls whether the server tracks changes to the state of the current session and notifies the client when state changes occur.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/session_track_state_change\",\"name\":\"session_track_state_change\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Affects whether MySQL 5.6 compatibility is enabled with respect to how system and status variable information is provided by the INFORMATION_SCHEMA and Performance Schema tables, and also by the SHOW VARIABLES and SHOW STATUS statements.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/show_compatibility_56\",\"name\":\"show_compatibility_56\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This prevents people from using the SHOW DATABASES statement if they do not have the SHOW DATABASES privilege. \",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/skip_show_database\",\"name\":\"skip_show_database\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"60\",\"description\":\"The number of seconds to wait for more data from the master before the slave considers the connection broken, aborts the read, and tries to reconnect.\",\"defaultValue\":\"60\",\"dataType\":\"Integer\",\"allowedValues\":\"30-3600\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/slave_net_timeout\",\"name\":\"slave_net_timeout\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Enable or disable the slow query log\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/slow_query_log\",\"name\":\"slow_query_log\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"524288\",\"description\":\"Each session that must perform a sort allocates a buffer of this size.\",\"defaultValue\":\"524288\",\"dataType\":\"Integer\",\"allowedValues\":\"32768-8388608\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/sort_buffer_size\",\"name\":\"sort_buffer_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"The current server SQL mode.\",\"defaultValue\":\"\",\"dataType\":\"Set\",\"allowedValues\":\",ALLOW_INVALID_DATES,ANSI_QUOTES,ERROR_FOR_DIVISION_BY_ZERO,HIGH_NOT_PRECEDENCE,IGNORE_SPACE,NO_AUTO_CREATE_USER,NO_AUTO_VALUE_ON_ZERO,NO_BACKSLASH_ESCAPES,NO_DIR_IN_CREATE,NO_ENGINE_SUBSTITUTION,NO_FIELD_OPTIONS,NO_KEY_OPTIONS,NO_TABLE_OPTIONS,NO_UNSIGNED_SUBTRACTION,NO_ZERO_DATE,NO_ZERO_IN_DATE,ONLY_FULL_GROUP_BY,PAD_CHAR_TO_FULL_LENGTH,PIPES_AS_CONCAT,REAL_AS_FLOAT,STRICT_ALL_TABLES,STRICT_TRANS_TABLES\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/sql_mode\",\"name\":\"sql_mode\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"256\",\"description\":\"Sets a soft upper limit for the number of cached stored routines per connection.\",\"defaultValue\":\"256\",\"dataType\":\"Integer\",\"allowedValues\":\"16-524288\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/stored_program_cache\",\"name\":\"stored_program_cache\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"5000\",\"description\":\"The number of table definitions (from .frm files) that can be stored in the definition cache.\",\"defaultValue\":\"5000\",\"dataType\":\"Integer\",\"allowedValues\":\"400-524288\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/table_definition_cache\",\"name\":\"table_definition_cache\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"5000\",\"description\":\"The number of open tables for all threads.\",\"defaultValue\":\"5000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-40000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/table_open_cache\",\"name\":\"table_open_cache\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"The number of open tables cache instances.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"1-16\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/table_open_cache_instances\",\"name\":\"table_open_cache_instances\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"14\",\"description\":\"How many threads the server should cache for reuse. The default value is 8 + (max_connections / 100), capped to a limit of 100.\",\"defaultValue\":\"14\",\"dataType\":\"Integer\",\"allowedValues\":\"0-16384\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/thread_cache_size\",\"name\":\"thread_cache_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"one-thread-per-connection\",\"description\":\"The thread-handling model used by the server for connection threads.\",\"defaultValue\":\"one-thread-per-connection\",\"dataType\":\"Enumeration\",\"allowedValues\":\"one-thread-per-connection,pool-of-threads\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/thread_handling\",\"name\":\"thread_handling\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Maximum time for a thread to run continously (unit: us).\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/thread_pool_batch_max_time\",\"name\":\"thread_pool_batch_max_time\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Maximum time for a thread to wait for socket ready (unit: us).\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/thread_pool_batch_wait_timeout\",\"name\":\"thread_pool_batch_wait_timeout\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"65535\",\"description\":\"The minimal number of threads in the thread pool. Only works when thread_handling=pool-of-threads.\",\"defaultValue\":\"65535\",\"dataType\":\"Integer\",\"allowedValues\":\"1-65535\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/thread_pool_max_threads\",\"name\":\"thread_pool_max_threads\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"The maximal number of threads in the thread pool. Only works when thread_handling=pool-of-threads.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"1-65535\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/thread_pool_min_threads\",\"name\":\"thread_pool_min_threads\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"SYSTEM\",\"description\":\"The server time zone\",\"defaultValue\":\"SYSTEM\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/time_zone\",\"name\":\"time_zone\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"16777216\",\"description\":\"The maximum size of internal in-memory temporary tables. This variable does not apply to user-created MEMORY tables.\",\"defaultValue\":\"16777216\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-134217728\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/tmp_table_size\",\"name\":\"tmp_table_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"8192\",\"description\":\"The amount in bytes by which to increase a per-transaction memory pool which needs memory.\",\"defaultValue\":\"8192\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-131072\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/transaction_alloc_block_size\",\"name\":\"transaction_alloc_block_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"There is a per-transaction memory pool from which various transaction-related allocations take memory. The initial size of the pool in bytes is transaction_prealloc_size.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-131072\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/transaction_prealloc_size\",\"name\":\"transaction_prealloc_size\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"REPEATABLE-READ\",\"description\":\"The default transaction isolation level.\",\"defaultValue\":\"REPEATABLE-READ\",\"dataType\":\"Enumeration\",\"allowedValues\":\"READ-UNCOMMITTED,READ-COMMITTED,REPEATABLE-READ,SERIALIZABLE\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/tx_isolation\",\"name\":\"tx_isolation\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"YES\",\"description\":\"This variable controls whether updates to a view can be made when the view does not contain all columns of the primary key defined in the underlying table, if the update statement contains a LIMIT clause.\",\"defaultValue\":\"YES\",\"dataType\":\"Enumeration\",\"allowedValues\":\"YES,NO\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/updatable_views_with_limit\",\"name\":\"updatable_views_with_limit\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"},{\"properties\":{\"value\":\"120\",\"description\":\"The number of seconds the server waits for activity on a noninteractive connection before closing it.\",\"defaultValue\":\"120\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/wait_timeout\",\"name\":\"wait_timeout\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"}]}" + "Content": "{\"value\":[{\"properties\":{\"value\":\"OFF\",\"description\":\"Allow to audit the log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/audit_log_enabled\",\"name\":\"audit_log_enabled\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"CONNECTION\",\"description\":\"Select the events to audit logs.\",\"defaultValue\":\"CONNECTION\",\"dataType\":\"Set\",\"allowedValues\":\"DDL,DML_SELECT,DML_NONSELECT,DCL,ADMIN,DML,GENERAL,CONNECTION,TABLE_ACCESS\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/audit_log_events\",\"name\":\"audit_log_events\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"azure_superuser\",\"description\":\"The comma-separated user list whose commands will not be in the audit logs.\",\"defaultValue\":\"azure_superuser\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/audit_log_exclude_users\",\"name\":\"audit_log_exclude_users\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"The comma-separated user list whose commands will be in the audit logs. It takes higher priority if the same user name is found in audit_log_exclude_users.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/audit_log_include_users\",\"name\":\"audit_log_include_users\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The number of seconds for automatic binary log file removal. The default is 0, which means no automatic removal. Possible removals happen at startup and when the binary log is flushed.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/binlog_expire_logs_seconds\",\"name\":\"binlog_expire_logs_seconds\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Controls how many microseconds the binary log commit waits before synchronizing the binary log file to disk.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0,11-1000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/binlog_group_commit_sync_delay\",\"name\":\"binlog_group_commit_sync_delay\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The maximum number of transactions to wait for before aborting the current delay as specified by binlog-group-commit-sync-delay.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/binlog_group_commit_sync_no_delay_count\",\"name\":\"binlog_group_commit_sync_no_delay_count\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"minimal\",\"description\":\"For MySQL row-based replication, this variable determines how row images are written to the binary log.\",\"defaultValue\":\"minimal\",\"dataType\":\"Enumeration\",\"allowedValues\":\"full,minimal,noblob\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/binlog_row_image\",\"name\":\"binlog_row_image\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"30\",\"description\":\"The binlog max capacity for stop.\",\"defaultValue\":\"30\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/binlog_sum_size_for_stop_pct_max\",\"name\":\"binlog_sum_size_for_stop_pct_max\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"latin1\",\"description\":\"Use charset_name as the default server character set.\",\"defaultValue\":\"latin1\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ARMSCII8,ASCII,BIG5,BINARY,CP1250,CP1251,CP1256,CP1257,CP850,CP852,CP866,CP932,DEC8,EUCJPMS,EUCKR,GB18030,GB2312,GBK,GEOSTD8,GREEK,HEBREW,HP8,KEYBCS2,KOI8R,KOI8U,LATIN1,LATIN2,LATIN5,LATIN7,MACCE,MACROMAN,SJIS,SWE7,TIS620,UCS2,UJIS,UTF16,UTF16LE,UTF32,UTF8,UTF8MB4\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/character_set_server\",\"name\":\"character_set_server\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"latin1_swedish_ci\",\"description\":\"The server\u0027s default collation.\",\"defaultValue\":\"latin1_swedish_ci\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ARMSCII8_BIN,ARMSCII8_GENERAL_CI,ASCII_BIN,ASCII_GENERAL_CI,BIG5_BIN,BIG5_CHINESE_CI,BINARY,CP1250_BIN,CP1250_CROATIAN_CI,CP1250_CZECH_CS,CP1250_GENERAL_CI,CP1250_POLISH_CI,CP1251_BIN,CP1251_BULGARIAN_CI,CP1251_GENERAL_CI,CP1251_GENERAL_CS,CP1251_UKRAINIAN_CI,CP1256_BIN,CP1256_GENERAL_CI,CP1257_BIN,CP1257_GENERAL_CI,CP1257_LITHUANIAN_CI,CP850_BIN,CP850_GENERAL_CI,CP852_BIN,CP852_GENERAL_CI,CP866_BIN,CP866_GENERAL_CI,CP932_BIN,CP932_JAPANESE_CI,DEC8_BIN,DEC8_SWEDISH_CI,EUCJPMS_BIN,EUCJPMS_JAPANESE_CI,EUCKR_BIN,EUCKR_KOREAN_CI,GB18030_BIN,GB18030_CHINESE_CI,GB18030_UNICODE_520_CI,GB2312_BIN,GB2312_CHINESE_CI,GBK_BIN,GBK_CHINESE_CI,GEOSTD8_BIN,GEOSTD8_GENERAL_CI,GREEK_BIN,GREEK_GENERAL_CI,HEBREW_BIN,HEBREW_GENERAL_CI,HP8_BIN,HP8_ENGLISH_CI,KEYBCS2_BIN,KEYBCS2_GENERAL_CI,KOI8R_BIN,KOI8R_GENERAL_CI,KOI8U_BIN,KOI8U_GENERAL_CI,LATIN1_BIN,LATIN1_DANISH_CI,LATIN1_GENERAL_CI,LATIN1_GENERAL_CS,LATIN1_GERMAN1_CI,LATIN1_GERMAN2_CI,LATIN1_SPANISH_CI,LATIN1_SWEDISH_CI,LATIN2_BIN,LATIN2_CROATIAN_CI,LATIN2_CZECH_CS,LATIN2_GENERAL_CI,LATIN2_HUNGARIAN_CI,LATIN5_BIN,LATIN5_TURKISH_CI,LATIN7_BIN,LATIN7_ESTONIAN_CS,LATIN7_GENERAL_CI,LATIN7_GENERAL_CS,MACCE_BIN,MACCE_GENERAL_CI,MACROMAN_BIN,MACROMAN_GENERAL_CI,SJIS_BIN,SJIS_JAPANESE_CI,SWE7_BIN,SWE7_SWEDISH_CI,TIS620_BIN,TIS620_THAI_CI,UCS2_BIN,UCS2_CROATIAN_CI,UCS2_CZECH_CI,UCS2_DANISH_CI,UCS2_ESPERANTO_CI,UCS2_ESTONIAN_CI,UCS2_GENERAL_CI,UCS2_GENERAL_MYSQL500_CI,UCS2_GERMAN2_CI,UCS2_HUNGARIAN_CI,UCS2_ICELANDIC_CI,UCS2_LATVIAN_CI,UCS2_LITHUANIAN_CI,UCS2_PERSIAN_CI,UCS2_POLISH_CI,UCS2_ROMAN_CI,UCS2_ROMANIAN_CI,UCS2_SINHALA_CI,UCS2_SLOVAK_CI,UCS2_SLOVENIAN_CI,UCS2_SPANISH_CI,UCS2_SPANISH2_CI,UCS2_SWEDISH_CI,UCS2_TURKISH_CI,UCS2_UNICODE_520_CI,UCS2_UNICODE_CI,UCS2_VIETNAMESE_CI,UJIS_BIN,UJIS_JAPANESE_CI,UTF16_BIN,UTF16_CROATIAN_CI,UTF16_CZECH_CI,UTF16_DANISH_CI,UTF16_ESPERANTO_CI,UTF16_ESTONIAN_CI,UTF16_GENERAL_CI,UTF16_GERMAN2_CI,UTF16_HUNGARIAN_CI,UTF16_ICELANDIC_CI,UTF16_LATVIAN_CI,UTF16_LITHUANIAN_CI,UTF16_PERSIAN_CI,UTF16_POLISH_CI,UTF16_ROMAN_CI,UTF16_ROMANIAN_CI,UTF16_SINHALA_CI,UTF16_SLOVAK_CI,UTF16_SLOVENIAN_CI,UTF16_SPANISH_CI,UTF16_SPANISH2_CI,UTF16_SWEDISH_CI,UTF16_TURKISH_CI,UTF16_UNICODE_520_CI,UTF16_UNICODE_CI,UTF16_VIETNAMESE_CI,UTF16LE_BIN,UTF16LE_GENERAL_CI,UTF32_BIN,UTF32_CROATIAN_CI,UTF32_CZECH_CI,UTF32_DANISH_CI,UTF32_ESPERANTO_CI,UTF32_ESTONIAN_CI,UTF32_GENERAL_CI,UTF32_GERMAN2_CI,UTF32_HUNGARIAN_CI,UTF32_ICELANDIC_CI,UTF32_LATVIAN_CI,UTF32_LITHUANIAN_CI,UTF32_PERSIAN_CI,UTF32_POLISH_CI,UTF32_ROMAN_CI,UTF32_ROMANIAN_CI,UTF32_SINHALA_CI,UTF32_SLOVAK_CI,UTF32_SLOVENIAN_CI,UTF32_SPANISH_CI,UTF32_SPANISH2_CI,UTF32_SWEDISH_CI,UTF32_TURKISH_CI,UTF32_UNICODE_520_CI,UTF32_UNICODE_CI,UTF32_VIETNAMESE_CI,UTF8_BIN,UTF8_CROATIAN_CI,UTF8_CZECH_CI,UTF8_DANISH_CI,UTF8_ESPERANTO_CI,UTF8_ESTONIAN_CI,UTF8_GENERAL_CI,UTF8_GENERAL_MYSQL500_CI,UTF8_GERMAN2_CI,UTF8_HUNGARIAN_CI,UTF8_ICELANDIC_CI,UTF8_LATVIAN_CI,UTF8_LITHUANIAN_CI,UTF8_PERSIAN_CI,UTF8_POLISH_CI,UTF8_ROMAN_CI,UTF8_ROMANIAN_CI,UTF8_SINHALA_CI,UTF8_SLOVAK_CI,UTF8_SLOVENIAN_CI,UTF8_SPANISH_CI,UTF8_SPANISH2_CI,UTF8_SWEDISH_CI,UTF8_TURKISH_CI,UTF8_UNICODE_520_CI,UTF8_UNICODE_CI,UTF8_VIETNAMESE_CI,UTF8MB4_BIN,UTF8MB4_CROATIAN_CI,UTF8MB4_CZECH_CI,UTF8MB4_DANISH_CI,UTF8MB4_ESPERANTO_CI,UTF8MB4_ESTONIAN_CI,UTF8MB4_GENERAL_CI,UTF8MB4_GERMAN2_CI,UTF8MB4_HUNGARIAN_CI,UTF8MB4_ICELANDIC_CI,UTF8MB4_LATVIAN_CI,UTF8MB4_LITHUANIAN_CI,UTF8MB4_PERSIAN_CI,UTF8MB4_POLISH_CI,UTF8MB4_ROMAN_CI,UTF8MB4_ROMANIAN_CI,UTF8MB4_SINHALA_CI,UTF8MB4_SLOVAK_CI,UTF8MB4_SLOVENIAN_CI,UTF8MB4_SPANISH_CI,UTF8MB4_SPANISH2_CI,UTF8MB4_SWEDISH_CI,UTF8MB4_TURKISH_CI,UTF8MB4_UNICODE_520_CI,UTF8MB4_UNICODE_CI,UTF8MB4_VIETNAMESE_CI\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/collation_server\",\"name\":\"collation_server\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The default mode value to use for the WEEK() function.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-7\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/default_week_format\",\"name\":\"default_week_format\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"Number of digits by which to increase the scale of the result of division operations.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"0-30\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/div_precision_increment\",\"name\":\"div_precision_increment\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"This variable indicates the number of equality ranges in an equality comparison condition when the optimizer should switch from using index dives to index statistics in estimating the number of qualifying rows.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/eq_range_index_dive_limit\",\"name\":\"eq_range_index_dive_limit\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Indicates the status of the Event Scheduler. It is always OFF for a replica server to keep the replication consistency.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/event_scheduler\",\"name\":\"event_scheduler\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"If this is set to a nonzero value, all tables are closed every flush_time seconds to free up resources and synchronize unflushed data to disk.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-8640000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/flush_time\",\"name\":\"flush_time\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"20\",\"description\":\"The number of top matches to use for full-text searches performed using WITH QUERY EXPANSION.\",\"defaultValue\":\"20\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/ft_query_expansion_limit\",\"name\":\"ft_query_expansion_limit\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"Maximum allowed result length in bytes for the GROUP_CONCAT().\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"4-16777216\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/group_concat_max_len\",\"name\":\"group_concat_max_len\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"A string to be executed by the server for each client that connects.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/init_connect\",\"name\":\"init_connect\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Specifies whether to dynamically adjust the rate of flushing dirty pages in the InnoDB buffer pool based on the workload. Adjusting the flush rate dynamically is intended to avoid bursts of I/O activity.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_adaptive_flushing\",\"name\":\"innodb_adaptive_flushing\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Defines the low water mark representing percentage of redo log capacity at which adaptive flushing is enabled.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-70\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_adaptive_flushing_lwm\",\"name\":\"innodb_adaptive_flushing_lwm\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Whether innodb adaptive hash indexes are enabled or disabled.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_adaptive_hash_index\",\"name\":\"innodb_adaptive_hash_index\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"Partitions the adaptive hash index search system. Each index is bound to a specific partition, with each partition protected by a separate latch. \",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"1-512\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_adaptive_hash_index_parts\",\"name\":\"innodb_adaptive_hash_index_parts\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"150000\",\"description\":\"Permits InnoDB to automatically adjust the value of innodb_thread_sleep_delay up or down according to the current workload.\",\"defaultValue\":\"150000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_adaptive_max_sleep_delay\",\"name\":\"innodb_adaptive_max_sleep_delay\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"The increment size (in megabytes) for extending the size of an auto-extending InnoDB system tablespace file when it becomes full.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"1-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_autoextend_increment\",\"name\":\"innodb_autoextend_increment\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"The lock mode to use for generating auto-increment values.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0,1,2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_autoinc_lock_mode\",\"name\":\"innodb_autoinc_lock_mode\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"25\",\"description\":\"Specifies the percentage of the most recently used pages for each buffer pool to read out and dump.\",\"defaultValue\":\"25\",\"dataType\":\"Integer\",\"allowedValues\":\"1-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_buffer_pool_dump_pct\",\"name\":\"innodb_buffer_pool_dump_pct\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"16106127360\",\"description\":\"The size in bytes of the buffer pool, the memory area where InnoDB caches table and index data.\",\"defaultValue\":\"16106127360\",\"dataType\":\"Integer\",\"allowedValues\":\"134217728-16106127360\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_buffer_pool_size\",\"name\":\"innodb_buffer_pool_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"25\",\"description\":\"Maximum size for the InnoDB change buffer, as a percentage of the total size of the buffer pool. You might increase this value for a MySQL server with heavy insert, update, and delete activity, or decrease it for a MySQL server with unchanging data used for reporting.\",\"defaultValue\":\"25\",\"dataType\":\"Integer\",\"allowedValues\":\"0-50\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_change_buffer_max_size\",\"name\":\"innodb_change_buffer_max_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"all\",\"description\":\"Whether InnoDB performs change buffering, an optimization that delays write operations to secondary indexes so that the I/O operations can be performed sequentially.\",\"defaultValue\":\"all\",\"dataType\":\"Enumeration\",\"allowedValues\":\"none,inserts,deletes,changes,purges,all\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_change_buffering\",\"name\":\"innodb_change_buffering\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Enables per-index compression-related statistics in the INFORMATION_SCHEMA.INNODB_CMP_PER_INDEX table. Because these statistics can be expensive to gather, only enable this option on development, test, or slave instances during performance tuning related to InnoDB compressed tables.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_cmp_per_index_enabled\",\"name\":\"innodb_cmp_per_index_enabled\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The number of threads that can commit at the same time. A value of 0 (the default) permits any number of transactions to commit simultaneously. The value of innodb_commit_concurrency cannot be changed at runtime from zero to nonzero or vice versa. The value can be changed from one nonzero value to another.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_commit_concurrency\",\"name\":\"innodb_commit_concurrency\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"5\",\"description\":\"Defines the compression failure rate threshold for a table, as a percentage, at which point MySQL begins adding padding within compressed pages to avoid expensive compression failures.\",\"defaultValue\":\"5\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_compression_failure_threshold_pct\",\"name\":\"innodb_compression_failure_threshold_pct\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"6\",\"description\":\"Specifies the level of zlib compression to use for InnoDB compressed tables and indexes. A higher value lets you fit more data onto a storage device, at the expense of more CPU overhead during compression. A lower value lets you reduce CPU overhead when storage space is not critical, or you expect the data is not especially compressible.\",\"defaultValue\":\"6\",\"dataType\":\"Integer\",\"allowedValues\":\"0-9\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_compression_level\",\"name\":\"innodb_compression_level\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"Specifies the maximum percentage that can be reserved as free space within each compressed page, allowing room to reorganize the data and modification log within the page when a compressed table or index is updated and the data might be recompressed. Only applies when innodb_compression_failure_threshold_pct is set to a nonzero value, and the rate of compression failures passes the cutoff point.\",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"0-75\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_compression_pad_pct_max\",\"name\":\"innodb_compression_pad_pct_max\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"5000\",\"description\":\"Determines the number of threads that can enter InnoDB concurrently.\",\"defaultValue\":\"5000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_concurrency_tickets\",\"name\":\"innodb_concurrency_tickets\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"This option is used to disable deadlock detection. On high concurrency systems, deadlock detection can cause a slowdown when numerous threads wait for the same lock.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_deadlock_detect\",\"name\":\"innodb_deadlock_detect\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"DYNAMIC\",\"description\":\"The innodb_default_row_format option defines the default row format for InnoDB tables and user-created temporary tables.\",\"defaultValue\":\"DYNAMIC\",\"dataType\":\"Enumeration\",\"allowedValues\":\"DYNAMIC,COMPACT,REDUNDANT\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_default_row_format\",\"name\":\"innodb_default_row_format\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"Barracuda\",\"description\":\"Indicates the InnoDB file format for file-per-table tablespaces.\",\"defaultValue\":\"Barracuda\",\"dataType\":\"Enumeration\",\"allowedValues\":\"Antelope,Barracuda\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_file_format\",\"name\":\"innodb_file_format\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"InnoDB stores the data and indexes for each newly created table in a separate .ibd file instead of the system tablespace. It cannot be updated any more for a master/replica server to keep the replication consistency.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_file_per_table\",\"name\":\"innodb_file_per_table\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"InnoDB performs a bulk load when creating or rebuilding indexes.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"10-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_fill_factor\",\"name\":\"innodb_fill_factor\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"8000000\",\"description\":\"The memory allocated, in bytes, for the InnoDB FULLTEXT search index cache, which holds a parsed document in memory while creating an InnoDB FULLTEXT index.\",\"defaultValue\":\"8000000\",\"dataType\":\"Integer\",\"allowedValues\":\"1600000-80000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_ft_cache_size\",\"name\":\"innodb_ft_cache_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Specifies that a set of stopwords is associated with an InnoDB FULLTEXT index at the time the index is created.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_ft_enable_stopword\",\"name\":\"innodb_ft_enable_stopword\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"84\",\"description\":\"Maximum character length of words that are stored in an InnoDB FULLTEXT index.\",\"defaultValue\":\"84\",\"dataType\":\"Integer\",\"allowedValues\":\"10-84\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_ft_max_token_size\",\"name\":\"innodb_ft_max_token_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"3\",\"description\":\"Minimum length of words that are stored in an InnoDB FULLTEXT index.\",\"defaultValue\":\"3\",\"dataType\":\"Integer\",\"allowedValues\":\"0-16\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_ft_min_token_size\",\"name\":\"innodb_ft_min_token_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"2000\",\"description\":\"Number of words to process during each OPTIMIZE TABLE operation on an InnoDB FULLTEXT index.\",\"defaultValue\":\"2000\",\"dataType\":\"Integer\",\"allowedValues\":\"1000-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_ft_num_word_optimize\",\"name\":\"innodb_ft_num_word_optimize\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"2000000000\",\"description\":\"The InnoDB full-text search query result cache limit (defined in bytes) per full-text search query or per thread.\",\"defaultValue\":\"2000000000\",\"dataType\":\"Integer\",\"allowedValues\":\"1000000-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_ft_result_cache_limit\",\"name\":\"innodb_ft_result_cache_limit\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Number of threads used in parallel to index and tokenize text in an InnoDB FULLTEXT index when building a search index.\",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"1-32\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_ft_sort_pll_degree\",\"name\":\"innodb_ft_sort_pll_degree\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"640000000\",\"description\":\"The total memory allocated, in bytes, for the InnoDB full-text search index cache for all tables.\",\"defaultValue\":\"640000000\",\"dataType\":\"Integer\",\"allowedValues\":\"32000000-1280000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_ft_total_cache_size\",\"name\":\"innodb_ft_total_cache_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"Sets an upper limit on I/O activity performed by InnoDB background tasks, such as flushing pages from the buffer pool and merging data from the change buffer.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"100-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_io_capacity\",\"name\":\"innodb_io_capacity\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"2000\",\"description\":\"If flushing activity falls behind, InnoDB can flush more aggressively than the limit imposed by innodb_io_capacity. innodb_io_capacity_max defines an upper limit the number of I/O operations performed per second by InnoDB background tasks in such situations.\",\"defaultValue\":\"2000\",\"dataType\":\"Integer\",\"allowedValues\":\"100-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_io_capacity_max\",\"name\":\"innodb_io_capacity_max\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"When this option is enabled, index key prefixes longer than 767 bytes (up to 3072 bytes) are allowed for InnoDB tables that use DYNAMIC or COMPRESSED row format.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_large_prefix\",\"name\":\"innodb_large_prefix\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"The length of time in seconds an InnoDB transaction waits for a row lock before giving up.\",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"1-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_lock_wait_timeout\",\"name\":\"innodb_lock_wait_timeout\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Specifies whether images of re-compressed pages are written to the redo log.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_log_compressed_pages\",\"name\":\"innodb_log_compressed_pages\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"A parameter that influences the algorithms and heuristics for the flush operation for the InnoDB buffer pool.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"100-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_lru_scan_depth\",\"name\":\"innodb_lru_scan_depth\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"75\",\"description\":\"InnoDB tries to flush data from the buffer pool so that the percentage of dirty pages does not exceed this value.\",\"defaultValue\":\"75\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-99.99\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_max_dirty_pages_pct\",\"name\":\"innodb_max_dirty_pages_pct\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Defines a low water mark representing the percentage of dirty pages at which preflushing is enabled to control the dirty page ratio.\",\"defaultValue\":\"0\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-99.99\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_max_dirty_pages_pct_lwm\",\"name\":\"innodb_max_dirty_pages_pct_lwm\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Defines the maximum length of the purge queue. The default value of 0 indicates no limit (no delays).\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_max_purge_lag\",\"name\":\"innodb_max_purge_lag\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Specifies the maximum delay in microseconds for the delay imposed by the innodb_max_purge_lag configuration option.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-10000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_max_purge_lag_delay\",\"name\":\"innodb_max_purge_lag_delay\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"37\",\"description\":\"Specifies the approximate percentage of the InnoDB buffer pool used for the old block sublist.\",\"defaultValue\":\"37\",\"dataType\":\"Integer\",\"allowedValues\":\"5-95\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_old_blocks_pct\",\"name\":\"innodb_old_blocks_pct\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1000\",\"description\":\"Non-zero values protect against the buffer pool being filled by data that is referenced only for a brief period, such as during a full table scan.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_old_blocks_time\",\"name\":\"innodb_old_blocks_time\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"134217728\",\"description\":\"Specifies an upper limit on the size of the temporary log files used during online DDL operations for InnoDB tables.\",\"defaultValue\":\"134217728\",\"dataType\":\"Integer\",\"allowedValues\":\"65536-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_online_alter_log_max_size\",\"name\":\"innodb_online_alter_log_max_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Changes the way OPTIMIZE TABLE operates on InnoDB tables. Intended to be enabled temporarily, during maintenance operations for InnoDB tables with FULLTEXT indexes.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_optimize_fulltext_only\",\"name\":\"innodb_optimize_fulltext_only\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"The number of page cleaner threads that flush dirty pages from buffer pool instances.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"1-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_page_cleaners\",\"name\":\"innodb_page_cleaners\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"300\",\"description\":\"Defines the number of undo log pages that purge parses and processes in one batch from the history list.\",\"defaultValue\":\"300\",\"dataType\":\"Integer\",\"allowedValues\":\"1-5000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_purge_batch_size\",\"name\":\"innodb_purge_batch_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"128\",\"description\":\"Defines the frequency with which the purge system frees rollback segments in terms of the number of times that purge is invoked. Reducing this value increases the frequency with which the purge thread frees rollback segments.\",\"defaultValue\":\"128\",\"dataType\":\"Integer\",\"allowedValues\":\"1-128\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_purge_rseg_truncate_frequency\",\"name\":\"innodb_purge_rseg_truncate_frequency\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"The number of background threads devoted to the InnoDB purge operation.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"1-32\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_purge_threads\",\"name\":\"innodb_purge_threads\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Enables the random read-ahead technique for optimizing InnoDB I/O.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_random_read_ahead\",\"name\":\"innodb_random_read_ahead\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"56\",\"description\":\"Controls the sensitivity of linear read-ahead that InnoDB uses to prefetch pages into the buffer pool.\",\"defaultValue\":\"56\",\"dataType\":\"Integer\",\"allowedValues\":\"0-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_read_ahead_threshold\",\"name\":\"innodb_read_ahead_threshold\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"The number of I/O threads for read operations in InnoDB.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"1-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_read_io_threads\",\"name\":\"innodb_read_io_threads\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"128\",\"description\":\"Defines the number of rollback segments used by InnoDB.\",\"defaultValue\":\"128\",\"dataType\":\"Integer\",\"allowedValues\":\"1-128\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_rollback_segments\",\"name\":\"innodb_rollback_segments\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Causes InnoDB to automatically recalculate persistent statistics after the data in a table is changed substantially.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_stats_auto_recalc\",\"name\":\"innodb_stats_auto_recalc\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\" Enabled to ensure that InnoDB includes delete-marked records when calculating persistent optimizer statistics.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_stats_include_delete_marked\",\"name\":\"innodb_stats_include_delete_marked\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"nulls_equal\",\"description\":\"How the server treats NULL values when collecting statistics about the distribution of index values for InnoDB tables.\",\"defaultValue\":\"nulls_equal\",\"dataType\":\"Enumeration\",\"allowedValues\":\"nulls_equal,nulls_unequal,nulls_ignored\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_stats_method\",\"name\":\"innodb_stats_method\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This option only applies when optimizer statistics are configured to be non-persistent. When innodb_stats_on_metadata is enabled, InnoDB updates non-persistent statistics when metadata statements such as SHOW TABLE STATUS or when accessing the INFORMATION_SCHEMA.TABLES or INFORMATION_SCHEMA.STATISTICS tables.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_stats_on_metadata\",\"name\":\"innodb_stats_on_metadata\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Specifies whether InnoDB index statistics are persisted to disk. Otherwise, statistics may be recalculated frequently which can lead to variations in query execution plans.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_stats_persistent\",\"name\":\"innodb_stats_persistent\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"20\",\"description\":\"The number of index pages to sample when estimating cardinality and other statistics for an indexed column, such as those calculated by ANALYZE TABLE.\",\"defaultValue\":\"20\",\"dataType\":\"Integer\",\"allowedValues\":\"1-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_stats_persistent_sample_pages\",\"name\":\"innodb_stats_persistent_sample_pages\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"The number of index pages to sample when estimating cardinality and other statistics for an indexed column, such as those calculated by ANALYZE TABLE.\",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"1-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_stats_transient_sample_pages\",\"name\":\"innodb_stats_transient_sample_pages\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Defines the size of the mutex/lock wait array. Increasing the value splits the internal data structure used to coordinate threads, for higher concurrency in workloads with large numbers of waiting threads. \",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"1-1024\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_sync_array_size\",\"name\":\"innodb_sync_array_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"The default value of innodb_table_locks is 1, which means that LOCK TABLES causes InnoDB to lock a table internally if autocommit = 0.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_table_locks\",\"name\":\"innodb_table_locks\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"InnoDB tries to keep the number of operating system threads concurrently inside InnoDB less than or equal to the limit given by this variable.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_thread_concurrency\",\"name\":\"innodb_thread_concurrency\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"10000\",\"description\":\"Defines how long InnoDB threads sleep before joining the InnoDB queue, in microseconds.\",\"defaultValue\":\"10000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_thread_sleep_delay\",\"name\":\"innodb_thread_sleep_delay\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"The number of I/O threads for write operations in InnoDB.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"1-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_write_io_threads\",\"name\":\"innodb_write_io_threads\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"28800\",\"description\":\"Number of seconds the server waits for activity on an interactive connection before closing it.\",\"defaultValue\":\"28800\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/interactive_timeout\",\"name\":\"interactive_timeout\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"262144\",\"description\":\"The minimum size of the buffer that is used for plain index scans, range index scans, and joins that do not use indexes and thus perform full table scans.\",\"defaultValue\":\"262144\",\"dataType\":\"Integer\",\"allowedValues\":\"128-536870912\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/join_buffer_size\",\"name\":\"join_buffer_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"This variable controls server-side LOCAL capability for LOAD DATA statements.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/local_infile\",\"name\":\"local_infile\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"31536000\",\"description\":\"This variable specifies the timeout in seconds for attempts to acquire metadata locks.\",\"defaultValue\":\"31536000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/lock_wait_timeout\",\"name\":\"lock_wait_timeout\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This variable applies when binary logging is enabled. It controls whether stored function creators can be trusted not to create stored functions that will cause unsafe events to be written to the binary log. It cannot be updated any more for a master/replica server to keep the replication consistency.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/log_bin_trust_function_creators\",\"name\":\"log_bin_trust_function_creators\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"FILE\",\"description\":\"The destination for general query log and slow query log output.\",\"defaultValue\":\"FILE\",\"dataType\":\"Set\",\"allowedValues\":\"FILE,NONE\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/log_output\",\"name\":\"log_output\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Logs queries that are expected to retrieve all rows to slow query log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/log_queries_not_using_indexes\",\"name\":\"log_queries_not_using_indexes\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Include slow administrative statements in the statements written to the slow query log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/log_slow_admin_statements\",\"name\":\"log_slow_admin_statements\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"When the slow query log is enabled, this variable enables logging for queries that have taken more than long_query_time seconds to execute on the slave.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/log_slow_slave_statements\",\"name\":\"log_slow_slave_statements\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Limits the number of such queries per minute that can be written to the slow query log.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/log_throttle_queries_not_using_indexes\",\"name\":\"log_throttle_queries_not_using_indexes\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"If a query takes longer than this many seconds, the server increments the Slow_queries status variable.\",\"defaultValue\":\"10\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/long_query_time\",\"name\":\"long_query_time\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"If set to 1, table names are stored in lowercase on disk and comparisons are not case sensitive. If set to 2, table names are stored as given but compared in lowercase.\",\"defaultValue\":\"1\",\"dataType\":\"Enumeration\",\"allowedValues\":\"1,2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/lower_case_table_names\",\"name\":\"lower_case_table_names\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"536870912\",\"description\":\"The maximum size of one packet or any generated/intermediate string, or any parameter sent by the mysql_stmt_send_long_data() C API function.\",\"defaultValue\":\"536870912\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/max_allowed_packet\",\"name\":\"max_allowed_packet\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"If more than this many successive connection requests from a host are interrupted without a successful connection, the server blocks that host from further connections.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/max_connect_errors\",\"name\":\"max_connect_errors\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"625\",\"description\":\"The maximum permitted number of simultaneous client connections.\",\"defaultValue\":\"625\",\"dataType\":\"Integer\",\"allowedValues\":\"10-1250\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/max_connections\",\"name\":\"max_connections\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"The maximum number of bytes available for computing normalized statement digests.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/max_digest_length\",\"name\":\"max_digest_length\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"The maximum number of error, warning, and note messages to be stored for display by the SHOW ERRORS and SHOW WARNINGS statements.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"0-65535\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/max_error_count\",\"name\":\"max_error_count\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The execution timeout for SELECT statements, in milliseconds. If the value is 0, timeouts are not enabled.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/max_execution_time\",\"name\":\"max_execution_time\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"16777216\",\"description\":\"This variable sets the maximum size to which user-created MEMORY tables are permitted to grow.\",\"defaultValue\":\"16777216\",\"dataType\":\"Integer\",\"allowedValues\":\"16384-536870912\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/max_heap_table_size\",\"name\":\"max_heap_table_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"18446744073709551615\",\"description\":\"Do not permit statements that probably need to examine more than max_join_size rows\",\"defaultValue\":\"18446744073709551615\",\"dataType\":\"Integer\",\"allowedValues\":\"1-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/max_join_size\",\"name\":\"max_join_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"The cutoff on the size of index values that determines which filesort algorithm to use.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"4-8388608\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/max_length_for_sort_data\",\"name\":\"max_length_for_sort_data\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"65536\",\"description\":\"The maximum value of the points_per_circle argument to the ST_Buffer_Strategy() function.\",\"defaultValue\":\"65536\",\"dataType\":\"Integer\",\"allowedValues\":\"3-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/max_points_in_geometry\",\"name\":\"max_points_in_geometry\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"16382\",\"description\":\"This variable limits the total number of prepared statements in the server.\",\"defaultValue\":\"16382\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/max_prepared_stmt_count\",\"name\":\"max_prepared_stmt_count\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4294967295\",\"description\":\"Limit the assumed maximum number of seeks when looking up rows based on a key.\",\"defaultValue\":\"4294967295\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/max_seeks_for_key\",\"name\":\"max_seeks_for_key\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"The number of bytes to use when sorting data values.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"4-8388608\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/max_sort_length\",\"name\":\"max_sort_length\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The number of times that any given stored procedure may be called recursively. The default value for this option is 0, which completely disables recursion in stored procedures.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-255\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/max_sp_recursion_depth\",\"name\":\"max_sp_recursion_depth\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The maximum number of simultaneous connections permitted to any given MySQL user account. A value of 0 (the default) means \u0027no limit.\u0027\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/max_user_connections\",\"name\":\"max_user_connections\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4294967295\",\"description\":\"After this many write locks, permit some pending read lock requests to be processed in between.\",\"defaultValue\":\"4294967295\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/max_write_lock_count\",\"name\":\"max_write_lock_count\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Can be used to cause queries which examine fewer than the stated number of rows not to be logged.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/min_examined_row_limit\",\"name\":\"min_examined_row_limit\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"16384\",\"description\":\"Each client thread is associated with a connection buffer and result buffer. Both begin with a size given by net_buffer_length but are dynamically enlarged up to max_allowed_packet bytes as needed.\",\"defaultValue\":\"16384\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/net_buffer_length\",\"name\":\"net_buffer_length\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"120\",\"description\":\"The number of seconds the server waits for network reading action, especially for LOAD DATA LOCAL FILE.\",\"defaultValue\":\"120\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/net_read_timeout\",\"name\":\"net_read_timeout\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"If a read or write on a communication port is interrupted, retry this many times before giving up.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/net_retry_count\",\"name\":\"net_retry_count\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"240\",\"description\":\"The number of seconds the server waits for network writing action, especially for LOAD DATA LOCAL FILE.\",\"defaultValue\":\"240\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/net_write_timeout\",\"name\":\"net_write_timeout\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Defines the n-gram token size for the n-gram full-text parser. \",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/ngram_token_size\",\"name\":\"ngram_token_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Controls the heuristics applied during query optimization to prune less-promising partial plans from the optimizer search space.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0,1\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/optimizer_prune_level\",\"name\":\"optimizer_prune_level\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"62\",\"description\":\"The maximum depth of search performed by the query optimizer.\",\"defaultValue\":\"62\",\"dataType\":\"Integer\",\"allowedValues\":\"0-62\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/optimizer_search_depth\",\"name\":\"optimizer_search_depth\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"default\",\"description\":\"The value of this variable is a set of flags, each of which has a value of on or off to indicate whether the corresponding optimizer behavior is enabled or disabled.\",\"defaultValue\":\"default\",\"dataType\":\"Set\",\"allowedValues\":\"default,batched_key_access=on,batched_key_access=off,block_nested_loop=on,block_nested_loop=off,condition_fanout_filter=on,condition_fanout_filter=off,derived_merge=on,derived_merge=off,duplicateweedout=on,duplicateweedout=off,engine_condition_pushdown=on,engine_condition_pushdown=off,firstmatch=on,firstmatch=off,index_condition_pushdown=on,index_condition_pushdown=off,index_merge=on,index_merge=off,index_merge_intersection=on,index_merge_intersection=off,index_merge_sort_union=on,index_merge_sort_union=off,index_merge_union=on,index_merge_union=off,loosescan=on,loosescan=off,materialization=on,materialization=off,mrr=on,mrr=off,mrr_cost_based=on,mrr_cost_based=off,semijoin=on,semijoin=off,subquery_materialization_cost_based=on,subquery_materialization_cost_based=off,use_index_extensions=on,use_index_extensions=off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/optimizer_switch\",\"name\":\"optimizer_switch\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"18446744073709551615\",\"description\":\"The maximum amount of memory available to the parser.\",\"defaultValue\":\"18446744073709551615\",\"dataType\":\"Integer\",\"allowedValues\":\"10000000-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/parser_max_mem_size\",\"name\":\"parser_max_mem_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"The value of this variable is ON or OFF to indicate whether the Performance Schema is enabled.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/performance_schema\",\"name\":\"performance_schema\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"32768\",\"description\":\"The size of the buffer that is allocated when preloading indexes.\",\"defaultValue\":\"32768\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/preload_buffer_size\",\"name\":\"preload_buffer_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1048576\",\"description\":\"Do not cache results that are larger than this number of bytes.\",\"defaultValue\":\"1048576\",\"dataType\":\"Integer\",\"allowedValues\":\"0-33554432\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/query_cache_limit\",\"name\":\"query_cache_limit\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"The minimum size (in bytes) for blocks allocated by the query cache.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"512-32768\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/query_cache_min_res_unit\",\"name\":\"query_cache_min_res_unit\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The amount of memory allocated for caching query results.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0,102400-33554432\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/query_cache_size\",\"name\":\"query_cache_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Set the query cache type.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF,DEMAND\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/query_cache_type\",\"name\":\"query_cache_type\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"8192\",\"description\":\"The size of the persistent buffer used for statement parsing and execution. This buffer is not freed between statements. If you are running complex queries, a larger value might be helpful in improving performance, because it can reduce the need for the server to perform memory allocation during query execution operations.\",\"defaultValue\":\"8192\",\"dataType\":\"Integer\",\"allowedValues\":\"8192-32768\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/query_prealloc_size\",\"name\":\"query_prealloc_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"15\",\"description\":\"The query store capture interval in minutes. Allows to specify the interval in which the query metrics are aggregated.\",\"defaultValue\":\"15\",\"dataType\":\"Integer\",\"allowedValues\":\"5-60\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/query_store_capture_interval\",\"name\":\"query_store_capture_interval\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"NONE\",\"description\":\"The query store capture mode, NONE means do not capture any statements. NOTE: If performance_schema is OFF, turning on query_store_capture_mode will turn on performance_schema and a subset of performance schema instruments required for this feature.\",\"defaultValue\":\"NONE\",\"dataType\":\"Enumeration\",\"allowedValues\":\"NONE,ALL\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/query_store_capture_mode\",\"name\":\"query_store_capture_mode\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"NO\",\"description\":\"Turning ON or OFF to capture all the utility queries that is executing in the system.\",\"defaultValue\":\"NO\",\"dataType\":\"Enumeration\",\"allowedValues\":\"YES,NO\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/query_store_capture_utility_queries\",\"name\":\"query_store_capture_utility_queries\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"7\",\"description\":\"The query store capture interval in minutes. Allows to specify the interval in which the query metrics are aggregated.\",\"defaultValue\":\"7\",\"dataType\":\"Integer\",\"allowedValues\":\"1-30\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/query_store_retention_period_in_days\",\"name\":\"query_store_retention_period_in_days\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"NONE\",\"description\":\"The query store wait event sampling capture mode, NONE means do not capture any wait events.\",\"defaultValue\":\"NONE\",\"dataType\":\"Enumeration\",\"allowedValues\":\"NONE,ALL\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/query_store_wait_sampling_capture_mode\",\"name\":\"query_store_wait_sampling_capture_mode\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"30\",\"description\":\"The query store wait event sampling frequency in seconds.\",\"defaultValue\":\"30\",\"dataType\":\"Integer\",\"allowedValues\":\"5-300\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/query_store_wait_sampling_frequency\",\"name\":\"query_store_wait_sampling_frequency\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"The size of blocks that are allocated when doing range optimization.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-32768\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/range_alloc_block_size\",\"name\":\"range_alloc_block_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"8388608\",\"description\":\"The limit on memory consumption for the range optimizer. A value of 0 means \u0027no limit.\u0027\",\"defaultValue\":\"8388608\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-33554432\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/range_optimizer_max_mem_size\",\"name\":\"range_optimizer_max_mem_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This parameter controls whetherthe server permits no client updates. When the server is read replica or server storage is full, this parameter will not take effect.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/read_only\",\"name\":\"read_only\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Indicate server support redirection.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/redirect_enabled\",\"name\":\"redirect_enabled\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1073741824\",\"description\":\"This option places an upper limit on the total size in bytes of all relay logs on the slave.\",\"defaultValue\":\"1073741824\",\"dataType\":\"Integer\",\"allowedValues\":\"1073741824-3221225472\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/relay_log_space_limit\",\"name\":\"relay_log_space_limit\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"mysql.%\",\"description\":\"Creates a replication filter which keeps the slave thread from replicating a statement in which any table matches the given wildcard pattern. To specify more than one table to ignore, use comma-separated list.\",\"defaultValue\":\"mysql.%\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/replicate_wild_ignore_table\",\"name\":\"replicate_wild_ignore_table\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1409435902\",\"description\":\"The server ID, used in replication to give each master and slave a unique identity.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"1000-4294967295\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/server_id\",\"name\":\"server_id\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Controls whether the server tracks changes to the default schema (database) name within the current session and makes this information available to the client when changes occur.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/session_track_schema\",\"name\":\"session_track_schema\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Controls whether the server tracks changes to the state of the current session and notifies the client when state changes occur.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/session_track_state_change\",\"name\":\"session_track_state_change\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Affects whether MySQL 5.6 compatibility is enabled with respect to how system and status variable information is provided by the INFORMATION_SCHEMA and Performance Schema tables, and also by the SHOW VARIABLES and SHOW STATUS statements.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/show_compatibility_56\",\"name\":\"show_compatibility_56\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This prevents people from using the SHOW DATABASES statement if they do not have the SHOW DATABASES privilege. \",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/skip_show_database\",\"name\":\"skip_show_database\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"60\",\"description\":\"The number of seconds to wait for more data from the master before the slave considers the connection broken, aborts the read, and tries to reconnect.\",\"defaultValue\":\"60\",\"dataType\":\"Integer\",\"allowedValues\":\"30-3600\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/slave_net_timeout\",\"name\":\"slave_net_timeout\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Enable or disable the slow query log\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/slow_query_log\",\"name\":\"slow_query_log\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"524288\",\"description\":\"Each session that must perform a sort allocates a buffer of this size.\",\"defaultValue\":\"524288\",\"dataType\":\"Integer\",\"allowedValues\":\"32768-8388608\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/sort_buffer_size\",\"name\":\"sort_buffer_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"The current server SQL mode.\",\"defaultValue\":\"\",\"dataType\":\"Set\",\"allowedValues\":\",ALLOW_INVALID_DATES,ANSI_QUOTES,ERROR_FOR_DIVISION_BY_ZERO,HIGH_NOT_PRECEDENCE,IGNORE_SPACE,NO_AUTO_CREATE_USER,NO_AUTO_VALUE_ON_ZERO,NO_BACKSLASH_ESCAPES,NO_DIR_IN_CREATE,NO_ENGINE_SUBSTITUTION,NO_FIELD_OPTIONS,NO_KEY_OPTIONS,NO_TABLE_OPTIONS,NO_UNSIGNED_SUBTRACTION,NO_ZERO_DATE,NO_ZERO_IN_DATE,ONLY_FULL_GROUP_BY,PAD_CHAR_TO_FULL_LENGTH,PIPES_AS_CONCAT,REAL_AS_FLOAT,STRICT_ALL_TABLES,STRICT_TRANS_TABLES\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/sql_mode\",\"name\":\"sql_mode\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"256\",\"description\":\"Sets a soft upper limit for the number of cached stored routines per connection.\",\"defaultValue\":\"256\",\"dataType\":\"Integer\",\"allowedValues\":\"16-524288\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/stored_program_cache\",\"name\":\"stored_program_cache\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"5000\",\"description\":\"The number of table definitions (from .frm files) that can be stored in the definition cache.\",\"defaultValue\":\"5000\",\"dataType\":\"Integer\",\"allowedValues\":\"400-524288\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/table_definition_cache\",\"name\":\"table_definition_cache\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"5000\",\"description\":\"The number of open tables for all threads.\",\"defaultValue\":\"5000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-40000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/table_open_cache\",\"name\":\"table_open_cache\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"The number of open tables cache instances.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"1-16\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/table_open_cache_instances\",\"name\":\"table_open_cache_instances\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"14\",\"description\":\"How many threads the server should cache for reuse. The default value is 8 + (max_connections / 100), capped to a limit of 100.\",\"defaultValue\":\"14\",\"dataType\":\"Integer\",\"allowedValues\":\"0-16384\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/thread_cache_size\",\"name\":\"thread_cache_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"one-thread-per-connection\",\"description\":\"The thread-handling model used by the server for connection threads.\",\"defaultValue\":\"one-thread-per-connection\",\"dataType\":\"Enumeration\",\"allowedValues\":\"one-thread-per-connection,pool-of-threads\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/thread_handling\",\"name\":\"thread_handling\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Maximum time for a thread to run continously (unit: us).\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/thread_pool_batch_max_time\",\"name\":\"thread_pool_batch_max_time\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Maximum time for a thread to wait for socket ready (unit: us).\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/thread_pool_batch_wait_timeout\",\"name\":\"thread_pool_batch_wait_timeout\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"65535\",\"description\":\"The minimal number of threads in the thread pool. Only works when thread_handling=pool-of-threads.\",\"defaultValue\":\"65535\",\"dataType\":\"Integer\",\"allowedValues\":\"1-65535\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/thread_pool_max_threads\",\"name\":\"thread_pool_max_threads\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"The maximal number of threads in the thread pool. Only works when thread_handling=pool-of-threads.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"1-65535\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/thread_pool_min_threads\",\"name\":\"thread_pool_min_threads\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"SYSTEM\",\"description\":\"The server time zone\",\"defaultValue\":\"SYSTEM\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/time_zone\",\"name\":\"time_zone\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"16777216\",\"description\":\"The maximum size of internal in-memory temporary tables. This variable does not apply to user-created MEMORY tables.\",\"defaultValue\":\"16777216\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-134217728\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/tmp_table_size\",\"name\":\"tmp_table_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"8192\",\"description\":\"The amount in bytes by which to increase a per-transaction memory pool which needs memory.\",\"defaultValue\":\"8192\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-131072\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/transaction_alloc_block_size\",\"name\":\"transaction_alloc_block_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"There is a per-transaction memory pool from which various transaction-related allocations take memory. The initial size of the pool in bytes is transaction_prealloc_size.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-131072\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/transaction_prealloc_size\",\"name\":\"transaction_prealloc_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"REPEATABLE-READ\",\"description\":\"The default transaction isolation level.\",\"defaultValue\":\"REPEATABLE-READ\",\"dataType\":\"Enumeration\",\"allowedValues\":\"READ-UNCOMMITTED,READ-COMMITTED,REPEATABLE-READ,SERIALIZABLE\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/tx_isolation\",\"name\":\"tx_isolation\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"YES\",\"description\":\"This variable controls whether updates to a view can be made when the view does not contain all columns of the primary key defined in the underlying table, if the update statement contains a LIMIT clause.\",\"defaultValue\":\"YES\",\"dataType\":\"Enumeration\",\"allowedValues\":\"YES,NO\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/updatable_views_with_limit\",\"name\":\"updatable_views_with_limit\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"120\",\"description\":\"The number of seconds the server waits for activity on a noninteractive connection before closing it.\",\"defaultValue\":\"120\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/wait_timeout\",\"name\":\"wait_timeout\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"}]}" } }, - "Get-AzMySqlConfiguration+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/time_zone?api-version=2017-12-01+1": { + "Get-AzMySqlConfiguration+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/time_zone?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/time_zone?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/time_zone?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2" ], @@ -74,13 +74,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"value\":\"SYSTEM\",\"description\":\"The server time zone\",\"defaultValue\":\"SYSTEM\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/time_zone\",\"name\":\"time_zone\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"}" + "Content": "{\"properties\":{\"value\":\"SYSTEM\",\"description\":\"The server time zone\",\"defaultValue\":\"SYSTEM\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/time_zone\",\"name\":\"time_zone\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"}" } }, - "Get-AzMySqlConfiguration+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/server_id?api-version=2017-12-01+1": { + "Get-AzMySqlConfiguration+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/server_id?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/server_id?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/server_id?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "3" ], @@ -113,7 +113,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"value\":\"1409435902\",\"description\":\"The server ID, used in replication to give each master and slave a unique identity.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"1000-4294967295\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/server_id\",\"name\":\"server_id\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"}" + "Content": "{\"properties\":{\"value\":\"1409435902\",\"description\":\"The server ID, used in replication to give each master and slave a unique identity.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"1000-4294967295\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/server_id\",\"name\":\"server_id\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"}" } } } \ No newline at end of file diff --git a/src/MySql/test/Get-AzMySqlConfiguration.Tests.ps1 b/src/MySql/test/Get-AzMySqlConfiguration.Tests.ps1 index 866bb437dbfd..71a64cc7421b 100644 --- a/src/MySql/test/Get-AzMySqlConfiguration.Tests.ps1 +++ b/src/MySql/test/Get-AzMySqlConfiguration.Tests.ps1 @@ -23,7 +23,7 @@ Describe 'Get-AzMySqlConfiguration' { } It 'GetViaIdentity' { - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBforMySQL/servers/$($env.serverName)/configurations/server_id" + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySQL/servers/$($env.serverName)/configurations/server_id" $config = Get-AzMySqlConfiguration -InputObject $ID $config.Name | Should -Be server_id } diff --git a/src/MySql/test/Get-AzMySqlConnectionString.Recording.json b/src/MySql/test/Get-AzMySqlConnectionString.Recording.json index 0e531a8ab8e9..0ebeee730f7e 100644 --- a/src/MySql/test/Get-AzMySqlConnectionString.Recording.json +++ b/src/MySql/test/Get-AzMySqlConnectionString.Recording.json @@ -1,8 +1,8 @@ { - "Get-AzMySqlConnectionString+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { + "Get-AzMySqlConnectionString+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1" ], @@ -35,13 +35,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } }, - "Get-AzMySqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { + "Get-AzMySqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2" ], @@ -74,13 +74,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } }, - "Get-AzMySqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+2": { + "Get-AzMySqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "3" ], @@ -113,13 +113,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } }, - "Get-AzMySqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+3": { + "Get-AzMySqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "4" ], @@ -152,13 +152,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } }, - "Get-AzMySqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+4": { + "Get-AzMySqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "5" ], @@ -191,13 +191,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } }, - "Get-AzMySqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+5": { + "Get-AzMySqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "6" ], @@ -230,13 +230,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } }, - "Get-AzMySqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+6": { + "Get-AzMySqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "7" ], @@ -269,13 +269,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } }, - "Get-AzMySqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+7": { + "Get-AzMySqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "8" ], @@ -308,7 +308,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } } } \ No newline at end of file diff --git a/src/MySql/test/Get-AzMySqlFirewallRule.Recording.json b/src/MySql/test/Get-AzMySqlFirewallRule.Recording.json index f81bce1b53ce..490c40f2621d 100644 --- a/src/MySql/test/Get-AzMySqlFirewallRule.Recording.json +++ b/src/MySql/test/Get-AzMySqlFirewallRule.Recording.json @@ -1,8 +1,8 @@ { - "Get-AzMySqlFirewallRule+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { + "Get-AzMySqlFirewallRule+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": "{\n \"properties\": {\n \"endIpAddress\": \"0.0.0.1\",\n \"startIpAddress\": \"0.0.0.0\"\n }\n}", "Headers": { }, @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/6be5f02d-99c6-48a2-b817-a102f1802474?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/6be5f02d-99c6-48a2-b817-a102f1802474?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/6be5f02d-99c6-48a2-b817-a102f1802474?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/6be5f02d-99c6-48a2-b817-a102f1802474?api-version=2017-12-01" ], "x-ms-request-id": [ "6be5f02d-99c6-48a2-b817-a102f1802474" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-07-24T05:24:25.77Z\"}" } }, - "Get-AzMySqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/6be5f02d-99c6-48a2-b817-a102f1802474?api-version=2017-12-01+2": { + "Get-AzMySqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/6be5f02d-99c6-48a2-b817-a102f1802474?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/6be5f02d-99c6-48a2-b817-a102f1802474?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/6be5f02d-99c6-48a2-b817-a102f1802474?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1", "2" ], @@ -76,10 +76,10 @@ "Content": "{\"name\":\"6be5f02d-99c6-48a2-b817-a102f1802474\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T05:24:25.77Z\"}" } }, - "Get-AzMySqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { + "Get-AzMySqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1", "2", "3" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBForMySQL/servers/firewallRules\"}" } }, - "Get-AzMySqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules?api-version=2017-12-01+4": { + "Get-AzMySqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "4" ], @@ -151,13 +151,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/servers/firewallRules\"}]}" + "Content": "{\"value\":[{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBForMySQL/servers/firewallRules\"}]}" } }, - "Get-AzMySqlFirewallRule+[NoContext]+List+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+5": { + "Get-AzMySqlFirewallRule+[NoContext]+List+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+5": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "5" ], @@ -176,9 +176,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/a0fe98ac-ab84-42fc-a143-e4f0905a1843?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/a0fe98ac-ab84-42fc-a143-e4f0905a1843?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/a0fe98ac-ab84-42fc-a143-e4f0905a1843?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/a0fe98ac-ab84-42fc-a143-e4f0905a1843?api-version=2017-12-01" ], "x-ms-request-id": [ "a0fe98ac-ab84-42fc-a143-e4f0905a1843" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], @@ -196,10 +196,10 @@ "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-07-24T05:24:43.817Z\"}" } }, - "Get-AzMySqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/a0fe98ac-ab84-42fc-a143-e4f0905a1843?api-version=2017-12-01+6": { + "Get-AzMySqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/a0fe98ac-ab84-42fc-a143-e4f0905a1843?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/a0fe98ac-ab84-42fc-a143-e4f0905a1843?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/a0fe98ac-ab84-42fc-a143-e4f0905a1843?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "5", "6" ], @@ -236,10 +236,10 @@ "Content": "{\"name\":\"a0fe98ac-ab84-42fc-a143-e4f0905a1843\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T05:24:43.817Z\"}" } }, - "Get-AzMySqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/a0fe98ac-ab84-42fc-a143-e4f0905a1843?api-version=2017-12-01+7": { + "Get-AzMySqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/a0fe98ac-ab84-42fc-a143-e4f0905a1843?api-version=2017-12-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/a0fe98ac-ab84-42fc-a143-e4f0905a1843?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/a0fe98ac-ab84-42fc-a143-e4f0905a1843?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "5", "6", "7" ], @@ -274,10 +274,10 @@ "Content": null } }, - "Get-AzMySqlFirewallRule+[NoContext]+Get+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { + "Get-AzMySqlFirewallRule+[NoContext]+Get+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": "{\n \"properties\": {\n \"endIpAddress\": \"0.0.0.1\",\n \"startIpAddress\": \"0.0.0.0\"\n }\n}", "Headers": { }, @@ -291,9 +291,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/32c7fbff-0076-4284-88ed-a58c6c5dc049?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/32c7fbff-0076-4284-88ed-a58c6c5dc049?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/32c7fbff-0076-4284-88ed-a58c6c5dc049?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/32c7fbff-0076-4284-88ed-a58c6c5dc049?api-version=2017-12-01" ], "x-ms-request-id": [ "32c7fbff-0076-4284-88ed-a58c6c5dc049" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], @@ -311,10 +311,10 @@ "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-07-24T05:25:01.13Z\"}" } }, - "Get-AzMySqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/32c7fbff-0076-4284-88ed-a58c6c5dc049?api-version=2017-12-01+2": { + "Get-AzMySqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/32c7fbff-0076-4284-88ed-a58c6c5dc049?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/32c7fbff-0076-4284-88ed-a58c6c5dc049?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/32c7fbff-0076-4284-88ed-a58c6c5dc049?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "8", "9" ], @@ -351,10 +351,10 @@ "Content": "{\"name\":\"32c7fbff-0076-4284-88ed-a58c6c5dc049\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T05:25:01.13Z\"}" } }, - "Get-AzMySqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { + "Get-AzMySqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "8", "9", "10" ], @@ -387,13 +387,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBForMySQL/servers/firewallRules\"}" } }, - "Get-AzMySqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+4": { + "Get-AzMySqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "11" ], @@ -426,13 +426,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBForMySQL/servers/firewallRules\"}" } }, - "Get-AzMySqlFirewallRule+[NoContext]+Get+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+5": { + "Get-AzMySqlFirewallRule+[NoContext]+Get+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+5": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "12" ], @@ -451,9 +451,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/ec6ea1ad-4667-4ae5-aa62-19a01bd6b18c?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/ec6ea1ad-4667-4ae5-aa62-19a01bd6b18c?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ec6ea1ad-4667-4ae5-aa62-19a01bd6b18c?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/ec6ea1ad-4667-4ae5-aa62-19a01bd6b18c?api-version=2017-12-01" ], "x-ms-request-id": [ "ec6ea1ad-4667-4ae5-aa62-19a01bd6b18c" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14998" ], @@ -471,10 +471,10 @@ "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-07-24T05:25:18.897Z\"}" } }, - "Get-AzMySqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ec6ea1ad-4667-4ae5-aa62-19a01bd6b18c?api-version=2017-12-01+6": { + "Get-AzMySqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/ec6ea1ad-4667-4ae5-aa62-19a01bd6b18c?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ec6ea1ad-4667-4ae5-aa62-19a01bd6b18c?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/ec6ea1ad-4667-4ae5-aa62-19a01bd6b18c?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "12", "13" ], @@ -511,10 +511,10 @@ "Content": "{\"name\":\"ec6ea1ad-4667-4ae5-aa62-19a01bd6b18c\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T05:25:18.897Z\"}" } }, - "Get-AzMySqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/ec6ea1ad-4667-4ae5-aa62-19a01bd6b18c?api-version=2017-12-01+7": { + "Get-AzMySqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/ec6ea1ad-4667-4ae5-aa62-19a01bd6b18c?api-version=2017-12-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/ec6ea1ad-4667-4ae5-aa62-19a01bd6b18c?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/ec6ea1ad-4667-4ae5-aa62-19a01bd6b18c?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "12", "13", "14" ], @@ -549,10 +549,10 @@ "Content": null } }, - "Get-AzMySqlFirewallRule+[NoContext]+GetViaIdentity+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { + "Get-AzMySqlFirewallRule+[NoContext]+GetViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": "{\n \"properties\": {\n \"endIpAddress\": \"0.0.0.1\",\n \"startIpAddress\": \"0.0.0.0\"\n }\n}", "Headers": { }, @@ -566,9 +566,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/45403173-0f51-4d6c-be03-f0b08a4ea1fa?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/45403173-0f51-4d6c-be03-f0b08a4ea1fa?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/45403173-0f51-4d6c-be03-f0b08a4ea1fa?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/45403173-0f51-4d6c-be03-f0b08a4ea1fa?api-version=2017-12-01" ], "x-ms-request-id": [ "45403173-0f51-4d6c-be03-f0b08a4ea1fa" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], @@ -586,10 +586,10 @@ "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-07-24T05:25:36.24Z\"}" } }, - "Get-AzMySqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/45403173-0f51-4d6c-be03-f0b08a4ea1fa?api-version=2017-12-01+2": { + "Get-AzMySqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/45403173-0f51-4d6c-be03-f0b08a4ea1fa?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/45403173-0f51-4d6c-be03-f0b08a4ea1fa?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/45403173-0f51-4d6c-be03-f0b08a4ea1fa?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "15", "16" ], @@ -626,10 +626,10 @@ "Content": "{\"name\":\"45403173-0f51-4d6c-be03-f0b08a4ea1fa\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T05:25:36.24Z\"}" } }, - "Get-AzMySqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { + "Get-AzMySqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "15", "16", "17" ], @@ -662,13 +662,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBForMySQL/servers/firewallRules\"}" } }, - "Get-AzMySqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+4": { + "Get-AzMySqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "18" ], @@ -701,13 +701,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBForMySQL/servers/firewallRules\"}" } }, - "Get-AzMySqlFirewallRule+[NoContext]+GetViaIdentity+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+5": { + "Get-AzMySqlFirewallRule+[NoContext]+GetViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+5": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "19" ], @@ -726,9 +726,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/03d7b0c5-6fc4-44b0-a051-0df46b347c8c?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/03d7b0c5-6fc4-44b0-a051-0df46b347c8c?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/03d7b0c5-6fc4-44b0-a051-0df46b347c8c?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/03d7b0c5-6fc4-44b0-a051-0df46b347c8c?api-version=2017-12-01" ], "x-ms-request-id": [ "03d7b0c5-6fc4-44b0-a051-0df46b347c8c" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14997" ], @@ -746,10 +746,10 @@ "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-07-24T05:25:54.037Z\"}" } }, - "Get-AzMySqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/03d7b0c5-6fc4-44b0-a051-0df46b347c8c?api-version=2017-12-01+6": { + "Get-AzMySqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/03d7b0c5-6fc4-44b0-a051-0df46b347c8c?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/03d7b0c5-6fc4-44b0-a051-0df46b347c8c?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/03d7b0c5-6fc4-44b0-a051-0df46b347c8c?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "19", "20" ], @@ -786,10 +786,10 @@ "Content": "{\"name\":\"03d7b0c5-6fc4-44b0-a051-0df46b347c8c\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T05:25:54.037Z\"}" } }, - "Get-AzMySqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/03d7b0c5-6fc4-44b0-a051-0df46b347c8c?api-version=2017-12-01+7": { + "Get-AzMySqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/03d7b0c5-6fc4-44b0-a051-0df46b347c8c?api-version=2017-12-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/03d7b0c5-6fc4-44b0-a051-0df46b347c8c?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/03d7b0c5-6fc4-44b0-a051-0df46b347c8c?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "19", "20", "21" ], diff --git a/src/MySql/test/Get-AzMySqlFirewallRule.Tests.ps1 b/src/MySql/test/Get-AzMySqlFirewallRule.Tests.ps1 index a7db033c8870..b983ac336cf1 100644 --- a/src/MySql/test/Get-AzMySqlFirewallRule.Tests.ps1 +++ b/src/MySql/test/Get-AzMySqlFirewallRule.Tests.ps1 @@ -29,7 +29,7 @@ Describe 'Get-AzMySqlFirewallRule' { It 'GetViaIdentity' { New-AzMySqlFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBforMySQL/servers/$($env.serverName)/firewallRules/$($env.firewallRuleName)" + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySQL/servers/$($env.serverName)/firewallRules/$($env.firewallRuleName)" $rule = Get-AzMySqlFirewallRule -InputObject $ID $rule.StartIPAddress | Should -Be 0.0.0.0 $rule.EndIPAddress | Should -Be 0.0.0.1 diff --git a/src/MySql/test/Get-AzMySqlFlexibleServerLocationBasedCapability.Tests.ps1 b/src/MySql/test/Get-AzMySqlFlexibleServerLocationBasedCapability.Tests.ps1 deleted file mode 100644 index 7326b57344ac..000000000000 --- a/src/MySql/test/Get-AzMySqlFlexibleServerLocationBasedCapability.Tests.ps1 +++ /dev/null @@ -1,18 +0,0 @@ -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzMySqlFlexibleServerLocationBasedCapability.Recording.json' -$currentPath = $PSScriptRoot -while(-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - -Describe 'Get-AzMySqlFlexibleServerLocationBasedCapability' { - It 'List' -skip { - { throw [System.NotImplementedException] } | Should -Not -Throw - } -} diff --git a/src/MySql/test/Get-AzMySqlReplica.Recording.json b/src/MySql/test/Get-AzMySqlReplica.Recording.json index b9780365f810..5846d470f5f1 100644 --- a/src/MySql/test/Get-AzMySqlReplica.Recording.json +++ b/src/MySql/test/Get-AzMySqlReplica.Recording.json @@ -1,8 +1,8 @@ { - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1" ], @@ -35,14 +35,14 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } }, - "Get-AzMySqlReplica+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+2": { + "Get-AzMySqlReplica+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+2": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"createMode\": \"Replica\",\n \"sourceServerId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\"\n },\n \"location\": \"eastus\"\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"createMode\": \"Replica\",\n \"sourceServerId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\"\n },\n \"location\": \"eastus\"\n}", "Headers": { }, "ContentHeaders": { @@ -55,9 +55,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01" ], "x-ms-request-id": [ "ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], @@ -75,10 +75,10 @@ "Content": "{\"operation\":\"CreateElasticServerContinuousCopy\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" } }, - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+3": { + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3" ], @@ -115,10 +115,10 @@ "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" } }, - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+4": { + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4" ], @@ -155,10 +155,10 @@ "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" } }, - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+5": { + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5" ], @@ -195,10 +195,10 @@ "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" } }, - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+6": { + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6" ], @@ -235,10 +235,10 @@ "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" } }, - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+7": { + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7" ], @@ -275,10 +275,10 @@ "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" } }, - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+8": { + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8" ], @@ -315,10 +315,10 @@ "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" } }, - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+9": { + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9" ], @@ -355,10 +355,10 @@ "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" } }, - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+10": { + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10" ], @@ -395,10 +395,10 @@ "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" } }, - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+11": { + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11" ], @@ -435,10 +435,10 @@ "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" } }, - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+12": { + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" ], @@ -475,10 +475,10 @@ "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" } }, - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+13": { + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13" ], @@ -515,10 +515,10 @@ "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" } }, - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+14": { + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+14": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14" ], @@ -555,10 +555,10 @@ "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" } }, - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+15": { + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+15": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], @@ -595,10 +595,10 @@ "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" } }, - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+16": { + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+16": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16" ], @@ -635,10 +635,10 @@ "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" } }, - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+17": { + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+17": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17" ], @@ -675,10 +675,10 @@ "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" } }, - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+18": { + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+18": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18" ], @@ -715,10 +715,10 @@ "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" } }, - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+19": { + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+19": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19" ], @@ -755,10 +755,10 @@ "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" } }, - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+20": { + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01+20": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20" ], @@ -795,10 +795,10 @@ "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" } }, - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+21": { + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+21": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21" ], @@ -831,13 +831,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100-replica.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T08:01:19.783+00:00\",\"replicationRole\":\"Replica\",\"masterServerId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica\",\"name\":\"mysql-test-100-replica\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100-replica.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T08:01:19.783+00:00\",\"replicationRole\":\"Replica\",\"masterServerId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica\",\"name\":\"mysql-test-100-replica\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } }, - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/replicas?api-version=2017-12-01+22": { + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/replicas?api-version=2017-12-01+22": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/replicas?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/replicas?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "22" ], @@ -870,13 +870,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100-replica.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T08:01:19.783+00:00\",\"replicationRole\":\"Replica\",\"masterServerId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica\",\"name\":\"mysql-test-100-replica\",\"type\":\"Microsoft.DBforMySQL/servers\"}]}" + "Content": "{\"value\":[{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100-replica.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T08:01:19.783+00:00\",\"replicationRole\":\"Replica\",\"masterServerId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica\",\"name\":\"mysql-test-100-replica\",\"type\":\"Microsoft.DBForMySQL/servers\"}]}" } }, - "Get-AzMySqlReplica+[NoContext]+List+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+23": { + "Get-AzMySqlReplica+[NoContext]+List+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+23": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "23" ], @@ -895,9 +895,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/1febca3d-6c67-4885-96a8-3b17d2aac22e?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/1febca3d-6c67-4885-96a8-3b17d2aac22e?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/1febca3d-6c67-4885-96a8-3b17d2aac22e?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/1febca3d-6c67-4885-96a8-3b17d2aac22e?api-version=2017-12-01" ], "x-ms-request-id": [ "1febca3d-6c67-4885-96a8-3b17d2aac22e" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14997" ], @@ -915,10 +915,10 @@ "Content": "{\"operation\":\"DropElasticServer\",\"startTime\":\"2020-07-24T07:59:18.913Z\"}" } }, - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/1febca3d-6c67-4885-96a8-3b17d2aac22e?api-version=2017-12-01+24": { + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/1febca3d-6c67-4885-96a8-3b17d2aac22e?api-version=2017-12-01+24": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/1febca3d-6c67-4885-96a8-3b17d2aac22e?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/1febca3d-6c67-4885-96a8-3b17d2aac22e?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "23", "24" ], @@ -955,10 +955,10 @@ "Content": "{\"name\":\"1febca3d-6c67-4885-96a8-3b17d2aac22e\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:59:18.913Z\"}" } }, - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/1febca3d-6c67-4885-96a8-3b17d2aac22e?api-version=2017-12-01+25": { + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/1febca3d-6c67-4885-96a8-3b17d2aac22e?api-version=2017-12-01+25": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/1febca3d-6c67-4885-96a8-3b17d2aac22e?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/1febca3d-6c67-4885-96a8-3b17d2aac22e?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "23", "24", "25" ], diff --git a/src/MySql/test/Get-AzMySqlServer.Recording.json b/src/MySql/test/Get-AzMySqlServer.Recording.json index 8642aadaeadb..148db15a7ef2 100644 --- a/src/MySql/test/Get-AzMySqlServer.Recording.json +++ b/src/MySql/test/Get-AzMySqlServer.Recording.json @@ -1,8 +1,8 @@ { - "Get-AzMySqlServer+[NoContext]+List1+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/servers?api-version=2017-12-01+1": { + "Get-AzMySqlServer+[NoContext]+List1+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/servers?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/servers?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/servers?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1" ], @@ -35,13 +35,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"sku\":{\"name\":\"B_Gen5_2\",\"tier\":\"Basic\",\"family\":\"Gen5\",\"capacity\":2},\"properties\":{\"administratorLogin\":\"lucas\",\"storageProfile\":{\"storageMB\":51200,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"azuremysql-dev.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-17T06:07:08.9960907+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"tags\":{},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/azureps-manual-test/providers/Microsoft.DBforMySQL/servers/azuremysql-dev\",\"name\":\"azuremysql-dev\",\"type\":\"Microsoft.DBforMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"dbadmin\",\"storageProfile\":{\"storageMB\":102400,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"xdmmysql.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-17T06:07:08.9960907+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"tags\":{},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/dixue/providers/Microsoft.DBforMySQL/servers/xdmmysql\",\"name\":\"xdmmysql\",\"type\":\"Microsoft.DBforMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"adminuser\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test01.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T02:00:15.2+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.DBforMySQL/servers/mysql-test01\",\"name\":\"mysql-test01\",\"type\":\"Microsoft.DBforMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"adminuser\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test05.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T02:26:40.383+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.DBforMySQL/servers/mysql-test05\",\"name\":\"mysql-test05\",\"type\":\"Microsoft.DBforMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"adminuser\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test03.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T02:30:31.007+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.DBforMySQL/servers/mysql-test03\",\"name\":\"mysql-test03\",\"type\":\"Microsoft.DBforMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"adminuser\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test04.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T02:43:20.62+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.DBforMySQL/servers/mysql-test04\",\"name\":\"mysql-test04\",\"type\":\"Microsoft.DBforMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"adminuser\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test06.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T02:58:37.123+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.DBforMySQL/servers/mysql-test06\",\"name\":\"mysql-test06\",\"type\":\"Microsoft.DBforMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"adminuser\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test07.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:03:29.807+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.DBforMySQL/servers/mysql-test07\",\"name\":\"mysql-test07\",\"type\":\"Microsoft.DBforMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"adminuser\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-888.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T04:06:02.24+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.DBforMySQL/servers/mysql-test-888\",\"name\":\"mysql-test-888\",\"type\":\"Microsoft.DBforMySQL/servers\"}]}" + "Content": "{\"value\":[{\"sku\":{\"name\":\"B_Gen5_2\",\"tier\":\"Basic\",\"family\":\"Gen5\",\"capacity\":2},\"properties\":{\"administratorLogin\":\"lucas\",\"storageProfile\":{\"storageMB\":51200,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"azuremysql-dev.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-17T06:07:08.9960907+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/azureps-manual-test/providers/Microsoft.DBForMySQL/servers/azuremysql-dev\",\"name\":\"azuremysql-dev\",\"type\":\"Microsoft.DBForMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"dbadmin\",\"storageProfile\":{\"storageMB\":102400,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"xdmmysql.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-17T06:07:08.9960907+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/dixue/providers/Microsoft.DBForMySQL/servers/xdmmysql\",\"name\":\"xdmmysql\",\"type\":\"Microsoft.DBForMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"adminuser\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test01.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T02:00:15.2+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/lucas-manual-test/providers/Microsoft.DBForMySQL/servers/mysql-test01\",\"name\":\"mysql-test01\",\"type\":\"Microsoft.DBForMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"adminuser\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test05.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T02:26:40.383+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/lucas-manual-test/providers/Microsoft.DBForMySQL/servers/mysql-test05\",\"name\":\"mysql-test05\",\"type\":\"Microsoft.DBForMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"adminuser\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test03.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T02:30:31.007+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/lucas-manual-test/providers/Microsoft.DBForMySQL/servers/mysql-test03\",\"name\":\"mysql-test03\",\"type\":\"Microsoft.DBForMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"adminuser\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test04.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T02:43:20.62+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/lucas-manual-test/providers/Microsoft.DBForMySQL/servers/mysql-test04\",\"name\":\"mysql-test04\",\"type\":\"Microsoft.DBForMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"adminuser\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test06.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T02:58:37.123+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/lucas-manual-test/providers/Microsoft.DBForMySQL/servers/mysql-test06\",\"name\":\"mysql-test06\",\"type\":\"Microsoft.DBForMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"adminuser\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test07.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:03:29.807+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/lucas-manual-test/providers/Microsoft.DBForMySQL/servers/mysql-test07\",\"name\":\"mysql-test07\",\"type\":\"Microsoft.DBForMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"adminuser\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-888.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T04:06:02.24+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/lucas-manual-test/providers/Microsoft.DBForMySQL/servers/mysql-test-888\",\"name\":\"mysql-test-888\",\"type\":\"Microsoft.DBForMySQL/servers\"}]}" } }, - "Get-AzMySqlServer+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { + "Get-AzMySqlServer+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2" ], @@ -74,13 +74,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } }, - "Get-AzMySqlServer+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers?api-version=2017-12-01+1": { + "Get-AzMySqlServer+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "3" ], @@ -113,13 +113,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}]}" + "Content": "{\"value\":[{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}]}" } }, - "Get-AzMySqlServer+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { + "Get-AzMySqlServer+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "4" ], @@ -152,7 +152,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } } } \ No newline at end of file diff --git a/src/MySql/test/Get-AzMySqlServer.Tests.ps1 b/src/MySql/test/Get-AzMySqlServer.Tests.ps1 index 99021bced00d..a139cba43921 100644 --- a/src/MySql/test/Get-AzMySqlServer.Tests.ps1 +++ b/src/MySql/test/Get-AzMySqlServer.Tests.ps1 @@ -28,7 +28,7 @@ Describe 'Get-AzMySqlServer' { } It 'GetViaIdentity' { - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBforMySQL/servers/$($env.serverName)" + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySQL/servers/$($env.serverName)" $servers = Get-AzMySqlServer -InputObject $ID $servers.Name | Should -Be $env.serverName } diff --git a/src/MySql/test/Get-AzMySqlVirtualNetworkRule.Recording.json b/src/MySql/test/Get-AzMySqlVirtualNetworkRule.Recording.json index 908bc02d7f58..94cc692c38fe 100644 --- a/src/MySql/test/Get-AzMySqlVirtualNetworkRule.Recording.json +++ b/src/MySql/test/Get-AzMySqlVirtualNetworkRule.Recording.json @@ -1,9 +1,9 @@ { - "Get-AzMySqlVirtualNetworkRule+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { + "Get-AzMySqlVirtualNetworkRule+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\n }\n}", "Headers": { }, "ContentHeaders": { @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/569cb4f0-1275-4372-9370-179d5ddc5b42?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/569cb4f0-1275-4372-9370-179d5ddc5b42?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/569cb4f0-1275-4372-9370-179d5ddc5b42?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/569cb4f0-1275-4372-9370-179d5ddc5b42?api-version=2017-12-01" ], "x-ms-request-id": [ "569cb4f0-1275-4372-9370-179d5ddc5b42" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T06:07:42.957Z\"}" } }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/569cb4f0-1275-4372-9370-179d5ddc5b42?api-version=2017-12-01+2": { + "Get-AzMySqlVirtualNetworkRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/569cb4f0-1275-4372-9370-179d5ddc5b42?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/569cb4f0-1275-4372-9370-179d5ddc5b42?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/569cb4f0-1275-4372-9370-179d5ddc5b42?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1", "2" ], @@ -76,10 +76,10 @@ "Content": "{\"name\":\"569cb4f0-1275-4372-9370-179d5ddc5b42\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:07:42.957Z\"}" } }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+3": { + "Get-AzMySqlVirtualNetworkRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1", "2", "3" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBforMySQL/servers/virtualNetworkRules\"}" + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBForMySQL/servers/virtualNetworkRules\"}" } }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules?api-version=2017-12-01+4": { + "Get-AzMySqlVirtualNetworkRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "4" ], @@ -151,13 +151,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBforMySQL/servers/virtualNetworkRules\"}]}" + "Content": "{\"value\":[{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBForMySQL/servers/virtualNetworkRules\"}]}" } }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+List+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+5": { + "Get-AzMySqlVirtualNetworkRule+[NoContext]+List+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+5": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "5" ], @@ -176,9 +176,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/8d80b6fc-e5e2-4a05-8a3f-f1dcaa707318?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/8d80b6fc-e5e2-4a05-8a3f-f1dcaa707318?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/8d80b6fc-e5e2-4a05-8a3f-f1dcaa707318?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/8d80b6fc-e5e2-4a05-8a3f-f1dcaa707318?api-version=2017-12-01" ], "x-ms-request-id": [ "8d80b6fc-e5e2-4a05-8a3f-f1dcaa707318" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], @@ -196,10 +196,10 @@ "Content": "{\"operation\":\"DropElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T06:08:16.77Z\"}" } }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/8d80b6fc-e5e2-4a05-8a3f-f1dcaa707318?api-version=2017-12-01+6": { + "Get-AzMySqlVirtualNetworkRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/8d80b6fc-e5e2-4a05-8a3f-f1dcaa707318?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/8d80b6fc-e5e2-4a05-8a3f-f1dcaa707318?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/8d80b6fc-e5e2-4a05-8a3f-f1dcaa707318?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "5", "6" ], @@ -236,10 +236,10 @@ "Content": "{\"name\":\"8d80b6fc-e5e2-4a05-8a3f-f1dcaa707318\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:08:16.77Z\"}" } }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/8d80b6fc-e5e2-4a05-8a3f-f1dcaa707318?api-version=2017-12-01+7": { + "Get-AzMySqlVirtualNetworkRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/8d80b6fc-e5e2-4a05-8a3f-f1dcaa707318?api-version=2017-12-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/8d80b6fc-e5e2-4a05-8a3f-f1dcaa707318?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/8d80b6fc-e5e2-4a05-8a3f-f1dcaa707318?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "5", "6", "7" ], @@ -274,11 +274,11 @@ "Content": null } }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+Get+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { + "Get-AzMySqlVirtualNetworkRule+[NoContext]+Get+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\n }\n}", "Headers": { }, "ContentHeaders": { @@ -291,9 +291,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/eca86a26-160c-4b90-9c07-b010bad8e44b?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/eca86a26-160c-4b90-9c07-b010bad8e44b?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/eca86a26-160c-4b90-9c07-b010bad8e44b?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/eca86a26-160c-4b90-9c07-b010bad8e44b?api-version=2017-12-01" ], "x-ms-request-id": [ "eca86a26-160c-4b90-9c07-b010bad8e44b" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], @@ -311,10 +311,10 @@ "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T06:08:34.003Z\"}" } }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/eca86a26-160c-4b90-9c07-b010bad8e44b?api-version=2017-12-01+2": { + "Get-AzMySqlVirtualNetworkRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/eca86a26-160c-4b90-9c07-b010bad8e44b?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/eca86a26-160c-4b90-9c07-b010bad8e44b?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/eca86a26-160c-4b90-9c07-b010bad8e44b?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "8", "9" ], @@ -351,10 +351,10 @@ "Content": "{\"name\":\"eca86a26-160c-4b90-9c07-b010bad8e44b\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:08:34.003Z\"}" } }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+3": { + "Get-AzMySqlVirtualNetworkRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "8", "9", "10" ], @@ -387,13 +387,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBforMySQL/servers/virtualNetworkRules\"}" + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBForMySQL/servers/virtualNetworkRules\"}" } }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+4": { + "Get-AzMySqlVirtualNetworkRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "11" ], @@ -426,13 +426,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBforMySQL/servers/virtualNetworkRules\"}" + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBForMySQL/servers/virtualNetworkRules\"}" } }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+Get+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+5": { + "Get-AzMySqlVirtualNetworkRule+[NoContext]+Get+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+5": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "12" ], @@ -451,9 +451,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/909e92f8-2e4b-4cca-a590-1a984d1275d8?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/909e92f8-2e4b-4cca-a590-1a984d1275d8?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/909e92f8-2e4b-4cca-a590-1a984d1275d8?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/909e92f8-2e4b-4cca-a590-1a984d1275d8?api-version=2017-12-01" ], "x-ms-request-id": [ "909e92f8-2e4b-4cca-a590-1a984d1275d8" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14998" ], @@ -471,10 +471,10 @@ "Content": "{\"operation\":\"DropElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T06:09:06.55Z\"}" } }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/909e92f8-2e4b-4cca-a590-1a984d1275d8?api-version=2017-12-01+6": { + "Get-AzMySqlVirtualNetworkRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/909e92f8-2e4b-4cca-a590-1a984d1275d8?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/909e92f8-2e4b-4cca-a590-1a984d1275d8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/909e92f8-2e4b-4cca-a590-1a984d1275d8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "12", "13" ], @@ -511,10 +511,10 @@ "Content": "{\"name\":\"909e92f8-2e4b-4cca-a590-1a984d1275d8\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:09:06.55Z\"}" } }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/909e92f8-2e4b-4cca-a590-1a984d1275d8?api-version=2017-12-01+7": { + "Get-AzMySqlVirtualNetworkRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/909e92f8-2e4b-4cca-a590-1a984d1275d8?api-version=2017-12-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/909e92f8-2e4b-4cca-a590-1a984d1275d8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/909e92f8-2e4b-4cca-a590-1a984d1275d8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "12", "13", "14" ], @@ -549,11 +549,11 @@ "Content": null } }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { + "Get-AzMySqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\n }\n}", "Headers": { }, "ContentHeaders": { @@ -566,9 +566,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/c7a1a2cb-254e-4524-957d-a0325f03d984?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/c7a1a2cb-254e-4524-957d-a0325f03d984?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c7a1a2cb-254e-4524-957d-a0325f03d984?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c7a1a2cb-254e-4524-957d-a0325f03d984?api-version=2017-12-01" ], "x-ms-request-id": [ "c7a1a2cb-254e-4524-957d-a0325f03d984" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], @@ -586,10 +586,10 @@ "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T06:09:23.787Z\"}" } }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c7a1a2cb-254e-4524-957d-a0325f03d984?api-version=2017-12-01+2": { + "Get-AzMySqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c7a1a2cb-254e-4524-957d-a0325f03d984?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c7a1a2cb-254e-4524-957d-a0325f03d984?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c7a1a2cb-254e-4524-957d-a0325f03d984?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "15", "16" ], @@ -626,10 +626,10 @@ "Content": "{\"name\":\"c7a1a2cb-254e-4524-957d-a0325f03d984\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:09:23.787Z\"}" } }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+3": { + "Get-AzMySqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "15", "16", "17" ], @@ -662,13 +662,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBforMySQL/servers/virtualNetworkRules\"}" + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBForMySQL/servers/virtualNetworkRules\"}" } }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+4": { + "Get-AzMySqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "18" ], @@ -701,13 +701,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBforMySQL/servers/virtualNetworkRules\"}" + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBForMySQL/servers/virtualNetworkRules\"}" } }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+5": { + "Get-AzMySqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+5": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "19" ], @@ -726,9 +726,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/c39984c8-51b1-4bdb-b580-6d6fceab47f1?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/c39984c8-51b1-4bdb-b580-6d6fceab47f1?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c39984c8-51b1-4bdb-b580-6d6fceab47f1?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c39984c8-51b1-4bdb-b580-6d6fceab47f1?api-version=2017-12-01" ], "x-ms-request-id": [ "c39984c8-51b1-4bdb-b580-6d6fceab47f1" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14997" ], @@ -746,10 +746,10 @@ "Content": "{\"operation\":\"DropElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T06:09:56.49Z\"}" } }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c39984c8-51b1-4bdb-b580-6d6fceab47f1?api-version=2017-12-01+6": { + "Get-AzMySqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c39984c8-51b1-4bdb-b580-6d6fceab47f1?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c39984c8-51b1-4bdb-b580-6d6fceab47f1?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c39984c8-51b1-4bdb-b580-6d6fceab47f1?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "19", "20" ], @@ -786,10 +786,10 @@ "Content": "{\"name\":\"c39984c8-51b1-4bdb-b580-6d6fceab47f1\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:09:56.49Z\"}" } }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/c39984c8-51b1-4bdb-b580-6d6fceab47f1?api-version=2017-12-01+7": { + "Get-AzMySqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/c39984c8-51b1-4bdb-b580-6d6fceab47f1?api-version=2017-12-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/c39984c8-51b1-4bdb-b580-6d6fceab47f1?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/c39984c8-51b1-4bdb-b580-6d6fceab47f1?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "19", "20", "21" ], diff --git a/src/MySql/test/Get-AzMySqlVirtualNetworkRule.Tests.ps1 b/src/MySql/test/Get-AzMySqlVirtualNetworkRule.Tests.ps1 index a00b15080fc1..942bde7f3694 100644 --- a/src/MySql/test/Get-AzMySqlVirtualNetworkRule.Tests.ps1 +++ b/src/MySql/test/Get-AzMySqlVirtualNetworkRule.Tests.ps1 @@ -11,6 +11,7 @@ while(-not $mockingPath) { } . ($mockingPath | Select-Object -First 1).FullName +Mock Write-Host {} Describe 'Get-AzMySqlVirtualNetworkRule' { It 'List' { $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1" @@ -31,7 +32,7 @@ Describe 'Get-AzMySqlVirtualNetworkRule' { It 'GetViaIdentity' { $VnetID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1" New-AzMySqlVirtualNetworkRule -Name $env.VNetName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -SubnetId $VnetID - $RuleID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBforMySQL/servers/$($env.serverName)/virtualNetworkRules/$($env.VNetName)" + $RuleID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySQL/servers/$($env.serverName)/virtualNetworkRules/$($env.VNetName)" $rule = Get-AzMySqlVirtualNetworkRule -InputObject $RuleID $rule.VirtualNetworkSubnetId | Should -Be $VnetID Remove-AzMySqlVirtualNetworkRule -Name $env.VNetName -ResourceGroupName $env.resourceGroup-ServerName $env.serverName diff --git a/src/MySql/test/New-AzMySqlFirewallRule.Recording.json b/src/MySql/test/New-AzMySqlFirewallRule.Recording.json index 21c62f6a1a74..5e4cc5ff0114 100644 --- a/src/MySql/test/New-AzMySqlFirewallRule.Recording.json +++ b/src/MySql/test/New-AzMySqlFirewallRule.Recording.json @@ -1,8 +1,8 @@ { - "New-AzMySqlFirewallRule+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { + "New-AzMySqlFirewallRule+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": "{\r\n \"properties\": {\r\n \"endIpAddress\": \"0.0.0.1\",\r\n \"startIpAddress\": \"0.0.0.0\"\r\n }\r\n}", "Headers": { }, @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/7905d7ea-2033-455a-91a4-7780d0e6c19b?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/7905d7ea-2033-455a-91a4-7780d0e6c19b?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/7905d7ea-2033-455a-91a4-7780d0e6c19b?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/7905d7ea-2033-455a-91a4-7780d0e6c19b?api-version=2017-12-01" ], "x-ms-request-id": [ "7905d7ea-2033-455a-91a4-7780d0e6c19b" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1191" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-08-11T13:27:05.877Z\"}" } }, - "New-AzMySqlFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/7905d7ea-2033-455a-91a4-7780d0e6c19b?api-version=2017-12-01+2": { + "New-AzMySqlFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/7905d7ea-2033-455a-91a4-7780d0e6c19b?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/7905d7ea-2033-455a-91a4-7780d0e6c19b?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/7905d7ea-2033-455a-91a4-7780d0e6c19b?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "94", "95" ], @@ -76,10 +76,10 @@ "Content": "{\"name\":\"7905d7ea-2033-455a-91a4-7780d0e6c19b\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-11T13:27:05.877Z\"}" } }, - "New-AzMySqlFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { + "New-AzMySqlFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "94", "95", "96" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBForMySQL/servers/firewallRules\"}" } }, - "New-AzMySqlFirewallRule+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+4": { + "New-AzMySqlFirewallRule+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "97" ], @@ -137,9 +137,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/afcfce15-c285-405b-9fa2-5b12013a9137?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/afcfce15-c285-405b-9fa2-5b12013a9137?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/afcfce15-c285-405b-9fa2-5b12013a9137?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/afcfce15-c285-405b-9fa2-5b12013a9137?api-version=2017-12-01" ], "x-ms-request-id": [ "afcfce15-c285-405b-9fa2-5b12013a9137" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14992" ], @@ -157,10 +157,10 @@ "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-08-11T13:27:23.83Z\"}" } }, - "New-AzMySqlFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/afcfce15-c285-405b-9fa2-5b12013a9137?api-version=2017-12-01+5": { + "New-AzMySqlFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/afcfce15-c285-405b-9fa2-5b12013a9137?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/afcfce15-c285-405b-9fa2-5b12013a9137?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/afcfce15-c285-405b-9fa2-5b12013a9137?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "97", "98" ], @@ -197,10 +197,10 @@ "Content": "{\"name\":\"afcfce15-c285-405b-9fa2-5b12013a9137\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-11T13:27:23.83Z\"}" } }, - "New-AzMySqlFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/afcfce15-c285-405b-9fa2-5b12013a9137?api-version=2017-12-01+6": { + "New-AzMySqlFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/afcfce15-c285-405b-9fa2-5b12013a9137?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/afcfce15-c285-405b-9fa2-5b12013a9137?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/afcfce15-c285-405b-9fa2-5b12013a9137?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "97", "98", "99" ], @@ -235,10 +235,10 @@ "Content": null } }, - "New-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { + "New-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": "{\r\n \"properties\": {\r\n \"endIpAddress\": \"0.0.0.1\",\r\n \"startIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -252,9 +252,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/7829f89e-24fe-4760-af09-60a52c725ace?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/7829f89e-24fe-4760-af09-60a52c725ace?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/7829f89e-24fe-4760-af09-60a52c725ace?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/7829f89e-24fe-4760-af09-60a52c725ace?api-version=2017-12-01" ], "x-ms-request-id": [ "7829f89e-24fe-4760-af09-60a52c725ace" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1190" ], @@ -272,10 +272,10 @@ "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-08-11T13:27:42.36Z\"}" } }, - "New-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/7829f89e-24fe-4760-af09-60a52c725ace?api-version=2017-12-01+2": { + "New-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/7829f89e-24fe-4760-af09-60a52c725ace?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/7829f89e-24fe-4760-af09-60a52c725ace?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/7829f89e-24fe-4760-af09-60a52c725ace?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "100", "101" ], @@ -312,10 +312,10 @@ "Content": "{\"name\":\"7829f89e-24fe-4760-af09-60a52c725ace\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-11T13:27:42.36Z\"}" } }, - "New-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { + "New-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "100", "101", "102" ], @@ -348,13 +348,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.1\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.1\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBForMySQL/servers/firewallRules\"}" } }, - "New-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+4": { + "New-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "103" ], @@ -373,9 +373,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/0bfce3da-97d8-4215-a951-d983b2ce4fd6?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/0bfce3da-97d8-4215-a951-d983b2ce4fd6?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/0bfce3da-97d8-4215-a951-d983b2ce4fd6?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/0bfce3da-97d8-4215-a951-d983b2ce4fd6?api-version=2017-12-01" ], "x-ms-request-id": [ "0bfce3da-97d8-4215-a951-d983b2ce4fd6" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14991" ], @@ -393,10 +393,10 @@ "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-08-11T13:28:00.173Z\"}" } }, - "New-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/0bfce3da-97d8-4215-a951-d983b2ce4fd6?api-version=2017-12-01+5": { + "New-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/0bfce3da-97d8-4215-a951-d983b2ce4fd6?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/0bfce3da-97d8-4215-a951-d983b2ce4fd6?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/0bfce3da-97d8-4215-a951-d983b2ce4fd6?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "103", "104" ], @@ -433,10 +433,10 @@ "Content": "{\"name\":\"0bfce3da-97d8-4215-a951-d983b2ce4fd6\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-11T13:28:00.173Z\"}" } }, - "New-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/0bfce3da-97d8-4215-a951-d983b2ce4fd6?api-version=2017-12-01+6": { + "New-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/0bfce3da-97d8-4215-a951-d983b2ce4fd6?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/0bfce3da-97d8-4215-a951-d983b2ce4fd6?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/0bfce3da-97d8-4215-a951-d983b2ce4fd6?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "103", "104", "105" ], @@ -471,10 +471,10 @@ "Content": null } }, - "New-AzMySqlFirewallRule+[NoContext]+AllowAll+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01+1": { + "New-AzMySqlFirewallRule+[NoContext]+AllowAll+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01", "Content": "{\r\n \"properties\": {\r\n \"endIpAddress\": \"255.255.255.255\",\r\n \"startIpAddress\": \"0.0.0.0\"\r\n }\r\n}", "Headers": { }, @@ -488,9 +488,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/8a4de3fa-c25f-4b3a-9c9a-fc8b40491ef9?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/8a4de3fa-c25f-4b3a-9c9a-fc8b40491ef9?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/8a4de3fa-c25f-4b3a-9c9a-fc8b40491ef9?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/8a4de3fa-c25f-4b3a-9c9a-fc8b40491ef9?api-version=2017-12-01" ], "x-ms-request-id": [ "8a4de3fa-c25f-4b3a-9c9a-fc8b40491ef9" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1189" ], @@ -508,10 +508,10 @@ "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-08-11T13:28:19.243Z\"}" } }, - "New-AzMySqlFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/8a4de3fa-c25f-4b3a-9c9a-fc8b40491ef9?api-version=2017-12-01+2": { + "New-AzMySqlFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/8a4de3fa-c25f-4b3a-9c9a-fc8b40491ef9?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/8a4de3fa-c25f-4b3a-9c9a-fc8b40491ef9?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/8a4de3fa-c25f-4b3a-9c9a-fc8b40491ef9?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "106", "107" ], @@ -548,10 +548,10 @@ "Content": "{\"name\":\"8a4de3fa-c25f-4b3a-9c9a-fc8b40491ef9\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-11T13:28:19.243Z\"}" } }, - "New-AzMySqlFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01+3": { + "New-AzMySqlFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "106", "107", "108" ], @@ -584,13 +584,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"255.255.255.255\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19\",\"name\":\"AllowAll_2020-08-11_21-28-19\",\"type\":\"Microsoft.DBforMySQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"255.255.255.255\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19\",\"name\":\"AllowAll_2020-08-11_21-28-19\",\"type\":\"Microsoft.DBForMySQL/servers/firewallRules\"}" } }, - "New-AzMySqlFirewallRule+[NoContext]+AllowAll+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01+4": { + "New-AzMySqlFirewallRule+[NoContext]+AllowAll+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "109" ], @@ -609,9 +609,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/42839a43-c94c-48c1-a2c0-71273cd0b3ec?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/42839a43-c94c-48c1-a2c0-71273cd0b3ec?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/42839a43-c94c-48c1-a2c0-71273cd0b3ec?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/42839a43-c94c-48c1-a2c0-71273cd0b3ec?api-version=2017-12-01" ], "x-ms-request-id": [ "42839a43-c94c-48c1-a2c0-71273cd0b3ec" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14990" ], @@ -629,10 +629,10 @@ "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-08-11T13:28:37.043Z\"}" } }, - "New-AzMySqlFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/42839a43-c94c-48c1-a2c0-71273cd0b3ec?api-version=2017-12-01+5": { + "New-AzMySqlFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/42839a43-c94c-48c1-a2c0-71273cd0b3ec?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/42839a43-c94c-48c1-a2c0-71273cd0b3ec?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/42839a43-c94c-48c1-a2c0-71273cd0b3ec?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "109", "110" ], @@ -669,10 +669,10 @@ "Content": "{\"name\":\"42839a43-c94c-48c1-a2c0-71273cd0b3ec\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-11T13:28:37.043Z\"}" } }, - "New-AzMySqlFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/42839a43-c94c-48c1-a2c0-71273cd0b3ec?api-version=2017-12-01+6": { + "New-AzMySqlFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/42839a43-c94c-48c1-a2c0-71273cd0b3ec?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/42839a43-c94c-48c1-a2c0-71273cd0b3ec?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/42839a43-c94c-48c1-a2c0-71273cd0b3ec?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "109", "110", "111" ], diff --git a/src/MySql/test/New-AzMySqlReplica.Recording.json b/src/MySql/test/New-AzMySqlReplica.Recording.json index 044fd33a0940..827b7334eb1d 100644 --- a/src/MySql/test/New-AzMySqlReplica.Recording.json +++ b/src/MySql/test/New-AzMySqlReplica.Recording.json @@ -1,8 +1,8 @@ { - "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { + "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "112" ], @@ -35,14 +35,14 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-04-08T11:03:09.983+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-04-08T11:03:09.983+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } }, - "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+2": { + "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+2": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"createMode\": \"Replica\",\n \"sourceServerId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\"\n },\n \"location\": \"eastus\"\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"createMode\": \"Replica\",\n \"sourceServerId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\"\n },\n \"location\": \"eastus\"\n}", "Headers": { "x-ms-unique-id": [ "113" ], "x-ms-client-request-id": [ "4aa2cfae-328b-4480-bb80-e295fb82387f" ], @@ -62,9 +62,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01" ], "x-ms-request-id": [ "c76c579e-55b4-4fe9-b19d-75093eeca064" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1189" ], @@ -82,10 +82,10 @@ "Content": "{\"operation\":\"CreateElasticServerContinuousCopy\",\"startTime\":\"2020-04-08T11:13:22.287Z\"}" } }, - "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01+3": { + "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "113", "114" ], @@ -122,10 +122,10 @@ "Content": "{\"name\":\"c76c579e-55b4-4fe9-b19d-75093eeca064\",\"status\":\"InProgress\",\"startTime\":\"2020-04-08T11:13:22.287Z\"}" } }, - "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01+4": { + "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "113", "114", "115" ], @@ -162,10 +162,10 @@ "Content": "{\"name\":\"c76c579e-55b4-4fe9-b19d-75093eeca064\",\"status\":\"InProgress\",\"startTime\":\"2020-04-08T11:13:22.287Z\"}" } }, - "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01+5": { + "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "113", "114", "115", "116" ], @@ -202,10 +202,10 @@ "Content": "{\"name\":\"c76c579e-55b4-4fe9-b19d-75093eeca064\",\"status\":\"InProgress\",\"startTime\":\"2020-04-08T11:13:22.287Z\"}" } }, - "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01+6": { + "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "113", "114", "115", "116", "117" ], @@ -242,10 +242,10 @@ "Content": "{\"name\":\"c76c579e-55b4-4fe9-b19d-75093eeca064\",\"status\":\"InProgress\",\"startTime\":\"2020-04-08T11:13:22.287Z\"}" } }, - "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01+7": { + "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "113", "114", "115", "116", "117", "118" ], @@ -282,10 +282,10 @@ "Content": "{\"name\":\"c76c579e-55b4-4fe9-b19d-75093eeca064\",\"status\":\"InProgress\",\"startTime\":\"2020-04-08T11:13:22.287Z\"}" } }, - "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01+8": { + "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "113", "114", "115", "116", "117", "118", "119" ], @@ -322,10 +322,10 @@ "Content": "{\"name\":\"c76c579e-55b4-4fe9-b19d-75093eeca064\",\"status\":\"InProgress\",\"startTime\":\"2020-04-08T11:13:22.287Z\"}" } }, - "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01+9": { + "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "113", "114", "115", "116", "117", "118", "119", "120" ], @@ -362,10 +362,10 @@ "Content": "{\"name\":\"c76c579e-55b4-4fe9-b19d-75093eeca064\",\"status\":\"InProgress\",\"startTime\":\"2020-04-08T11:13:22.287Z\"}" } }, - "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01+10": { + "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "113", "114", "115", "116", "117", "118", "119", "120", "121" ], @@ -402,10 +402,10 @@ "Content": "{\"name\":\"c76c579e-55b4-4fe9-b19d-75093eeca064\",\"status\":\"InProgress\",\"startTime\":\"2020-04-08T11:13:22.287Z\"}" } }, - "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01+11": { + "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "113", "114", "115", "116", "117", "118", "119", "120", "121", "122" ], @@ -442,10 +442,10 @@ "Content": "{\"name\":\"c76c579e-55b4-4fe9-b19d-75093eeca064\",\"status\":\"InProgress\",\"startTime\":\"2020-04-08T11:13:22.287Z\"}" } }, - "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01+12": { + "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "113", "114", "115", "116", "117", "118", "119", "120", "121", "122", "123" ], @@ -482,10 +482,10 @@ "Content": "{\"name\":\"c76c579e-55b4-4fe9-b19d-75093eeca064\",\"status\":\"InProgress\",\"startTime\":\"2020-04-08T11:13:22.287Z\"}" } }, - "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01+13": { + "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "113", "114", "115", "116", "117", "118", "119", "120", "121", "122", "123", "124" ], @@ -522,10 +522,10 @@ "Content": "{\"name\":\"c76c579e-55b4-4fe9-b19d-75093eeca064\",\"status\":\"InProgress\",\"startTime\":\"2020-04-08T11:13:22.287Z\"}" } }, - "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01+14": { + "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01+14": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "113", "114", "115", "116", "117", "118", "119", "120", "121", "122", "123", "124", "125" ], @@ -562,10 +562,10 @@ "Content": "{\"name\":\"c76c579e-55b4-4fe9-b19d-75093eeca064\",\"status\":\"InProgress\",\"startTime\":\"2020-04-08T11:13:22.287Z\"}" } }, - "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01+15": { + "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01+15": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "113", "114", "115", "116", "117", "118", "119", "120", "121", "122", "123", "124", "125", "126" ], @@ -602,10 +602,10 @@ "Content": "{\"name\":\"c76c579e-55b4-4fe9-b19d-75093eeca064\",\"status\":\"InProgress\",\"startTime\":\"2020-04-08T11:13:22.287Z\"}" } }, - "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01+16": { + "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01+16": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "113", "114", "115", "116", "117", "118", "119", "120", "121", "122", "123", "124", "125", "126", "127" ], @@ -642,10 +642,10 @@ "Content": "{\"name\":\"c76c579e-55b4-4fe9-b19d-75093eeca064\",\"status\":\"InProgress\",\"startTime\":\"2020-04-08T11:13:22.287Z\"}" } }, - "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01+17": { + "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01+17": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "113", "114", "115", "116", "117", "118", "119", "120", "121", "122", "123", "124", "125", "126", "127", "128" ], @@ -682,10 +682,10 @@ "Content": "{\"name\":\"c76c579e-55b4-4fe9-b19d-75093eeca064\",\"status\":\"InProgress\",\"startTime\":\"2020-04-08T11:13:22.287Z\"}" } }, - "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01+18": { + "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01+18": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "113", "114", "115", "116", "117", "118", "119", "120", "121", "122", "123", "124", "125", "126", "127", "128", "129" ], @@ -722,10 +722,10 @@ "Content": "{\"name\":\"c76c579e-55b4-4fe9-b19d-75093eeca064\",\"status\":\"InProgress\",\"startTime\":\"2020-04-08T11:13:22.287Z\"}" } }, - "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01+19": { + "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01+19": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "113", "114", "115", "116", "117", "118", "119", "120", "121", "122", "123", "124", "125", "126", "127", "128", "129", "130" ], @@ -762,10 +762,10 @@ "Content": "{\"name\":\"c76c579e-55b4-4fe9-b19d-75093eeca064\",\"status\":\"InProgress\",\"startTime\":\"2020-04-08T11:13:22.287Z\"}" } }, - "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01+20": { + "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01+20": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "113", "114", "115", "116", "117", "118", "119", "120", "121", "122", "123", "124", "125", "126", "127", "128", "129", "130", "131" ], @@ -802,10 +802,10 @@ "Content": "{\"name\":\"c76c579e-55b4-4fe9-b19d-75093eeca064\",\"status\":\"InProgress\",\"startTime\":\"2020-04-08T11:13:22.287Z\"}" } }, - "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01+21": { + "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01+21": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c76c579e-55b4-4fe9-b19d-75093eeca064?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "113", "114", "115", "116", "117", "118", "119", "120", "121", "122", "123", "124", "125", "126", "127", "128", "129", "130", "131", "132" ], @@ -842,10 +842,10 @@ "Content": "{\"name\":\"c76c579e-55b4-4fe9-b19d-75093eeca064\",\"status\":\"Succeeded\",\"startTime\":\"2020-04-08T11:13:22.287Z\"}" } }, - "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+22": { + "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+22": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "113", "114", "115", "116", "117", "118", "119", "120", "121", "122", "123", "124", "125", "126", "127", "128", "129", "130", "131", "132", "133" ], @@ -878,13 +878,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100-replica.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-04-08T11:25:23.023+00:00\",\"replicationRole\":\"Replica\",\"masterServerId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica\",\"name\":\"mysql-test-100-replica\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100-replica.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-04-08T11:25:23.023+00:00\",\"replicationRole\":\"Replica\",\"masterServerId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica\",\"name\":\"mysql-test-100-replica\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } }, - "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+23": { + "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+23": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "134" ], @@ -903,9 +903,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/3ba846cb-160f-415f-a703-fc8e08e4c616?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/3ba846cb-160f-415f-a703-fc8e08e4c616?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/3ba846cb-160f-415f-a703-fc8e08e4c616?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/3ba846cb-160f-415f-a703-fc8e08e4c616?api-version=2017-12-01" ], "x-ms-request-id": [ "3ba846cb-160f-415f-a703-fc8e08e4c616" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14990" ], @@ -923,10 +923,10 @@ "Content": "{\"operation\":\"DropElasticServer\",\"startTime\":\"2020-04-08T11:23:09.153Z\"}" } }, - "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/3ba846cb-160f-415f-a703-fc8e08e4c616?api-version=2017-12-01+24": { + "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/3ba846cb-160f-415f-a703-fc8e08e4c616?api-version=2017-12-01+24": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/3ba846cb-160f-415f-a703-fc8e08e4c616?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/3ba846cb-160f-415f-a703-fc8e08e4c616?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "134", "135" ], @@ -963,10 +963,10 @@ "Content": "{\"name\":\"3ba846cb-160f-415f-a703-fc8e08e4c616\",\"status\":\"Succeeded\",\"startTime\":\"2020-04-08T11:23:09.153Z\"}" } }, - "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/3ba846cb-160f-415f-a703-fc8e08e4c616?api-version=2017-12-01+25": { + "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/3ba846cb-160f-415f-a703-fc8e08e4c616?api-version=2017-12-01+25": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/3ba846cb-160f-415f-a703-fc8e08e4c616?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/3ba846cb-160f-415f-a703-fc8e08e4c616?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "134", "135", "136" ], diff --git a/src/MySql/test/New-AzMySqlServer.Recording.json b/src/MySql/test/New-AzMySqlServer.Recording.json index 8d3dbbb15c7c..75a1618b1d96 100644 --- a/src/MySql/test/New-AzMySqlServer.Recording.json +++ b/src/MySql/test/New-AzMySqlServer.Recording.json @@ -1,8 +1,8 @@ { - "New-AzMySqlServer+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-2?api-version=2017-12-01+1": { + "New-AzMySqlServer+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-2?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-2?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-2?api-version=2017-12-01", "Content": "{\n \"properties\": {\n \"createMode\": \"Default\",\n \"administratorLogin\": \"pwsh\",\n \"administratorLoginPassword\": \"Pa88word!\"\n },\n \"sku\": {\n \"name\": \"GP_Gen5_4\"\n },\n \"location\": \"eastus\"\n}", "Headers": { }, @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/4d7c6645-81d7-4604-99db-387dedcedfbf?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/4d7c6645-81d7-4604-99db-387dedcedfbf?api-version=2017-12-01" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/4d7c6645-81d7-4604-99db-387dedcedfbf?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/4d7c6645-81d7-4604-99db-387dedcedfbf?api-version=2017-12-01" ], "x-ms-request-id": [ "4d7c6645-81d7-4604-99db-387dedcedfbf" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpsertElasticServer\",\"startTime\":\"2020-07-24T06:20:48.23Z\"}" } }, - "New-AzMySqlServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/4d7c6645-81d7-4604-99db-387dedcedfbf?api-version=2017-12-01+2": { + "New-AzMySqlServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/4d7c6645-81d7-4604-99db-387dedcedfbf?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/4d7c6645-81d7-4604-99db-387dedcedfbf?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/4d7c6645-81d7-4604-99db-387dedcedfbf?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1", "2" ], @@ -76,10 +76,10 @@ "Content": "{\"name\":\"4d7c6645-81d7-4604-99db-387dedcedfbf\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T06:20:48.23Z\"}" } }, - "New-AzMySqlServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/4d7c6645-81d7-4604-99db-387dedcedfbf?api-version=2017-12-01+3": { + "New-AzMySqlServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/4d7c6645-81d7-4604-99db-387dedcedfbf?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/4d7c6645-81d7-4604-99db-387dedcedfbf?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/4d7c6645-81d7-4604-99db-387dedcedfbf?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1", "2", "3" ], @@ -116,10 +116,10 @@ "Content": "{\"name\":\"4d7c6645-81d7-4604-99db-387dedcedfbf\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:20:48.23Z\"}" } }, - "New-AzMySqlServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-2?api-version=2017-12-01+4": { + "New-AzMySqlServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-2?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-2?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-2?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1", "2", "3", "4" ], @@ -152,13 +152,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"pwsh\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T06:30:50.09+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"pwsh\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T06:30:50.09+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } }, - "New-AzMySqlServer+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-2?api-version=2017-12-01+5": { + "New-AzMySqlServer+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-2?api-version=2017-12-01+5": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-2?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-2?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "5" ], @@ -177,9 +177,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/e3523d76-2ed6-48f1-96b3-1f3491a51e63?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/e3523d76-2ed6-48f1-96b3-1f3491a51e63?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/e3523d76-2ed6-48f1-96b3-1f3491a51e63?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/e3523d76-2ed6-48f1-96b3-1f3491a51e63?api-version=2017-12-01" ], "x-ms-request-id": [ "e3523d76-2ed6-48f1-96b3-1f3491a51e63" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], @@ -197,10 +197,10 @@ "Content": "{\"operation\":\"DropElasticServer\",\"startTime\":\"2020-07-24T06:22:54.223Z\"}" } }, - "New-AzMySqlServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/e3523d76-2ed6-48f1-96b3-1f3491a51e63?api-version=2017-12-01+6": { + "New-AzMySqlServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/e3523d76-2ed6-48f1-96b3-1f3491a51e63?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/e3523d76-2ed6-48f1-96b3-1f3491a51e63?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/e3523d76-2ed6-48f1-96b3-1f3491a51e63?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "5", "6" ], @@ -237,10 +237,10 @@ "Content": "{\"name\":\"e3523d76-2ed6-48f1-96b3-1f3491a51e63\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:22:54.223Z\"}" } }, - "New-AzMySqlServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/e3523d76-2ed6-48f1-96b3-1f3491a51e63?api-version=2017-12-01+7": { + "New-AzMySqlServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/e3523d76-2ed6-48f1-96b3-1f3491a51e63?api-version=2017-12-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/e3523d76-2ed6-48f1-96b3-1f3491a51e63?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/e3523d76-2ed6-48f1-96b3-1f3491a51e63?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "5", "6", "7" ], diff --git a/src/MySql/test/New-AzMySqlServerReplica.Recording.json b/src/MySql/test/New-AzMySqlServerReplica.Recording.json index 859830ee2fd4..2aaba8b4840c 100644 --- a/src/MySql/test/New-AzMySqlServerReplica.Recording.json +++ b/src/MySql/test/New-AzMySqlServerReplica.Recording.json @@ -1,8 +1,8 @@ { - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1" ], @@ -35,14 +35,14 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+2": { + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+2": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"createMode\": \"Replica\",\n \"sourceServerId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\"\n },\n \"location\": \"eastus\"\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"createMode\": \"Replica\",\n \"sourceServerId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\"\n },\n \"location\": \"eastus\"\n}", "Headers": { }, "ContentHeaders": { @@ -55,9 +55,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01" ], "x-ms-request-id": [ "d6ce3561-ffa0-4bc6-bd34-ef770b816a4a" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], @@ -75,10 +75,10 @@ "Content": "{\"operation\":\"CreateElasticServerContinuousCopy\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" } }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+3": { + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3" ], @@ -115,10 +115,10 @@ "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" } }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+4": { + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4" ], @@ -155,10 +155,10 @@ "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" } }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+5": { + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5" ], @@ -195,10 +195,10 @@ "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" } }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+6": { + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6" ], @@ -235,10 +235,10 @@ "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" } }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+7": { + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7" ], @@ -275,10 +275,10 @@ "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" } }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+8": { + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8" ], @@ -315,10 +315,10 @@ "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" } }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+9": { + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9" ], @@ -355,10 +355,10 @@ "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" } }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+10": { + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10" ], @@ -395,10 +395,10 @@ "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" } }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+11": { + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11" ], @@ -435,10 +435,10 @@ "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" } }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+12": { + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" ], @@ -475,10 +475,10 @@ "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" } }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+13": { + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13" ], @@ -515,10 +515,10 @@ "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" } }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+14": { + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+14": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14" ], @@ -555,10 +555,10 @@ "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" } }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+15": { + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+15": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], @@ -595,10 +595,10 @@ "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" } }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+16": { + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+16": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16" ], @@ -635,10 +635,10 @@ "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" } }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+17": { + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+17": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17" ], @@ -675,10 +675,10 @@ "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" } }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+18": { + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+18": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18" ], @@ -715,10 +715,10 @@ "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" } }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+19": { + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+19": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19" ], @@ -755,10 +755,10 @@ "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" } }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+20": { + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+20": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20" ], @@ -795,10 +795,10 @@ "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" } }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+21": { + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+21": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21" ], @@ -835,10 +835,10 @@ "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" } }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+22": { + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01+22": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d6ce3561-ffa0-4bc6-bd34-ef770b816a4a?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22" ], @@ -875,10 +875,10 @@ "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" } }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+23": { + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+23": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23" ], @@ -911,13 +911,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100-replica.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T09:53:36.52+00:00\",\"replicationRole\":\"Replica\",\"masterServerId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica\",\"name\":\"mysql-test-100-replica\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100-replica.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T09:53:36.52+00:00\",\"replicationRole\":\"Replica\",\"masterServerId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica\",\"name\":\"mysql-test-100-replica\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+24": { + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+24": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "24" ], @@ -936,9 +936,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/a473d381-9d14-4d4d-b84a-d7e6b7313515?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/a473d381-9d14-4d4d-b84a-d7e6b7313515?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/a473d381-9d14-4d4d-b84a-d7e6b7313515?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/a473d381-9d14-4d4d-b84a-d7e6b7313515?api-version=2017-12-01" ], "x-ms-request-id": [ "a473d381-9d14-4d4d-b84a-d7e6b7313515" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], @@ -956,10 +956,10 @@ "Content": "{\"operation\":\"DropElasticServer\",\"startTime\":\"2020-07-24T09:51:47.36Z\"}" } }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/a473d381-9d14-4d4d-b84a-d7e6b7313515?api-version=2017-12-01+25": { + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/a473d381-9d14-4d4d-b84a-d7e6b7313515?api-version=2017-12-01+25": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/a473d381-9d14-4d4d-b84a-d7e6b7313515?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/a473d381-9d14-4d4d-b84a-d7e6b7313515?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "24", "25" ], @@ -996,10 +996,10 @@ "Content": "{\"name\":\"a473d381-9d14-4d4d-b84a-d7e6b7313515\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T09:51:47.36Z\"}" } }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/a473d381-9d14-4d4d-b84a-d7e6b7313515?api-version=2017-12-01+26": { + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/a473d381-9d14-4d4d-b84a-d7e6b7313515?api-version=2017-12-01+26": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/a473d381-9d14-4d4d-b84a-d7e6b7313515?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/a473d381-9d14-4d4d-b84a-d7e6b7313515?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "24", "25", "26" ], diff --git a/src/MySql/test/New-AzMySqlVirtualNetworkRule.Recording.json b/src/MySql/test/New-AzMySqlVirtualNetworkRule.Recording.json index bedea49cbb5a..80833a7a45e2 100644 --- a/src/MySql/test/New-AzMySqlVirtualNetworkRule.Recording.json +++ b/src/MySql/test/New-AzMySqlVirtualNetworkRule.Recording.json @@ -1,9 +1,9 @@ { - "New-AzMySqlVirtualNetworkRule+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { + "New-AzMySqlVirtualNetworkRule+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\n }\n}", "Headers": { }, "ContentHeaders": { @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/e68a0466-f700-4a65-b792-1903767f0d72?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/e68a0466-f700-4a65-b792-1903767f0d72?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/e68a0466-f700-4a65-b792-1903767f0d72?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/e68a0466-f700-4a65-b792-1903767f0d72?api-version=2017-12-01" ], "x-ms-request-id": [ "e68a0466-f700-4a65-b792-1903767f0d72" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T06:24:37.15Z\"}" } }, - "New-AzMySqlVirtualNetworkRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/e68a0466-f700-4a65-b792-1903767f0d72?api-version=2017-12-01+2": { + "New-AzMySqlVirtualNetworkRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/e68a0466-f700-4a65-b792-1903767f0d72?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/e68a0466-f700-4a65-b792-1903767f0d72?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/e68a0466-f700-4a65-b792-1903767f0d72?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1", "2" ], @@ -76,10 +76,10 @@ "Content": "{\"name\":\"e68a0466-f700-4a65-b792-1903767f0d72\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:24:37.15Z\"}" } }, - "New-AzMySqlVirtualNetworkRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+3": { + "New-AzMySqlVirtualNetworkRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1", "2", "3" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBforMySQL/servers/virtualNetworkRules\"}" + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBForMySQL/servers/virtualNetworkRules\"}" } }, - "New-AzMySqlVirtualNetworkRule+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+4": { + "New-AzMySqlVirtualNetworkRule+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "4" ], @@ -137,9 +137,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/d5f1ca93-3065-4c56-bed5-9d9c16b0e763?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/d5f1ca93-3065-4c56-bed5-9d9c16b0e763?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d5f1ca93-3065-4c56-bed5-9d9c16b0e763?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d5f1ca93-3065-4c56-bed5-9d9c16b0e763?api-version=2017-12-01" ], "x-ms-request-id": [ "d5f1ca93-3065-4c56-bed5-9d9c16b0e763" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14996" ], @@ -157,10 +157,10 @@ "Content": "{\"operation\":\"DropElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T06:25:09.633Z\"}" } }, - "New-AzMySqlVirtualNetworkRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d5f1ca93-3065-4c56-bed5-9d9c16b0e763?api-version=2017-12-01+5": { + "New-AzMySqlVirtualNetworkRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d5f1ca93-3065-4c56-bed5-9d9c16b0e763?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d5f1ca93-3065-4c56-bed5-9d9c16b0e763?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d5f1ca93-3065-4c56-bed5-9d9c16b0e763?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "4", "5" ], @@ -197,10 +197,10 @@ "Content": "{\"name\":\"d5f1ca93-3065-4c56-bed5-9d9c16b0e763\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:25:09.633Z\"}" } }, - "New-AzMySqlVirtualNetworkRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/d5f1ca93-3065-4c56-bed5-9d9c16b0e763?api-version=2017-12-01+6": { + "New-AzMySqlVirtualNetworkRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/d5f1ca93-3065-4c56-bed5-9d9c16b0e763?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/d5f1ca93-3065-4c56-bed5-9d9c16b0e763?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/d5f1ca93-3065-4c56-bed5-9d9c16b0e763?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "4", "5", "6" ], diff --git a/src/MySql/test/Remove-AzMySqlFirewallRule.Recording.json b/src/MySql/test/Remove-AzMySqlFirewallRule.Recording.json index c29995f8debb..0480d0062157 100644 --- a/src/MySql/test/Remove-AzMySqlFirewallRule.Recording.json +++ b/src/MySql/test/Remove-AzMySqlFirewallRule.Recording.json @@ -1,8 +1,8 @@ { - "Remove-AzMySqlFirewallRule+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { + "Remove-AzMySqlFirewallRule+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": "{\n \"properties\": {\n \"endIpAddress\": \"0.0.0.1\",\n \"startIpAddress\": \"0.0.0.0\"\n }\n}", "Headers": { }, @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/028ac200-d31d-46e6-9aaf-01ff4f7b09a7?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/028ac200-d31d-46e6-9aaf-01ff4f7b09a7?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/028ac200-d31d-46e6-9aaf-01ff4f7b09a7?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/028ac200-d31d-46e6-9aaf-01ff4f7b09a7?api-version=2017-12-01" ], "x-ms-request-id": [ "028ac200-d31d-46e6-9aaf-01ff4f7b09a7" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-07-24T06:29:15.293Z\"}" } }, - "Remove-AzMySqlFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/028ac200-d31d-46e6-9aaf-01ff4f7b09a7?api-version=2017-12-01+2": { + "Remove-AzMySqlFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/028ac200-d31d-46e6-9aaf-01ff4f7b09a7?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/028ac200-d31d-46e6-9aaf-01ff4f7b09a7?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/028ac200-d31d-46e6-9aaf-01ff4f7b09a7?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1", "2" ], @@ -76,10 +76,10 @@ "Content": "{\"name\":\"028ac200-d31d-46e6-9aaf-01ff4f7b09a7\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:29:15.293Z\"}" } }, - "Remove-AzMySqlFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { + "Remove-AzMySqlFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1", "2", "3" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBForMySQL/servers/firewallRules\"}" } }, - "Remove-AzMySqlFirewallRule+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+4": { + "Remove-AzMySqlFirewallRule+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "4" ], @@ -137,9 +137,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/5c2361da-8118-4aa9-a96c-c7f7ab422c0d?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/5c2361da-8118-4aa9-a96c-c7f7ab422c0d?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/5c2361da-8118-4aa9-a96c-c7f7ab422c0d?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/5c2361da-8118-4aa9-a96c-c7f7ab422c0d?api-version=2017-12-01" ], "x-ms-request-id": [ "5c2361da-8118-4aa9-a96c-c7f7ab422c0d" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14997" ], @@ -157,10 +157,10 @@ "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-07-24T06:29:32.747Z\"}" } }, - "Remove-AzMySqlFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/5c2361da-8118-4aa9-a96c-c7f7ab422c0d?api-version=2017-12-01+5": { + "Remove-AzMySqlFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/5c2361da-8118-4aa9-a96c-c7f7ab422c0d?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/5c2361da-8118-4aa9-a96c-c7f7ab422c0d?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/5c2361da-8118-4aa9-a96c-c7f7ab422c0d?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "4", "5" ], @@ -197,10 +197,10 @@ "Content": "{\"name\":\"5c2361da-8118-4aa9-a96c-c7f7ab422c0d\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:29:32.747Z\"}" } }, - "Remove-AzMySqlFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/5c2361da-8118-4aa9-a96c-c7f7ab422c0d?api-version=2017-12-01+6": { + "Remove-AzMySqlFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/5c2361da-8118-4aa9-a96c-c7f7ab422c0d?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/5c2361da-8118-4aa9-a96c-c7f7ab422c0d?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/5c2361da-8118-4aa9-a96c-c7f7ab422c0d?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "4", "5", "6" ], @@ -235,10 +235,10 @@ "Content": null } }, - "Remove-AzMySqlFirewallRule+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { + "Remove-AzMySqlFirewallRule+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": "{\n \"properties\": {\n \"endIpAddress\": \"0.0.0.1\",\n \"startIpAddress\": \"0.0.0.0\"\n }\n}", "Headers": { }, @@ -252,9 +252,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/3f510b53-f32e-4aed-84e3-aef22c9c55cd?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/3f510b53-f32e-4aed-84e3-aef22c9c55cd?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/3f510b53-f32e-4aed-84e3-aef22c9c55cd?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/3f510b53-f32e-4aed-84e3-aef22c9c55cd?api-version=2017-12-01" ], "x-ms-request-id": [ "3f510b53-f32e-4aed-84e3-aef22c9c55cd" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], @@ -272,10 +272,10 @@ "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-07-24T06:29:50.197Z\"}" } }, - "Remove-AzMySqlFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/3f510b53-f32e-4aed-84e3-aef22c9c55cd?api-version=2017-12-01+2": { + "Remove-AzMySqlFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/3f510b53-f32e-4aed-84e3-aef22c9c55cd?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/3f510b53-f32e-4aed-84e3-aef22c9c55cd?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/3f510b53-f32e-4aed-84e3-aef22c9c55cd?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "7", "8" ], @@ -312,10 +312,10 @@ "Content": "{\"name\":\"3f510b53-f32e-4aed-84e3-aef22c9c55cd\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:29:50.197Z\"}" } }, - "Remove-AzMySqlFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { + "Remove-AzMySqlFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "7", "8", "9" ], @@ -348,13 +348,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBForMySQL/servers/firewallRules\"}" } }, - "Remove-AzMySqlFirewallRule+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+4": { + "Remove-AzMySqlFirewallRule+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "10" ], @@ -373,9 +373,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/540e290a-beb7-44fb-82b1-411e265905a9?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/540e290a-beb7-44fb-82b1-411e265905a9?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/540e290a-beb7-44fb-82b1-411e265905a9?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/540e290a-beb7-44fb-82b1-411e265905a9?api-version=2017-12-01" ], "x-ms-request-id": [ "540e290a-beb7-44fb-82b1-411e265905a9" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14998" ], @@ -393,10 +393,10 @@ "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-07-24T06:30:07.697Z\"}" } }, - "Remove-AzMySqlFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/540e290a-beb7-44fb-82b1-411e265905a9?api-version=2017-12-01+5": { + "Remove-AzMySqlFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/540e290a-beb7-44fb-82b1-411e265905a9?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/540e290a-beb7-44fb-82b1-411e265905a9?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/540e290a-beb7-44fb-82b1-411e265905a9?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "10", "11" ], @@ -433,10 +433,10 @@ "Content": "{\"name\":\"540e290a-beb7-44fb-82b1-411e265905a9\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:30:07.697Z\"}" } }, - "Remove-AzMySqlFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/540e290a-beb7-44fb-82b1-411e265905a9?api-version=2017-12-01+6": { + "Remove-AzMySqlFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/540e290a-beb7-44fb-82b1-411e265905a9?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/540e290a-beb7-44fb-82b1-411e265905a9?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/540e290a-beb7-44fb-82b1-411e265905a9?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "10", "11", "12" ], diff --git a/src/MySql/test/Remove-AzMySqlFirewallRule.Tests.ps1 b/src/MySql/test/Remove-AzMySqlFirewallRule.Tests.ps1 index ab04d9651e25..03c3f28bb585 100644 --- a/src/MySql/test/Remove-AzMySqlFirewallRule.Tests.ps1 +++ b/src/MySql/test/Remove-AzMySqlFirewallRule.Tests.ps1 @@ -22,7 +22,7 @@ Describe 'Remove-AzMySqlFirewallRule' { It 'DeleteViaIdentity' { { New-AzMySqlFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBforMySQL/servers/$($env.serverName)/firewallRules/$($env.firewallRuleName)" + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySQL/servers/$($env.serverName)/firewallRules/$($env.firewallRuleName)" Remove-AzMySqlFirewallRule -InputObject $ID } | Should -Not -Throw } diff --git a/src/MySql/test/Remove-AzMySqlServer.Recording.json b/src/MySql/test/Remove-AzMySqlServer.Recording.json index ffebc60207c5..53f87dad616c 100644 --- a/src/MySql/test/Remove-AzMySqlServer.Recording.json +++ b/src/MySql/test/Remove-AzMySqlServer.Recording.json @@ -1,8 +1,8 @@ { - "Remove-AzMySqlServer+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-2?api-version=2017-12-01+1": { + "Remove-AzMySqlServer+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-2?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-2?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-2?api-version=2017-12-01", "Content": "{\n \"properties\": {\n \"createMode\": \"Default\",\n \"administratorLogin\": \"pwsh\",\n \"administratorLoginPassword\": \"Pa88word!\"\n },\n \"sku\": {\n \"name\": \"GP_Gen5_4\"\n },\n \"location\": \"eastus\"\n}", "Headers": { }, @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/151e2111-8c01-41f2-b1c4-10650c66ab6c?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/151e2111-8c01-41f2-b1c4-10650c66ab6c?api-version=2017-12-01" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/151e2111-8c01-41f2-b1c4-10650c66ab6c?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/151e2111-8c01-41f2-b1c4-10650c66ab6c?api-version=2017-12-01" ], "x-ms-request-id": [ "151e2111-8c01-41f2-b1c4-10650c66ab6c" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpsertElasticServer\",\"startTime\":\"2020-07-24T06:32:38.043Z\"}" } }, - "Remove-AzMySqlServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/151e2111-8c01-41f2-b1c4-10650c66ab6c?api-version=2017-12-01+2": { + "Remove-AzMySqlServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/151e2111-8c01-41f2-b1c4-10650c66ab6c?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/151e2111-8c01-41f2-b1c4-10650c66ab6c?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/151e2111-8c01-41f2-b1c4-10650c66ab6c?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1", "2" ], @@ -76,10 +76,10 @@ "Content": "{\"name\":\"151e2111-8c01-41f2-b1c4-10650c66ab6c\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T06:32:38.043Z\"}" } }, - "Remove-AzMySqlServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/151e2111-8c01-41f2-b1c4-10650c66ab6c?api-version=2017-12-01+3": { + "Remove-AzMySqlServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/151e2111-8c01-41f2-b1c4-10650c66ab6c?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/151e2111-8c01-41f2-b1c4-10650c66ab6c?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/151e2111-8c01-41f2-b1c4-10650c66ab6c?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1", "2", "3" ], @@ -116,10 +116,10 @@ "Content": "{\"name\":\"151e2111-8c01-41f2-b1c4-10650c66ab6c\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:32:38.043Z\"}" } }, - "Remove-AzMySqlServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-2?api-version=2017-12-01+4": { + "Remove-AzMySqlServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-2?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-2?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-2?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1", "2", "3", "4" ], @@ -152,13 +152,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"pwsh\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T06:42:38.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"pwsh\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T06:42:38.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } }, - "Remove-AzMySqlServer+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-2?api-version=2017-12-01+5": { + "Remove-AzMySqlServer+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-2?api-version=2017-12-01+5": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-2?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-2?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "5" ], @@ -177,9 +177,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/97c1573e-d290-468d-9125-214a3918622a?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/97c1573e-d290-468d-9125-214a3918622a?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/97c1573e-d290-468d-9125-214a3918622a?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/97c1573e-d290-468d-9125-214a3918622a?api-version=2017-12-01" ], "x-ms-request-id": [ "97c1573e-d290-468d-9125-214a3918622a" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], @@ -197,10 +197,10 @@ "Content": "{\"operation\":\"DropElasticServer\",\"startTime\":\"2020-07-24T06:34:41.87Z\"}" } }, - "Remove-AzMySqlServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/97c1573e-d290-468d-9125-214a3918622a?api-version=2017-12-01+6": { + "Remove-AzMySqlServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/97c1573e-d290-468d-9125-214a3918622a?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/97c1573e-d290-468d-9125-214a3918622a?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/97c1573e-d290-468d-9125-214a3918622a?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "5", "6" ], @@ -237,10 +237,10 @@ "Content": "{\"name\":\"97c1573e-d290-468d-9125-214a3918622a\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:34:41.87Z\"}" } }, - "Remove-AzMySqlServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/97c1573e-d290-468d-9125-214a3918622a?api-version=2017-12-01+7": { + "Remove-AzMySqlServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/97c1573e-d290-468d-9125-214a3918622a?api-version=2017-12-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/97c1573e-d290-468d-9125-214a3918622a?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/97c1573e-d290-468d-9125-214a3918622a?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "5", "6", "7" ], @@ -275,10 +275,10 @@ "Content": null } }, - "Remove-AzMySqlServer+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysqldelete?api-version=2017-12-01+1": { + "Remove-AzMySqlServer+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysqldelete?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysqldelete?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysqldelete?api-version=2017-12-01", "Content": "{\n \"properties\": {\n \"createMode\": \"Default\",\n \"administratorLogin\": \"pwsh\",\n \"administratorLoginPassword\": \"Pa88word!\"\n },\n \"sku\": {\n \"name\": \"GP_Gen5_4\"\n },\n \"location\": \"eastus\"\n}", "Headers": { }, @@ -292,9 +292,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/8185fd38-6088-4c65-8794-54b454afd13e?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/8185fd38-6088-4c65-8794-54b454afd13e?api-version=2017-12-01" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/8185fd38-6088-4c65-8794-54b454afd13e?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/8185fd38-6088-4c65-8794-54b454afd13e?api-version=2017-12-01" ], "x-ms-request-id": [ "8185fd38-6088-4c65-8794-54b454afd13e" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], @@ -312,10 +312,10 @@ "Content": "{\"operation\":\"UpsertElasticServer\",\"startTime\":\"2020-07-24T06:35:02.823Z\"}" } }, - "Remove-AzMySqlServer+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/8185fd38-6088-4c65-8794-54b454afd13e?api-version=2017-12-01+2": { + "Remove-AzMySqlServer+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/8185fd38-6088-4c65-8794-54b454afd13e?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/8185fd38-6088-4c65-8794-54b454afd13e?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/8185fd38-6088-4c65-8794-54b454afd13e?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "8", "9" ], @@ -352,10 +352,10 @@ "Content": "{\"name\":\"8185fd38-6088-4c65-8794-54b454afd13e\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T06:35:02.823Z\"}" } }, - "Remove-AzMySqlServer+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/8185fd38-6088-4c65-8794-54b454afd13e?api-version=2017-12-01+3": { + "Remove-AzMySqlServer+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/8185fd38-6088-4c65-8794-54b454afd13e?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/8185fd38-6088-4c65-8794-54b454afd13e?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/8185fd38-6088-4c65-8794-54b454afd13e?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "8", "9", "10" ], @@ -392,10 +392,10 @@ "Content": "{\"name\":\"8185fd38-6088-4c65-8794-54b454afd13e\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:35:02.823Z\"}" } }, - "Remove-AzMySqlServer+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysqldelete?api-version=2017-12-01+4": { + "Remove-AzMySqlServer+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysqldelete?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysqldelete?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysqldelete?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "8", "9", "10", "11" ], @@ -428,13 +428,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"pwsh\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysqldelete.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T06:45:03.153+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysqldelete\",\"name\":\"mysqldelete\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"pwsh\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysqldelete.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T06:45:03.153+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysqldelete\",\"name\":\"mysqldelete\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } }, - "Remove-AzMySqlServer+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysqldelete?api-version=2017-12-01+5": { + "Remove-AzMySqlServer+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysqldelete?api-version=2017-12-01+5": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysqldelete?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysqldelete?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "12" ], @@ -453,9 +453,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/ea807a1c-c746-461a-8f14-e6c67760a835?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/ea807a1c-c746-461a-8f14-e6c67760a835?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ea807a1c-c746-461a-8f14-e6c67760a835?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/ea807a1c-c746-461a-8f14-e6c67760a835?api-version=2017-12-01" ], "x-ms-request-id": [ "ea807a1c-c746-461a-8f14-e6c67760a835" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14998" ], @@ -473,10 +473,10 @@ "Content": "{\"operation\":\"DropElasticServer\",\"startTime\":\"2020-07-24T06:37:07.093Z\"}" } }, - "Remove-AzMySqlServer+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ea807a1c-c746-461a-8f14-e6c67760a835?api-version=2017-12-01+6": { + "Remove-AzMySqlServer+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/ea807a1c-c746-461a-8f14-e6c67760a835?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ea807a1c-c746-461a-8f14-e6c67760a835?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/ea807a1c-c746-461a-8f14-e6c67760a835?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "12", "13" ], @@ -513,10 +513,10 @@ "Content": "{\"name\":\"ea807a1c-c746-461a-8f14-e6c67760a835\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:37:07.093Z\"}" } }, - "Remove-AzMySqlServer+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/ea807a1c-c746-461a-8f14-e6c67760a835?api-version=2017-12-01+7": { + "Remove-AzMySqlServer+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/ea807a1c-c746-461a-8f14-e6c67760a835?api-version=2017-12-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/ea807a1c-c746-461a-8f14-e6c67760a835?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/ea807a1c-c746-461a-8f14-e6c67760a835?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "12", "13", "14" ], diff --git a/src/MySql/test/Remove-AzMySqlServer.Tests.ps1 b/src/MySql/test/Remove-AzMySqlServer.Tests.ps1 index 9fbc0c981628..8b194a48b66b 100644 --- a/src/MySql/test/Remove-AzMySqlServer.Tests.ps1 +++ b/src/MySql/test/Remove-AzMySqlServer.Tests.ps1 @@ -26,7 +26,7 @@ Describe 'Remove-AzMySqlServer' { #[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] $password = 'Pa88word!' | ConvertTo-SecureString -AsPlainText -Force New-AzMySqlServer -Name mysqldelete -ResourceGroupName $env.resourceGroup -Location $env.location -AdministratorUserName pwsh -AdministratorLoginPassword $password -Sku $env.Sku - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBforMySQL/servers/mysqldelete" + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySQL/servers/mysqldelete" Remove-AzMySqlServer -InputObject $ID } | Should -Not -Throw } diff --git a/src/MySql/test/Remove-AzMySqlVirtualNetworkRule.Recording.json b/src/MySql/test/Remove-AzMySqlVirtualNetworkRule.Recording.json index 434ac7e9d010..83e97bbed231 100644 --- a/src/MySql/test/Remove-AzMySqlVirtualNetworkRule.Recording.json +++ b/src/MySql/test/Remove-AzMySqlVirtualNetworkRule.Recording.json @@ -1,9 +1,9 @@ { - "Remove-AzMySqlVirtualNetworkRule+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { + "Remove-AzMySqlVirtualNetworkRule+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\n }\n}", "Headers": { }, "ContentHeaders": { @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/9e644f70-57e5-4b70-9db2-db45be70fdcd?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/9e644f70-57e5-4b70-9db2-db45be70fdcd?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9e644f70-57e5-4b70-9db2-db45be70fdcd?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9e644f70-57e5-4b70-9db2-db45be70fdcd?api-version=2017-12-01" ], "x-ms-request-id": [ "9e644f70-57e5-4b70-9db2-db45be70fdcd" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T06:38:10.287Z\"}" } }, - "Remove-AzMySqlVirtualNetworkRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9e644f70-57e5-4b70-9db2-db45be70fdcd?api-version=2017-12-01+2": { + "Remove-AzMySqlVirtualNetworkRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9e644f70-57e5-4b70-9db2-db45be70fdcd?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9e644f70-57e5-4b70-9db2-db45be70fdcd?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9e644f70-57e5-4b70-9db2-db45be70fdcd?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1", "2" ], @@ -76,10 +76,10 @@ "Content": "{\"name\":\"9e644f70-57e5-4b70-9db2-db45be70fdcd\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:38:10.287Z\"}" } }, - "Remove-AzMySqlVirtualNetworkRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+3": { + "Remove-AzMySqlVirtualNetworkRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1", "2", "3" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBforMySQL/servers/virtualNetworkRules\"}" + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBForMySQL/servers/virtualNetworkRules\"}" } }, - "Remove-AzMySqlVirtualNetworkRule+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+4": { + "Remove-AzMySqlVirtualNetworkRule+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "4" ], @@ -137,9 +137,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/dda26a0e-016a-4868-8b3e-9835cfc00214?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/dda26a0e-016a-4868-8b3e-9835cfc00214?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/dda26a0e-016a-4868-8b3e-9835cfc00214?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/dda26a0e-016a-4868-8b3e-9835cfc00214?api-version=2017-12-01" ], "x-ms-request-id": [ "dda26a0e-016a-4868-8b3e-9835cfc00214" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], @@ -157,10 +157,10 @@ "Content": "{\"operation\":\"DropElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T06:38:42.74Z\"}" } }, - "Remove-AzMySqlVirtualNetworkRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/dda26a0e-016a-4868-8b3e-9835cfc00214?api-version=2017-12-01+5": { + "Remove-AzMySqlVirtualNetworkRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/dda26a0e-016a-4868-8b3e-9835cfc00214?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/dda26a0e-016a-4868-8b3e-9835cfc00214?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/dda26a0e-016a-4868-8b3e-9835cfc00214?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "4", "5" ], @@ -197,10 +197,10 @@ "Content": "{\"name\":\"dda26a0e-016a-4868-8b3e-9835cfc00214\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:38:42.74Z\"}" } }, - "Remove-AzMySqlVirtualNetworkRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/dda26a0e-016a-4868-8b3e-9835cfc00214?api-version=2017-12-01+6": { + "Remove-AzMySqlVirtualNetworkRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/dda26a0e-016a-4868-8b3e-9835cfc00214?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/dda26a0e-016a-4868-8b3e-9835cfc00214?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/dda26a0e-016a-4868-8b3e-9835cfc00214?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "4", "5", "6" ], @@ -235,11 +235,11 @@ "Content": null } }, - "Remove-AzMySqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { + "Remove-AzMySqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\n }\n}", "Headers": { }, "ContentHeaders": { @@ -252,9 +252,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/008d17b6-eda7-4894-8595-97c3ab6fd9e5?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/008d17b6-eda7-4894-8595-97c3ab6fd9e5?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/008d17b6-eda7-4894-8595-97c3ab6fd9e5?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/008d17b6-eda7-4894-8595-97c3ab6fd9e5?api-version=2017-12-01" ], "x-ms-request-id": [ "008d17b6-eda7-4894-8595-97c3ab6fd9e5" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], @@ -272,10 +272,10 @@ "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T06:39:00.223Z\"}" } }, - "Remove-AzMySqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/008d17b6-eda7-4894-8595-97c3ab6fd9e5?api-version=2017-12-01+2": { + "Remove-AzMySqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/008d17b6-eda7-4894-8595-97c3ab6fd9e5?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/008d17b6-eda7-4894-8595-97c3ab6fd9e5?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/008d17b6-eda7-4894-8595-97c3ab6fd9e5?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "7", "8" ], @@ -312,10 +312,10 @@ "Content": "{\"name\":\"008d17b6-eda7-4894-8595-97c3ab6fd9e5\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:39:00.223Z\"}" } }, - "Remove-AzMySqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+3": { + "Remove-AzMySqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "7", "8", "9" ], @@ -348,13 +348,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBforMySQL/servers/virtualNetworkRules\"}" + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBForMySQL/servers/virtualNetworkRules\"}" } }, - "Remove-AzMySqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+4": { + "Remove-AzMySqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "10" ], @@ -373,9 +373,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/117d3811-f4af-46ed-88aa-ba3d352811a9?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/117d3811-f4af-46ed-88aa-ba3d352811a9?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/117d3811-f4af-46ed-88aa-ba3d352811a9?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/117d3811-f4af-46ed-88aa-ba3d352811a9?api-version=2017-12-01" ], "x-ms-request-id": [ "117d3811-f4af-46ed-88aa-ba3d352811a9" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14998" ], @@ -393,10 +393,10 @@ "Content": "{\"operation\":\"DropElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T06:39:32.503Z\"}" } }, - "Remove-AzMySqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/117d3811-f4af-46ed-88aa-ba3d352811a9?api-version=2017-12-01+5": { + "Remove-AzMySqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/117d3811-f4af-46ed-88aa-ba3d352811a9?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/117d3811-f4af-46ed-88aa-ba3d352811a9?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/117d3811-f4af-46ed-88aa-ba3d352811a9?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "10", "11" ], @@ -433,10 +433,10 @@ "Content": "{\"name\":\"117d3811-f4af-46ed-88aa-ba3d352811a9\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:39:32.503Z\"}" } }, - "Remove-AzMySqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/117d3811-f4af-46ed-88aa-ba3d352811a9?api-version=2017-12-01+6": { + "Remove-AzMySqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/117d3811-f4af-46ed-88aa-ba3d352811a9?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/117d3811-f4af-46ed-88aa-ba3d352811a9?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/117d3811-f4af-46ed-88aa-ba3d352811a9?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "10", "11", "12" ], diff --git a/src/MySql/test/Remove-AzMySqlVirtualNetworkRule.Tests.ps1 b/src/MySql/test/Remove-AzMySqlVirtualNetworkRule.Tests.ps1 index 208170eda360..a785321e7fbc 100644 --- a/src/MySql/test/Remove-AzMySqlVirtualNetworkRule.Tests.ps1 +++ b/src/MySql/test/Remove-AzMySqlVirtualNetworkRule.Tests.ps1 @@ -23,7 +23,7 @@ Describe 'Remove-AzMySqlVirtualNetworkRule' { It 'DeleteViaIdentity' { $VnetID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1" New-AzMySqlVirtualNetworkRule -Name $env.VNetName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -SubnetId $VnetID - $RuleID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBforMySQL/servers/$($env.serverName)/virtualNetworkRules/$($env.VNetName)" + $RuleID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySQL/servers/$($env.serverName)/virtualNetworkRules/$($env.VNetName)" { Remove-AzMySqlVirtualNetworkRule -InputObject $RuleID } | Should -Not -Throw diff --git a/src/MySql/test/Restart-AzMySqlServer.Recording.json b/src/MySql/test/Restart-AzMySqlServer.Recording.json index 18262b360ed5..ae0d4b601f16 100644 --- a/src/MySql/test/Restart-AzMySqlServer.Recording.json +++ b/src/MySql/test/Restart-AzMySqlServer.Recording.json @@ -1,8 +1,8 @@ { - "Restart-AzMySqlServer+[NoContext]+Restart+$POST+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/restart?api-version=2017-12-01+1": { + "Restart-AzMySqlServer+[NoContext]+Restart+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/restart?api-version=2017-12-01+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/restart?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/restart?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1" ], @@ -21,9 +21,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/2c5d06a0-f0c2-47db-8145-c596b0e722b6?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/2c5d06a0-f0c2-47db-8145-c596b0e722b6?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/2c5d06a0-f0c2-47db-8145-c596b0e722b6?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/2c5d06a0-f0c2-47db-8145-c596b0e722b6?api-version=2017-12-01" ], "x-ms-request-id": [ "2c5d06a0-f0c2-47db-8145-c596b0e722b6" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], @@ -41,10 +41,10 @@ "Content": "{\"operation\":\"RestartElasticServer\",\"startTime\":\"2020-07-24T06:42:17.86Z\"}" } }, - "Restart-AzMySqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/2c5d06a0-f0c2-47db-8145-c596b0e722b6?api-version=2017-12-01+2": { + "Restart-AzMySqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/2c5d06a0-f0c2-47db-8145-c596b0e722b6?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/2c5d06a0-f0c2-47db-8145-c596b0e722b6?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/2c5d06a0-f0c2-47db-8145-c596b0e722b6?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1", "2" ], @@ -81,10 +81,10 @@ "Content": "{\"name\":\"2c5d06a0-f0c2-47db-8145-c596b0e722b6\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T06:42:17.86Z\"}" } }, - "Restart-AzMySqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/2c5d06a0-f0c2-47db-8145-c596b0e722b6?api-version=2017-12-01+3": { + "Restart-AzMySqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/2c5d06a0-f0c2-47db-8145-c596b0e722b6?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/2c5d06a0-f0c2-47db-8145-c596b0e722b6?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/2c5d06a0-f0c2-47db-8145-c596b0e722b6?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1", "2", "3" ], @@ -121,10 +121,10 @@ "Content": "{\"name\":\"2c5d06a0-f0c2-47db-8145-c596b0e722b6\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T06:42:17.86Z\"}" } }, - "Restart-AzMySqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/2c5d06a0-f0c2-47db-8145-c596b0e722b6?api-version=2017-12-01+4": { + "Restart-AzMySqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/2c5d06a0-f0c2-47db-8145-c596b0e722b6?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/2c5d06a0-f0c2-47db-8145-c596b0e722b6?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/2c5d06a0-f0c2-47db-8145-c596b0e722b6?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1", "2", "3", "4" ], @@ -161,10 +161,10 @@ "Content": "{\"name\":\"2c5d06a0-f0c2-47db-8145-c596b0e722b6\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T06:42:17.86Z\"}" } }, - "Restart-AzMySqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/2c5d06a0-f0c2-47db-8145-c596b0e722b6?api-version=2017-12-01+5": { + "Restart-AzMySqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/2c5d06a0-f0c2-47db-8145-c596b0e722b6?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/2c5d06a0-f0c2-47db-8145-c596b0e722b6?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/2c5d06a0-f0c2-47db-8145-c596b0e722b6?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1", "2", "3", "4", "5" ], @@ -201,10 +201,10 @@ "Content": "{\"name\":\"2c5d06a0-f0c2-47db-8145-c596b0e722b6\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:42:17.86Z\"}" } }, - "Restart-AzMySqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/2c5d06a0-f0c2-47db-8145-c596b0e722b6?api-version=2017-12-01+6": { + "Restart-AzMySqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/2c5d06a0-f0c2-47db-8145-c596b0e722b6?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/2c5d06a0-f0c2-47db-8145-c596b0e722b6?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/2c5d06a0-f0c2-47db-8145-c596b0e722b6?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1", "2", "3", "4", "5", "6" ], @@ -239,10 +239,10 @@ "Content": null } }, - "Restart-AzMySqlServer+[NoContext]+RestartViaIdentity+$POST+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/restart?api-version=2017-12-01+1": { + "Restart-AzMySqlServer+[NoContext]+RestartViaIdentity+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/restart?api-version=2017-12-01+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/restart?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/restart?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "7" ], @@ -261,9 +261,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/62df6539-87c0-4278-9d9e-6f874380b40d?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/62df6539-87c0-4278-9d9e-6f874380b40d?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/62df6539-87c0-4278-9d9e-6f874380b40d?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/62df6539-87c0-4278-9d9e-6f874380b40d?api-version=2017-12-01" ], "x-ms-request-id": [ "62df6539-87c0-4278-9d9e-6f874380b40d" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], @@ -281,10 +281,10 @@ "Content": "{\"operation\":\"RestartElasticServer\",\"startTime\":\"2020-07-24T06:43:20.203Z\"}" } }, - "Restart-AzMySqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/62df6539-87c0-4278-9d9e-6f874380b40d?api-version=2017-12-01+2": { + "Restart-AzMySqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/62df6539-87c0-4278-9d9e-6f874380b40d?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/62df6539-87c0-4278-9d9e-6f874380b40d?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/62df6539-87c0-4278-9d9e-6f874380b40d?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "7", "8" ], @@ -321,10 +321,10 @@ "Content": "{\"name\":\"62df6539-87c0-4278-9d9e-6f874380b40d\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T06:43:20.203Z\"}" } }, - "Restart-AzMySqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/62df6539-87c0-4278-9d9e-6f874380b40d?api-version=2017-12-01+3": { + "Restart-AzMySqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/62df6539-87c0-4278-9d9e-6f874380b40d?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/62df6539-87c0-4278-9d9e-6f874380b40d?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/62df6539-87c0-4278-9d9e-6f874380b40d?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "7", "8", "9" ], @@ -361,10 +361,10 @@ "Content": "{\"name\":\"62df6539-87c0-4278-9d9e-6f874380b40d\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T06:43:20.203Z\"}" } }, - "Restart-AzMySqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/62df6539-87c0-4278-9d9e-6f874380b40d?api-version=2017-12-01+4": { + "Restart-AzMySqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/62df6539-87c0-4278-9d9e-6f874380b40d?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/62df6539-87c0-4278-9d9e-6f874380b40d?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/62df6539-87c0-4278-9d9e-6f874380b40d?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "7", "8", "9", "10" ], @@ -401,10 +401,10 @@ "Content": "{\"name\":\"62df6539-87c0-4278-9d9e-6f874380b40d\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T06:43:20.203Z\"}" } }, - "Restart-AzMySqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/62df6539-87c0-4278-9d9e-6f874380b40d?api-version=2017-12-01+5": { + "Restart-AzMySqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/62df6539-87c0-4278-9d9e-6f874380b40d?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/62df6539-87c0-4278-9d9e-6f874380b40d?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/62df6539-87c0-4278-9d9e-6f874380b40d?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "7", "8", "9", "10", "11" ], @@ -441,10 +441,10 @@ "Content": "{\"name\":\"62df6539-87c0-4278-9d9e-6f874380b40d\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:43:20.203Z\"}" } }, - "Restart-AzMySqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/62df6539-87c0-4278-9d9e-6f874380b40d?api-version=2017-12-01+6": { + "Restart-AzMySqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/62df6539-87c0-4278-9d9e-6f874380b40d?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/62df6539-87c0-4278-9d9e-6f874380b40d?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/62df6539-87c0-4278-9d9e-6f874380b40d?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "7", "8", "9", "10", "11", "12" ], diff --git a/src/MySql/test/Restart-AzMySqlServer.Tests.ps1 b/src/MySql/test/Restart-AzMySqlServer.Tests.ps1 index f3f4c8f4d013..e53d37c3e3f3 100644 --- a/src/MySql/test/Restart-AzMySqlServer.Tests.ps1 +++ b/src/MySql/test/Restart-AzMySqlServer.Tests.ps1 @@ -20,7 +20,7 @@ Describe 'Restart-AzMySqlServer' { It 'RestartViaIdentity' { { - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBforMySQL/servers/$($env.serverName)/restart" + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySQL/servers/$($env.serverName)/restart" Restart-AzMySqlServer -InputObject $ID } | Should -Not -Throw } diff --git a/src/MySql/test/Restore-AzMySqlServer.Recording.json b/src/MySql/test/Restore-AzMySqlServer.Recording.json index 050eb2b91972..f8d1ed29dee1 100644 --- a/src/MySql/test/Restore-AzMySqlServer.Recording.json +++ b/src/MySql/test/Restore-AzMySqlServer.Recording.json @@ -1,8 +1,8 @@ { - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1" ], @@ -35,14 +35,14 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+2": { + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+2": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"createMode\": \"Replica\",\n \"sourceServerId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\"\n },\n \"location\": \"eastus\"\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"createMode\": \"Replica\",\n \"sourceServerId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\"\n },\n \"location\": \"eastus\"\n}", "Headers": { }, "ContentHeaders": { @@ -55,9 +55,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01" ], "x-ms-request-id": [ "d2e05dac-052c-4b23-a050-142294b6ed7a" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], @@ -75,10 +75,10 @@ "Content": "{\"operation\":\"CreateElasticServerContinuousCopy\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+3": { + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3" ], @@ -115,10 +115,10 @@ "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+4": { + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4" ], @@ -155,10 +155,10 @@ "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+5": { + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5" ], @@ -195,10 +195,10 @@ "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+6": { + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6" ], @@ -235,10 +235,10 @@ "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+7": { + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7" ], @@ -275,10 +275,10 @@ "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+8": { + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8" ], @@ -315,10 +315,10 @@ "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+9": { + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9" ], @@ -355,10 +355,10 @@ "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+10": { + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10" ], @@ -395,10 +395,10 @@ "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+11": { + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11" ], @@ -435,10 +435,10 @@ "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+12": { + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" ], @@ -475,10 +475,10 @@ "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+13": { + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13" ], @@ -515,10 +515,10 @@ "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+14": { + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+14": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14" ], @@ -555,10 +555,10 @@ "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+15": { + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+15": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], @@ -595,10 +595,10 @@ "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+16": { + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+16": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16" ], @@ -635,10 +635,10 @@ "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+17": { + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+17": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17" ], @@ -675,10 +675,10 @@ "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+18": { + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+18": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18" ], @@ -715,10 +715,10 @@ "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+19": { + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+19": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19" ], @@ -755,10 +755,10 @@ "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+20": { + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01+20": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d2e05dac-052c-4b23-a050-142294b6ed7a?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20" ], @@ -795,10 +795,10 @@ "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+21": { + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+21": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21" ], @@ -831,14 +831,14 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100-replica.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T08:28:33.737+00:00\",\"replicationRole\":\"Replica\",\"masterServerId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica\",\"name\":\"mysql-test-100-replica\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100-replica.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T08:28:33.737+00:00\",\"replicationRole\":\"Replica\",\"masterServerId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica\",\"name\":\"mysql-test-100-replica\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+22": { + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+22": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"createMode\": \"GeoRestore\",\n \"sourceServerId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-replica\"\n },\n \"location\": \"eastus\"\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"createMode\": \"GeoRestore\",\n \"sourceServerId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica\"\n },\n \"location\": \"eastus\"\n}", "Headers": { }, "ContentHeaders": { @@ -851,9 +851,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/169f1d2f-3665-498c-b4a8-5bdef0b59066?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/169f1d2f-3665-498c-b4a8-5bdef0b59066?api-version=2017-12-01" ], "Retry-After": [ "10" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/169f1d2f-3665-498c-b4a8-5bdef0b59066?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/169f1d2f-3665-498c-b4a8-5bdef0b59066?api-version=2017-12-01" ], "x-ms-request-id": [ "169f1d2f-3665-498c-b4a8-5bdef0b59066" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], @@ -871,10 +871,10 @@ "Content": "{\"operation\":\"RestoreElasticServer\",\"startTime\":\"2020-07-24T08:26:33.757Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/169f1d2f-3665-498c-b4a8-5bdef0b59066?api-version=2017-12-01+23": { + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/169f1d2f-3665-498c-b4a8-5bdef0b59066?api-version=2017-12-01+23": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/169f1d2f-3665-498c-b4a8-5bdef0b59066?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/169f1d2f-3665-498c-b4a8-5bdef0b59066?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "22", "23" ], @@ -908,13 +908,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"169f1d2f-3665-498c-b4a8-5bdef0b59066\",\"status\":\"Failed\",\"startTime\":\"2020-07-24T08:26:33.757Z\",\"error\":{\"code\":\"SubscriptionDoesNotHaveServer\",\"message\":\"Subscription \u00279e223dbe-3399-4e19-88eb-0975f02ac87f\u0027 does not have the server \u0027mysql-test-100-replica\u0027.\"}}" + "Content": "{\"name\":\"169f1d2f-3665-498c-b4a8-5bdef0b59066\",\"status\":\"Failed\",\"startTime\":\"2020-07-24T08:26:33.757Z\",\"error\":{\"code\":\"SubscriptionDoesNotHaveServer\",\"message\":\"Subscription \u00277fec3109-5b78-4a24-b834-5d47d63e2596\u0027 does not have the server \u0027mysql-test-100-replica\u0027.\"}}" } }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+24": { + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+24": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "22", "23", "24" ], @@ -947,13 +947,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "25" ], @@ -986,14 +986,14 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-restore-2?api-version=2017-12-01+2": { + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-restore-2?api-version=2017-12-01+2": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-restore-2?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"createMode\": \"PointInTimeRestore\",\n \"restorePointInTime\": \"2020-07-24T08:16:43.7672952+00:00\",\n \"sourceServerId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\"\n },\n \"location\": \"eastus\"\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-restore-2?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"createMode\": \"PointInTimeRestore\",\n \"restorePointInTime\": \"2020-07-24T08:16:43.7672952+00:00\",\n \"sourceServerId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\"\n },\n \"location\": \"eastus\"\n}", "Headers": { }, "ContentHeaders": { @@ -1006,9 +1006,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01" ], "Retry-After": [ "10" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01" ], "x-ms-request-id": [ "9d76273c-1381-4238-9c08-650cf41d34b8" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], @@ -1026,10 +1026,10 @@ "Content": "{\"operation\":\"RestoreElasticServer\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+3": { + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "26", "27" ], @@ -1066,10 +1066,10 @@ "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+4": { + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "26", "27", "28" ], @@ -1106,10 +1106,10 @@ "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+5": { + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "26", "27", "28", "29" ], @@ -1146,10 +1146,10 @@ "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+6": { + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "26", "27", "28", "29", "30" ], @@ -1186,10 +1186,10 @@ "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+7": { + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31" ], @@ -1226,10 +1226,10 @@ "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+8": { + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32" ], @@ -1266,10 +1266,10 @@ "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+9": { + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33" ], @@ -1306,10 +1306,10 @@ "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+10": { + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34" ], @@ -1346,10 +1346,10 @@ "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+11": { + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35" ], @@ -1386,10 +1386,10 @@ "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+12": { + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36" ], @@ -1426,10 +1426,10 @@ "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+13": { + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37" ], @@ -1466,10 +1466,10 @@ "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+14": { + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+14": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38" ], @@ -1506,10 +1506,10 @@ "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+15": { + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+15": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39" ], @@ -1546,10 +1546,10 @@ "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+16": { + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+16": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40" ], @@ -1586,10 +1586,10 @@ "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+17": { + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+17": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41" ], @@ -1626,10 +1626,10 @@ "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+18": { + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+18": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42" ], @@ -1666,10 +1666,10 @@ "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+19": { + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+19": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43" ], @@ -1706,10 +1706,10 @@ "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+20": { + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+20": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44" ], @@ -1746,10 +1746,10 @@ "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+21": { + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+21": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45" ], @@ -1786,10 +1786,10 @@ "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+22": { + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+22": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46" ], @@ -1826,10 +1826,10 @@ "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+23": { + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+23": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47" ], @@ -1866,10 +1866,10 @@ "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+24": { + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+24": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48" ], @@ -1906,10 +1906,10 @@ "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+25": { + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+25": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49" ], @@ -1946,10 +1946,10 @@ "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+26": { + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+26": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50" ], @@ -1986,10 +1986,10 @@ "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+27": { + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+27": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51" ], @@ -2026,10 +2026,10 @@ "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+28": { + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+28": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52" ], @@ -2066,10 +2066,10 @@ "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+29": { + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+29": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53" ], @@ -2106,10 +2106,10 @@ "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"InProgress\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+30": { + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01+30": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9d76273c-1381-4238-9c08-650cf41d34b8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54" ], @@ -2146,10 +2146,10 @@ "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-restore-2?api-version=2017-12-01+31": { + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-restore-2?api-version=2017-12-01+31": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-restore-2?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-restore-2?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55" ], @@ -2182,7 +2182,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100-restore-2.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T08:36:51.303+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100-restore-2\",\"name\":\"mysql-test-100-restore-2\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100-restore-2.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T08:36:51.303+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-restore-2\",\"name\":\"mysql-test-100-restore-2\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } } } \ No newline at end of file diff --git a/src/MySql/test/Update-AzMySqlConfiguration.Recording.json b/src/MySql/test/Update-AzMySqlConfiguration.Recording.json index 56d48eea8fae..f9728a6f7d18 100644 --- a/src/MySql/test/Update-AzMySqlConfiguration.Recording.json +++ b/src/MySql/test/Update-AzMySqlConfiguration.Recording.json @@ -1,8 +1,8 @@ { - "Update-AzMySqlConfiguration+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/net_retry_count?api-version=2017-12-01+1": { + "Update-AzMySqlConfiguration+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/net_retry_count?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/net_retry_count?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/net_retry_count?api-version=2017-12-01", "Content": "{\n \"properties\": {\n \"value\": \"15\"\n }\n}", "Headers": { }, @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/12d527f8-26da-4367-af99-9420131c5e00?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/12d527f8-26da-4367-af99-9420131c5e00?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/12d527f8-26da-4367-af99-9420131c5e00?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/12d527f8-26da-4367-af99-9420131c5e00?api-version=2017-12-01" ], "x-ms-request-id": [ "12d527f8-26da-4367-af99-9420131c5e00" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpdateElasticServerConfig\",\"startTime\":\"2020-07-24T08:03:18.063Z\"}" } }, - "Update-AzMySqlConfiguration+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/12d527f8-26da-4367-af99-9420131c5e00?api-version=2017-12-01+2": { + "Update-AzMySqlConfiguration+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/12d527f8-26da-4367-af99-9420131c5e00?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/12d527f8-26da-4367-af99-9420131c5e00?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/12d527f8-26da-4367-af99-9420131c5e00?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1", "2" ], @@ -76,10 +76,10 @@ "Content": "{\"name\":\"12d527f8-26da-4367-af99-9420131c5e00\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T08:03:18.063Z\"}" } }, - "Update-AzMySqlConfiguration+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/net_retry_count?api-version=2017-12-01+3": { + "Update-AzMySqlConfiguration+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/net_retry_count?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/net_retry_count?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/net_retry_count?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1", "2", "3" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"value\":\"15\",\"description\":\"If a read or write on a communication port is interrupted, retry this many times before giving up.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/net_retry_count\",\"name\":\"net_retry_count\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"}" + "Content": "{\"properties\":{\"value\":\"15\",\"description\":\"If a read or write on a communication port is interrupted, retry this many times before giving up.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/net_retry_count\",\"name\":\"net_retry_count\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"}" } }, - "Update-AzMySqlConfiguration+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/wait_timeout?api-version=2017-12-01+1": { + "Update-AzMySqlConfiguration+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/wait_timeout?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/wait_timeout?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/wait_timeout?api-version=2017-12-01", "Content": "{\n \"properties\": {\n \"value\": \"150\"\n }\n}", "Headers": { }, @@ -132,9 +132,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/843d746e-2b2d-4130-ab79-dfdf85d1ec6a?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/843d746e-2b2d-4130-ab79-dfdf85d1ec6a?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/843d746e-2b2d-4130-ab79-dfdf85d1ec6a?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/843d746e-2b2d-4130-ab79-dfdf85d1ec6a?api-version=2017-12-01" ], "x-ms-request-id": [ "843d746e-2b2d-4130-ab79-dfdf85d1ec6a" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], @@ -152,10 +152,10 @@ "Content": "{\"operation\":\"UpdateElasticServerConfig\",\"startTime\":\"2020-07-24T08:03:35.11Z\"}" } }, - "Update-AzMySqlConfiguration+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/843d746e-2b2d-4130-ab79-dfdf85d1ec6a?api-version=2017-12-01+2": { + "Update-AzMySqlConfiguration+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/843d746e-2b2d-4130-ab79-dfdf85d1ec6a?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/843d746e-2b2d-4130-ab79-dfdf85d1ec6a?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/843d746e-2b2d-4130-ab79-dfdf85d1ec6a?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "4", "5" ], @@ -192,10 +192,10 @@ "Content": "{\"name\":\"843d746e-2b2d-4130-ab79-dfdf85d1ec6a\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T08:03:35.11Z\"}" } }, - "Update-AzMySqlConfiguration+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/wait_timeout?api-version=2017-12-01+3": { + "Update-AzMySqlConfiguration+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/wait_timeout?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/wait_timeout?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/wait_timeout?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "4", "5", "6" ], @@ -228,7 +228,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"value\":\"150\",\"description\":\"The number of seconds the server waits for activity on a noninteractive connection before closing it.\",\"defaultValue\":\"120\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/configurations/wait_timeout\",\"name\":\"wait_timeout\",\"type\":\"Microsoft.DBforMySQL/servers/configurations\"}" + "Content": "{\"properties\":{\"value\":\"150\",\"description\":\"The number of seconds the server waits for activity on a noninteractive connection before closing it.\",\"defaultValue\":\"120\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/wait_timeout\",\"name\":\"wait_timeout\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"}" } } } \ No newline at end of file diff --git a/src/MySql/test/Update-AzMySqlConfiguration.Tests.ps1 b/src/MySql/test/Update-AzMySqlConfiguration.Tests.ps1 index c9ee40bebd4f..0dbb5dd9aeb8 100644 --- a/src/MySql/test/Update-AzMySqlConfiguration.Tests.ps1 +++ b/src/MySql/test/Update-AzMySqlConfiguration.Tests.ps1 @@ -18,7 +18,7 @@ Describe 'Update-AzMySqlConfiguration' { } It 'UpdateViaIdentityExpanded' { - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBforMySQL/servers/$($env.serverName)/configurations/wait_timeout" + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySQL/servers/$($env.serverName)/configurations/wait_timeout" $config = Update-AzMySqlConfiguration -InputObject $ID -Value 150 $config.Value | Should -Be 150 } diff --git a/src/MySql/test/Update-AzMySqlFirewallRule.Recording.json b/src/MySql/test/Update-AzMySqlFirewallRule.Recording.json index e9b71b9541ce..13f6b85e979e 100644 --- a/src/MySql/test/Update-AzMySqlFirewallRule.Recording.json +++ b/src/MySql/test/Update-AzMySqlFirewallRule.Recording.json @@ -1,8 +1,8 @@ { - "Update-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { + "Update-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": "{\n \"properties\": {\n \"endIpAddress\": \"0.0.0.1\",\n \"startIpAddress\": \"0.0.0.0\"\n }\n}", "Headers": { }, @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/8e22193e-3d9c-4e45-bf1d-61bd3b5e29d8?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/8e22193e-3d9c-4e45-bf1d-61bd3b5e29d8?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/8e22193e-3d9c-4e45-bf1d-61bd3b5e29d8?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/8e22193e-3d9c-4e45-bf1d-61bd3b5e29d8?api-version=2017-12-01" ], "x-ms-request-id": [ "8e22193e-3d9c-4e45-bf1d-61bd3b5e29d8" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-07-24T07:10:12.05Z\"}" } }, - "Update-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/8e22193e-3d9c-4e45-bf1d-61bd3b5e29d8?api-version=2017-12-01+2": { + "Update-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/8e22193e-3d9c-4e45-bf1d-61bd3b5e29d8?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/8e22193e-3d9c-4e45-bf1d-61bd3b5e29d8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/8e22193e-3d9c-4e45-bf1d-61bd3b5e29d8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1", "2" ], @@ -76,10 +76,10 @@ "Content": "{\"name\":\"8e22193e-3d9c-4e45-bf1d-61bd3b5e29d8\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:10:12.05Z\"}" } }, - "Update-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { + "Update-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1", "2", "3" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBForMySQL/servers/firewallRules\"}" } }, - "Update-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+4": { + "Update-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+4": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": "{\n \"properties\": {\n \"endIpAddress\": \"0.0.0.2\",\n \"startIpAddress\": \"0.0.0.2\"\n }\n}", "Headers": { }, @@ -132,9 +132,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/e5917bef-26e5-48bd-a3d4-ccfd236ebb4b?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/e5917bef-26e5-48bd-a3d4-ccfd236ebb4b?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/e5917bef-26e5-48bd-a3d4-ccfd236ebb4b?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/e5917bef-26e5-48bd-a3d4-ccfd236ebb4b?api-version=2017-12-01" ], "x-ms-request-id": [ "e5917bef-26e5-48bd-a3d4-ccfd236ebb4b" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], @@ -152,10 +152,10 @@ "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-07-24T07:10:29.63Z\"}" } }, - "Update-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/e5917bef-26e5-48bd-a3d4-ccfd236ebb4b?api-version=2017-12-01+5": { + "Update-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/e5917bef-26e5-48bd-a3d4-ccfd236ebb4b?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/e5917bef-26e5-48bd-a3d4-ccfd236ebb4b?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/e5917bef-26e5-48bd-a3d4-ccfd236ebb4b?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "4", "5" ], @@ -192,10 +192,10 @@ "Content": "{\"name\":\"e5917bef-26e5-48bd-a3d4-ccfd236ebb4b\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:10:29.63Z\"}" } }, - "Update-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+6": { + "Update-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "4", "5", "6" ], @@ -228,13 +228,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.2\",\"endIpAddress\":\"0.0.0.2\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.2\",\"endIpAddress\":\"0.0.0.2\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBForMySQL/servers/firewallRules\"}" } }, - "Update-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+7": { + "Update-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+7": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "7" ], @@ -253,9 +253,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/ef9d3f5d-7528-4905-b20d-f765ede790a2?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/ef9d3f5d-7528-4905-b20d-f765ede790a2?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ef9d3f5d-7528-4905-b20d-f765ede790a2?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/ef9d3f5d-7528-4905-b20d-f765ede790a2?api-version=2017-12-01" ], "x-ms-request-id": [ "ef9d3f5d-7528-4905-b20d-f765ede790a2" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14997" ], @@ -273,10 +273,10 @@ "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-07-24T07:10:47.143Z\"}" } }, - "Update-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ef9d3f5d-7528-4905-b20d-f765ede790a2?api-version=2017-12-01+8": { + "Update-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/ef9d3f5d-7528-4905-b20d-f765ede790a2?api-version=2017-12-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/ef9d3f5d-7528-4905-b20d-f765ede790a2?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/ef9d3f5d-7528-4905-b20d-f765ede790a2?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "7", "8" ], @@ -313,10 +313,10 @@ "Content": "{\"name\":\"ef9d3f5d-7528-4905-b20d-f765ede790a2\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:10:47.143Z\"}" } }, - "Update-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/ef9d3f5d-7528-4905-b20d-f765ede790a2?api-version=2017-12-01+9": { + "Update-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/ef9d3f5d-7528-4905-b20d-f765ede790a2?api-version=2017-12-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/ef9d3f5d-7528-4905-b20d-f765ede790a2?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/ef9d3f5d-7528-4905-b20d-f765ede790a2?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "7", "8", "9" ], @@ -351,10 +351,10 @@ "Content": null } }, - "Update-AzMySqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { + "Update-AzMySqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": "{\n \"properties\": {\n \"endIpAddress\": \"0.0.0.1\",\n \"startIpAddress\": \"0.0.0.0\"\n }\n}", "Headers": { }, @@ -368,9 +368,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/2ad7e857-dd21-4321-935f-cf1966d0c230?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/2ad7e857-dd21-4321-935f-cf1966d0c230?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/2ad7e857-dd21-4321-935f-cf1966d0c230?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/2ad7e857-dd21-4321-935f-cf1966d0c230?api-version=2017-12-01" ], "x-ms-request-id": [ "2ad7e857-dd21-4321-935f-cf1966d0c230" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], @@ -388,10 +388,10 @@ "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-07-24T07:11:04.723Z\"}" } }, - "Update-AzMySqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/2ad7e857-dd21-4321-935f-cf1966d0c230?api-version=2017-12-01+2": { + "Update-AzMySqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/2ad7e857-dd21-4321-935f-cf1966d0c230?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/2ad7e857-dd21-4321-935f-cf1966d0c230?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/2ad7e857-dd21-4321-935f-cf1966d0c230?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "10", "11" ], @@ -428,10 +428,10 @@ "Content": "{\"name\":\"2ad7e857-dd21-4321-935f-cf1966d0c230\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:11:04.723Z\"}" } }, - "Update-AzMySqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { + "Update-AzMySqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "10", "11", "12" ], @@ -464,13 +464,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBForMySQL/servers/firewallRules\"}" } }, - "Update-AzMySqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+4": { + "Update-AzMySqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+4": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": "{\n \"properties\": {\n \"endIpAddress\": \"0.0.0.3\",\n \"startIpAddress\": \"0.0.0.2\"\n }\n}", "Headers": { }, @@ -484,9 +484,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/50b53200-9ac0-4795-9a50-fec3a74287c7?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/50b53200-9ac0-4795-9a50-fec3a74287c7?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/50b53200-9ac0-4795-9a50-fec3a74287c7?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/50b53200-9ac0-4795-9a50-fec3a74287c7?api-version=2017-12-01" ], "x-ms-request-id": [ "50b53200-9ac0-4795-9a50-fec3a74287c7" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1194" ], @@ -504,10 +504,10 @@ "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-07-24T07:11:22.347Z\"}" } }, - "Update-AzMySqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/50b53200-9ac0-4795-9a50-fec3a74287c7?api-version=2017-12-01+5": { + "Update-AzMySqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/50b53200-9ac0-4795-9a50-fec3a74287c7?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/50b53200-9ac0-4795-9a50-fec3a74287c7?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/50b53200-9ac0-4795-9a50-fec3a74287c7?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "13", "14" ], @@ -544,10 +544,10 @@ "Content": "{\"name\":\"50b53200-9ac0-4795-9a50-fec3a74287c7\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:11:22.347Z\"}" } }, - "Update-AzMySqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+6": { + "Update-AzMySqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "13", "14", "15" ], @@ -580,13 +580,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.2\",\"endIpAddress\":\"0.0.0.3\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.2\",\"endIpAddress\":\"0.0.0.3\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBForMySQL/servers/firewallRules\"}" } }, - "Update-AzMySqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+7": { + "Update-AzMySqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+7": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "16" ], @@ -605,9 +605,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/1539b77e-80cb-4d98-9892-bdc692eec670?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/1539b77e-80cb-4d98-9892-bdc692eec670?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/1539b77e-80cb-4d98-9892-bdc692eec670?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/1539b77e-80cb-4d98-9892-bdc692eec670?api-version=2017-12-01" ], "x-ms-request-id": [ "1539b77e-80cb-4d98-9892-bdc692eec670" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14996" ], @@ -625,10 +625,10 @@ "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-07-24T07:11:39.783Z\"}" } }, - "Update-AzMySqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/1539b77e-80cb-4d98-9892-bdc692eec670?api-version=2017-12-01+8": { + "Update-AzMySqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/1539b77e-80cb-4d98-9892-bdc692eec670?api-version=2017-12-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/1539b77e-80cb-4d98-9892-bdc692eec670?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/1539b77e-80cb-4d98-9892-bdc692eec670?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "16", "17" ], @@ -665,10 +665,10 @@ "Content": "{\"name\":\"1539b77e-80cb-4d98-9892-bdc692eec670\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:11:39.783Z\"}" } }, - "Update-AzMySqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/1539b77e-80cb-4d98-9892-bdc692eec670?api-version=2017-12-01+9": { + "Update-AzMySqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/1539b77e-80cb-4d98-9892-bdc692eec670?api-version=2017-12-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/1539b77e-80cb-4d98-9892-bdc692eec670?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/1539b77e-80cb-4d98-9892-bdc692eec670?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "16", "17", "18" ], diff --git a/src/MySql/test/Update-AzMySqlFirewallRule.Tests.ps1 b/src/MySql/test/Update-AzMySqlFirewallRule.Tests.ps1 index fbc482625166..dbecd537e87e 100644 --- a/src/MySql/test/Update-AzMySqlFirewallRule.Tests.ps1 +++ b/src/MySql/test/Update-AzMySqlFirewallRule.Tests.ps1 @@ -22,7 +22,7 @@ Describe 'Update-AzMySqlFirewallRule' { It 'UpdateViaIdentityExpanded' { New-AzMySqlFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBforMySQL/servers/$($env.serverName)/firewallRules/$($env.firewallRuleName)" + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySQL/servers/$($env.serverName)/firewallRules/$($env.firewallRuleName)" $rule = Update-AzMySqlFirewallRule -InputObject $ID -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 $rule.StartIPAddress | Should -Be 0.0.0.2 $rule.EndIPAddress | Should -Be 0.0.0.3 diff --git a/src/MySql/test/Update-AzMySqlServer.Recording.json b/src/MySql/test/Update-AzMySqlServer.Recording.json index ddf4409cd2b0..ea85080801b6 100644 --- a/src/MySql/test/Update-AzMySqlServer.Recording.json +++ b/src/MySql/test/Update-AzMySqlServer.Recording.json @@ -1,8 +1,8 @@ { - "Update-AzMySqlServer+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { + "Update-AzMySqlServer+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": "{\n \"properties\": {\n \"sslEnforcement\": \"Disabled\"\n }\n}", "Headers": { }, @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/c235c4a7-107f-4565-9b27-6860f50cc315?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/c235c4a7-107f-4565-9b27-6860f50cc315?api-version=2017-12-01" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c235c4a7-107f-4565-9b27-6860f50cc315?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c235c4a7-107f-4565-9b27-6860f50cc315?api-version=2017-12-01" ], "x-ms-request-id": [ "c235c4a7-107f-4565-9b27-6860f50cc315" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpsertElasticServer\",\"startTime\":\"2020-07-24T07:21:57.153Z\"}" } }, - "Update-AzMySqlServer+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c235c4a7-107f-4565-9b27-6860f50cc315?api-version=2017-12-01+2": { + "Update-AzMySqlServer+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c235c4a7-107f-4565-9b27-6860f50cc315?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/c235c4a7-107f-4565-9b27-6860f50cc315?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c235c4a7-107f-4565-9b27-6860f50cc315?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1", "2" ], @@ -76,10 +76,10 @@ "Content": "{\"name\":\"c235c4a7-107f-4565-9b27-6860f50cc315\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:21:57.153Z\"}" } }, - "Update-AzMySqlServer+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+3": { + "Update-AzMySqlServer+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1", "2", "3" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } }, - "Update-AzMySqlServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { + "Update-AzMySqlServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "4" ], @@ -151,13 +151,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } }, - "Update-AzMySqlServer+[NoContext]+UpdateViaIdentityExpanded+$PATCH+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+2": { + "Update-AzMySqlServer+[NoContext]+UpdateViaIdentityExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+2": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": "{\n \"properties\": {\n \"storageProfile\": {\n \"backupRetentionDays\": 23\n }\n }\n}", "Headers": { }, @@ -171,9 +171,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/764ecc56-a76f-47d1-bc51-0ab7fc8c90c2?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/764ecc56-a76f-47d1-bc51-0ab7fc8c90c2?api-version=2017-12-01" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/764ecc56-a76f-47d1-bc51-0ab7fc8c90c2?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/764ecc56-a76f-47d1-bc51-0ab7fc8c90c2?api-version=2017-12-01" ], "x-ms-request-id": [ "764ecc56-a76f-47d1-bc51-0ab7fc8c90c2" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], @@ -191,10 +191,10 @@ "Content": "{\"operation\":\"UpsertElasticServer\",\"startTime\":\"2020-07-24T07:23:01.107Z\"}" } }, - "Update-AzMySqlServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/764ecc56-a76f-47d1-bc51-0ab7fc8c90c2?api-version=2017-12-01+3": { + "Update-AzMySqlServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/764ecc56-a76f-47d1-bc51-0ab7fc8c90c2?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/764ecc56-a76f-47d1-bc51-0ab7fc8c90c2?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/764ecc56-a76f-47d1-bc51-0ab7fc8c90c2?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "5", "6" ], @@ -231,10 +231,10 @@ "Content": "{\"name\":\"764ecc56-a76f-47d1-bc51-0ab7fc8c90c2\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:23:01.107Z\"}" } }, - "Update-AzMySqlServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01+4": { + "Update-AzMySqlServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "5", "6", "7" ], @@ -267,7 +267,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } } } \ No newline at end of file diff --git a/src/MySql/test/Update-AzMySqlVirtualNetworkRule.Recording.json b/src/MySql/test/Update-AzMySqlVirtualNetworkRule.Recording.json index a037614c5052..6e8b67da184e 100644 --- a/src/MySql/test/Update-AzMySqlVirtualNetworkRule.Recording.json +++ b/src/MySql/test/Update-AzMySqlVirtualNetworkRule.Recording.json @@ -1,9 +1,9 @@ { - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\n }\n}", "Headers": { }, "ContentHeaders": { @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/630106f5-1b26-4eda-a58c-cbaf968992b2?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/630106f5-1b26-4eda-a58c-cbaf968992b2?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/630106f5-1b26-4eda-a58c-cbaf968992b2?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/630106f5-1b26-4eda-a58c-cbaf968992b2?api-version=2017-12-01" ], "x-ms-request-id": [ "630106f5-1b26-4eda-a58c-cbaf968992b2" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T07:27:21.587Z\"}" } }, - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/630106f5-1b26-4eda-a58c-cbaf968992b2?api-version=2017-12-01+2": { + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/630106f5-1b26-4eda-a58c-cbaf968992b2?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/630106f5-1b26-4eda-a58c-cbaf968992b2?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/630106f5-1b26-4eda-a58c-cbaf968992b2?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1", "2" ], @@ -76,10 +76,10 @@ "Content": "{\"name\":\"630106f5-1b26-4eda-a58c-cbaf968992b2\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:27:21.587Z\"}" } }, - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+3": { + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1", "2", "3" ], @@ -112,14 +112,14 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBforMySQL/servers/virtualNetworkRules\"}" + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBForMySQL/servers/virtualNetworkRules\"}" } }, - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+4": { + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+4": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet2\"\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet2\"\n }\n}", "Headers": { }, "ContentHeaders": { @@ -132,9 +132,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/4643d496-aa9a-4edc-b014-679e5e1aeae4?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/4643d496-aa9a-4edc-b014-679e5e1aeae4?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/4643d496-aa9a-4edc-b014-679e5e1aeae4?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/4643d496-aa9a-4edc-b014-679e5e1aeae4?api-version=2017-12-01" ], "x-ms-request-id": [ "4643d496-aa9a-4edc-b014-679e5e1aeae4" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], @@ -152,10 +152,10 @@ "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T07:27:54.073Z\"}" } }, - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/4643d496-aa9a-4edc-b014-679e5e1aeae4?api-version=2017-12-01+5": { + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/4643d496-aa9a-4edc-b014-679e5e1aeae4?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/4643d496-aa9a-4edc-b014-679e5e1aeae4?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/4643d496-aa9a-4edc-b014-679e5e1aeae4?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "4", "5" ], @@ -192,10 +192,10 @@ "Content": "{\"name\":\"4643d496-aa9a-4edc-b014-679e5e1aeae4\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:27:54.073Z\"}" } }, - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+6": { + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "4", "5", "6" ], @@ -228,13 +228,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet2\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBforMySQL/servers/virtualNetworkRules\"}" + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet2\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBForMySQL/servers/virtualNetworkRules\"}" } }, - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+7": { + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+7": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "7" ], @@ -253,9 +253,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/a629bc60-9141-4a73-b3c8-109e5b583c22?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/a629bc60-9141-4a73-b3c8-109e5b583c22?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/a629bc60-9141-4a73-b3c8-109e5b583c22?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/a629bc60-9141-4a73-b3c8-109e5b583c22?api-version=2017-12-01" ], "x-ms-request-id": [ "a629bc60-9141-4a73-b3c8-109e5b583c22" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14997" ], @@ -273,10 +273,10 @@ "Content": "{\"operation\":\"DropElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T07:28:26.463Z\"}" } }, - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/a629bc60-9141-4a73-b3c8-109e5b583c22?api-version=2017-12-01+8": { + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/a629bc60-9141-4a73-b3c8-109e5b583c22?api-version=2017-12-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/a629bc60-9141-4a73-b3c8-109e5b583c22?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/a629bc60-9141-4a73-b3c8-109e5b583c22?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "7", "8" ], @@ -313,10 +313,10 @@ "Content": "{\"name\":\"a629bc60-9141-4a73-b3c8-109e5b583c22\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:28:26.463Z\"}" } }, - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/a629bc60-9141-4a73-b3c8-109e5b583c22?api-version=2017-12-01+9": { + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/a629bc60-9141-4a73-b3c8-109e5b583c22?api-version=2017-12-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/a629bc60-9141-4a73-b3c8-109e5b583c22?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/a629bc60-9141-4a73-b3c8-109e5b583c22?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "7", "8", "9" ], @@ -351,11 +351,11 @@ "Content": null } }, - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\n }\n}", "Headers": { }, "ContentHeaders": { @@ -368,9 +368,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/d1087740-15b7-4fbe-bd3b-cd12fb123e2d?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/d1087740-15b7-4fbe-bd3b-cd12fb123e2d?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d1087740-15b7-4fbe-bd3b-cd12fb123e2d?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d1087740-15b7-4fbe-bd3b-cd12fb123e2d?api-version=2017-12-01" ], "x-ms-request-id": [ "d1087740-15b7-4fbe-bd3b-cd12fb123e2d" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1194" ], @@ -388,10 +388,10 @@ "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T07:28:43.823Z\"}" } }, - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d1087740-15b7-4fbe-bd3b-cd12fb123e2d?api-version=2017-12-01+2": { + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d1087740-15b7-4fbe-bd3b-cd12fb123e2d?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/d1087740-15b7-4fbe-bd3b-cd12fb123e2d?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d1087740-15b7-4fbe-bd3b-cd12fb123e2d?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "10", "11" ], @@ -428,10 +428,10 @@ "Content": "{\"name\":\"d1087740-15b7-4fbe-bd3b-cd12fb123e2d\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:28:43.823Z\"}" } }, - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+3": { + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "10", "11", "12" ], @@ -464,14 +464,14 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBforMySQL/servers/virtualNetworkRules\"}" + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBForMySQL/servers/virtualNetworkRules\"}" } }, - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+4": { + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+4": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet2\"\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet2\"\n }\n}", "Headers": { }, "ContentHeaders": { @@ -484,9 +484,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/444b75d7-e999-40ab-8ab2-b92e9ea1e3a2?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/444b75d7-e999-40ab-8ab2-b92e9ea1e3a2?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/444b75d7-e999-40ab-8ab2-b92e9ea1e3a2?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/444b75d7-e999-40ab-8ab2-b92e9ea1e3a2?api-version=2017-12-01" ], "x-ms-request-id": [ "444b75d7-e999-40ab-8ab2-b92e9ea1e3a2" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1193" ], @@ -504,10 +504,10 @@ "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T07:29:16.323Z\"}" } }, - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/444b75d7-e999-40ab-8ab2-b92e9ea1e3a2?api-version=2017-12-01+5": { + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/444b75d7-e999-40ab-8ab2-b92e9ea1e3a2?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/444b75d7-e999-40ab-8ab2-b92e9ea1e3a2?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/444b75d7-e999-40ab-8ab2-b92e9ea1e3a2?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "13", "14" ], @@ -544,10 +544,10 @@ "Content": "{\"name\":\"444b75d7-e999-40ab-8ab2-b92e9ea1e3a2\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:29:16.323Z\"}" } }, - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+6": { + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "13", "14", "15" ], @@ -580,13 +580,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet2\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBforMySQL/servers/virtualNetworkRules\"}" + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet2\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBForMySQL/servers/virtualNetworkRules\"}" } }, - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+7": { + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+7": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "16" ], @@ -605,9 +605,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/fffe0835-0317-4a30-a4b6-cbad1f09f1aa?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/fffe0835-0317-4a30-a4b6-cbad1f09f1aa?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/fffe0835-0317-4a30-a4b6-cbad1f09f1aa?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/fffe0835-0317-4a30-a4b6-cbad1f09f1aa?api-version=2017-12-01" ], "x-ms-request-id": [ "fffe0835-0317-4a30-a4b6-cbad1f09f1aa" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14996" ], @@ -625,10 +625,10 @@ "Content": "{\"operation\":\"DropElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T07:29:48.65Z\"}" } }, - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/fffe0835-0317-4a30-a4b6-cbad1f09f1aa?api-version=2017-12-01+8": { + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/fffe0835-0317-4a30-a4b6-cbad1f09f1aa?api-version=2017-12-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/fffe0835-0317-4a30-a4b6-cbad1f09f1aa?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/fffe0835-0317-4a30-a4b6-cbad1f09f1aa?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "16", "17" ], @@ -665,10 +665,10 @@ "Content": "{\"name\":\"fffe0835-0317-4a30-a4b6-cbad1f09f1aa\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:29:48.65Z\"}" } }, - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/fffe0835-0317-4a30-a4b6-cbad1f09f1aa?api-version=2017-12-01+9": { + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/fffe0835-0317-4a30-a4b6-cbad1f09f1aa?api-version=2017-12-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/fffe0835-0317-4a30-a4b6-cbad1f09f1aa?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/fffe0835-0317-4a30-a4b6-cbad1f09f1aa?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "16", "17", "18" ], diff --git a/src/MySql/test/Update-AzMySqlVirtualNetworkRule.Tests.ps1 b/src/MySql/test/Update-AzMySqlVirtualNetworkRule.Tests.ps1 index 7241e8faa4fd..a0a9c6b36085 100644 --- a/src/MySql/test/Update-AzMySqlVirtualNetworkRule.Tests.ps1 +++ b/src/MySql/test/Update-AzMySqlVirtualNetworkRule.Tests.ps1 @@ -25,7 +25,7 @@ Describe 'Update-AzMySqlVirtualNetworkRule' { $SubnetID1 = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1" New-AzMySqlVirtualNetworkRule -Name $env.VNetName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -SubnetId $SubnetID1 $SubnetID2 = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet2" - $VNetId = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBforMySQL/servers/$($env.serverName)/virtualNetworkRules/$($env.VNetName)" + $VNetId = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySQL/servers/$($env.serverName)/virtualNetworkRules/$($env.VNetName)" $rule = Update-AzMySqlVirtualNetworkRule -InputObject $VNetId -SubnetId $SubnetID2 $rule.VirtualNetworkSubnetId | Should -Be $SubnetID2 Remove-AzMySqlVirtualNetworkRule -Name $env.VNetName -ResourceGroupName $env.resourceGroup-ServerName $env.serverName diff --git a/src/MySql/test/env.json b/src/MySql/test/env.json index f5d99f64effd..25af8d96732e 100644 --- a/src/MySql/test/env.json +++ b/src/MySql/test/env.json @@ -12,5 +12,6 @@ "replicaName": "mysql-test-100-replica", "SubscriptionId": "7fec3109-5b78-4a24-b834-5d47d63e2596", "restoreName2": "mysql-test-100-restore-2", - "serverName2": "mysql-test-100-2" + "serverName2": "mysql-test-100-2", + "VNetName": "mysqlvnet" } diff --git a/src/MySql/test/localEnv.json b/src/MySql/test/localEnv.json index 239f58d342a7..25af8d96732e 100644 --- a/src/MySql/test/localEnv.json +++ b/src/MySql/test/localEnv.json @@ -1,15 +1,17 @@ { "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "restoreName": "mysql-test-100-restore", - "SubscriptionId": "9e223dbe-3399-4e19-88eb-0975f02ac87f", "firewallRuleName": "mysqlrule01", - "restoreName2": "mysql-test-100-restore-2", - "replicaName": "mysql-test-100-replica", + "resourceGroup": "MySqlTest", "Sku": "GP_Gen5_4", "firewallRuleName2": "mysqlrule02", + "location": "westus2", + "databaseName": "mysqldb", "serverName": "mysql-test-100", + "FlexibleSku": "Standard_B1ms", + "restoreName": "mysql-test-100-restore", + "replicaName": "mysql-test-100-replica", + "SubscriptionId": "7fec3109-5b78-4a24-b834-5d47d63e2596", + "restoreName2": "mysql-test-100-restore-2", "serverName2": "mysql-test-100-2", - "resourceGroup": "MySqlTest", - "VNetName": "mysqlvnet", - "location": "eastus" + "VNetName": "mysqlvnet" } diff --git a/src/MySql/test/utils.ps1 b/src/MySql/test/utils.ps1 index da9e9c36fb4e..b6ad460c02dd 100644 --- a/src/MySql/test/utils.ps1 +++ b/src/MySql/test/utils.ps1 @@ -7,7 +7,7 @@ function RandomString([bool]$allChars, [int32]$len) { } $env = @{} -function setupFlexibleServerEnv() { +function setupEnv() { # Preload subscriptionId and tenant from context, which will be used in test # as default. You could change them if needed. $env.SubscriptionId = (Get-AzContext).Subscription.Id @@ -20,6 +20,7 @@ function setupFlexibleServerEnv() { $env.Add("firewallRuleName", "mysqlrule01") $env.Add("firewallRuleName2", "mysqlrule02") $env.Add("databaseName", "mysqldb") + $env.Add("VNetName", "mysqlvnet") # Create the test group write-host "start to create test group." @@ -27,7 +28,7 @@ function setupFlexibleServerEnv() { $location = "westus2" $env.Add("resourceGroup", $resourceGroup) $env.Add("location", $location) - # New-AzResourceGroup -Name $resourceGroup -Location $location + New-AzResourceGroup -Name $resourceGroup -Location $location #[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] $password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force @@ -40,11 +41,11 @@ function setupFlexibleServerEnv() { write-host (Get-AzContext | Out-String) - # write-host "New-AzMySqlServer -Name $serverName -ResourceGroupName $resourceGroup -Location $location -AdministratorUserName mysql_test -AdministratorLoginPassword $password -Sku $Sku" - # New-AzMySqlServer -Name $serverName -ResourceGroupName $resourceGroup -Location $location -AdministratorUserName mysql_test -AdministratorLoginPassword $password -Sku $Sku + write-host "New-AzMySqlServer -Name $serverName -ResourceGroupName $resourceGroup -Location $location -AdministratorUserName mysql_test -AdministratorLoginPassword $password -Sku $Sku" + New-AzMySqlServer -Name $serverName -ResourceGroupName $resourceGroup -Location $location -AdministratorUserName mysql_test -AdministratorLoginPassword $password -Sku $Sku - # write-host "New-AzMySqlFlexibleServer -Name $serverName -ResourceGroupName $resourceGroup -AdministratorUserName mysql_test -AdministratorLoginPassword $password" - # New-AzMySqlFlexibleServer -Name $serverName -ResourceGroupName $resourceGroup -AdministratorUserName mysql_test -AdministratorLoginPassword $password + write-host "New-AzMySqlFlexibleServer -Name $serverName -ResourceGroupName $resourceGroup -AdministratorUserName mysql_test -AdministratorLoginPassword $password" + New-AzMySqlFlexibleServer -Name $serverName -ResourceGroupName $resourceGroup -AdministratorUserName mysql_test -AdministratorLoginPassword $password $envFile = 'env.json' if ($TestMode -eq 'live') { @@ -56,5 +57,5 @@ function cleanupEnv() { # Clean resources you create for testing # Removing resourcegroup will clean all the resources created for testing. write-host "Clean resources you create for testing." - # Remove-AzResourceGroup -Name $env.resourceGroup + Remove-AzResourceGroup -Name $env.resourceGroup } diff --git a/src/PostgreSql/docs/Az.PostgreSql.md b/src/PostgreSql/docs/Az.PostgreSql.md index c77fc0aae797..844a8b784383 100644 --- a/src/PostgreSql/docs/Az.PostgreSql.md +++ b/src/PostgreSql/docs/Az.PostgreSql.md @@ -29,9 +29,6 @@ Gets information about a configuration of server. ### [Get-AzPostgreSqlFlexibleServerFirewallRule](Get-AzPostgreSqlFlexibleServerFirewallRule.md) List all the firewall rules in a given server. -### [Get-AzPostgreSqlFlexibleServerLocationBasedCapability](Get-AzPostgreSqlFlexibleServerLocationBasedCapability.md) -Get capabilities at specified location in a given subscription. - ### [Get-AzPostgreSqlReplica](Get-AzPostgreSqlReplica.md) List all the replicas for a given server. diff --git a/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerLocationBasedCapability.md b/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerLocationBasedCapability.md deleted file mode 100644 index 2a938b2a817b..000000000000 --- a/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerLocationBasedCapability.md +++ /dev/null @@ -1,155 +0,0 @@ ---- -external help file: -Module Name: Az.PostgreSql -online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/get-azpostgresqlflexibleserverlocationbasedcapability -schema: 2.0.0 ---- - -# Get-AzPostgreSqlFlexibleServerLocationBasedCapability - -## SYNOPSIS -Get capabilities at specified location in a given subscription. - -## SYNTAX - -### Get (Default) -``` -Get-AzPostgreSqlFlexibleServerLocationBasedCapability -LocationName [-SubscriptionId ] - [-DefaultProfile ] [] -``` - -### GetViaIdentity -``` -Get-AzPostgreSqlFlexibleServerLocationBasedCapability -InputObject - [-DefaultProfile ] [] -``` - -## DESCRIPTION -Get capabilities at specified location in a given subscription. - -## EXAMPLES - -### Example 1: List available SKUs and their properties in the location -```powershell -PS C:\> Get-AzPostgreSqlFlexibleServerLocationBasedCapability -Location eastus -For prices please refer to https://aka.ms/postgresql-pricing - -SKU Tier VCore Memory Max Disk IOPS ----------------- --------------- ------- -------- --------------- -Standard_B1ms Burstable 1 2 GiB 640 -Standard_B2s Burstable 2 4 GiB 1280 -Standard_D2s_v3 GeneralPurpose 2 8 GiB 3200 -Standard_D4s_v3 GeneralPurpose 4 16 GiB 6400 -Standard_D8s_v3 GeneralPurpose 8 32 GiB 12800 -Standard_D16s_v3 GeneralPurpose 16 64 GiB 18000 -Standard_D32s_v3 GeneralPurpose 32 128 GiB 18000 -Standard_D48s_v3 GeneralPurpose 48 192 GiB 18000 -Standard_D64s_v3 GeneralPurpose 64 256 GiB 18000 -Standard_E2s_v3 MemoryOptimized 2 16 GiB 3200 -Standard_E4s_v3 MemoryOptimized 4 32 GiB 6400 -Standard_E8s_v3 MemoryOptimized 8 64 GiB 12800 -Standard_E16s_v3 MemoryOptimized 16 128 GiB 18000 -Standard_E32s_v3 MemoryOptimized 32 256 GiB 18000 -Standard_E48s_v3 MemoryOptimized 48 384 GiB 18000 -Standard_E64s_v3 MemoryOptimized 64 432 GiB 18000 -``` - -Provide available skus in the location - -## PARAMETERS - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity -Parameter Sets: GetViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -LocationName -The name of the location. - -```yaml -Type: System.String -Parameter Sets: Get -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String[] -Parameter Sets: Get -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20200214Preview.ICapabilityProperties - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServerLocationBasedCapability.md b/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServerLocationBasedCapability.md deleted file mode 100644 index f20531ee7b83..000000000000 --- a/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServerLocationBasedCapability.md +++ /dev/null @@ -1,27 +0,0 @@ -### Example 1: List available SKUs and their properties in the location - -```powershell -PS C:\> Get-AzPostgreSqlFlexibleServerLocationBasedCapability -Location eastus -For prices please refer to https://aka.ms/postgresql-pricing - -SKU Tier VCore Memory Max Disk IOPS ----------------- --------------- ------- -------- --------------- -Standard_B1ms Burstable 1 2 GiB 640 -Standard_B2s Burstable 2 4 GiB 1280 -Standard_D2s_v3 GeneralPurpose 2 8 GiB 3200 -Standard_D4s_v3 GeneralPurpose 4 16 GiB 6400 -Standard_D8s_v3 GeneralPurpose 8 32 GiB 12800 -Standard_D16s_v3 GeneralPurpose 16 64 GiB 18000 -Standard_D32s_v3 GeneralPurpose 32 128 GiB 18000 -Standard_D48s_v3 GeneralPurpose 48 192 GiB 18000 -Standard_D64s_v3 GeneralPurpose 64 256 GiB 18000 -Standard_E2s_v3 MemoryOptimized 2 16 GiB 3200 -Standard_E4s_v3 MemoryOptimized 4 32 GiB 6400 -Standard_E8s_v3 MemoryOptimized 8 64 GiB 12800 -Standard_E16s_v3 MemoryOptimized 16 128 GiB 18000 -Standard_E32s_v3 MemoryOptimized 32 256 GiB 18000 -Standard_E48s_v3 MemoryOptimized 48 384 GiB 18000 -Standard_E64s_v3 MemoryOptimized 64 432 GiB 18000 -``` - -Provide available skus in the location \ No newline at end of file diff --git a/src/PostgreSql/readme.md b/src/PostgreSql/readme.md index 41aee61e3e3d..640b60e01c02 100644 --- a/src/PostgreSql/readme.md +++ b/src/PostgreSql/readme.md @@ -84,7 +84,7 @@ directive: hide: true - where: verb: Get$ - subject: ^FlexibleServerVirtualNetworkSubnetUsage$ + subject: ^FlexibleServerVirtualNetworkSubnetUsage$|^FlexibleServerLocationBasedCapability$ hide: true - where: verb: Test$ diff --git a/src/PostgreSql/test/Get-AzPostgreSqlConfiguration.Recording.json b/src/PostgreSql/test/Get-AzPostgreSqlConfiguration.Recording.json index d1f457c53b44..1455ff225888 100644 --- a/src/PostgreSql/test/Get-AzPostgreSqlConfiguration.Recording.json +++ b/src/PostgreSql/test/Get-AzPostgreSqlConfiguration.Recording.json @@ -1,8 +1,8 @@ { - "Get-AzPostgreSqlConfiguration+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations?api-version=2017-12-01+1": { + "Get-AzPostgreSqlConfiguration+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "10" ], @@ -35,13 +35,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"properties\":{\"value\":\"on\",\"description\":\"Enable input of NULL elements in arrays.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/array_nulls\",\"name\":\"array_nulls\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"safe_encoding\",\"description\":\"Sets whether \\\"\\\\\u0027\\\" is allowed in string literals.\",\"defaultValue\":\"safe_encoding\",\"dataType\":\"Enumeration\",\"allowedValues\":\"safe_encoding,on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/backslash_quote\",\"name\":\"backslash_quote\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"hex\",\"description\":\"Sets the output format for bytea.\",\"defaultValue\":\"hex\",\"dataType\":\"Enumeration\",\"allowedValues\":\"escape,hex\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/bytea_output\",\"name\":\"bytea_output\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Check function bodies during CREATE FUNCTION.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/check_function_bodies\",\"name\":\"check_function_bodies\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"sql_ascii\",\"description\":\"Sets the client\u0027s character set encoding.\",\"defaultValue\":\"sql_ascii\",\"dataType\":\"Enumeration\",\"allowedValues\":\"BIG5,EUC_CN,EUC_JP,EUC_JIS_2004,EUC_KR,EUC_TW,GB18030,GBK,ISO_8859_5,ISO_8859_6,ISO_8859_7,ISO_8859_8,JOHAB,KOI8R,KOI8U,LATIN1,LATIN2,LATIN3,LATIN4,LATIN5,LATIN6,LATIN7,LATIN8,LATIN9,LATIN10,MULE_INTERNAL,SJIS,SHIFT_JIS_2004,SQL_ASCII,UHC,UTF8,WIN866,WIN874,WIN1250,WIN1251,WIN1252,WIN1253,WIN1254,WIN1255,WIN1256,WIN1257,WIN1258\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/client_encoding\",\"name\":\"client_encoding\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"notice\",\"description\":\"Sets the message levels that are sent to the client.\",\"defaultValue\":\"notice\",\"dataType\":\"Enumeration\",\"allowedValues\":\"debug5,debug4,debug3,debug2,debug1,log,notice,warning,error\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/client_min_messages\",\"name\":\"client_min_messages\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"partition\",\"description\":\"Enables the planner to use constraints to optimize queries.\",\"defaultValue\":\"partition\",\"dataType\":\"Enumeration\",\"allowedValues\":\"partition,on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/constraint_exclusion\",\"name\":\"constraint_exclusion\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0.005\",\"description\":\"Sets the planner\u0027s estimate of the cost of processing each index entry during an index scan.\",\"defaultValue\":\"0.005\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/cpu_index_tuple_cost\",\"name\":\"cpu_index_tuple_cost\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0.0025\",\"description\":\"Sets the planner\u0027s estimate of the cost of processing each operator or function call.\",\"defaultValue\":\"0.0025\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/cpu_operator_cost\",\"name\":\"cpu_operator_cost\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0.01\",\"description\":\"Sets the planner\u0027s estimate of the cost of processing each tuple (row).\",\"defaultValue\":\"0.01\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/cpu_tuple_cost\",\"name\":\"cpu_tuple_cost\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0.1\",\"description\":\"Sets the planner\u0027s estimate of the fraction of a cursor\u0027s rows that will be retrieved.\",\"defaultValue\":\"0.1\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/cursor_tuple_fraction\",\"name\":\"cursor_tuple_fraction\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"iso, mdy\",\"description\":\"Sets the display format for date and time values.\",\"defaultValue\":\"iso, mdy\",\"dataType\":\"String\",\"allowedValues\":\"(iso|postgres|sql|german)\\\\,\\\\s(dmy|mdy|ymd)\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/datestyle\",\"name\":\"datestyle\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"1000\",\"description\":\"Sets the amount of time, in milliseconds, to wait on a lock before checking for deadlock.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/deadlock_timeout\",\"name\":\"deadlock_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs each query\u0027s execution plan.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/debug_print_plan\",\"name\":\"debug_print_plan\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs each query\u0027s rewritten parse tree.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/debug_print_rewritten\",\"name\":\"debug_print_rewritten\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"Sets the default statistics target.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/default_statistics_target\",\"name\":\"default_statistics_target\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"pg_catalog.english\",\"description\":\"Sets default text search configuration.\",\"defaultValue\":\"pg_catalog.english\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z\\\\._]+\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/default_text_search_config\",\"name\":\"default_text_search_config\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Sets the default deferrable status of new transactions.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/default_transaction_deferrable\",\"name\":\"default_transaction_deferrable\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"read committed\",\"description\":\"Sets the transaction isolation level of each new transaction.\",\"defaultValue\":\"read committed\",\"dataType\":\"Enumeration\",\"allowedValues\":\"serializable,repeatable read,read committed,read uncommitted\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/default_transaction_isolation\",\"name\":\"default_transaction_isolation\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Sets the default read-only status of new transactions.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/default_transaction_read_only\",\"name\":\"default_transaction_read_only\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Create new tables with OIDs by default.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/default_with_oids\",\"name\":\"default_with_oids\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of bitmap-scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/enable_bitmapscan\",\"name\":\"enable_bitmapscan\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of hashed aggregation plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/enable_hashagg\",\"name\":\"enable_hashagg\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of hash join plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/enable_hashjoin\",\"name\":\"enable_hashjoin\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of index-only-scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/enable_indexonlyscan\",\"name\":\"enable_indexonlyscan\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of index-scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/enable_indexscan\",\"name\":\"enable_indexscan\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of materialization.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/enable_material\",\"name\":\"enable_material\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of merge join plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/enable_mergejoin\",\"name\":\"enable_mergejoin\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of nested-loop join plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/enable_nestloop\",\"name\":\"enable_nestloop\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of sequential-scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/enable_seqscan\",\"name\":\"enable_seqscan\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of explicit sort steps.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/enable_sort\",\"name\":\"enable_sort\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of TID scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/enable_tidscan\",\"name\":\"enable_tidscan\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Warn about backslash escapes in ordinary string literals.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/escape_string_warning\",\"name\":\"escape_string_warning\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Terminate session on any error.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/exit_on_error\",\"name\":\"exit_on_error\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the number of digits displayed for floating-point values.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"-15-3\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/extra_float_digits\",\"name\":\"extra_float_digits\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"Sets the FROM-list size beyond which subqueries are not collapsed.\",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/from_collapse_limit\",\"name\":\"from_collapse_limit\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables genetic query optimization.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/geqo\",\"name\":\"geqo\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"5\",\"description\":\"GEQO: effort is used to set the default for other GEQO parameters.\",\"defaultValue\":\"5\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/geqo_effort\",\"name\":\"geqo_effort\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"GEQO: number of iterations of the algorithm.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/geqo_generations\",\"name\":\"geqo_generations\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"GEQO: number of individuals in the population.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/geqo_pool_size\",\"name\":\"geqo_pool_size\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0.0\",\"description\":\"GEQO: seed for random path selection.\",\"defaultValue\":\"0.0\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/geqo_seed\",\"name\":\"geqo_seed\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"2.0\",\"description\":\"GEQO: selective pressure within the population.\",\"defaultValue\":\"2.0\",\"dataType\":\"Numeric\",\"allowedValues\":\"1.5-2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/geqo_selection_bias\",\"name\":\"geqo_selection_bias\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"12\",\"description\":\"Sets the threshold of FROM items beyond which GEQO is used.\",\"defaultValue\":\"12\",\"dataType\":\"Integer\",\"allowedValues\":\"2-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/geqo_threshold\",\"name\":\"geqo_threshold\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum allowed result for exact search by GIN.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/gin_fuzzy_search_limit\",\"name\":\"gin_fuzzy_search_limit\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"postgres\",\"description\":\"Sets the display format for interval values.\",\"defaultValue\":\"postgres\",\"dataType\":\"Enumeration\",\"allowedValues\":\"postgres,postgres_verbose,sql_standard,iso_8601\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/intervalstyle\",\"name\":\"intervalstyle\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"Sets the FROM-list size beyond which JOIN constructs are not flattened.\",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/join_collapse_limit\",\"name\":\"join_collapse_limit\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum allowed duration (in milliseconds) of any wait for a lock. 0 turns this off.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/lock_timeout\",\"name\":\"lock_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Logs each checkpoint.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_checkpoints\",\"name\":\"log_checkpoints\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Logs each successful connection.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_connections\",\"name\":\"log_connections\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs end of a session, including duration.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_disconnections\",\"name\":\"log_disconnections\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs the duration of each completed SQL statement.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_duration\",\"name\":\"log_duration\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"default\",\"description\":\"Sets the verbosity of logged messages.\",\"defaultValue\":\"default\",\"dataType\":\"Enumeration\",\"allowedValues\":\"terse,default,verbose\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_error_verbosity\",\"name\":\"log_error_verbosity\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"%t-%c-\",\"description\":\"Sets the printf-style string that is output at the beginning of each log line.\",\"defaultValue\":\"%t-%c-\",\"dataType\":\"String\",\"allowedValues\":\".*\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_line_prefix\",\"name\":\"log_line_prefix\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs long lock waits.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_lock_waits\",\"name\":\"log_lock_waits\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Sets the minimum execution time (in milliseconds) above which statements will be logged. -1 disables logging statement durations.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_min_duration_statement\",\"name\":\"log_min_duration_statement\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"error\",\"description\":\"Causes all statements generating error at or above this level to be logged.\",\"defaultValue\":\"error\",\"dataType\":\"Enumeration\",\"allowedValues\":\"debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_min_error_statement\",\"name\":\"log_min_error_statement\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"warning\",\"description\":\"Sets the message levels that are logged.\",\"defaultValue\":\"warning\",\"dataType\":\"Enumeration\",\"allowedValues\":\"debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_min_messages\",\"name\":\"log_min_messages\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"none\",\"description\":\"Sets the type of statements logged.\",\"defaultValue\":\"none\",\"dataType\":\"Enumeration\",\"allowedValues\":\"none,ddl,mod,all\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_statement\",\"name\":\"log_statement\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"For each query, writes cumulative performance statistics to the server log.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_statement_stats\",\"name\":\"log_statement_stats\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"Sets the maximum number of locks per transaction. Any change requires restarting the server to take effect. When running a replica server, you must set this parameter to the same or higher value than on the master server.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"10-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/max_locks_per_transaction\",\"name\":\"max_locks_per_transaction\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum number of simultaneously prepared transactions. Any change requires restarting the server to take effect. When running a replica server, you must set this parameter to the same or higher value than on the master server.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-8388607\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/max_prepared_transactions\",\"name\":\"max_prepared_transactions\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"When generating SQL fragments, quote all identifiers.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/quote_all_identifiers\",\"name\":\"quote_all_identifiers\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"4.0\",\"description\":\"Sets the planner\u0027s estimate of the cost of a nonsequentially fetched disk page.\",\"defaultValue\":\"4.0\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/random_page_cost\",\"name\":\"random_page_cost\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"\\\"$user\\\", public\",\"description\":\"Sets the schema search order for names that are not schema-qualified.\",\"defaultValue\":\"\\\"$user\\\", public\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z.\\\"$, ]+\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/search_path\",\"name\":\"search_path\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"1.0\",\"description\":\"Sets the planner\u0027s estimate of the cost of a sequentially fetched disk page.\",\"defaultValue\":\"1.0\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/seq_page_cost\",\"name\":\"seq_page_cost\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Causes subtables to be included by default in various commands.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/sql_inheritance\",\"name\":\"sql_inheritance\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum allowed duration (in milliseconds) of any statement. 0 turns this off.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/statement_timeout\",\"name\":\"statement_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enable synchronized sequential scans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/synchronize_seqscans\",\"name\":\"synchronize_seqscans\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Sets the current transaction\u0027s synchronization level.\",\"defaultValue\":\"on\",\"dataType\":\"Enumeration\",\"allowedValues\":\"local,remote_write,on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/synchronous_commit\",\"name\":\"synchronous_commit\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Treats \\\"expr=NULL\\\" as \\\"expr IS NULL\\\".\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/transform_null_equals\",\"name\":\"transform_null_equals\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"base64\",\"description\":\"Sets how binary values are to be encoded in XML.\",\"defaultValue\":\"base64\",\"dataType\":\"Enumeration\",\"allowedValues\":\"base64,hex\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/xmlbinary\",\"name\":\"xmlbinary\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"content\",\"description\":\"Sets whether XML data in implicit parsing and serialization operations is to be considered as documents or content fragments.\",\"defaultValue\":\"content\",\"dataType\":\"Enumeration\",\"allowedValues\":\"content,document\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/xmloption\",\"name\":\"xmloption\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Forces use of parallel query facilities.\",\"defaultValue\":\"off\",\"dataType\":\"Enumeration\",\"allowedValues\":\"off,on,regress\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/force_parallel_mode\",\"name\":\"force_parallel_mode\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum allowed duration of any idling transaction. Unit is ms.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/idle_in_transaction_session_timeout\",\"name\":\"idle_in_transaction_session_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum number of parallel processes per executor node.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1024\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/max_parallel_workers_per_gather\",\"name\":\"max_parallel_workers_per_gather\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"8388608\",\"description\":\"Sets the minimum size of relations to be considered for parallel scan. Unit is 8kb.\",\"defaultValue\":\"8388608\",\"dataType\":\"Integer\",\"allowedValues\":\"0-715827882\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/min_parallel_relation_size\",\"name\":\"min_parallel_relation_size\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"1000\",\"description\":\"Sets the planner\u0027s estimate of the cost of starting up worker processes for parallel query.\",\"defaultValue\":\"1000\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/parallel_setup_cost\",\"name\":\"parallel_setup_cost\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0.1\",\"description\":\"Sets the planner\u0027s estimate of the cost of passing each tuple (row) from worker to master backend.\",\"defaultValue\":\"0.1\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/parallel_tuple_cost\",\"name\":\"parallel_tuple_cost\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"Sets the amount of memory to be used by internal sort operations and hash tables before writing to temporary disk files. Unit is kb.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-2097151\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/work_mem\",\"name\":\"work_mem\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"8192\",\"description\":\"Sets the maximum number of temporary buffers used by each database session. Unit is 8kb.\",\"defaultValue\":\"8192\",\"dataType\":\"Integer\",\"allowedValues\":\"8192-16384\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/temp_buffers\",\"name\":\"temp_buffers\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables temporary connection throttling per IP for too many invalid password login failures.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/connection_throttling\",\"name\":\"connection_throttling\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"3\",\"description\":\"Sets how many days a log file is saved for.\",\"defaultValue\":\"3\",\"dataType\":\"Integer\",\"allowedValues\":\"1-7\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_retention_days\",\"name\":\"log_retention_days\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"6000\",\"description\":\"Sets the maximum query text length that will be saved; longer queries will be truncated.\",\"defaultValue\":\"6000\",\"dataType\":\"Integer\",\"allowedValues\":\"100-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/pg_qs.max_query_text_length\",\"name\":\"pg_qs.max_query_text_length\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"none\",\"description\":\"Selects which statements are tracked by pg_qs.\",\"defaultValue\":\"none\",\"dataType\":\"Enumeration\",\"allowedValues\":\"all,top,none\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/pg_qs.query_capture_mode\",\"name\":\"pg_qs.query_capture_mode\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"7\",\"description\":\"Sets the retention period window in days for pg_qs - after this time data will be deleted.\",\"defaultValue\":\"7\",\"dataType\":\"Integer\",\"allowedValues\":\"1-30\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/pg_qs.retention_period_in_days\",\"name\":\"pg_qs.retention_period_in_days\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Selects whether parameter placeholders are replaced in parameterized queries.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/pg_qs.replace_parameter_placeholders\",\"name\":\"pg_qs.replace_parameter_placeholders\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Selects whether utility commands are tracked by pg_qs.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/pg_qs.track_utility\",\"name\":\"pg_qs.track_utility\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"top\",\"description\":\"Controls which statements are counted by pg_stat_statements.\",\"defaultValue\":\"top\",\"dataType\":\"Enumeration\",\"allowedValues\":\"top,all,none\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/pg_stat_statements.track\",\"name\":\"pg_stat_statements.track\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"none\",\"description\":\"Selects which statements are tracked by the pgms_wait_sampling extension.\",\"defaultValue\":\"none\",\"dataType\":\"Enumeration\",\"allowedValues\":\"all,none\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/pgms_wait_sampling.query_capture_mode\",\"name\":\"pgms_wait_sampling.query_capture_mode\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"Set the frequency, in milliseconds, at which wait events are sampled.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"1-600000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/pgms_wait_sampling.history_period\",\"name\":\"pgms_wait_sampling.history_period\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"DISABLE_ALL\",\"description\":\"Controls postgis GDAL enabled driver settings.\",\"defaultValue\":\"DISABLE_ALL\",\"dataType\":\"Enumeration\",\"allowedValues\":\"DISABLE_ALL,ENABLE_ALL\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/postgis.gdal_enabled_drivers\",\"name\":\"postgis.gdal_enabled_drivers\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Starts the autovacuum subprocess.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/autovacuum\",\"name\":\"autovacuum\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0.05\",\"description\":\"Number of tuple inserts, updates, or deletes prior to analyze as a fraction of reltuples.\",\"defaultValue\":\"0.05\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_analyze_scale_factor\",\"name\":\"autovacuum_analyze_scale_factor\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"Minimum number of tuple inserts, updates, or deletes prior to analyze.\",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_analyze_threshold\",\"name\":\"autovacuum_analyze_threshold\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"200000000\",\"description\":\"Age at which to autovacuum a table to prevent transaction ID wraparound. Any change requires restarting the server to take effect..\",\"defaultValue\":\"200000000\",\"dataType\":\"Integer\",\"allowedValues\":\"100000-2000000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_freeze_max_age\",\"name\":\"autovacuum_freeze_max_age\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"400000000\",\"description\":\"Multixact age at which to autovacuum a table to prevent multixact wraparound. Any change requires restarting the server to take effect.\",\"defaultValue\":\"400000000\",\"dataType\":\"Integer\",\"allowedValues\":\"10000-2000000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_multixact_freeze_max_age\",\"name\":\"autovacuum_multixact_freeze_max_age\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"15\",\"description\":\"Time to sleep between autovacuum runs. Unit is s.\",\"defaultValue\":\"15\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_naptime\",\"name\":\"autovacuum_naptime\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"20\",\"description\":\"Vacuum cost delay in milliseconds, for autovacuum.\",\"defaultValue\":\"20\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_vacuum_cost_delay\",\"name\":\"autovacuum_vacuum_cost_delay\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Vacuum cost amount available before napping, for autovacuum.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_vacuum_cost_limit\",\"name\":\"autovacuum_vacuum_cost_limit\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0.05\",\"description\":\"Number of tuple updates or deletes prior to vacuum as a fraction of reltuples.\",\"defaultValue\":\"0.05\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_vacuum_scale_factor\",\"name\":\"autovacuum_vacuum_scale_factor\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"Minimum number of tuple updates or deletes prior to vacuum.\",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_vacuum_threshold\",\"name\":\"autovacuum_vacuum_threshold\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Sets the maximum memory to be used by each autovacuum worker process. Unit is kb.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2097151\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_work_mem\",\"name\":\"autovacuum_work_mem\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"3\",\"description\":\"Sets the maximum number of simultaneously running autovacuum worker processes. Any change requires restarting the server to take effect.\",\"defaultValue\":\"3\",\"dataType\":\"Integer\",\"allowedValues\":\"1-262143\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_max_workers\",\"name\":\"autovacuum_max_workers\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Number of pages after which previously performed writes are flushed to disk. Unit is 8kb.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/backend_flush_after\",\"name\":\"backend_flush_after\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"Background writer sleep time between rounds. Unit is ms.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"10-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/bgwriter_delay\",\"name\":\"bgwriter_delay\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"Number of pages after which previously performed writes are flushed to disk. Unit is 8kb.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/bgwriter_flush_after\",\"name\":\"bgwriter_flush_after\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"Background writer maximum number of LRU pages to flush per round.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1073741823\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/bgwriter_lru_maxpages\",\"name\":\"bgwriter_lru_maxpages\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Multiple of the average buffer usage to free per round.\",\"defaultValue\":\"2\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-10\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/bgwriter_lru_multiplier\",\"name\":\"bgwriter_lru_multiplier\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"30\",\"description\":\"Enables warnings if checkpoint segments are filled more frequently than this. Unit is s.\",\"defaultValue\":\"30\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/checkpoint_warning\",\"name\":\"checkpoint_warning\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the delay in microseconds between transaction commit and flushing WAL to disk.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/commit_delay\",\"name\":\"commit_delay\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"5\",\"description\":\"Sets the minimum concurrent open transactions before performing commit_delay.\",\"defaultValue\":\"5\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/commit_siblings\",\"name\":\"commit_siblings\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"1310720\",\"description\":\"Sets the planner\u0027s assumption about the size of the disk cache. Unit is 8kb.\",\"defaultValue\":\"917504\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/effective_cache_size\",\"name\":\"effective_cache_size\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"Sets the maximum size of the pending list for GIN index. Unit is kb.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"64-2097151\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/gin_pending_list_limit\",\"name\":\"gin_pending_list_limit\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"English_United States.1252\",\"description\":\"Sets the locale for formatting monetary amounts.\",\"defaultValue\":\"English_United States.1252\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9\\\\._\\\\s]+\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/lc_monetary\",\"name\":\"lc_monetary\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"English_United States.1252\",\"description\":\"Sets the locale for formatting numbers.\",\"defaultValue\":\"English_United States.1252\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9\\\\._\\\\s]+\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/lc_numeric\",\"name\":\"lc_numeric\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Enables backward compatibility mode for privilege checks on large objects.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/lo_compat_privileges\",\"name\":\"lo_compat_privileges\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Sets the minimum execution time above which autovacuum actions will be logged. Unit is ms.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_autovacuum_min_duration\",\"name\":\"log_autovacuum_min_duration\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs each replication command.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_replication_commands\",\"name\":\"log_replication_commands\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Log the use of temporary files larger than this number of kilobytes.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_temp_files\",\"name\":\"log_temp_files\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"30000\",\"description\":\"Sets the maximum delay before canceling queries when a hot standby server is processing archived WAL data. Unit is ms.\",\"defaultValue\":\"30000\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/max_standby_archive_delay\",\"name\":\"max_standby_archive_delay\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"30000\",\"description\":\"Sets the maximum delay before canceling queries when a hot standby server is processing streamed WAL data. Unit is ms.\",\"defaultValue\":\"30000\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/max_standby_streaming_delay\",\"name\":\"max_standby_streaming_delay\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"Sets the WAL size that triggers a checkpoint. Unit is 16MB.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"2-2097151\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/max_wal_size\",\"name\":\"max_wal_size\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"256\",\"description\":\"Sets the minimum size to shrink the WAL to. Unit is 16MB.\",\"defaultValue\":\"512\",\"dataType\":\"Integer\",\"allowedValues\":\"2-2097151\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/min_wal_size\",\"name\":\"min_wal_size\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Time before a snapshot is too old to read pages changed after the snapshot was taken. Any change requires restarting the server to take effect. Unit is min.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-86400\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/old_snapshot_threshold\",\"name\":\"old_snapshot_threshold\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Emit a warning for constructs that changed meaning since PostgreSQL 9.4.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/operator_precedence_warning\",\"name\":\"operator_precedence_warning\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"5000\",\"description\":\"Sets the maximum number of statements tracked by pg_stat_statements. Any change requires restarting the server to take effect.\",\"defaultValue\":\"5000\",\"dataType\":\"Integer\",\"allowedValues\":\"100-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/pg_stat_statements.max\",\"name\":\"pg_stat_statements.max\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Save pg_stat_statements statistics across server shutdowns.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/pg_stat_statements.save\",\"name\":\"pg_stat_statements.save\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Selects whether utility commands are tracked by pg_stat_statements.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/pg_stat_statements.track_utility\",\"name\":\"pg_stat_statements.track_utility\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"150000\",\"description\":\"Sets the maximum number of tuples to be sorted using replacement selection.\",\"defaultValue\":\"150000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/replacement_sort_tuples\",\"name\":\"replacement_sort_tuples\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enable row security.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/row_security\",\"name\":\"row_security\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"origin\",\"description\":\"Sets the session\u0027s behavior for triggers and rewrite rules.\",\"defaultValue\":\"origin\",\"dataType\":\"Enumeration\",\"allowedValues\":\"origin,replica,local\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/session_replication_role\",\"name\":\"session_replication_role\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Maximum number of TCP keepalive retransmits.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/tcp_keepalives_count\",\"name\":\"tcp_keepalives_count\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Time between issuing TCP keepalives. Unit is s.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/tcp_keepalives_idle\",\"name\":\"tcp_keepalives_idle\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Time between TCP keepalive retransmits. Unit is s.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/tcp_keepalives_interval\",\"name\":\"tcp_keepalives_interval\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Collects information about executing commands.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/track_activities\",\"name\":\"track_activities\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"Sets the size reserved for pg_stat_activity.query, in bytes. Any change requires restarting the server to take effect.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"100-102400\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/track_activity_query_size\",\"name\":\"track_activity_query_size\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Collects transaction commit time. Any change requires restarting the server to take effect.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/track_commit_timestamp\",\"name\":\"track_commit_timestamp\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Collects statistics on database activity.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/track_counts\",\"name\":\"track_counts\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"none\",\"description\":\"Collects function-level statistics on database activity.\",\"defaultValue\":\"none\",\"dataType\":\"Enumeration\",\"allowedValues\":\"none,pl,all\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/track_functions\",\"name\":\"track_functions\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Collects timing statistics for database I/O activity.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/track_io_timing\",\"name\":\"track_io_timing\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"UTC\",\"description\":\"Sets the time zone for displaying and interpreting time stamps\",\"defaultValue\":\"UTC\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9/+-_]+\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/timezone\",\"name\":\"timezone\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Sets which shared libraries are preloaded at server start. Any change requires a restart to take effect.\",\"defaultValue\":\"\",\"dataType\":\"Set\",\"allowedValues\":\",pgaudit,timescaledb\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/shared_preload_libraries\",\"name\":\"shared_preload_libraries\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Vacuum cost delay in milliseconds.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/vacuum_cost_delay\",\"name\":\"vacuum_cost_delay\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"Vacuum cost amount available before napping.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/vacuum_cost_limit\",\"name\":\"vacuum_cost_limit\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"20\",\"description\":\"Vacuum cost for a page dirtied by vacuum.\",\"defaultValue\":\"20\",\"dataType\":\"Integer\",\"allowedValues\":\"0-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/vacuum_cost_page_dirty\",\"name\":\"vacuum_cost_page_dirty\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Vacuum cost for a page found in the buffer cache.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/vacuum_cost_page_hit\",\"name\":\"vacuum_cost_page_hit\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Vacuum cost for a page not found in the buffer cache.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/vacuum_cost_page_miss\",\"name\":\"vacuum_cost_page_miss\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Number of transactions by which VACUUM and HOT cleanup should be deferred, if any.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/vacuum_defer_cleanup_age\",\"name\":\"vacuum_defer_cleanup_age\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"50000000\",\"description\":\"Minimum age at which VACUUM should freeze a table row.\",\"defaultValue\":\"50000000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/vacuum_freeze_min_age\",\"name\":\"vacuum_freeze_min_age\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"150000000\",\"description\":\"Age at which VACUUM should scan whole table to freeze tuples.\",\"defaultValue\":\"150000000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2000000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/vacuum_freeze_table_age\",\"name\":\"vacuum_freeze_table_age\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"5000000\",\"description\":\"Minimum age at which VACUUM should freeze a MultiXactId in a table row.\",\"defaultValue\":\"5000000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/vacuum_multixact_freeze_min_age\",\"name\":\"vacuum_multixact_freeze_min_age\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"150000000\",\"description\":\"Multixact age at which VACUUM should scan whole table to freeze tuples.\",\"defaultValue\":\"150000000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2000000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/vacuum_multixact_freeze_table_age\",\"name\":\"vacuum_multixact_freeze_table_age\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"8192\",\"description\":\"Sets the number of disk-page buffers in shared memory for WAL. Any change requires restarting the server to take effect. Unit is 8kb.\",\"defaultValue\":\"8192\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-262143\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/wal_buffers\",\"name\":\"wal_buffers\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Sets the maximum interval between WAL receiver status reports to the primary. Unit is s.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/wal_receiver_status_interval\",\"name\":\"wal_receiver_status_interval\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"Time between WAL flushes performed in the WAL writer. Unit is ms.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/wal_writer_delay\",\"name\":\"wal_writer_delay\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"128\",\"description\":\"Amount of WAL written out by WAL writer that triggers a flush. Unit is 8kb.\",\"defaultValue\":\"128\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/wal_writer_flush_after\",\"name\":\"wal_writer_flush_after\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"262144\",\"description\":\"Sets the maximum memory to be used for maintenance operations. Unit is kb.\",\"defaultValue\":\"131072\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-2097151\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/maintenance_work_mem\",\"name\":\"maintenance_work_mem\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"REPLICA\",\"description\":\"Sets the level of replication support (Read Replicas). Any change requires restarting the server to take effect.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"OFF,REPLICA,LOGICAL\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/azure.replication_support\",\"name\":\"azure.replication_support\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Specifies the maximum number of concurrent connections from standby servers or streaming base backup clients (i.e., the maximum number of simultaneously running WAL sender processes).\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"10-80\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/max_wal_senders\",\"name\":\"max_wal_senders\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Specifies the maximum number of replication slots that the server can support.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"10-80\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/max_replication_slots\",\"name\":\"max_replication_slots\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Allows feedback from a hot standby to the primary that will avoid query conflicts.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/hot_standby_feedback\",\"name\":\"hot_standby_feedback\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enable .log files. Setting is independent of Azure Monitor logging options. Any change requires restarting the server to take effect.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/logging_collector\",\"name\":\"logging_collector\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"}]}" + "Content": "{\"value\":[{\"properties\":{\"value\":\"on\",\"description\":\"Enable input of NULL elements in arrays.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/array_nulls\",\"name\":\"array_nulls\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"safe_encoding\",\"description\":\"Sets whether \\\"\\\\\u0027\\\" is allowed in string literals.\",\"defaultValue\":\"safe_encoding\",\"dataType\":\"Enumeration\",\"allowedValues\":\"safe_encoding,on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/backslash_quote\",\"name\":\"backslash_quote\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"hex\",\"description\":\"Sets the output format for bytea.\",\"defaultValue\":\"hex\",\"dataType\":\"Enumeration\",\"allowedValues\":\"escape,hex\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/bytea_output\",\"name\":\"bytea_output\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Check function bodies during CREATE FUNCTION.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/check_function_bodies\",\"name\":\"check_function_bodies\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"sql_ascii\",\"description\":\"Sets the client\u0027s character set encoding.\",\"defaultValue\":\"sql_ascii\",\"dataType\":\"Enumeration\",\"allowedValues\":\"BIG5,EUC_CN,EUC_JP,EUC_JIS_2004,EUC_KR,EUC_TW,GB18030,GBK,ISO_8859_5,ISO_8859_6,ISO_8859_7,ISO_8859_8,JOHAB,KOI8R,KOI8U,LATIN1,LATIN2,LATIN3,LATIN4,LATIN5,LATIN6,LATIN7,LATIN8,LATIN9,LATIN10,MULE_INTERNAL,SJIS,SHIFT_JIS_2004,SQL_ASCII,UHC,UTF8,WIN866,WIN874,WIN1250,WIN1251,WIN1252,WIN1253,WIN1254,WIN1255,WIN1256,WIN1257,WIN1258\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/client_encoding\",\"name\":\"client_encoding\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"notice\",\"description\":\"Sets the message levels that are sent to the client.\",\"defaultValue\":\"notice\",\"dataType\":\"Enumeration\",\"allowedValues\":\"debug5,debug4,debug3,debug2,debug1,log,notice,warning,error\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/client_min_messages\",\"name\":\"client_min_messages\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"partition\",\"description\":\"Enables the planner to use constraints to optimize queries.\",\"defaultValue\":\"partition\",\"dataType\":\"Enumeration\",\"allowedValues\":\"partition,on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/constraint_exclusion\",\"name\":\"constraint_exclusion\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0.005\",\"description\":\"Sets the planner\u0027s estimate of the cost of processing each index entry during an index scan.\",\"defaultValue\":\"0.005\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/cpu_index_tuple_cost\",\"name\":\"cpu_index_tuple_cost\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0.0025\",\"description\":\"Sets the planner\u0027s estimate of the cost of processing each operator or function call.\",\"defaultValue\":\"0.0025\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/cpu_operator_cost\",\"name\":\"cpu_operator_cost\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0.01\",\"description\":\"Sets the planner\u0027s estimate of the cost of processing each tuple (row).\",\"defaultValue\":\"0.01\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/cpu_tuple_cost\",\"name\":\"cpu_tuple_cost\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0.1\",\"description\":\"Sets the planner\u0027s estimate of the fraction of a cursor\u0027s rows that will be retrieved.\",\"defaultValue\":\"0.1\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/cursor_tuple_fraction\",\"name\":\"cursor_tuple_fraction\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"iso, mdy\",\"description\":\"Sets the display format for date and time values.\",\"defaultValue\":\"iso, mdy\",\"dataType\":\"String\",\"allowedValues\":\"(iso|postgres|sql|german)\\\\,\\\\s(dmy|mdy|ymd)\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/datestyle\",\"name\":\"datestyle\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"1000\",\"description\":\"Sets the amount of time, in milliseconds, to wait on a lock before checking for deadlock.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/deadlock_timeout\",\"name\":\"deadlock_timeout\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs each query\u0027s execution plan.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/debug_print_plan\",\"name\":\"debug_print_plan\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs each query\u0027s rewritten parse tree.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/debug_print_rewritten\",\"name\":\"debug_print_rewritten\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"Sets the default statistics target.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/default_statistics_target\",\"name\":\"default_statistics_target\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"pg_catalog.english\",\"description\":\"Sets default text search configuration.\",\"defaultValue\":\"pg_catalog.english\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z\\\\._]+\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/default_text_search_config\",\"name\":\"default_text_search_config\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Sets the default deferrable status of new transactions.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/default_transaction_deferrable\",\"name\":\"default_transaction_deferrable\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"read committed\",\"description\":\"Sets the transaction isolation level of each new transaction.\",\"defaultValue\":\"read committed\",\"dataType\":\"Enumeration\",\"allowedValues\":\"serializable,repeatable read,read committed,read uncommitted\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/default_transaction_isolation\",\"name\":\"default_transaction_isolation\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Sets the default read-only status of new transactions.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/default_transaction_read_only\",\"name\":\"default_transaction_read_only\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Create new tables with OIDs by default.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/default_with_oids\",\"name\":\"default_with_oids\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of bitmap-scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/enable_bitmapscan\",\"name\":\"enable_bitmapscan\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of hashed aggregation plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/enable_hashagg\",\"name\":\"enable_hashagg\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of hash join plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/enable_hashjoin\",\"name\":\"enable_hashjoin\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of index-only-scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/enable_indexonlyscan\",\"name\":\"enable_indexonlyscan\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of index-scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/enable_indexscan\",\"name\":\"enable_indexscan\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of materialization.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/enable_material\",\"name\":\"enable_material\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of merge join plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/enable_mergejoin\",\"name\":\"enable_mergejoin\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of nested-loop join plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/enable_nestloop\",\"name\":\"enable_nestloop\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of sequential-scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/enable_seqscan\",\"name\":\"enable_seqscan\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of explicit sort steps.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/enable_sort\",\"name\":\"enable_sort\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of TID scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/enable_tidscan\",\"name\":\"enable_tidscan\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Warn about backslash escapes in ordinary string literals.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/escape_string_warning\",\"name\":\"escape_string_warning\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Terminate session on any error.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/exit_on_error\",\"name\":\"exit_on_error\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the number of digits displayed for floating-point values.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"-15-3\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/extra_float_digits\",\"name\":\"extra_float_digits\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"Sets the FROM-list size beyond which subqueries are not collapsed.\",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/from_collapse_limit\",\"name\":\"from_collapse_limit\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables genetic query optimization.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/geqo\",\"name\":\"geqo\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"5\",\"description\":\"GEQO: effort is used to set the default for other GEQO parameters.\",\"defaultValue\":\"5\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/geqo_effort\",\"name\":\"geqo_effort\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"GEQO: number of iterations of the algorithm.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/geqo_generations\",\"name\":\"geqo_generations\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"GEQO: number of individuals in the population.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/geqo_pool_size\",\"name\":\"geqo_pool_size\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0.0\",\"description\":\"GEQO: seed for random path selection.\",\"defaultValue\":\"0.0\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/geqo_seed\",\"name\":\"geqo_seed\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"2.0\",\"description\":\"GEQO: selective pressure within the population.\",\"defaultValue\":\"2.0\",\"dataType\":\"Numeric\",\"allowedValues\":\"1.5-2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/geqo_selection_bias\",\"name\":\"geqo_selection_bias\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"12\",\"description\":\"Sets the threshold of FROM items beyond which GEQO is used.\",\"defaultValue\":\"12\",\"dataType\":\"Integer\",\"allowedValues\":\"2-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/geqo_threshold\",\"name\":\"geqo_threshold\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum allowed result for exact search by GIN.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/gin_fuzzy_search_limit\",\"name\":\"gin_fuzzy_search_limit\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"postgres\",\"description\":\"Sets the display format for interval values.\",\"defaultValue\":\"postgres\",\"dataType\":\"Enumeration\",\"allowedValues\":\"postgres,postgres_verbose,sql_standard,iso_8601\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/intervalstyle\",\"name\":\"intervalstyle\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"Sets the FROM-list size beyond which JOIN constructs are not flattened.\",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/join_collapse_limit\",\"name\":\"join_collapse_limit\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum allowed duration (in milliseconds) of any wait for a lock. 0 turns this off.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/lock_timeout\",\"name\":\"lock_timeout\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Logs each checkpoint.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/log_checkpoints\",\"name\":\"log_checkpoints\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Logs each successful connection.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/log_connections\",\"name\":\"log_connections\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs end of a session, including duration.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/log_disconnections\",\"name\":\"log_disconnections\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs the duration of each completed SQL statement.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/log_duration\",\"name\":\"log_duration\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"default\",\"description\":\"Sets the verbosity of logged messages.\",\"defaultValue\":\"default\",\"dataType\":\"Enumeration\",\"allowedValues\":\"terse,default,verbose\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/log_error_verbosity\",\"name\":\"log_error_verbosity\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"%t-%c-\",\"description\":\"Sets the printf-style string that is output at the beginning of each log line.\",\"defaultValue\":\"%t-%c-\",\"dataType\":\"String\",\"allowedValues\":\".*\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/log_line_prefix\",\"name\":\"log_line_prefix\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs long lock waits.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/log_lock_waits\",\"name\":\"log_lock_waits\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Sets the minimum execution time (in milliseconds) above which statements will be logged. -1 disables logging statement durations.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/log_min_duration_statement\",\"name\":\"log_min_duration_statement\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"error\",\"description\":\"Causes all statements generating error at or above this level to be logged.\",\"defaultValue\":\"error\",\"dataType\":\"Enumeration\",\"allowedValues\":\"debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/log_min_error_statement\",\"name\":\"log_min_error_statement\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"warning\",\"description\":\"Sets the message levels that are logged.\",\"defaultValue\":\"warning\",\"dataType\":\"Enumeration\",\"allowedValues\":\"debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/log_min_messages\",\"name\":\"log_min_messages\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"none\",\"description\":\"Sets the type of statements logged.\",\"defaultValue\":\"none\",\"dataType\":\"Enumeration\",\"allowedValues\":\"none,ddl,mod,all\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/log_statement\",\"name\":\"log_statement\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"For each query, writes cumulative performance statistics to the server log.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/log_statement_stats\",\"name\":\"log_statement_stats\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"Sets the maximum number of locks per transaction. Any change requires restarting the server to take effect. When running a replica server, you must set this parameter to the same or higher value than on the master server.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"10-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/max_locks_per_transaction\",\"name\":\"max_locks_per_transaction\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum number of simultaneously prepared transactions. Any change requires restarting the server to take effect. When running a replica server, you must set this parameter to the same or higher value than on the master server.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-8388607\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/max_prepared_transactions\",\"name\":\"max_prepared_transactions\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"When generating SQL fragments, quote all identifiers.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/quote_all_identifiers\",\"name\":\"quote_all_identifiers\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"4.0\",\"description\":\"Sets the planner\u0027s estimate of the cost of a nonsequentially fetched disk page.\",\"defaultValue\":\"4.0\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/random_page_cost\",\"name\":\"random_page_cost\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"\\\"$user\\\", public\",\"description\":\"Sets the schema search order for names that are not schema-qualified.\",\"defaultValue\":\"\\\"$user\\\", public\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z.\\\"$, ]+\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/search_path\",\"name\":\"search_path\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"1.0\",\"description\":\"Sets the planner\u0027s estimate of the cost of a sequentially fetched disk page.\",\"defaultValue\":\"1.0\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/seq_page_cost\",\"name\":\"seq_page_cost\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Causes subtables to be included by default in various commands.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/sql_inheritance\",\"name\":\"sql_inheritance\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum allowed duration (in milliseconds) of any statement. 0 turns this off.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/statement_timeout\",\"name\":\"statement_timeout\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enable synchronized sequential scans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/synchronize_seqscans\",\"name\":\"synchronize_seqscans\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Sets the current transaction\u0027s synchronization level.\",\"defaultValue\":\"on\",\"dataType\":\"Enumeration\",\"allowedValues\":\"local,remote_write,on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/synchronous_commit\",\"name\":\"synchronous_commit\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Treats \\\"expr=NULL\\\" as \\\"expr IS NULL\\\".\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/transform_null_equals\",\"name\":\"transform_null_equals\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"base64\",\"description\":\"Sets how binary values are to be encoded in XML.\",\"defaultValue\":\"base64\",\"dataType\":\"Enumeration\",\"allowedValues\":\"base64,hex\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/xmlbinary\",\"name\":\"xmlbinary\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"content\",\"description\":\"Sets whether XML data in implicit parsing and serialization operations is to be considered as documents or content fragments.\",\"defaultValue\":\"content\",\"dataType\":\"Enumeration\",\"allowedValues\":\"content,document\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/xmloption\",\"name\":\"xmloption\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Forces use of parallel query facilities.\",\"defaultValue\":\"off\",\"dataType\":\"Enumeration\",\"allowedValues\":\"off,on,regress\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/force_parallel_mode\",\"name\":\"force_parallel_mode\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum allowed duration of any idling transaction. Unit is ms.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/idle_in_transaction_session_timeout\",\"name\":\"idle_in_transaction_session_timeout\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum number of parallel processes per executor node.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1024\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/max_parallel_workers_per_gather\",\"name\":\"max_parallel_workers_per_gather\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"8388608\",\"description\":\"Sets the minimum size of relations to be considered for parallel scan. Unit is 8kb.\",\"defaultValue\":\"8388608\",\"dataType\":\"Integer\",\"allowedValues\":\"0-715827882\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/min_parallel_relation_size\",\"name\":\"min_parallel_relation_size\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"1000\",\"description\":\"Sets the planner\u0027s estimate of the cost of starting up worker processes for parallel query.\",\"defaultValue\":\"1000\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/parallel_setup_cost\",\"name\":\"parallel_setup_cost\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0.1\",\"description\":\"Sets the planner\u0027s estimate of the cost of passing each tuple (row) from worker to master backend.\",\"defaultValue\":\"0.1\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/parallel_tuple_cost\",\"name\":\"parallel_tuple_cost\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"Sets the amount of memory to be used by internal sort operations and hash tables before writing to temporary disk files. Unit is kb.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-2097151\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/work_mem\",\"name\":\"work_mem\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"8192\",\"description\":\"Sets the maximum number of temporary buffers used by each database session. Unit is 8kb.\",\"defaultValue\":\"8192\",\"dataType\":\"Integer\",\"allowedValues\":\"8192-16384\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/temp_buffers\",\"name\":\"temp_buffers\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables temporary connection throttling per IP for too many invalid password login failures.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/connection_throttling\",\"name\":\"connection_throttling\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"3\",\"description\":\"Sets how many days a log file is saved for.\",\"defaultValue\":\"3\",\"dataType\":\"Integer\",\"allowedValues\":\"1-7\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/log_retention_days\",\"name\":\"log_retention_days\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"6000\",\"description\":\"Sets the maximum query text length that will be saved; longer queries will be truncated.\",\"defaultValue\":\"6000\",\"dataType\":\"Integer\",\"allowedValues\":\"100-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/pg_qs.max_query_text_length\",\"name\":\"pg_qs.max_query_text_length\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"none\",\"description\":\"Selects which statements are tracked by pg_qs.\",\"defaultValue\":\"none\",\"dataType\":\"Enumeration\",\"allowedValues\":\"all,top,none\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/pg_qs.query_capture_mode\",\"name\":\"pg_qs.query_capture_mode\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"7\",\"description\":\"Sets the retention period window in days for pg_qs - after this time data will be deleted.\",\"defaultValue\":\"7\",\"dataType\":\"Integer\",\"allowedValues\":\"1-30\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/pg_qs.retention_period_in_days\",\"name\":\"pg_qs.retention_period_in_days\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Selects whether parameter placeholders are replaced in parameterized queries.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/pg_qs.replace_parameter_placeholders\",\"name\":\"pg_qs.replace_parameter_placeholders\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Selects whether utility commands are tracked by pg_qs.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/pg_qs.track_utility\",\"name\":\"pg_qs.track_utility\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"top\",\"description\":\"Controls which statements are counted by pg_stat_statements.\",\"defaultValue\":\"top\",\"dataType\":\"Enumeration\",\"allowedValues\":\"top,all,none\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/pg_stat_statements.track\",\"name\":\"pg_stat_statements.track\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"none\",\"description\":\"Selects which statements are tracked by the pgms_wait_sampling extension.\",\"defaultValue\":\"none\",\"dataType\":\"Enumeration\",\"allowedValues\":\"all,none\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/pgms_wait_sampling.query_capture_mode\",\"name\":\"pgms_wait_sampling.query_capture_mode\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"Set the frequency, in milliseconds, at which wait events are sampled.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"1-600000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/pgms_wait_sampling.history_period\",\"name\":\"pgms_wait_sampling.history_period\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"DISABLE_ALL\",\"description\":\"Controls postgis GDAL enabled driver settings.\",\"defaultValue\":\"DISABLE_ALL\",\"dataType\":\"Enumeration\",\"allowedValues\":\"DISABLE_ALL,ENABLE_ALL\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/postgis.gdal_enabled_drivers\",\"name\":\"postgis.gdal_enabled_drivers\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Starts the autovacuum subprocess.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/autovacuum\",\"name\":\"autovacuum\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0.05\",\"description\":\"Number of tuple inserts, updates, or deletes prior to analyze as a fraction of reltuples.\",\"defaultValue\":\"0.05\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_analyze_scale_factor\",\"name\":\"autovacuum_analyze_scale_factor\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"Minimum number of tuple inserts, updates, or deletes prior to analyze.\",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_analyze_threshold\",\"name\":\"autovacuum_analyze_threshold\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"200000000\",\"description\":\"Age at which to autovacuum a table to prevent transaction ID wraparound. Any change requires restarting the server to take effect..\",\"defaultValue\":\"200000000\",\"dataType\":\"Integer\",\"allowedValues\":\"100000-2000000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_freeze_max_age\",\"name\":\"autovacuum_freeze_max_age\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"400000000\",\"description\":\"Multixact age at which to autovacuum a table to prevent multixact wraparound. Any change requires restarting the server to take effect.\",\"defaultValue\":\"400000000\",\"dataType\":\"Integer\",\"allowedValues\":\"10000-2000000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_multixact_freeze_max_age\",\"name\":\"autovacuum_multixact_freeze_max_age\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"15\",\"description\":\"Time to sleep between autovacuum runs. Unit is s.\",\"defaultValue\":\"15\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_naptime\",\"name\":\"autovacuum_naptime\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"20\",\"description\":\"Vacuum cost delay in milliseconds, for autovacuum.\",\"defaultValue\":\"20\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_vacuum_cost_delay\",\"name\":\"autovacuum_vacuum_cost_delay\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Vacuum cost amount available before napping, for autovacuum.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_vacuum_cost_limit\",\"name\":\"autovacuum_vacuum_cost_limit\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0.05\",\"description\":\"Number of tuple updates or deletes prior to vacuum as a fraction of reltuples.\",\"defaultValue\":\"0.05\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_vacuum_scale_factor\",\"name\":\"autovacuum_vacuum_scale_factor\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"Minimum number of tuple updates or deletes prior to vacuum.\",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_vacuum_threshold\",\"name\":\"autovacuum_vacuum_threshold\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Sets the maximum memory to be used by each autovacuum worker process. Unit is kb.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2097151\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_work_mem\",\"name\":\"autovacuum_work_mem\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"3\",\"description\":\"Sets the maximum number of simultaneously running autovacuum worker processes. Any change requires restarting the server to take effect.\",\"defaultValue\":\"3\",\"dataType\":\"Integer\",\"allowedValues\":\"1-262143\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_max_workers\",\"name\":\"autovacuum_max_workers\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Number of pages after which previously performed writes are flushed to disk. Unit is 8kb.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/backend_flush_after\",\"name\":\"backend_flush_after\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"Background writer sleep time between rounds. Unit is ms.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"10-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/bgwriter_delay\",\"name\":\"bgwriter_delay\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"Number of pages after which previously performed writes are flushed to disk. Unit is 8kb.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/bgwriter_flush_after\",\"name\":\"bgwriter_flush_after\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"Background writer maximum number of LRU pages to flush per round.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1073741823\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/bgwriter_lru_maxpages\",\"name\":\"bgwriter_lru_maxpages\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Multiple of the average buffer usage to free per round.\",\"defaultValue\":\"2\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-10\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/bgwriter_lru_multiplier\",\"name\":\"bgwriter_lru_multiplier\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"30\",\"description\":\"Enables warnings if checkpoint segments are filled more frequently than this. Unit is s.\",\"defaultValue\":\"30\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/checkpoint_warning\",\"name\":\"checkpoint_warning\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the delay in microseconds between transaction commit and flushing WAL to disk.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/commit_delay\",\"name\":\"commit_delay\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"5\",\"description\":\"Sets the minimum concurrent open transactions before performing commit_delay.\",\"defaultValue\":\"5\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/commit_siblings\",\"name\":\"commit_siblings\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"1310720\",\"description\":\"Sets the planner\u0027s assumption about the size of the disk cache. Unit is 8kb.\",\"defaultValue\":\"917504\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/effective_cache_size\",\"name\":\"effective_cache_size\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"Sets the maximum size of the pending list for GIN index. Unit is kb.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"64-2097151\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/gin_pending_list_limit\",\"name\":\"gin_pending_list_limit\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"English_United States.1252\",\"description\":\"Sets the locale for formatting monetary amounts.\",\"defaultValue\":\"English_United States.1252\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9\\\\._\\\\s]+\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/lc_monetary\",\"name\":\"lc_monetary\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"English_United States.1252\",\"description\":\"Sets the locale for formatting numbers.\",\"defaultValue\":\"English_United States.1252\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9\\\\._\\\\s]+\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/lc_numeric\",\"name\":\"lc_numeric\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Enables backward compatibility mode for privilege checks on large objects.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/lo_compat_privileges\",\"name\":\"lo_compat_privileges\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Sets the minimum execution time above which autovacuum actions will be logged. Unit is ms.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/log_autovacuum_min_duration\",\"name\":\"log_autovacuum_min_duration\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs each replication command.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/log_replication_commands\",\"name\":\"log_replication_commands\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Log the use of temporary files larger than this number of kilobytes.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/log_temp_files\",\"name\":\"log_temp_files\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"30000\",\"description\":\"Sets the maximum delay before canceling queries when a hot standby server is processing archived WAL data. Unit is ms.\",\"defaultValue\":\"30000\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/max_standby_archive_delay\",\"name\":\"max_standby_archive_delay\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"30000\",\"description\":\"Sets the maximum delay before canceling queries when a hot standby server is processing streamed WAL data. Unit is ms.\",\"defaultValue\":\"30000\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/max_standby_streaming_delay\",\"name\":\"max_standby_streaming_delay\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"Sets the WAL size that triggers a checkpoint. Unit is 16MB.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"2-2097151\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/max_wal_size\",\"name\":\"max_wal_size\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"256\",\"description\":\"Sets the minimum size to shrink the WAL to. Unit is 16MB.\",\"defaultValue\":\"512\",\"dataType\":\"Integer\",\"allowedValues\":\"2-2097151\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/min_wal_size\",\"name\":\"min_wal_size\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Time before a snapshot is too old to read pages changed after the snapshot was taken. Any change requires restarting the server to take effect. Unit is min.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-86400\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/old_snapshot_threshold\",\"name\":\"old_snapshot_threshold\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Emit a warning for constructs that changed meaning since PostgreSQL 9.4.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/operator_precedence_warning\",\"name\":\"operator_precedence_warning\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"5000\",\"description\":\"Sets the maximum number of statements tracked by pg_stat_statements. Any change requires restarting the server to take effect.\",\"defaultValue\":\"5000\",\"dataType\":\"Integer\",\"allowedValues\":\"100-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/pg_stat_statements.max\",\"name\":\"pg_stat_statements.max\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Save pg_stat_statements statistics across server shutdowns.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/pg_stat_statements.save\",\"name\":\"pg_stat_statements.save\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Selects whether utility commands are tracked by pg_stat_statements.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/pg_stat_statements.track_utility\",\"name\":\"pg_stat_statements.track_utility\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"150000\",\"description\":\"Sets the maximum number of tuples to be sorted using replacement selection.\",\"defaultValue\":\"150000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/replacement_sort_tuples\",\"name\":\"replacement_sort_tuples\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enable row security.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/row_security\",\"name\":\"row_security\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"origin\",\"description\":\"Sets the session\u0027s behavior for triggers and rewrite rules.\",\"defaultValue\":\"origin\",\"dataType\":\"Enumeration\",\"allowedValues\":\"origin,replica,local\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/session_replication_role\",\"name\":\"session_replication_role\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Maximum number of TCP keepalive retransmits.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/tcp_keepalives_count\",\"name\":\"tcp_keepalives_count\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Time between issuing TCP keepalives. Unit is s.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/tcp_keepalives_idle\",\"name\":\"tcp_keepalives_idle\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Time between TCP keepalive retransmits. Unit is s.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/tcp_keepalives_interval\",\"name\":\"tcp_keepalives_interval\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Collects information about executing commands.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/track_activities\",\"name\":\"track_activities\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"Sets the size reserved for pg_stat_activity.query, in bytes. Any change requires restarting the server to take effect.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"100-102400\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/track_activity_query_size\",\"name\":\"track_activity_query_size\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Collects transaction commit time. Any change requires restarting the server to take effect.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/track_commit_timestamp\",\"name\":\"track_commit_timestamp\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Collects statistics on database activity.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/track_counts\",\"name\":\"track_counts\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"none\",\"description\":\"Collects function-level statistics on database activity.\",\"defaultValue\":\"none\",\"dataType\":\"Enumeration\",\"allowedValues\":\"none,pl,all\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/track_functions\",\"name\":\"track_functions\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Collects timing statistics for database I/O activity.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/track_io_timing\",\"name\":\"track_io_timing\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"UTC\",\"description\":\"Sets the time zone for displaying and interpreting time stamps\",\"defaultValue\":\"UTC\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9/+-_]+\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/timezone\",\"name\":\"timezone\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Sets which shared libraries are preloaded at server start. Any change requires a restart to take effect.\",\"defaultValue\":\"\",\"dataType\":\"Set\",\"allowedValues\":\",pgaudit,timescaledb\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/shared_preload_libraries\",\"name\":\"shared_preload_libraries\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Vacuum cost delay in milliseconds.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/vacuum_cost_delay\",\"name\":\"vacuum_cost_delay\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"Vacuum cost amount available before napping.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/vacuum_cost_limit\",\"name\":\"vacuum_cost_limit\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"20\",\"description\":\"Vacuum cost for a page dirtied by vacuum.\",\"defaultValue\":\"20\",\"dataType\":\"Integer\",\"allowedValues\":\"0-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/vacuum_cost_page_dirty\",\"name\":\"vacuum_cost_page_dirty\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Vacuum cost for a page found in the buffer cache.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/vacuum_cost_page_hit\",\"name\":\"vacuum_cost_page_hit\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Vacuum cost for a page not found in the buffer cache.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/vacuum_cost_page_miss\",\"name\":\"vacuum_cost_page_miss\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Number of transactions by which VACUUM and HOT cleanup should be deferred, if any.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/vacuum_defer_cleanup_age\",\"name\":\"vacuum_defer_cleanup_age\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"50000000\",\"description\":\"Minimum age at which VACUUM should freeze a table row.\",\"defaultValue\":\"50000000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/vacuum_freeze_min_age\",\"name\":\"vacuum_freeze_min_age\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"150000000\",\"description\":\"Age at which VACUUM should scan whole table to freeze tuples.\",\"defaultValue\":\"150000000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2000000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/vacuum_freeze_table_age\",\"name\":\"vacuum_freeze_table_age\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"5000000\",\"description\":\"Minimum age at which VACUUM should freeze a MultiXactId in a table row.\",\"defaultValue\":\"5000000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/vacuum_multixact_freeze_min_age\",\"name\":\"vacuum_multixact_freeze_min_age\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"150000000\",\"description\":\"Multixact age at which VACUUM should scan whole table to freeze tuples.\",\"defaultValue\":\"150000000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2000000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/vacuum_multixact_freeze_table_age\",\"name\":\"vacuum_multixact_freeze_table_age\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"8192\",\"description\":\"Sets the number of disk-page buffers in shared memory for WAL. Any change requires restarting the server to take effect. Unit is 8kb.\",\"defaultValue\":\"8192\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-262143\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/wal_buffers\",\"name\":\"wal_buffers\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Sets the maximum interval between WAL receiver status reports to the primary. Unit is s.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/wal_receiver_status_interval\",\"name\":\"wal_receiver_status_interval\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"Time between WAL flushes performed in the WAL writer. Unit is ms.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/wal_writer_delay\",\"name\":\"wal_writer_delay\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"128\",\"description\":\"Amount of WAL written out by WAL writer that triggers a flush. Unit is 8kb.\",\"defaultValue\":\"128\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/wal_writer_flush_after\",\"name\":\"wal_writer_flush_after\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"262144\",\"description\":\"Sets the maximum memory to be used for maintenance operations. Unit is kb.\",\"defaultValue\":\"131072\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-2097151\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/maintenance_work_mem\",\"name\":\"maintenance_work_mem\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"REPLICA\",\"description\":\"Sets the level of replication support (Read Replicas). Any change requires restarting the server to take effect.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"OFF,REPLICA,LOGICAL\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/azure.replication_support\",\"name\":\"azure.replication_support\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Specifies the maximum number of concurrent connections from standby servers or streaming base backup clients (i.e., the maximum number of simultaneously running WAL sender processes).\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"10-80\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/max_wal_senders\",\"name\":\"max_wal_senders\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Specifies the maximum number of replication slots that the server can support.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"10-80\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/max_replication_slots\",\"name\":\"max_replication_slots\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Allows feedback from a hot standby to the primary that will avoid query conflicts.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/hot_standby_feedback\",\"name\":\"hot_standby_feedback\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enable .log files. Setting is independent of Azure Monitor logging options. Any change requires restarting the server to take effect.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/logging_collector\",\"name\":\"logging_collector\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"}]}" } }, - "Get-AzPostgreSqlConfiguration+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/timezone?api-version=2017-12-01+1": { + "Get-AzPostgreSqlConfiguration+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/timezone?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/timezone?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/timezone?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "11" ], @@ -74,13 +74,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"value\":\"UTC\",\"description\":\"Sets the time zone for displaying and interpreting time stamps\",\"defaultValue\":\"UTC\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9/+-_]+\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/timezone\",\"name\":\"timezone\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"}" + "Content": "{\"properties\":{\"value\":\"UTC\",\"description\":\"Sets the time zone for displaying and interpreting time stamps\",\"defaultValue\":\"UTC\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9/+-_]+\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/timezone\",\"name\":\"timezone\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"}" } }, - "Get-AzPostgreSqlConfiguration+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/datestyle?api-version=2017-12-01+1": { + "Get-AzPostgreSqlConfiguration+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/datestyle?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/datestyle?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/datestyle?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "12" ], @@ -113,7 +113,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"value\":\"iso, mdy\",\"description\":\"Sets the display format for date and time values.\",\"defaultValue\":\"iso, mdy\",\"dataType\":\"String\",\"allowedValues\":\"(iso|postgres|sql|german)\\\\,\\\\s(dmy|mdy|ymd)\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/datestyle\",\"name\":\"datestyle\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"}" + "Content": "{\"properties\":{\"value\":\"iso, mdy\",\"description\":\"Sets the display format for date and time values.\",\"defaultValue\":\"iso, mdy\",\"dataType\":\"String\",\"allowedValues\":\"(iso|postgres|sql|german)\\\\,\\\\s(dmy|mdy|ymd)\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/datestyle\",\"name\":\"datestyle\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"}" } } } \ No newline at end of file diff --git a/src/PostgreSql/test/Get-AzPostgreSqlConfiguration.Tests.ps1 b/src/PostgreSql/test/Get-AzPostgreSqlConfiguration.Tests.ps1 index 1ddbf27b27fd..74295f1aaa40 100644 --- a/src/PostgreSql/test/Get-AzPostgreSqlConfiguration.Tests.ps1 +++ b/src/PostgreSql/test/Get-AzPostgreSqlConfiguration.Tests.ps1 @@ -23,7 +23,7 @@ Describe 'Get-AzPostgreSqlConfiguration' { } It 'GetViaIdentity' { - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBforPostgreSQL/servers/$($env.serverName)/configurations/datestyle" + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSQL/servers/$($env.serverName)/configurations/datestyle" $config = Get-AzPostgreSqlConfiguration -InputObject $ID $config.Name | Should -Be datestyle } diff --git a/src/PostgreSql/test/Get-AzPostgreSqlConnectionString.Recording.json b/src/PostgreSql/test/Get-AzPostgreSqlConnectionString.Recording.json index 9219b6591e4c..7339fc56ce77 100644 --- a/src/PostgreSql/test/Get-AzPostgreSqlConnectionString.Recording.json +++ b/src/PostgreSql/test/Get-AzPostgreSqlConnectionString.Recording.json @@ -1,8 +1,8 @@ { - "Get-AzPostgreSqlConnectionString+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+1": { + "Get-AzPostgreSqlConnectionString+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "13" ], @@ -35,13 +35,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" } }, - "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+1": { + "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "14" ], @@ -74,13 +74,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" } }, - "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+2": { + "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "15" ], @@ -113,13 +113,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" } }, - "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+3": { + "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "16" ], @@ -152,13 +152,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" } }, - "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+4": { + "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "17" ], @@ -191,13 +191,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" } }, - "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+5": { + "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "18" ], @@ -230,13 +230,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" } }, - "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+6": { + "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "19" ], @@ -269,13 +269,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" } }, - "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+7": { + "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "20" ], @@ -308,13 +308,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" } }, - "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+8": { + "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "21" ], @@ -347,13 +347,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" } }, - "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+9": { + "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "22" ], @@ -386,7 +386,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" } } } \ No newline at end of file diff --git a/src/PostgreSql/test/Get-AzPostgreSqlFirewallRule.Recording.json b/src/PostgreSql/test/Get-AzPostgreSqlFirewallRule.Recording.json index fc091ab185c4..af2f24602f84 100644 --- a/src/PostgreSql/test/Get-AzPostgreSqlFirewallRule.Recording.json +++ b/src/PostgreSql/test/Get-AzPostgreSqlFirewallRule.Recording.json @@ -1,8 +1,8 @@ { - "Get-AzPostgreSqlFirewallRule+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+1": { + "Get-AzPostgreSqlFirewallRule+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/22171d36-1cc1-4752-9c43-a828b1e8ba6e?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/22171d36-1cc1-4752-9c43-a828b1e8ba6e?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/22171d36-1cc1-4752-9c43-a828b1e8ba6e?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/22171d36-1cc1-4752-9c43-a828b1e8ba6e?api-version=2017-12-01" ], "x-ms-request-id": [ "22171d36-1cc1-4752-9c43-a828b1e8ba6e" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-09-25T11:01:18.51Z\"}" } }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/22171d36-1cc1-4752-9c43-a828b1e8ba6e?api-version=2017-12-01+2": { + "Get-AzPostgreSqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/22171d36-1cc1-4752-9c43-a828b1e8ba6e?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/22171d36-1cc1-4752-9c43-a828b1e8ba6e?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/22171d36-1cc1-4752-9c43-a828b1e8ba6e?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "23", "24" ], @@ -76,10 +76,10 @@ "Content": "{\"name\":\"22171d36-1cc1-4752-9c43-a828b1e8ba6e\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:01:18.51Z\"}" } }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+3": { + "Get-AzPostgreSqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "23", "24", "25" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBForPostgreSQL/servers/firewallRules\"}" } }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules?api-version=2017-12-01+4": { + "Get-AzPostgreSqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "26" ], @@ -151,13 +151,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/servers/firewallRules\"}]}" + "Content": "{\"value\":[{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBForPostgreSQL/servers/firewallRules\"}]}" } }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+List+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+5": { + "Get-AzPostgreSqlFirewallRule+[NoContext]+List+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+5": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "27" ], @@ -176,9 +176,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/9878a831-b877-4905-962a-868d0f84bb74?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/9878a831-b877-4905-962a-868d0f84bb74?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/9878a831-b877-4905-962a-868d0f84bb74?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/9878a831-b877-4905-962a-868d0f84bb74?api-version=2017-12-01" ], "x-ms-request-id": [ "9878a831-b877-4905-962a-868d0f84bb74" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], @@ -196,10 +196,10 @@ "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-09-25T11:01:36.557Z\"}" } }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/9878a831-b877-4905-962a-868d0f84bb74?api-version=2017-12-01+6": { + "Get-AzPostgreSqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/9878a831-b877-4905-962a-868d0f84bb74?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/9878a831-b877-4905-962a-868d0f84bb74?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/9878a831-b877-4905-962a-868d0f84bb74?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "27", "28" ], @@ -236,10 +236,10 @@ "Content": "{\"name\":\"9878a831-b877-4905-962a-868d0f84bb74\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:01:36.557Z\"}" } }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/9878a831-b877-4905-962a-868d0f84bb74?api-version=2017-12-01+7": { + "Get-AzPostgreSqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/9878a831-b877-4905-962a-868d0f84bb74?api-version=2017-12-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/9878a831-b877-4905-962a-868d0f84bb74?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/9878a831-b877-4905-962a-868d0f84bb74?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "27", "28", "29" ], @@ -274,10 +274,10 @@ "Content": null } }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+Get+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+1": { + "Get-AzPostgreSqlFirewallRule+[NoContext]+Get+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -291,9 +291,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/f1bf892f-485f-464b-8c83-09c81ea4ed2b?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/f1bf892f-485f-464b-8c83-09c81ea4ed2b?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f1bf892f-485f-464b-8c83-09c81ea4ed2b?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/f1bf892f-485f-464b-8c83-09c81ea4ed2b?api-version=2017-12-01" ], "x-ms-request-id": [ "f1bf892f-485f-464b-8c83-09c81ea4ed2b" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], @@ -311,10 +311,10 @@ "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-09-25T11:01:53.947Z\"}" } }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f1bf892f-485f-464b-8c83-09c81ea4ed2b?api-version=2017-12-01+2": { + "Get-AzPostgreSqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/f1bf892f-485f-464b-8c83-09c81ea4ed2b?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f1bf892f-485f-464b-8c83-09c81ea4ed2b?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/f1bf892f-485f-464b-8c83-09c81ea4ed2b?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "30", "31" ], @@ -351,10 +351,10 @@ "Content": "{\"name\":\"f1bf892f-485f-464b-8c83-09c81ea4ed2b\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:01:53.947Z\"}" } }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+3": { + "Get-AzPostgreSqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "30", "31", "32" ], @@ -387,13 +387,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBForPostgreSQL/servers/firewallRules\"}" } }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+4": { + "Get-AzPostgreSqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "33" ], @@ -426,13 +426,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBForPostgreSQL/servers/firewallRules\"}" } }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+Get+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+5": { + "Get-AzPostgreSqlFirewallRule+[NoContext]+Get+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+5": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "34" ], @@ -451,9 +451,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/c7ee4fd9-05a1-486e-8ca1-ecdbb6fac9b0?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/c7ee4fd9-05a1-486e-8ca1-ecdbb6fac9b0?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c7ee4fd9-05a1-486e-8ca1-ecdbb6fac9b0?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c7ee4fd9-05a1-486e-8ca1-ecdbb6fac9b0?api-version=2017-12-01" ], "x-ms-request-id": [ "c7ee4fd9-05a1-486e-8ca1-ecdbb6fac9b0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14998" ], @@ -471,10 +471,10 @@ "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-09-25T11:02:11.76Z\"}" } }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c7ee4fd9-05a1-486e-8ca1-ecdbb6fac9b0?api-version=2017-12-01+6": { + "Get-AzPostgreSqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c7ee4fd9-05a1-486e-8ca1-ecdbb6fac9b0?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c7ee4fd9-05a1-486e-8ca1-ecdbb6fac9b0?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c7ee4fd9-05a1-486e-8ca1-ecdbb6fac9b0?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "34", "35" ], @@ -511,10 +511,10 @@ "Content": "{\"name\":\"c7ee4fd9-05a1-486e-8ca1-ecdbb6fac9b0\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:02:11.76Z\"}" } }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/c7ee4fd9-05a1-486e-8ca1-ecdbb6fac9b0?api-version=2017-12-01+7": { + "Get-AzPostgreSqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/c7ee4fd9-05a1-486e-8ca1-ecdbb6fac9b0?api-version=2017-12-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/c7ee4fd9-05a1-486e-8ca1-ecdbb6fac9b0?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/c7ee4fd9-05a1-486e-8ca1-ecdbb6fac9b0?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "34", "35", "36" ], @@ -549,10 +549,10 @@ "Content": null } }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+GetViaIdentity+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+1": { + "Get-AzPostgreSqlFirewallRule+[NoContext]+GetViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -566,9 +566,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/a188ec6d-f2ee-44c7-978f-4767bb7b695b?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/a188ec6d-f2ee-44c7-978f-4767bb7b695b?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a188ec6d-f2ee-44c7-978f-4767bb7b695b?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/a188ec6d-f2ee-44c7-978f-4767bb7b695b?api-version=2017-12-01" ], "x-ms-request-id": [ "a188ec6d-f2ee-44c7-978f-4767bb7b695b" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1194" ], @@ -586,10 +586,10 @@ "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-09-25T11:02:29.227Z\"}" } }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a188ec6d-f2ee-44c7-978f-4767bb7b695b?api-version=2017-12-01+2": { + "Get-AzPostgreSqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/a188ec6d-f2ee-44c7-978f-4767bb7b695b?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a188ec6d-f2ee-44c7-978f-4767bb7b695b?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/a188ec6d-f2ee-44c7-978f-4767bb7b695b?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "37", "38" ], @@ -626,10 +626,10 @@ "Content": "{\"name\":\"a188ec6d-f2ee-44c7-978f-4767bb7b695b\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:02:29.227Z\"}" } }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+3": { + "Get-AzPostgreSqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "37", "38", "39" ], @@ -662,13 +662,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBForPostgreSQL/servers/firewallRules\"}" } }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+4": { + "Get-AzPostgreSqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "40" ], @@ -701,13 +701,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBForPostgreSQL/servers/firewallRules\"}" } }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+GetViaIdentity+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+5": { + "Get-AzPostgreSqlFirewallRule+[NoContext]+GetViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+5": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "41" ], @@ -726,9 +726,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/f62f351e-3685-475e-8d98-9f7c68fb3c83?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/f62f351e-3685-475e-8d98-9f7c68fb3c83?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f62f351e-3685-475e-8d98-9f7c68fb3c83?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/f62f351e-3685-475e-8d98-9f7c68fb3c83?api-version=2017-12-01" ], "x-ms-request-id": [ "f62f351e-3685-475e-8d98-9f7c68fb3c83" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14997" ], @@ -746,10 +746,10 @@ "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-09-25T11:02:48.087Z\"}" } }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f62f351e-3685-475e-8d98-9f7c68fb3c83?api-version=2017-12-01+6": { + "Get-AzPostgreSqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/f62f351e-3685-475e-8d98-9f7c68fb3c83?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f62f351e-3685-475e-8d98-9f7c68fb3c83?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/f62f351e-3685-475e-8d98-9f7c68fb3c83?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "41", "42" ], @@ -786,10 +786,10 @@ "Content": "{\"name\":\"f62f351e-3685-475e-8d98-9f7c68fb3c83\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:02:48.087Z\"}" } }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/f62f351e-3685-475e-8d98-9f7c68fb3c83?api-version=2017-12-01+7": { + "Get-AzPostgreSqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/f62f351e-3685-475e-8d98-9f7c68fb3c83?api-version=2017-12-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/f62f351e-3685-475e-8d98-9f7c68fb3c83?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/f62f351e-3685-475e-8d98-9f7c68fb3c83?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "41", "42", "43" ], diff --git a/src/PostgreSql/test/Get-AzPostgreSqlFirewallRule.Tests.ps1 b/src/PostgreSql/test/Get-AzPostgreSqlFirewallRule.Tests.ps1 index 8fcafdd4149c..5e980e72b6a7 100644 --- a/src/PostgreSql/test/Get-AzPostgreSqlFirewallRule.Tests.ps1 +++ b/src/PostgreSql/test/Get-AzPostgreSqlFirewallRule.Tests.ps1 @@ -29,7 +29,7 @@ Describe 'Get-AzPostgreSqlFirewallRule' { It 'GetViaIdentity' { New-AzPostgreSqlFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBforPostgreSQL/servers/$($env.serverName)/firewallRules/$($env.firewallRuleName)" + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSQL/servers/$($env.serverName)/firewallRules/$($env.firewallRuleName)" $rule = Get-AzPostgreSqlFirewallRule -InputObject $ID $rule.StartIPAddress | Should -Be 0.0.0.0 $rule.EndIPAddress | Should -Be 0.0.0.1 diff --git a/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServer.Recording.json b/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServer.Recording.json index 25d1c9a0c3cf..d733b6eb8a38 100644 --- a/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServer.Recording.json +++ b/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServer.Recording.json @@ -35,13 +35,13 @@ "Expires": [ "-1" ], "Content-Length": [ "46770" ] }, - "Content": "{\"value\":[{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelian-prod-t0003-u03.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":65536,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-06T14:39:22.905245+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian-prod-t0003/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelian-prod-t0003-u03\",\"name\":\"chelian-prod-t0003-u03\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelian-prod-t0003-u04.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":524288,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-06T15:00:57.2564366+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group0064522515/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelian-prod-t0003-u04\",\"name\":\"chelian-prod-t0003-u04\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelian-prod-t0003-u05.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":524288,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-06T14:50:34.3693353+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian-prod-t0003/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelian-prod-t0003-u05\",\"name\":\"chelian-prod-t0003-u05\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_E2s_v3\",\"tier\":\"MemoryOptimized\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelian-prod-t0004-u03.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-07T04:19:57.3684699+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian-prod-t0004/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelian-prod-t0004-u03-ouji\",\"name\":\"chelian-prod-t0004-u03\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_E2s_v3\",\"tier\":\"MemoryOptimized\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-07T14:05:38.7071496+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian-prod-t0004/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelian-prod-t0004-u03-pitr\",\"name\":\"chelian-prod-t0004-u03-pitr\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_E2s_v3\",\"tier\":\"MemoryOptimized\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelian-prod-t0004-u04.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":1048576,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-06T15:07:08.8962707+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian-prod-t0004/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelian-prod-t0004-u04\",\"name\":\"chelian-prod-t0004-u04\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_E2s_v3\",\"tier\":\"MemoryOptimized\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelian-prod-t0004-u05.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":1048576,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-07T04:26:49.8990926+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian-prod-t0004/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelian-prod-t0004-u05-uwip\",\"name\":\"chelian-prod-t0004-u05\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D4s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":4},\"properties\":{\"fullyQualifiedDomainName\":\"huihvnetjae09212033fspg.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/huihvnetjae09212033/providers/Microsoft.Network/virtualNetworks/huihvnetjae09212033-vnet/subnets/huihvnetjae09212033-vnet-subnet\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"storageProfile\":{\"storageMB\":2097152,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:29.8721055+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/huihvnetjae09212033/providers/Microsoft.DBforPostgreSQL/flexibleServers/huihvnetjae09212033fspg\",\"name\":\"huihvnetjae09212033fspg\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"pg-test233.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:29.8721055+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/zhjtest/providers/Microsoft.DBforPostgreSQL/flexibleServers/pg-test233\",\"name\":\"pg-test233\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"createtest.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"adminuser\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T20:19:27.7999027+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/daeun-powershell-postgresql/providers/Microsoft.DBforPostgreSQL/flexibleServers/createtest\",\"name\":\"createtest\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"daeun-powershell-pgserver.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"daeunyim\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"\",\"state\":\"Stopped\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":13},\"earliestRestoreDate\":\"2020-11-07T22:29:47.8237558+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/daeun-powershell-postgresql/providers/Microsoft.DBforPostgreSQL/flexibleServers/daeun-powershell-pgserver\",\"name\":\"daeun-powershell-pgserver\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B2s\",\"tier\":\"Burstable\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"kalyans-flex1.postgres.database.azure.com\",\"version\":\"11\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"pguser\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":32768,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2582548+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/KalyanSRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/kalyans-flex1\",\"name\":\"kalyans-flex1\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"mjtest-cli.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"lovingGnat8\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-05T19:25:08.0949758+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/moljain-flexserver/providers/Microsoft.DBforPostgreSQL/flexibleServers/mjtest-cli\",\"name\":\"mjtest-cli\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"nik1110-flex001.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"azureuser\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/akamath/providers/Microsoft.Network/virtualNetworks/eastusflexvnet/subnets/eastusflexsubnet\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T06:17:17.4434069+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/nik1110-flex001/providers/Microsoft.DBforPostgreSQL/flexibleServers/nik1110-flex001\",\"name\":\"nik1110-flex001\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D8s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":8},\"properties\":{\"fullyQualifiedDomainName\":\"pgbouncerdemo.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2582548+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/akamath/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgbouncerdemo\",\"name\":\"pgbouncerdemo\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"pg-test-restore.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"daeunyim\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-07T23:03:43.0105302+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/daeun-powershell-postgresql/providers/Microsoft.DBforPostgreSQL/flexibleServers/pg-test-restore\",\"name\":\"pg-test-restore\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresqltest100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"adminuser\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"\",\"state\":\"Stopped\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T20:47:55.6257742+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresqltest100\",\"name\":\"postgresqltest100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"postgresql_test\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T18:30:21.1770084+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"server682508346.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"pensiveMacaw8\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group4297177205/providers/Microsoft.Network/virtualNetworks/VNET682508346/subnets/Subnet682508346\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T21:33:27.7387151+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group4297177205/providers/Microsoft.DBforPostgreSQL/flexibleServers/server682508346\",\"name\":\"server682508346\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"tzsynapsetest.postgres.database.azure.com\",\"version\":\"11\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"tezhang\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2582548+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/tzsynapsetestrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/tzsynapsetest\",\"name\":\"tzsynapsetest\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"tzsynapsetest1.postgres.database.azure.com\",\"version\":\"11\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"tezhang\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2582548+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/tzsynapsetestrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/tzsynapsetest1\",\"name\":\"tzsynapsetest1\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelianeus22.postgres.database.azure.com\",\"version\":\"11\",\"standbyCount\":1,\"haEnabled\":\"Enabled\",\"administratorLogin\":\"chelian\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"Healthy\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.1186501+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelianeus22\",\"name\":\"chelianeus22\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelianeus22a.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"chelianeus22\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian-eus22-u0377-u01/providers/Microsoft.Network/virtualNetworks/chelian-eus22-u0377-u01-vnet/subnets/chelian-eus22-u0377-u01-vnet-sub0\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-06T02:30:32.5755568+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelianeus22a\",\"name\":\"chelianeus22a\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelianeus22vnet.postgres.database.azure.com\",\"version\":\"11\",\"standbyCount\":1,\"haEnabled\":\"Enabled\",\"administratorLogin\":\"chelian\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian-eus22-u0377-u01/providers/Microsoft.Network/virtualNetworks/chelian-eus22-u0377-u01-vnet/subnets/chelian-eus22-u0377-u01-vnet-sub0\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"Healthy\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.1186501+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelianeus22vnet\",\"name\":\"chelianeus22vnet\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"flextestpeering.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/akamath/providers/Microsoft.Network/virtualNetworks/flexvnetorig/subnets/default\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.1186501+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/akamath/providers/Microsoft.DBforPostgreSQL/flexibleServers/flextestpeering\",\"name\":\"flextestpeering\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"teja-test-12-single.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-07T00:32:41.4051848+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/teja-test-meru/providers/Microsoft.DBforPostgreSQL/flexibleServers/teja-test-12-single\",\"name\":\"teja-test-12-single\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"xizo-test-public-ip.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"xizo\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.1186501+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/xizo-u0052/providers/Microsoft.DBforPostgreSQL/flexibleServers/xizo-test-public-ip\",\"name\":\"xizo-test-public-ip\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"vikranthtest01.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"vikranth\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2895944+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West Europe\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vikranthtest01/providers/Microsoft.DBforPostgreSQL/flexibleServers/vikranthtest01\",\"name\":\"vikranthtest01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"ambrahma-pgfs-vnet-4.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"ambrahma\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.Network/virtualNetworks/vnet-ambrahma-pgfs-vnet-4/subnets/subnet-postgresql-flexibleservers\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":32768,\"backupRetentionDays\":8},\"earliestRestoreDate\":\"2020-11-04T20:17:08.8259711+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.DBforPostgreSQL/flexibleServers/ambrahma-pgfs-vnet-4\",\"name\":\"ambrahma-pgfs-vnet-4\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"ambrahma-pgfs-vnet-6.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"ambrahma\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.Network/virtualNetworks/vnet-ambrahma-pgfs-vnet-6/subnets/subnet-postgresql-flexibleservers\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":32768,\"backupRetentionDays\":8},\"earliestRestoreDate\":\"2020-11-04T20:34:26.3449676+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.DBforPostgreSQL/flexibleServers/ambrahma-pgfs-vnet-6\",\"name\":\"ambrahma-pgfs-vnet-6\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"ambrahma-pgfs-vnet-7.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"ambrahma\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.Network/virtualNetworks/vnet-ambrahma-pgfs-vnet-6/subnets/subnet-postgresql-flexibleservers\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":32768,\"backupRetentionDays\":8},\"earliestRestoreDate\":\"2020-11-04T21:38:58.7097105+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.DBforPostgreSQL/flexibleServers/ambrahma-pgfs-vnet-7\",\"name\":\"ambrahma-pgfs-vnet-7\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"ambrahma-pgfs-vnet-8.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"ambrahma\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.Network/virtualNetworks/vnet-ambrahma-pgfs-vnet-6/subnets/default\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":32768,\"backupRetentionDays\":8},\"earliestRestoreDate\":\"2020-11-04T21:58:12.067413+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.DBforPostgreSQL/flexibleServers/ambrahma-pgfs-vnet-8\",\"name\":\"ambrahma-pgfs-vnet-8\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"ambrahma-pgfs-vnet-9.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"ambrahma\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":32768,\"backupRetentionDays\":8},\"earliestRestoreDate\":\"2020-11-04T22:25:30.0433317+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.DBforPostgreSQL/flexibleServers/ambrahma-pgfs-vnet-9\",\"name\":\"ambrahma-pgfs-vnet-9\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"identity\":{\"principalId\":\"ac7286b4-1177-4734-b7e4-d3fc4fcb87b7\",\"type\":\"SystemAssigned\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"fullyQualifiedDomainName\":\"byok-pgfs-1.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"shinim\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Enabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/meruacr/providers/Microsoft.DBforPostgreSQL/flexibleServers/byok-pgfs-1\",\"name\":\"byok-pgfs-1\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"flexhavnet.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":1,\"haEnabled\":\"Enabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/akamath/providers/Microsoft.Network/virtualNetworks/canaryvnetflex/subnets/canaryflexsubnet\"},\"logBackupStorageSku\":\"\",\"haState\":\"Healthy\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":524288,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/akamath/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexhavnet-pvsc\",\"name\":\"flexhavnet\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B2s\",\"tier\":\"Burstable\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-b2s-2core.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":524288,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-b2s-2core\",\"name\":\"flexserverpg-canary-perf-b2s-2core\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D16s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":16},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-16core.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":8388608,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-16core\",\"name\":\"flexserverpg-canary-perf-gp-16core\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-2core.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":524288,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-2core\",\"name\":\"flexserverpg-canary-perf-gp-2core\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-2core-2.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-2core-2\",\"name\":\"flexserverpg-canary-perf-gp-2core-2\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-2core-3.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-2core-3\",\"name\":\"flexserverpg-canary-perf-gp-2core-3\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D4s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":4},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-4core.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":2097152,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-4core\",\"name\":\"flexserverpg-canary-perf-gp-4core\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D8s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":8},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-8core.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":2097152,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-8core\",\"name\":\"flexserverpg-canary-perf-gp-8core\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D8s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":8},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-8core-ha2.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":1,\"haEnabled\":\"Enabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"Healthy\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":2097152,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-8core-ha2\",\"name\":\"flexserverpg-canary-perf-gp-8core-ha2\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D8s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":8},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-8core-pg11.postgres.database.azure.com\",\"version\":\"11\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":2097152,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-8core-pg11\",\"name\":\"flexserverpg-canary-perf-gp-8core-pg11\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D8s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":8},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-8core-vnet.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.Network/virtualNetworks/flexserverpg-canary-vnet/subnets/default\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":2097152,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-8core-vnet\",\"name\":\"flexserverpg-canary-perf-gp-8core-vnet\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_E8s_v3\",\"tier\":\"MemoryOptimized\",\"capacity\":8},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-mo-8core.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":2097152,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-mo-8core\",\"name\":\"flexserverpg-canary-perf-mo-8core\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"flexvnetm4new.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":1,\"haEnabled\":\"Enabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/akamath/providers/Microsoft.Network/virtualNetworks/canaryvnetflex/subnets/canaryflexsubnet\"},\"logBackupStorageSku\":\"\",\"haState\":\"Healthy\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":524288,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/akamath/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexvnetm4new-yumj\",\"name\":\"flexvnetm4new\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D4s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":4},\"properties\":{\"fullyQualifiedDomainName\":\"senkupfspg1.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":1,\"haEnabled\":\"Enabled\",\"administratorLogin\":\"senkupadmin\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"\",\"haState\":\"RecreatingStandby\",\"state\":\"Updating\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":524288,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/senkuprg/providers/Microsoft.DBforPostgreSQL/flexibleServers/senkupfspg1-zbom\",\"name\":\"senkupfspg1\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"taocanaryvnet1.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vnetcanarytestrg/providers/Microsoft.Network/virtualNetworks/customer-vnet2/subnets/fspg-subnet\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vnettestcustomerrg9/providers/Microsoft.DBforPostgreSQL/flexibleServers/taocanaryvnet1\",\"name\":\"taocanaryvnet1\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D4s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":4},\"properties\":{\"fullyQualifiedDomainName\":\"taotestvnetfspg1.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vnetcanarytestrg/providers/Microsoft.Network/virtualNetworks/eus2euapfspgtestvnet1/subnets/fspg-subnet\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vnetcanarytestrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/taotestvnetfspg1\",\"name\":\"taotestvnetfspg1\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D4s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":4},\"properties\":{\"fullyQualifiedDomainName\":\"taotestvnetfspg2.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Disabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"\",\"state\":\"Provisioning\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":32768,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vnetcanarytestrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/taotestvnetfspg2\",\"name\":\"taotestvnetfspg2\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D4s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":4},\"properties\":{\"fullyQualifiedDomainName\":\"testvnetwithserviceendpoint.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vnetcanarytestrg/providers/Microsoft.Network/virtualNetworks/testvnetwithserviceendpoint/subnets/fspg-subnet\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vnetcanarytestrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testvnetwithserviceendpoint\",\"name\":\"testvnetwithserviceendpoint\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D16s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":16},\"properties\":{\"fullyQualifiedDomainName\":\"vikranthtest2.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":1,\"haEnabled\":\"Enabled\",\"administratorLogin\":\"vikranth\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"\",\"state\":\"Starting\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vikranthtest02/providers/Microsoft.DBforPostgreSQL/flexibleServers/vikranthtest2\",\"name\":\"vikranthtest2\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}]}" + "Content": "{\"value\":[{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelian-prod-t0003-u03.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":65536,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-06T14:39:22.905245+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian-prod-t0003/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelian-prod-t0003-u03\",\"name\":\"chelian-prod-t0003-u03\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelian-prod-t0003-u04.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":524288,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-06T15:00:57.2564366+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group0064522515/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelian-prod-t0003-u04\",\"name\":\"chelian-prod-t0003-u04\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelian-prod-t0003-u05.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":524288,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-06T14:50:34.3693353+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian-prod-t0003/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelian-prod-t0003-u05\",\"name\":\"chelian-prod-t0003-u05\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_E2s_v3\",\"tier\":\"MemoryOptimized\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelian-prod-t0004-u03.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-07T04:19:57.3684699+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian-prod-t0004/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelian-prod-t0004-u03-ouji\",\"name\":\"chelian-prod-t0004-u03\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_E2s_v3\",\"tier\":\"MemoryOptimized\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-07T14:05:38.7071496+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian-prod-t0004/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelian-prod-t0004-u03-pitr\",\"name\":\"chelian-prod-t0004-u03-pitr\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_E2s_v3\",\"tier\":\"MemoryOptimized\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelian-prod-t0004-u04.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":1048576,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-06T15:07:08.8962707+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian-prod-t0004/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelian-prod-t0004-u04\",\"name\":\"chelian-prod-t0004-u04\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_E2s_v3\",\"tier\":\"MemoryOptimized\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelian-prod-t0004-u05.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":1048576,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-07T04:26:49.8990926+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian-prod-t0004/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelian-prod-t0004-u05-uwip\",\"name\":\"chelian-prod-t0004-u05\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D4s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":4},\"properties\":{\"fullyQualifiedDomainName\":\"huihvnetjae09212033fspg.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/huihvnetjae09212033/providers/Microsoft.Network/virtualNetworks/huihvnetjae09212033-vnet/subnets/huihvnetjae09212033-vnet-subnet\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"storageProfile\":{\"storageMB\":2097152,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:29.8721055+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/huihvnetjae09212033/providers/Microsoft.DBforPostgreSQL/flexibleServers/huihvnetjae09212033fspg\",\"name\":\"huihvnetjae09212033fspg\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"pg-test233.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:29.8721055+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/zhjtest/providers/Microsoft.DBforPostgreSQL/flexibleServers/pg-test233\",\"name\":\"pg-test233\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"createtest.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"adminuser\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T20:19:27.7999027+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/daeun-powershell-postgresql/providers/Microsoft.DBforPostgreSQL/flexibleServers/createtest\",\"name\":\"createtest\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"daeun-powershell-pgserver.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"daeunyim\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"\",\"state\":\"Stopped\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":13},\"earliestRestoreDate\":\"2020-11-07T22:29:47.8237558+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/daeun-powershell-postgresql/providers/Microsoft.DBforPostgreSQL/flexibleServers/daeun-powershell-pgserver\",\"name\":\"daeun-powershell-pgserver\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B2s\",\"tier\":\"Burstable\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"kalyans-flex1.postgres.database.azure.com\",\"version\":\"11\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"pguser\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":32768,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2582548+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/KalyanSRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/kalyans-flex1\",\"name\":\"kalyans-flex1\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"mjtest-cli.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"lovingGnat8\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-05T19:25:08.0949758+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/moljain-flexserver/providers/Microsoft.DBforPostgreSQL/flexibleServers/mjtest-cli\",\"name\":\"mjtest-cli\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"nik1110-flex001.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"azureuser\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/akamath/providers/Microsoft.Network/virtualNetworks/eastusflexvnet/subnets/eastusflexsubnet\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T06:17:17.4434069+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/nik1110-flex001/providers/Microsoft.DBforPostgreSQL/flexibleServers/nik1110-flex001\",\"name\":\"nik1110-flex001\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D8s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":8},\"properties\":{\"fullyQualifiedDomainName\":\"pgbouncerdemo.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2582548+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/akamath/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgbouncerdemo\",\"name\":\"pgbouncerdemo\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"pg-test-restore.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"daeunyim\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-07T23:03:43.0105302+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/daeun-powershell-postgresql/providers/Microsoft.DBforPostgreSQL/flexibleServers/pg-test-restore\",\"name\":\"pg-test-restore\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"adminuser\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"\",\"state\":\"Stopped\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T20:47:55.6257742+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"postgresql_test\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T18:30:21.1770084+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"server682508346.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"pensiveMacaw8\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group4297177205/providers/Microsoft.Network/virtualNetworks/VNET682508346/subnets/Subnet682508346\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T21:33:27.7387151+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group4297177205/providers/Microsoft.DBforPostgreSQL/flexibleServers/server682508346\",\"name\":\"server682508346\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"tzsynapsetest.postgres.database.azure.com\",\"version\":\"11\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"tezhang\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2582548+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/tzsynapsetestrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/tzsynapsetest\",\"name\":\"tzsynapsetest\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"tzsynapsetest1.postgres.database.azure.com\",\"version\":\"11\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"tezhang\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2582548+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/tzsynapsetestrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/tzsynapsetest1\",\"name\":\"tzsynapsetest1\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelianeus22.postgres.database.azure.com\",\"version\":\"11\",\"standbyCount\":1,\"haEnabled\":\"Enabled\",\"administratorLogin\":\"chelian\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"Healthy\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.1186501+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelianeus22\",\"name\":\"chelianeus22\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelianeus22a.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"chelianeus22\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian-eus22-u0377-u01/providers/Microsoft.Network/virtualNetworks/chelian-eus22-u0377-u01-vnet/subnets/chelian-eus22-u0377-u01-vnet-sub0\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-06T02:30:32.5755568+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelianeus22a\",\"name\":\"chelianeus22a\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelianeus22vnet.postgres.database.azure.com\",\"version\":\"11\",\"standbyCount\":1,\"haEnabled\":\"Enabled\",\"administratorLogin\":\"chelian\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian-eus22-u0377-u01/providers/Microsoft.Network/virtualNetworks/chelian-eus22-u0377-u01-vnet/subnets/chelian-eus22-u0377-u01-vnet-sub0\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"Healthy\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.1186501+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelianeus22vnet\",\"name\":\"chelianeus22vnet\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"flextestpeering.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/akamath/providers/Microsoft.Network/virtualNetworks/flexvnetorig/subnets/default\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.1186501+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/akamath/providers/Microsoft.DBforPostgreSQL/flexibleServers/flextestpeering\",\"name\":\"flextestpeering\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"teja-test-12-single.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-07T00:32:41.4051848+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/teja-test-meru/providers/Microsoft.DBforPostgreSQL/flexibleServers/teja-test-12-single\",\"name\":\"teja-test-12-single\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"xizo-test-public-ip.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"xizo\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.1186501+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/xizo-u0052/providers/Microsoft.DBforPostgreSQL/flexibleServers/xizo-test-public-ip\",\"name\":\"xizo-test-public-ip\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"vikranthtest01.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"vikranth\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2895944+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West Europe\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vikranthtest01/providers/Microsoft.DBforPostgreSQL/flexibleServers/vikranthtest01\",\"name\":\"vikranthtest01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"ambrahma-pgfs-vnet-4.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"ambrahma\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.Network/virtualNetworks/vnet-ambrahma-pgfs-vnet-4/subnets/subnet-postgresql-flexibleservers\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":32768,\"backupRetentionDays\":8},\"earliestRestoreDate\":\"2020-11-04T20:17:08.8259711+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.DBforPostgreSQL/flexibleServers/ambrahma-pgfs-vnet-4\",\"name\":\"ambrahma-pgfs-vnet-4\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"ambrahma-pgfs-vnet-6.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"ambrahma\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.Network/virtualNetworks/vnet-ambrahma-pgfs-vnet-6/subnets/subnet-postgresql-flexibleservers\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":32768,\"backupRetentionDays\":8},\"earliestRestoreDate\":\"2020-11-04T20:34:26.3449676+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.DBforPostgreSQL/flexibleServers/ambrahma-pgfs-vnet-6\",\"name\":\"ambrahma-pgfs-vnet-6\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"ambrahma-pgfs-vnet-7.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"ambrahma\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.Network/virtualNetworks/vnet-ambrahma-pgfs-vnet-6/subnets/subnet-postgresql-flexibleservers\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":32768,\"backupRetentionDays\":8},\"earliestRestoreDate\":\"2020-11-04T21:38:58.7097105+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.DBforPostgreSQL/flexibleServers/ambrahma-pgfs-vnet-7\",\"name\":\"ambrahma-pgfs-vnet-7\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"ambrahma-pgfs-vnet-8.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"ambrahma\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.Network/virtualNetworks/vnet-ambrahma-pgfs-vnet-6/subnets/default\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":32768,\"backupRetentionDays\":8},\"earliestRestoreDate\":\"2020-11-04T21:58:12.067413+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.DBforPostgreSQL/flexibleServers/ambrahma-pgfs-vnet-8\",\"name\":\"ambrahma-pgfs-vnet-8\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"ambrahma-pgfs-vnet-9.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"ambrahma\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":32768,\"backupRetentionDays\":8},\"earliestRestoreDate\":\"2020-11-04T22:25:30.0433317+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.DBforPostgreSQL/flexibleServers/ambrahma-pgfs-vnet-9\",\"name\":\"ambrahma-pgfs-vnet-9\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"identity\":{\"principalId\":\"ac7286b4-1177-4734-b7e4-d3fc4fcb87b7\",\"type\":\"SystemAssigned\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"fullyQualifiedDomainName\":\"byok-pgfs-1.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"shinim\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Enabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/meruacr/providers/Microsoft.DBforPostgreSQL/flexibleServers/byok-pgfs-1\",\"name\":\"byok-pgfs-1\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"flexhavnet.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":1,\"haEnabled\":\"Enabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/akamath/providers/Microsoft.Network/virtualNetworks/canaryvnetflex/subnets/canaryflexsubnet\"},\"logBackupStorageSku\":\"\",\"haState\":\"Healthy\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":524288,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/akamath/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexhavnet-pvsc\",\"name\":\"flexhavnet\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B2s\",\"tier\":\"Burstable\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-b2s-2core.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":524288,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-b2s-2core\",\"name\":\"flexserverpg-canary-perf-b2s-2core\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D16s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":16},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-16core.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":8388608,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-16core\",\"name\":\"flexserverpg-canary-perf-gp-16core\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-2core.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":524288,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-2core\",\"name\":\"flexserverpg-canary-perf-gp-2core\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-2core-2.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-2core-2\",\"name\":\"flexserverpg-canary-perf-gp-2core-2\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-2core-3.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-2core-3\",\"name\":\"flexserverpg-canary-perf-gp-2core-3\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D4s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":4},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-4core.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":2097152,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-4core\",\"name\":\"flexserverpg-canary-perf-gp-4core\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D8s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":8},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-8core.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":2097152,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-8core\",\"name\":\"flexserverpg-canary-perf-gp-8core\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D8s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":8},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-8core-ha2.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":1,\"haEnabled\":\"Enabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"Healthy\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":2097152,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-8core-ha2\",\"name\":\"flexserverpg-canary-perf-gp-8core-ha2\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D8s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":8},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-8core-pg11.postgres.database.azure.com\",\"version\":\"11\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":2097152,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-8core-pg11\",\"name\":\"flexserverpg-canary-perf-gp-8core-pg11\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D8s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":8},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-8core-vnet.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.Network/virtualNetworks/flexserverpg-canary-vnet/subnets/default\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":2097152,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-8core-vnet\",\"name\":\"flexserverpg-canary-perf-gp-8core-vnet\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_E8s_v3\",\"tier\":\"MemoryOptimized\",\"capacity\":8},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-mo-8core.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":2097152,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-mo-8core\",\"name\":\"flexserverpg-canary-perf-mo-8core\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"flexvnetm4new.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":1,\"haEnabled\":\"Enabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/akamath/providers/Microsoft.Network/virtualNetworks/canaryvnetflex/subnets/canaryflexsubnet\"},\"logBackupStorageSku\":\"\",\"haState\":\"Healthy\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":524288,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/akamath/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexvnetm4new-yumj\",\"name\":\"flexvnetm4new\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D4s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":4},\"properties\":{\"fullyQualifiedDomainName\":\"senkupfspg1.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":1,\"haEnabled\":\"Enabled\",\"administratorLogin\":\"senkupadmin\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"\",\"haState\":\"RecreatingStandby\",\"state\":\"Updating\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":524288,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/senkuprg/providers/Microsoft.DBforPostgreSQL/flexibleServers/senkupfspg1-zbom\",\"name\":\"senkupfspg1\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"taocanaryvnet1.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vnetcanarytestrg/providers/Microsoft.Network/virtualNetworks/customer-vnet2/subnets/fspg-subnet\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vnettestcustomerrg9/providers/Microsoft.DBforPostgreSQL/flexibleServers/taocanaryvnet1\",\"name\":\"taocanaryvnet1\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D4s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":4},\"properties\":{\"fullyQualifiedDomainName\":\"taotestvnetfspg1.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vnetcanarytestrg/providers/Microsoft.Network/virtualNetworks/eus2euapfspgtestvnet1/subnets/fspg-subnet\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vnetcanarytestrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/taotestvnetfspg1\",\"name\":\"taotestvnetfspg1\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D4s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":4},\"properties\":{\"fullyQualifiedDomainName\":\"taotestvnetfspg2.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Disabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"\",\"state\":\"Provisioning\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":32768,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vnetcanarytestrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/taotestvnetfspg2\",\"name\":\"taotestvnetfspg2\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D4s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":4},\"properties\":{\"fullyQualifiedDomainName\":\"testvnetwithserviceendpoint.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vnetcanarytestrg/providers/Microsoft.Network/virtualNetworks/testvnetwithserviceendpoint/subnets/fspg-subnet\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vnetcanarytestrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testvnetwithserviceendpoint\",\"name\":\"testvnetwithserviceendpoint\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D16s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":16},\"properties\":{\"fullyQualifiedDomainName\":\"vikranthtest2.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":1,\"haEnabled\":\"Enabled\",\"administratorLogin\":\"vikranth\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"\",\"state\":\"Starting\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vikranthtest02/providers/Microsoft.DBforPostgreSQL/flexibleServers/vikranthtest2\",\"name\":\"vikranthtest2\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}]}" } }, - "Get-AzPostgreSqlFlexibleServer+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100?api-version=2020-02-14-preview+1": { + "Get-AzPostgreSqlFlexibleServer+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "2" ], @@ -74,7 +74,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresqltest100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"adminuser\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"\",\"state\":\"Stopped\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T20:47:55.6257742+00:00\",\"byokEnforcement\":\"Disabled\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0}},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresqltest100\",\"name\":\"postgresqltest100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"adminuser\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"\",\"state\":\"Stopped\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T20:47:55.6257742+00:00\",\"byokEnforcement\":\"Disabled\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0}},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}" } }, "Get-AzPostgreSqlFlexibleServer+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers?api-version=2020-02-14-preview+1": { @@ -113,13 +113,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresqltest100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"adminuser\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"\",\"state\":\"Stopped\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T20:47:55.6257742+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresqltest100\",\"name\":\"postgresqltest100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"postgresql_test\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T18:30:21.1770084+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}]}" + "Content": "{\"value\":[{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"adminuser\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"\",\"state\":\"Stopped\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T20:47:55.6257742+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"postgresql_test\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T18:30:21.1770084+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}]}" } }, - "Get-AzPostgreSqlFlexibleServer+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100?api-version=2020-02-14-preview+1": { + "Get-AzPostgreSqlFlexibleServer+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "4" ], @@ -152,7 +152,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresqltest100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"adminuser\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"\",\"state\":\"Stopped\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T20:47:55.6257742+00:00\",\"byokEnforcement\":\"Disabled\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0}},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresqltest100\",\"name\":\"postgresqltest100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"adminuser\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"\",\"state\":\"Stopped\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T20:47:55.6257742+00:00\",\"byokEnforcement\":\"Disabled\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0}},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}" } } } \ No newline at end of file diff --git a/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerConfiguration.Recording.json b/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerConfiguration.Recording.json index 0a58f0a4c0f0..826be021c16b 100644 --- a/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerConfiguration.Recording.json +++ b/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerConfiguration.Recording.json @@ -1,8 +1,8 @@ { - "Get-AzPostgreSqlFlexibleServerConfiguration+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/configurations?api-version=2020-02-14-preview+1": { + "Get-AzPostgreSqlFlexibleServerConfiguration+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/configurations?api-version=2020-02-14-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/configurations?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/configurations?api-version=2020-02-14-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "5" ], @@ -35,13 +35,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"properties\":{\"value\":\"\",\"description\":\"Sets the application name to be reported in statistics and logs.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9._-]*\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/application_name\",\"name\":\"application_name\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1800\",\"description\":\"Forces a switch to the next WAL file if a new file has not been started within N seconds.\",\"defaultValue\":\"1800\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1073741823\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/archive_timeout\",\"name\":\"archive_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables input of NULL elements in arrays.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/array_nulls\",\"name\":\"array_nulls\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Starts the autovacuum subprocess.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/autovacuum\",\"name\":\"autovacuum\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0.1\",\"description\":\"Number of tuple inserts, updates, or deletes prior to analyze as a fraction of reltuples.\",\"defaultValue\":\"0.1\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-100\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/autovacuum_analyze_scale_factor\",\"name\":\"autovacuum_analyze_scale_factor\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"Minimum number of tuple inserts, updates, or deletes prior to analyze.\",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/autovacuum_analyze_threshold\",\"name\":\"autovacuum_analyze_threshold\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"200000000\",\"description\":\"Age at which to autovacuum a table to prevent transaction ID wraparound. Any change requires restarting the server to take effect.\",\"defaultValue\":\"200000000\",\"dataType\":\"Integer\",\"allowedValues\":\"100000-2000000000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/autovacuum_freeze_max_age\",\"name\":\"autovacuum_freeze_max_age\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Sets the maximum number of simultaneously running autovacuum worker processes. Any change requires restarting the server to take effect.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"1-262143\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/autovacuum_max_workers\",\"name\":\"autovacuum_max_workers\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"400000000\",\"description\":\"Multixact age at which to autovacuum a table to prevent multixact wraparound. Any change requires restarting the server to take effect.\",\"defaultValue\":\"400000000\",\"dataType\":\"Integer\",\"allowedValues\":\"10000-2000000000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/autovacuum_multixact_freeze_max_age\",\"name\":\"autovacuum_multixact_freeze_max_age\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"60\",\"description\":\"Time to sleep between autovacuum runs.\",\"defaultValue\":\"60\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/autovacuum_naptime\",\"name\":\"autovacuum_naptime\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Vacuum cost delay in milliseconds, for autovacuum.\",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-100\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/autovacuum_vacuum_cost_delay\",\"name\":\"autovacuum_vacuum_cost_delay\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Vacuum cost amount available before napping, for autovacuum.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-10000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/autovacuum_vacuum_cost_limit\",\"name\":\"autovacuum_vacuum_cost_limit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0.2\",\"description\":\"Number of tuple updates or deletes prior to vacuum as a fraction of reltuples.\",\"defaultValue\":\"0.2\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-100\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/autovacuum_vacuum_scale_factor\",\"name\":\"autovacuum_vacuum_scale_factor\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"Minimum number of tuple updates or deletes prior to vacuum.\",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/autovacuum_vacuum_threshold\",\"name\":\"autovacuum_vacuum_threshold\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Sets the maximum memory to be used by each autovacuum worker process.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2097151\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/autovacuum_work_mem\",\"name\":\"autovacuum_work_mem\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Number of pages after which previously performed writes are flushed to disk.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/backend_flush_after\",\"name\":\"backend_flush_after\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"safe_encoding\",\"description\":\"Sets whether \\\"\\\\\u0027\\\" is allowed in string literals.\",\"defaultValue\":\"safe_encoding\",\"dataType\":\"Enumeration\",\"allowedValues\":\"safe_encoding,on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/backslash_quote\",\"name\":\"backslash_quote\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"Background writer sleep time between rounds.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"10-10000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/bgwriter_delay\",\"name\":\"bgwriter_delay\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"Number of pages after which previously performed writes are flushed to disk.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/bgwriter_flush_after\",\"name\":\"bgwriter_flush_after\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"Background writer maximum number of LRU pages to flush per round.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1073741823\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/bgwriter_lru_maxpages\",\"name\":\"bgwriter_lru_maxpages\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Multiple of the average buffer usage to free per round.\",\"defaultValue\":\"2\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-10\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/bgwriter_lru_multiplier\",\"name\":\"bgwriter_lru_multiplier\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"hex\",\"description\":\"Sets the output format for bytea.\",\"defaultValue\":\"hex\",\"dataType\":\"Enumeration\",\"allowedValues\":\"escape,hex\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/bytea_output\",\"name\":\"bytea_output\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Checks function bodies during CREATE FUNCTION.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/check_function_bodies\",\"name\":\"check_function_bodies\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0.5\",\"description\":\"Time spent flushing dirty buffers during checkpoint, as fraction of checkpoint interval.\",\"defaultValue\":\"0.5\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/checkpoint_completion_target\",\"name\":\"checkpoint_completion_target\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"300\",\"description\":\"Sets the maximum time between automatic WAL checkpoints.\",\"defaultValue\":\"300\",\"dataType\":\"Integer\",\"allowedValues\":\"30-86400\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/checkpoint_timeout\",\"name\":\"checkpoint_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"30\",\"description\":\"Enables warnings if checkpoint segments are filled more frequently than this.\",\"defaultValue\":\"30\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/checkpoint_warning\",\"name\":\"checkpoint_warning\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"sql_ascii\",\"description\":\"Sets the client\u0027s character set encoding.\",\"defaultValue\":\"sql_ascii\",\"dataType\":\"Enumeration\",\"allowedValues\":\"BIG5,EUC_CN,EUC_JP,EUC_JIS_2004,EUC_KR,EUC_TW,GB18030,GBK,ISO_8859_5,ISO_8859_6,ISO_8859_7,ISO_8859_8,JOHAB,KOI8R,KOI8U,LATIN1,LATIN2,LATIN3,LATIN4,LATIN5,LATIN6,LATIN7,LATIN8,LATIN9,LATIN10,MULE_INTERNAL,SJIS,SHIFT_JIS_2004,SQL_ASCII,UHC,UTF8,WIN866,WIN874,WIN1250,WIN1251,WIN1252,WIN1253,WIN1254,WIN1255,WIN1256,WIN1257,WIN1258\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/client_encoding\",\"name\":\"client_encoding\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"notice\",\"description\":\"Sets the message levels that are sent to the client.\",\"defaultValue\":\"notice\",\"dataType\":\"Enumeration\",\"allowedValues\":\"debug5,debug4,debug3,debug2,debug1,log,notice,warning,error\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/client_min_messages\",\"name\":\"client_min_messages\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the delay in microseconds between transaction commit and flushing WAL to disk.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/commit_delay\",\"name\":\"commit_delay\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"5\",\"description\":\"Sets the minimum concurrent open transactions before performing commit_delay.\",\"defaultValue\":\"5\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/commit_siblings\",\"name\":\"commit_siblings\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"partition\",\"description\":\"Enables the planner to use constraints to optimize queries.\",\"defaultValue\":\"partition\",\"dataType\":\"Enumeration\",\"allowedValues\":\"partition,on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/constraint_exclusion\",\"name\":\"constraint_exclusion\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0.005\",\"description\":\"Sets the planner\u0027s estimate of the cost of processing each index entry during an index scan.\",\"defaultValue\":\"0.005\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/cpu_index_tuple_cost\",\"name\":\"cpu_index_tuple_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0.0025\",\"description\":\"Sets the planner\u0027s estimate of the cost of processing each operator or function call.\",\"defaultValue\":\"0.0025\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/cpu_operator_cost\",\"name\":\"cpu_operator_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0.01\",\"description\":\"Sets the planner\u0027s estimate of the cost of processing each tuple (row).\",\"defaultValue\":\"0.01\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/cpu_tuple_cost\",\"name\":\"cpu_tuple_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0.1\",\"description\":\"Sets the planner\u0027s estimate of the fraction of a cursor\u0027s rows that will be retrieved.\",\"defaultValue\":\"0.1\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/cursor_tuple_fraction\",\"name\":\"cursor_tuple_fraction\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ISO, MDY\",\"description\":\"Sets the display format for date and time values.\",\"defaultValue\":\"ISO, MDY\",\"dataType\":\"String\",\"allowedValues\":\"(ISO|POSTGRES|SQL|GERMAN)(, (DMY|MDY|YMD))?\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/DateStyle\",\"name\":\"DateStyle\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1000\",\"description\":\"Sets the amount of time, in milliseconds, to wait on a lock before checking for deadlock.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/deadlock_timeout\",\"name\":\"deadlock_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Indents parse and plan tree displays.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/debug_pretty_print\",\"name\":\"debug_pretty_print\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs each query\u0027s parse tree.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/debug_print_parse\",\"name\":\"debug_print_parse\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs each query\u0027s execution plan.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/debug_print_plan\",\"name\":\"debug_print_plan\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs each query\u0027s rewritten parse tree.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/debug_print_rewritten\",\"name\":\"debug_print_rewritten\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"Sets the default statistics target.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/default_statistics_target\",\"name\":\"default_statistics_target\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Sets the default tablespace to create tables and indexes in.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z._]*\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/default_tablespace\",\"name\":\"default_tablespace\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"pg_catalog.english\",\"description\":\"Sets default text search configuration.\",\"defaultValue\":\"pg_catalog.english\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z._]+\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/default_text_search_config\",\"name\":\"default_text_search_config\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Sets the default deferrable status of new transactions.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/default_transaction_deferrable\",\"name\":\"default_transaction_deferrable\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"read committed\",\"description\":\"Sets the transaction isolation level of each new transaction.\",\"defaultValue\":\"read committed\",\"dataType\":\"Enumeration\",\"allowedValues\":\"serializable,repeatable read,read committed,read uncommitted\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/default_transaction_isolation\",\"name\":\"default_transaction_isolation\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Sets the default read-only status of new transactions.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/default_transaction_read_only\",\"name\":\"default_transaction_read_only\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Creates new tables with OIDs by default.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/default_with_oids\",\"name\":\"default_with_oids\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"786432\",\"description\":\"Sets the planner\u0027s assumption about the size of the disk cache.\",\"defaultValue\":\"786432\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/effective_cache_size\",\"name\":\"effective_cache_size\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Sets the number of concurrent disk I/O operations that PostgreSQL expects can be executed simultaneously.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/effective_io_concurrency\",\"name\":\"effective_io_concurrency\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of bitmap-scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/enable_bitmapscan\",\"name\":\"enable_bitmapscan\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of gather merge plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/enable_gathermerge\",\"name\":\"enable_gathermerge\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of hashed aggregation plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/enable_hashagg\",\"name\":\"enable_hashagg\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of hash join plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/enable_hashjoin\",\"name\":\"enable_hashjoin\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of index-only-scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/enable_indexonlyscan\",\"name\":\"enable_indexonlyscan\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of index-scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/enable_indexscan\",\"name\":\"enable_indexscan\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of materialization.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/enable_material\",\"name\":\"enable_material\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of merge join plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/enable_mergejoin\",\"name\":\"enable_mergejoin\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of nested loop join plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/enable_nestloop\",\"name\":\"enable_nestloop\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Enables or disables the query planner\u0027s use of partitionwise grouping or aggregation, which allows grouping or aggregation on a partitioned tables performed separately for each partition.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/enable_partitionwise_aggregate\",\"name\":\"enable_partitionwise_aggregate\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Enables or disables the query planner\u0027s use of partitionwise join, which allows a join between partitioned tables to be performed by joining the matching partitions.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/enable_partitionwise_join\",\"name\":\"enable_partitionwise_join\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of sequential-scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/enable_seqscan\",\"name\":\"enable_seqscan\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of explicit sort steps.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/enable_sort\",\"name\":\"enable_sort\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of TID scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/enable_tidscan\",\"name\":\"enable_tidscan\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Warns about backslash escapes in ordinary string literals.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/escape_string_warning\",\"name\":\"escape_string_warning\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Terminates session on any error.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/exit_on_error\",\"name\":\"exit_on_error\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Sets the number of digits displayed for floating-point values.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"-15-3\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/extra_float_digits\",\"name\":\"extra_float_digits\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Forces use of parallel query facilities.\",\"defaultValue\":\"off\",\"dataType\":\"Enumeration\",\"allowedValues\":\"off,on,regress\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/force_parallel_mode\",\"name\":\"force_parallel_mode\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"Sets the FROM-list size beyond which subqueries are not collapsed.\",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/from_collapse_limit\",\"name\":\"from_collapse_limit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables genetic query optimization.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/geqo\",\"name\":\"geqo\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"5\",\"description\":\"GEQO: effort is used to set the default for other GEQO parameters.\",\"defaultValue\":\"5\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/geqo_effort\",\"name\":\"geqo_effort\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"GEQO: number of iterations of the algorithm.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/geqo_generations\",\"name\":\"geqo_generations\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"GEQO: number of individuals in the population.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/geqo_pool_size\",\"name\":\"geqo_pool_size\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"GEQO: seed for random path selection.\",\"defaultValue\":\"0\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/geqo_seed\",\"name\":\"geqo_seed\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"GEQO: selective pressure within the population.\",\"defaultValue\":\"2\",\"dataType\":\"Numeric\",\"allowedValues\":\"1.5-2\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/geqo_selection_bias\",\"name\":\"geqo_selection_bias\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"12\",\"description\":\"Sets the threshold of FROM items beyond which GEQO is used.\",\"defaultValue\":\"12\",\"dataType\":\"Integer\",\"allowedValues\":\"2-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/geqo_threshold\",\"name\":\"geqo_threshold\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum allowed result for exact search by GIN.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/gin_fuzzy_search_limit\",\"name\":\"gin_fuzzy_search_limit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"Sets the maximum size of the pending list for GIN index.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"64-2097151\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/gin_pending_list_limit\",\"name\":\"gin_pending_list_limit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"try\",\"description\":\"Enables/disables the use of huge memory pages. Changing this value requires server restart. This setting is not applicable to servers having less than 4 vCores.\",\"defaultValue\":\"try\",\"dataType\":\"Enumeration\",\"allowedValues\":\"on,off,try\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/huge_pages\",\"name\":\"huge_pages\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum allowed duration of any idling transaction.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/idle_in_transaction_session_timeout\",\"name\":\"idle_in_transaction_session_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"postgres\",\"description\":\"Sets the display format for interval values.\",\"defaultValue\":\"postgres\",\"dataType\":\"Enumeration\",\"allowedValues\":\"postgres,postgres_verbose,sql_standard,iso_8601\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/IntervalStyle\",\"name\":\"IntervalStyle\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Determines whether JIT compilation may be used by PostgreSQL.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on, off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/jit\",\"name\":\"jit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"100000\",\"description\":\"Sets the query cost above which JIT compilation is activated, if enabled.\",\"defaultValue\":\"100000\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/jit_above_cost\",\"name\":\"jit_above_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"500000\",\"description\":\"Sets the query cost above which JIT compilation attempts to inline functions and operators.\",\"defaultValue\":\"500000\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/jit_inline_above_cost\",\"name\":\"jit_inline_above_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"500000\",\"description\":\"Sets the query cost above which JIT compilation applies expensive optimizations.\",\"defaultValue\":\"500000\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/jit_optimize_above_cost\",\"name\":\"jit_optimize_above_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"Sets the FROM-list size beyond which JOIN constructs are not flattened.\",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/join_collapse_limit\",\"name\":\"join_collapse_limit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"en_US.utf-8\",\"description\":\"Sets the locale for formatting monetary amounts.\",\"defaultValue\":\"en_US.utf-8\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9._ -]+\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/lc_monetary\",\"name\":\"lc_monetary\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"en_US.utf-8\",\"description\":\"Sets the locale for formatting numbers.\",\"defaultValue\":\"en_US.utf-8\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9._ -]+\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/lc_numeric\",\"name\":\"lc_numeric\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Enables backward compatibility mode for privilege checks on large objects.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/lo_compat_privileges\",\"name\":\"lo_compat_privileges\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum allowed duration (in milliseconds) of any wait for a lock. 0 turns this off.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/lock_timeout\",\"name\":\"lock_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Sets the minimum execution time above which autovacuum actions will be logged.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/log_autovacuum_min_duration\",\"name\":\"log_autovacuum_min_duration\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Logs each checkpoint.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/log_checkpoints\",\"name\":\"log_checkpoints\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs each successful connection.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/log_connections\",\"name\":\"log_connections\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"stderr\",\"description\":\"Sets the destination for server log output.\",\"defaultValue\":\"stderr\",\"dataType\":\"Enumeration\",\"allowedValues\":\"stderr,csvlog\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/log_destination\",\"name\":\"log_destination\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs end of a session, including duration.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/log_disconnections\",\"name\":\"log_disconnections\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs the duration of each completed SQL statement.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/log_duration\",\"name\":\"log_duration\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"default\",\"description\":\"Sets the verbosity of logged messages.\",\"defaultValue\":\"default\",\"dataType\":\"Enumeration\",\"allowedValues\":\"terse,default,verbose\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/log_error_verbosity\",\"name\":\"log_error_verbosity\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs long lock waits.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/log_lock_waits\",\"name\":\"log_lock_waits\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Sets the minimum execution time (in milliseconds) above which statements will be logged. -1 disables logging statement durations.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/log_min_duration_statement\",\"name\":\"log_min_duration_statement\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"error\",\"description\":\"Causes all statements generating error at or above this level to be logged.\",\"defaultValue\":\"error\",\"dataType\":\"Enumeration\",\"allowedValues\":\"debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/log_min_error_statement\",\"name\":\"log_min_error_statement\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"warning\",\"description\":\"Sets the message levels that are logged.\",\"defaultValue\":\"warning\",\"dataType\":\"Enumeration\",\"allowedValues\":\"debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/log_min_messages\",\"name\":\"log_min_messages\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs each replication command.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/log_replication_commands\",\"name\":\"log_replication_commands\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"none\",\"description\":\"Sets the type of statements logged.\",\"defaultValue\":\"none\",\"dataType\":\"Enumeration\",\"allowedValues\":\"none,ddl,mod,all\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/log_statement\",\"name\":\"log_statement\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"For each query, writes cumulative performance statistics to the server log.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/log_statement_stats\",\"name\":\"log_statement_stats\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Logs the use of temporary files larger than this number of kilobytes.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/log_temp_files\",\"name\":\"log_temp_files\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"216064\",\"description\":\"Sets the maximum memory to be used for maintenance operations.\",\"defaultValue\":\"216064\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-2097151\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/maintenance_work_mem\",\"name\":\"maintenance_work_mem\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"859\",\"description\":\"Sets the maximum number of concurrent connections. Any change requires restarting the server to take effect.\",\"defaultValue\":\"859\",\"dataType\":\"Integer\",\"allowedValues\":\"25-5000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/max_connections\",\"name\":\"max_connections\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"Sets the maximum number of locks per transaction. Any change requires restarting the server to take effect. When running a replica server, you must set this parameter to the same or higher value than on the master server.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"10-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/max_locks_per_transaction\",\"name\":\"max_locks_per_transaction\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"Sets the maximum number of parallel workers than can be active at one time.\",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1024\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/max_parallel_workers\",\"name\":\"max_parallel_workers\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Sets the maximum number of parallel processes per executor node.\",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1024\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/max_parallel_workers_per_gather\",\"name\":\"max_parallel_workers_per_gather\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Sets the maximum number of predicate-locked tuples per page.\",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/max_pred_locks_per_page\",\"name\":\"max_pred_locks_per_page\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"-2\",\"description\":\"Sets the maximum number of predicate-locked pages and tuples per relation.\",\"defaultValue\":\"-2\",\"dataType\":\"Integer\",\"allowedValues\":\"-2147483648-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/max_pred_locks_per_relation\",\"name\":\"max_pred_locks_per_relation\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum number of simultaneously prepared transactions. Any change requires restarting the server to take effect. When running a replica server, you must set this parameter to the same or higher value than on the master server.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-262143\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/max_prepared_transactions\",\"name\":\"max_prepared_transactions\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Sets the maximum number of simultaneously defined replication slots.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-262143\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/max_replication_slots\",\"name\":\"max_replication_slots\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"30000\",\"description\":\"Sets the maximum delay before canceling queries when a hot standby server is processing archived WAL data.\",\"defaultValue\":\"30000\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/max_standby_archive_delay\",\"name\":\"max_standby_archive_delay\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"30000\",\"description\":\"Sets the maximum delay before canceling queries when a hot standby server is processing streamed WAL data.\",\"defaultValue\":\"30000\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/max_standby_streaming_delay\",\"name\":\"max_standby_streaming_delay\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Maximum number of table synchronization workers per subscription.\",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"0-262143\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/max_sync_workers_per_subscription\",\"name\":\"max_sync_workers_per_subscription\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Sets the maximum number of simultaneously running WAL sender processes.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/max_wal_senders\",\"name\":\"max_wal_senders\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"32768\",\"description\":\"Sets the WAL size that triggers a checkpoint.\",\"defaultValue\":\"32768\",\"dataType\":\"Integer\",\"allowedValues\":\"2-65536\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/max_wal_size\",\"name\":\"max_wal_size\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"Sets the maximum number of background processes that the system can support.\",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"0-262143\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/max_worker_processes\",\"name\":\"max_worker_processes\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"Sets the minimum amount of index data for a parallel scan.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"0-715827882\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/min_parallel_index_scan_size\",\"name\":\"min_parallel_index_scan_size\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"Sets the minimum amount of table data for a parallel scan.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"0-715827882\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/min_parallel_table_scan_size\",\"name\":\"min_parallel_table_scan_size\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"80\",\"description\":\"Sets the minimum size to shrink the WAL to.\",\"defaultValue\":\"80\",\"dataType\":\"Integer\",\"allowedValues\":\"2-2097151\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/min_wal_size\",\"name\":\"min_wal_size\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Emits a warning for constructs that changed meaning since PostgreSQL 9.4.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/operator_precedence_warning\",\"name\":\"operator_precedence_warning\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1000\",\"description\":\"Sets the planner\u0027s estimate of the cost of starting up worker processes for parallel query.\",\"defaultValue\":\"1000\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/parallel_setup_cost\",\"name\":\"parallel_setup_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0.1\",\"description\":\"Sets the planner\u0027s estimate of the cost of passing each tuple (row) from worker to master backend.\",\"defaultValue\":\"0.1\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/parallel_tuple_cost\",\"name\":\"parallel_tuple_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"none\",\"description\":\"Specifies which classes of statements will be logged by session audit logging.\",\"defaultValue\":\"none\",\"dataType\":\"Set\",\"allowedValues\":\"none,read,write,function,role,ddl,misc,all\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/pgaudit.log\",\"name\":\"pgaudit.log\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Specifies that session logging should be enabled in the case where all relations in a statement are in pg_catalog.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/pgaudit.log_catalog\",\"name\":\"pgaudit.log_catalog\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Specifies whether audit messages should be visible to the client.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/pgaudit.log_client\",\"name\":\"pgaudit.log_client\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"log\",\"description\":\"Specifies the log level that will be used for log entries.\",\"defaultValue\":\"log\",\"dataType\":\"Enumeration\",\"allowedValues\":\",debug5,debug4,debug3,debug2,debug1,info,notice,warning,log\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/pgaudit.log_level\",\"name\":\"pgaudit.log_level\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Specifies that audit logging should include the parameters that were passed with the statement.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/pgaudit.log_parameter\",\"name\":\"pgaudit.log_parameter\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Specifies whether session audit logging should create a separate log entry for each relation referenced in a SELECT or DML statement.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/pgaudit.log_relation\",\"name\":\"pgaudit.log_relation\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Specifies whether logging will include the statement text and parameters with the first log entry for a statement/substatement combination or with every entry.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/pgaudit.log_statement_once\",\"name\":\"pgaudit.log_statement_once\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Specifies the master role to use for object audit logging.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z\\\\._]*\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/pgaudit.role\",\"name\":\"pgaudit.role\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"5000\",\"description\":\"Sets the maximum number of statements tracked by pg_stat_statements. Any change requires restarting the server to take effect.\",\"defaultValue\":\"5000\",\"dataType\":\"Integer\",\"allowedValues\":\"100-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/pg_stat_statements.max\",\"name\":\"pg_stat_statements.max\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Save pg_stat_statements statistics across server shutdowns.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/pg_stat_statements.save\",\"name\":\"pg_stat_statements.save\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"top\",\"description\":\"Controls which statements are counted by pg_stat_statements.\",\"defaultValue\":\"top\",\"dataType\":\"Enumeration\",\"allowedValues\":\"top,all,none\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/pg_stat_statements.track\",\"name\":\"pg_stat_statements.track\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Selects whether utility commands are tracked by pg_stat_statements.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/pg_stat_statements.track_utility\",\"name\":\"pg_stat_statements.track_utility\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"apply_remote\",\"description\":\"Sets the resolution method for any detected conflicts between local data and incoming changes.\",\"defaultValue\":\"apply_remote\",\"dataType\":\"Enumeration\",\"allowedValues\":\"error,apply_remote,keep_local,last_update_wins,first_update_wins\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/pglogical.conflict_resolution\",\"name\":\"pglogical.conflict_resolution\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"log\",\"description\":\"Sets the log level for reporting detected conflicts when the pglogical.conflict_resolution is set to anything else than error.\",\"defaultValue\":\"log\",\"dataType\":\"Enumeration\",\"allowedValues\":\"debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/pglogical.conflict_log_level\",\"name\":\"pglogical.conflict_log_level\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Tells PGLogical to use batch insert mechanism if possible.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/pglogical.batch_inserts\",\"name\":\"pglogical.batch_inserts\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Tells PGLogical to use SPI interface to form actual SQL (INSERT, UPDATE, DELETE) statements to apply incoming changes instead of using internal low level interface.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/pglogical.use_spi\",\"name\":\"pglogical.use_spi\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"DISABLE_ALL\",\"description\":\"Controls postgis GDAL enabled driver settings.\",\"defaultValue\":\"DISABLE_ALL\",\"dataType\":\"Enumeration\",\"allowedValues\":\"DISABLE_ALL,ENABLE_ALL\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/postgis.gdal_enabled_drivers\",\"name\":\"postgis.gdal_enabled_drivers\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"When generating SQL fragments, quotes all identifiers.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/quote_all_identifiers\",\"name\":\"quote_all_identifiers\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"Sets the planner\u0027s estimate of the cost of a nonsequentially fetched disk page.\",\"defaultValue\":\"4\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/random_page_cost\",\"name\":\"random_page_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables row security.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/row_security\",\"name\":\"row_security\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\\\"$user\\\", public\",\"description\":\"Sets the schema search order for names that are not schema-qualified.\",\"defaultValue\":\"\\\"$user\\\", public\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z.\\\"$, ]+\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/search_path\",\"name\":\"search_path\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Sets the planner\u0027s estimate of the cost of a sequentially fetched disk page.\",\"defaultValue\":\"1\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/seq_page_cost\",\"name\":\"seq_page_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"origin\",\"description\":\"Sets the session\u0027s behavior for triggers and rewrite rules.\",\"defaultValue\":\"origin\",\"dataType\":\"Enumeration\",\"allowedValues\":\"origin,replica,local\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/session_replication_role\",\"name\":\"session_replication_role\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Sets the maximum SSL/TLS protocol version to use.\",\"defaultValue\":\"\",\"dataType\":\"Enumeration\",\"allowedValues\":\",TLSv1.2,TLSv1.3\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/ssl_max_protocol_version\",\"name\":\"ssl_max_protocol_version\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"TLSv1.2\",\"description\":\"Sets the minimum SSL/TLS protocol version to use.\",\"defaultValue\":\"TLSv1.2\",\"dataType\":\"Enumeration\",\"allowedValues\":\"TLSv1.2,TLSv1.3\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/ssl_min_protocol_version\",\"name\":\"ssl_min_protocol_version\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Causes \u0027...\u0027 strings to treat backslashes literally.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/standard_conforming_strings\",\"name\":\"standard_conforming_strings\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum allowed duration (in milliseconds) of any statement. 0 turns this off.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/statement_timeout\",\"name\":\"statement_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables synchronized sequential scans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/synchronize_seqscans\",\"name\":\"synchronize_seqscans\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Sets the current transaction\u0027s synchronization level.\",\"defaultValue\":\"on\",\"dataType\":\"Enumeration\",\"allowedValues\":\"local,remote_write,on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/synchronous_commit\",\"name\":\"synchronous_commit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"9\",\"description\":\"Maximum number of TCP keepalive retransmits.\",\"defaultValue\":\"9\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/tcp_keepalives_count\",\"name\":\"tcp_keepalives_count\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"120\",\"description\":\"Time between issuing TCP keepalives.\",\"defaultValue\":\"120\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/tcp_keepalives_idle\",\"name\":\"tcp_keepalives_idle\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"30\",\"description\":\"Time between TCP keepalive retransmits.\",\"defaultValue\":\"30\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/tcp_keepalives_interval\",\"name\":\"tcp_keepalives_interval\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"Sets the maximum number of temporary buffers used by each database session.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"100-1073741823\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/temp_buffers\",\"name\":\"temp_buffers\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Sets the tablespace(s) to use for temporary tables and sort files.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z._]*\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/temp_tablespaces\",\"name\":\"temp_tablespaces\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"UTC\",\"description\":\"Sets the time zone for displaying and interpreting time stamps.\",\"defaultValue\":\"UTC\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9/+_-]+\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/TimeZone\",\"name\":\"TimeZone\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Collects information about executing commands.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/track_activities\",\"name\":\"track_activities\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"Sets the size reserved for pg_stat_activity.query, in bytes. Any change requires restarting the server to take effect.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"100-102400\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/track_activity_query_size\",\"name\":\"track_activity_query_size\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Collects transaction commit time. Any change requires restarting the server to take effect.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/track_commit_timestamp\",\"name\":\"track_commit_timestamp\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Collects statistics on database activity.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/track_counts\",\"name\":\"track_counts\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"none\",\"description\":\"Collects function-level statistics on database activity.\",\"defaultValue\":\"none\",\"dataType\":\"Enumeration\",\"allowedValues\":\"none,pl,all\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/track_functions\",\"name\":\"track_functions\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Collects timing statistics for database I/O activity.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/track_io_timing\",\"name\":\"track_io_timing\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Treats \\\"expr=NULL\\\" as \\\"expr IS NULL\\\".\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/transform_null_equals\",\"name\":\"transform_null_equals\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Vacuum cost delay in milliseconds.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/vacuum_cost_delay\",\"name\":\"vacuum_cost_delay\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"Vacuum cost amount available before napping.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/vacuum_cost_limit\",\"name\":\"vacuum_cost_limit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"20\",\"description\":\"Vacuum cost for a page dirtied by vacuum.\",\"defaultValue\":\"20\",\"dataType\":\"Integer\",\"allowedValues\":\"0-10000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/vacuum_cost_page_dirty\",\"name\":\"vacuum_cost_page_dirty\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Vacuum cost for a page found in the buffer cache.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0-10000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/vacuum_cost_page_hit\",\"name\":\"vacuum_cost_page_hit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Vacuum cost for a page not found in the buffer cache.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-10000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/vacuum_cost_page_miss\",\"name\":\"vacuum_cost_page_miss\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Number of transactions by which VACUUM and HOT cleanup should be deferred, if any.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/vacuum_defer_cleanup_age\",\"name\":\"vacuum_defer_cleanup_age\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"50000000\",\"description\":\"Minimum age at which VACUUM should freeze a table row.\",\"defaultValue\":\"50000000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/vacuum_freeze_min_age\",\"name\":\"vacuum_freeze_min_age\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"150000000\",\"description\":\"Age at which VACUUM should scan whole table to freeze tuples.\",\"defaultValue\":\"150000000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2000000000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/vacuum_freeze_table_age\",\"name\":\"vacuum_freeze_table_age\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"5000000\",\"description\":\"Minimum age at which VACUUM should freeze a MultiXactId in a table row.\",\"defaultValue\":\"5000000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/vacuum_multixact_freeze_min_age\",\"name\":\"vacuum_multixact_freeze_min_age\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"150000000\",\"description\":\"Multixact age at which VACUUM should scan whole table to freeze tuples.\",\"defaultValue\":\"150000000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2000000000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/vacuum_multixact_freeze_table_age\",\"name\":\"vacuum_multixact_freeze_table_age\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Compresses full-page writes written in WAL file.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/wal_compression\",\"name\":\"wal_compression\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"replica\",\"description\":\"It determines how much information is written to the WAL.\",\"defaultValue\":\"replica\",\"dataType\":\"Enumeration\",\"allowedValues\":\"replica,logical\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/wal_level\",\"name\":\"wal_level\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Sets the maximum interval between WAL receiver status reports to the primary.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/wal_receiver_status_interval\",\"name\":\"wal_receiver_status_interval\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"Time between WAL flushes performed in the WAL writer.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/wal_writer_delay\",\"name\":\"wal_writer_delay\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"128\",\"description\":\"Amount of WAL written out by WAL writer that triggers a flush.\",\"defaultValue\":\"128\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/wal_writer_flush_after\",\"name\":\"wal_writer_flush_after\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"Sets the amount of memory to be used by internal sort operations and hash tables before writing to temporary disk files.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-2097151\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/work_mem\",\"name\":\"work_mem\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"base64\",\"description\":\"Sets how binary values are to be encoded in XML.\",\"defaultValue\":\"base64\",\"dataType\":\"Enumeration\",\"allowedValues\":\"base64,hex\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/xmlbinary\",\"name\":\"xmlbinary\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"content\",\"description\":\"Sets whether XML data in implicit parsing and serialization operations is to be considered as documents or content fragments.\",\"defaultValue\":\"content\",\"dataType\":\"Enumeration\",\"allowedValues\":\"content,document\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/xmloption\",\"name\":\"xmloption\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"}]}" + "Content": "{\"value\":[{\"properties\":{\"value\":\"\",\"description\":\"Sets the application name to be reported in statistics and logs.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9._-]*\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/application_name\",\"name\":\"application_name\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1800\",\"description\":\"Forces a switch to the next WAL file if a new file has not been started within N seconds.\",\"defaultValue\":\"1800\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1073741823\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/archive_timeout\",\"name\":\"archive_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables input of NULL elements in arrays.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/array_nulls\",\"name\":\"array_nulls\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Starts the autovacuum subprocess.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/autovacuum\",\"name\":\"autovacuum\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0.1\",\"description\":\"Number of tuple inserts, updates, or deletes prior to analyze as a fraction of reltuples.\",\"defaultValue\":\"0.1\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-100\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/autovacuum_analyze_scale_factor\",\"name\":\"autovacuum_analyze_scale_factor\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"Minimum number of tuple inserts, updates, or deletes prior to analyze.\",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/autovacuum_analyze_threshold\",\"name\":\"autovacuum_analyze_threshold\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"200000000\",\"description\":\"Age at which to autovacuum a table to prevent transaction ID wraparound. Any change requires restarting the server to take effect.\",\"defaultValue\":\"200000000\",\"dataType\":\"Integer\",\"allowedValues\":\"100000-2000000000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/autovacuum_freeze_max_age\",\"name\":\"autovacuum_freeze_max_age\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Sets the maximum number of simultaneously running autovacuum worker processes. Any change requires restarting the server to take effect.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"1-262143\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/autovacuum_max_workers\",\"name\":\"autovacuum_max_workers\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"400000000\",\"description\":\"Multixact age at which to autovacuum a table to prevent multixact wraparound. Any change requires restarting the server to take effect.\",\"defaultValue\":\"400000000\",\"dataType\":\"Integer\",\"allowedValues\":\"10000-2000000000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/autovacuum_multixact_freeze_max_age\",\"name\":\"autovacuum_multixact_freeze_max_age\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"60\",\"description\":\"Time to sleep between autovacuum runs.\",\"defaultValue\":\"60\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/autovacuum_naptime\",\"name\":\"autovacuum_naptime\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Vacuum cost delay in milliseconds, for autovacuum.\",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-100\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/autovacuum_vacuum_cost_delay\",\"name\":\"autovacuum_vacuum_cost_delay\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Vacuum cost amount available before napping, for autovacuum.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-10000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/autovacuum_vacuum_cost_limit\",\"name\":\"autovacuum_vacuum_cost_limit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0.2\",\"description\":\"Number of tuple updates or deletes prior to vacuum as a fraction of reltuples.\",\"defaultValue\":\"0.2\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-100\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/autovacuum_vacuum_scale_factor\",\"name\":\"autovacuum_vacuum_scale_factor\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"Minimum number of tuple updates or deletes prior to vacuum.\",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/autovacuum_vacuum_threshold\",\"name\":\"autovacuum_vacuum_threshold\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Sets the maximum memory to be used by each autovacuum worker process.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2097151\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/autovacuum_work_mem\",\"name\":\"autovacuum_work_mem\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Number of pages after which previously performed writes are flushed to disk.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/backend_flush_after\",\"name\":\"backend_flush_after\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"safe_encoding\",\"description\":\"Sets whether \\\"\\\\\u0027\\\" is allowed in string literals.\",\"defaultValue\":\"safe_encoding\",\"dataType\":\"Enumeration\",\"allowedValues\":\"safe_encoding,on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/backslash_quote\",\"name\":\"backslash_quote\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"Background writer sleep time between rounds.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"10-10000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/bgwriter_delay\",\"name\":\"bgwriter_delay\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"Number of pages after which previously performed writes are flushed to disk.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/bgwriter_flush_after\",\"name\":\"bgwriter_flush_after\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"Background writer maximum number of LRU pages to flush per round.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1073741823\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/bgwriter_lru_maxpages\",\"name\":\"bgwriter_lru_maxpages\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Multiple of the average buffer usage to free per round.\",\"defaultValue\":\"2\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-10\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/bgwriter_lru_multiplier\",\"name\":\"bgwriter_lru_multiplier\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"hex\",\"description\":\"Sets the output format for bytea.\",\"defaultValue\":\"hex\",\"dataType\":\"Enumeration\",\"allowedValues\":\"escape,hex\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/bytea_output\",\"name\":\"bytea_output\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Checks function bodies during CREATE FUNCTION.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/check_function_bodies\",\"name\":\"check_function_bodies\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0.5\",\"description\":\"Time spent flushing dirty buffers during checkpoint, as fraction of checkpoint interval.\",\"defaultValue\":\"0.5\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/checkpoint_completion_target\",\"name\":\"checkpoint_completion_target\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"300\",\"description\":\"Sets the maximum time between automatic WAL checkpoints.\",\"defaultValue\":\"300\",\"dataType\":\"Integer\",\"allowedValues\":\"30-86400\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/checkpoint_timeout\",\"name\":\"checkpoint_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"30\",\"description\":\"Enables warnings if checkpoint segments are filled more frequently than this.\",\"defaultValue\":\"30\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/checkpoint_warning\",\"name\":\"checkpoint_warning\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"sql_ascii\",\"description\":\"Sets the client\u0027s character set encoding.\",\"defaultValue\":\"sql_ascii\",\"dataType\":\"Enumeration\",\"allowedValues\":\"BIG5,EUC_CN,EUC_JP,EUC_JIS_2004,EUC_KR,EUC_TW,GB18030,GBK,ISO_8859_5,ISO_8859_6,ISO_8859_7,ISO_8859_8,JOHAB,KOI8R,KOI8U,LATIN1,LATIN2,LATIN3,LATIN4,LATIN5,LATIN6,LATIN7,LATIN8,LATIN9,LATIN10,MULE_INTERNAL,SJIS,SHIFT_JIS_2004,SQL_ASCII,UHC,UTF8,WIN866,WIN874,WIN1250,WIN1251,WIN1252,WIN1253,WIN1254,WIN1255,WIN1256,WIN1257,WIN1258\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/client_encoding\",\"name\":\"client_encoding\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"notice\",\"description\":\"Sets the message levels that are sent to the client.\",\"defaultValue\":\"notice\",\"dataType\":\"Enumeration\",\"allowedValues\":\"debug5,debug4,debug3,debug2,debug1,log,notice,warning,error\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/client_min_messages\",\"name\":\"client_min_messages\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the delay in microseconds between transaction commit and flushing WAL to disk.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/commit_delay\",\"name\":\"commit_delay\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"5\",\"description\":\"Sets the minimum concurrent open transactions before performing commit_delay.\",\"defaultValue\":\"5\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/commit_siblings\",\"name\":\"commit_siblings\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"partition\",\"description\":\"Enables the planner to use constraints to optimize queries.\",\"defaultValue\":\"partition\",\"dataType\":\"Enumeration\",\"allowedValues\":\"partition,on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/constraint_exclusion\",\"name\":\"constraint_exclusion\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0.005\",\"description\":\"Sets the planner\u0027s estimate of the cost of processing each index entry during an index scan.\",\"defaultValue\":\"0.005\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/cpu_index_tuple_cost\",\"name\":\"cpu_index_tuple_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0.0025\",\"description\":\"Sets the planner\u0027s estimate of the cost of processing each operator or function call.\",\"defaultValue\":\"0.0025\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/cpu_operator_cost\",\"name\":\"cpu_operator_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0.01\",\"description\":\"Sets the planner\u0027s estimate of the cost of processing each tuple (row).\",\"defaultValue\":\"0.01\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/cpu_tuple_cost\",\"name\":\"cpu_tuple_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0.1\",\"description\":\"Sets the planner\u0027s estimate of the fraction of a cursor\u0027s rows that will be retrieved.\",\"defaultValue\":\"0.1\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/cursor_tuple_fraction\",\"name\":\"cursor_tuple_fraction\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ISO, MDY\",\"description\":\"Sets the display format for date and time values.\",\"defaultValue\":\"ISO, MDY\",\"dataType\":\"String\",\"allowedValues\":\"(ISO|POSTGRES|SQL|GERMAN)(, (DMY|MDY|YMD))?\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/DateStyle\",\"name\":\"DateStyle\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1000\",\"description\":\"Sets the amount of time, in milliseconds, to wait on a lock before checking for deadlock.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/deadlock_timeout\",\"name\":\"deadlock_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Indents parse and plan tree displays.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/debug_pretty_print\",\"name\":\"debug_pretty_print\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs each query\u0027s parse tree.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/debug_print_parse\",\"name\":\"debug_print_parse\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs each query\u0027s execution plan.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/debug_print_plan\",\"name\":\"debug_print_plan\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs each query\u0027s rewritten parse tree.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/debug_print_rewritten\",\"name\":\"debug_print_rewritten\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"Sets the default statistics target.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/default_statistics_target\",\"name\":\"default_statistics_target\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Sets the default tablespace to create tables and indexes in.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z._]*\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/default_tablespace\",\"name\":\"default_tablespace\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"pg_catalog.english\",\"description\":\"Sets default text search configuration.\",\"defaultValue\":\"pg_catalog.english\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z._]+\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/default_text_search_config\",\"name\":\"default_text_search_config\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Sets the default deferrable status of new transactions.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/default_transaction_deferrable\",\"name\":\"default_transaction_deferrable\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"read committed\",\"description\":\"Sets the transaction isolation level of each new transaction.\",\"defaultValue\":\"read committed\",\"dataType\":\"Enumeration\",\"allowedValues\":\"serializable,repeatable read,read committed,read uncommitted\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/default_transaction_isolation\",\"name\":\"default_transaction_isolation\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Sets the default read-only status of new transactions.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/default_transaction_read_only\",\"name\":\"default_transaction_read_only\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Creates new tables with OIDs by default.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/default_with_oids\",\"name\":\"default_with_oids\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"786432\",\"description\":\"Sets the planner\u0027s assumption about the size of the disk cache.\",\"defaultValue\":\"786432\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/effective_cache_size\",\"name\":\"effective_cache_size\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Sets the number of concurrent disk I/O operations that PostgreSQL expects can be executed simultaneously.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/effective_io_concurrency\",\"name\":\"effective_io_concurrency\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of bitmap-scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_bitmapscan\",\"name\":\"enable_bitmapscan\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of gather merge plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_gathermerge\",\"name\":\"enable_gathermerge\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of hashed aggregation plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_hashagg\",\"name\":\"enable_hashagg\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of hash join plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_hashjoin\",\"name\":\"enable_hashjoin\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of index-only-scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_indexonlyscan\",\"name\":\"enable_indexonlyscan\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of index-scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_indexscan\",\"name\":\"enable_indexscan\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of materialization.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_material\",\"name\":\"enable_material\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of merge join plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_mergejoin\",\"name\":\"enable_mergejoin\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of nested loop join plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_nestloop\",\"name\":\"enable_nestloop\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Enables or disables the query planner\u0027s use of partitionwise grouping or aggregation, which allows grouping or aggregation on a partitioned tables performed separately for each partition.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_partitionwise_aggregate\",\"name\":\"enable_partitionwise_aggregate\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Enables or disables the query planner\u0027s use of partitionwise join, which allows a join between partitioned tables to be performed by joining the matching partitions.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_partitionwise_join\",\"name\":\"enable_partitionwise_join\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of sequential-scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_seqscan\",\"name\":\"enable_seqscan\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of explicit sort steps.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_sort\",\"name\":\"enable_sort\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of TID scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_tidscan\",\"name\":\"enable_tidscan\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Warns about backslash escapes in ordinary string literals.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/escape_string_warning\",\"name\":\"escape_string_warning\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Terminates session on any error.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/exit_on_error\",\"name\":\"exit_on_error\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Sets the number of digits displayed for floating-point values.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"-15-3\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/extra_float_digits\",\"name\":\"extra_float_digits\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Forces use of parallel query facilities.\",\"defaultValue\":\"off\",\"dataType\":\"Enumeration\",\"allowedValues\":\"off,on,regress\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/force_parallel_mode\",\"name\":\"force_parallel_mode\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"Sets the FROM-list size beyond which subqueries are not collapsed.\",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/from_collapse_limit\",\"name\":\"from_collapse_limit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables genetic query optimization.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/geqo\",\"name\":\"geqo\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"5\",\"description\":\"GEQO: effort is used to set the default for other GEQO parameters.\",\"defaultValue\":\"5\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/geqo_effort\",\"name\":\"geqo_effort\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"GEQO: number of iterations of the algorithm.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/geqo_generations\",\"name\":\"geqo_generations\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"GEQO: number of individuals in the population.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/geqo_pool_size\",\"name\":\"geqo_pool_size\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"GEQO: seed for random path selection.\",\"defaultValue\":\"0\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/geqo_seed\",\"name\":\"geqo_seed\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"GEQO: selective pressure within the population.\",\"defaultValue\":\"2\",\"dataType\":\"Numeric\",\"allowedValues\":\"1.5-2\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/geqo_selection_bias\",\"name\":\"geqo_selection_bias\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"12\",\"description\":\"Sets the threshold of FROM items beyond which GEQO is used.\",\"defaultValue\":\"12\",\"dataType\":\"Integer\",\"allowedValues\":\"2-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/geqo_threshold\",\"name\":\"geqo_threshold\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum allowed result for exact search by GIN.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/gin_fuzzy_search_limit\",\"name\":\"gin_fuzzy_search_limit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"Sets the maximum size of the pending list for GIN index.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"64-2097151\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/gin_pending_list_limit\",\"name\":\"gin_pending_list_limit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"try\",\"description\":\"Enables/disables the use of huge memory pages. Changing this value requires server restart. This setting is not applicable to servers having less than 4 vCores.\",\"defaultValue\":\"try\",\"dataType\":\"Enumeration\",\"allowedValues\":\"on,off,try\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/huge_pages\",\"name\":\"huge_pages\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum allowed duration of any idling transaction.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/idle_in_transaction_session_timeout\",\"name\":\"idle_in_transaction_session_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"postgres\",\"description\":\"Sets the display format for interval values.\",\"defaultValue\":\"postgres\",\"dataType\":\"Enumeration\",\"allowedValues\":\"postgres,postgres_verbose,sql_standard,iso_8601\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/IntervalStyle\",\"name\":\"IntervalStyle\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Determines whether JIT compilation may be used by PostgreSQL.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on, off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/jit\",\"name\":\"jit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"100000\",\"description\":\"Sets the query cost above which JIT compilation is activated, if enabled.\",\"defaultValue\":\"100000\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/jit_above_cost\",\"name\":\"jit_above_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"500000\",\"description\":\"Sets the query cost above which JIT compilation attempts to inline functions and operators.\",\"defaultValue\":\"500000\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/jit_inline_above_cost\",\"name\":\"jit_inline_above_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"500000\",\"description\":\"Sets the query cost above which JIT compilation applies expensive optimizations.\",\"defaultValue\":\"500000\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/jit_optimize_above_cost\",\"name\":\"jit_optimize_above_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"Sets the FROM-list size beyond which JOIN constructs are not flattened.\",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/join_collapse_limit\",\"name\":\"join_collapse_limit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"en_US.utf-8\",\"description\":\"Sets the locale for formatting monetary amounts.\",\"defaultValue\":\"en_US.utf-8\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9._ -]+\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/lc_monetary\",\"name\":\"lc_monetary\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"en_US.utf-8\",\"description\":\"Sets the locale for formatting numbers.\",\"defaultValue\":\"en_US.utf-8\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9._ -]+\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/lc_numeric\",\"name\":\"lc_numeric\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Enables backward compatibility mode for privilege checks on large objects.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/lo_compat_privileges\",\"name\":\"lo_compat_privileges\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum allowed duration (in milliseconds) of any wait for a lock. 0 turns this off.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/lock_timeout\",\"name\":\"lock_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Sets the minimum execution time above which autovacuum actions will be logged.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_autovacuum_min_duration\",\"name\":\"log_autovacuum_min_duration\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Logs each checkpoint.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_checkpoints\",\"name\":\"log_checkpoints\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs each successful connection.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_connections\",\"name\":\"log_connections\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"stderr\",\"description\":\"Sets the destination for server log output.\",\"defaultValue\":\"stderr\",\"dataType\":\"Enumeration\",\"allowedValues\":\"stderr,csvlog\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_destination\",\"name\":\"log_destination\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs end of a session, including duration.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_disconnections\",\"name\":\"log_disconnections\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs the duration of each completed SQL statement.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_duration\",\"name\":\"log_duration\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"default\",\"description\":\"Sets the verbosity of logged messages.\",\"defaultValue\":\"default\",\"dataType\":\"Enumeration\",\"allowedValues\":\"terse,default,verbose\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_error_verbosity\",\"name\":\"log_error_verbosity\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs long lock waits.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_lock_waits\",\"name\":\"log_lock_waits\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Sets the minimum execution time (in milliseconds) above which statements will be logged. -1 disables logging statement durations.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_min_duration_statement\",\"name\":\"log_min_duration_statement\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"error\",\"description\":\"Causes all statements generating error at or above this level to be logged.\",\"defaultValue\":\"error\",\"dataType\":\"Enumeration\",\"allowedValues\":\"debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_min_error_statement\",\"name\":\"log_min_error_statement\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"warning\",\"description\":\"Sets the message levels that are logged.\",\"defaultValue\":\"warning\",\"dataType\":\"Enumeration\",\"allowedValues\":\"debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_min_messages\",\"name\":\"log_min_messages\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs each replication command.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_replication_commands\",\"name\":\"log_replication_commands\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"none\",\"description\":\"Sets the type of statements logged.\",\"defaultValue\":\"none\",\"dataType\":\"Enumeration\",\"allowedValues\":\"none,ddl,mod,all\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_statement\",\"name\":\"log_statement\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"For each query, writes cumulative performance statistics to the server log.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_statement_stats\",\"name\":\"log_statement_stats\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Logs the use of temporary files larger than this number of kilobytes.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_temp_files\",\"name\":\"log_temp_files\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"216064\",\"description\":\"Sets the maximum memory to be used for maintenance operations.\",\"defaultValue\":\"216064\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-2097151\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/maintenance_work_mem\",\"name\":\"maintenance_work_mem\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"859\",\"description\":\"Sets the maximum number of concurrent connections. Any change requires restarting the server to take effect.\",\"defaultValue\":\"859\",\"dataType\":\"Integer\",\"allowedValues\":\"25-5000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_connections\",\"name\":\"max_connections\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"Sets the maximum number of locks per transaction. Any change requires restarting the server to take effect. When running a replica server, you must set this parameter to the same or higher value than on the master server.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"10-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_locks_per_transaction\",\"name\":\"max_locks_per_transaction\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"Sets the maximum number of parallel workers than can be active at one time.\",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1024\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_parallel_workers\",\"name\":\"max_parallel_workers\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Sets the maximum number of parallel processes per executor node.\",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1024\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_parallel_workers_per_gather\",\"name\":\"max_parallel_workers_per_gather\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Sets the maximum number of predicate-locked tuples per page.\",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_pred_locks_per_page\",\"name\":\"max_pred_locks_per_page\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"-2\",\"description\":\"Sets the maximum number of predicate-locked pages and tuples per relation.\",\"defaultValue\":\"-2\",\"dataType\":\"Integer\",\"allowedValues\":\"-2147483648-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_pred_locks_per_relation\",\"name\":\"max_pred_locks_per_relation\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum number of simultaneously prepared transactions. Any change requires restarting the server to take effect. When running a replica server, you must set this parameter to the same or higher value than on the master server.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-262143\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_prepared_transactions\",\"name\":\"max_prepared_transactions\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Sets the maximum number of simultaneously defined replication slots.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-262143\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_replication_slots\",\"name\":\"max_replication_slots\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"30000\",\"description\":\"Sets the maximum delay before canceling queries when a hot standby server is processing archived WAL data.\",\"defaultValue\":\"30000\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_standby_archive_delay\",\"name\":\"max_standby_archive_delay\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"30000\",\"description\":\"Sets the maximum delay before canceling queries when a hot standby server is processing streamed WAL data.\",\"defaultValue\":\"30000\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_standby_streaming_delay\",\"name\":\"max_standby_streaming_delay\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Maximum number of table synchronization workers per subscription.\",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"0-262143\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_sync_workers_per_subscription\",\"name\":\"max_sync_workers_per_subscription\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Sets the maximum number of simultaneously running WAL sender processes.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_wal_senders\",\"name\":\"max_wal_senders\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"32768\",\"description\":\"Sets the WAL size that triggers a checkpoint.\",\"defaultValue\":\"32768\",\"dataType\":\"Integer\",\"allowedValues\":\"2-65536\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_wal_size\",\"name\":\"max_wal_size\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"Sets the maximum number of background processes that the system can support.\",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"0-262143\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_worker_processes\",\"name\":\"max_worker_processes\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"Sets the minimum amount of index data for a parallel scan.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"0-715827882\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/min_parallel_index_scan_size\",\"name\":\"min_parallel_index_scan_size\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"Sets the minimum amount of table data for a parallel scan.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"0-715827882\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/min_parallel_table_scan_size\",\"name\":\"min_parallel_table_scan_size\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"80\",\"description\":\"Sets the minimum size to shrink the WAL to.\",\"defaultValue\":\"80\",\"dataType\":\"Integer\",\"allowedValues\":\"2-2097151\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/min_wal_size\",\"name\":\"min_wal_size\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Emits a warning for constructs that changed meaning since PostgreSQL 9.4.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/operator_precedence_warning\",\"name\":\"operator_precedence_warning\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1000\",\"description\":\"Sets the planner\u0027s estimate of the cost of starting up worker processes for parallel query.\",\"defaultValue\":\"1000\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/parallel_setup_cost\",\"name\":\"parallel_setup_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0.1\",\"description\":\"Sets the planner\u0027s estimate of the cost of passing each tuple (row) from worker to master backend.\",\"defaultValue\":\"0.1\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/parallel_tuple_cost\",\"name\":\"parallel_tuple_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"none\",\"description\":\"Specifies which classes of statements will be logged by session audit logging.\",\"defaultValue\":\"none\",\"dataType\":\"Set\",\"allowedValues\":\"none,read,write,function,role,ddl,misc,all\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pgaudit.log\",\"name\":\"pgaudit.log\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Specifies that session logging should be enabled in the case where all relations in a statement are in pg_catalog.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pgaudit.log_catalog\",\"name\":\"pgaudit.log_catalog\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Specifies whether audit messages should be visible to the client.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pgaudit.log_client\",\"name\":\"pgaudit.log_client\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"log\",\"description\":\"Specifies the log level that will be used for log entries.\",\"defaultValue\":\"log\",\"dataType\":\"Enumeration\",\"allowedValues\":\",debug5,debug4,debug3,debug2,debug1,info,notice,warning,log\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pgaudit.log_level\",\"name\":\"pgaudit.log_level\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Specifies that audit logging should include the parameters that were passed with the statement.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pgaudit.log_parameter\",\"name\":\"pgaudit.log_parameter\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Specifies whether session audit logging should create a separate log entry for each relation referenced in a SELECT or DML statement.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pgaudit.log_relation\",\"name\":\"pgaudit.log_relation\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Specifies whether logging will include the statement text and parameters with the first log entry for a statement/substatement combination or with every entry.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pgaudit.log_statement_once\",\"name\":\"pgaudit.log_statement_once\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Specifies the master role to use for object audit logging.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z\\\\._]*\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pgaudit.role\",\"name\":\"pgaudit.role\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"5000\",\"description\":\"Sets the maximum number of statements tracked by pg_stat_statements. Any change requires restarting the server to take effect.\",\"defaultValue\":\"5000\",\"dataType\":\"Integer\",\"allowedValues\":\"100-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pg_stat_statements.max\",\"name\":\"pg_stat_statements.max\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Save pg_stat_statements statistics across server shutdowns.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pg_stat_statements.save\",\"name\":\"pg_stat_statements.save\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"top\",\"description\":\"Controls which statements are counted by pg_stat_statements.\",\"defaultValue\":\"top\",\"dataType\":\"Enumeration\",\"allowedValues\":\"top,all,none\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pg_stat_statements.track\",\"name\":\"pg_stat_statements.track\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Selects whether utility commands are tracked by pg_stat_statements.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pg_stat_statements.track_utility\",\"name\":\"pg_stat_statements.track_utility\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"apply_remote\",\"description\":\"Sets the resolution method for any detected conflicts between local data and incoming changes.\",\"defaultValue\":\"apply_remote\",\"dataType\":\"Enumeration\",\"allowedValues\":\"error,apply_remote,keep_local,last_update_wins,first_update_wins\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pglogical.conflict_resolution\",\"name\":\"pglogical.conflict_resolution\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"log\",\"description\":\"Sets the log level for reporting detected conflicts when the pglogical.conflict_resolution is set to anything else than error.\",\"defaultValue\":\"log\",\"dataType\":\"Enumeration\",\"allowedValues\":\"debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pglogical.conflict_log_level\",\"name\":\"pglogical.conflict_log_level\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Tells PGLogical to use batch insert mechanism if possible.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pglogical.batch_inserts\",\"name\":\"pglogical.batch_inserts\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Tells PGLogical to use SPI interface to form actual SQL (INSERT, UPDATE, DELETE) statements to apply incoming changes instead of using internal low level interface.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pglogical.use_spi\",\"name\":\"pglogical.use_spi\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"DISABLE_ALL\",\"description\":\"Controls postgis GDAL enabled driver settings.\",\"defaultValue\":\"DISABLE_ALL\",\"dataType\":\"Enumeration\",\"allowedValues\":\"DISABLE_ALL,ENABLE_ALL\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/postgis.gdal_enabled_drivers\",\"name\":\"postgis.gdal_enabled_drivers\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"When generating SQL fragments, quotes all identifiers.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/quote_all_identifiers\",\"name\":\"quote_all_identifiers\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"Sets the planner\u0027s estimate of the cost of a nonsequentially fetched disk page.\",\"defaultValue\":\"4\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/random_page_cost\",\"name\":\"random_page_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables row security.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/row_security\",\"name\":\"row_security\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\\\"$user\\\", public\",\"description\":\"Sets the schema search order for names that are not schema-qualified.\",\"defaultValue\":\"\\\"$user\\\", public\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z.\\\"$, ]+\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/search_path\",\"name\":\"search_path\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Sets the planner\u0027s estimate of the cost of a sequentially fetched disk page.\",\"defaultValue\":\"1\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/seq_page_cost\",\"name\":\"seq_page_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"origin\",\"description\":\"Sets the session\u0027s behavior for triggers and rewrite rules.\",\"defaultValue\":\"origin\",\"dataType\":\"Enumeration\",\"allowedValues\":\"origin,replica,local\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/session_replication_role\",\"name\":\"session_replication_role\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Sets the maximum SSL/TLS protocol version to use.\",\"defaultValue\":\"\",\"dataType\":\"Enumeration\",\"allowedValues\":\",TLSv1.2,TLSv1.3\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/ssl_max_protocol_version\",\"name\":\"ssl_max_protocol_version\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"TLSv1.2\",\"description\":\"Sets the minimum SSL/TLS protocol version to use.\",\"defaultValue\":\"TLSv1.2\",\"dataType\":\"Enumeration\",\"allowedValues\":\"TLSv1.2,TLSv1.3\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/ssl_min_protocol_version\",\"name\":\"ssl_min_protocol_version\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Causes \u0027...\u0027 strings to treat backslashes literally.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/standard_conforming_strings\",\"name\":\"standard_conforming_strings\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum allowed duration (in milliseconds) of any statement. 0 turns this off.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/statement_timeout\",\"name\":\"statement_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables synchronized sequential scans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/synchronize_seqscans\",\"name\":\"synchronize_seqscans\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Sets the current transaction\u0027s synchronization level.\",\"defaultValue\":\"on\",\"dataType\":\"Enumeration\",\"allowedValues\":\"local,remote_write,on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/synchronous_commit\",\"name\":\"synchronous_commit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"9\",\"description\":\"Maximum number of TCP keepalive retransmits.\",\"defaultValue\":\"9\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/tcp_keepalives_count\",\"name\":\"tcp_keepalives_count\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"120\",\"description\":\"Time between issuing TCP keepalives.\",\"defaultValue\":\"120\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/tcp_keepalives_idle\",\"name\":\"tcp_keepalives_idle\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"30\",\"description\":\"Time between TCP keepalive retransmits.\",\"defaultValue\":\"30\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/tcp_keepalives_interval\",\"name\":\"tcp_keepalives_interval\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"Sets the maximum number of temporary buffers used by each database session.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"100-1073741823\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/temp_buffers\",\"name\":\"temp_buffers\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Sets the tablespace(s) to use for temporary tables and sort files.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z._]*\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/temp_tablespaces\",\"name\":\"temp_tablespaces\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"UTC\",\"description\":\"Sets the time zone for displaying and interpreting time stamps.\",\"defaultValue\":\"UTC\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9/+_-]+\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/TimeZone\",\"name\":\"TimeZone\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Collects information about executing commands.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/track_activities\",\"name\":\"track_activities\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"Sets the size reserved for pg_stat_activity.query, in bytes. Any change requires restarting the server to take effect.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"100-102400\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/track_activity_query_size\",\"name\":\"track_activity_query_size\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Collects transaction commit time. Any change requires restarting the server to take effect.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/track_commit_timestamp\",\"name\":\"track_commit_timestamp\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Collects statistics on database activity.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/track_counts\",\"name\":\"track_counts\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"none\",\"description\":\"Collects function-level statistics on database activity.\",\"defaultValue\":\"none\",\"dataType\":\"Enumeration\",\"allowedValues\":\"none,pl,all\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/track_functions\",\"name\":\"track_functions\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Collects timing statistics for database I/O activity.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/track_io_timing\",\"name\":\"track_io_timing\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Treats \\\"expr=NULL\\\" as \\\"expr IS NULL\\\".\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/transform_null_equals\",\"name\":\"transform_null_equals\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Vacuum cost delay in milliseconds.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/vacuum_cost_delay\",\"name\":\"vacuum_cost_delay\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"Vacuum cost amount available before napping.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/vacuum_cost_limit\",\"name\":\"vacuum_cost_limit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"20\",\"description\":\"Vacuum cost for a page dirtied by vacuum.\",\"defaultValue\":\"20\",\"dataType\":\"Integer\",\"allowedValues\":\"0-10000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/vacuum_cost_page_dirty\",\"name\":\"vacuum_cost_page_dirty\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Vacuum cost for a page found in the buffer cache.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0-10000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/vacuum_cost_page_hit\",\"name\":\"vacuum_cost_page_hit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Vacuum cost for a page not found in the buffer cache.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-10000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/vacuum_cost_page_miss\",\"name\":\"vacuum_cost_page_miss\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Number of transactions by which VACUUM and HOT cleanup should be deferred, if any.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/vacuum_defer_cleanup_age\",\"name\":\"vacuum_defer_cleanup_age\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"50000000\",\"description\":\"Minimum age at which VACUUM should freeze a table row.\",\"defaultValue\":\"50000000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/vacuum_freeze_min_age\",\"name\":\"vacuum_freeze_min_age\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"150000000\",\"description\":\"Age at which VACUUM should scan whole table to freeze tuples.\",\"defaultValue\":\"150000000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2000000000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/vacuum_freeze_table_age\",\"name\":\"vacuum_freeze_table_age\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"5000000\",\"description\":\"Minimum age at which VACUUM should freeze a MultiXactId in a table row.\",\"defaultValue\":\"5000000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/vacuum_multixact_freeze_min_age\",\"name\":\"vacuum_multixact_freeze_min_age\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"150000000\",\"description\":\"Multixact age at which VACUUM should scan whole table to freeze tuples.\",\"defaultValue\":\"150000000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2000000000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/vacuum_multixact_freeze_table_age\",\"name\":\"vacuum_multixact_freeze_table_age\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Compresses full-page writes written in WAL file.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/wal_compression\",\"name\":\"wal_compression\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"replica\",\"description\":\"It determines how much information is written to the WAL.\",\"defaultValue\":\"replica\",\"dataType\":\"Enumeration\",\"allowedValues\":\"replica,logical\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/wal_level\",\"name\":\"wal_level\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Sets the maximum interval between WAL receiver status reports to the primary.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/wal_receiver_status_interval\",\"name\":\"wal_receiver_status_interval\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"Time between WAL flushes performed in the WAL writer.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/wal_writer_delay\",\"name\":\"wal_writer_delay\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"128\",\"description\":\"Amount of WAL written out by WAL writer that triggers a flush.\",\"defaultValue\":\"128\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/wal_writer_flush_after\",\"name\":\"wal_writer_flush_after\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"Sets the amount of memory to be used by internal sort operations and hash tables before writing to temporary disk files.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-2097151\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/work_mem\",\"name\":\"work_mem\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"base64\",\"description\":\"Sets how binary values are to be encoded in XML.\",\"defaultValue\":\"base64\",\"dataType\":\"Enumeration\",\"allowedValues\":\"base64,hex\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/xmlbinary\",\"name\":\"xmlbinary\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"content\",\"description\":\"Sets whether XML data in implicit parsing and serialization operations is to be considered as documents or content fragments.\",\"defaultValue\":\"content\",\"dataType\":\"Enumeration\",\"allowedValues\":\"content,document\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/xmloption\",\"name\":\"xmloption\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"}]}" } }, - "Get-AzPostgreSqlFlexibleServerConfiguration+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/configurations/TimeZone?api-version=2020-02-14-preview+1": { + "Get-AzPostgreSqlFlexibleServerConfiguration+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/configurations/TimeZone?api-version=2020-02-14-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/configurations/TimeZone?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/configurations/TimeZone?api-version=2020-02-14-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "6" ], @@ -74,13 +74,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"value\":\"UTC\",\"description\":\"Sets the time zone for displaying and interpreting time stamps.\",\"defaultValue\":\"UTC\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9/+_-]+\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/TimeZone\",\"name\":\"TimeZone\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"}" + "Content": "{\"properties\":{\"value\":\"UTC\",\"description\":\"Sets the time zone for displaying and interpreting time stamps.\",\"defaultValue\":\"UTC\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9/+_-]+\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/TimeZone\",\"name\":\"TimeZone\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"}" } }, - "Get-AzPostgreSqlFlexibleServerConfiguration+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/configurations/TimeZone?api-version=2020-02-14-preview+1": { + "Get-AzPostgreSqlFlexibleServerConfiguration+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/configurations/TimeZone?api-version=2020-02-14-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/configurations/TimeZone?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/configurations/TimeZone?api-version=2020-02-14-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "7" ], @@ -113,7 +113,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"value\":\"UTC\",\"description\":\"Sets the time zone for displaying and interpreting time stamps.\",\"defaultValue\":\"UTC\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9/+_-]+\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/TimeZone\",\"name\":\"TimeZone\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"}" + "Content": "{\"properties\":{\"value\":\"UTC\",\"description\":\"Sets the time zone for displaying and interpreting time stamps.\",\"defaultValue\":\"UTC\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9/+_-]+\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/TimeZone\",\"name\":\"TimeZone\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"}" } } } \ No newline at end of file diff --git a/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerFirewallRule.Recording.json b/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerFirewallRule.Recording.json index 158f816e9780..3b3a55c5f8d5 100644 --- a/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerFirewallRule.Recording.json +++ b/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerFirewallRule.Recording.json @@ -1,8 +1,8 @@ { - "Get-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { + "Get-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -76,10 +76,10 @@ "Content": "{\"name\":\"ae61af99-11f5-425e-9496-adae59a1730b\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T06:42:42.25Z\"}" } }, - "Get-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { + "Get-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -115,10 +115,10 @@ "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}" } }, - "Get-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules?api-version=2020-02-14-preview+4": { + "Get-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules?api-version=2020-02-14-preview+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules?api-version=2020-02-14-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "11" ], @@ -154,10 +154,10 @@ "Content": "{\"value\":[{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}]}" } }, - "Get-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { + "Get-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "12" ], @@ -193,10 +193,10 @@ "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}" } }, - "Get-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { + "Get-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "13" ], @@ -232,10 +232,10 @@ "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}" } }, - "Get-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+GetViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+2": { + "Get-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+GetViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+2": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "14" ], diff --git a/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerLocationBasedCapability.Tests.ps1 b/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerLocationBasedCapability.Tests.ps1 deleted file mode 100644 index e71464d5a91b..000000000000 --- a/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerLocationBasedCapability.Tests.ps1 +++ /dev/null @@ -1,22 +0,0 @@ -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzPostgreSqlFlexibleServerLocationBasedCapability.Recording.json' -$currentPath = $PSScriptRoot -while(-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - -Describe 'Get-AzPostgreSqlFlexibleServerLocationBasedCapability' { - It 'Get' -skip { - { throw [System.NotImplementedException] } | Should -Not -Throw - } - - It 'GetViaIdentity' -skip { - { throw [System.NotImplementedException] } | Should -Not -Throw - } -} diff --git a/src/PostgreSql/test/Get-AzPostgreSqlReplica.Recording.json b/src/PostgreSql/test/Get-AzPostgreSqlReplica.Recording.json index 638be0620af5..0d4256242eca 100644 --- a/src/PostgreSql/test/Get-AzPostgreSqlReplica.Recording.json +++ b/src/PostgreSql/test/Get-AzPostgreSqlReplica.Recording.json @@ -1,8 +1,8 @@ { - "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+1": { + "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "44" ], @@ -35,14 +35,14 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" } }, - "Get-AzPostgreSqlReplica+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01+2": { + "Get-AzPostgreSqlReplica+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01+2": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"createMode\": \"Replica\",\r\n \"sourceServerId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\"\r\n },\r\n \"location\": \"eastus\"\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"createMode\": \"Replica\",\r\n \"sourceServerId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\"\r\n },\r\n \"location\": \"eastus\"\r\n}", "Headers": { }, "ContentHeaders": { @@ -55,9 +55,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01" ], "x-ms-request-id": [ "c0cffee2-4834-48e2-b55e-792ffed83efd" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1193" ], @@ -75,10 +75,10 @@ "Content": "{\"operation\":\"CreateElasticServerContinuousCopy\",\"startTime\":\"2020-09-25T11:03:11.76Z\"}" } }, - "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+3": { + "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "45", "46" ], @@ -115,10 +115,10 @@ "Content": "{\"name\":\"c0cffee2-4834-48e2-b55e-792ffed83efd\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:03:11.76Z\"}" } }, - "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+4": { + "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "45", "46", "47" ], @@ -155,10 +155,10 @@ "Content": "{\"name\":\"c0cffee2-4834-48e2-b55e-792ffed83efd\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:03:11.76Z\"}" } }, - "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+5": { + "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "45", "46", "47", "48" ], @@ -195,10 +195,10 @@ "Content": "{\"name\":\"c0cffee2-4834-48e2-b55e-792ffed83efd\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:03:11.76Z\"}" } }, - "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+6": { + "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "45", "46", "47", "48", "49" ], @@ -235,10 +235,10 @@ "Content": "{\"name\":\"c0cffee2-4834-48e2-b55e-792ffed83efd\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:03:11.76Z\"}" } }, - "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+7": { + "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "45", "46", "47", "48", "49", "50" ], @@ -275,10 +275,10 @@ "Content": "{\"name\":\"c0cffee2-4834-48e2-b55e-792ffed83efd\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:03:11.76Z\"}" } }, - "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+8": { + "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "45", "46", "47", "48", "49", "50", "51" ], @@ -315,10 +315,10 @@ "Content": "{\"name\":\"c0cffee2-4834-48e2-b55e-792ffed83efd\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:03:11.76Z\"}" } }, - "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+9": { + "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "45", "46", "47", "48", "49", "50", "51", "52" ], @@ -355,10 +355,10 @@ "Content": "{\"name\":\"c0cffee2-4834-48e2-b55e-792ffed83efd\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:03:11.76Z\"}" } }, - "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+10": { + "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "45", "46", "47", "48", "49", "50", "51", "52", "53" ], @@ -395,10 +395,10 @@ "Content": "{\"name\":\"c0cffee2-4834-48e2-b55e-792ffed83efd\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:03:11.76Z\"}" } }, - "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+11": { + "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "45", "46", "47", "48", "49", "50", "51", "52", "53", "54" ], @@ -435,10 +435,10 @@ "Content": "{\"name\":\"c0cffee2-4834-48e2-b55e-792ffed83efd\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:03:11.76Z\"}" } }, - "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+12": { + "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55" ], @@ -475,10 +475,10 @@ "Content": "{\"name\":\"c0cffee2-4834-48e2-b55e-792ffed83efd\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:03:11.76Z\"}" } }, - "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+13": { + "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55", "56" ], @@ -515,10 +515,10 @@ "Content": "{\"name\":\"c0cffee2-4834-48e2-b55e-792ffed83efd\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:03:11.76Z\"}" } }, - "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+14": { + "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+14": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55", "56", "57" ], @@ -555,10 +555,10 @@ "Content": "{\"name\":\"c0cffee2-4834-48e2-b55e-792ffed83efd\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:03:11.76Z\"}" } }, - "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+15": { + "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+15": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55", "56", "57", "58" ], @@ -595,10 +595,10 @@ "Content": "{\"name\":\"c0cffee2-4834-48e2-b55e-792ffed83efd\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:03:11.76Z\"}" } }, - "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01+16": { + "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01+16": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55", "56", "57", "58", "59" ], @@ -631,13 +631,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100-replica.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:15:13.76+00:00\",\"replicationRole\":\"Replica\",\"masterServerId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-replica\",\"name\":\"postgresql-test-100-replica\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100-replica.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:15:13.76+00:00\",\"replicationRole\":\"Replica\",\"masterServerId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-replica\",\"name\":\"postgresql-test-100-replica\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" } }, - "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/Replicas?api-version=2017-12-01+17": { + "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/Replicas?api-version=2017-12-01+17": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/Replicas?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/Replicas?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "60" ], @@ -670,13 +670,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100-replica.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:15:13.76+00:00\",\"replicationRole\":\"Replica\",\"masterServerId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-replica\",\"name\":\"postgresql-test-100-replica\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}]}" + "Content": "{\"value\":[{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100-replica.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:15:13.76+00:00\",\"replicationRole\":\"Replica\",\"masterServerId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-replica\",\"name\":\"postgresql-test-100-replica\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}]}" } }, - "Get-AzPostgreSqlReplica+[NoContext]+List+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01+18": { + "Get-AzPostgreSqlReplica+[NoContext]+List+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01+18": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "61" ], @@ -695,9 +695,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/97d13a2d-cdfa-43a0-a9f7-d1268dede627?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/97d13a2d-cdfa-43a0-a9f7-d1268dede627?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/97d13a2d-cdfa-43a0-a9f7-d1268dede627?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/97d13a2d-cdfa-43a0-a9f7-d1268dede627?api-version=2017-12-01" ], "x-ms-request-id": [ "97d13a2d-cdfa-43a0-a9f7-d1268dede627" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14996" ], @@ -715,10 +715,10 @@ "Content": "{\"operation\":\"DropElasticServer\",\"startTime\":\"2020-09-25T11:09:48.2Z\"}" } }, - "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/97d13a2d-cdfa-43a0-a9f7-d1268dede627?api-version=2017-12-01+19": { + "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/97d13a2d-cdfa-43a0-a9f7-d1268dede627?api-version=2017-12-01+19": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/97d13a2d-cdfa-43a0-a9f7-d1268dede627?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/97d13a2d-cdfa-43a0-a9f7-d1268dede627?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "61", "62" ], @@ -755,10 +755,10 @@ "Content": "{\"name\":\"97d13a2d-cdfa-43a0-a9f7-d1268dede627\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:09:48.2Z\"}" } }, - "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/97d13a2d-cdfa-43a0-a9f7-d1268dede627?api-version=2017-12-01+20": { + "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/97d13a2d-cdfa-43a0-a9f7-d1268dede627?api-version=2017-12-01+20": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/97d13a2d-cdfa-43a0-a9f7-d1268dede627?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/97d13a2d-cdfa-43a0-a9f7-d1268dede627?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "61", "62", "63" ], diff --git a/src/PostgreSql/test/Get-AzPostgreSqlServer.Recording.json b/src/PostgreSql/test/Get-AzPostgreSqlServer.Recording.json index 9c5e5a1a46d8..6e948e707f4c 100644 --- a/src/PostgreSql/test/Get-AzPostgreSqlServer.Recording.json +++ b/src/PostgreSql/test/Get-AzPostgreSqlServer.Recording.json @@ -1,8 +1,8 @@ { - "Get-AzPostgreSqlServer+[NoContext]+List1+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/servers?api-version=2017-12-01+1": { + "Get-AzPostgreSqlServer+[NoContext]+List1+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/servers?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/servers?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/servers?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "64" ], @@ -35,13 +35,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}]}" + "Content": "{\"value\":[{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}]}" } }, - "Get-AzPostgreSqlServer+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+1": { + "Get-AzPostgreSqlServer+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "65" ], @@ -74,13 +74,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" } }, - "Get-AzPostgreSqlServer+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers?api-version=2017-12-01+1": { + "Get-AzPostgreSqlServer+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "66" ], @@ -113,13 +113,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}]}" + "Content": "{\"value\":[{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}]}" } }, - "Get-AzPostgreSqlServer+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+1": { + "Get-AzPostgreSqlServer+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "67" ], @@ -152,7 +152,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" } } } \ No newline at end of file diff --git a/src/PostgreSql/test/Get-AzPostgreSqlServer.Tests.ps1 b/src/PostgreSql/test/Get-AzPostgreSqlServer.Tests.ps1 index 53c01a490e3e..06fa3dbe1107 100644 --- a/src/PostgreSql/test/Get-AzPostgreSqlServer.Tests.ps1 +++ b/src/PostgreSql/test/Get-AzPostgreSqlServer.Tests.ps1 @@ -28,7 +28,7 @@ Describe 'Get-AzPostgreSqlServer' { } It 'GetViaIdentity' { - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBforPostgreSQL/servers/$($env.serverName)" + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSQL/servers/$($env.serverName)" $servers = Get-AzPostgreSqlServer -InputObject $ID $servers.Name | Should -Be $env.serverName } diff --git a/src/PostgreSql/test/Get-AzPostgreSqlVirtualNetworkRule.Recording.json b/src/PostgreSql/test/Get-AzPostgreSqlVirtualNetworkRule.Recording.json index eae9479b3d2b..5079e68276a3 100644 --- a/src/PostgreSql/test/Get-AzPostgreSqlVirtualNetworkRule.Recording.json +++ b/src/PostgreSql/test/Get-AzPostgreSqlVirtualNetworkRule.Recording.json @@ -1,9 +1,9 @@ { - "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+1": { + "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/faa70674-c1b2-47c7-822e-85b027f16ff0?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/faa70674-c1b2-47c7-822e-85b027f16ff0?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/faa70674-c1b2-47c7-822e-85b027f16ff0?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/faa70674-c1b2-47c7-822e-85b027f16ff0?api-version=2017-12-01" ], "x-ms-request-id": [ "faa70674-c1b2-47c7-822e-85b027f16ff0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1192" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-09-25T11:10:06.73Z\"}" } }, - "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/faa70674-c1b2-47c7-822e-85b027f16ff0?api-version=2017-12-01+2": { + "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/faa70674-c1b2-47c7-822e-85b027f16ff0?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/faa70674-c1b2-47c7-822e-85b027f16ff0?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/faa70674-c1b2-47c7-822e-85b027f16ff0?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "68", "69" ], @@ -76,10 +76,10 @@ "Content": "{\"name\":\"faa70674-c1b2-47c7-822e-85b027f16ff0\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:10:06.73Z\"}" } }, - "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+3": { + "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "68", "69", "70" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBforPostgreSQL/servers/virtualNetworkRules\"}" + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBForPostgreSQL/servers/virtualNetworkRules\"}" } }, - "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules?api-version=2017-12-01+4": { + "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "71" ], @@ -151,13 +151,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBforPostgreSQL/servers/virtualNetworkRules\"}]}" + "Content": "{\"value\":[{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBForPostgreSQL/servers/virtualNetworkRules\"}]}" } }, - "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+List+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+5": { + "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+List+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+5": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "72" ], @@ -176,9 +176,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/cbbf803d-b57f-4f31-b873-60ba9bf08f12?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/cbbf803d-b57f-4f31-b873-60ba9bf08f12?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/cbbf803d-b57f-4f31-b873-60ba9bf08f12?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/cbbf803d-b57f-4f31-b873-60ba9bf08f12?api-version=2017-12-01" ], "x-ms-request-id": [ "cbbf803d-b57f-4f31-b873-60ba9bf08f12" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14995" ], @@ -196,10 +196,10 @@ "Content": "{\"operation\":\"DropElasticServerVnetFirewallRule\",\"startTime\":\"2020-09-25T11:10:39.513Z\"}" } }, - "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/cbbf803d-b57f-4f31-b873-60ba9bf08f12?api-version=2017-12-01+6": { + "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/cbbf803d-b57f-4f31-b873-60ba9bf08f12?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/cbbf803d-b57f-4f31-b873-60ba9bf08f12?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/cbbf803d-b57f-4f31-b873-60ba9bf08f12?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "72", "73" ], @@ -236,10 +236,10 @@ "Content": "{\"name\":\"cbbf803d-b57f-4f31-b873-60ba9bf08f12\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:10:39.513Z\"}" } }, - "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/cbbf803d-b57f-4f31-b873-60ba9bf08f12?api-version=2017-12-01+7": { + "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/cbbf803d-b57f-4f31-b873-60ba9bf08f12?api-version=2017-12-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/cbbf803d-b57f-4f31-b873-60ba9bf08f12?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/cbbf803d-b57f-4f31-b873-60ba9bf08f12?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "72", "73", "74" ], @@ -274,11 +274,11 @@ "Content": null } }, - "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+Get+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+1": { + "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+Get+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { @@ -291,9 +291,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/282aa76f-bf70-42a3-9010-91715c9329c6?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/282aa76f-bf70-42a3-9010-91715c9329c6?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/282aa76f-bf70-42a3-9010-91715c9329c6?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/282aa76f-bf70-42a3-9010-91715c9329c6?api-version=2017-12-01" ], "x-ms-request-id": [ "282aa76f-bf70-42a3-9010-91715c9329c6" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1191" ], @@ -311,10 +311,10 @@ "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-09-25T11:10:56.713Z\"}" } }, - "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/282aa76f-bf70-42a3-9010-91715c9329c6?api-version=2017-12-01+2": { + "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/282aa76f-bf70-42a3-9010-91715c9329c6?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/282aa76f-bf70-42a3-9010-91715c9329c6?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/282aa76f-bf70-42a3-9010-91715c9329c6?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "75", "76" ], @@ -351,10 +351,10 @@ "Content": "{\"name\":\"282aa76f-bf70-42a3-9010-91715c9329c6\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:10:56.713Z\"}" } }, - "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+3": { + "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "75", "76", "77" ], @@ -387,13 +387,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBforPostgreSQL/servers/virtualNetworkRules\"}" + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBForPostgreSQL/servers/virtualNetworkRules\"}" } }, - "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+4": { + "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "78" ], @@ -426,13 +426,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBforPostgreSQL/servers/virtualNetworkRules\"}" + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBForPostgreSQL/servers/virtualNetworkRules\"}" } }, - "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+Get+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+5": { + "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+Get+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+5": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "79" ], @@ -451,9 +451,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/e80870ff-ad55-4f4c-a986-386c5e3e05ad?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/e80870ff-ad55-4f4c-a986-386c5e3e05ad?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e80870ff-ad55-4f4c-a986-386c5e3e05ad?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e80870ff-ad55-4f4c-a986-386c5e3e05ad?api-version=2017-12-01" ], "x-ms-request-id": [ "e80870ff-ad55-4f4c-a986-386c5e3e05ad" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14994" ], @@ -471,10 +471,10 @@ "Content": "{\"operation\":\"DropElasticServerVnetFirewallRule\",\"startTime\":\"2020-09-25T11:11:29.45Z\"}" } }, - "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e80870ff-ad55-4f4c-a986-386c5e3e05ad?api-version=2017-12-01+6": { + "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e80870ff-ad55-4f4c-a986-386c5e3e05ad?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e80870ff-ad55-4f4c-a986-386c5e3e05ad?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e80870ff-ad55-4f4c-a986-386c5e3e05ad?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "79", "80" ], @@ -511,10 +511,10 @@ "Content": "{\"name\":\"e80870ff-ad55-4f4c-a986-386c5e3e05ad\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:11:29.45Z\"}" } }, - "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/e80870ff-ad55-4f4c-a986-386c5e3e05ad?api-version=2017-12-01+7": { + "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/e80870ff-ad55-4f4c-a986-386c5e3e05ad?api-version=2017-12-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/e80870ff-ad55-4f4c-a986-386c5e3e05ad?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/e80870ff-ad55-4f4c-a986-386c5e3e05ad?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "79", "80", "81" ], @@ -549,11 +549,11 @@ "Content": null } }, - "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+1": { + "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { @@ -566,9 +566,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/a3e83268-acc5-49df-a0c4-b0c4eadb88d2?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/a3e83268-acc5-49df-a0c4-b0c4eadb88d2?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a3e83268-acc5-49df-a0c4-b0c4eadb88d2?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/a3e83268-acc5-49df-a0c4-b0c4eadb88d2?api-version=2017-12-01" ], "x-ms-request-id": [ "a3e83268-acc5-49df-a0c4-b0c4eadb88d2" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1190" ], @@ -586,10 +586,10 @@ "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-09-25T11:11:46.7Z\"}" } }, - "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a3e83268-acc5-49df-a0c4-b0c4eadb88d2?api-version=2017-12-01+2": { + "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/a3e83268-acc5-49df-a0c4-b0c4eadb88d2?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a3e83268-acc5-49df-a0c4-b0c4eadb88d2?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/a3e83268-acc5-49df-a0c4-b0c4eadb88d2?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "82", "83" ], @@ -626,10 +626,10 @@ "Content": "{\"name\":\"a3e83268-acc5-49df-a0c4-b0c4eadb88d2\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:11:46.7Z\"}" } }, - "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+3": { + "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "82", "83", "84" ], @@ -662,13 +662,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBforPostgreSQL/servers/virtualNetworkRules\"}" + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBForPostgreSQL/servers/virtualNetworkRules\"}" } }, - "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+4": { + "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "85" ], @@ -701,13 +701,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBforPostgreSQL/servers/virtualNetworkRules\"}" + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBForPostgreSQL/servers/virtualNetworkRules\"}" } }, - "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+5": { + "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+5": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "86" ], @@ -726,9 +726,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/92cbe85d-2b82-4c33-9d43-7ecc5f2b652b?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/92cbe85d-2b82-4c33-9d43-7ecc5f2b652b?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/92cbe85d-2b82-4c33-9d43-7ecc5f2b652b?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/92cbe85d-2b82-4c33-9d43-7ecc5f2b652b?api-version=2017-12-01" ], "x-ms-request-id": [ "92cbe85d-2b82-4c33-9d43-7ecc5f2b652b" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14993" ], @@ -746,10 +746,10 @@ "Content": "{\"operation\":\"DropElasticServerVnetFirewallRule\",\"startTime\":\"2020-09-25T11:12:19.373Z\"}" } }, - "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/92cbe85d-2b82-4c33-9d43-7ecc5f2b652b?api-version=2017-12-01+6": { + "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/92cbe85d-2b82-4c33-9d43-7ecc5f2b652b?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/92cbe85d-2b82-4c33-9d43-7ecc5f2b652b?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/92cbe85d-2b82-4c33-9d43-7ecc5f2b652b?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "86", "87" ], @@ -786,10 +786,10 @@ "Content": "{\"name\":\"92cbe85d-2b82-4c33-9d43-7ecc5f2b652b\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:12:19.373Z\"}" } }, - "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/92cbe85d-2b82-4c33-9d43-7ecc5f2b652b?api-version=2017-12-01+7": { + "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/92cbe85d-2b82-4c33-9d43-7ecc5f2b652b?api-version=2017-12-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/92cbe85d-2b82-4c33-9d43-7ecc5f2b652b?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/92cbe85d-2b82-4c33-9d43-7ecc5f2b652b?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "86", "87", "88" ], diff --git a/src/PostgreSql/test/Get-AzPostgreSqlVirtualNetworkRule.Tests.ps1 b/src/PostgreSql/test/Get-AzPostgreSqlVirtualNetworkRule.Tests.ps1 index f5603a6a4a39..2f6cd40328d3 100644 --- a/src/PostgreSql/test/Get-AzPostgreSqlVirtualNetworkRule.Tests.ps1 +++ b/src/PostgreSql/test/Get-AzPostgreSqlVirtualNetworkRule.Tests.ps1 @@ -31,7 +31,7 @@ Describe 'Get-AzPostgreSqlVirtualNetworkRule' { It 'GetViaIdentity' { $VnetID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1" New-AzPostgreSqlVirtualNetworkRule -Name $env.VNetName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -SubnetId $VnetID - $RuleID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBforPostgreSQL/servers/$($env.serverName)/virtualNetworkRules/$($env.VNetName)" + $RuleID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSQL/servers/$($env.serverName)/virtualNetworkRules/$($env.VNetName)" $rule = Get-AzPostgreSqlVirtualNetworkRule -InputObject $RuleID $rule.VirtualNetworkSubnetId | Should -Be $VnetID Remove-AzPostgreSqlVirtualNetworkRule -Name $env.VNetName -ResourceGroupName $env.resourceGroup-ServerName $env.serverName diff --git a/src/PostgreSql/test/New-AzPostgreSqlFirewallRule.Recording.json b/src/PostgreSql/test/New-AzPostgreSqlFirewallRule.Recording.json index 39f4d647497c..e4e3868ad844 100644 --- a/src/PostgreSql/test/New-AzPostgreSqlFirewallRule.Recording.json +++ b/src/PostgreSql/test/New-AzPostgreSqlFirewallRule.Recording.json @@ -1,8 +1,8 @@ { - "New-AzPostgreSqlFirewallRule+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+1": { + "New-AzPostgreSqlFirewallRule+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/d1b66176-b61f-4054-a64c-d2eecaa85152?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/d1b66176-b61f-4054-a64c-d2eecaa85152?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/d1b66176-b61f-4054-a64c-d2eecaa85152?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/d1b66176-b61f-4054-a64c-d2eecaa85152?api-version=2017-12-01" ], "x-ms-request-id": [ "d1b66176-b61f-4054-a64c-d2eecaa85152" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1189" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-09-25T11:12:36.997Z\"}" } }, - "New-AzPostgreSqlFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/d1b66176-b61f-4054-a64c-d2eecaa85152?api-version=2017-12-01+2": { + "New-AzPostgreSqlFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/d1b66176-b61f-4054-a64c-d2eecaa85152?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/d1b66176-b61f-4054-a64c-d2eecaa85152?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/d1b66176-b61f-4054-a64c-d2eecaa85152?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "89", "90" ], @@ -76,10 +76,10 @@ "Content": "{\"name\":\"d1b66176-b61f-4054-a64c-d2eecaa85152\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:12:36.997Z\"}" } }, - "New-AzPostgreSqlFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+3": { + "New-AzPostgreSqlFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "89", "90", "91" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBForPostgreSQL/servers/firewallRules\"}" } }, - "New-AzPostgreSqlFirewallRule+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+4": { + "New-AzPostgreSqlFirewallRule+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "92" ], @@ -137,9 +137,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/a66d8fec-e7ca-4d4c-97a4-14d1f0536a47?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/a66d8fec-e7ca-4d4c-97a4-14d1f0536a47?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a66d8fec-e7ca-4d4c-97a4-14d1f0536a47?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/a66d8fec-e7ca-4d4c-97a4-14d1f0536a47?api-version=2017-12-01" ], "x-ms-request-id": [ "a66d8fec-e7ca-4d4c-97a4-14d1f0536a47" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14992" ], @@ -157,10 +157,10 @@ "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-09-25T11:12:54.293Z\"}" } }, - "New-AzPostgreSqlFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a66d8fec-e7ca-4d4c-97a4-14d1f0536a47?api-version=2017-12-01+5": { + "New-AzPostgreSqlFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/a66d8fec-e7ca-4d4c-97a4-14d1f0536a47?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a66d8fec-e7ca-4d4c-97a4-14d1f0536a47?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/a66d8fec-e7ca-4d4c-97a4-14d1f0536a47?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "92", "93" ], @@ -197,10 +197,10 @@ "Content": "{\"name\":\"a66d8fec-e7ca-4d4c-97a4-14d1f0536a47\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:12:54.293Z\"}" } }, - "New-AzPostgreSqlFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/a66d8fec-e7ca-4d4c-97a4-14d1f0536a47?api-version=2017-12-01+6": { + "New-AzPostgreSqlFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/a66d8fec-e7ca-4d4c-97a4-14d1f0536a47?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/a66d8fec-e7ca-4d4c-97a4-14d1f0536a47?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/a66d8fec-e7ca-4d4c-97a4-14d1f0536a47?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "92", "93", "94" ], @@ -235,10 +235,10 @@ "Content": null } }, - "New-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+1": { + "New-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.1\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -252,9 +252,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/43884738-b885-4155-a8a1-d628cc501662?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/43884738-b885-4155-a8a1-d628cc501662?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/43884738-b885-4155-a8a1-d628cc501662?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/43884738-b885-4155-a8a1-d628cc501662?api-version=2017-12-01" ], "x-ms-request-id": [ "43884738-b885-4155-a8a1-d628cc501662" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1188" ], @@ -272,10 +272,10 @@ "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-09-25T11:13:12.497Z\"}" } }, - "New-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/43884738-b885-4155-a8a1-d628cc501662?api-version=2017-12-01+2": { + "New-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/43884738-b885-4155-a8a1-d628cc501662?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/43884738-b885-4155-a8a1-d628cc501662?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/43884738-b885-4155-a8a1-d628cc501662?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "95", "96" ], @@ -312,10 +312,10 @@ "Content": "{\"name\":\"43884738-b885-4155-a8a1-d628cc501662\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:13:12.497Z\"}" } }, - "New-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+3": { + "New-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "95", "96", "97" ], @@ -348,13 +348,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.1\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.1\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBForPostgreSQL/servers/firewallRules\"}" } }, - "New-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+4": { + "New-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "98" ], @@ -373,9 +373,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/15fc7108-a3bf-4160-b347-129048fccd56?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/15fc7108-a3bf-4160-b347-129048fccd56?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/15fc7108-a3bf-4160-b347-129048fccd56?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/15fc7108-a3bf-4160-b347-129048fccd56?api-version=2017-12-01" ], "x-ms-request-id": [ "15fc7108-a3bf-4160-b347-129048fccd56" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14991" ], @@ -393,10 +393,10 @@ "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-09-25T11:13:29.81Z\"}" } }, - "New-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/15fc7108-a3bf-4160-b347-129048fccd56?api-version=2017-12-01+5": { + "New-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/15fc7108-a3bf-4160-b347-129048fccd56?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/15fc7108-a3bf-4160-b347-129048fccd56?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/15fc7108-a3bf-4160-b347-129048fccd56?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "98", "99" ], @@ -433,10 +433,10 @@ "Content": "{\"name\":\"15fc7108-a3bf-4160-b347-129048fccd56\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:13:29.81Z\"}" } }, - "New-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/15fc7108-a3bf-4160-b347-129048fccd56?api-version=2017-12-01+6": { + "New-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/15fc7108-a3bf-4160-b347-129048fccd56?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/15fc7108-a3bf-4160-b347-129048fccd56?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/15fc7108-a3bf-4160-b347-129048fccd56?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "98", "99", "100" ], @@ -471,10 +471,10 @@ "Content": null } }, - "New-AzPostgreSqlFirewallRule+[NoContext]+AllowAll+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01+1": { + "New-AzPostgreSqlFirewallRule+[NoContext]+AllowAll+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"255.255.255.255\"\r\n }\r\n}", "Headers": { }, @@ -488,9 +488,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/a3bfb5af-c8af-49c0-b642-c740b5f11fa8?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/a3bfb5af-c8af-49c0-b642-c740b5f11fa8?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a3bfb5af-c8af-49c0-b642-c740b5f11fa8?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/a3bfb5af-c8af-49c0-b642-c740b5f11fa8?api-version=2017-12-01" ], "x-ms-request-id": [ "a3bfb5af-c8af-49c0-b642-c740b5f11fa8" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1187" ], @@ -508,10 +508,10 @@ "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-09-25T11:13:47.03Z\"}" } }, - "New-AzPostgreSqlFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a3bfb5af-c8af-49c0-b642-c740b5f11fa8?api-version=2017-12-01+2": { + "New-AzPostgreSqlFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/a3bfb5af-c8af-49c0-b642-c740b5f11fa8?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a3bfb5af-c8af-49c0-b642-c740b5f11fa8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/a3bfb5af-c8af-49c0-b642-c740b5f11fa8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "101", "102" ], @@ -548,10 +548,10 @@ "Content": "{\"name\":\"a3bfb5af-c8af-49c0-b642-c740b5f11fa8\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:13:47.03Z\"}" } }, - "New-AzPostgreSqlFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01+3": { + "New-AzPostgreSqlFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "101", "102", "103" ], @@ -584,13 +584,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"255.255.255.255\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19\",\"name\":\"AllowAll_2020-08-11_21-28-19\",\"type\":\"Microsoft.DBforPostgreSQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"255.255.255.255\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19\",\"name\":\"AllowAll_2020-08-11_21-28-19\",\"type\":\"Microsoft.DBForPostgreSQL/servers/firewallRules\"}" } }, - "New-AzPostgreSqlFirewallRule+[NoContext]+AllowAll+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01+4": { + "New-AzPostgreSqlFirewallRule+[NoContext]+AllowAll+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "104" ], @@ -609,9 +609,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/ec532379-2224-4b0d-b371-cdfad915c7b2?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/ec532379-2224-4b0d-b371-cdfad915c7b2?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ec532379-2224-4b0d-b371-cdfad915c7b2?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/ec532379-2224-4b0d-b371-cdfad915c7b2?api-version=2017-12-01" ], "x-ms-request-id": [ "ec532379-2224-4b0d-b371-cdfad915c7b2" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14990" ], @@ -629,10 +629,10 @@ "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-09-25T11:14:04.543Z\"}" } }, - "New-AzPostgreSqlFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ec532379-2224-4b0d-b371-cdfad915c7b2?api-version=2017-12-01+5": { + "New-AzPostgreSqlFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/ec532379-2224-4b0d-b371-cdfad915c7b2?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ec532379-2224-4b0d-b371-cdfad915c7b2?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/ec532379-2224-4b0d-b371-cdfad915c7b2?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "104", "105" ], @@ -669,10 +669,10 @@ "Content": "{\"name\":\"ec532379-2224-4b0d-b371-cdfad915c7b2\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:14:04.543Z\"}" } }, - "New-AzPostgreSqlFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/ec532379-2224-4b0d-b371-cdfad915c7b2?api-version=2017-12-01+6": { + "New-AzPostgreSqlFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/ec532379-2224-4b0d-b371-cdfad915c7b2?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/ec532379-2224-4b0d-b371-cdfad915c7b2?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/ec532379-2224-4b0d-b371-cdfad915c7b2?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "104", "105", "106" ], diff --git a/src/PostgreSql/test/New-AzPostgreSqlFlexibleServer.Recording.json b/src/PostgreSql/test/New-AzPostgreSqlFlexibleServer.Recording.json index 56486409d206..dbd6dbcf6584 100644 --- a/src/PostgreSql/test/New-AzPostgreSqlFlexibleServer.Recording.json +++ b/src/PostgreSql/test/New-AzPostgreSqlFlexibleServer.Recording.json @@ -1,8 +1,8 @@ { - "New-AzPostgreSqlFlexibleServer+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest200?api-version=2020-02-14-preview+1": { + "New-AzPostgreSqlFlexibleServer+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-200?api-version=2020-02-14-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest200?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-200?api-version=2020-02-14-preview", "Content": "{\r\n \"location\": \"eastus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 12,\r\n \"storageMB\": 65536\r\n },\r\n \"administratorLogin\": \"mysql_test\",\r\n \"administratorLoginPassword\": \"Pasword01!!2020\",\r\n \"version\": \"12\",\r\n \"createMode\": \"Default\"\r\n }\r\n}", "Headers": { }, @@ -76,10 +76,10 @@ "Content": "{\"name\":\"ca3fca37-fa1c-4a46-97f7-9be180ea9cbc\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-12T06:40:58.89Z\"}" } }, - "New-AzPostgreSqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest200?api-version=2020-02-14-preview+3": { + "New-AzPostgreSqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-200?api-version=2020-02-14-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest200?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-200?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -112,7 +112,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":1},\"properties\":{\"fullyQualifiedDomainName\":\"postgresqltest200.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"mysql_test\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":65536,\"backupRetentionDays\":12},\"earliestRestoreDate\":\"2020-11-11T21:14:14.466445+00:00\",\"byokEnforcement\":\"Disabled\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0}},\"location\":\"East US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresqltest200\",\"name\":\"postgresqltest200\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":1},\"properties\":{\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"mysql_test\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":65536,\"backupRetentionDays\":12},\"earliestRestoreDate\":\"2020-11-11T21:14:14.466445+00:00\",\"byokEnforcement\":\"Disabled\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0}},\"location\":\"East US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test-200\",\"name\":\"postgresql-test-200\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}" } } } \ No newline at end of file diff --git a/src/PostgreSql/test/New-AzPostgreSqlFlexibleServerFirewallRule.Recording.json b/src/PostgreSql/test/New-AzPostgreSqlFlexibleServerFirewallRule.Recording.json index afeb627da5cc..d73cb045003e 100644 --- a/src/PostgreSql/test/New-AzPostgreSqlFlexibleServerFirewallRule.Recording.json +++ b/src/PostgreSql/test/New-AzPostgreSqlFlexibleServerFirewallRule.Recording.json @@ -1,8 +1,8 @@ { - "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { + "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -76,10 +76,10 @@ "Content": "{\"name\":\"187b87b7-a172-4b22-9c65-e6adb252db0b\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T06:44:45.89Z\"}" } }, - "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { + "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -115,10 +115,10 @@ "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}" } }, - "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+4": { + "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "20" ], @@ -235,10 +235,10 @@ "Content": null } }, - "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { + "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.1\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -312,10 +312,10 @@ "Content": "{\"name\":\"aea62ef0-2358-49d3-9f15-16ef75353c41\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T06:46:48.01Z\"}" } }, - "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { + "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -351,10 +351,10 @@ "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.1\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}" } }, - "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+4": { + "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "26" ], @@ -471,10 +471,10 @@ "Content": null } }, - "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+AllowAll+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { + "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+AllowAll+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"255.255.255.255\"\r\n }\r\n}", "Headers": { }, @@ -548,10 +548,10 @@ "Content": "{\"name\":\"e04eba31-9804-4df6-a9f4-31553cf3addd\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T06:48:49.75Z\"}" } }, - "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { + "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -587,10 +587,10 @@ "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"255.255.255.255\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}" } }, - "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+AllowAll+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+4": { + "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+AllowAll+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "32" ], diff --git a/src/PostgreSql/test/New-AzPostgreSqlReplica.Recording.json b/src/PostgreSql/test/New-AzPostgreSqlReplica.Recording.json index ffc49c6f1ff3..79b6174a3bb2 100644 --- a/src/PostgreSql/test/New-AzPostgreSqlReplica.Recording.json +++ b/src/PostgreSql/test/New-AzPostgreSqlReplica.Recording.json @@ -1,8 +1,8 @@ { - "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+1": { + "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "107" ], @@ -35,14 +35,14 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" } }, - "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01+2": { + "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01+2": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"createMode\": \"Replica\",\r\n \"sourceServerId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\"\r\n },\r\n \"location\": \"eastus\"\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"createMode\": \"Replica\",\r\n \"sourceServerId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\"\r\n },\r\n \"location\": \"eastus\"\r\n}", "Headers": { }, "ContentHeaders": { @@ -55,9 +55,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01" ], "x-ms-request-id": [ "e90e1781-70f6-4c66-a12a-6cb762d7b2d0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1186" ], @@ -75,10 +75,10 @@ "Content": "{\"operation\":\"CreateElasticServerContinuousCopy\",\"startTime\":\"2020-09-25T11:14:27.93Z\"}" } }, - "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01+3": { + "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "108", "109" ], @@ -115,10 +115,10 @@ "Content": "{\"name\":\"e90e1781-70f6-4c66-a12a-6cb762d7b2d0\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:14:27.93Z\"}" } }, - "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01+4": { + "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "108", "109", "110" ], @@ -155,10 +155,10 @@ "Content": "{\"name\":\"e90e1781-70f6-4c66-a12a-6cb762d7b2d0\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:14:27.93Z\"}" } }, - "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01+5": { + "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "108", "109", "110", "111" ], @@ -195,10 +195,10 @@ "Content": "{\"name\":\"e90e1781-70f6-4c66-a12a-6cb762d7b2d0\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:14:27.93Z\"}" } }, - "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01+6": { + "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "108", "109", "110", "111", "112" ], @@ -235,10 +235,10 @@ "Content": "{\"name\":\"e90e1781-70f6-4c66-a12a-6cb762d7b2d0\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:14:27.93Z\"}" } }, - "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01+7": { + "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "108", "109", "110", "111", "112", "113" ], @@ -275,10 +275,10 @@ "Content": "{\"name\":\"e90e1781-70f6-4c66-a12a-6cb762d7b2d0\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:14:27.93Z\"}" } }, - "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01+8": { + "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "108", "109", "110", "111", "112", "113", "114" ], @@ -315,10 +315,10 @@ "Content": "{\"name\":\"e90e1781-70f6-4c66-a12a-6cb762d7b2d0\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:14:27.93Z\"}" } }, - "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01+9": { + "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "108", "109", "110", "111", "112", "113", "114", "115" ], @@ -355,10 +355,10 @@ "Content": "{\"name\":\"e90e1781-70f6-4c66-a12a-6cb762d7b2d0\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:14:27.93Z\"}" } }, - "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01+10": { + "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "108", "109", "110", "111", "112", "113", "114", "115", "116" ], @@ -395,10 +395,10 @@ "Content": "{\"name\":\"e90e1781-70f6-4c66-a12a-6cb762d7b2d0\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:14:27.93Z\"}" } }, - "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01+11": { + "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "108", "109", "110", "111", "112", "113", "114", "115", "116", "117" ], @@ -435,10 +435,10 @@ "Content": "{\"name\":\"e90e1781-70f6-4c66-a12a-6cb762d7b2d0\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:14:27.93Z\"}" } }, - "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01+12": { + "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "108", "109", "110", "111", "112", "113", "114", "115", "116", "117", "118" ], @@ -475,10 +475,10 @@ "Content": "{\"name\":\"e90e1781-70f6-4c66-a12a-6cb762d7b2d0\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:14:27.93Z\"}" } }, - "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01+13": { + "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "108", "109", "110", "111", "112", "113", "114", "115", "116", "117", "118", "119" ], @@ -515,10 +515,10 @@ "Content": "{\"name\":\"e90e1781-70f6-4c66-a12a-6cb762d7b2d0\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:14:27.93Z\"}" } }, - "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01+14": { + "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01+14": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "108", "109", "110", "111", "112", "113", "114", "115", "116", "117", "118", "119", "120" ], @@ -555,10 +555,10 @@ "Content": "{\"name\":\"e90e1781-70f6-4c66-a12a-6cb762d7b2d0\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:14:27.93Z\"}" } }, - "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01+15": { + "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01+15": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "108", "109", "110", "111", "112", "113", "114", "115", "116", "117", "118", "119", "120", "121" ], @@ -591,13 +591,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100-replica.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:25:40.337+00:00\",\"replicationRole\":\"Replica\",\"masterServerId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-replica\",\"name\":\"postgresql-test-100-replica\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100-replica.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:25:40.337+00:00\",\"replicationRole\":\"Replica\",\"masterServerId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-replica\",\"name\":\"postgresql-test-100-replica\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" } }, - "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01+16": { + "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01+16": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "122" ], @@ -616,9 +616,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/6466668d-7f53-4f75-836b-6e7dd8cb2575?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/6466668d-7f53-4f75-836b-6e7dd8cb2575?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6466668d-7f53-4f75-836b-6e7dd8cb2575?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6466668d-7f53-4f75-836b-6e7dd8cb2575?api-version=2017-12-01" ], "x-ms-request-id": [ "6466668d-7f53-4f75-836b-6e7dd8cb2575" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14989" ], @@ -636,10 +636,10 @@ "Content": "{\"operation\":\"DropElasticServer\",\"startTime\":\"2020-09-25T11:20:35.597Z\"}" } }, - "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6466668d-7f53-4f75-836b-6e7dd8cb2575?api-version=2017-12-01+17": { + "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6466668d-7f53-4f75-836b-6e7dd8cb2575?api-version=2017-12-01+17": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6466668d-7f53-4f75-836b-6e7dd8cb2575?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6466668d-7f53-4f75-836b-6e7dd8cb2575?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "122", "123" ], @@ -676,10 +676,10 @@ "Content": "{\"name\":\"6466668d-7f53-4f75-836b-6e7dd8cb2575\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:20:35.597Z\"}" } }, - "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/6466668d-7f53-4f75-836b-6e7dd8cb2575?api-version=2017-12-01+18": { + "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/6466668d-7f53-4f75-836b-6e7dd8cb2575?api-version=2017-12-01+18": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/6466668d-7f53-4f75-836b-6e7dd8cb2575?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/6466668d-7f53-4f75-836b-6e7dd8cb2575?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "122", "123", "124" ], diff --git a/src/PostgreSql/test/New-AzPostgreSqlServer.Recording.json b/src/PostgreSql/test/New-AzPostgreSqlServer.Recording.json index 959764380074..6bba1197d89b 100644 --- a/src/PostgreSql/test/New-AzPostgreSqlServer.Recording.json +++ b/src/PostgreSql/test/New-AzPostgreSqlServer.Recording.json @@ -1,8 +1,8 @@ { - "New-AzPostgreSqlServer+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-2?api-version=2017-12-01+1": { + "New-AzPostgreSqlServer+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-200?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-2?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-200?api-version=2017-12-01", "Content": "{\r\n \"sku\": {\r\n \"name\": \"GP_Gen5_4\"\r\n },\r\n \"properties\": {\r\n \"createMode\": \"Default\",\r\n \"administratorLogin\": \"pwsh\",\r\n \"administratorLoginPassword\": \"Pa88word!\"\r\n },\r\n \"location\": \"eastus\"\r\n}", "Headers": { }, @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/ab638a2c-616a-4164-bee6-c7f9d810208b?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/ab638a2c-616a-4164-bee6-c7f9d810208b?api-version=2017-12-01" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ab638a2c-616a-4164-bee6-c7f9d810208b?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/ab638a2c-616a-4164-bee6-c7f9d810208b?api-version=2017-12-01" ], "x-ms-request-id": [ "ab638a2c-616a-4164-bee6-c7f9d810208b" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1185" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpsertElasticServer\",\"startTime\":\"2020-09-25T11:20:55.44Z\"}" } }, - "New-AzPostgreSqlServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ab638a2c-616a-4164-bee6-c7f9d810208b?api-version=2017-12-01+2": { + "New-AzPostgreSqlServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/ab638a2c-616a-4164-bee6-c7f9d810208b?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ab638a2c-616a-4164-bee6-c7f9d810208b?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/ab638a2c-616a-4164-bee6-c7f9d810208b?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "125", "126" ], @@ -76,10 +76,10 @@ "Content": "{\"name\":\"ab638a2c-616a-4164-bee6-c7f9d810208b\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:20:55.44Z\"}" } }, - "New-AzPostgreSqlServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ab638a2c-616a-4164-bee6-c7f9d810208b?api-version=2017-12-01+3": { + "New-AzPostgreSqlServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/ab638a2c-616a-4164-bee6-c7f9d810208b?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ab638a2c-616a-4164-bee6-c7f9d810208b?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/ab638a2c-616a-4164-bee6-c7f9d810208b?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "125", "126", "127" ], @@ -116,10 +116,10 @@ "Content": "{\"name\":\"ab638a2c-616a-4164-bee6-c7f9d810208b\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:20:55.44Z\"}" } }, - "New-AzPostgreSqlServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-2?api-version=2017-12-01+4": { + "New-AzPostgreSqlServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-200?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-2?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-200?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "125", "126", "127", "128" ], @@ -152,13 +152,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"pwsh\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100-2.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:30:55.74+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-2\",\"name\":\"postgresql-test-100-2\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"pwsh\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-200.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:30:55.74+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-200\",\"name\":\"postgresql-test-200\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" } }, - "New-AzPostgreSqlServer+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-2?api-version=2017-12-01+5": { + "New-AzPostgreSqlServer+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-200?api-version=2017-12-01+5": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-2?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-200?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "129" ], @@ -177,9 +177,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/ee3ff3fd-1e48-4a6c-b4e7-22a60ef5958e?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/ee3ff3fd-1e48-4a6c-b4e7-22a60ef5958e?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ee3ff3fd-1e48-4a6c-b4e7-22a60ef5958e?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/ee3ff3fd-1e48-4a6c-b4e7-22a60ef5958e?api-version=2017-12-01" ], "x-ms-request-id": [ "ee3ff3fd-1e48-4a6c-b4e7-22a60ef5958e" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14988" ], @@ -197,10 +197,10 @@ "Content": "{\"operation\":\"DropElasticServer\",\"startTime\":\"2020-09-25T11:22:58.293Z\"}" } }, - "New-AzPostgreSqlServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ee3ff3fd-1e48-4a6c-b4e7-22a60ef5958e?api-version=2017-12-01+6": { + "New-AzPostgreSqlServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/ee3ff3fd-1e48-4a6c-b4e7-22a60ef5958e?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ee3ff3fd-1e48-4a6c-b4e7-22a60ef5958e?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/ee3ff3fd-1e48-4a6c-b4e7-22a60ef5958e?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "129", "130" ], @@ -237,10 +237,10 @@ "Content": "{\"name\":\"ee3ff3fd-1e48-4a6c-b4e7-22a60ef5958e\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:22:58.293Z\"}" } }, - "New-AzPostgreSqlServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/ee3ff3fd-1e48-4a6c-b4e7-22a60ef5958e?api-version=2017-12-01+7": { + "New-AzPostgreSqlServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/ee3ff3fd-1e48-4a6c-b4e7-22a60ef5958e?api-version=2017-12-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/ee3ff3fd-1e48-4a6c-b4e7-22a60ef5958e?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/ee3ff3fd-1e48-4a6c-b4e7-22a60ef5958e?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "129", "130", "131" ], diff --git a/src/PostgreSql/test/New-AzPostgreSqlVirtualNetworkRule.Recording.json b/src/PostgreSql/test/New-AzPostgreSqlVirtualNetworkRule.Recording.json index 47b1914c1328..26b218b45090 100644 --- a/src/PostgreSql/test/New-AzPostgreSqlVirtualNetworkRule.Recording.json +++ b/src/PostgreSql/test/New-AzPostgreSqlVirtualNetworkRule.Recording.json @@ -1,9 +1,9 @@ { - "New-AzPostgreSqlVirtualNetworkRule+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+1": { + "New-AzPostgreSqlVirtualNetworkRule+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/901381a8-cbcb-4b44-b6bf-ecd21bd661c8?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/901381a8-cbcb-4b44-b6bf-ecd21bd661c8?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/901381a8-cbcb-4b44-b6bf-ecd21bd661c8?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/901381a8-cbcb-4b44-b6bf-ecd21bd661c8?api-version=2017-12-01" ], "x-ms-request-id": [ "901381a8-cbcb-4b44-b6bf-ecd21bd661c8" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1184" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-09-25T11:23:14.717Z\"}" } }, - "New-AzPostgreSqlVirtualNetworkRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/901381a8-cbcb-4b44-b6bf-ecd21bd661c8?api-version=2017-12-01+2": { + "New-AzPostgreSqlVirtualNetworkRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/901381a8-cbcb-4b44-b6bf-ecd21bd661c8?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/901381a8-cbcb-4b44-b6bf-ecd21bd661c8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/901381a8-cbcb-4b44-b6bf-ecd21bd661c8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "132", "133" ], @@ -76,10 +76,10 @@ "Content": "{\"name\":\"901381a8-cbcb-4b44-b6bf-ecd21bd661c8\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:23:14.717Z\"}" } }, - "New-AzPostgreSqlVirtualNetworkRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+3": { + "New-AzPostgreSqlVirtualNetworkRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "132", "133", "134" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBforPostgreSQL/servers/virtualNetworkRules\"}" + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBForPostgreSQL/servers/virtualNetworkRules\"}" } }, - "New-AzPostgreSqlVirtualNetworkRule+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+4": { + "New-AzPostgreSqlVirtualNetworkRule+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "135" ], @@ -137,9 +137,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/caf26192-34db-47cf-a3df-f3f5c4e5ee6f?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/caf26192-34db-47cf-a3df-f3f5c4e5ee6f?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/caf26192-34db-47cf-a3df-f3f5c4e5ee6f?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/caf26192-34db-47cf-a3df-f3f5c4e5ee6f?api-version=2017-12-01" ], "x-ms-request-id": [ "caf26192-34db-47cf-a3df-f3f5c4e5ee6f" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14987" ], @@ -157,10 +157,10 @@ "Content": "{\"operation\":\"DropElasticServerVnetFirewallRule\",\"startTime\":\"2020-09-25T11:23:46.903Z\"}" } }, - "New-AzPostgreSqlVirtualNetworkRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/caf26192-34db-47cf-a3df-f3f5c4e5ee6f?api-version=2017-12-01+5": { + "New-AzPostgreSqlVirtualNetworkRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/caf26192-34db-47cf-a3df-f3f5c4e5ee6f?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/caf26192-34db-47cf-a3df-f3f5c4e5ee6f?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/caf26192-34db-47cf-a3df-f3f5c4e5ee6f?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "135", "136" ], @@ -197,10 +197,10 @@ "Content": "{\"name\":\"caf26192-34db-47cf-a3df-f3f5c4e5ee6f\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:23:46.903Z\"}" } }, - "New-AzPostgreSqlVirtualNetworkRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/caf26192-34db-47cf-a3df-f3f5c4e5ee6f?api-version=2017-12-01+6": { + "New-AzPostgreSqlVirtualNetworkRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/caf26192-34db-47cf-a3df-f3f5c4e5ee6f?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/caf26192-34db-47cf-a3df-f3f5c4e5ee6f?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/caf26192-34db-47cf-a3df-f3f5c4e5ee6f?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "135", "136", "137" ], diff --git a/src/PostgreSql/test/Remove-AzPostgreSqlFirewallRule.Recording.json b/src/PostgreSql/test/Remove-AzPostgreSqlFirewallRule.Recording.json index 2c7ec80c858a..835566fb3d5f 100644 --- a/src/PostgreSql/test/Remove-AzPostgreSqlFirewallRule.Recording.json +++ b/src/PostgreSql/test/Remove-AzPostgreSqlFirewallRule.Recording.json @@ -1,8 +1,8 @@ { - "Remove-AzPostgreSqlFirewallRule+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+1": { + "Remove-AzPostgreSqlFirewallRule+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/c47d84ab-9882-4753-b3b8-c386b0fed0a0?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/c47d84ab-9882-4753-b3b8-c386b0fed0a0?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c47d84ab-9882-4753-b3b8-c386b0fed0a0?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c47d84ab-9882-4753-b3b8-c386b0fed0a0?api-version=2017-12-01" ], "x-ms-request-id": [ "c47d84ab-9882-4753-b3b8-c386b0fed0a0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1183" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-09-25T11:24:04.39Z\"}" } }, - "Remove-AzPostgreSqlFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c47d84ab-9882-4753-b3b8-c386b0fed0a0?api-version=2017-12-01+2": { + "Remove-AzPostgreSqlFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c47d84ab-9882-4753-b3b8-c386b0fed0a0?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c47d84ab-9882-4753-b3b8-c386b0fed0a0?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c47d84ab-9882-4753-b3b8-c386b0fed0a0?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "138", "139" ], @@ -76,10 +76,10 @@ "Content": "{\"name\":\"c47d84ab-9882-4753-b3b8-c386b0fed0a0\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:24:04.39Z\"}" } }, - "Remove-AzPostgreSqlFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+3": { + "Remove-AzPostgreSqlFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "138", "139", "140" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBForPostgreSQL/servers/firewallRules\"}" } }, - "Remove-AzPostgreSqlFirewallRule+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+4": { + "Remove-AzPostgreSqlFirewallRule+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "141" ], @@ -137,9 +137,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/6ca94acd-2cb9-4c29-96b2-e8c73b116c2c?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/6ca94acd-2cb9-4c29-96b2-e8c73b116c2c?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6ca94acd-2cb9-4c29-96b2-e8c73b116c2c?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6ca94acd-2cb9-4c29-96b2-e8c73b116c2c?api-version=2017-12-01" ], "x-ms-request-id": [ "6ca94acd-2cb9-4c29-96b2-e8c73b116c2c" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14986" ], @@ -157,10 +157,10 @@ "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-09-25T11:24:21.733Z\"}" } }, - "Remove-AzPostgreSqlFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6ca94acd-2cb9-4c29-96b2-e8c73b116c2c?api-version=2017-12-01+5": { + "Remove-AzPostgreSqlFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6ca94acd-2cb9-4c29-96b2-e8c73b116c2c?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6ca94acd-2cb9-4c29-96b2-e8c73b116c2c?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6ca94acd-2cb9-4c29-96b2-e8c73b116c2c?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "141", "142" ], @@ -197,10 +197,10 @@ "Content": "{\"name\":\"6ca94acd-2cb9-4c29-96b2-e8c73b116c2c\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:24:21.733Z\"}" } }, - "Remove-AzPostgreSqlFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/6ca94acd-2cb9-4c29-96b2-e8c73b116c2c?api-version=2017-12-01+6": { + "Remove-AzPostgreSqlFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/6ca94acd-2cb9-4c29-96b2-e8c73b116c2c?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/6ca94acd-2cb9-4c29-96b2-e8c73b116c2c?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/6ca94acd-2cb9-4c29-96b2-e8c73b116c2c?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "141", "142", "143" ], @@ -235,10 +235,10 @@ "Content": null } }, - "Remove-AzPostgreSqlFirewallRule+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+1": { + "Remove-AzPostgreSqlFirewallRule+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -252,9 +252,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/8b5ea346-fa29-41f1-a375-396573b77ce9?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/8b5ea346-fa29-41f1-a375-396573b77ce9?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/8b5ea346-fa29-41f1-a375-396573b77ce9?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/8b5ea346-fa29-41f1-a375-396573b77ce9?api-version=2017-12-01" ], "x-ms-request-id": [ "8b5ea346-fa29-41f1-a375-396573b77ce9" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1182" ], @@ -272,10 +272,10 @@ "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-09-25T11:24:38.983Z\"}" } }, - "Remove-AzPostgreSqlFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/8b5ea346-fa29-41f1-a375-396573b77ce9?api-version=2017-12-01+2": { + "Remove-AzPostgreSqlFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/8b5ea346-fa29-41f1-a375-396573b77ce9?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/8b5ea346-fa29-41f1-a375-396573b77ce9?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/8b5ea346-fa29-41f1-a375-396573b77ce9?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "144", "145" ], @@ -312,10 +312,10 @@ "Content": "{\"name\":\"8b5ea346-fa29-41f1-a375-396573b77ce9\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:24:38.983Z\"}" } }, - "Remove-AzPostgreSqlFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+3": { + "Remove-AzPostgreSqlFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "144", "145", "146" ], @@ -348,13 +348,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBForPostgreSQL/servers/firewallRules\"}" } }, - "Remove-AzPostgreSqlFirewallRule+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+4": { + "Remove-AzPostgreSqlFirewallRule+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "147" ], @@ -373,9 +373,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/8536a5ab-2699-49a4-8d16-34efd10c2b2a?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/8536a5ab-2699-49a4-8d16-34efd10c2b2a?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/8536a5ab-2699-49a4-8d16-34efd10c2b2a?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/8536a5ab-2699-49a4-8d16-34efd10c2b2a?api-version=2017-12-01" ], "x-ms-request-id": [ "8536a5ab-2699-49a4-8d16-34efd10c2b2a" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14985" ], @@ -393,10 +393,10 @@ "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-09-25T11:24:56.327Z\"}" } }, - "Remove-AzPostgreSqlFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/8536a5ab-2699-49a4-8d16-34efd10c2b2a?api-version=2017-12-01+5": { + "Remove-AzPostgreSqlFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/8536a5ab-2699-49a4-8d16-34efd10c2b2a?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/8536a5ab-2699-49a4-8d16-34efd10c2b2a?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/8536a5ab-2699-49a4-8d16-34efd10c2b2a?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "147", "148" ], @@ -433,10 +433,10 @@ "Content": "{\"name\":\"8536a5ab-2699-49a4-8d16-34efd10c2b2a\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:24:56.327Z\"}" } }, - "Remove-AzPostgreSqlFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/8536a5ab-2699-49a4-8d16-34efd10c2b2a?api-version=2017-12-01+6": { + "Remove-AzPostgreSqlFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/8536a5ab-2699-49a4-8d16-34efd10c2b2a?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/8536a5ab-2699-49a4-8d16-34efd10c2b2a?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/8536a5ab-2699-49a4-8d16-34efd10c2b2a?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "147", "148", "149" ], diff --git a/src/PostgreSql/test/Remove-AzPostgreSqlFirewallRule.Tests.ps1 b/src/PostgreSql/test/Remove-AzPostgreSqlFirewallRule.Tests.ps1 index 75f2bee9ef0d..a5e17287ff64 100644 --- a/src/PostgreSql/test/Remove-AzPostgreSqlFirewallRule.Tests.ps1 +++ b/src/PostgreSql/test/Remove-AzPostgreSqlFirewallRule.Tests.ps1 @@ -22,7 +22,7 @@ Describe 'Remove-AzPostgreSqlFirewallRule' { It 'DeleteViaIdentity' { { New-AzPostgreSqlFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBforPostgreSQL/servers/$($env.serverName)/firewallRules/$($env.firewallRuleName)" + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSQL/servers/$($env.serverName)/firewallRules/$($env.firewallRuleName)" Remove-AzPostgreSqlFirewallRule -InputObject $ID } | Should -Not -Throw } diff --git a/src/PostgreSql/test/Remove-AzPostgreSqlFlexibleServer.Recording.json b/src/PostgreSql/test/Remove-AzPostgreSqlFlexibleServer.Recording.json index ad194dfedc6b..e905d2c60278 100644 --- a/src/PostgreSql/test/Remove-AzPostgreSqlFlexibleServer.Recording.json +++ b/src/PostgreSql/test/Remove-AzPostgreSqlFlexibleServer.Recording.json @@ -1,8 +1,8 @@ { - "Remove-AzPostgreSqlFlexibleServer+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100?api-version=2020-02-14-preview+1": { + "Remove-AzPostgreSqlFlexibleServer+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest200?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-200?api-version=2020-02-14-preview", "Content": "{\r\n \"location\": \"eastus\",\r\n \"sku\": {\r\n \"name\": \"Standard_D2s_v3\",\r\n \"tier\": \"GeneralPurpose\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 131072\r\n },\r\n \"administratorLogin\": \"mysql_test\",\r\n \"administratorLoginPassword\": \"Pasword01!!2020\",\r\n \"version\": \"12\",\r\n \"createMode\": \"Default\"\r\n }\r\n}", "Headers": { }, @@ -76,10 +76,10 @@ "Content": "{\"name\":\"f78a219c-4acf-4eae-b935-9a788f5e6b77\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T06:50:52.347Z\"}" } }, - "Remove-AzPostgreSqlFlexibleServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100?api-version=2020-02-14-preview+3": { + "Remove-AzPostgreSqlFlexibleServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest200?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-200?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresqltest200.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"shyHamster5\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/VNETesql-test-100/subnets/Subnetesql-test-100\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T06:48:31.9060234+00:00\",\"byokEnforcement\":\"Disabled\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0}},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresqltest200\",\"name\":\"postgresqltest200\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresql-test-200.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"shyHamster5\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/VNETesql-test-100/subnets/Subnetesql-test-100\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T06:48:31.9060234+00:00\",\"byokEnforcement\":\"Disabled\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0}},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test-200\",\"name\":\"postgresql-test-200\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}" } }, - "Remove-AzPostgreSqlFlexibleServer+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest200?api-version=2020-02-14-preview+4": { + "Remove-AzPostgreSqlFlexibleServer+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-200?api-version=2020-02-14-preview+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest200-2?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-200-2?api-version=2020-02-14-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "38" ], @@ -151,10 +151,10 @@ "Content": null } }, - "Remove-AzPostgreSqlFlexibleServer+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest200?api-version=2020-02-14-preview+1": { + "Remove-AzPostgreSqlFlexibleServer+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-200?api-version=2020-02-14-preview+1": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest200?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-200?api-version=2020-02-14-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "39" ], diff --git a/src/PostgreSql/test/Remove-AzPostgreSqlFlexibleServerFirewallRule.Recording.json b/src/PostgreSql/test/Remove-AzPostgreSqlFlexibleServerFirewallRule.Recording.json index 5996d87a2daf..56e869d3b679 100644 --- a/src/PostgreSql/test/Remove-AzPostgreSqlFlexibleServerFirewallRule.Recording.json +++ b/src/PostgreSql/test/Remove-AzPostgreSqlFlexibleServerFirewallRule.Recording.json @@ -1,8 +1,8 @@ { - "Remove-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { + "Remove-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -76,10 +76,10 @@ "Content": "{\"name\":\"de386837-d2af-4b0b-b4d0-47e49abff83b\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T06:51:53.813Z\"}" } }, - "Remove-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { + "Remove-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -115,10 +115,10 @@ "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}" } }, - "Remove-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+4": { + "Remove-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "43" ], @@ -235,10 +235,10 @@ "Content": null } }, - "Remove-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { + "Remove-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -312,10 +312,10 @@ "Content": "{\"name\":\"679aed21-2184-4b08-9ed9-047e09425b76\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T06:53:55.613Z\"}" } }, - "Remove-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { + "Remove-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -351,10 +351,10 @@ "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}" } }, - "Remove-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+4": { + "Remove-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "49" ], diff --git a/src/PostgreSql/test/Remove-AzPostgreSqlServer.Recording.json b/src/PostgreSql/test/Remove-AzPostgreSqlServer.Recording.json index 9888ce724b54..30bcf6091718 100644 --- a/src/PostgreSql/test/Remove-AzPostgreSqlServer.Recording.json +++ b/src/PostgreSql/test/Remove-AzPostgreSqlServer.Recording.json @@ -1,8 +1,8 @@ { - "Remove-AzPostgreSqlServer+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-2?api-version=2017-12-01+1": { + "Remove-AzPostgreSqlServer+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-200?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-2?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-200?api-version=2017-12-01", "Content": "{\r\n \"sku\": {\r\n \"name\": \"GP_Gen5_4\"\r\n },\r\n \"properties\": {\r\n \"createMode\": \"Default\",\r\n \"administratorLogin\": \"pwsh\",\r\n \"administratorLoginPassword\": \"Pa88word!\"\r\n },\r\n \"location\": \"eastus\"\r\n}", "Headers": { }, @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/aa2e4c2e-8d5c-444d-bf04-c321ea4d76fb?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/aa2e4c2e-8d5c-444d-bf04-c321ea4d76fb?api-version=2017-12-01" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aa2e4c2e-8d5c-444d-bf04-c321ea4d76fb?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/aa2e4c2e-8d5c-444d-bf04-c321ea4d76fb?api-version=2017-12-01" ], "x-ms-request-id": [ "aa2e4c2e-8d5c-444d-bf04-c321ea4d76fb" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1181" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpsertElasticServer\",\"startTime\":\"2020-09-25T11:25:18.407Z\"}" } }, - "Remove-AzPostgreSqlServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aa2e4c2e-8d5c-444d-bf04-c321ea4d76fb?api-version=2017-12-01+2": { + "Remove-AzPostgreSqlServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/aa2e4c2e-8d5c-444d-bf04-c321ea4d76fb?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aa2e4c2e-8d5c-444d-bf04-c321ea4d76fb?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/aa2e4c2e-8d5c-444d-bf04-c321ea4d76fb?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "150", "151" ], @@ -76,10 +76,10 @@ "Content": "{\"name\":\"aa2e4c2e-8d5c-444d-bf04-c321ea4d76fb\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:25:18.407Z\"}" } }, - "Remove-AzPostgreSqlServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aa2e4c2e-8d5c-444d-bf04-c321ea4d76fb?api-version=2017-12-01+3": { + "Remove-AzPostgreSqlServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/aa2e4c2e-8d5c-444d-bf04-c321ea4d76fb?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aa2e4c2e-8d5c-444d-bf04-c321ea4d76fb?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/aa2e4c2e-8d5c-444d-bf04-c321ea4d76fb?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "150", "151", "152" ], @@ -116,10 +116,10 @@ "Content": "{\"name\":\"aa2e4c2e-8d5c-444d-bf04-c321ea4d76fb\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:25:18.407Z\"}" } }, - "Remove-AzPostgreSqlServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-2?api-version=2017-12-01+4": { + "Remove-AzPostgreSqlServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-200?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-2?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-200?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "150", "151", "152", "153" ], @@ -152,13 +152,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"pwsh\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100-2.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:35:18.733+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-2\",\"name\":\"postgresql-test-100-2\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"pwsh\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-200.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:35:18.733+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-200\",\"name\":\"postgresql-test-200\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" } }, - "Remove-AzPostgreSqlServer+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-2?api-version=2017-12-01+5": { + "Remove-AzPostgreSqlServer+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-200?api-version=2017-12-01+5": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-2?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-200?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "154" ], @@ -177,9 +177,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/ea3c5dcf-05bd-4b1b-917f-cd3324883459?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/ea3c5dcf-05bd-4b1b-917f-cd3324883459?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ea3c5dcf-05bd-4b1b-917f-cd3324883459?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/ea3c5dcf-05bd-4b1b-917f-cd3324883459?api-version=2017-12-01" ], "x-ms-request-id": [ "ea3c5dcf-05bd-4b1b-917f-cd3324883459" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14984" ], @@ -197,10 +197,10 @@ "Content": "{\"operation\":\"DropElasticServer\",\"startTime\":\"2020-09-25T11:27:21.377Z\"}" } }, - "Remove-AzPostgreSqlServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ea3c5dcf-05bd-4b1b-917f-cd3324883459?api-version=2017-12-01+6": { + "Remove-AzPostgreSqlServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/ea3c5dcf-05bd-4b1b-917f-cd3324883459?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ea3c5dcf-05bd-4b1b-917f-cd3324883459?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/ea3c5dcf-05bd-4b1b-917f-cd3324883459?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "154", "155" ], @@ -237,10 +237,10 @@ "Content": "{\"name\":\"ea3c5dcf-05bd-4b1b-917f-cd3324883459\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:27:21.377Z\"}" } }, - "Remove-AzPostgreSqlServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/ea3c5dcf-05bd-4b1b-917f-cd3324883459?api-version=2017-12-01+7": { + "Remove-AzPostgreSqlServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/ea3c5dcf-05bd-4b1b-917f-cd3324883459?api-version=2017-12-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/ea3c5dcf-05bd-4b1b-917f-cd3324883459?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/ea3c5dcf-05bd-4b1b-917f-cd3324883459?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "154", "155", "156" ], @@ -275,10 +275,10 @@ "Content": null } }, - "Remove-AzPostgreSqlServer+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresqldelete?api-version=2017-12-01+1": { + "Remove-AzPostgreSqlServer+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresqldelete?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresqldelete?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresqldelete?api-version=2017-12-01", "Content": "{\r\n \"sku\": {\r\n \"name\": \"GP_Gen5_4\"\r\n },\r\n \"properties\": {\r\n \"createMode\": \"Default\",\r\n \"administratorLogin\": \"pwsh\",\r\n \"administratorLoginPassword\": \"Pa88word!\"\r\n },\r\n \"location\": \"eastus\"\r\n}", "Headers": { }, @@ -292,9 +292,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/2b47f057-8051-4c3f-9f56-9439c4e880ef?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/2b47f057-8051-4c3f-9f56-9439c4e880ef?api-version=2017-12-01" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/2b47f057-8051-4c3f-9f56-9439c4e880ef?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/2b47f057-8051-4c3f-9f56-9439c4e880ef?api-version=2017-12-01" ], "x-ms-request-id": [ "2b47f057-8051-4c3f-9f56-9439c4e880ef" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1180" ], @@ -312,10 +312,10 @@ "Content": "{\"operation\":\"UpsertElasticServer\",\"startTime\":\"2020-09-25T11:27:43.883Z\"}" } }, - "Remove-AzPostgreSqlServer+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/2b47f057-8051-4c3f-9f56-9439c4e880ef?api-version=2017-12-01+2": { + "Remove-AzPostgreSqlServer+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/2b47f057-8051-4c3f-9f56-9439c4e880ef?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/2b47f057-8051-4c3f-9f56-9439c4e880ef?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/2b47f057-8051-4c3f-9f56-9439c4e880ef?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "157", "158" ], @@ -352,10 +352,10 @@ "Content": "{\"name\":\"2b47f057-8051-4c3f-9f56-9439c4e880ef\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:27:43.883Z\"}" } }, - "Remove-AzPostgreSqlServer+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/2b47f057-8051-4c3f-9f56-9439c4e880ef?api-version=2017-12-01+3": { + "Remove-AzPostgreSqlServer+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/2b47f057-8051-4c3f-9f56-9439c4e880ef?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/2b47f057-8051-4c3f-9f56-9439c4e880ef?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/2b47f057-8051-4c3f-9f56-9439c4e880ef?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "157", "158", "159" ], @@ -392,10 +392,10 @@ "Content": "{\"name\":\"2b47f057-8051-4c3f-9f56-9439c4e880ef\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:27:43.883Z\"}" } }, - "Remove-AzPostgreSqlServer+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresqldelete?api-version=2017-12-01+4": { + "Remove-AzPostgreSqlServer+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresqldelete?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresqldelete?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresqldelete?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "157", "158", "159", "160" ], @@ -428,13 +428,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"pwsh\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresqldelete.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:37:44.18+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresqldelete\",\"name\":\"postgresqldelete\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"pwsh\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresqldelete.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:37:44.18+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresqldelete\",\"name\":\"postgresqldelete\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" } }, - "Remove-AzPostgreSqlServer+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresqldelete?api-version=2017-12-01+5": { + "Remove-AzPostgreSqlServer+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresqldelete?api-version=2017-12-01+5": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresqldelete?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresqldelete?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "161" ], @@ -453,9 +453,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/5475f3fb-6422-4483-8d3e-3a7943efe886?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/5475f3fb-6422-4483-8d3e-3a7943efe886?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/5475f3fb-6422-4483-8d3e-3a7943efe886?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/5475f3fb-6422-4483-8d3e-3a7943efe886?api-version=2017-12-01" ], "x-ms-request-id": [ "5475f3fb-6422-4483-8d3e-3a7943efe886" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14983" ], @@ -473,10 +473,10 @@ "Content": "{\"operation\":\"DropElasticServer\",\"startTime\":\"2020-09-25T11:29:46.773Z\"}" } }, - "Remove-AzPostgreSqlServer+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/5475f3fb-6422-4483-8d3e-3a7943efe886?api-version=2017-12-01+6": { + "Remove-AzPostgreSqlServer+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/5475f3fb-6422-4483-8d3e-3a7943efe886?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/5475f3fb-6422-4483-8d3e-3a7943efe886?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/5475f3fb-6422-4483-8d3e-3a7943efe886?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "161", "162" ], @@ -513,10 +513,10 @@ "Content": "{\"name\":\"5475f3fb-6422-4483-8d3e-3a7943efe886\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:29:46.773Z\"}" } }, - "Remove-AzPostgreSqlServer+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/5475f3fb-6422-4483-8d3e-3a7943efe886?api-version=2017-12-01+7": { + "Remove-AzPostgreSqlServer+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/5475f3fb-6422-4483-8d3e-3a7943efe886?api-version=2017-12-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/5475f3fb-6422-4483-8d3e-3a7943efe886?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/5475f3fb-6422-4483-8d3e-3a7943efe886?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "161", "162", "163" ], diff --git a/src/PostgreSql/test/Remove-AzPostgreSqlServer.Tests.ps1 b/src/PostgreSql/test/Remove-AzPostgreSqlServer.Tests.ps1 index 16771b83d6b3..8d8ff932871b 100644 --- a/src/PostgreSql/test/Remove-AzPostgreSqlServer.Tests.ps1 +++ b/src/PostgreSql/test/Remove-AzPostgreSqlServer.Tests.ps1 @@ -26,7 +26,7 @@ Describe 'Remove-AzPostgreSqlServer' { #[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] $password = 'Pa88word!' | ConvertTo-SecureString -AsPlainText -Force New-AzPostgreSqlServer -Name postgresqldelete -ResourceGroupName $env.resourceGroup -Location $env.location -AdministratorUserName pwsh -AdministratorLoginPassword $password -Sku $env.Sku - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBforPostgreSQL/servers/postgresqldelete" + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSQL/servers/postgresqldelete" Remove-AzPostgreSqlServer -InputObject $ID } | Should -Not -Throw } diff --git a/src/PostgreSql/test/Remove-AzPostgreSqlVirtualNetworkRule.Recording.json b/src/PostgreSql/test/Remove-AzPostgreSqlVirtualNetworkRule.Recording.json index 2c3f7218091e..4bd14706df96 100644 --- a/src/PostgreSql/test/Remove-AzPostgreSqlVirtualNetworkRule.Recording.json +++ b/src/PostgreSql/test/Remove-AzPostgreSqlVirtualNetworkRule.Recording.json @@ -1,9 +1,9 @@ { - "Remove-AzPostgreSqlVirtualNetworkRule+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+1": { + "Remove-AzPostgreSqlVirtualNetworkRule+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/d476b08d-de51-4942-9ae0-9d15b2f32361?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/d476b08d-de51-4942-9ae0-9d15b2f32361?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/d476b08d-de51-4942-9ae0-9d15b2f32361?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/d476b08d-de51-4942-9ae0-9d15b2f32361?api-version=2017-12-01" ], "x-ms-request-id": [ "d476b08d-de51-4942-9ae0-9d15b2f32361" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1179" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-09-25T11:30:03.337Z\"}" } }, - "Remove-AzPostgreSqlVirtualNetworkRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/d476b08d-de51-4942-9ae0-9d15b2f32361?api-version=2017-12-01+2": { + "Remove-AzPostgreSqlVirtualNetworkRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/d476b08d-de51-4942-9ae0-9d15b2f32361?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/d476b08d-de51-4942-9ae0-9d15b2f32361?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/d476b08d-de51-4942-9ae0-9d15b2f32361?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "164", "165" ], @@ -76,10 +76,10 @@ "Content": "{\"name\":\"d476b08d-de51-4942-9ae0-9d15b2f32361\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:30:03.337Z\"}" } }, - "Remove-AzPostgreSqlVirtualNetworkRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+3": { + "Remove-AzPostgreSqlVirtualNetworkRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "164", "165", "166" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBforPostgreSQL/servers/virtualNetworkRules\"}" + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBForPostgreSQL/servers/virtualNetworkRules\"}" } }, - "Remove-AzPostgreSqlVirtualNetworkRule+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+4": { + "Remove-AzPostgreSqlVirtualNetworkRule+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "167" ], @@ -137,9 +137,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/ba48bd1f-6faf-48b6-b022-10ee1b96ad72?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/ba48bd1f-6faf-48b6-b022-10ee1b96ad72?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ba48bd1f-6faf-48b6-b022-10ee1b96ad72?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/ba48bd1f-6faf-48b6-b022-10ee1b96ad72?api-version=2017-12-01" ], "x-ms-request-id": [ "ba48bd1f-6faf-48b6-b022-10ee1b96ad72" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14982" ], @@ -157,10 +157,10 @@ "Content": "{\"operation\":\"DropElasticServerVnetFirewallRule\",\"startTime\":\"2020-09-25T11:30:35.523Z\"}" } }, - "Remove-AzPostgreSqlVirtualNetworkRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ba48bd1f-6faf-48b6-b022-10ee1b96ad72?api-version=2017-12-01+5": { + "Remove-AzPostgreSqlVirtualNetworkRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/ba48bd1f-6faf-48b6-b022-10ee1b96ad72?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ba48bd1f-6faf-48b6-b022-10ee1b96ad72?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/ba48bd1f-6faf-48b6-b022-10ee1b96ad72?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "167", "168" ], @@ -197,10 +197,10 @@ "Content": "{\"name\":\"ba48bd1f-6faf-48b6-b022-10ee1b96ad72\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:30:35.523Z\"}" } }, - "Remove-AzPostgreSqlVirtualNetworkRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/ba48bd1f-6faf-48b6-b022-10ee1b96ad72?api-version=2017-12-01+6": { + "Remove-AzPostgreSqlVirtualNetworkRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/ba48bd1f-6faf-48b6-b022-10ee1b96ad72?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/ba48bd1f-6faf-48b6-b022-10ee1b96ad72?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/ba48bd1f-6faf-48b6-b022-10ee1b96ad72?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "167", "168", "169" ], @@ -235,11 +235,11 @@ "Content": null } }, - "Remove-AzPostgreSqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+1": { + "Remove-AzPostgreSqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { @@ -252,9 +252,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/6e016ede-aa82-4ef9-a706-65bf0f299ee2?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/6e016ede-aa82-4ef9-a706-65bf0f299ee2?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6e016ede-aa82-4ef9-a706-65bf0f299ee2?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6e016ede-aa82-4ef9-a706-65bf0f299ee2?api-version=2017-12-01" ], "x-ms-request-id": [ "6e016ede-aa82-4ef9-a706-65bf0f299ee2" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1178" ], @@ -272,10 +272,10 @@ "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-09-25T11:30:52.773Z\"}" } }, - "Remove-AzPostgreSqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6e016ede-aa82-4ef9-a706-65bf0f299ee2?api-version=2017-12-01+2": { + "Remove-AzPostgreSqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6e016ede-aa82-4ef9-a706-65bf0f299ee2?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6e016ede-aa82-4ef9-a706-65bf0f299ee2?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6e016ede-aa82-4ef9-a706-65bf0f299ee2?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "170", "171" ], @@ -312,10 +312,10 @@ "Content": "{\"name\":\"6e016ede-aa82-4ef9-a706-65bf0f299ee2\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:30:52.773Z\"}" } }, - "Remove-AzPostgreSqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+3": { + "Remove-AzPostgreSqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "170", "171", "172" ], @@ -348,13 +348,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBforPostgreSQL/servers/virtualNetworkRules\"}" + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBForPostgreSQL/servers/virtualNetworkRules\"}" } }, - "Remove-AzPostgreSqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+4": { + "Remove-AzPostgreSqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "173" ], @@ -373,9 +373,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/6671ff01-d649-400b-ab32-38f951ef6299?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/6671ff01-d649-400b-ab32-38f951ef6299?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6671ff01-d649-400b-ab32-38f951ef6299?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6671ff01-d649-400b-ab32-38f951ef6299?api-version=2017-12-01" ], "x-ms-request-id": [ "6671ff01-d649-400b-ab32-38f951ef6299" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14981" ], @@ -393,10 +393,10 @@ "Content": "{\"operation\":\"DropElasticServerVnetFirewallRule\",\"startTime\":\"2020-09-25T11:31:25.133Z\"}" } }, - "Remove-AzPostgreSqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6671ff01-d649-400b-ab32-38f951ef6299?api-version=2017-12-01+5": { + "Remove-AzPostgreSqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6671ff01-d649-400b-ab32-38f951ef6299?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6671ff01-d649-400b-ab32-38f951ef6299?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6671ff01-d649-400b-ab32-38f951ef6299?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "173", "174" ], @@ -433,10 +433,10 @@ "Content": "{\"name\":\"6671ff01-d649-400b-ab32-38f951ef6299\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:31:25.133Z\"}" } }, - "Remove-AzPostgreSqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/6671ff01-d649-400b-ab32-38f951ef6299?api-version=2017-12-01+6": { + "Remove-AzPostgreSqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/6671ff01-d649-400b-ab32-38f951ef6299?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/6671ff01-d649-400b-ab32-38f951ef6299?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/6671ff01-d649-400b-ab32-38f951ef6299?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "173", "174", "175" ], diff --git a/src/PostgreSql/test/Remove-AzPostgreSqlVirtualNetworkRule.Tests.ps1 b/src/PostgreSql/test/Remove-AzPostgreSqlVirtualNetworkRule.Tests.ps1 index 9de060cfb880..f226c4b6321d 100644 --- a/src/PostgreSql/test/Remove-AzPostgreSqlVirtualNetworkRule.Tests.ps1 +++ b/src/PostgreSql/test/Remove-AzPostgreSqlVirtualNetworkRule.Tests.ps1 @@ -23,7 +23,7 @@ Describe 'Remove-AzPostgreSqlVirtualNetworkRule' { It 'DeleteViaIdentity' { $VnetID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1" New-AzPostgreSqlVirtualNetworkRule -Name $env.VNetName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -SubnetId $VnetID - $RuleID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBforPostgreSQL/servers/$($env.serverName)/virtualNetworkRules/$($env.VNetName)" + $RuleID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSQL/servers/$($env.serverName)/virtualNetworkRules/$($env.VNetName)" { Remove-AzPostgreSqlVirtualNetworkRule -InputObject $RuleID } | Should -Not -Throw diff --git a/src/PostgreSql/test/Restart-AzPostgreSqlFlexibleServer.Recording.json b/src/PostgreSql/test/Restart-AzPostgreSqlFlexibleServer.Recording.json index 066503c6dbd1..0169b5d54bf3 100644 --- a/src/PostgreSql/test/Restart-AzPostgreSqlFlexibleServer.Recording.json +++ b/src/PostgreSql/test/Restart-AzPostgreSqlFlexibleServer.Recording.json @@ -1,8 +1,8 @@ { - "Restart-AzPostgreSqlFlexibleServer+[NoContext]+Restart+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/restart?api-version=2020-02-14-preview+1": { + "Restart-AzPostgreSqlFlexibleServer+[NoContext]+Restart+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/restart?api-version=2020-02-14-preview+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/restart?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/restart?api-version=2020-02-14-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "16" ], @@ -157,13 +157,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"postgresqltest100\",\"type\":\"PostgreSQL\"}" + "Content": "{\"name\":\"postgresql-test-100\",\"type\":\"PostgreSQL\"}" } }, - "Restart-AzPostgreSqlFlexibleServer+[NoContext]+RestartViaIdentity+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/restart?api-version=2020-02-14-preview+1": { + "Restart-AzPostgreSqlFlexibleServer+[NoContext]+RestartViaIdentity+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/restart?api-version=2020-02-14-preview+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/restart?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/restart?api-version=2020-02-14-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "20" ], @@ -318,7 +318,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"postgresqltest100\",\"type\":\"PostgreSQL\"}" + "Content": "{\"name\":\"postgresql-test-100\",\"type\":\"PostgreSQL\"}" } } } \ No newline at end of file diff --git a/src/PostgreSql/test/Restart-AzPostgreSqlServer.Recording.json b/src/PostgreSql/test/Restart-AzPostgreSqlServer.Recording.json index c7894efa15d7..70007f463cc7 100644 --- a/src/PostgreSql/test/Restart-AzPostgreSqlServer.Recording.json +++ b/src/PostgreSql/test/Restart-AzPostgreSqlServer.Recording.json @@ -1,8 +1,8 @@ { - "Restart-AzPostgreSqlServer+[NoContext]+Restart+$POST+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/restart?api-version=2017-12-01+1": { + "Restart-AzPostgreSqlServer+[NoContext]+Restart+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/restart?api-version=2017-12-01+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/restart?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/restart?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "176" ], @@ -21,9 +21,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01" ], "x-ms-request-id": [ "6657b98a-0363-4cc7-89ac-3a1906ebec9c" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], @@ -41,10 +41,10 @@ "Content": "{\"operation\":\"RestartElasticServer\",\"startTime\":\"2020-09-25T11:31:42.713Z\"}" } }, - "Restart-AzPostgreSqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01+2": { + "Restart-AzPostgreSqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "176", "177" ], @@ -81,10 +81,10 @@ "Content": "{\"name\":\"6657b98a-0363-4cc7-89ac-3a1906ebec9c\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:31:42.713Z\"}" } }, - "Restart-AzPostgreSqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01+3": { + "Restart-AzPostgreSqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "176", "177", "178" ], @@ -121,10 +121,10 @@ "Content": "{\"name\":\"6657b98a-0363-4cc7-89ac-3a1906ebec9c\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:31:42.713Z\"}" } }, - "Restart-AzPostgreSqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01+4": { + "Restart-AzPostgreSqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "176", "177", "178", "179" ], @@ -161,10 +161,10 @@ "Content": "{\"name\":\"6657b98a-0363-4cc7-89ac-3a1906ebec9c\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:31:42.713Z\"}" } }, - "Restart-AzPostgreSqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01+5": { + "Restart-AzPostgreSqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "176", "177", "178", "179", "180" ], @@ -201,10 +201,10 @@ "Content": "{\"name\":\"6657b98a-0363-4cc7-89ac-3a1906ebec9c\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:31:42.713Z\"}" } }, - "Restart-AzPostgreSqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01+6": { + "Restart-AzPostgreSqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "176", "177", "178", "179", "180", "181" ], @@ -241,10 +241,10 @@ "Content": "{\"name\":\"6657b98a-0363-4cc7-89ac-3a1906ebec9c\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:31:42.713Z\"}" } }, - "Restart-AzPostgreSqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01+7": { + "Restart-AzPostgreSqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "176", "177", "178", "179", "180", "181", "182" ], @@ -281,10 +281,10 @@ "Content": "{\"name\":\"6657b98a-0363-4cc7-89ac-3a1906ebec9c\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:31:42.713Z\"}" } }, - "Restart-AzPostgreSqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01+8": { + "Restart-AzPostgreSqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "176", "177", "178", "179", "180", "181", "182", "183" ], @@ -321,10 +321,10 @@ "Content": "{\"name\":\"6657b98a-0363-4cc7-89ac-3a1906ebec9c\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:31:42.713Z\"}" } }, - "Restart-AzPostgreSqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01+9": { + "Restart-AzPostgreSqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "176", "177", "178", "179", "180", "181", "182", "183", "184" ], @@ -361,10 +361,10 @@ "Content": "{\"name\":\"6657b98a-0363-4cc7-89ac-3a1906ebec9c\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:31:42.713Z\"}" } }, - "Restart-AzPostgreSqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01+10": { + "Restart-AzPostgreSqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "176", "177", "178", "179", "180", "181", "182", "183", "184", "185" ], @@ -399,10 +399,10 @@ "Content": null } }, - "Restart-AzPostgreSqlServer+[NoContext]+RestartViaIdentity+$POST+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/restart?api-version=2017-12-01+1": { + "Restart-AzPostgreSqlServer+[NoContext]+RestartViaIdentity+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/restart?api-version=2017-12-01+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/restart?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/restart?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "186" ], @@ -421,9 +421,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01" ], "x-ms-request-id": [ "06fe70cb-50ec-442f-a66b-e02a36765c41" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], @@ -441,10 +441,10 @@ "Content": "{\"operation\":\"RestartElasticServer\",\"startTime\":\"2020-09-25T11:33:46.387Z\"}" } }, - "Restart-AzPostgreSqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01+2": { + "Restart-AzPostgreSqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "186", "187" ], @@ -481,10 +481,10 @@ "Content": "{\"name\":\"06fe70cb-50ec-442f-a66b-e02a36765c41\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:33:46.387Z\"}" } }, - "Restart-AzPostgreSqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01+3": { + "Restart-AzPostgreSqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "186", "187", "188" ], @@ -521,10 +521,10 @@ "Content": "{\"name\":\"06fe70cb-50ec-442f-a66b-e02a36765c41\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:33:46.387Z\"}" } }, - "Restart-AzPostgreSqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01+4": { + "Restart-AzPostgreSqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "186", "187", "188", "189" ], @@ -561,10 +561,10 @@ "Content": "{\"name\":\"06fe70cb-50ec-442f-a66b-e02a36765c41\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:33:46.387Z\"}" } }, - "Restart-AzPostgreSqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01+5": { + "Restart-AzPostgreSqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "186", "187", "188", "189", "190" ], @@ -601,10 +601,10 @@ "Content": "{\"name\":\"06fe70cb-50ec-442f-a66b-e02a36765c41\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:33:46.387Z\"}" } }, - "Restart-AzPostgreSqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01+6": { + "Restart-AzPostgreSqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "186", "187", "188", "189", "190", "191" ], @@ -641,10 +641,10 @@ "Content": "{\"name\":\"06fe70cb-50ec-442f-a66b-e02a36765c41\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:33:46.387Z\"}" } }, - "Restart-AzPostgreSqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01+7": { + "Restart-AzPostgreSqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "186", "187", "188", "189", "190", "191", "192" ], @@ -681,10 +681,10 @@ "Content": "{\"name\":\"06fe70cb-50ec-442f-a66b-e02a36765c41\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:33:46.387Z\"}" } }, - "Restart-AzPostgreSqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01+8": { + "Restart-AzPostgreSqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "186", "187", "188", "189", "190", "191", "192", "193" ], @@ -721,10 +721,10 @@ "Content": "{\"name\":\"06fe70cb-50ec-442f-a66b-e02a36765c41\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:33:46.387Z\"}" } }, - "Restart-AzPostgreSqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01+9": { + "Restart-AzPostgreSqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "186", "187", "188", "189", "190", "191", "192", "193", "194" ], @@ -761,10 +761,10 @@ "Content": "{\"name\":\"06fe70cb-50ec-442f-a66b-e02a36765c41\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:33:46.387Z\"}" } }, - "Restart-AzPostgreSqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01+10": { + "Restart-AzPostgreSqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "186", "187", "188", "189", "190", "191", "192", "193", "194", "195" ], diff --git a/src/PostgreSql/test/Restart-AzPostgreSqlServer.Tests.ps1 b/src/PostgreSql/test/Restart-AzPostgreSqlServer.Tests.ps1 index 5ab805859e30..9c42be19b00c 100644 --- a/src/PostgreSql/test/Restart-AzPostgreSqlServer.Tests.ps1 +++ b/src/PostgreSql/test/Restart-AzPostgreSqlServer.Tests.ps1 @@ -20,7 +20,7 @@ Describe 'Restart-AzPostgreSqlServer' { It 'RestartViaIdentity' { { - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBforPostgreSQL/servers/$($env.serverName)/restart" + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSQL/servers/$($env.serverName)/restart" Restart-AzPostgreSqlServer -InputObject $ID } | Should -Not -Throw } diff --git a/src/PostgreSql/test/Restore-AzPostgreSqlFlexibleServer.Recording.json b/src/PostgreSql/test/Restore-AzPostgreSqlFlexibleServer.Recording.json index 07bd40806961..a1910b4ff5a4 100644 --- a/src/PostgreSql/test/Restore-AzPostgreSqlFlexibleServer.Recording.json +++ b/src/PostgreSql/test/Restore-AzPostgreSqlFlexibleServer.Recording.json @@ -1,9 +1,9 @@ { - "Restore-AzPostgreSqlFlexibleServer+[NoContext]+PointInTimeRestore+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100restore?api-version=2020-02-14-preview+1": { + "Restore-AzPostgreSqlFlexibleServer+[NoContext]+PointInTimeRestore+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100-restore?api-version=2020-02-14-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100restore?api-version=2020-02-14-preview", - "Content": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"sourceServerName\": \"postgresqltest100\",\r\n \"pointInTimeUTC\": \"2020-11-11T22:33:58.6974190-08:00\",\r\n \"createMode\": \"PointInTimeRestore\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100-restore?api-version=2020-02-14-preview", + "Content": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"sourceServerName\": \"postgresql-test-100\",\r\n \"pointInTimeUTC\": \"2020-11-11T22:33:58.6974190-08:00\",\r\n \"createMode\": \"PointInTimeRestore\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { @@ -316,10 +316,10 @@ "Content": "{\"name\":\"f7ec74f0-fe23-413b-9fe5-61cb35db2c0d\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-12T06:44:00.093Z\"}" } }, - "Restore-AzPostgreSqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100restore?api-version=2020-02-14-preview+9": { + "Restore-AzPostgreSqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100-restore?api-version=2020-02-14-preview+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100restore?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100-restore?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -352,7 +352,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresqltest100restore.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"adminuser\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-12T06:51:03.9165911+00:00\",\"byokEnforcement\":\"Disabled\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0}},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresqltest100restore\",\"name\":\"postgresqltest100restore\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresql-test-100-restore.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"adminuser\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-12T06:51:03.9165911+00:00\",\"byokEnforcement\":\"Disabled\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0}},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test-100-restore\",\"name\":\"postgresql-test-100-restore\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}" } } } \ No newline at end of file diff --git a/src/PostgreSql/test/Restore-AzPostgreSqlServer.Recording.json b/src/PostgreSql/test/Restore-AzPostgreSqlServer.Recording.json index 088b8f875d60..49fcda411d41 100644 --- a/src/PostgreSql/test/Restore-AzPostgreSqlServer.Recording.json +++ b/src/PostgreSql/test/Restore-AzPostgreSqlServer.Recording.json @@ -1,8 +1,8 @@ { - "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+1": { + "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "196" ], @@ -35,14 +35,14 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01+2": { + "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01+2": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"createMode\": \"Replica\",\r\n \"sourceServerId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\"\r\n },\r\n \"location\": \"eastus\"\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"createMode\": \"Replica\",\r\n \"sourceServerId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\"\r\n },\r\n \"location\": \"eastus\"\r\n}", "Headers": { }, "ContentHeaders": { @@ -55,9 +55,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01" ], "x-ms-request-id": [ "04bf9aff-46cc-48c5-a470-2a8c7f5d16c8" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1177" ], @@ -75,10 +75,10 @@ "Content": "{\"operation\":\"CreateElasticServerContinuousCopy\",\"startTime\":\"2020-09-25T11:35:56.307Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01+3": { + "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "197", "198" ], @@ -115,10 +115,10 @@ "Content": "{\"name\":\"04bf9aff-46cc-48c5-a470-2a8c7f5d16c8\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:35:56.307Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01+4": { + "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "197", "198", "199" ], @@ -155,10 +155,10 @@ "Content": "{\"name\":\"04bf9aff-46cc-48c5-a470-2a8c7f5d16c8\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:35:56.307Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01+5": { + "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "197", "198", "199", "200" ], @@ -195,10 +195,10 @@ "Content": "{\"name\":\"04bf9aff-46cc-48c5-a470-2a8c7f5d16c8\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:35:56.307Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01+6": { + "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "197", "198", "199", "200", "201" ], @@ -235,10 +235,10 @@ "Content": "{\"name\":\"04bf9aff-46cc-48c5-a470-2a8c7f5d16c8\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:35:56.307Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01+7": { + "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "197", "198", "199", "200", "201", "202" ], @@ -275,10 +275,10 @@ "Content": "{\"name\":\"04bf9aff-46cc-48c5-a470-2a8c7f5d16c8\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:35:56.307Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01+8": { + "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "197", "198", "199", "200", "201", "202", "203" ], @@ -315,10 +315,10 @@ "Content": "{\"name\":\"04bf9aff-46cc-48c5-a470-2a8c7f5d16c8\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:35:56.307Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01+9": { + "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "197", "198", "199", "200", "201", "202", "203", "204" ], @@ -355,10 +355,10 @@ "Content": "{\"name\":\"04bf9aff-46cc-48c5-a470-2a8c7f5d16c8\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:35:56.307Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01+10": { + "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "197", "198", "199", "200", "201", "202", "203", "204", "205" ], @@ -395,10 +395,10 @@ "Content": "{\"name\":\"04bf9aff-46cc-48c5-a470-2a8c7f5d16c8\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:35:56.307Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01+11": { + "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "197", "198", "199", "200", "201", "202", "203", "204", "205", "206" ], @@ -435,10 +435,10 @@ "Content": "{\"name\":\"04bf9aff-46cc-48c5-a470-2a8c7f5d16c8\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:35:56.307Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01+12": { + "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "197", "198", "199", "200", "201", "202", "203", "204", "205", "206", "207" ], @@ -475,10 +475,10 @@ "Content": "{\"name\":\"04bf9aff-46cc-48c5-a470-2a8c7f5d16c8\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:35:56.307Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01+13": { + "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "197", "198", "199", "200", "201", "202", "203", "204", "205", "206", "207", "208" ], @@ -515,10 +515,10 @@ "Content": "{\"name\":\"04bf9aff-46cc-48c5-a470-2a8c7f5d16c8\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:35:56.307Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01+14": { + "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01+14": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "197", "198", "199", "200", "201", "202", "203", "204", "205", "206", "207", "208", "209" ], @@ -555,10 +555,10 @@ "Content": "{\"name\":\"04bf9aff-46cc-48c5-a470-2a8c7f5d16c8\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:35:56.307Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01+15": { + "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01+15": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "197", "198", "199", "200", "201", "202", "203", "204", "205", "206", "207", "208", "209", "210" ], @@ -591,14 +591,14 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100-replica.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:47:10.137+00:00\",\"replicationRole\":\"Replica\",\"masterServerId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-replica\",\"name\":\"postgresql-test-100-replica\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100-replica.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:47:10.137+00:00\",\"replicationRole\":\"Replica\",\"masterServerId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-replica\",\"name\":\"postgresql-test-100-replica\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+16": { + "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+16": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"createMode\": \"GeoRestore\",\r\n \"sourceServerId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-replica\"\r\n },\r\n \"location\": \"eastus\"\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"createMode\": \"GeoRestore\",\r\n \"sourceServerId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-replica\"\r\n },\r\n \"location\": \"eastus\"\r\n}", "Headers": { }, "ContentHeaders": { @@ -611,9 +611,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/30c7d1f9-0ff6-4392-8c4a-78bc4477ad83?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/30c7d1f9-0ff6-4392-8c4a-78bc4477ad83?api-version=2017-12-01" ], "Retry-After": [ "10" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/30c7d1f9-0ff6-4392-8c4a-78bc4477ad83?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/30c7d1f9-0ff6-4392-8c4a-78bc4477ad83?api-version=2017-12-01" ], "x-ms-request-id": [ "30c7d1f9-0ff6-4392-8c4a-78bc4477ad83" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1176" ], @@ -631,10 +631,10 @@ "Content": "{\"operation\":\"RestoreElasticServer\",\"startTime\":\"2020-09-25T11:42:03.47Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/30c7d1f9-0ff6-4392-8c4a-78bc4477ad83?api-version=2017-12-01+17": { + "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/30c7d1f9-0ff6-4392-8c4a-78bc4477ad83?api-version=2017-12-01+17": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/30c7d1f9-0ff6-4392-8c4a-78bc4477ad83?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/30c7d1f9-0ff6-4392-8c4a-78bc4477ad83?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "211", "212" ], @@ -668,13 +668,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"30c7d1f9-0ff6-4392-8c4a-78bc4477ad83\",\"status\":\"Failed\",\"startTime\":\"2020-09-25T11:42:03.47Z\",\"error\":{\"code\":\"SubscriptionDoesNotHaveServer\",\"message\":\"Subscription \u00279e223dbe-3399-4e19-88eb-0975f02ac87f\u0027 does not have the server \u0027postgresql-test-100-replica\u0027.\"}}" + "Content": "{\"name\":\"30c7d1f9-0ff6-4392-8c4a-78bc4477ad83\",\"status\":\"Failed\",\"startTime\":\"2020-09-25T11:42:03.47Z\",\"error\":{\"code\":\"SubscriptionDoesNotHaveServer\",\"message\":\"Subscription \u00277fec3109-5b78-4a24-b834-5d47d63e2596\u0027 does not have the server \u0027postgresql-test-100-replica\u0027.\"}}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+18": { + "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+18": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "211", "212", "213" ], @@ -707,13 +707,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+1": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "214" ], @@ -746,14 +746,14 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-restore-2?api-version=2017-12-01+2": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-restore-2?api-version=2017-12-01+2": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-restore-2?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"createMode\": \"PointInTimeRestore\",\r\n \"sourceServerId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\r\n \"restorePointInTime\": \"2020-09-25T19:32:14.5943302+08:00\"\r\n },\r\n \"location\": \"eastus\"\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-restore-2?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"createMode\": \"PointInTimeRestore\",\r\n \"sourceServerId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\r\n \"restorePointInTime\": \"2020-09-25T19:32:14.5943302+08:00\"\r\n },\r\n \"location\": \"eastus\"\r\n}", "Headers": { }, "ContentHeaders": { @@ -766,9 +766,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01" ], "Retry-After": [ "10" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01" ], "x-ms-request-id": [ "e4bb851b-cf32-4cee-912e-1d2cb5af1024" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1175" ], @@ -786,10 +786,10 @@ "Content": "{\"operation\":\"RestoreElasticServer\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+3": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216" ], @@ -826,10 +826,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+4": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217" ], @@ -866,10 +866,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+5": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218" ], @@ -906,10 +906,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+6": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219" ], @@ -946,10 +946,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+7": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220" ], @@ -986,10 +986,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+8": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221" ], @@ -1026,10 +1026,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+9": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222" ], @@ -1066,10 +1066,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+10": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223" ], @@ -1106,10 +1106,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+11": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224" ], @@ -1146,10 +1146,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+12": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225" ], @@ -1186,10 +1186,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+13": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226" ], @@ -1226,10 +1226,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+14": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+14": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227" ], @@ -1266,10 +1266,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+15": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+15": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228" ], @@ -1306,10 +1306,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+16": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+16": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229" ], @@ -1346,10 +1346,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+17": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+17": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230" ], @@ -1386,10 +1386,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+18": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+18": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231" ], @@ -1426,10 +1426,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+19": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+19": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232" ], @@ -1466,10 +1466,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+20": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+20": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232", "233" ], @@ -1506,10 +1506,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+21": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+21": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232", "233", "234" ], @@ -1546,10 +1546,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+22": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+22": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232", "233", "234", "235" ], @@ -1586,10 +1586,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+23": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+23": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232", "233", "234", "235", "236" ], @@ -1626,10 +1626,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+24": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+24": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232", "233", "234", "235", "236", "237" ], @@ -1666,10 +1666,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+25": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+25": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232", "233", "234", "235", "236", "237", "238" ], @@ -1706,10 +1706,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+26": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+26": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232", "233", "234", "235", "236", "237", "238", "239" ], @@ -1746,10 +1746,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+27": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+27": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232", "233", "234", "235", "236", "237", "238", "239", "240" ], @@ -1786,10 +1786,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+28": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+28": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232", "233", "234", "235", "236", "237", "238", "239", "240", "241" ], @@ -1826,10 +1826,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+29": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+29": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232", "233", "234", "235", "236", "237", "238", "239", "240", "241", "242" ], @@ -1866,10 +1866,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+30": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+30": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232", "233", "234", "235", "236", "237", "238", "239", "240", "241", "242", "243" ], @@ -1906,10 +1906,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+31": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+31": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232", "233", "234", "235", "236", "237", "238", "239", "240", "241", "242", "243", "244" ], @@ -1946,10 +1946,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+32": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+32": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232", "233", "234", "235", "236", "237", "238", "239", "240", "241", "242", "243", "244", "245" ], @@ -1986,10 +1986,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+33": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+33": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232", "233", "234", "235", "236", "237", "238", "239", "240", "241", "242", "243", "244", "245", "246" ], @@ -2026,10 +2026,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+34": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+34": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232", "233", "234", "235", "236", "237", "238", "239", "240", "241", "242", "243", "244", "245", "246", "247" ], @@ -2066,10 +2066,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+35": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+35": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232", "233", "234", "235", "236", "237", "238", "239", "240", "241", "242", "243", "244", "245", "246", "247", "248" ], @@ -2106,10 +2106,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+36": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+36": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232", "233", "234", "235", "236", "237", "238", "239", "240", "241", "242", "243", "244", "245", "246", "247", "248", "249" ], @@ -2146,10 +2146,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+37": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+37": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232", "233", "234", "235", "236", "237", "238", "239", "240", "241", "242", "243", "244", "245", "246", "247", "248", "249", "250" ], @@ -2186,10 +2186,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+38": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+38": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232", "233", "234", "235", "236", "237", "238", "239", "240", "241", "242", "243", "244", "245", "246", "247", "248", "249", "250", "251" ], @@ -2226,10 +2226,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+39": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+39": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232", "233", "234", "235", "236", "237", "238", "239", "240", "241", "242", "243", "244", "245", "246", "247", "248", "249", "250", "251", "252" ], @@ -2266,10 +2266,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+40": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+40": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232", "233", "234", "235", "236", "237", "238", "239", "240", "241", "242", "243", "244", "245", "246", "247", "248", "249", "250", "251", "252", "253" ], @@ -2306,10 +2306,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+41": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+41": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232", "233", "234", "235", "236", "237", "238", "239", "240", "241", "242", "243", "244", "245", "246", "247", "248", "249", "250", "251", "252", "253", "254" ], @@ -2346,10 +2346,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-restore-2?api-version=2017-12-01+42": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-restore-2?api-version=2017-12-01+42": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-restore-2?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-restore-2?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232", "233", "234", "235", "236", "237", "238", "239", "240", "241", "242", "243", "244", "245", "246", "247", "248", "249", "250", "251", "252", "253", "254", "255" ], @@ -2382,7 +2382,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100-restore-2.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:52:20.423+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-restore-2\",\"name\":\"postgresql-test-100-restore-2\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100-restore-2.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:52:20.423+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-restore-2\",\"name\":\"postgresql-test-100-restore-2\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" } } } \ No newline at end of file diff --git a/src/PostgreSql/test/Start-AzPostgreSqlFlexibleServer.Recording.json b/src/PostgreSql/test/Start-AzPostgreSqlFlexibleServer.Recording.json index 8929e27e8b93..2003d7f9cdd4 100644 --- a/src/PostgreSql/test/Start-AzPostgreSqlFlexibleServer.Recording.json +++ b/src/PostgreSql/test/Start-AzPostgreSqlFlexibleServer.Recording.json @@ -1,8 +1,8 @@ { - "Start-AzPostgreSqlFlexibleServer+[NoContext]+Start+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/stop?api-version=2020-02-14-preview+1": { + "Start-AzPostgreSqlFlexibleServer+[NoContext]+Start+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/stop?api-version=2020-02-14-preview+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/stop?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/stop?api-version=2020-02-14-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "24" ], @@ -157,13 +157,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"postgresqltest100\",\"type\":\"PostgreSQL\"}" + "Content": "{\"name\":\"postgresql-test-100\",\"type\":\"PostgreSQL\"}" } }, - "Start-AzPostgreSqlFlexibleServer+[NoContext]+Start+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/start?api-version=2020-02-14-preview+5": { + "Start-AzPostgreSqlFlexibleServer+[NoContext]+Start+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/start?api-version=2020-02-14-preview+5": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/start?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/start?api-version=2020-02-14-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "28" ], @@ -318,13 +318,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"postgresqltest100\",\"type\":\"PostgreSQL\"}" + "Content": "{\"name\":\"postgresql-test-100\",\"type\":\"PostgreSQL\"}" } }, - "Start-AzPostgreSqlFlexibleServer+[NoContext]+StartViaIdentity+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/stop?api-version=2020-02-14-preview+1": { + "Start-AzPostgreSqlFlexibleServer+[NoContext]+StartViaIdentity+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/stop?api-version=2020-02-14-preview+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/stop?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/stop?api-version=2020-02-14-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "32" ], @@ -479,13 +479,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"postgresqltest100\",\"type\":\"PostgreSQL\"}" + "Content": "{\"name\":\"postgresql-test-100\",\"type\":\"PostgreSQL\"}" } }, - "Start-AzPostgreSqlFlexibleServer+[NoContext]+StartViaIdentity+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/start?api-version=2020-02-14-preview+5": { + "Start-AzPostgreSqlFlexibleServer+[NoContext]+StartViaIdentity+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/start?api-version=2020-02-14-preview+5": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/start?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/start?api-version=2020-02-14-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "36" ], @@ -640,7 +640,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"postgresqltest100\",\"type\":\"PostgreSQL\"}" + "Content": "{\"name\":\"postgresql-test-100\",\"type\":\"PostgreSQL\"}" } } } \ No newline at end of file diff --git a/src/PostgreSql/test/Stop-AzPostgreSqlFlexibleServer.Recording.json b/src/PostgreSql/test/Stop-AzPostgreSqlFlexibleServer.Recording.json index 679ce3cec6fb..af5d8fe95120 100644 --- a/src/PostgreSql/test/Stop-AzPostgreSqlFlexibleServer.Recording.json +++ b/src/PostgreSql/test/Stop-AzPostgreSqlFlexibleServer.Recording.json @@ -1,8 +1,8 @@ { - "Stop-AzPostgreSqlFlexibleServer+[NoContext]+Stop+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/stop?api-version=2020-02-14-preview+1": { + "Stop-AzPostgreSqlFlexibleServer+[NoContext]+Stop+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/stop?api-version=2020-02-14-preview+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/stop?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/stop?api-version=2020-02-14-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "1" ], @@ -157,13 +157,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"postgresqltest100\",\"type\":\"PostgreSQL\"}" + "Content": "{\"name\":\"postgresql-test-100\",\"type\":\"PostgreSQL\"}" } }, - "Stop-AzPostgreSqlFlexibleServer+[NoContext]+Stop+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/start?api-version=2020-02-14-preview+5": { + "Stop-AzPostgreSqlFlexibleServer+[NoContext]+Stop+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/start?api-version=2020-02-14-preview+5": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/start?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/start?api-version=2020-02-14-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "5" ], @@ -318,13 +318,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"postgresqltest100\",\"type\":\"PostgreSQL\"}" + "Content": "{\"name\":\"postgresql-test-100\",\"type\":\"PostgreSQL\"}" } }, - "Stop-AzPostgreSqlFlexibleServer+[NoContext]+StopViaIdentity+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/stop?api-version=2020-02-14-preview+1": { + "Stop-AzPostgreSqlFlexibleServer+[NoContext]+StopViaIdentity+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/stop?api-version=2020-02-14-preview+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/stop?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/stop?api-version=2020-02-14-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "9" ], @@ -479,7 +479,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"postgresqltest100\",\"type\":\"PostgreSQL\"}" + "Content": "{\"name\":\"postgresql-test-100\",\"type\":\"PostgreSQL\"}" } } } \ No newline at end of file diff --git a/src/PostgreSql/test/Update-AzPostgreSqlConfiguration.Recording.json b/src/PostgreSql/test/Update-AzPostgreSqlConfiguration.Recording.json index 8bbdd354b16f..cc4370ef9332 100644 --- a/src/PostgreSql/test/Update-AzPostgreSqlConfiguration.Recording.json +++ b/src/PostgreSql/test/Update-AzPostgreSqlConfiguration.Recording.json @@ -1,8 +1,8 @@ { - "Update-AzPostgreSqlConfiguration+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/intervalstyle?api-version=2017-12-01+1": { + "Update-AzPostgreSqlConfiguration+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/intervalstyle?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/intervalstyle?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/intervalstyle?api-version=2017-12-01", "Content": "{\r\n \"properties\": {\r\n \"value\": \"SQL_STANDARD\"\r\n }\r\n}", "Headers": { }, @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/2d654607-bcd3-49f8-9b11-c35061b9266e?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/2d654607-bcd3-49f8-9b11-c35061b9266e?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/2d654607-bcd3-49f8-9b11-c35061b9266e?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/2d654607-bcd3-49f8-9b11-c35061b9266e?api-version=2017-12-01" ], "x-ms-request-id": [ "2d654607-bcd3-49f8-9b11-c35061b9266e" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1174" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpdateElasticServerConfig\",\"startTime\":\"2020-09-25T11:49:08.207Z\"}" } }, - "Update-AzPostgreSqlConfiguration+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/2d654607-bcd3-49f8-9b11-c35061b9266e?api-version=2017-12-01+2": { + "Update-AzPostgreSqlConfiguration+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/2d654607-bcd3-49f8-9b11-c35061b9266e?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/2d654607-bcd3-49f8-9b11-c35061b9266e?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/2d654607-bcd3-49f8-9b11-c35061b9266e?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "256", "257" ], @@ -76,10 +76,10 @@ "Content": "{\"name\":\"2d654607-bcd3-49f8-9b11-c35061b9266e\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:49:08.207Z\"}" } }, - "Update-AzPostgreSqlConfiguration+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/intervalstyle?api-version=2017-12-01+3": { + "Update-AzPostgreSqlConfiguration+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/intervalstyle?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/intervalstyle?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/intervalstyle?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "256", "257", "258" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"value\":\"SQL_STANDARD\",\"description\":\"Sets the display format for interval values.\",\"defaultValue\":\"postgres\",\"dataType\":\"Enumeration\",\"allowedValues\":\"postgres,postgres_verbose,sql_standard,iso_8601\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/intervalstyle\",\"name\":\"intervalstyle\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"}" + "Content": "{\"properties\":{\"value\":\"SQL_STANDARD\",\"description\":\"Sets the display format for interval values.\",\"defaultValue\":\"postgres\",\"dataType\":\"Enumeration\",\"allowedValues\":\"postgres,postgres_verbose,sql_standard,iso_8601\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/intervalstyle\",\"name\":\"intervalstyle\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"}" } }, - "Update-AzPostgreSqlConfiguration+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/deadlock_timeout?api-version=2017-12-01+1": { + "Update-AzPostgreSqlConfiguration+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/deadlock_timeout?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/deadlock_timeout?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/deadlock_timeout?api-version=2017-12-01", "Content": "{\r\n \"properties\": {\r\n \"value\": \"2000\"\r\n }\r\n}", "Headers": { }, @@ -132,9 +132,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/351e8bf3-49e4-43d8-82c2-b4b767cd83c4?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/351e8bf3-49e4-43d8-82c2-b4b767cd83c4?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/351e8bf3-49e4-43d8-82c2-b4b767cd83c4?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/351e8bf3-49e4-43d8-82c2-b4b767cd83c4?api-version=2017-12-01" ], "x-ms-request-id": [ "351e8bf3-49e4-43d8-82c2-b4b767cd83c4" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1173" ], @@ -152,10 +152,10 @@ "Content": "{\"operation\":\"UpdateElasticServerConfig\",\"startTime\":\"2020-09-25T11:49:24.707Z\"}" } }, - "Update-AzPostgreSqlConfiguration+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/351e8bf3-49e4-43d8-82c2-b4b767cd83c4?api-version=2017-12-01+2": { + "Update-AzPostgreSqlConfiguration+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/351e8bf3-49e4-43d8-82c2-b4b767cd83c4?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/351e8bf3-49e4-43d8-82c2-b4b767cd83c4?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/351e8bf3-49e4-43d8-82c2-b4b767cd83c4?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "259", "260" ], @@ -192,10 +192,10 @@ "Content": "{\"name\":\"351e8bf3-49e4-43d8-82c2-b4b767cd83c4\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:49:24.707Z\"}" } }, - "Update-AzPostgreSqlConfiguration+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/deadlock_timeout?api-version=2017-12-01+3": { + "Update-AzPostgreSqlConfiguration+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/deadlock_timeout?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/deadlock_timeout?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/deadlock_timeout?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "259", "260", "261" ], @@ -228,7 +228,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"value\":\"2000\",\"description\":\"Sets the amount of time, in milliseconds, to wait on a lock before checking for deadlock.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/deadlock_timeout\",\"name\":\"deadlock_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"}" + "Content": "{\"properties\":{\"value\":\"2000\",\"description\":\"Sets the amount of time, in milliseconds, to wait on a lock before checking for deadlock.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/deadlock_timeout\",\"name\":\"deadlock_timeout\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"}" } } } \ No newline at end of file diff --git a/src/PostgreSql/test/Update-AzPostgreSqlConfiguration.Tests.ps1 b/src/PostgreSql/test/Update-AzPostgreSqlConfiguration.Tests.ps1 index a0f4ec1cce97..0ba8009411de 100644 --- a/src/PostgreSql/test/Update-AzPostgreSqlConfiguration.Tests.ps1 +++ b/src/PostgreSql/test/Update-AzPostgreSqlConfiguration.Tests.ps1 @@ -18,7 +18,7 @@ Describe 'Update-AzPostgreSqlConfiguration' { } It 'UpdateViaIdentityExpanded' { - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBforPostgreSQL/servers/$($env.serverName)/configurations/deadlock_timeout" + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSQL/servers/$($env.serverName)/configurations/deadlock_timeout" $config = Update-AzPostgreSqlConfiguration -InputObject $ID -Value 2000 $config.Value | Should -Be 2000 } diff --git a/src/PostgreSql/test/Update-AzPostgreSqlFirewallRule.Recording.json b/src/PostgreSql/test/Update-AzPostgreSqlFirewallRule.Recording.json index fb5d075d7f0b..6bf38fe6546a 100644 --- a/src/PostgreSql/test/Update-AzPostgreSqlFirewallRule.Recording.json +++ b/src/PostgreSql/test/Update-AzPostgreSqlFirewallRule.Recording.json @@ -1,8 +1,8 @@ { - "Update-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+1": { + "Update-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/9ccf456f-9710-4d4c-9001-b97cc5442557?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/9ccf456f-9710-4d4c-9001-b97cc5442557?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/9ccf456f-9710-4d4c-9001-b97cc5442557?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/9ccf456f-9710-4d4c-9001-b97cc5442557?api-version=2017-12-01" ], "x-ms-request-id": [ "9ccf456f-9710-4d4c-9001-b97cc5442557" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1172" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-09-25T11:49:41.41Z\"}" } }, - "Update-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/9ccf456f-9710-4d4c-9001-b97cc5442557?api-version=2017-12-01+2": { + "Update-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/9ccf456f-9710-4d4c-9001-b97cc5442557?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/9ccf456f-9710-4d4c-9001-b97cc5442557?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/9ccf456f-9710-4d4c-9001-b97cc5442557?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "262", "263" ], @@ -76,10 +76,10 @@ "Content": "{\"name\":\"9ccf456f-9710-4d4c-9001-b97cc5442557\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:49:41.41Z\"}" } }, - "Update-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+3": { + "Update-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "262", "263", "264" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBForPostgreSQL/servers/firewallRules\"}" } }, - "Update-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+4": { + "Update-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+4": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.2\",\r\n \"endIpAddress\": \"0.0.0.2\"\r\n }\r\n}", "Headers": { }, @@ -132,9 +132,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/79cb1e83-5460-4f0c-9213-9d5b2d404a4f?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/79cb1e83-5460-4f0c-9213-9d5b2d404a4f?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/79cb1e83-5460-4f0c-9213-9d5b2d404a4f?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/79cb1e83-5460-4f0c-9213-9d5b2d404a4f?api-version=2017-12-01" ], "x-ms-request-id": [ "79cb1e83-5460-4f0c-9213-9d5b2d404a4f" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1171" ], @@ -152,10 +152,10 @@ "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-09-25T11:49:58.91Z\"}" } }, - "Update-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/79cb1e83-5460-4f0c-9213-9d5b2d404a4f?api-version=2017-12-01+5": { + "Update-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/79cb1e83-5460-4f0c-9213-9d5b2d404a4f?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/79cb1e83-5460-4f0c-9213-9d5b2d404a4f?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/79cb1e83-5460-4f0c-9213-9d5b2d404a4f?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "265", "266" ], @@ -192,10 +192,10 @@ "Content": "{\"name\":\"79cb1e83-5460-4f0c-9213-9d5b2d404a4f\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:49:58.91Z\"}" } }, - "Update-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+6": { + "Update-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "265", "266", "267" ], @@ -228,13 +228,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.2\",\"endIpAddress\":\"0.0.0.2\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.2\",\"endIpAddress\":\"0.0.0.2\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBForPostgreSQL/servers/firewallRules\"}" } }, - "Update-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+7": { + "Update-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+7": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "268" ], @@ -253,9 +253,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/7f599f51-7188-4b25-9e0d-da6a522a15e0?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/7f599f51-7188-4b25-9e0d-da6a522a15e0?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/7f599f51-7188-4b25-9e0d-da6a522a15e0?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/7f599f51-7188-4b25-9e0d-da6a522a15e0?api-version=2017-12-01" ], "x-ms-request-id": [ "7f599f51-7188-4b25-9e0d-da6a522a15e0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14980" ], @@ -273,10 +273,10 @@ "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-09-25T11:50:18.77Z\"}" } }, - "Update-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/7f599f51-7188-4b25-9e0d-da6a522a15e0?api-version=2017-12-01+8": { + "Update-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/7f599f51-7188-4b25-9e0d-da6a522a15e0?api-version=2017-12-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/7f599f51-7188-4b25-9e0d-da6a522a15e0?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/7f599f51-7188-4b25-9e0d-da6a522a15e0?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "268", "269" ], @@ -313,10 +313,10 @@ "Content": "{\"name\":\"7f599f51-7188-4b25-9e0d-da6a522a15e0\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:50:18.77Z\"}" } }, - "Update-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/7f599f51-7188-4b25-9e0d-da6a522a15e0?api-version=2017-12-01+9": { + "Update-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/7f599f51-7188-4b25-9e0d-da6a522a15e0?api-version=2017-12-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/7f599f51-7188-4b25-9e0d-da6a522a15e0?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/7f599f51-7188-4b25-9e0d-da6a522a15e0?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "268", "269", "270" ], @@ -351,10 +351,10 @@ "Content": null } }, - "Update-AzPostgreSqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+1": { + "Update-AzPostgreSqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -368,9 +368,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/ec6c0819-dd1b-42c4-b5f5-445833f5ca13?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/ec6c0819-dd1b-42c4-b5f5-445833f5ca13?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ec6c0819-dd1b-42c4-b5f5-445833f5ca13?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/ec6c0819-dd1b-42c4-b5f5-445833f5ca13?api-version=2017-12-01" ], "x-ms-request-id": [ "ec6c0819-dd1b-42c4-b5f5-445833f5ca13" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1170" ], @@ -388,10 +388,10 @@ "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-09-25T11:50:38.19Z\"}" } }, - "Update-AzPostgreSqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ec6c0819-dd1b-42c4-b5f5-445833f5ca13?api-version=2017-12-01+2": { + "Update-AzPostgreSqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/ec6c0819-dd1b-42c4-b5f5-445833f5ca13?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ec6c0819-dd1b-42c4-b5f5-445833f5ca13?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/ec6c0819-dd1b-42c4-b5f5-445833f5ca13?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "271", "272" ], @@ -428,10 +428,10 @@ "Content": "{\"name\":\"ec6c0819-dd1b-42c4-b5f5-445833f5ca13\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:50:38.19Z\"}" } }, - "Update-AzPostgreSqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+3": { + "Update-AzPostgreSqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "271", "272", "273" ], @@ -464,13 +464,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBForPostgreSQL/servers/firewallRules\"}" } }, - "Update-AzPostgreSqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+4": { + "Update-AzPostgreSqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+4": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.2\",\r\n \"endIpAddress\": \"0.0.0.3\"\r\n }\r\n}", "Headers": { }, @@ -484,9 +484,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/61c29b02-7b63-4208-9f95-6fa09cfc2b2f?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/61c29b02-7b63-4208-9f95-6fa09cfc2b2f?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/61c29b02-7b63-4208-9f95-6fa09cfc2b2f?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/61c29b02-7b63-4208-9f95-6fa09cfc2b2f?api-version=2017-12-01" ], "x-ms-request-id": [ "61c29b02-7b63-4208-9f95-6fa09cfc2b2f" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1169" ], @@ -504,10 +504,10 @@ "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-09-25T11:50:55.69Z\"}" } }, - "Update-AzPostgreSqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/61c29b02-7b63-4208-9f95-6fa09cfc2b2f?api-version=2017-12-01+5": { + "Update-AzPostgreSqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/61c29b02-7b63-4208-9f95-6fa09cfc2b2f?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/61c29b02-7b63-4208-9f95-6fa09cfc2b2f?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/61c29b02-7b63-4208-9f95-6fa09cfc2b2f?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "274", "275" ], @@ -544,10 +544,10 @@ "Content": "{\"name\":\"61c29b02-7b63-4208-9f95-6fa09cfc2b2f\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:50:55.69Z\"}" } }, - "Update-AzPostgreSqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+6": { + "Update-AzPostgreSqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "274", "275", "276" ], @@ -580,13 +580,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.2\",\"endIpAddress\":\"0.0.0.3\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.2\",\"endIpAddress\":\"0.0.0.3\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBForPostgreSQL/servers/firewallRules\"}" } }, - "Update-AzPostgreSqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+7": { + "Update-AzPostgreSqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+7": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "277" ], @@ -605,9 +605,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/c062c433-77f7-405b-9706-8035ba09e6e9?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/c062c433-77f7-405b-9706-8035ba09e6e9?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c062c433-77f7-405b-9706-8035ba09e6e9?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c062c433-77f7-405b-9706-8035ba09e6e9?api-version=2017-12-01" ], "x-ms-request-id": [ "c062c433-77f7-405b-9706-8035ba09e6e9" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14979" ], @@ -625,10 +625,10 @@ "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-09-25T11:51:13.02Z\"}" } }, - "Update-AzPostgreSqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c062c433-77f7-405b-9706-8035ba09e6e9?api-version=2017-12-01+8": { + "Update-AzPostgreSqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c062c433-77f7-405b-9706-8035ba09e6e9?api-version=2017-12-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c062c433-77f7-405b-9706-8035ba09e6e9?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c062c433-77f7-405b-9706-8035ba09e6e9?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "277", "278" ], @@ -665,10 +665,10 @@ "Content": "{\"name\":\"c062c433-77f7-405b-9706-8035ba09e6e9\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:51:13.02Z\"}" } }, - "Update-AzPostgreSqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/c062c433-77f7-405b-9706-8035ba09e6e9?api-version=2017-12-01+9": { + "Update-AzPostgreSqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/c062c433-77f7-405b-9706-8035ba09e6e9?api-version=2017-12-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/c062c433-77f7-405b-9706-8035ba09e6e9?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/c062c433-77f7-405b-9706-8035ba09e6e9?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "277", "278", "279" ], diff --git a/src/PostgreSql/test/Update-AzPostgreSqlFirewallRule.Tests.ps1 b/src/PostgreSql/test/Update-AzPostgreSqlFirewallRule.Tests.ps1 index 234e8b7bcde5..92638b0b1a57 100644 --- a/src/PostgreSql/test/Update-AzPostgreSqlFirewallRule.Tests.ps1 +++ b/src/PostgreSql/test/Update-AzPostgreSqlFirewallRule.Tests.ps1 @@ -22,7 +22,7 @@ Describe 'Update-AzPostgreSqlFirewallRule' { It 'UpdateViaIdentityExpanded' { New-AzPostgreSqlFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBforPostgreSQL/servers/$($env.serverName)/firewallRules/$($env.firewallRuleName)" + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSQL/servers/$($env.serverName)/firewallRules/$($env.firewallRuleName)" $rule = Update-AzPostgreSqlFirewallRule -InputObject $ID -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 $rule.StartIPAddress | Should -Be 0.0.0.2 $rule.EndIPAddress | Should -Be 0.0.0.3 diff --git a/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServer.Recording.json b/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServer.Recording.json index 4ccf75ce66db..0de7d290b98c 100644 --- a/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServer.Recording.json +++ b/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServer.Recording.json @@ -1,8 +1,8 @@ { - "Update-AzPostgreSqlFlexibleServer+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100?api-version=2020-02-14-preview+1": { + "Update-AzPostgreSqlFlexibleServer+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview+1": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview", "Content": "{\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 15\r\n }\r\n }\r\n}", "Headers": { }, @@ -76,10 +76,10 @@ "Content": "{\"name\":\"0af22222-36e4-4758-ad48-43c36809a9bb\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-12T23:27:09.98Z\"}" } }, - "Update-AzPostgreSqlFlexibleServer+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100?api-version=2020-02-14-preview+3": { + "Update-AzPostgreSqlFlexibleServer+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresqltest100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"adminuser\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":15},\"earliestRestoreDate\":\"2020-11-11T20:47:55.6257742+00:00\",\"byokEnforcement\":\"Disabled\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0}},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresqltest100\",\"name\":\"postgresqltest100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"adminuser\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":15},\"earliestRestoreDate\":\"2020-11-11T20:47:55.6257742+00:00\",\"byokEnforcement\":\"Disabled\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0}},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}" } }, - "Update-AzPostgreSqlFlexibleServer+[NoContext]+UpdateViaIdentityExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100?api-version=2020-02-14-preview+1": { + "Update-AzPostgreSqlFlexibleServer+[NoContext]+UpdateViaIdentityExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview+1": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview", "Content": "{\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 20\r\n }\r\n }\r\n}", "Headers": { }, @@ -192,10 +192,10 @@ "Content": "{\"name\":\"bf3f527a-1849-4298-a5f0-88f017099834\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-12T23:28:11.747Z\"}" } }, - "Update-AzPostgreSqlFlexibleServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100?api-version=2020-02-14-preview+3": { + "Update-AzPostgreSqlFlexibleServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -228,7 +228,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresqltest100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"adminuser\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":20},\"earliestRestoreDate\":\"2020-11-11T20:47:55.6257742+00:00\",\"byokEnforcement\":\"Disabled\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0}},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresqltest100\",\"name\":\"postgresqltest100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"adminuser\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":20},\"earliestRestoreDate\":\"2020-11-11T20:47:55.6257742+00:00\",\"byokEnforcement\":\"Disabled\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0}},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}" } } } \ No newline at end of file diff --git a/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerConfiguration.Recording.json b/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerConfiguration.Recording.json index 395f4563c608..8e0fdd0c7872 100644 --- a/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerConfiguration.Recording.json +++ b/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerConfiguration.Recording.json @@ -1,8 +1,8 @@ { - "Update-AzPostgreSqlFlexibleServerConfiguration+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/configurations/work_mem?api-version=2020-02-14-preview+1": { + "Update-AzPostgreSqlFlexibleServerConfiguration+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/configurations/work_mem?api-version=2020-02-14-preview+1": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/configurations/work_mem?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/configurations/work_mem?api-version=2020-02-14-preview", "Content": "{\r\n \"properties\": {\r\n \"value\": \"10240\",\r\n \"source\": \"user-override\"\r\n }\r\n}", "Headers": { }, @@ -76,10 +76,10 @@ "Content": "{\"name\":\"4f49a233-b3c9-4f43-859e-1260748f24ca\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-12T23:12:43.627Z\"}" } }, - "Update-AzPostgreSqlFlexibleServerConfiguration+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/configurations/work_mem?api-version=2020-02-14-preview+3": { + "Update-AzPostgreSqlFlexibleServerConfiguration+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/configurations/work_mem?api-version=2020-02-14-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/configurations/work_mem?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/configurations/work_mem?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"value\":\"10240\",\"description\":\"Sets the amount of memory to be used by internal sort operations and hash tables before writing to temporary disk files.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-2097151\",\"source\":\"user-override\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/work_mem\",\"name\":\"work_mem\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"}" + "Content": "{\"properties\":{\"value\":\"10240\",\"description\":\"Sets the amount of memory to be used by internal sort operations and hash tables before writing to temporary disk files.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-2097151\",\"source\":\"user-override\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/work_mem\",\"name\":\"work_mem\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"}" } }, - "Update-AzPostgreSqlFlexibleServerConfiguration+[NoContext]+UpdateViaIdentityExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/configurations/work_mem?api-version=2020-02-14-preview+1": { + "Update-AzPostgreSqlFlexibleServerConfiguration+[NoContext]+UpdateViaIdentityExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/configurations/work_mem?api-version=2020-02-14-preview+1": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/configurations/work_mem?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/configurations/work_mem?api-version=2020-02-14-preview", "Content": "{\r\n \"properties\": {\r\n \"value\": \"4096\",\r\n \"source\": \"user-override\"\r\n }\r\n}", "Headers": { }, @@ -192,10 +192,10 @@ "Content": "{\"name\":\"45063307-4cbb-49c5-875b-ac9b1be719da\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-12T23:13:50.087Z\"}" } }, - "Update-AzPostgreSqlFlexibleServerConfiguration+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/configurations/work_mem?api-version=2020-02-14-preview+3": { + "Update-AzPostgreSqlFlexibleServerConfiguration+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/configurations/work_mem?api-version=2020-02-14-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/configurations/work_mem?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/configurations/work_mem?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -228,7 +228,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"value\":\"4096\",\"description\":\"Sets the amount of memory to be used by internal sort operations and hash tables before writing to temporary disk files.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-2097151\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresqltest100/configurations/work_mem\",\"name\":\"work_mem\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"}" + "Content": "{\"properties\":{\"value\":\"4096\",\"description\":\"Sets the amount of memory to be used by internal sort operations and hash tables before writing to temporary disk files.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-2097151\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/work_mem\",\"name\":\"work_mem\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"}" } } } \ No newline at end of file diff --git a/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerFirewallRule.Recording.json b/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerFirewallRule.Recording.json index b7e115e4f8ae..8c33332fd35b 100644 --- a/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerFirewallRule.Recording.json +++ b/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerFirewallRule.Recording.json @@ -1,8 +1,8 @@ { - "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { + "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -76,10 +76,10 @@ "Content": "{\"name\":\"8d811bc8-fb0d-4944-aa41-d6f76e9be39e\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-12T23:14:37.497Z\"}" } }, - "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { + "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -115,10 +115,10 @@ "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}" } }, - "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+4": { + "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+4": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.2\",\r\n \"endIpAddress\": \"0.0.0.3\"\r\n }\r\n}", "Headers": { }, @@ -192,10 +192,10 @@ "Content": "{\"name\":\"2036f09b-622f-4e78-bcaa-666ff5efaa8e\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-12T23:15:38.517Z\"}" } }, - "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+6": { + "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -231,10 +231,10 @@ "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.2\",\"endIpAddress\":\"0.0.0.3\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}" } }, - "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { + "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.2\",\r\n \"endIpAddress\": \"0.0.0.2\"\r\n }\r\n}", "Headers": { }, @@ -308,10 +308,10 @@ "Content": "{\"name\":\"04a22503-26bd-48d1-ae3b-c33e10cecf5c\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-12T23:16:39.523Z\"}" } }, - "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { + "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -347,10 +347,10 @@ "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.2\",\"endIpAddress\":\"0.0.0.2\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}" } }, - "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { + "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.4\",\r\n \"endIpAddress\": \"0.0.0.5\"\r\n }\r\n}", "Headers": { }, @@ -424,10 +424,10 @@ "Content": "{\"name\":\"5ec82055-979b-43b1-8d3d-524584126bd5\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-12T23:17:40.99Z\"}" } }, - "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { + "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -463,10 +463,10 @@ "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.4\",\"endIpAddress\":\"0.0.0.5\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}" } }, - "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddressViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { + "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddressViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.9\",\r\n \"endIpAddress\": \"0.0.0.9\"\r\n }\r\n}", "Headers": { }, @@ -540,10 +540,10 @@ "Content": "{\"name\":\"ef1ca829-b1a1-408f-9ea4-ea8d22b371c6\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-12T23:18:42.047Z\"}" } }, - "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddressViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { + "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddressViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresqltest100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], diff --git a/src/PostgreSql/test/Update-AzPostgreSqlServer.Recording.json b/src/PostgreSql/test/Update-AzPostgreSqlServer.Recording.json index e47ad126ae80..b13bd65a7ed9 100644 --- a/src/PostgreSql/test/Update-AzPostgreSqlServer.Recording.json +++ b/src/PostgreSql/test/Update-AzPostgreSqlServer.Recording.json @@ -1,8 +1,8 @@ { - "Update-AzPostgreSqlServer+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+1": { + "Update-AzPostgreSqlServer+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", "Content": "{\r\n \"properties\": {\r\n \"sslEnforcement\": \"Disabled\"\r\n }\r\n}", "Headers": { }, @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/5e8ec5ca-e40e-43b4-8c6c-f6ef85a21500?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/5e8ec5ca-e40e-43b4-8c6c-f6ef85a21500?api-version=2017-12-01" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/5e8ec5ca-e40e-43b4-8c6c-f6ef85a21500?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/5e8ec5ca-e40e-43b4-8c6c-f6ef85a21500?api-version=2017-12-01" ], "x-ms-request-id": [ "5e8ec5ca-e40e-43b4-8c6c-f6ef85a21500" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1168" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpsertElasticServer\",\"startTime\":\"2020-09-25T11:51:30.63Z\"}" } }, - "Update-AzPostgreSqlServer+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/5e8ec5ca-e40e-43b4-8c6c-f6ef85a21500?api-version=2017-12-01+2": { + "Update-AzPostgreSqlServer+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/5e8ec5ca-e40e-43b4-8c6c-f6ef85a21500?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/5e8ec5ca-e40e-43b4-8c6c-f6ef85a21500?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/5e8ec5ca-e40e-43b4-8c6c-f6ef85a21500?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "280", "281" ], @@ -76,10 +76,10 @@ "Content": "{\"name\":\"5e8ec5ca-e40e-43b4-8c6c-f6ef85a21500\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:51:30.63Z\"}" } }, - "Update-AzPostgreSqlServer+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+3": { + "Update-AzPostgreSqlServer+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "280", "281", "282" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" } }, - "Update-AzPostgreSqlServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+1": { + "Update-AzPostgreSqlServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "283" ], @@ -151,13 +151,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" } }, - "Update-AzPostgreSqlServer+[NoContext]+UpdateViaIdentityExpanded+$PATCH+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+2": { + "Update-AzPostgreSqlServer+[NoContext]+UpdateViaIdentityExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+2": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", "Content": "{\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 23\r\n }\r\n }\r\n}", "Headers": { }, @@ -171,9 +171,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/4813d211-dc05-4f2a-b283-3a93128d09a6?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/4813d211-dc05-4f2a-b283-3a93128d09a6?api-version=2017-12-01" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/4813d211-dc05-4f2a-b283-3a93128d09a6?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/4813d211-dc05-4f2a-b283-3a93128d09a6?api-version=2017-12-01" ], "x-ms-request-id": [ "4813d211-dc05-4f2a-b283-3a93128d09a6" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1167" ], @@ -191,10 +191,10 @@ "Content": "{\"operation\":\"UpsertElasticServer\",\"startTime\":\"2020-09-25T11:52:38.38Z\"}" } }, - "Update-AzPostgreSqlServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/4813d211-dc05-4f2a-b283-3a93128d09a6?api-version=2017-12-01+3": { + "Update-AzPostgreSqlServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/4813d211-dc05-4f2a-b283-3a93128d09a6?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/4813d211-dc05-4f2a-b283-3a93128d09a6?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/4813d211-dc05-4f2a-b283-3a93128d09a6?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "284", "285" ], @@ -231,10 +231,10 @@ "Content": "{\"name\":\"4813d211-dc05-4f2a-b283-3a93128d09a6\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:52:38.38Z\"}" } }, - "Update-AzPostgreSqlServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+4": { + "Update-AzPostgreSqlServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "284", "285", "286" ], @@ -267,7 +267,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" } } } \ No newline at end of file diff --git a/src/PostgreSql/test/Update-AzPostgreSqlVirtualNetworkRule.Recording.json b/src/PostgreSql/test/Update-AzPostgreSqlVirtualNetworkRule.Recording.json index f669d558c848..1e5f68448ba8 100644 --- a/src/PostgreSql/test/Update-AzPostgreSqlVirtualNetworkRule.Recording.json +++ b/src/PostgreSql/test/Update-AzPostgreSqlVirtualNetworkRule.Recording.json @@ -1,9 +1,9 @@ { - "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+1": { + "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/0f9f4135-7196-4df0-9d58-5b949024dee9?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/0f9f4135-7196-4df0-9d58-5b949024dee9?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0f9f4135-7196-4df0-9d58-5b949024dee9?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/0f9f4135-7196-4df0-9d58-5b949024dee9?api-version=2017-12-01" ], "x-ms-request-id": [ "0f9f4135-7196-4df0-9d58-5b949024dee9" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1166" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-09-25T11:53:40.96Z\"}" } }, - "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0f9f4135-7196-4df0-9d58-5b949024dee9?api-version=2017-12-01+2": { + "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/0f9f4135-7196-4df0-9d58-5b949024dee9?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0f9f4135-7196-4df0-9d58-5b949024dee9?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/0f9f4135-7196-4df0-9d58-5b949024dee9?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "287", "288" ], @@ -76,10 +76,10 @@ "Content": "{\"name\":\"0f9f4135-7196-4df0-9d58-5b949024dee9\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:53:40.96Z\"}" } }, - "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+3": { + "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "287", "288", "289" ], @@ -112,14 +112,14 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBforPostgreSQL/servers/virtualNetworkRules\"}" + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBForPostgreSQL/servers/virtualNetworkRules\"}" } }, - "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+4": { + "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+4": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet2\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet2\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { @@ -132,9 +132,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/0a57e192-37c3-40bf-acbc-3aca86726ce7?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/0a57e192-37c3-40bf-acbc-3aca86726ce7?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0a57e192-37c3-40bf-acbc-3aca86726ce7?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/0a57e192-37c3-40bf-acbc-3aca86726ce7?api-version=2017-12-01" ], "x-ms-request-id": [ "0a57e192-37c3-40bf-acbc-3aca86726ce7" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1165" ], @@ -152,10 +152,10 @@ "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-09-25T11:54:13.27Z\"}" } }, - "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0a57e192-37c3-40bf-acbc-3aca86726ce7?api-version=2017-12-01+5": { + "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/0a57e192-37c3-40bf-acbc-3aca86726ce7?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0a57e192-37c3-40bf-acbc-3aca86726ce7?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/0a57e192-37c3-40bf-acbc-3aca86726ce7?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "290", "291" ], @@ -192,10 +192,10 @@ "Content": "{\"name\":\"0a57e192-37c3-40bf-acbc-3aca86726ce7\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:54:13.27Z\"}" } }, - "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+6": { + "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "290", "291", "292" ], @@ -228,13 +228,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet2\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBforPostgreSQL/servers/virtualNetworkRules\"}" + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet2\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBForPostgreSQL/servers/virtualNetworkRules\"}" } }, - "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+7": { + "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+7": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "293" ], @@ -253,9 +253,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/1a308fbb-1c9e-413c-9ae2-09e5659e6d0d?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/1a308fbb-1c9e-413c-9ae2-09e5659e6d0d?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/1a308fbb-1c9e-413c-9ae2-09e5659e6d0d?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/1a308fbb-1c9e-413c-9ae2-09e5659e6d0d?api-version=2017-12-01" ], "x-ms-request-id": [ "1a308fbb-1c9e-413c-9ae2-09e5659e6d0d" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14978" ], @@ -273,10 +273,10 @@ "Content": "{\"operation\":\"DropElasticServerVnetFirewallRule\",\"startTime\":\"2020-09-25T11:54:46.27Z\"}" } }, - "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/1a308fbb-1c9e-413c-9ae2-09e5659e6d0d?api-version=2017-12-01+8": { + "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/1a308fbb-1c9e-413c-9ae2-09e5659e6d0d?api-version=2017-12-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/1a308fbb-1c9e-413c-9ae2-09e5659e6d0d?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/1a308fbb-1c9e-413c-9ae2-09e5659e6d0d?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "293", "294" ], @@ -313,10 +313,10 @@ "Content": "{\"name\":\"1a308fbb-1c9e-413c-9ae2-09e5659e6d0d\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:54:46.27Z\"}" } }, - "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/1a308fbb-1c9e-413c-9ae2-09e5659e6d0d?api-version=2017-12-01+9": { + "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/1a308fbb-1c9e-413c-9ae2-09e5659e6d0d?api-version=2017-12-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/1a308fbb-1c9e-413c-9ae2-09e5659e6d0d?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/1a308fbb-1c9e-413c-9ae2-09e5659e6d0d?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "293", "294", "295" ], @@ -351,11 +351,11 @@ "Content": null } }, - "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+1": { + "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { @@ -368,9 +368,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/9d16ebdd-72c9-4a8e-8943-fb21dec6e3bc?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/9d16ebdd-72c9-4a8e-8943-fb21dec6e3bc?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/9d16ebdd-72c9-4a8e-8943-fb21dec6e3bc?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/9d16ebdd-72c9-4a8e-8943-fb21dec6e3bc?api-version=2017-12-01" ], "x-ms-request-id": [ "9d16ebdd-72c9-4a8e-8943-fb21dec6e3bc" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1164" ], @@ -388,10 +388,10 @@ "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-09-25T11:55:03.52Z\"}" } }, - "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/9d16ebdd-72c9-4a8e-8943-fb21dec6e3bc?api-version=2017-12-01+2": { + "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/9d16ebdd-72c9-4a8e-8943-fb21dec6e3bc?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/9d16ebdd-72c9-4a8e-8943-fb21dec6e3bc?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/9d16ebdd-72c9-4a8e-8943-fb21dec6e3bc?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "296", "297" ], @@ -428,10 +428,10 @@ "Content": "{\"name\":\"9d16ebdd-72c9-4a8e-8943-fb21dec6e3bc\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:55:03.52Z\"}" } }, - "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+3": { + "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "296", "297", "298" ], @@ -464,14 +464,14 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBforPostgreSQL/servers/virtualNetworkRules\"}" + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBForPostgreSQL/servers/virtualNetworkRules\"}" } }, - "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+4": { + "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+4": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet2\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet2\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { @@ -484,9 +484,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/fd8f3120-955d-409c-a4c9-aa62c99b86bc?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/fd8f3120-955d-409c-a4c9-aa62c99b86bc?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/fd8f3120-955d-409c-a4c9-aa62c99b86bc?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/fd8f3120-955d-409c-a4c9-aa62c99b86bc?api-version=2017-12-01" ], "x-ms-request-id": [ "fd8f3120-955d-409c-a4c9-aa62c99b86bc" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1163" ], @@ -504,10 +504,10 @@ "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-09-25T11:55:35.9Z\"}" } }, - "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/fd8f3120-955d-409c-a4c9-aa62c99b86bc?api-version=2017-12-01+5": { + "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/fd8f3120-955d-409c-a4c9-aa62c99b86bc?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/fd8f3120-955d-409c-a4c9-aa62c99b86bc?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/fd8f3120-955d-409c-a4c9-aa62c99b86bc?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "299", "300" ], @@ -544,10 +544,10 @@ "Content": "{\"name\":\"fd8f3120-955d-409c-a4c9-aa62c99b86bc\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:55:35.9Z\"}" } }, - "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+6": { + "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "299", "300", "301" ], @@ -580,13 +580,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet2\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBforPostgreSQL/servers/virtualNetworkRules\"}" + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet2\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBForPostgreSQL/servers/virtualNetworkRules\"}" } }, - "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+7": { + "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+7": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "302" ], @@ -605,9 +605,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/7c4bd3c2-931a-4354-8f49-3f3d2887149d?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/7c4bd3c2-931a-4354-8f49-3f3d2887149d?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/7c4bd3c2-931a-4354-8f49-3f3d2887149d?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/7c4bd3c2-931a-4354-8f49-3f3d2887149d?api-version=2017-12-01" ], "x-ms-request-id": [ "7c4bd3c2-931a-4354-8f49-3f3d2887149d" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14977" ], @@ -625,10 +625,10 @@ "Content": "{\"operation\":\"DropElasticServerVnetFirewallRule\",\"startTime\":\"2020-09-25T11:56:08.167Z\"}" } }, - "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/7c4bd3c2-931a-4354-8f49-3f3d2887149d?api-version=2017-12-01+8": { + "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/7c4bd3c2-931a-4354-8f49-3f3d2887149d?api-version=2017-12-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/7c4bd3c2-931a-4354-8f49-3f3d2887149d?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/7c4bd3c2-931a-4354-8f49-3f3d2887149d?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "302", "303" ], @@ -665,10 +665,10 @@ "Content": "{\"name\":\"7c4bd3c2-931a-4354-8f49-3f3d2887149d\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:56:08.167Z\"}" } }, - "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/7c4bd3c2-931a-4354-8f49-3f3d2887149d?api-version=2017-12-01+9": { + "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/7c4bd3c2-931a-4354-8f49-3f3d2887149d?api-version=2017-12-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/7c4bd3c2-931a-4354-8f49-3f3d2887149d?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/7c4bd3c2-931a-4354-8f49-3f3d2887149d?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "302", "303", "304" ], diff --git a/src/PostgreSql/test/Update-AzPostgreSqlVirtualNetworkRule.Tests.ps1 b/src/PostgreSql/test/Update-AzPostgreSqlVirtualNetworkRule.Tests.ps1 index e406f35e3439..af47df724814 100644 --- a/src/PostgreSql/test/Update-AzPostgreSqlVirtualNetworkRule.Tests.ps1 +++ b/src/PostgreSql/test/Update-AzPostgreSqlVirtualNetworkRule.Tests.ps1 @@ -25,7 +25,7 @@ Describe 'Update-AzPostgreSqlVirtualNetworkRule' { $SubnetID1 = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1" New-AzPostgreSqlVirtualNetworkRule -Name $env.VNetName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -SubnetId $SubnetID1 $SubnetID2 = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet2" - $VNetId = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBforPostgreSQL/servers/$($env.serverName)/virtualNetworkRules/$($env.VNetName)" + $VNetId = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSQL/servers/$($env.serverName)/virtualNetworkRules/$($env.VNetName)" $rule = Update-AzPostgreSqlVirtualNetworkRule -InputObject $VNetId -SubnetId $SubnetID2 $rule.VirtualNetworkSubnetId | Should -Be $SubnetID2 Remove-AzPostgreSqlVirtualNetworkRule -Name $env.VNetName -ResourceGroupName $env.resourceGroup-ServerName $env.serverName diff --git a/src/PostgreSql/test/env.json b/src/PostgreSql/test/env.json index 6fbc45ac32c4..15b167c16d3f 100644 --- a/src/PostgreSql/test/env.json +++ b/src/PostgreSql/test/env.json @@ -1,15 +1,15 @@ { "SubscriptionId": "7fec3109-5b78-4a24-b834-5d47d63e2596", "resourceGroup": "PostgreSqlTest", - "serverName": "postgresqltest100", - "replicaName": "postgresqltest100replica", + "serverName": "postgresql-test-100", + "replicaName": "postgresql-test-100-replica", "firewallRuleName": "postgresqlrule01", - "FlexibleSku": "GP_Gen5_4", - "restoreName": "postgresqltest100restore", - "restoreName2": "postgresqltest100restore2", + "FlexibleSku": "Standard_D2s_v3", + "restoreName": "postgresql-test-100-restore", + "restoreName2": "postgresql-test-100-restore-2", "VNetName": "postgresqlvnet", "location": "eastus", - "serverName2": "postgresqltest200", + "serverName2": "postgresql-test-200", "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", "firewallRuleName2": "postgresqlrule02", "Sku": "GP_Gen5_4" diff --git a/src/PostgreSql/test/localEnv.json b/src/PostgreSql/test/localEnv.json index f34828afbba7..15b167c16d3f 100644 --- a/src/PostgreSql/test/localEnv.json +++ b/src/PostgreSql/test/localEnv.json @@ -1,15 +1,16 @@ { - "replicaName": "postgresql-test-100-replica", - "Sku": "GP_Gen5_4", - "firewallRuleName2": "postgresqlrule02", - "VNetName": "postgresqlvnet", + "SubscriptionId": "7fec3109-5b78-4a24-b834-5d47d63e2596", + "resourceGroup": "PostgreSqlTest", "serverName": "postgresql-test-100", + "replicaName": "postgresql-test-100-replica", "firewallRuleName": "postgresqlrule01", - "location": "eastus", - "restoreName2": "postgresql-test-100-restore-2", - "serverName2": "postgresql-test-100-2", + "FlexibleSku": "Standard_D2s_v3", "restoreName": "postgresql-test-100-restore", - "SubscriptionId": "9e223dbe-3399-4e19-88eb-0975f02ac87f", + "restoreName2": "postgresql-test-100-restore-2", + "VNetName": "postgresqlvnet", + "location": "eastus", + "serverName2": "postgresql-test-200", "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "resourceGroup": "PostgreSqlTest" + "firewallRuleName2": "postgresqlrule02", + "Sku": "GP_Gen5_4" } diff --git a/src/PostgreSql/test/utils.ps1 b/src/PostgreSql/test/utils.ps1 index 7f94bcb946dd..d6567a88ca5d 100644 --- a/src/PostgreSql/test/utils.ps1 +++ b/src/PostgreSql/test/utils.ps1 @@ -13,13 +13,13 @@ function setupEnv() { $env.SubscriptionId = (Get-AzContext).Subscription.Id $env.Tenant = (Get-AzContext).Tenant.Id # For any resources you created for test, you should add it to $env here. - $env.Add("serverName2", "postgresqltest200") - $env.Add("restoreName", "postgresqltest100restore") - $env.Add("restoreName2", "postgresqltest100restore2") - $env.Add("replicaName", "postgresqltest100replica") + $env.Add("serverName2", "postgresql-test-200") + $env.Add("restoreName", "postgresql-test-100-restore") + $env.Add("restoreName2", "postgresql-test-100-restore-2") + $env.Add("replicaName", "postgresql-test-100-replica") $env.Add("firewallRuleName", "postgresqlrule01") $env.Add("firewallRuleName2", "postgresqlrule02") - $env.Add("VNetName", "postgresqlvnet") + $env.Add("VNetName", "postgresql-vnet") # Create the test group write-host "start to create test group." @@ -27,15 +27,15 @@ function setupEnv() { $location = "eastus" $env.Add("resourceGroup", $resourceGroup) $env.Add("location", $location) - # New-AzResourceGroup -Name $resourceGroup -Location $location + New-AzResourceGroup -Name $resourceGroup -Location $location # Create the test Vnet write-host "Deploy Vnet template" - # New-AzDeployment -Mode Incremental -TemplateFile .\test\deployment-templates\virtual-network\template.json -TemplateParameterFile .\test\deployment-templates\virtual-network\parameters.json -Name vn -ResourceGroupName $resourceGroup + New-AzDeployment -Mode Incremental -TemplateFile .\test\deployment-templates\virtual-network\template.json -TemplateParameterFile .\test\deployment-templates\virtual-network\parameters.json -Name vn -ResourceGroupName $resourceGroup #[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] $password = 'Pa88word!' | ConvertTo-SecureString -AsPlainText -Force - $serverName = "postgresqltest100" + $serverName = "postgresql-test-100" $env.Add("serverName", $serverName) $Sku = "GP_Gen5_4" $env.Add("Sku", $Sku) @@ -44,12 +44,12 @@ function setupEnv() { write-host (Get-AzContext | Out-String) - # write-host "New-AzPostgreSqlServer -Name $serverName -ResourceGroupName $resourceGroup -Location $location -AdministratorUserName adminuser -AdministratorLoginPassword $password -Sku $Sku" - # New-AzPostgreSqlServer -Name $serverName -ResourceGroupName $resourceGroup -Location $location -AdministratorUserName adminuser -AdministratorLoginPassword $password -Sku $Sku + write-host "New-AzPostgreSqlServer -Name $serverName -ResourceGroupName $resourceGroup -Location $location -AdministratorUserName adminuser -AdministratorLoginPassword $password -Sku $Sku" + New-AzPostgreSqlServer -Name $serverName -ResourceGroupName $resourceGroup -Location $location -AdministratorUserName adminuser -AdministratorLoginPassword $password -Sku $Sku write-host "New-AzPostgreSqlFlexibleServer -Name $serverName -ResourceGroupName $resourceGroup -AdministratorUserName adminuser -AdministratorLoginPassword $password" - # New-AzPostgreSqlFlexibleServer -Name $serverName -ResourceGroupName $resourceGroup -AdministratorUserName adminuser -AdministratorLoginPassword $password + New-AzPostgreSqlFlexibleServer -Name $serverName -ResourceGroupName $resourceGroup -AdministratorUserName adminuser -AdministratorLoginPassword $password $envFile = 'env.json' if ($TestMode -eq 'live') { @@ -61,5 +61,5 @@ function cleanupEnv() { # Clean resources you create for testing # Removing resourcegroup will clean all the resources created for testing. write-host "Clean resources you create for testing." - # Remove-AzResourceGroup -Name $env.resourceGroup + Remove-AzResourceGroup -Name $env.resourceGroup } From cb3eef1ff3e46ba07960ffc02df3fb3abb21e197 Mon Sep 17 00:00:00 2001 From: Daeun Yim Date: Mon, 16 Nov 2020 13:59:29 -0800 Subject: [PATCH 19/51] docs fixed --- src/MySql/docs/Az.MySql.md | 135 ------ src/MySql/docs/Get-AzMySqlConfiguration.md | 195 --------- src/MySql/docs/Get-AzMySqlConnectionString.md | 191 -------- src/MySql/docs/Get-AzMySqlFirewallRule.md | 199 --------- src/MySql/docs/Get-AzMySqlFlexibleServer.md | 201 --------- .../Get-AzMySqlFlexibleServerConfiguration.md | 202 --------- .../docs/Get-AzMySqlFlexibleServerDatabase.md | 202 --------- .../Get-AzMySqlFlexibleServerFirewallRule.md | 201 --------- .../docs/Get-AzMySqlFlexibleServerReplica.md | 113 ----- src/MySql/docs/Get-AzMySqlReplica.md | 113 ----- src/MySql/docs/Get-AzMySqlServer.md | 200 --------- .../docs/Get-AzMySqlVirtualNetworkRule.md | 215 ---------- src/MySql/docs/New-AzMySqlFirewallRule.md | 292 ------------- src/MySql/docs/New-AzMySqlFlexibleServer.md | 379 ---------------- .../docs/New-AzMySqlFlexibleServerDatabase.md | 263 ------------ .../New-AzMySqlFlexibleServerFirewallRule.md | 292 ------------- .../docs/New-AzMySqlFlexibleServerReplica.md | 239 ----------- src/MySql/docs/New-AzMySqlReplica.md | 267 ------------ src/MySql/docs/New-AzMySqlServer.md | 347 --------------- .../docs/New-AzMySqlVirtualNetworkRule.md | 242 ----------- src/MySql/docs/Remove-AzMySqlFirewallRule.md | 254 ----------- .../docs/Remove-AzMySqlFlexibleServer.md | 238 ---------- .../Remove-AzMySqlFlexibleServerDatabase.md | 253 ----------- ...emove-AzMySqlFlexibleServerFirewallRule.md | 254 ----------- src/MySql/docs/Remove-AzMySqlServer.md | 238 ---------- .../docs/Remove-AzMySqlVirtualNetworkRule.md | 254 ----------- .../docs/Restart-AzMySqlFlexibleServer.md | 236 ---------- src/MySql/docs/Restart-AzMySqlServer.md | 238 ---------- .../docs/Restore-AzMySqlFlexibleServer.md | 258 ----------- src/MySql/docs/Restore-AzMySqlServer.md | 336 --------------- src/MySql/docs/Start-AzMySqlFlexibleServer.md | 236 ---------- src/MySql/docs/Stop-AzMySqlFlexibleServer.md | 236 ---------- src/MySql/docs/Update-AzMySqlConfiguration.md | 277 ------------ src/MySql/docs/Update-AzMySqlFirewallRule.md | 318 -------------- .../docs/Update-AzMySqlFlexibleServer.md | 391 ----------------- ...date-AzMySqlFlexibleServerConfiguration.md | 309 ------------- .../Update-AzMySqlFlexibleServerDatabase.md | 275 ------------ ...pdate-AzMySqlFlexibleServerFirewallRule.md | 307 ------------- src/MySql/docs/Update-AzMySqlServer.md | 406 ------------------ .../docs/Update-AzMySqlVirtualNetworkRule.md | 293 ------------- .../examples/Get-AzMySqlFlexibleServer.md | 12 +- .../Get-AzMySqlFlexibleServerConfiguration.md | 4 +- .../Get-AzMySqlFlexibleServerReplica.md | 2 +- .../examples/New-AzMySqlFlexibleServer.md | 72 +--- .../New-AzMySqlFlexibleServerReplica.md | 4 +- .../examples/Remove-AzMySqlFlexibleServer.md | 2 +- .../Remove-AzMySqlFlexibleServerDatabase.md | 2 +- ...emove-AzMySqlFlexibleServerFirewallRule.md | 2 +- .../examples/Restart-AzMySqlFlexibleServer.md | 2 +- .../examples/Start-AzMySqlFlexibleServer.md | 2 +- .../examples/Stop-AzMySqlFlexibleServer.md | 2 +- .../examples/Update-AzMySqlFlexibleServer.md | 6 +- .../Update-AzMySqlFlexibleServerDatabase.md | 2 +- ...pdate-AzMySqlFlexibleServerFirewallRule.md | 2 +- src/PostgreSql/docs/Az.PostgreSql.md | 117 ----- .../docs/Get-AzPostgreSqlConfiguration.md | 197 --------- .../docs/Get-AzPostgreSqlConnectionString.md | 191 -------- .../docs/Get-AzPostgreSqlFirewallRule.md | 199 --------- .../docs/Get-AzPostgreSqlFlexibleServer.md | 201 --------- ...AzPostgreSqlFlexibleServerConfiguration.md | 189 -------- ...-AzPostgreSqlFlexibleServerFirewallRule.md | 200 --------- .../docs/Get-AzPostgreSqlReplica.md | 113 ----- src/PostgreSql/docs/Get-AzPostgreSqlServer.md | 199 --------- .../Get-AzPostgreSqlVirtualNetworkRule.md | 214 --------- .../docs/New-AzPostgreSqlFirewallRule.md | 290 ------------- .../docs/New-AzPostgreSqlFlexibleServer.md | 379 ---------------- ...-AzPostgreSqlFlexibleServerFirewallRule.md | 292 ------------- .../docs/New-AzPostgreSqlReplica.md | 267 ------------ src/PostgreSql/docs/New-AzPostgreSqlServer.md | 347 --------------- .../New-AzPostgreSqlVirtualNetworkRule.md | 236 ---------- .../docs/Remove-AzPostgreSqlFirewallRule.md | 253 ----------- .../docs/Remove-AzPostgreSqlFlexibleServer.md | 237 ---------- ...-AzPostgreSqlFlexibleServerFirewallRule.md | 253 ----------- .../docs/Remove-AzPostgreSqlServer.md | 237 ---------- .../Remove-AzPostgreSqlVirtualNetworkRule.md | 253 ----------- .../Restart-AzPostgreSqlFlexibleServer.md | 235 ---------- .../docs/Restart-AzPostgreSqlServer.md | 237 ---------- .../Restore-AzPostgreSqlFlexibleServer.md | 220 ---------- .../docs/Restore-AzPostgreSqlServer.md | 336 --------------- .../docs/Start-AzPostgreSqlFlexibleServer.md | 235 ---------- .../docs/Stop-AzPostgreSqlFlexibleServer.md | 235 ---------- .../docs/Update-AzPostgreSqlConfiguration.md | 276 ------------ .../docs/Update-AzPostgreSqlFirewallRule.md | 318 -------------- .../docs/Update-AzPostgreSqlFlexibleServer.md | 390 ----------------- ...AzPostgreSqlFlexibleServerConfiguration.md | 302 ------------- ...-AzPostgreSqlFlexibleServerFirewallRule.md | 306 ------------- .../docs/Update-AzPostgreSqlServer.md | 405 ----------------- .../Update-AzPostgreSqlVirtualNetworkRule.md | 292 ------------- .../Get-AzPostgreSqlFlexibleServer.md | 26 +- ...-AzPostgreSqlFlexibleServerFirewallRule.md | 2 +- .../New-AzPostgreSqlFlexibleServer.md | 72 +--- .../Remove-AzPostgreSqlFlexibleServer.md | 2 +- ...-AzPostgreSqlFlexibleServerFirewallRule.md | 2 +- .../Restart-AzPostgreSqlFlexibleServer.md | 2 +- .../Restore-AzPostgreSqlFlexibleServer.md | 8 +- .../Start-AzPostgreSqlFlexibleServer.md | 2 +- .../Stop-AzPostgreSqlFlexibleServer.md | 2 +- .../Update-AzPostgreSqlFlexibleServer.md | 8 +- ...AzPostgreSqlFlexibleServerConfiguration.md | 22 +- ...-AzPostgreSqlFlexibleServerFirewallRule.md | 2 +- 100 files changed, 91 insertions(+), 18921 deletions(-) delete mode 100644 src/MySql/docs/Az.MySql.md delete mode 100644 src/MySql/docs/Get-AzMySqlConfiguration.md delete mode 100644 src/MySql/docs/Get-AzMySqlConnectionString.md delete mode 100644 src/MySql/docs/Get-AzMySqlFirewallRule.md delete mode 100644 src/MySql/docs/Get-AzMySqlFlexibleServer.md delete mode 100644 src/MySql/docs/Get-AzMySqlFlexibleServerConfiguration.md delete mode 100644 src/MySql/docs/Get-AzMySqlFlexibleServerDatabase.md delete mode 100644 src/MySql/docs/Get-AzMySqlFlexibleServerFirewallRule.md delete mode 100644 src/MySql/docs/Get-AzMySqlFlexibleServerReplica.md delete mode 100644 src/MySql/docs/Get-AzMySqlReplica.md delete mode 100644 src/MySql/docs/Get-AzMySqlServer.md delete mode 100644 src/MySql/docs/Get-AzMySqlVirtualNetworkRule.md delete mode 100644 src/MySql/docs/New-AzMySqlFirewallRule.md delete mode 100644 src/MySql/docs/New-AzMySqlFlexibleServer.md delete mode 100644 src/MySql/docs/New-AzMySqlFlexibleServerDatabase.md delete mode 100644 src/MySql/docs/New-AzMySqlFlexibleServerFirewallRule.md delete mode 100644 src/MySql/docs/New-AzMySqlFlexibleServerReplica.md delete mode 100644 src/MySql/docs/New-AzMySqlReplica.md delete mode 100644 src/MySql/docs/New-AzMySqlServer.md delete mode 100644 src/MySql/docs/New-AzMySqlVirtualNetworkRule.md delete mode 100644 src/MySql/docs/Remove-AzMySqlFirewallRule.md delete mode 100644 src/MySql/docs/Remove-AzMySqlFlexibleServer.md delete mode 100644 src/MySql/docs/Remove-AzMySqlFlexibleServerDatabase.md delete mode 100644 src/MySql/docs/Remove-AzMySqlFlexibleServerFirewallRule.md delete mode 100644 src/MySql/docs/Remove-AzMySqlServer.md delete mode 100644 src/MySql/docs/Remove-AzMySqlVirtualNetworkRule.md delete mode 100644 src/MySql/docs/Restart-AzMySqlFlexibleServer.md delete mode 100644 src/MySql/docs/Restart-AzMySqlServer.md delete mode 100644 src/MySql/docs/Restore-AzMySqlFlexibleServer.md delete mode 100644 src/MySql/docs/Restore-AzMySqlServer.md delete mode 100644 src/MySql/docs/Start-AzMySqlFlexibleServer.md delete mode 100644 src/MySql/docs/Stop-AzMySqlFlexibleServer.md delete mode 100644 src/MySql/docs/Update-AzMySqlConfiguration.md delete mode 100644 src/MySql/docs/Update-AzMySqlFirewallRule.md delete mode 100644 src/MySql/docs/Update-AzMySqlFlexibleServer.md delete mode 100644 src/MySql/docs/Update-AzMySqlFlexibleServerConfiguration.md delete mode 100644 src/MySql/docs/Update-AzMySqlFlexibleServerDatabase.md delete mode 100644 src/MySql/docs/Update-AzMySqlFlexibleServerFirewallRule.md delete mode 100644 src/MySql/docs/Update-AzMySqlServer.md delete mode 100644 src/MySql/docs/Update-AzMySqlVirtualNetworkRule.md delete mode 100644 src/PostgreSql/docs/Az.PostgreSql.md delete mode 100644 src/PostgreSql/docs/Get-AzPostgreSqlConfiguration.md delete mode 100644 src/PostgreSql/docs/Get-AzPostgreSqlConnectionString.md delete mode 100644 src/PostgreSql/docs/Get-AzPostgreSqlFirewallRule.md delete mode 100644 src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServer.md delete mode 100644 src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerConfiguration.md delete mode 100644 src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerFirewallRule.md delete mode 100644 src/PostgreSql/docs/Get-AzPostgreSqlReplica.md delete mode 100644 src/PostgreSql/docs/Get-AzPostgreSqlServer.md delete mode 100644 src/PostgreSql/docs/Get-AzPostgreSqlVirtualNetworkRule.md delete mode 100644 src/PostgreSql/docs/New-AzPostgreSqlFirewallRule.md delete mode 100644 src/PostgreSql/docs/New-AzPostgreSqlFlexibleServer.md delete mode 100644 src/PostgreSql/docs/New-AzPostgreSqlFlexibleServerFirewallRule.md delete mode 100644 src/PostgreSql/docs/New-AzPostgreSqlReplica.md delete mode 100644 src/PostgreSql/docs/New-AzPostgreSqlServer.md delete mode 100644 src/PostgreSql/docs/New-AzPostgreSqlVirtualNetworkRule.md delete mode 100644 src/PostgreSql/docs/Remove-AzPostgreSqlFirewallRule.md delete mode 100644 src/PostgreSql/docs/Remove-AzPostgreSqlFlexibleServer.md delete mode 100644 src/PostgreSql/docs/Remove-AzPostgreSqlFlexibleServerFirewallRule.md delete mode 100644 src/PostgreSql/docs/Remove-AzPostgreSqlServer.md delete mode 100644 src/PostgreSql/docs/Remove-AzPostgreSqlVirtualNetworkRule.md delete mode 100644 src/PostgreSql/docs/Restart-AzPostgreSqlFlexibleServer.md delete mode 100644 src/PostgreSql/docs/Restart-AzPostgreSqlServer.md delete mode 100644 src/PostgreSql/docs/Restore-AzPostgreSqlFlexibleServer.md delete mode 100644 src/PostgreSql/docs/Restore-AzPostgreSqlServer.md delete mode 100644 src/PostgreSql/docs/Start-AzPostgreSqlFlexibleServer.md delete mode 100644 src/PostgreSql/docs/Stop-AzPostgreSqlFlexibleServer.md delete mode 100644 src/PostgreSql/docs/Update-AzPostgreSqlConfiguration.md delete mode 100644 src/PostgreSql/docs/Update-AzPostgreSqlFirewallRule.md delete mode 100644 src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServer.md delete mode 100644 src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServerConfiguration.md delete mode 100644 src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServerFirewallRule.md delete mode 100644 src/PostgreSql/docs/Update-AzPostgreSqlServer.md delete mode 100644 src/PostgreSql/docs/Update-AzPostgreSqlVirtualNetworkRule.md diff --git a/src/MySql/docs/Az.MySql.md b/src/MySql/docs/Az.MySql.md deleted file mode 100644 index 38b18df45d6b..000000000000 --- a/src/MySql/docs/Az.MySql.md +++ /dev/null @@ -1,135 +0,0 @@ ---- -Module Name: Az.MySql -Module Guid: 76b5feb1-33ce-4d47-8f6a-037908babd06 -Download Help Link: https://docs.microsoft.com/en-us/powershell/module/az.mysql -Help Version: 1.0.0.0 -Locale: en-US ---- - -# Az.MySql Module -## Description -Microsoft Azure PowerShell: MySql cmdlets - -## Az.MySql Cmdlets -### [Get-AzMySqlConfiguration](Get-AzMySqlConfiguration.md) -Gets information about a configuration of server. - -### [Get-AzMySqlConnectionString](Get-AzMySqlConnectionString.md) -Get the connection string according to client connection provider. - -### [Get-AzMySqlFirewallRule](Get-AzMySqlFirewallRule.md) -Gets information about a server firewall rule. - -### [Get-AzMySqlFlexibleServer](Get-AzMySqlFlexibleServer.md) -Gets information about a server. - -### [Get-AzMySqlFlexibleServerConfiguration](Get-AzMySqlFlexibleServerConfiguration.md) -Gets information about a configuration of server. - -### [Get-AzMySqlFlexibleServerDatabase](Get-AzMySqlFlexibleServerDatabase.md) -Gets information about a database. - -### [Get-AzMySqlFlexibleServerFirewallRule](Get-AzMySqlFlexibleServerFirewallRule.md) -Gets information about a server firewall rule. - -### [Get-AzMySqlFlexibleServerReplica](Get-AzMySqlFlexibleServerReplica.md) -List all the replicas for a given server. - -### [Get-AzMySqlReplica](Get-AzMySqlReplica.md) -List all the replicas for a given server. - -### [Get-AzMySqlServer](Get-AzMySqlServer.md) -Gets information about a server. - -### [Get-AzMySqlVirtualNetworkRule](Get-AzMySqlVirtualNetworkRule.md) -Gets a virtual network rule. - -### [New-AzMySqlFirewallRule](New-AzMySqlFirewallRule.md) -Creates a new firewall rule or updates an existing firewall rule. - -### [New-AzMySqlFlexibleServer](New-AzMySqlFlexibleServer.md) -Creates a new server. - -### [New-AzMySqlFlexibleServerDatabase](New-AzMySqlFlexibleServerDatabase.md) -Creates a new database or updates an existing database. - -### [New-AzMySqlFlexibleServerFirewallRule](New-AzMySqlFlexibleServerFirewallRule.md) -Creates a new firewall rule or updates an existing firewall rule. - -### [New-AzMySqlFlexibleServerReplica](New-AzMySqlFlexibleServerReplica.md) -Creates a new replica from an existing database. - -### [New-AzMySqlReplica](New-AzMySqlReplica.md) -Creates a new replica from an existing database. - -### [New-AzMySqlServer](New-AzMySqlServer.md) -Creates a new server. - -### [New-AzMySqlVirtualNetworkRule](New-AzMySqlVirtualNetworkRule.md) -Creates or updates an existing virtual network rule. - -### [Remove-AzMySqlFirewallRule](Remove-AzMySqlFirewallRule.md) -Deletes a server firewall rule. - -### [Remove-AzMySqlFlexibleServer](Remove-AzMySqlFlexibleServer.md) -Deletes a server. - -### [Remove-AzMySqlFlexibleServerDatabase](Remove-AzMySqlFlexibleServerDatabase.md) -Deletes a database. - -### [Remove-AzMySqlFlexibleServerFirewallRule](Remove-AzMySqlFlexibleServerFirewallRule.md) -Deletes a firewall rule. - -### [Remove-AzMySqlServer](Remove-AzMySqlServer.md) -Deletes a server. - -### [Remove-AzMySqlVirtualNetworkRule](Remove-AzMySqlVirtualNetworkRule.md) -Deletes the virtual network rule with the given name. - -### [Restart-AzMySqlFlexibleServer](Restart-AzMySqlFlexibleServer.md) -Restarts a server. - -### [Restart-AzMySqlServer](Restart-AzMySqlServer.md) -Restarts a server. - -### [Restore-AzMySqlFlexibleServer](Restore-AzMySqlFlexibleServer.md) -Restore a server from an existing backup - -### [Restore-AzMySqlServer](Restore-AzMySqlServer.md) -Restore a server from an existing backup - -### [Start-AzMySqlFlexibleServer](Start-AzMySqlFlexibleServer.md) -Starts a server. - -### [Stop-AzMySqlFlexibleServer](Stop-AzMySqlFlexibleServer.md) -Stops a server. - -### [Update-AzMySqlConfiguration](Update-AzMySqlConfiguration.md) -Updates a configuration of a server. -Use Update-AzMySqlServer instead if you want update AdministratorLoginPassword, sku, etc. - -### [Update-AzMySqlFirewallRule](Update-AzMySqlFirewallRule.md) -Creates a new firewall rule or updates an existing firewall rule. - -### [Update-AzMySqlFlexibleServer](Update-AzMySqlFlexibleServer.md) -Updates an existing server. -The request body can contain one to many of the properties present in the normal server definition. -Use Update-AzMySqlConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count. - -### [Update-AzMySqlFlexibleServerConfiguration](Update-AzMySqlFlexibleServerConfiguration.md) - - -### [Update-AzMySqlFlexibleServerDatabase](Update-AzMySqlFlexibleServerDatabase.md) -Creates a new database or updates an existing database. - -### [Update-AzMySqlFlexibleServerFirewallRule](Update-AzMySqlFlexibleServerFirewallRule.md) -Creates a new firewall rule or updates an existing firewall rule. - -### [Update-AzMySqlServer](Update-AzMySqlServer.md) -Updates an existing server. -The request body can contain one to many of the properties present in the normal server definition. -Use Update-AzMySqlConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count. - -### [Update-AzMySqlVirtualNetworkRule](Update-AzMySqlVirtualNetworkRule.md) -Creates or updates an existing virtual network rule. - diff --git a/src/MySql/docs/Get-AzMySqlConfiguration.md b/src/MySql/docs/Get-AzMySqlConfiguration.md deleted file mode 100644 index e38c2f7c6429..000000000000 --- a/src/MySql/docs/Get-AzMySqlConfiguration.md +++ /dev/null @@ -1,195 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlconfiguration -schema: 2.0.0 ---- - -# Get-AzMySqlConfiguration - -## SYNOPSIS -Gets information about a configuration of server. - -## SYNTAX - -### List (Default) -``` -Get-AzMySqlConfiguration -ResourceGroupName -ServerName [-SubscriptionId ] - [-DefaultProfile ] [] -``` - -### Get -``` -Get-AzMySqlConfiguration -Name -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [] -``` - -### GetViaIdentity -``` -Get-AzMySqlConfiguration -InputObject [-DefaultProfile ] [] -``` - -## DESCRIPTION -Gets information about a configuration of server. - -## EXAMPLES - -### Example 1: List all configurations in specified MySql server -```powershell -PS C:\> Get-AzMySqlConfiguration -ResourceGroupName PowershellMySqlTest -ServerName mysql-test - -Name Type ----- ---- -audit_log_enabled Microsoft.DBforMySQL/servers/configurations -audit_log_events Microsoft.DBforMySQL/servers/configurations -audit_log_exclude_users Microsoft.DBforMySQL/servers/configurations -audit_log_include_users Microsoft.DBforMySQL/servers/configurations -... -transaction_prealloc_size Microsoft.DBforMySQL/servers/configurations -tx_isolation Microsoft.DBforMySQL/servers/configurations -updatable_views_with_limit Microsoft.DBforMySQL/servers/configurations -wait_timeout Microsoft.DBforMySQL/servers/configurations -``` - -This cmdlet lists all configurations in specified MySql server. - -### Example 2: Get specified MySql configuration by name -```powershell -PS C:\> Get-AzMySqlConfiguration -Name time_zone -ResourceGroupName PowershellMySqlTest -ServerName mysql-test - -Name Type ----- ---- -time_zone Microsoft.DBforMySQL/servers/configurations -``` - -This cmdlet gets specified MySql configuration by name. - -## PARAMETERS - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity -Parameter Sets: GetViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server configuration. - -```yaml -Type: System.String -Parameter Sets: Get -Aliases: ConfigurationName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Get, List -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Get, List -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String[] -Parameter Sets: Get, List -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IConfiguration - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[KeyName ]`: The name of the server key. - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/MySql/docs/Get-AzMySqlConnectionString.md b/src/MySql/docs/Get-AzMySqlConnectionString.md deleted file mode 100644 index d586aefc49ad..000000000000 --- a/src/MySql/docs/Get-AzMySqlConnectionString.md +++ /dev/null @@ -1,191 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlconnectionstring -schema: 2.0.0 ---- - -# Get-AzMySqlConnectionString - -## SYNOPSIS -Get the connection string according to client connection provider. - -## SYNTAX - -### Get (Default) -``` -Get-AzMySqlConnectionString -Client -Name -ResourceGroupName - [-SubscriptionId ] [-DefaultProfile ] [] -``` - -### GetViaIdentity -``` -Get-AzMySqlConnectionString -Client -InputObject [-DefaultProfile ] - [] -``` - -## DESCRIPTION -Get the connection string according to client connection provider. - -## EXAMPLES - -### Example 1: Get MySql server connection string by resource group and server name -```powershell -PS C:\> Get-AzMySqlConnectionString -Client ADO.NET -Name mysql-test -ResourceGroupName PowershellMySqlTest - -Server=mysql-test.mysql.database.azure.com; Port=3306; Database={your_database}; Uid=mysql_test@mysql-test; Pwd={your_password}; -``` - -This cmdlet gets MySql server connection string by resource group and server name. - -### Example 2: Get MySql server connection string by identity -```powershell -PS C:\> Get-AzMySqlServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test | Get-AzMySqlConnectionString -Client PHP - -$con=mysqli_init(); mysqli_real_connect($con, "mysql-test.mysql.database.azure.com", "mysql_test@mysql-test", {your_password}, {your_database}, 3306); -``` - -This cmdlet gets MySql server connection string by identity. - -## PARAMETERS - -### -Client -Client connection provider. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -The source server object to create replica from. -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer -Parameter Sets: GetViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Get -Aliases: ServerName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal. - -```yaml -Type: System.String -Parameter Sets: Get -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The subscription ID that identifies an Azure subscription. - -```yaml -Type: System.String -Parameter Sets: Get -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer - -## OUTPUTS - -### System.String - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : The source server object to create replica from. - - `Location `: The geo-location where the resource lives - - `SkuName `: The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. - - `[Tag ]`: Resource tags. - - `[(Any) ]`: This indicates any property can be added to this object. - - `[AdministratorLogin ]`: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). - - `[EarliestRestoreDate ]`: Earliest restore point creation time (ISO8601 format) - - `[FullyQualifiedDomainName ]`: The fully qualified domain name of a server. - - `[IdentityType ]`: The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. - - `[InfrastructureEncryption ]`: Status showing whether the server enabled infrastructure encryption. - - `[MasterServerId ]`: The master server id of a replica server. - - `[MinimalTlsVersion ]`: Enforce a minimal Tls version for the server. - - `[PublicNetworkAccess ]`: Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' - - `[ReplicaCapacity ]`: The maximum number of replicas that a master server can have. - - `[ReplicationRole ]`: The replication role of the server. - - `[SkuCapacity ]`: The scale up/out capacity, representing server's compute units. - - `[SkuFamily ]`: The family of hardware. - - `[SkuSize ]`: The size code, to be interpreted by resource as appropriate. - - `[SkuTier ]`: The tier of the particular SKU, e.g. Basic. - - `[SslEnforcement ]`: Enable ssl enforcement or not when connect to server. - - `[StorageProfileBackupRetentionDay ]`: Backup retention days for the server. - - `[StorageProfileGeoRedundantBackup ]`: Enable Geo-redundant or not for server backup. - - `[StorageProfileStorageAutogrow ]`: Enable Storage Auto Grow. - - `[StorageProfileStorageMb ]`: Max storage allowed for a server. - - `[UserVisibleState ]`: A state of a server that is visible to user. - - `[Version ]`: Server version. - -## RELATED LINKS - diff --git a/src/MySql/docs/Get-AzMySqlFirewallRule.md b/src/MySql/docs/Get-AzMySqlFirewallRule.md deleted file mode 100644 index 9fa728f0c250..000000000000 --- a/src/MySql/docs/Get-AzMySqlFirewallRule.md +++ /dev/null @@ -1,199 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlfirewallrule -schema: 2.0.0 ---- - -# Get-AzMySqlFirewallRule - -## SYNOPSIS -Gets information about a server firewall rule. - -## SYNTAX - -### List (Default) -``` -Get-AzMySqlFirewallRule -ResourceGroupName -ServerName [-SubscriptionId ] - [-DefaultProfile ] [] -``` - -### Get -``` -Get-AzMySqlFirewallRule -Name -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [] -``` - -### GetViaIdentity -``` -Get-AzMySqlFirewallRule -InputObject [-DefaultProfile ] [] -``` - -## DESCRIPTION -Gets information about a server firewall rule. - -## EXAMPLES - -### Example 1: Lists all the Firewall Rules in specified MySql server -```powershell -PS C:\> Get-AzMySqlFirewallRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test - -Name Type ----- ---- -rule Microsoft.DBforMySQL/servers/firewallRules -``` - -This cmdlet lists all the Firewall Rule in specified MySql server. - -### Example 2: Get Firewall Rule by name -```powershell -PS C:\> Get-AzMySqlFirewallRule -Name rule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test - -Name Type ----- ---- -rule Microsoft.DBforMySQL/servers/firewallRules -``` - -This cmdlet gets Firewall Rule by name. - -### Example 3: Get Firewall Rule by identity -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/firewallRules/rule" -PS C:\> Get-AzMySqlFirewallRule -InputObject $ID - -Name Type ----- ---- -rule Microsoft.DBforMySQL/servers/firewallRules -``` - -This cmdlet gets Firewall Rule by identity. - -## PARAMETERS - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity -Parameter Sets: GetViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server firewall rule. - -```yaml -Type: System.String -Parameter Sets: Get -Aliases: FirewallRuleName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Get, List -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Get, List -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String[] -Parameter Sets: Get, List -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[KeyName ]`: The name of the server key. - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServer.md b/src/MySql/docs/Get-AzMySqlFlexibleServer.md deleted file mode 100644 index 55f82cc8f393..000000000000 --- a/src/MySql/docs/Get-AzMySqlFlexibleServer.md +++ /dev/null @@ -1,201 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserver -schema: 2.0.0 ---- - -# Get-AzMySqlFlexibleServer - -## SYNOPSIS -Gets information about a server. - -## SYNTAX - -### List1 (Default) -``` -Get-AzMySqlFlexibleServer [-SubscriptionId ] [-DefaultProfile ] [] -``` - -### Get -``` -Get-AzMySqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [] -``` - -### GetViaIdentity -``` -Get-AzMySqlFlexibleServer -InputObject [-DefaultProfile ] [] -``` - -### List -``` -Get-AzMySqlFlexibleServer -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [] -``` - -## DESCRIPTION -Gets information about a server. - -## EXAMPLES - -### Example 1: Get MySql server with default context -```powershell -PS C:\> Get-AzMySqlFlexibleServer - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ---------------- ------------- -mysql-test-11 eastus mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose -``` - -This cmdlet gets MySql servers with default context. - -### Example 2: Get MySql server by resource group and server name -```powershell -PS C:\> Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Name mysql-test - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ---------------- ------------- -mysql-test-11 eastus mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose -``` - -This cmdlet gets MySql servers by resource group and server name. - -### Example 3: Lists all the MySql servers in specified resource group -```powershell -PS C:\> Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ---------------- ------------- -mysql-test-11 eastus mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose -mysql-test-12 eastus mysql_test2 5.7 5120 Standard_D2ds_v4 GeneralPurpose -``` - -This cmdlet lists all the MySql servers in the specified resource group. - -### Example 4: Get MySql server by identity -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test" -PS C:\> Get-AzMySqlFlexibleServer -InputObject $ID - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ---------------- ------------- -mysql-test-11 eastus mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose -``` - -This cmdlet lists gets MySql servers by identity. - -## PARAMETERS - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity -Parameter Sets: GetViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Get -Aliases: ServerName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Get, List -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String[] -Parameter Sets: Get, List, List1 -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[KeyName ]`: The name of the server key. - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServerConfiguration.md b/src/MySql/docs/Get-AzMySqlFlexibleServerConfiguration.md deleted file mode 100644 index 51ff9d91a78a..000000000000 --- a/src/MySql/docs/Get-AzMySqlFlexibleServerConfiguration.md +++ /dev/null @@ -1,202 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserverconfiguration -schema: 2.0.0 ---- - -# Get-AzMySqlFlexibleServerConfiguration - -## SYNOPSIS -Gets information about a configuration of server. - -## SYNTAX - -### List (Default) -``` -Get-AzMySqlFlexibleServerConfiguration -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [] -``` - -### Get -``` -Get-AzMySqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [] -``` - -### GetViaIdentity -``` -Get-AzMySqlFlexibleServerConfiguration -InputObject [-DefaultProfile ] - [] -``` - -## DESCRIPTION -Gets information about a configuration of server. - -## EXAMPLES - -### Example 1: List all configurations in specified MySql server -```powershell -PS C:\> Get-AzMySqlFlexibleServerConfiguration -ResourceGroupName PowershellMySqlTest -ServerName mysql-test - -Name Value DefaultValue Source AllowedValues DataType ----- ------ ------------ ------- ------------- --------- -archive OFF OFF system-default ON, OFF Enumeration -... -wait_timeout 28800 28800 system-default 1-31536000 Integer -``` - -This cmdlet lists all configurations in specified MySql server. - -### Example 2: Get specified MySql configuration by name -```powershell -PS C:\> Get-AzMySqlFlexibleServerConfiguration -Name wait_timeout -ResourceGroupName PowershellMySqlTest -ServerName mysql-test - -Name Value DefaultValue Source AllowedValues DataType ----- ------ ------------ ------- ------------- --------- -wait_timeout 28800 28800 system-default 1-31536000 Integer -``` - -This cmdlet gets specified MySql configuration by name. - -### Example 3: List configuration by identity -```powershell -PS C:\> $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySql/flexibleServers/$($env.serverName)/configurations/wait_timeout" -Get-AzMySqlFlexibleServerConfiguration -Name wait_timeout -ResourceGroupName PowershellMySqlTest -ServerName mysql-test - -Name Value DefaultValue Source AllowedValues DataType ----- ------ ------------ ------- ------------- --------- -wait_timeout 28800 28800 system-default 1-31536000 Integer -``` - -This cmdlet gets specified MySql configuration by identity. - -## PARAMETERS - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity -Parameter Sets: GetViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server configuration. - -```yaml -Type: System.String -Parameter Sets: Get -Aliases: ConfigurationName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Get, List -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Get, List -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String[] -Parameter Sets: Get, List -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IConfigurationAutoGenerated - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[KeyName ]`: The name of the server key. - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServerDatabase.md b/src/MySql/docs/Get-AzMySqlFlexibleServerDatabase.md deleted file mode 100644 index 2a415e00e5c5..000000000000 --- a/src/MySql/docs/Get-AzMySqlFlexibleServerDatabase.md +++ /dev/null @@ -1,202 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserverdatabase -schema: 2.0.0 ---- - -# Get-AzMySqlFlexibleServerDatabase - -## SYNOPSIS -Gets information about a database. - -## SYNTAX - -### List (Default) -``` -Get-AzMySqlFlexibleServerDatabase -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [] -``` - -### Get -``` -Get-AzMySqlFlexibleServerDatabase -Name -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [] -``` - -### GetViaIdentity -``` -Get-AzMySqlFlexibleServerDatabase -InputObject [-DefaultProfile ] - [] -``` - -## DESCRIPTION -Gets information about a database. - -## EXAMPLES - -### Example 1: Get a MySql database by resource name -```powershell -PS C:\> Get-AzMySqlFlexibleServerDatabase -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -Name flexibleserverdb - -Name Charset Collation ----- -------- ------------------ -flexibleserverdb latin1 latin1_swedish_ci -``` - -This cmdlet gets MySql server by resource name. - -### Example 2: Get MySql databases by identity -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test" -PS C:\> Get-AzMySqlFlexibleServerDatabase -InputObject $ID - -Name Charset Collation ----- -------- ------------------ -flexibleserverdb latin1 latin1_swedish_ci -performance_schema latin1 latin1_swedish_ci -``` - -This cmdlet gets a MySql server by identity. - -### Example 3: Lists all the MySql databases in the specified server -```powershell -PS C:\> Get-AzMySqlFlexibleServerDatabase -ResourceGroupName PowershellMySqlTest -ServerName mysql-test - -Name Charset Collation ----- -------- ------------------ -flexibleserverdb latin1 latin1_swedish_ci -performance_schema latin1 latin1_swedish_ci -``` - -This cmdlet lists all the MySql servers in specified the server. - -## PARAMETERS - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity -Parameter Sets: GetViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the database. - -```yaml -Type: System.String -Parameter Sets: Get -Aliases: DatabaseName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Get, List -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Get, List -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String[] -Parameter Sets: Get, List -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IDatabase - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[KeyName ]`: The name of the server key. - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServerFirewallRule.md b/src/MySql/docs/Get-AzMySqlFlexibleServerFirewallRule.md deleted file mode 100644 index 06986c636935..000000000000 --- a/src/MySql/docs/Get-AzMySqlFlexibleServerFirewallRule.md +++ /dev/null @@ -1,201 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserverfirewallrule -schema: 2.0.0 ---- - -# Get-AzMySqlFlexibleServerFirewallRule - -## SYNOPSIS -Gets information about a server firewall rule. - -## SYNTAX - -### List (Default) -``` -Get-AzMySqlFlexibleServerFirewallRule -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [] -``` - -### Get -``` -Get-AzMySqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [] -``` - -### GetViaIdentity -``` -Get-AzMySqlFlexibleServerFirewallRule -InputObject [-DefaultProfile ] - [] -``` - -## DESCRIPTION -Gets information about a server firewall rule. - -## EXAMPLES - -### Example 1: Get firewall rules by name -```powershell -PS C:\> Get-AzMySqlFlexibleServerFirewallRule -Name firewallrule-test -ResourceGroupName PowershellMySqlTest -ServerName mysql-test - -FirewallRuleName StartIPAddress EndIPAddress ------------------ --------------- --------------- -firewallrule-test 12.12.12.12 23.23.23.23 -``` - -This cmdlet gets firewall rules by name. - -### Example 2: Get firewall rules by identity -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/servers/mysql-test/firewallRules/firewallrule-test" -PS C:\> Get-AzMySqlFlexibleServerFirewallRule -InputObject $ID - -FirewallRuleName StartIPAddress EndIPAddress ------------------ --------------- --------------- -firewallrule-test 12.12.12.12 23.23.23.23 -``` - -This cmdlet gets firewall rules by identity. - -### Example 3: Lists all the firewall rules in the specified MySql server -```powershell -PS C:\> Get-AzMySqlFlexibleServerFirewallRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test - -FirewallRuleName StartIPAddress EndIPAddress ------------------ --------------- --------------- -firewallrule-test 12.12.12.12 23.23.23.23 -firewallrule-test2 12.12.12.15 23.23.23.25 -``` - -This cmdlet lists all the firewall rule in specified MySql server. - -## PARAMETERS - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity -Parameter Sets: GetViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server firewall rule. - -```yaml -Type: System.String -Parameter Sets: Get -Aliases: FirewallRuleName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Get, List -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Get, List -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String[] -Parameter Sets: Get, List -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[KeyName ]`: The name of the server key. - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServerReplica.md b/src/MySql/docs/Get-AzMySqlFlexibleServerReplica.md deleted file mode 100644 index b8a4ada309fa..000000000000 --- a/src/MySql/docs/Get-AzMySqlFlexibleServerReplica.md +++ /dev/null @@ -1,113 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserverreplica -schema: 2.0.0 ---- - -# Get-AzMySqlFlexibleServerReplica - -## SYNOPSIS -List all the replicas for a given server. - -## SYNTAX - -``` -Get-AzMySqlFlexibleServerReplica -ResourceGroupName -ServerName [-SubscriptionId ] - [-DefaultProfile ] [] -``` - -## DESCRIPTION -List all the replicas for a given server. - -## EXAMPLES - -### Example 1: Get MySql server replica by resource group and server name -```powershell -PS C:\> Get-AzMySqlFlexibleServerReplica -ResourceGroupName PowershellMySqlTest -ServerName mysql-test - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ---------------- ------------- -mysql-test-11 eastus mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose -``` - -This cmdlet gets MySql server replica by resource group and server name. - -## PARAMETERS - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String[] -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated - -## NOTES - -ALIASES - -## RELATED LINKS - diff --git a/src/MySql/docs/Get-AzMySqlReplica.md b/src/MySql/docs/Get-AzMySqlReplica.md deleted file mode 100644 index 26fc74aff2c8..000000000000 --- a/src/MySql/docs/Get-AzMySqlReplica.md +++ /dev/null @@ -1,113 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlreplica -schema: 2.0.0 ---- - -# Get-AzMySqlReplica - -## SYNOPSIS -List all the replicas for a given server. - -## SYNTAX - -``` -Get-AzMySqlReplica -ResourceGroupName -ServerName [-SubscriptionId ] - [-DefaultProfile ] [] -``` - -## DESCRIPTION -List all the replicas for a given server. - -## EXAMPLES - -### Example 1: Get MySql server replica by resource group and server name -```powershell -PS C:\> Get-AzMySqlReplica -ResourceGroupName PowershellMySqlTest -ServerName mysql-test - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement ----- -------- ------------------ ------- ----------------------- ------- ------- -------------- -mysql-test-replica eastus mysql_test 5.7 10240 GP_Gen5_4 GeneralPurpose Disabled -``` - -This cmdlet gets MySql server replica by resource group and server name. - -## PARAMETERS - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String[] -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer - -## NOTES - -ALIASES - -## RELATED LINKS - diff --git a/src/MySql/docs/Get-AzMySqlServer.md b/src/MySql/docs/Get-AzMySqlServer.md deleted file mode 100644 index 0aecfacce834..000000000000 --- a/src/MySql/docs/Get-AzMySqlServer.md +++ /dev/null @@ -1,200 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlserver -schema: 2.0.0 ---- - -# Get-AzMySqlServer - -## SYNOPSIS -Gets information about a server. - -## SYNTAX - -### List1 (Default) -``` -Get-AzMySqlServer [-SubscriptionId ] [-DefaultProfile ] [] -``` - -### Get -``` -Get-AzMySqlServer -Name -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [] -``` - -### GetViaIdentity -``` -Get-AzMySqlServer -InputObject [-DefaultProfile ] [] -``` - -### List -``` -Get-AzMySqlServer -ResourceGroupName [-SubscriptionId ] [-DefaultProfile ] - [] -``` - -## DESCRIPTION -Gets information about a server. - -## EXAMPLES - -### Example 1: Get MySql server with default context -```powershell -PS C:\> Get-AzMySqlServer - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement ----- -------- ------------------ ------- ----------------------- ------- ------- -------------- -mysql-test-11 eastus mysql_test 5.7 5120 GP_Gen5_4 GeneralPurpose Enabled -``` - -This cmdlet gets MySql server with default context. - -### Example 2: Get MySql server by resource group and server name -```powershell -PS C:\> Get-AzMySqlServer -ResourceGroupName PowershellMySqlTest -Name mysql-test - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement ----- -------- ------------------ ------- ----------------------- ------- ------- -------------- -mysql-test eastus mysql_test 5.7 5120 GP_Gen5_4 GeneralPurpose Enabled -``` - -This cmdlet gets MySql server by resource group and server name. - -### Example 3: Lists all the MySql servers in specified resource group -```powershell -PS C:\> Get-AzMySqlServer -ResourceGroupName PowershellMySqlTest - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement ----- -------- ------------------ ------- ----------------------- ------- ------- ------------ -mysql-test eastus mysql_test 5.7 5120 GP_Gen5_4 GeneralPurpose Enabled -``` - -This cmdlet lists all the MySql servers in specified resource group. - -### Example 4: Get MySql server by identity -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test" -PS C:\> Get-AzMySqlServer -InputObject $ID - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement ----- -------- ------------------ ------- ----------------------- ------- ------- ------------ -mysql-test eastus mysql_test 5.7 5120 GP_Gen5_4 GeneralPurpose Enabled -``` - -This cmdlet lists gets MySql server by identity. - -## PARAMETERS - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity -Parameter Sets: GetViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Get -Aliases: ServerName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Get, List -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String[] -Parameter Sets: Get, List, List1 -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[KeyName ]`: The name of the server key. - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/MySql/docs/Get-AzMySqlVirtualNetworkRule.md b/src/MySql/docs/Get-AzMySqlVirtualNetworkRule.md deleted file mode 100644 index 133da7f19ef7..000000000000 --- a/src/MySql/docs/Get-AzMySqlVirtualNetworkRule.md +++ /dev/null @@ -1,215 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlvirtualnetworkrule -schema: 2.0.0 ---- - -# Get-AzMySqlVirtualNetworkRule - -## SYNOPSIS -Gets a virtual network rule. - -## SYNTAX - -### List (Default) -``` -Get-AzMySqlVirtualNetworkRule -ResourceGroupName -ServerName [-SubscriptionId ] - [-DefaultProfile ] [-PassThru] [] -``` - -### Get -``` -Get-AzMySqlVirtualNetworkRule -Name -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [-PassThru] [] -``` - -### GetViaIdentity -``` -Get-AzMySqlVirtualNetworkRule -InputObject [-DefaultProfile ] [-PassThru] - [] -``` - -## DESCRIPTION -Gets a virtual network rule. - -## EXAMPLES - -### Example 1: Lists all the Virtual Network Rules in specified MySql server -```powershell -PS C:\> Get-AzMySqlVirtualNetworkRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test - -Name Type ----- ---- -vnet Microsoft.DBforMySQL/servers/virtualNetworkRules -``` - -This cmdlet lists all the Virtual Network Rules in specified MySql server. - -### Example 2: Get Virtual Network Rule by name -```powershell -PS C:\> Get-AzMySqlVirtualNetworkRule -Name vnet -ResourceGroupName PowershellMySqlTest -ServerName mysql-test - -Name Type ----- ---- -vnet Microsoft.DBforMySQL/servers/virtualNetworkRules -``` - -This cmdlet gets Virtual Network Rule by name. - -### Example 3: Get Virtual Network Rule by identity -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/virtualNetworkRules/vnet" -PS C:\> Get-AzMySqlVirtualNetworkRule -InputObject $ID - -Name Type ----- ---- -vnet Microsoft.DBforMySQL/servers/virtualNetworkRules -``` - -This cmdlet gets Virtual Network Rule by identity. - -## PARAMETERS - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity -Parameter Sets: GetViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the virtual network rule. - -```yaml -Type: System.String -Parameter Sets: Get -Aliases: VirtualNetworkRuleName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PassThru -Returns true when the command succeeds - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Get, List -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Get, List -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String[] -Parameter Sets: Get, List -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IVirtualNetworkRule - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[KeyName ]`: The name of the server key. - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/MySql/docs/New-AzMySqlFirewallRule.md b/src/MySql/docs/New-AzMySqlFirewallRule.md deleted file mode 100644 index 79ae7ecdd053..000000000000 --- a/src/MySql/docs/New-AzMySqlFirewallRule.md +++ /dev/null @@ -1,292 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlfirewallrule -schema: 2.0.0 ---- - -# New-AzMySqlFirewallRule - -## SYNOPSIS -Creates a new firewall rule or updates an existing firewall rule. - -## SYNTAX - -### CreateExpanded (Default) -``` -New-AzMySqlFirewallRule -ResourceGroupName -ServerName -EndIPAddress - -StartIPAddress [-Name ] [-SubscriptionId ] [-DefaultProfile ] [-AsJob] - [-NoWait] [-Confirm] [-WhatIf] [] -``` - -### AllowAll -``` -New-AzMySqlFirewallRule -ResourceGroupName -ServerName -AllowAll [-Name ] - [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] - [] -``` - -### ClientIPAddress -``` -New-AzMySqlFirewallRule -ResourceGroupName -ServerName -ClientIPAddress - [-Name ] [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] - [-WhatIf] [] -``` - -## DESCRIPTION -Creates a new firewall rule or updates an existing firewall rule. - -## EXAMPLES - -### Example 1: Create a new MySql server Firewall Rule -```powershell -PS C:\> New-AzMySqlFirewallRule -Name rule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 - -Name StartIPAddress EndIPAddress ----- -------------- ------------ -rule 0.0.0.0 0.0.0.1 -``` - -This cmdlets create a MySql server Firewall Rule. - -### Example 2: Create a new MySql Firewall Rule using -ClientIPAddress. -```powershell -PS C:\> New-AzMySqlFirewallRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -ClientIPAddress 0.0.0.1 - -Name StartIPAddress EndIPAddress ----- -------------- ------------ -ClientIPAddress_2020-08-11_18-19-27 0.0.0.1 0.0.0.1 -``` - -This cmdlets create a MySql Firewall Rule using -ClientIPAddress. - -### Example 3: Create a new MySql Firewall Rule to allow all IPs -```powershell -PS C:\> New-AzMySqlFirewallRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -AllowAll - -Name StartIPAddress EndIPAddress ----- -------------- ------------ -AllowAll_2020-08-11_18-19-27 0.0.0.0 255.255.255.255 -``` - -This cmdlets create a new MySql Firewall Rule to allow all IPs. - -## PARAMETERS - -### -AllowAll -Present to allow all range IPs, from 0.0.0.0 to 255.255.255.255. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: AllowAll -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ClientIPAddress -Client specified single IP of the server firewall rule. -Must be IPv4 format. - -```yaml -Type: System.String -Parameter Sets: ClientIPAddress -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -EndIPAddress -The end IP address of the server firewall rule. -Must be IPv4 format. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Name -The name of the server firewall rule. -If not specified, the default is undefined. -If AllowAll is present, the default name is AllowAll_yyyy-MM-dd_HH-mm-ss. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: FirewallRuleName - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -StartIPAddress -The start IP address of the server firewall rule. -Must be IPv4 format. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule - -## NOTES - -ALIASES - -## RELATED LINKS - diff --git a/src/MySql/docs/New-AzMySqlFlexibleServer.md b/src/MySql/docs/New-AzMySqlFlexibleServer.md deleted file mode 100644 index 4dc1349aff99..000000000000 --- a/src/MySql/docs/New-AzMySqlFlexibleServer.md +++ /dev/null @@ -1,379 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlflexibleserver -schema: 2.0.0 ---- - -# New-AzMySqlFlexibleServer - -## SYNOPSIS -Creates a new server. - -## SYNTAX - -``` -New-AzMySqlFlexibleServer -Name -ResourceGroupName - -AdministratorLoginPassword -AdministratorUserName [-SubscriptionId ] - [-BackupRetentionDay ] [-Location ] [-Sku ] [-SkuTier ] [-StorageInMb ] - [-Tag ] [-Version ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] - [-WhatIf] [] -``` - -## DESCRIPTION -Creates a new server. - -## EXAMPLES - -### Example 1: Create a new MySql flexible server with parameters -```powershell -PS C:\> New-AzMySqlFlexibleServer -Name mysql-test -ResourceGroupName PowershellMySqlTest \ --Location westus2 -AdministratorUserName mysql_test -AdministratorLoginPassword $password -Sku Standard_B1ms -SkuTier Burstable - -Creating new vnet {vnetName} in resource group {resourceGroupName}... -Creating new subnet {subnetName} in resource group {resourceGroupName} and delegating it to "Microsoft.DBforMySQL/flexibleServers"... -Creating MySQL server {serverName} in group {resourceGroupName}... -Your server is using sku 'Standard_B1ms' (paid tier). Please refer to https://aka.ms/mysql-pricing for pricing details. -Creating MySQL database {dbname}... -"connectionString": "mysql {dbname} --host {host} --user {username} --password={password}", -"databaseName": "flexibleserverdb", -"host": "{servername}.mysql.database.azure.com", -"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}", -"location": "West US 2", -"version": "5.7", -"username": "{username}", -"password": "{password}", -"skuname": "Standard_B1ms" -``` - -The cmdlet generates a server with the given parameters and output important information in a visible format. -The server creation automatically generates vnet, subnet, and database in the resource group. - -### Example 2: Create a new MySql flexible server without parameters -```powershell -PS C:\> New-AzMySqlFlexibleServer - -Creating Resource Group {resourceGroupName}... -Creating new vnet {vnetName} in resource group {resourceGroupName}... -Creating new subnet {subnetName} in resource group {resourceGroupName} and delegating it to "Microsoft.DBforMySQL/flexibleServers"... -Creating MySQL server {serverName} in group {resourceGroupName}... -Your server is using sku 'Standard_B1ms' (paid tier). Please refer to https://aka.ms/mysql-pricing for pricing details. -Creating MySQL database {dbname}... -"connectionString": "mysql {dbname} --host {host} --user {username} --password={password}", -"databaseName": "flexibleserverdb", -"host": "{servername}.mysql.database.azure.com", -"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}", -"location": "West US 2", -"version": "5.7", -"username": "{username}", -"password": "{password}", -"skuname": "Standard_B1ms" -``` - -When no parameters are given, the cmdlet automatically generates necessary resources such as resource group, vnet, and database. -The SKU and storage profile are set to default values. - -### Example 3: Create a new MySql flexible server with public access to all IPs -```powershell -PS C:\> New-AzMySqlFlexibleServer -PublicAccess all - -Creating Resource Group {resourceGroupName}... -Configurint server firewall rule to accept connections from '0.0.0.0' to '255.255.255.255'... -Creating MySQL server {serverName} in group {resourceGroupName}... -Your server is using sku 'Standard_B1ms' (paid tier). Please refer to https://aka.ms/mysql-pricing for pricing details. -Creating MySQL database {dbname}... -"connectionString": "mysql {dbname} --host {host} --user {username} --password={password}", -"firewallName": "{firewallRuleName}", -"databaseName": "flexibleserverdb", -"host": "{serverName}.mysql.database.azure.com", -"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}", -"location": "West US 2", -"version": "5.7", -"username": "{username}", -"password": "{password}", -"skuname": "Standard_B1ms" -``` - -The cmdlet generates a server without given parameters and automatically generates necessary resources such as resource group, subnet, and database. -The SKU and storage profile are set to default values. - -## PARAMETERS - -### -AdministratorLoginPassword -The password of the administrator. -Minimum 8 characters and maximum 128 characters. -Password must contain characters from three of the following categories: English uppercase letters, English lowercase letters, numbers, and non-alphanumeric characters. - -```yaml -Type: System.Security.SecureString -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -AdministratorUserName -Administrator username for the server. -Once set, it cannot be changed. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -AsJob -Run the command as a job. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -BackupRetentionDay -Backup retention days for the server. -Day count is between 7 and 35. - -```yaml -Type: System.Int32 -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Location -The location the resource resides in. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Name -The name of the server. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: ServerName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Sku -The name of the sku, typically, tier + family + cores, e.g. -Standard_B1ms, Standard_D2ds_v4. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SkuTier -Compute tier of the server. -Accepted values: Burstable, GeneralPurpose, Memory Optimized. -Default: Burstable. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -StorageInMb -Max storage allowed for a server. - -```yaml -Type: System.Int32 -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The subscription ID that identifies an Azure subscription. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Tag -Application-specific metadata in the form of key-value pairs. - -```yaml -Type: System.Collections.Hashtable -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Version -Server version. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerVersion -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated - -## NOTES - -ALIASES - -## RELATED LINKS - diff --git a/src/MySql/docs/New-AzMySqlFlexibleServerDatabase.md b/src/MySql/docs/New-AzMySqlFlexibleServerDatabase.md deleted file mode 100644 index c6ff04d467bf..000000000000 --- a/src/MySql/docs/New-AzMySqlFlexibleServerDatabase.md +++ /dev/null @@ -1,263 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlflexibleserverdatabase -schema: 2.0.0 ---- - -# New-AzMySqlFlexibleServerDatabase - -## SYNOPSIS -Creates a new database or updates an existing database. - -## SYNTAX - -### CreateExpanded (Default) -``` -New-AzMySqlFlexibleServerDatabase -Name -ResourceGroupName -ServerName - [-SubscriptionId ] [-Charset ] [-Collation ] [-DefaultProfile ] [-AsJob] - [-NoWait] [-Confirm] [-WhatIf] [] -``` - -### CreateViaIdentityExpanded -``` -New-AzMySqlFlexibleServerDatabase -InputObject [-Charset ] [-Collation ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Creates a new database or updates an existing database. - -## EXAMPLES - -### Example 1: Create a new MySql server database -```powershell -PS C:\> New-AzMySqlFlexibleServerDatabase -Name databasetest -ResourceGroupName PowershellMySqlTest -ServerName mysql-test - -Name Charset Collation ----- -------- ------------------ -databasetest latin1 latin1_swedish_ci -``` - -Create a database with default settings. - -## PARAMETERS - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Charset -The charset of the database. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Collation -The collation of the database. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity -Parameter Sets: CreateViaIdentityExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the database. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded -Aliases: DatabaseName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IDatabase - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[KeyName ]`: The name of the server key. - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/MySql/docs/New-AzMySqlFlexibleServerFirewallRule.md b/src/MySql/docs/New-AzMySqlFlexibleServerFirewallRule.md deleted file mode 100644 index 4a337eb76ce8..000000000000 --- a/src/MySql/docs/New-AzMySqlFlexibleServerFirewallRule.md +++ /dev/null @@ -1,292 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlflexibleserverfirewallrule -schema: 2.0.0 ---- - -# New-AzMySqlFlexibleServerFirewallRule - -## SYNOPSIS -Creates a new firewall rule or updates an existing firewall rule. - -## SYNTAX - -### CreateExpanded (Default) -``` -New-AzMySqlFlexibleServerFirewallRule -ResourceGroupName -ServerName -EndIPAddress - -StartIPAddress [-Name ] [-SubscriptionId ] [-DefaultProfile ] [-AsJob] - [-NoWait] [-Confirm] [-WhatIf] [] -``` - -### AllowAll -``` -New-AzMySqlFlexibleServerFirewallRule -ResourceGroupName -ServerName -AllowAll - [-Name ] [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] - [-WhatIf] [] -``` - -### ClientIPAddress -``` -New-AzMySqlFlexibleServerFirewallRule -ResourceGroupName -ServerName - -ClientIPAddress [-Name ] [-SubscriptionId ] [-DefaultProfile ] [-AsJob] - [-NoWait] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Creates a new firewall rule or updates an existing firewall rule. - -## EXAMPLES - -### Example 1: Create a new MySql server Firewall Rule -```powershell -PS C:\> New-AzMySqlFlexibleServerFirewallRule -Name firewallrule-test -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 - -Name StartIPAddress EndIPAddress ------------------ -------------- ------------ -firewallrule-test 0.0.0.0 0.0.0.1 -``` - -This cmdlets create a MySql server Firewall Rule. - -### Example 2: Create a new MySql Firewall Rule using -ClientIPAddress. -```powershell -PS C:\> New-AzMySqlFlexibleServerFirewallRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -ClientIPAddress 0.0.0.1 - -Name StartIPAddress EndIPAddress ----- -------------- ------------ -ClientIPAddress_2020-08-11_18-19-27 0.0.0.1 0.0.0.1 -``` - -This cmdlets create a MySql Firewall Rule using -ClientIPAddress. - -### Example 3: Create a new MySql Firewall Rule to allow all IPs -```powershell -PS C:\> New-AzMySqlFlexibleServerFirewallRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -AllowAll - -Name StartIPAddress EndIPAddress ----- -------------- ------------ -AllowAll_2020-08-11_18-19-27 0.0.0.0 255.255.255.255 -``` - -This cmdlets create a new MySql Firewall Rule to allow all IPs. - -## PARAMETERS - -### -AllowAll -Present to allow all range IPs, from 0.0.0.0 to 255.255.255.255. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: AllowAll -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ClientIPAddress -Client specified single IP of the server firewall rule. -Must be IPv4 format. - -```yaml -Type: System.String -Parameter Sets: ClientIPAddress -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -EndIPAddress -The end IP address of the server firewall rule. -Must be IPv4 format. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Name -The name of the server firewall rule. -If not specified, the default is undefined. -If AllowAll is present, the default name is AllowAll_yyyy-MM-dd_HH-mm-ss. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: FirewallRuleName - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -StartIPAddress -The start IP address of the server firewall rule. -Must be IPv4 format. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule - -## NOTES - -ALIASES - -## RELATED LINKS - diff --git a/src/MySql/docs/New-AzMySqlFlexibleServerReplica.md b/src/MySql/docs/New-AzMySqlFlexibleServerReplica.md deleted file mode 100644 index a0057eca801d..000000000000 --- a/src/MySql/docs/New-AzMySqlFlexibleServerReplica.md +++ /dev/null @@ -1,239 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlflexibleserverreplica -schema: 2.0.0 ---- - -# New-AzMySqlFlexibleServerReplica - -## SYNOPSIS -Creates a new replica from an existing database. - -## SYNTAX - -``` -New-AzMySqlFlexibleServerReplica -Replica -ResourceGroupName -Master - [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] - [] -``` - -## DESCRIPTION -Creates a new replica from an existing database. - -## EXAMPLES - -### Example 1: Create a new MySql server replica -```powershell -PS C:\> Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test | New-AzMySqlFlexibleServerReplica -Replica mysql-test-replica -ResourceGroupName PowershellMySqlTest - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ------- ------- -mysql-test-replica eastus mysql_test 5.7 10240 Standard_B1ms Burstable -``` - -This cmdlet creates a new MySql server replica. - -### Example 2: Create a new MySql server replica -```powershell -PS C:\> $mysql = Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -PS C:\> New-AzMySqlFlexibleServerReplica -Master $mysql -Replica mysql-test-replica -ResourceGroupName PowershellMySqlTest - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ------- ------- -mysql-test-replica eastus mysql_test 5.7 10240 Standard_B1ms Burstable -``` - -This cmdlet with parameter master(inputobject) creates a new MySql server replica. - -## PARAMETERS - -### -AsJob -Run the command as a job. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Master -The source server object to create replica from. -To construct, see NOTES section for MASTER properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated -Parameter Sets: (All) -Aliases: InputObject - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Replica -The name of the server. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: ReplicaServerName, Name - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The subscription ID that identifies an Azure subscription. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -MASTER : The source server object to create replica from. - - `Location `: The geo-location where the resource lives - - `SkuName `: The name of the sku, e.g. Standard_D32s_v3. - - `SkuTier `: The tier of the particular SKU, e.g. GeneralPurpose. - - `[Tag ]`: Resource tags. - - `[(Any) ]`: This indicates any property can be added to this object. - - `[AdministratorLogin ]`: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). - - `[AdministratorLoginPassword ]`: The password of the administrator login (required for server creation). - - `[AvailabilityZone ]`: availability Zone information of the server. - - `[CreateMode ]`: The mode to create a new MySQL server. - - `[DelegatedSubnetArgumentSubnetArmResourceId ]`: delegated subnet arm resource id. - - `[HaEnabled ]`: Enable HA or not for a server. - - `[IdentityType ]`: The identity type. - - `[InfrastructureEncryption ]`: Status showing whether the server enabled infrastructure encryption. - - `[MaintenanceWindowCustomWindow ]`: indicates whether custom window is enabled or disabled - - `[MaintenanceWindowDayOfWeek ]`: day of week for maintenance window - - `[MaintenanceWindowStartHour ]`: start hour for maintenance window - - `[MaintenanceWindowStartMinute ]`: start minute for maintenance window - - `[PropertiesTag ]`: Application-specific metadata in the form of key-value pairs. - - `[(Any) ]`: This indicates any property can be added to this object. - - `[ReplicationRole ]`: The replication role. - - `[RestorePointInTime ]`: Restore point creation time (ISO8601 format), specifying the time to restore from. - - `[SourceServerId ]`: The source MySQL server id. - - `[SslEnforcement ]`: Enable ssl enforcement or not when connect to server. - - `[StorageProfileBackupRetentionDay ]`: Backup retention days for the server. - - `[StorageProfileStorageAutogrow ]`: Enable Storage Auto Grow. - - `[StorageProfileStorageIop ]`: Storage IOPS for a server. - - `[StorageProfileStorageMb ]`: Max storage allowed for a server. - - `[Version ]`: Server version. - -## RELATED LINKS - diff --git a/src/MySql/docs/New-AzMySqlReplica.md b/src/MySql/docs/New-AzMySqlReplica.md deleted file mode 100644 index 4d23a93185b9..000000000000 --- a/src/MySql/docs/New-AzMySqlReplica.md +++ /dev/null @@ -1,267 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlreplica -schema: 2.0.0 ---- - -# New-AzMySqlReplica - -## SYNOPSIS -Creates a new replica from an existing database. - -## SYNTAX - -``` -New-AzMySqlReplica -Replica -ResourceGroupName -Master [-SubscriptionId ] - [-Location ] [-Sku ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] - [] -``` - -## DESCRIPTION -Creates a new replica from an existing database. - -## EXAMPLES - -### Example 1: Create a new MySql server replica -```powershell -PS C:\> Get-AzMySqlServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test | New-AzMySqlReplica -Replica mysql-test-replica -ResourceGroupName PowershellMySqlTest - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement ----- -------- ------------------ ------- ----------------------- ------- ------- -------------- -mysql-test-replica eastus mysql_test 5.7 10240 GP_Gen5_4 GeneralPurpose Disabled -``` - -This cmdlet creates a new MySql server replica. - -### Example 2: Create a new MySql server replica -```powershell -PS C:\> $mysql = Get-AzMySqlServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -PS C:\> New-AzMySqlReplica -Master $mysql -Replica mysql-test-replica -ResourceGroupName PowershellMySqlTest - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement ----- -------- ------------------ ------- ----------------------- ------- ------- -------------- -mysql-test-replica eastus mysql_test 5.7 10240 GP_Gen5_4 GeneralPurpose Disabled -``` - -This cmdlet with parameter master(inputobject) creates a new MySql server replica. - -## PARAMETERS - -### -AsJob -Run the command as a job. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Location -The location the resource resides in. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Master -The source server object to create replica from. -To construct, see NOTES section for MASTER properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer -Parameter Sets: (All) -Aliases: InputObject - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Replica -The name of the server. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: ReplicaServerName, Name - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Sku -The name of the sku, typically, tier + family + cores, e.g. -B_Gen4_1, GP_Gen5_8. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The subscription ID that identifies an Azure subscription. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -MASTER : The source server object to create replica from. - - `Location `: The geo-location where the resource lives - - `SkuName `: The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. - - `[Tag ]`: Resource tags. - - `[(Any) ]`: This indicates any property can be added to this object. - - `[AdministratorLogin ]`: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). - - `[EarliestRestoreDate ]`: Earliest restore point creation time (ISO8601 format) - - `[FullyQualifiedDomainName ]`: The fully qualified domain name of a server. - - `[IdentityType ]`: The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. - - `[InfrastructureEncryption ]`: Status showing whether the server enabled infrastructure encryption. - - `[MasterServerId ]`: The master server id of a replica server. - - `[MinimalTlsVersion ]`: Enforce a minimal Tls version for the server. - - `[PublicNetworkAccess ]`: Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' - - `[ReplicaCapacity ]`: The maximum number of replicas that a master server can have. - - `[ReplicationRole ]`: The replication role of the server. - - `[SkuCapacity ]`: The scale up/out capacity, representing server's compute units. - - `[SkuFamily ]`: The family of hardware. - - `[SkuSize ]`: The size code, to be interpreted by resource as appropriate. - - `[SkuTier ]`: The tier of the particular SKU, e.g. Basic. - - `[SslEnforcement ]`: Enable ssl enforcement or not when connect to server. - - `[StorageProfileBackupRetentionDay ]`: Backup retention days for the server. - - `[StorageProfileGeoRedundantBackup ]`: Enable Geo-redundant or not for server backup. - - `[StorageProfileStorageAutogrow ]`: Enable Storage Auto Grow. - - `[StorageProfileStorageMb ]`: Max storage allowed for a server. - - `[UserVisibleState ]`: A state of a server that is visible to user. - - `[Version ]`: Server version. - -## RELATED LINKS - diff --git a/src/MySql/docs/New-AzMySqlServer.md b/src/MySql/docs/New-AzMySqlServer.md deleted file mode 100644 index ae4ee28f4106..000000000000 --- a/src/MySql/docs/New-AzMySqlServer.md +++ /dev/null @@ -1,347 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlserver -schema: 2.0.0 ---- - -# New-AzMySqlServer - -## SYNOPSIS -Creates a new server. - -## SYNTAX - -``` -New-AzMySqlServer -Name -ResourceGroupName -AdministratorLoginPassword - -AdministratorUserName -Location -Sku [-SubscriptionId ] - [-BackupRetentionDay ] [-GeoRedundantBackup ] - [-SslEnforcement ] [-StorageAutogrow ] [-StorageInMb ] - [-Tag ] [-Version ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] - [-WhatIf] [] -``` - -## DESCRIPTION -Creates a new server. - -## EXAMPLES - -### Example 1: Create a new MySql server -```powershell -PS C:\> New-AzMySqlServer -Name mysql-test -ResourceGroupName PowershellMySqlTest -Location eastus -AdministratorUser mysql_test -AdministratorLoginPassword $password -Sku GP_Gen5_4 - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement ----- -------- ------------------ ------- ----------------------- ------- ------- ------------ -mysql-test eastus mysql_test 5.7 5120 GP_Gen5_4 GeneralPurpose Enabled -``` - -These cmdlets create a new MySql server. - -## PARAMETERS - -### -AdministratorLoginPassword -The password of the administrator. -Minimum 8 characters and maximum 128 characters. -Password must contain characters from three of the following categories: English uppercase letters, English lowercase letters, numbers, and non-alphanumeric characters. - -```yaml -Type: System.Security.SecureString -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -AdministratorUserName -Administrator username for the server. -Once set, it cannot be changed. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -AsJob -Run the command as a job. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -BackupRetentionDay -Backup retention days for the server. -Day count is between 7 and 35. - -```yaml -Type: System.Int32 -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -GeoRedundantBackup -Enable Geo-redundant or not for server backup. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.GeoRedundantBackup -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Location -The location the resource resides in. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Name -The name of the server. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: ServerName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Sku -The name of the sku, typically, tier + family + cores, e.g. -B_Gen4_1, GP_Gen5_8. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SslEnforcement -Enable ssl enforcement or not when connect to server. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SslEnforcementEnum -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -StorageAutogrow -Enable Storage Auto Grow. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -StorageInMb -Max storage allowed for a server. - -```yaml -Type: System.Int32 -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The subscription ID that identifies an Azure subscription. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Tag -Application-specific metadata in the form of key-value pairs. - -```yaml -Type: System.Collections.Hashtable -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Version -Server version. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerVersion -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer - -## NOTES - -ALIASES - -## RELATED LINKS - diff --git a/src/MySql/docs/New-AzMySqlVirtualNetworkRule.md b/src/MySql/docs/New-AzMySqlVirtualNetworkRule.md deleted file mode 100644 index a3bec6784dc1..000000000000 --- a/src/MySql/docs/New-AzMySqlVirtualNetworkRule.md +++ /dev/null @@ -1,242 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlvirtualnetworkrule -schema: 2.0.0 ---- - -# New-AzMySqlVirtualNetworkRule - -## SYNOPSIS -Creates or updates an existing virtual network rule. - -## SYNTAX - -``` -New-AzMySqlVirtualNetworkRule -Name -ResourceGroupName -ServerName - -SubnetId [-SubscriptionId ] [-IgnoreMissingVnetServiceEndpoint] - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Creates or updates an existing virtual network rule. - -## EXAMPLES - -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -## PARAMETERS - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -IgnoreMissingVnetServiceEndpoint -Create firewall rule before the virtual network has vnet service endpoint enabled. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Name -The name of the virtual network rule. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: VirtualNetworkRuleName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PassThru -Returns true when the command succeeds - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubnetId -The ARM resource id of the virtual network subnet. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IVirtualNetworkRule - -## NOTES - -ALIASES - -## RELATED LINKS - diff --git a/src/MySql/docs/Remove-AzMySqlFirewallRule.md b/src/MySql/docs/Remove-AzMySqlFirewallRule.md deleted file mode 100644 index 2a9b617e855e..000000000000 --- a/src/MySql/docs/Remove-AzMySqlFirewallRule.md +++ /dev/null @@ -1,254 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/remove-azmysqlfirewallrule -schema: 2.0.0 ---- - -# Remove-AzMySqlFirewallRule - -## SYNOPSIS -Deletes a server firewall rule. - -## SYNTAX - -### Delete (Default) -``` -Remove-AzMySqlFirewallRule -Name -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] - [] -``` - -### DeleteViaIdentity -``` -Remove-AzMySqlFirewallRule -InputObject [-DefaultProfile ] [-AsJob] [-NoWait] - [-PassThru] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Deletes a server firewall rule. - -## EXAMPLES - -### Example 1: Remove MySql Firewall Rule by name -```powershell -PS C:\> Remove-AzMySqlFirewallRule -Name rule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test - -``` - -This cmdlet removes MySql Firewall Rule by name. - -### Example 2: Remove MySql Firewall Rule by identity -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/firewallRules/rule" -PS C:\> Remove-AzMySqlFirewallRule -InputObject $ID - -``` - -These cmdlets remove MySql Firewall Rule by identity. - -## PARAMETERS - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity -Parameter Sets: DeleteViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server firewall rule. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: FirewallRuleName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PassThru -Returns true when the command succeeds - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity - -## OUTPUTS - -### System.Boolean - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[KeyName ]`: The name of the server key. - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/MySql/docs/Remove-AzMySqlFlexibleServer.md b/src/MySql/docs/Remove-AzMySqlFlexibleServer.md deleted file mode 100644 index 4edf5a2e29b4..000000000000 --- a/src/MySql/docs/Remove-AzMySqlFlexibleServer.md +++ /dev/null @@ -1,238 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/remove-azmysqlflexibleserver -schema: 2.0.0 ---- - -# Remove-AzMySqlFlexibleServer - -## SYNOPSIS -Deletes a server. - -## SYNTAX - -### Delete (Default) -``` -Remove-AzMySqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -### DeleteViaIdentity -``` -Remove-AzMySqlFlexibleServer -InputObject [-DefaultProfile ] [-AsJob] [-NoWait] - [-PassThru] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Deletes a server. - -## EXAMPLES - -### Example 1: Remove MySql server by resourceGroup and server name -```powershell -PS C:\> Remove-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Name mysql-test - -``` - -This cmdlet removes MySql server by resourceGroup and server name. - -### Example 2: Remove MySql server by identity -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test" -PS C:\> Remove-AzMySqlFlexibleServer -InputObject $ID - -``` - -These cmdlets remove MySql server by identity. - -## PARAMETERS - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity -Parameter Sets: DeleteViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: ServerName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PassThru -Returns true when the command succeeds - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity - -## OUTPUTS - -### System.Boolean - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[KeyName ]`: The name of the server key. - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/MySql/docs/Remove-AzMySqlFlexibleServerDatabase.md b/src/MySql/docs/Remove-AzMySqlFlexibleServerDatabase.md deleted file mode 100644 index dfa77b04448c..000000000000 --- a/src/MySql/docs/Remove-AzMySqlFlexibleServerDatabase.md +++ /dev/null @@ -1,253 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/remove-azmysqlflexibleserverdatabase -schema: 2.0.0 ---- - -# Remove-AzMySqlFlexibleServerDatabase - -## SYNOPSIS -Deletes a database. - -## SYNTAX - -### Delete (Default) -``` -Remove-AzMySqlFlexibleServerDatabase -Name -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] - [] -``` - -### DeleteViaIdentity -``` -Remove-AzMySqlFlexibleServerDatabase -InputObject [-DefaultProfile ] [-AsJob] - [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Deletes a database. - -## EXAMPLES - -### Example 1: Remove MySql database by name -```powershell -PS C:\> Remove-AzMySqlFlexibleServerDatabase -Name databasetest -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -``` - -This cmdlet removes MySql database by name. - -### Example 2: Remove MySql database by identity -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test/databases/databasetest" -PS C:\> Remove-AzMySqlFlexibleServerDatabase -InputObject $ID - -``` - -These cmdlets remove MySql database by identity. - -## PARAMETERS - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity -Parameter Sets: DeleteViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the database. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: DatabaseName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PassThru -Returns true when the command succeeds - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity - -## OUTPUTS - -### System.Boolean - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[KeyName ]`: The name of the server key. - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/MySql/docs/Remove-AzMySqlFlexibleServerFirewallRule.md b/src/MySql/docs/Remove-AzMySqlFlexibleServerFirewallRule.md deleted file mode 100644 index 33e375ce216e..000000000000 --- a/src/MySql/docs/Remove-AzMySqlFlexibleServerFirewallRule.md +++ /dev/null @@ -1,254 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/remove-azmysqlflexibleserverfirewallrule -schema: 2.0.0 ---- - -# Remove-AzMySqlFlexibleServerFirewallRule - -## SYNOPSIS -Deletes a firewall rule. - -## SYNTAX - -### Delete (Default) -``` -Remove-AzMySqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] - [] -``` - -### DeleteViaIdentity -``` -Remove-AzMySqlFlexibleServerFirewallRule -InputObject [-DefaultProfile ] [-AsJob] - [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Deletes a firewall rule. - -## EXAMPLES - -### Example 1: Remove MySql Firewall Rule by name -```powershell -PS C:\> Remove-AzMySqlFlexibleServerFirewallRule -Name firewall-rule-test -ResourceGroupName PowershellMySqlTest -ServerName mysql-test - -``` - -This cmdlet removes MySql Firewall Rule by name. - -### Example 2: Remove MySql Firewall Rule by identity -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test/firewallRules/firewall-rule-test" -PS C:\> Remove-AzMySqlFlexibleServerFirewallRule -InputObject $ID - -``` - -These cmdlets remove MySql Firewall Rule by identity. - -## PARAMETERS - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity -Parameter Sets: DeleteViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server firewall rule. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: FirewallRuleName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PassThru -Returns true when the command succeeds - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity - -## OUTPUTS - -### System.Boolean - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[KeyName ]`: The name of the server key. - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/MySql/docs/Remove-AzMySqlServer.md b/src/MySql/docs/Remove-AzMySqlServer.md deleted file mode 100644 index 37b1679472d0..000000000000 --- a/src/MySql/docs/Remove-AzMySqlServer.md +++ /dev/null @@ -1,238 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/remove-azmysqlserver -schema: 2.0.0 ---- - -# Remove-AzMySqlServer - -## SYNOPSIS -Deletes a server. - -## SYNTAX - -### Delete (Default) -``` -Remove-AzMySqlServer -Name -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -### DeleteViaIdentity -``` -Remove-AzMySqlServer -InputObject [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] - [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Deletes a server. - -## EXAMPLES - -### Example 1: Remove MySql server by resourceGroup and server name -```powershell -PS C:\> Remove-AzMySqlServer -ResourceGroupName PowershellMySqlTest -Name mysql-test - -``` - -This cmdlet removes MySql server by resourceGroup and server name. - -### Example 2: Remove MySql server by identity -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test" -PS C:\> Remove-AzMySqlServer -InputObject $ID - -``` - -These cmdlets remove MySql server by identity. - -## PARAMETERS - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity -Parameter Sets: DeleteViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: ServerName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PassThru -Returns true when the command succeeds - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity - -## OUTPUTS - -### System.Boolean - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[KeyName ]`: The name of the server key. - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/MySql/docs/Remove-AzMySqlVirtualNetworkRule.md b/src/MySql/docs/Remove-AzMySqlVirtualNetworkRule.md deleted file mode 100644 index 0dfe8e08b23d..000000000000 --- a/src/MySql/docs/Remove-AzMySqlVirtualNetworkRule.md +++ /dev/null @@ -1,254 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/remove-azmysqlvirtualnetworkrule -schema: 2.0.0 ---- - -# Remove-AzMySqlVirtualNetworkRule - -## SYNOPSIS -Deletes the virtual network rule with the given name. - -## SYNTAX - -### Delete (Default) -``` -Remove-AzMySqlVirtualNetworkRule -Name -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] - [] -``` - -### DeleteViaIdentity -``` -Remove-AzMySqlVirtualNetworkRule -InputObject [-DefaultProfile ] [-AsJob] [-NoWait] - [-PassThru] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Deletes the virtual network rule with the given name. - -## EXAMPLES - -### Example 1: Remove MySql server Virtual Network Rule by name -```powershell -PS C:\> Remove-AzMySqlVirtualNetworkRule -Name vnet -ResourceGroupName PowershellMySqlTest-ServerName mysql-test - -``` - -This cmdlet removes MySql server Virtual Network Rule by name. - -### Example 2: Remove MySql server Virtual Network Rule by identity -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/virtualNetworkRules/vnet" -PS C:\> Remove-AzMySqlVirtualNetworkRule -InputObject $ID - -``` - -These cmdlets remove MySql server Virtual Network Rule by identity. - -## PARAMETERS - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity -Parameter Sets: DeleteViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the virtual network rule. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: VirtualNetworkRuleName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PassThru -Returns true when the command succeeds - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity - -## OUTPUTS - -### System.Boolean - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[KeyName ]`: The name of the server key. - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/MySql/docs/Restart-AzMySqlFlexibleServer.md b/src/MySql/docs/Restart-AzMySqlFlexibleServer.md deleted file mode 100644 index 857c695d120f..000000000000 --- a/src/MySql/docs/Restart-AzMySqlFlexibleServer.md +++ /dev/null @@ -1,236 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/restart-azmysqlflexibleserver -schema: 2.0.0 ---- - -# Restart-AzMySqlFlexibleServer - -## SYNOPSIS -Restarts a server. - -## SYNTAX - -### Restart (Default) -``` -Restart-AzMySqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -### RestartViaIdentity -``` -Restart-AzMySqlFlexibleServer -InputObject [-DefaultProfile ] [-AsJob] [-NoWait] - [-PassThru] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Restarts a server. - -## EXAMPLES - -### Example 1: Restart the server by resource name -```powershell -PS C:\> Restart-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Name mysql-test -``` - -Restart the server by name - -### Example 2: Restart the server by identity -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test/restart" -PS C:\> Restart-AzMySqlFlexibleServer -InputObject $ID -``` - -Restart the server by identity - -## PARAMETERS - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity -Parameter Sets: RestartViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Restart -Aliases: ServerName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PassThru -Returns true when the command succeeds - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Restart -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: Restart -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity - -## OUTPUTS - -### System.Boolean - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[KeyName ]`: The name of the server key. - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/MySql/docs/Restart-AzMySqlServer.md b/src/MySql/docs/Restart-AzMySqlServer.md deleted file mode 100644 index b5f309d4a9bc..000000000000 --- a/src/MySql/docs/Restart-AzMySqlServer.md +++ /dev/null @@ -1,238 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/restart-azmysqlserver -schema: 2.0.0 ---- - -# Restart-AzMySqlServer - -## SYNOPSIS -Restarts a server. - -## SYNTAX - -### Restart (Default) -``` -Restart-AzMySqlServer -Name -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -### RestartViaIdentity -``` -Restart-AzMySqlServer -InputObject [-DefaultProfile ] [-AsJob] [-NoWait] - [-PassThru] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Restarts a server. - -## EXAMPLES - -### Example 1: Restart MySql server by resource group and server name -```powershell -PS C:\> Restart-AzMySqlServer -ResourceGroupName PowershellMySqlTest -Name mysql-test - -``` - -This cmdlet restarts MySql server by resource group and server name. - -### Example 2: Restart MySql server by identity -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/restart" -PS C:\> Restart-AzMySqlServer -InputObject $ID - -``` - -These cmdlets restart MySql server by identity. - -## PARAMETERS - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity -Parameter Sets: RestartViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Restart -Aliases: ServerName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PassThru -Returns true when the command succeeds - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Restart -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: Restart -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity - -## OUTPUTS - -### System.Boolean - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[KeyName ]`: The name of the server key. - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/MySql/docs/Restore-AzMySqlFlexibleServer.md b/src/MySql/docs/Restore-AzMySqlFlexibleServer.md deleted file mode 100644 index b9b725c632f5..000000000000 --- a/src/MySql/docs/Restore-AzMySqlFlexibleServer.md +++ /dev/null @@ -1,258 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/restore-azmysqlflexibleserver -schema: 2.0.0 ---- - -# Restore-AzMySqlFlexibleServer - -## SYNOPSIS -Restore a server from an existing backup - -## SYNTAX - -``` -Restore-AzMySqlFlexibleServer -Name -ResourceGroupName -InputObject - -RestorePointInTime [-SubscriptionId ] [-Sku ] [-DefaultProfile ] - [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Restore a server from an existing backup - -## EXAMPLES - -### Example 1: Restore MySql server using PointInTime Restore -```powershell -PS C:\> $restorePointInTime = (Get-Date).AddMinutes(-10) -PS C:\> Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test | Restore-AzMySqlFlexibleServer -Name mysql-test-restore -ResourceGroupName PowershellMySqlTest -RestorePointInTime $restorePointInTime - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ------- ------- -mysql-test-restore eastus mysql_test 5.7 10240 Standard_D2ds_v4 GeneralPurpose -``` - -These cmdlets restore MySql server using PointInTime Restore. - -## PARAMETERS - -### -AsJob -Run the command as a job. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -The source server object to restore from. -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: ServerName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RestorePointInTime -The location the resource resides in. - -```yaml -Type: System.DateTime -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Sku -The name of the sku, e.g., Standard_D2ds_v4, Standard_B1ms - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The subscription ID that identifies an Azure subscription. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : The source server object to restore from. - - `Location `: The geo-location where the resource lives - - `SkuName `: The name of the sku, e.g. Standard_D32s_v3. - - `SkuTier `: The tier of the particular SKU, e.g. GeneralPurpose. - - `[Tag ]`: Resource tags. - - `[(Any) ]`: This indicates any property can be added to this object. - - `[AdministratorLogin ]`: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). - - `[AdministratorLoginPassword ]`: The password of the administrator login (required for server creation). - - `[AvailabilityZone ]`: availability Zone information of the server. - - `[CreateMode ]`: The mode to create a new MySQL server. - - `[DelegatedSubnetArgumentSubnetArmResourceId ]`: delegated subnet arm resource id. - - `[HaEnabled ]`: Enable HA or not for a server. - - `[IdentityType ]`: The identity type. - - `[InfrastructureEncryption ]`: Status showing whether the server enabled infrastructure encryption. - - `[MaintenanceWindowCustomWindow ]`: indicates whether custom window is enabled or disabled - - `[MaintenanceWindowDayOfWeek ]`: day of week for maintenance window - - `[MaintenanceWindowStartHour ]`: start hour for maintenance window - - `[MaintenanceWindowStartMinute ]`: start minute for maintenance window - - `[PropertiesTag ]`: Application-specific metadata in the form of key-value pairs. - - `[(Any) ]`: This indicates any property can be added to this object. - - `[ReplicationRole ]`: The replication role. - - `[RestorePointInTime ]`: Restore point creation time (ISO8601 format), specifying the time to restore from. - - `[SourceServerId ]`: The source MySQL server id. - - `[SslEnforcement ]`: Enable ssl enforcement or not when connect to server. - - `[StorageProfileBackupRetentionDay ]`: Backup retention days for the server. - - `[StorageProfileStorageAutogrow ]`: Enable Storage Auto Grow. - - `[StorageProfileStorageIop ]`: Storage IOPS for a server. - - `[StorageProfileStorageMb ]`: Max storage allowed for a server. - - `[Version ]`: Server version. - -## RELATED LINKS - diff --git a/src/MySql/docs/Restore-AzMySqlServer.md b/src/MySql/docs/Restore-AzMySqlServer.md deleted file mode 100644 index c58cb2f77b2b..000000000000 --- a/src/MySql/docs/Restore-AzMySqlServer.md +++ /dev/null @@ -1,336 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/restore-azmysqlserver -schema: 2.0.0 ---- - -# Restore-AzMySqlServer - -## SYNOPSIS -Restore a server from an existing backup - -## SYNTAX - -### GeoRestore (Default) -``` -Restore-AzMySqlServer -Name -ResourceGroupName -InputObject -UseGeoRestore - [-SubscriptionId ] [-Location ] [-Sku ] [-Tag ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] -``` - -### PointInTimeRestore -``` -Restore-AzMySqlServer -Name -ResourceGroupName -InputObject - -RestorePointInTime -UsePointInTimeRestore [-SubscriptionId ] [-Location ] - [-Sku ] [-Tag ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] - [] -``` - -## DESCRIPTION -Restore a server from an existing backup - -## EXAMPLES - -### Example 1: Restore MySql server using GeoReplica Restore -```powershell -PS C:\> Get-AzMySqlServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test-replica | Restore-AzMySqlServer -Name mysql-test -ResourceGroupName PowershellMySqlTest -UseGeoRestore - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement ----- -------- ------------------ ------- ----------------------- ------- ------- -------------- -mysql-test-11 eastus mysql_test 5.7 10240 GP_Gen5_4 GeneralPurpose Disabled -``` - -This cmdlet restores MySql server using GeoReplica Restore. - -### Example 2: Restore MySql server using PointInTime Restore -```powershell -PS C:\> $restorePointInTime = (Get-Date).AddMinutes(-10) -PS C:\> Get-AzMySqlServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test | Restore-AzMySqlServer -Name mysql-test-restore -ResourceGroupName PowershellMySqlTest -RestorePointInTime $restorePointInTime -UsePointInTimeRestore - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement ----- -------- ------------------ ------- ----------------------- ------- ------- -------------- -mysql-test-restore eastus mysql_test 5.7 10240 GP_Gen5_4 GeneralPurpose Disabled -``` - -These cmdlets restore MySql server using PointInTime Restore. - -## PARAMETERS - -### -AsJob -Run the command as a job. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -The source server object to restore from. -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Location -The location the resource resides in. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Name -The name of the server. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: ServerName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RestorePointInTime -The location the resource resides in. - -```yaml -Type: System.DateTime -Parameter Sets: PointInTimeRestore -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Sku -The name of the sku, typically, tier + family + cores, e.g. -B_Gen4_1, GP_Gen5_8. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The subscription ID that identifies an Azure subscription. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Tag -Application-specific metadata in the form of key-value pairs. - -```yaml -Type: System.Collections.Hashtable -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -UseGeoRestore -Use Geo mode to restore - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: GeoRestore -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -UsePointInTimeRestore -Use PointInTime mode to restore - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: PointInTimeRestore -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : The source server object to restore from. - - `Location `: The geo-location where the resource lives - - `SkuName `: The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. - - `[Tag ]`: Resource tags. - - `[(Any) ]`: This indicates any property can be added to this object. - - `[AdministratorLogin ]`: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). - - `[EarliestRestoreDate ]`: Earliest restore point creation time (ISO8601 format) - - `[FullyQualifiedDomainName ]`: The fully qualified domain name of a server. - - `[IdentityType ]`: The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. - - `[InfrastructureEncryption ]`: Status showing whether the server enabled infrastructure encryption. - - `[MasterServerId ]`: The master server id of a replica server. - - `[MinimalTlsVersion ]`: Enforce a minimal Tls version for the server. - - `[PublicNetworkAccess ]`: Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' - - `[ReplicaCapacity ]`: The maximum number of replicas that a master server can have. - - `[ReplicationRole ]`: The replication role of the server. - - `[SkuCapacity ]`: The scale up/out capacity, representing server's compute units. - - `[SkuFamily ]`: The family of hardware. - - `[SkuSize ]`: The size code, to be interpreted by resource as appropriate. - - `[SkuTier ]`: The tier of the particular SKU, e.g. Basic. - - `[SslEnforcement ]`: Enable ssl enforcement or not when connect to server. - - `[StorageProfileBackupRetentionDay ]`: Backup retention days for the server. - - `[StorageProfileGeoRedundantBackup ]`: Enable Geo-redundant or not for server backup. - - `[StorageProfileStorageAutogrow ]`: Enable Storage Auto Grow. - - `[StorageProfileStorageMb ]`: Max storage allowed for a server. - - `[UserVisibleState ]`: A state of a server that is visible to user. - - `[Version ]`: Server version. - -## RELATED LINKS - diff --git a/src/MySql/docs/Start-AzMySqlFlexibleServer.md b/src/MySql/docs/Start-AzMySqlFlexibleServer.md deleted file mode 100644 index ee410c0c1342..000000000000 --- a/src/MySql/docs/Start-AzMySqlFlexibleServer.md +++ /dev/null @@ -1,236 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/start-azmysqlflexibleserver -schema: 2.0.0 ---- - -# Start-AzMySqlFlexibleServer - -## SYNOPSIS -Starts a server. - -## SYNTAX - -### Start (Default) -``` -Start-AzMySqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -### StartViaIdentity -``` -Start-AzMySqlFlexibleServer -InputObject [-DefaultProfile ] [-AsJob] [-NoWait] - [-PassThru] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Starts a server. - -## EXAMPLES - -### Example 1: Start the server by resource name -```powershell -PS C:\> Start-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Name mysql-test -``` - -Start the server by name - -### Example 2: Start the server by identity -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test/start" -PS C:\> Start-AzMySqlFlexibleServer -InputObject $ID -``` - -Start the server by identity - -## PARAMETERS - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity -Parameter Sets: StartViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Start -Aliases: ServerName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PassThru -Returns true when the command succeeds - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Start -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: Start -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity - -## OUTPUTS - -### System.Boolean - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[KeyName ]`: The name of the server key. - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/MySql/docs/Stop-AzMySqlFlexibleServer.md b/src/MySql/docs/Stop-AzMySqlFlexibleServer.md deleted file mode 100644 index 3eb9f0132843..000000000000 --- a/src/MySql/docs/Stop-AzMySqlFlexibleServer.md +++ /dev/null @@ -1,236 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/stop-azmysqlflexibleserver -schema: 2.0.0 ---- - -# Stop-AzMySqlFlexibleServer - -## SYNOPSIS -Stops a server. - -## SYNTAX - -### Stop (Default) -``` -Stop-AzMySqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -### StopViaIdentity -``` -Stop-AzMySqlFlexibleServer -InputObject [-DefaultProfile ] [-AsJob] [-NoWait] - [-PassThru] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Stops a server. - -## EXAMPLES - -### Example 1: Stop the server by resource name -```powershell -PS C:\> Stop-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Name mysql-test -``` - -Stop the server by name - -### Example 2: Stop the server by identity -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test/stop" -PS C:\> Stop-AzMySqlFlexibleServer -InputObject $ID -``` - -Stop the server by identity - -## PARAMETERS - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity -Parameter Sets: StopViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Stop -Aliases: ServerName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PassThru -Returns true when the command succeeds - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Stop -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: Stop -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity - -## OUTPUTS - -### System.Boolean - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[KeyName ]`: The name of the server key. - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/MySql/docs/Update-AzMySqlConfiguration.md b/src/MySql/docs/Update-AzMySqlConfiguration.md deleted file mode 100644 index 7203046c366a..000000000000 --- a/src/MySql/docs/Update-AzMySqlConfiguration.md +++ /dev/null @@ -1,277 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/update-azmysqlconfiguration -schema: 2.0.0 ---- - -# Update-AzMySqlConfiguration - -## SYNOPSIS -Updates a configuration of a server. -Use Update-AzMySqlServer instead if you want update AdministratorLoginPassword, sku, etc. - -## SYNTAX - -### UpdateExpanded (Default) -``` -Update-AzMySqlConfiguration -Name -ResourceGroupName -ServerName - [-SubscriptionId ] [-Source ] [-Value ] [-DefaultProfile ] [-AsJob] - [-NoWait] [-Confirm] [-WhatIf] [] -``` - -### UpdateViaIdentityExpanded -``` -Update-AzMySqlConfiguration -InputObject [-Source ] [-Value ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Updates a configuration of a server. -Use Update-AzMySqlServer instead if you want update AdministratorLoginPassword, sku, etc. - -## EXAMPLES - -### Example 1: Update MySql configuration by name -```powershell -PS C:\> Update-AzMySqlConfiguration -Name net_retry_count -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -Value 15 - -Name Value ----- ----- -net_retry_count 15 -``` - -This cmdlet updates MySql configuration by name. - -### Example 2: Update MySql configuration by identity. -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/configurations/wait_timeout" -PS C:\> Update-AzMySqlConfiguration -InputObject $ID -Value 150 - -Name Value ----- ----- -wait_timeout 150 -``` - -These cmdlets update MySql configuration by identity. - -## PARAMETERS - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter. -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity -Parameter Sets: UpdateViaIdentityExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server configuration. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded -Aliases: ConfigurationName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Source -Source of the configuration. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Value -Value of the configuration. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IConfiguration - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter. - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[KeyName ]`: The name of the server key. - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/MySql/docs/Update-AzMySqlFirewallRule.md b/src/MySql/docs/Update-AzMySqlFirewallRule.md deleted file mode 100644 index d26c38c6f3a5..000000000000 --- a/src/MySql/docs/Update-AzMySqlFirewallRule.md +++ /dev/null @@ -1,318 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/update-azmysqlfirewallrule -schema: 2.0.0 ---- - -# Update-AzMySqlFirewallRule - -## SYNOPSIS -Creates a new firewall rule or updates an existing firewall rule. - -## SYNTAX - -### UpdateExpanded (Default) -``` -Update-AzMySqlFirewallRule -Name -ResourceGroupName -ServerName - -EndIPAddress -StartIPAddress [-SubscriptionId ] [-DefaultProfile ] - [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] -``` - -### ClientIPAddress -``` -Update-AzMySqlFirewallRule -Name -ResourceGroupName -ServerName - -ClientIPAddress [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] - [-Confirm] [-WhatIf] [] -``` - -### ClientIPAddressViaIdentity -``` -Update-AzMySqlFirewallRule -InputObject -ClientIPAddress - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] -``` - -### UpdateViaIdentityExpanded -``` -Update-AzMySqlFirewallRule -InputObject -EndIPAddress -StartIPAddress - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Creates a new firewall rule or updates an existing firewall rule. - -## EXAMPLES - -### Example 1: Update MySql Firewall Rule by name -```powershell -PS C:\> Update-AzMySqlFirewallRule -Name rule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 - -Name StartIPAddress EndIPAddress ----- -------------- ------------ -rule 0.0.0.2 0.0.0.3 -``` - -This cmdlet updates MySql Firewall Rule by name. - -### Example 2: Update MySql Firewall Rule by identity. -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/firewallRules/rule" -PS C:\> Update-AzMySqlFirewallRule -InputObject $ID -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 - -Name StartIPAddress EndIPAddress ----- -------------- ------------ -rule 0.0.0.2 0.0.0.3 -``` - -These cmdlets update MySql Firewall Rule by identity. - -### Example 3: Update MySql Firewall Rule by -ClientIPAddress. -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/firewallRules/rule" -PS C:\> Update-AzMySqlFirewallRule -InputObject $ID --ClientIPAddress 0.0.0.2 - -Name StartIPAddress EndIPAddress ----- -------------- ------------ -rule 0.0.0.2 0.0.0.2 -``` - -These cmdlets update MySql Firewall Rule by -ClientIPAddress. - -## PARAMETERS - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ClientIPAddress -Client specified single IP of the server firewall rule. -Must be IPv4 format. - -```yaml -Type: System.String -Parameter Sets: ClientIPAddress, ClientIPAddressViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -EndIPAddress -The end IP address of the server firewall rule. -Must be IPv4 format. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity -Parameter Sets: ClientIPAddressViaIdentity, UpdateViaIdentityExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server firewall rule. - -```yaml -Type: System.String -Parameter Sets: ClientIPAddress, UpdateExpanded -Aliases: FirewallRuleName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: ClientIPAddress, UpdateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: ClientIPAddress, UpdateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -StartIPAddress -The start IP address of the server firewall rule. -Must be IPv4 format. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: ClientIPAddress, UpdateExpanded -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[KeyName ]`: The name of the server key. - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/MySql/docs/Update-AzMySqlFlexibleServer.md b/src/MySql/docs/Update-AzMySqlFlexibleServer.md deleted file mode 100644 index 51bf6ee760e4..000000000000 --- a/src/MySql/docs/Update-AzMySqlFlexibleServer.md +++ /dev/null @@ -1,391 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/update-azmysqlflexibleserver -schema: 2.0.0 ---- - -# Update-AzMySqlFlexibleServer - -## SYNOPSIS -Updates an existing server. -The request body can contain one to many of the properties present in the normal server definition. -Use Update-AzMySqlConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count. - -## SYNTAX - -### UpdateExpanded (Default) -``` -Update-AzMySqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] - [-AdministratorLoginPassword ] [-BackupRetentionDay ] [-HaEnabled ] - [-ReplicationRole ] [-Sku ] [-SkuTier ] [-SslEnforcement ] - [-StorageAutogrow ] [-StorageInMb ] [-Tag ] [-DefaultProfile ] - [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] -``` - -### UpdateViaIdentityExpanded -``` -Update-AzMySqlFlexibleServer -InputObject [-AdministratorLoginPassword ] - [-BackupRetentionDay ] [-HaEnabled ] [-ReplicationRole ] [-Sku ] - [-SkuTier ] [-SslEnforcement ] [-StorageAutogrow ] - [-StorageInMb ] [-Tag ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] - [-WhatIf] [] -``` - -## DESCRIPTION -Updates an existing server. -The request body can contain one to many of the properties present in the normal server definition. -Use Update-AzMySqlConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count. - -## EXAMPLES - -### Example 1: Update MySql server by resource group and server name -```powershell -PS C:\> Update-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Name mysql-test -Sku Standard_D4ds_v4 - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ---------------- ------------- -mysql-test-11 eastus mysql_test 5.7 5120 Standard_D4ds_v4 GeneralPurpose -``` - -This cmdlet updates MySql server by resource group and server name. - -### Example 2: Update MySql server by identity. -```powershell -PS C:\> Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test | Update-AzMySqlFlexibleServer -BackupRetentionDay 23 -StorageMb 10240 - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ---------------- ------------- -mysql-test-11 eastus mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose -``` - -This cmdlet updates MySql server by identity. - -## PARAMETERS - -### -AdministratorLoginPassword -The password of the administrator login. - -```yaml -Type: System.Security.SecureString -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -AsJob -Run the command as a job. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -BackupRetentionDay -Backup retention days for the server. -Day count is between 7 and 35. - -```yaml -Type: System.Int32 -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -HaEnabled -Enable or disable high availability feature. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.HaEnabledEnum -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter. -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity -Parameter Sets: UpdateViaIdentityExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded -Aliases: ServerName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ReplicationRole -The replication role of the server. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group that contains the resource. -You can obtain this value from the Azure Resource Manager API or the portal. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Sku -The name of the sku, typically, tier + family + cores, e.g. -B_Gen4_1, GP_Gen5_8. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SkuTier -The tier of the particular SKU, e.g. -Basic. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SslEnforcement -Enable ssl enforcement or not when connect to server. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SslEnforcementEnum -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -StorageAutogrow -Enable Storage Auto Grow. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -StorageInMb -Max storage allowed for a server. - -```yaml -Type: System.Int32 -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The subscription ID that identifies an Azure subscription. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Tag -Application-specific metadata in the form of key-value pairs. - -```yaml -Type: System.Collections.Hashtable -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter. - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[KeyName ]`: The name of the server key. - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/MySql/docs/Update-AzMySqlFlexibleServerConfiguration.md b/src/MySql/docs/Update-AzMySqlFlexibleServerConfiguration.md deleted file mode 100644 index 1fd0fc67cf21..000000000000 --- a/src/MySql/docs/Update-AzMySqlFlexibleServerConfiguration.md +++ /dev/null @@ -1,309 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/update-azmysqlflexibleserverconfiguration -schema: 2.0.0 ---- - -# Update-AzMySqlFlexibleServerConfiguration - -## SYNOPSIS - - -## SYNTAX - -### UpdateExpanded (Default) -``` -Update-AzMySqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName - [-SubscriptionId ] [-Source ] [-Value ] [-DefaultProfile ] [-AsJob] - [-NoWait] [-Confirm] [-WhatIf] [] -``` - -### Update -``` -Update-AzMySqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName - -Parameter [-SubscriptionId ] [-Source ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] -``` - -### UpdateViaIdentity -``` -Update-AzMySqlFlexibleServerConfiguration -InputObject - -Parameter [-Source ] [-DefaultProfile ] [-AsJob] [-NoWait] - [-Confirm] [-WhatIf] [] -``` - -### UpdateViaIdentityExpanded -``` -Update-AzMySqlFlexibleServerConfiguration -InputObject [-Source ] [-Value ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION - - -## EXAMPLES - -### Example 1: Update MySql configuration by name -```powershell -PS C:\> Update-AzMySqlFlexibleServer -Name net_retry_count -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -Value 15 - -Name Value DefaultValue Source AllowedValues DataType ----- ------ ------------ ------- ------------- --------- -net_retry_count 15 10 user-override 1-4294967295 Integer -``` - -This cmdlet updates MySql configuration by name. - -### Example 2: Update MySql configuration by identity. -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/configurations/wait_timeout" -PS C:\> Update-AzMySqlFlexibleServer -InputObject $ID -Value 150 - -Name Value DefaultValue Source AllowedValues DataType ----- ------ ------------ ------- ------------- --------- -wait_timeout 150 28800 system-default 1-31536000 Integer -``` - -These cmdlets update MySql configuration by identity. - -## PARAMETERS - -### -AsJob - - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile - - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity -Parameter Sets: UpdateViaIdentity, UpdateViaIdentityExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name - - -```yaml -Type: System.String -Parameter Sets: Update, UpdateExpanded -Aliases: ConfigurationName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait - - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Parameter -To construct, see NOTES section for PARAMETER properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IConfigurationAutoGenerated -Parameter Sets: Update, UpdateViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -ResourceGroupName - - -```yaml -Type: System.String -Parameter Sets: Update, UpdateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName - - -```yaml -Type: System.String -Parameter Sets: Update, UpdateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Source -The source of the updating value. -The default value is user-override - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId - - -```yaml -Type: System.String -Parameter Sets: Update, UpdateExpanded -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Value - - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IConfigurationAutoGenerated - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IConfigurationAutoGenerated - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[KeyName ]`: The name of the server key. - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -PARAMETER : - - `[Source ]`: Source of the configuration. - - `[Value ]`: Value of the configuration. - -## RELATED LINKS - diff --git a/src/MySql/docs/Update-AzMySqlFlexibleServerDatabase.md b/src/MySql/docs/Update-AzMySqlFlexibleServerDatabase.md deleted file mode 100644 index 42aef88488c8..000000000000 --- a/src/MySql/docs/Update-AzMySqlFlexibleServerDatabase.md +++ /dev/null @@ -1,275 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/update-azmysqlflexibleserverdatabase -schema: 2.0.0 ---- - -# Update-AzMySqlFlexibleServerDatabase - -## SYNOPSIS -Creates a new database or updates an existing database. - -## SYNTAX - -### UpdateExpanded (Default) -``` -Update-AzMySqlFlexibleServerDatabase -Name -ResourceGroupName -ServerName - [-SubscriptionId ] [-Charset ] [-Collation ] [-DefaultProfile ] [-AsJob] - [-NoWait] [-Confirm] [-WhatIf] [] -``` - -### UpdateViaIdentityExpanded -``` -Update-AzMySqlFlexibleServerDatabase -InputObject [-Charset ] [-Collation ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Creates a new database or updates an existing database. - -## EXAMPLES - -### Example 1: Create a new MySql server database -```powershell -PS C:\> Update-AzMySqlFlexibleServerDatabase -Name database-test -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -Charset utf8 - -Name Charset Collation ----- -------- ------------------ -databasetest utf8 latin1_swedish_ci -``` - -Update a database by resource name. - -### Example 2: Update MySql database by parameter. -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/servers/mysql-test/databases/databasetest" -PS C:\> Update-AzMySqlFlexibleServerDatabase -Parameter $ID -Charset utf8 - -Name Charset Collation ----- -------- ------------------ -databasetest utf8 latin1_swedish_ci -``` - -Update a database by parameter - -## PARAMETERS - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Charset -The charset of the database. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Collation -The collation of the database. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity -Parameter Sets: UpdateViaIdentityExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the database. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded -Aliases: DatabaseName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IDatabase - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[KeyName ]`: The name of the server key. - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/MySql/docs/Update-AzMySqlFlexibleServerFirewallRule.md b/src/MySql/docs/Update-AzMySqlFlexibleServerFirewallRule.md deleted file mode 100644 index 25f340cce244..000000000000 --- a/src/MySql/docs/Update-AzMySqlFlexibleServerFirewallRule.md +++ /dev/null @@ -1,307 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/update-azmysqlflexibleserverfirewallrule -schema: 2.0.0 ---- - -# Update-AzMySqlFlexibleServerFirewallRule - -## SYNOPSIS -Creates a new firewall rule or updates an existing firewall rule. - -## SYNTAX - -### UpdateExpanded (Default) -``` -Update-AzMySqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName - -EndIPAddress -StartIPAddress [-SubscriptionId ] [-DefaultProfile ] - [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] -``` - -### ClientIPAddress -``` -Update-AzMySqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName - -ClientIPAddress [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] - [-Confirm] [-WhatIf] [] -``` - -### ClientIPAddressViaIdentity -``` -Update-AzMySqlFlexibleServerFirewallRule -InputObject -ClientIPAddress - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] -``` - -### UpdateViaIdentityExpanded -``` -Update-AzMySqlFlexibleServerFirewallRule -InputObject -EndIPAddress - -StartIPAddress [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] - [] -``` - -## DESCRIPTION -Creates a new firewall rule or updates an existing firewall rule. - -## EXAMPLES - -### Example 1: Update MySql Firewall Rule by name -```powershell -PS C:\> Update-AzMySqlFlexibleServerFirewallRule -Name rule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 - -Name StartIPAddress EndIPAddress ----- -------------- ------------ -rule 0.0.0.2 0.0.0.3 -``` - -This cmdlet updates MySql Firewall Rule by name. - -### Example 2: Update MySql Firewall Rule by identity. -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test/firewallRules/rule" -PS C:\> Update-AzMySqlFlexibleServerFirewallRule -InputObject $ID -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 - -Name StartIPAddress EndIPAddress ----- -------------- ------------ -rule 0.0.0.2 0.0.0.3 -``` - -These cmdlets update MySql Firewall Rule by identity. - -## PARAMETERS - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ClientIPAddress -Client specified single IP of the server firewall rule. -Must be IPv4 format. - -```yaml -Type: System.String -Parameter Sets: ClientIPAddress, ClientIPAddressViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -EndIPAddress -The end IP address of the server firewall rule. -Must be IPv4 format. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity -Parameter Sets: ClientIPAddressViaIdentity, UpdateViaIdentityExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server firewall rule. - -```yaml -Type: System.String -Parameter Sets: ClientIPAddress, UpdateExpanded -Aliases: FirewallRuleName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: ClientIPAddress, UpdateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: ClientIPAddress, UpdateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -StartIPAddress -The start IP address of the server firewall rule. -Must be IPv4 format. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: ClientIPAddress, UpdateExpanded -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[KeyName ]`: The name of the server key. - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/MySql/docs/Update-AzMySqlServer.md b/src/MySql/docs/Update-AzMySqlServer.md deleted file mode 100644 index c430adbd3387..000000000000 --- a/src/MySql/docs/Update-AzMySqlServer.md +++ /dev/null @@ -1,406 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/update-azmysqlserver -schema: 2.0.0 ---- - -# Update-AzMySqlServer - -## SYNOPSIS -Updates an existing server. -The request body can contain one to many of the properties present in the normal server definition. -Use Update-AzMySqlConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count. - -## SYNTAX - -### UpdateExpanded (Default) -``` -Update-AzMySqlServer -Name -ResourceGroupName [-SubscriptionId ] - [-AdministratorLoginPassword ] [-BackupRetentionDay ] [-ReplicationRole ] - [-Sku ] [-SkuCapacity ] [-SkuFamily ] [-SkuTier ] - [-SslEnforcement ] [-StorageAutogrow ] [-StorageInMb ] - [-Tag ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] -``` - -### UpdateViaIdentityExpanded -``` -Update-AzMySqlServer -InputObject [-AdministratorLoginPassword ] - [-BackupRetentionDay ] [-ReplicationRole ] [-Sku ] [-SkuCapacity ] - [-SkuFamily ] [-SkuTier ] [-SslEnforcement ] - [-StorageAutogrow ] [-StorageInMb ] [-Tag ] [-DefaultProfile ] - [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Updates an existing server. -The request body can contain one to many of the properties present in the normal server definition. -Use Update-AzMySqlConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count. - -## EXAMPLES - -### Example 1: Update MySql server by resource group and server name -```powershell -PS C:\> Update-AzMySqlServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -SslEnforcement Disabled - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement ----- -------- ------------------ ------- ----------------------- ------- ------- -------------- -mysql-test eastus mysql_test 5.7 5120 GP_Gen5_4 GeneralPurpose Disabled -``` - -This cmdlet updates MySql server by resource group and server name. - -### Example 2: Update MySql server by identity. -```powershell -PS C:\> Get-AzMySqlServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test | Update-AzMySqlServer -BackupRetentionDay 23 -StorageMb 10240 - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement ----- -------- ------------------ ------- ----------------------- ------- ------- -------------- -mysql-test eastus mysql_test 5.7 10240 GP_Gen5_4 GeneralPurpose Disabled -``` - -This cmdlet updates MySql server by identity. - -## PARAMETERS - -### -AdministratorLoginPassword -The password of the administrator login. - -```yaml -Type: System.Security.SecureString -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -AsJob -Run the command as a job. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -BackupRetentionDay -Backup retention days for the server. -Day count is between 7 and 35. - -```yaml -Type: System.Int32 -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter. -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity -Parameter Sets: UpdateViaIdentityExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded -Aliases: ServerName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ReplicationRole -The replication role of the server. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group that contains the resource. -You can obtain this value from the Azure Resource Manager API or the portal. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Sku -The name of the sku, typically, tier + family + cores, e.g. -B_Gen4_1, GP_Gen5_8. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SkuCapacity -The scale up/out capacity, representing server's compute units. - -```yaml -Type: System.Int32 -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SkuFamily -The family of hardware. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SkuTier -The tier of the particular SKU, e.g. -Basic. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SslEnforcement -Enable ssl enforcement or not when connect to server. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SslEnforcementEnum -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -StorageAutogrow -Enable Storage Auto Grow. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -StorageInMb -Max storage allowed for a server. - -```yaml -Type: System.Int32 -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The subscription ID that identifies an Azure subscription. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Tag -Application-specific metadata in the form of key-value pairs. - -```yaml -Type: System.Collections.Hashtable -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter. - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[KeyName ]`: The name of the server key. - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/MySql/docs/Update-AzMySqlVirtualNetworkRule.md b/src/MySql/docs/Update-AzMySqlVirtualNetworkRule.md deleted file mode 100644 index 72812b741b8d..000000000000 --- a/src/MySql/docs/Update-AzMySqlVirtualNetworkRule.md +++ /dev/null @@ -1,293 +0,0 @@ ---- -external help file: -Module Name: Az.MySql -online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/update-azmysqlvirtualnetworkrule -schema: 2.0.0 ---- - -# Update-AzMySqlVirtualNetworkRule - -## SYNOPSIS -Creates or updates an existing virtual network rule. - -## SYNTAX - -### UpdateExpanded (Default) -``` -Update-AzMySqlVirtualNetworkRule -Name -ResourceGroupName -ServerName - -SubnetId [-SubscriptionId ] [-IgnoreMissingVnetServiceEndpoint] - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -### UpdateViaIdentityExpanded -``` -Update-AzMySqlVirtualNetworkRule -InputObject -SubnetId - [-IgnoreMissingVnetServiceEndpoint] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] - [-WhatIf] [] -``` - -## DESCRIPTION -Creates or updates an existing virtual network rule. - -## EXAMPLES - -### Example 1: Update MySql Virtual Network Rule by name -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet2" -PS C:\> Update-AzMySqlVirtualNetworkRule -Name $env.VNetName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -SubnetId $ID - -Name Type ----- ---- -vnet Microsoft.DBforMySQL/servers/virtualNetworkRules -``` - -This cmdlet updates MySql Virtual Network Rule by name. - -### Example 2: Update MySql Virtual Network Rule by identity. -```powershell -PS C:\> $SubnetID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1" -PS C:\> $VNetID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/virtualNetworkRules/vnet" -PS C:\> Update-AzMySqlVirtualNetworkRule -InputObject $VNetID -SubnetId $SubnetID - -Name Type ----- ---- -vnet Microsoft.DBforMySQL/servers/virtualNetworkRules -``` - -These cmdlets update MySql Virtual Network Rule by identity. - -## PARAMETERS - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -IgnoreMissingVnetServiceEndpoint -Create firewall rule before the virtual network has vnet service endpoint enabled. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity -Parameter Sets: UpdateViaIdentityExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the virtual network rule. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded -Aliases: VirtualNetworkRuleName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PassThru -Returns true when the command succeeds - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubnetId -The ARM resource id of the virtual network subnet. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IVirtualNetworkRule - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[KeyName ]`: The name of the server key. - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/MySql/examples/Get-AzMySqlFlexibleServer.md b/src/MySql/examples/Get-AzMySqlFlexibleServer.md index b2a58f894305..4c9f3a9ce3b7 100644 --- a/src/MySql/examples/Get-AzMySqlFlexibleServer.md +++ b/src/MySql/examples/Get-AzMySqlFlexibleServer.md @@ -4,7 +4,7 @@ PS C:\> Get-AzMySqlFlexibleServer Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ---- -------- ------------------ ------- ----------------------- ---------------- ------------- -mysql-test-11 eastus mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose +mysql-test-11 westus2 mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose ``` This cmdlet gets MySql servers with default context. @@ -15,7 +15,7 @@ PS C:\> Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Name m Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ---- -------- ------------------ ------- ----------------------- ---------------- ------------- -mysql-test-11 eastus mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose +mysql-test westus2 mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose ``` This cmdlet gets MySql servers by resource group and server name. @@ -26,20 +26,20 @@ PS C:\> Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ---- -------- ------------------ ------- ----------------------- ---------------- ------------- -mysql-test-11 eastus mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose -mysql-test-12 eastus mysql_test2 5.7 5120 Standard_D2ds_v4 GeneralPurpose +mysql-test-11 westus2 mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose +mysql-test-12 westus2 mysql_test2 5.7 5120 Standard_D2ds_v4 GeneralPurpose ``` This cmdlet lists all the MySql servers in the specified resource group. ### Example 4: Get MySql server by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test" PS C:\> Get-AzMySqlFlexibleServer -InputObject $ID Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ---- -------- ------------------ ------- ----------------------- ---------------- ------------- -mysql-test-11 eastus mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose +mysql-test westus2 mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose ``` This cmdlet lists gets MySql servers by identity. \ No newline at end of file diff --git a/src/MySql/examples/Get-AzMySqlFlexibleServerConfiguration.md b/src/MySql/examples/Get-AzMySqlFlexibleServerConfiguration.md index c25b48741760..51afc3e28fbd 100644 --- a/src/MySql/examples/Get-AzMySqlFlexibleServerConfiguration.md +++ b/src/MySql/examples/Get-AzMySqlFlexibleServerConfiguration.md @@ -24,7 +24,7 @@ This cmdlet gets specified MySql configuration by name. ### Example 3: List configuration by identity ```powershell -PS C:\> $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySql/flexibleServers/$($env.serverName)/configurations/wait_timeout" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/configurations/wait_timeout" Get-AzMySqlFlexibleServerConfiguration -Name wait_timeout -ResourceGroupName PowershellMySqlTest -ServerName mysql-test Name Value DefaultValue Source AllowedValues DataType @@ -32,4 +32,4 @@ Name Value DefaultValue Source AllowedValues DataType wait_timeout 28800 28800 system-default 1-31536000 Integer ``` -This cmdlet gets specified MySql configuration by identity. \ No newline at end of file +This cmdlet gets specified MySql configuration by identity. diff --git a/src/MySql/examples/Get-AzMySqlFlexibleServerReplica.md b/src/MySql/examples/Get-AzMySqlFlexibleServerReplica.md index bae0e94f6a37..de730fe897b0 100644 --- a/src/MySql/examples/Get-AzMySqlFlexibleServerReplica.md +++ b/src/MySql/examples/Get-AzMySqlFlexibleServerReplica.md @@ -4,7 +4,7 @@ PS C:\> Get-AzMySqlFlexibleServerReplica -ResourceGroupName PowershellMySqlTest Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ---- -------- ------------------ ------- ----------------------- ---------------- ------------- -mysql-test-11 eastus mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose +mysql-test westus2 mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose ``` This cmdlet gets MySql server replica by resource group and server name. diff --git a/src/MySql/examples/New-AzMySqlFlexibleServer.md b/src/MySql/examples/New-AzMySqlFlexibleServer.md index a11ade625037..65ce60f44ac2 100644 --- a/src/MySql/examples/New-AzMySqlFlexibleServer.md +++ b/src/MySql/examples/New-AzMySqlFlexibleServer.md @@ -1,68 +1,24 @@ -### Example 1: Create a new MySql flexible server with parameters +### Example 1: Create a new MySql flexible server ```powershell +PS C:\> $password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force PS C:\> New-AzMySqlFlexibleServer -Name mysql-test -ResourceGroupName PowershellMySqlTest \ --Location westus2 -AdministratorUserName mysql_test -AdministratorLoginPassword $password -Sku Standard_B1ms -SkuTier Burstable +-Location eastus -AdministratorUserName mysqltest -AdministratorLoginPassword $password -Sku Standard_B1ms -SkuTier Burstable -Version 12 -StorageInMb 10240 -Creating new vnet {vnetName} in resource group {resourceGroupName}... -Creating new subnet {subnetName} in resource group {resourceGroupName} and delegating it to "Microsoft.DBforMySQL/flexibleServers"... -Creating MySQL server {serverName} in group {resourceGroupName}... -Your server is using sku 'Standard_B1ms' (paid tier). Please refer to https://aka.ms/mysql-pricing for pricing details. -Creating MySQL database {dbname}... -"connectionString": "mysql {dbname} --host {host} --user {username} --password={password}", -"databaseName": "flexibleserverdb", -"host": "{servername}.mysql.database.azure.com", -"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}", -"location": "West US 2", -"version": "5.7", -"username": "{username}", -"password": "{password}", -"skuname": "Standard_B1ms" +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ------------ ------------- +mysql-test WestUS 2 mysqltest 5.7 10240 Standard_B1ms Burstable ``` -The cmdlet generates a server with the given parameters and output important information in a visible format. The server creation automatically generates vnet, subnet, and database in the resource group. -### Example 2: Create a new MySql flexible server without parameters +### Example 2: Create a new MySql flexible server with default setting ```powershell -PS C:\> New-AzMySqlFlexibleServer - -Creating Resource Group {resourceGroupName}... -Creating new vnet {vnetName} in resource group {resourceGroupName}... -Creating new subnet {subnetName} in resource group {resourceGroupName} and delegating it to "Microsoft.DBforMySQL/flexibleServers"... -Creating MySQL server {serverName} in group {resourceGroupName}... -Your server is using sku 'Standard_B1ms' (paid tier). Please refer to https://aka.ms/mysql-pricing for pricing details. -Creating MySQL database {dbname}... -"connectionString": "mysql {dbname} --host {host} --user {username} --password={password}", -"databaseName": "flexibleserverdb", -"host": "{servername}.mysql.database.azure.com", -"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}", -"location": "West US 2", -"version": "5.7", -"username": "{username}", -"password": "{password}", -"skuname": "Standard_B1ms" -``` - -When no parameters are given, the cmdlet automatically generates necessary resources such as resource group, vnet, and database. The SKU and storage profile are set to default values. - -### Example 3: Create a new MySql flexible server with public access to all IPs -```powershell -PS C:\> New-AzMySqlFlexibleServer -PublicAccess all +PS C:\> $password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force +PS C:\> New-AzMySqlFlexibleServer -Name mysql-test -ResourceGroupName PowershellMySqlTest \ +-AdministratorUserName mysqltest -AdministratorLoginPassword $password -Creating Resource Group {resourceGroupName}... -Configurint server firewall rule to accept connections from '0.0.0.0' to '255.255.255.255'... -Creating MySQL server {serverName} in group {resourceGroupName}... -Your server is using sku 'Standard_B1ms' (paid tier). Please refer to https://aka.ms/mysql-pricing for pricing details. -Creating MySQL database {dbname}... -"connectionString": "mysql {dbname} --host {host} --user {username} --password={password}", -"firewallName": "{firewallRuleName}", -"databaseName": "flexibleserverdb", -"host": "{serverName}.mysql.database.azure.com", -"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}", -"location": "West US 2", -"version": "5.7", -"username": "{username}", -"password": "{password}", -"skuname": "Standard_B1ms" +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ------------ ------------- +mysql-test West US 2 mysqltest 5.7 131072 Standard_B1ms Burstable ``` -The cmdlet generates a server without given parameters and automatically generates necessary resources such as resource group, subnet, and database. The SKU and storage profile are set to default values. +Create MySql server with default values. The default values of location is West US 2, Sku is Standard_B1ms, Sku tier is Burstable, and storage size is 10GiB. \ No newline at end of file diff --git a/src/MySql/examples/New-AzMySqlFlexibleServerReplica.md b/src/MySql/examples/New-AzMySqlFlexibleServerReplica.md index 1216995b4c24..4281d8020944 100644 --- a/src/MySql/examples/New-AzMySqlFlexibleServerReplica.md +++ b/src/MySql/examples/New-AzMySqlFlexibleServerReplica.md @@ -4,7 +4,7 @@ PS C:\> Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Server Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ---- -------- ------------------ ------- ----------------------- ------- ------- -mysql-test-replica eastus mysql_test 5.7 10240 Standard_B1ms Burstable +mysql-test-replica westus2 mysql_test 5.7 10240 Standard_B1ms Burstable ``` This cmdlet creates a new MySql server replica. @@ -16,7 +16,7 @@ PS C:\> New-AzMySqlFlexibleServerReplica -Master $mysql -Replica mysql-test-repl Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ---- -------- ------------------ ------- ----------------------- ------- ------- -mysql-test-replica eastus mysql_test 5.7 10240 Standard_B1ms Burstable +mysql-test-replica westus2 mysql_test 5.7 10240 Standard_B1ms Burstable ``` This cmdlet with parameter master(inputobject) creates a new MySql server replica. diff --git a/src/MySql/examples/Remove-AzMySqlFlexibleServer.md b/src/MySql/examples/Remove-AzMySqlFlexibleServer.md index 39150bcb1aeb..39cf4ec63fe1 100644 --- a/src/MySql/examples/Remove-AzMySqlFlexibleServer.md +++ b/src/MySql/examples/Remove-AzMySqlFlexibleServer.md @@ -8,7 +8,7 @@ This cmdlet removes MySql server by resourceGroup and server name. ### Example 2: Remove MySql server by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test" PS C:\> Remove-AzMySqlFlexibleServer -InputObject $ID ``` diff --git a/src/MySql/examples/Remove-AzMySqlFlexibleServerDatabase.md b/src/MySql/examples/Remove-AzMySqlFlexibleServerDatabase.md index db0a35d680fb..c6eb53bf92bf 100644 --- a/src/MySql/examples/Remove-AzMySqlFlexibleServerDatabase.md +++ b/src/MySql/examples/Remove-AzMySqlFlexibleServerDatabase.md @@ -7,7 +7,7 @@ This cmdlet removes MySql database by name. ### Example 2: Remove MySql database by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test/databases/databasetest" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/databases/databasetest" PS C:\> Remove-AzMySqlFlexibleServerDatabase -InputObject $ID ``` diff --git a/src/MySql/examples/Remove-AzMySqlFlexibleServerFirewallRule.md b/src/MySql/examples/Remove-AzMySqlFlexibleServerFirewallRule.md index 203f32361915..a97fc96a06e6 100644 --- a/src/MySql/examples/Remove-AzMySqlFlexibleServerFirewallRule.md +++ b/src/MySql/examples/Remove-AzMySqlFlexibleServerFirewallRule.md @@ -8,7 +8,7 @@ This cmdlet removes MySql Firewall Rule by name. ### Example 2: Remove MySql Firewall Rule by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test/firewallRules/firewall-rule-test" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/firewallRules/firewall-rule-test" PS C:\> Remove-AzMySqlFlexibleServerFirewallRule -InputObject $ID ``` diff --git a/src/MySql/examples/Restart-AzMySqlFlexibleServer.md b/src/MySql/examples/Restart-AzMySqlFlexibleServer.md index 5edf353079b6..57bb0888d464 100644 --- a/src/MySql/examples/Restart-AzMySqlFlexibleServer.md +++ b/src/MySql/examples/Restart-AzMySqlFlexibleServer.md @@ -7,7 +7,7 @@ Restart the server by name ### Example 2: Restart the server by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test/restart" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/restart" PS C:\> Restart-AzMySqlFlexibleServer -InputObject $ID ``` diff --git a/src/MySql/examples/Start-AzMySqlFlexibleServer.md b/src/MySql/examples/Start-AzMySqlFlexibleServer.md index 7aaf7582e5a4..5ec85c71688d 100644 --- a/src/MySql/examples/Start-AzMySqlFlexibleServer.md +++ b/src/MySql/examples/Start-AzMySqlFlexibleServer.md @@ -7,7 +7,7 @@ Start the server by name ### Example 2: Start the server by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test/start" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/start" PS C:\> Start-AzMySqlFlexibleServer -InputObject $ID ``` diff --git a/src/MySql/examples/Stop-AzMySqlFlexibleServer.md b/src/MySql/examples/Stop-AzMySqlFlexibleServer.md index dbf88001bf4d..81e1ea444a56 100644 --- a/src/MySql/examples/Stop-AzMySqlFlexibleServer.md +++ b/src/MySql/examples/Stop-AzMySqlFlexibleServer.md @@ -8,7 +8,7 @@ Stop the server by name ### Example 2: Stop the server by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test/stop" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/stop" PS C:\> Stop-AzMySqlFlexibleServer -InputObject $ID ``` diff --git a/src/MySql/examples/Update-AzMySqlFlexibleServer.md b/src/MySql/examples/Update-AzMySqlFlexibleServer.md index ffb38925301d..a54e60473588 100644 --- a/src/MySql/examples/Update-AzMySqlFlexibleServer.md +++ b/src/MySql/examples/Update-AzMySqlFlexibleServer.md @@ -4,18 +4,18 @@ PS C:\> Update-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Nam Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ---- -------- ------------------ ------- ----------------------- ---------------- ------------- -mysql-test-11 eastus mysql_test 5.7 5120 Standard_D4ds_v4 GeneralPurpose +mysql-test westus2 mysql_test 5.7 5120 Standard_D4ds_v4 GeneralPurpose ``` This cmdlet updates MySql server by resource group and server name. ### Example 2: Update MySql server by identity. ```powershell -PS C:\> Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test | Update-AzMySqlFlexibleServer -BackupRetentionDay 23 -StorageMb 10240 +PS C:\> Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test | Update-AzMySqlFlexibleServer -BackupRetentionDay 23 -StorageInMb 10240 Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ---- -------- ------------------ ------- ----------------------- ---------------- ------------- -mysql-test-11 eastus mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose +mysql-test westus2 mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose ``` This cmdlet updates MySql server by identity. diff --git a/src/MySql/examples/Update-AzMySqlFlexibleServerDatabase.md b/src/MySql/examples/Update-AzMySqlFlexibleServerDatabase.md index 623e96310a29..1f2b00bd390f 100644 --- a/src/MySql/examples/Update-AzMySqlFlexibleServerDatabase.md +++ b/src/MySql/examples/Update-AzMySqlFlexibleServerDatabase.md @@ -1,4 +1,4 @@ -### Example 1: Create a new MySql server database +### Example 1: Update a MySql server database by name ```powershell PS C:\> Update-AzMySqlFlexibleServerDatabase -Name database-test -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -Charset utf8 diff --git a/src/MySql/examples/Update-AzMySqlFlexibleServerFirewallRule.md b/src/MySql/examples/Update-AzMySqlFlexibleServerFirewallRule.md index a7cd8e26dfec..bcc06977d902 100644 --- a/src/MySql/examples/Update-AzMySqlFlexibleServerFirewallRule.md +++ b/src/MySql/examples/Update-AzMySqlFlexibleServerFirewallRule.md @@ -11,7 +11,7 @@ This cmdlet updates MySql Firewall Rule by name. ### Example 2: Update MySql Firewall Rule by identity. ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test/firewallRules/rule" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/firewallRules/rule" PS C:\> Update-AzMySqlFlexibleServerFirewallRule -InputObject $ID -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 Name StartIPAddress EndIPAddress diff --git a/src/PostgreSql/docs/Az.PostgreSql.md b/src/PostgreSql/docs/Az.PostgreSql.md deleted file mode 100644 index 844a8b784383..000000000000 --- a/src/PostgreSql/docs/Az.PostgreSql.md +++ /dev/null @@ -1,117 +0,0 @@ ---- -Module Name: Az.PostgreSql -Module Guid: 6d74eab8-e826-42a1-b6a1-342d3d3f4a6d -Download Help Link: https://docs.microsoft.com/en-us/powershell/module/az.postgresql -Help Version: 1.0.0.0 -Locale: en-US ---- - -# Az.PostgreSql Module -## Description -Microsoft Azure PowerShell: PostgreSql cmdlets - -## Az.PostgreSql Cmdlets -### [Get-AzPostgreSqlConfiguration](Get-AzPostgreSqlConfiguration.md) -Gets information about a configuration of server. - -### [Get-AzPostgreSqlConnectionString](Get-AzPostgreSqlConnectionString.md) -Get the connection string according to client connection provider. - -### [Get-AzPostgreSqlFirewallRule](Get-AzPostgreSqlFirewallRule.md) -Gets information about a server firewall rule. - -### [Get-AzPostgreSqlFlexibleServer](Get-AzPostgreSqlFlexibleServer.md) -Gets information about a server. - -### [Get-AzPostgreSqlFlexibleServerConfiguration](Get-AzPostgreSqlFlexibleServerConfiguration.md) -Gets information about a configuration of server. - -### [Get-AzPostgreSqlFlexibleServerFirewallRule](Get-AzPostgreSqlFlexibleServerFirewallRule.md) -List all the firewall rules in a given server. - -### [Get-AzPostgreSqlReplica](Get-AzPostgreSqlReplica.md) -List all the replicas for a given server. - -### [Get-AzPostgreSqlServer](Get-AzPostgreSqlServer.md) -Gets information about a server. - -### [Get-AzPostgreSqlVirtualNetworkRule](Get-AzPostgreSqlVirtualNetworkRule.md) -Gets a virtual network rule. - -### [New-AzPostgreSqlFirewallRule](New-AzPostgreSqlFirewallRule.md) -Creates a new firewall rule or updates an existing firewall rule. - -### [New-AzPostgreSqlFlexibleServer](New-AzPostgreSqlFlexibleServer.md) -Creates a new server. - -### [New-AzPostgreSqlFlexibleServerFirewallRule](New-AzPostgreSqlFlexibleServerFirewallRule.md) -Creates a new firewall rule or updates an existing firewall rule. - -### [New-AzPostgreSqlReplica](New-AzPostgreSqlReplica.md) -Creates a new replica from an existing database. - -### [New-AzPostgreSqlServer](New-AzPostgreSqlServer.md) -Creates a new server. - -### [New-AzPostgreSqlVirtualNetworkRule](New-AzPostgreSqlVirtualNetworkRule.md) -Creates or updates an existing virtual network rule. - -### [Remove-AzPostgreSqlFirewallRule](Remove-AzPostgreSqlFirewallRule.md) -Deletes a server firewall rule. - -### [Remove-AzPostgreSqlFlexibleServer](Remove-AzPostgreSqlFlexibleServer.md) -Deletes a server. - -### [Remove-AzPostgreSqlFlexibleServerFirewallRule](Remove-AzPostgreSqlFlexibleServerFirewallRule.md) -Deletes a PostgreSQL server firewall rule. - -### [Remove-AzPostgreSqlServer](Remove-AzPostgreSqlServer.md) -Deletes a server. - -### [Remove-AzPostgreSqlVirtualNetworkRule](Remove-AzPostgreSqlVirtualNetworkRule.md) -Deletes the virtual network rule with the given name. - -### [Restart-AzPostgreSqlFlexibleServer](Restart-AzPostgreSqlFlexibleServer.md) -Restarts a server. - -### [Restart-AzPostgreSqlServer](Restart-AzPostgreSqlServer.md) -Restarts a server. - -### [Restore-AzPostgreSqlFlexibleServer](Restore-AzPostgreSqlFlexibleServer.md) -Restore a server from an existing backup - -### [Restore-AzPostgreSqlServer](Restore-AzPostgreSqlServer.md) -Restore a server from an existing backup - -### [Start-AzPostgreSqlFlexibleServer](Start-AzPostgreSqlFlexibleServer.md) -Starts a server. - -### [Stop-AzPostgreSqlFlexibleServer](Stop-AzPostgreSqlFlexibleServer.md) -Stops a server. - -### [Update-AzPostgreSqlConfiguration](Update-AzPostgreSqlConfiguration.md) -Updates a configuration of a server. -Use Update-AzPostgreSqlServer instead if you want update AdministratorLoginPassword, sku, etc. - -### [Update-AzPostgreSqlFirewallRule](Update-AzPostgreSqlFirewallRule.md) -Creates a new firewall rule or updates an existing firewall rule. - -### [Update-AzPostgreSqlFlexibleServer](Update-AzPostgreSqlFlexibleServer.md) -Updates an existing server. -The request body can contain one to many of the properties present in the normal server definition. -Use Update-AzPostgreSqlConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count. - -### [Update-AzPostgreSqlFlexibleServerConfiguration](Update-AzPostgreSqlFlexibleServerConfiguration.md) - - -### [Update-AzPostgreSqlFlexibleServerFirewallRule](Update-AzPostgreSqlFlexibleServerFirewallRule.md) -Creates a new firewall rule or updates an existing firewall rule. - -### [Update-AzPostgreSqlServer](Update-AzPostgreSqlServer.md) -Updates an existing server. -The request body can contain one to many of the properties present in the normal server definition. -Use Update-AzPostSqlConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count. - -### [Update-AzPostgreSqlVirtualNetworkRule](Update-AzPostgreSqlVirtualNetworkRule.md) -Creates or updates an existing virtual network rule. - diff --git a/src/PostgreSql/docs/Get-AzPostgreSqlConfiguration.md b/src/PostgreSql/docs/Get-AzPostgreSqlConfiguration.md deleted file mode 100644 index e40f9620671b..000000000000 --- a/src/PostgreSql/docs/Get-AzPostgreSqlConfiguration.md +++ /dev/null @@ -1,197 +0,0 @@ ---- -external help file: -Module Name: Az.PostgreSql -online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/get-azpostgresqlconfiguration -schema: 2.0.0 ---- - -# Get-AzPostgreSqlConfiguration - -## SYNOPSIS -Gets information about a configuration of server. - -## SYNTAX - -### List (Default) -``` -Get-AzPostgreSqlConfiguration -ResourceGroupName -ServerName [-SubscriptionId ] - [-DefaultProfile ] [] -``` - -### Get -``` -Get-AzPostgreSqlConfiguration -Name -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [] -``` - -### GetViaIdentity -``` -Get-AzPostgreSqlConfiguration -InputObject [-DefaultProfile ] - [] -``` - -## DESCRIPTION -Gets information about a configuration of server. - -## EXAMPLES - -### Example 1: List all configurations in PostgreSql server -```powershell -PS C:\> Get-AzPostgreSqlConfiguration -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer - -Name Value ----- ----- -array_nulls on -backslash_quote safe_encoding -bytea_output hex -check_function_bodies on -client_encoding sql_ascii -... -azure.replication_support REPLICA -max_wal_senders 10 -max_replication_slots 10 -hot_standby_feedback off -logging_collector on -``` - -This cmdlet lists all configurations in specified PostgreSql server. - -### Example 2: Get specified PostgreSql configuration by name -```powershell -PS C:\> Get-AzPostgreSqlConfiguration -Name timezone -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer - -Name Value ----- ----- -timezone UTC -``` - -This cmdlet gets specified PostgreSql configuration by name. - -## PARAMETERS - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity -Parameter Sets: GetViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server configuration. - -```yaml -Type: System.String -Parameter Sets: Get -Aliases: ConfigurationName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Get, List -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Get, List -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String[] -Parameter Sets: Get, List -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IConfiguration - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/PostgreSql/docs/Get-AzPostgreSqlConnectionString.md b/src/PostgreSql/docs/Get-AzPostgreSqlConnectionString.md deleted file mode 100644 index b4111f50f648..000000000000 --- a/src/PostgreSql/docs/Get-AzPostgreSqlConnectionString.md +++ /dev/null @@ -1,191 +0,0 @@ ---- -external help file: -Module Name: Az.PostgreSql -online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/get-azpostgresqlconnectionstring -schema: 2.0.0 ---- - -# Get-AzPostgreSqlConnectionString - -## SYNOPSIS -Get the connection string according to client connection provider. - -## SYNTAX - -### Get (Default) -``` -Get-AzPostgreSqlConnectionString -Client -Name -ResourceGroupName - [-SubscriptionId ] [-DefaultProfile ] [] -``` - -### GetViaIdentity -``` -Get-AzPostgreSqlConnectionString -Client -InputObject [-DefaultProfile ] - [] -``` - -## DESCRIPTION -Get the connection string according to client connection provider. - -## EXAMPLES - -### Example 1: Get PostgreSql server connection string by resource group and server name -```powershell -PS C:\> Get-AzPostgreSqlConnectionString -Client ADO.NET -Name PostgreSqlTestServer -ResourceGroupName PostgreSqlTestRG - -Server=postgresqltestserver.postgres.database.azure.com;Database={your_database};Port=5432;User Id=pwsh@postgresqltestserver;Password={your_password};Ssl Mode=Require; -``` - -This cmdlet gets PostgreSql server connection string by resource group and server name. - -### Example 2: Get PostgreSql server connection string by identity -```powershell -PS C:\> Get-AzPostgreSqlServer -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer | Get-AzPostgreSqlConnectionString -Client PHP - -host=postgresqltestserver.postgres.database.azure.com port=5432 dbname={your_database} user=pwsh@postgresqltestserver password={your_password} sslmode=require -``` - -This cmdlet gets PostgreSql server connection string by identity. - -## PARAMETERS - -### -Client -Client connection provider. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -The source server object to create replica from. -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IServer -Parameter Sets: GetViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Get -Aliases: ServerName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal. - -```yaml -Type: System.String -Parameter Sets: Get -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The subscription ID that identifies an Azure subscription. - -```yaml -Type: System.String -Parameter Sets: Get -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IServer - -## OUTPUTS - -### System.String - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : The source server object to create replica from. - - `Location `: The geo-location where the resource lives - - `SkuName `: The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. - - `[Tag ]`: Resource tags. - - `[(Any) ]`: This indicates any property can be added to this object. - - `[AdministratorLogin ]`: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). - - `[EarliestRestoreDate ]`: Earliest restore point creation time (ISO8601 format) - - `[FullyQualifiedDomainName ]`: The fully qualified domain name of a server. - - `[IdentityType ]`: The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. - - `[InfrastructureEncryption ]`: Status showing whether the server enabled infrastructure encryption. - - `[MasterServerId ]`: The master server id of a replica server. - - `[MinimalTlsVersion ]`: Enforce a minimal Tls version for the server. - - `[PublicNetworkAccess ]`: Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' - - `[ReplicaCapacity ]`: The maximum number of replicas that a master server can have. - - `[ReplicationRole ]`: The replication role of the server. - - `[SkuCapacity ]`: The scale up/out capacity, representing server's compute units. - - `[SkuFamily ]`: The family of hardware. - - `[SkuSize ]`: The size code, to be interpreted by resource as appropriate. - - `[SkuTier ]`: The tier of the particular SKU, e.g. Basic. - - `[SslEnforcement ]`: Enable ssl enforcement or not when connect to server. - - `[StorageProfileBackupRetentionDay ]`: Backup retention days for the server. - - `[StorageProfileGeoRedundantBackup ]`: Enable Geo-redundant or not for server backup. - - `[StorageProfileStorageAutogrow ]`: Enable Storage Auto Grow. - - `[StorageProfileStorageMb ]`: Max storage allowed for a server. - - `[UserVisibleState ]`: A state of a server that is visible to user. - - `[Version ]`: Server version. - -## RELATED LINKS - diff --git a/src/PostgreSql/docs/Get-AzPostgreSqlFirewallRule.md b/src/PostgreSql/docs/Get-AzPostgreSqlFirewallRule.md deleted file mode 100644 index 264ac6f78019..000000000000 --- a/src/PostgreSql/docs/Get-AzPostgreSqlFirewallRule.md +++ /dev/null @@ -1,199 +0,0 @@ ---- -external help file: -Module Name: Az.PostgreSql -online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/get-azpostgresqlfirewallrule -schema: 2.0.0 ---- - -# Get-AzPostgreSqlFirewallRule - -## SYNOPSIS -Gets information about a server firewall rule. - -## SYNTAX - -### List (Default) -``` -Get-AzPostgreSqlFirewallRule -ResourceGroupName -ServerName [-SubscriptionId ] - [-DefaultProfile ] [] -``` - -### Get -``` -Get-AzPostgreSqlFirewallRule -Name -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [] -``` - -### GetViaIdentity -``` -Get-AzPostgreSqlFirewallRule -InputObject [-DefaultProfile ] - [] -``` - -## DESCRIPTION -Gets information about a server firewall rule. - -## EXAMPLES - -### Example 1: Lists all the Firewall Rules in specified PostgreSql server -```powershell -PS C:\> Get-AzPostgreSqlFirewallRule -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer - -Name StartIPAddress EndIPAddress ----- -------------- ------------ -rule 0.0.0.0 0.0.0.1 -``` - -This cmdlet lists all the Firewall Rule in specified PostgreSql server. - -### Example 2: Get Firewall Rule by name -```powershell -PS C:\> Get-AzPostgreSqlFirewallRule -Name rule -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer - -Name StartIPAddress EndIPAddress ----- -------------- ------------ -rule 0.0.0.0 0.0.0.1 -``` - -This cmdlet gets Firewall Rule by name. - -### Example 3: Get Firewall Rule by identity -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.DBforPostgreSQL/servers/PostgreSqlTestServer/firewallRules/rule" -PS C:\> Get-AzPostgreSqlFirewallRule -InputObject $ID - -Name StartIPAddress EndIPAddress ----- -------------- ------------ -rule 0.0.0.0 0.0.0.1 -``` - -This cmdlet gets Firewall Rule by identity. - -## PARAMETERS - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity -Parameter Sets: GetViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server firewall rule. - -```yaml -Type: System.String -Parameter Sets: Get -Aliases: FirewallRuleName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Get, List -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Get, List -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String[] -Parameter Sets: Get, List -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IFirewallRule - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServer.md deleted file mode 100644 index 4eb5b76ffcf0..000000000000 --- a/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServer.md +++ /dev/null @@ -1,201 +0,0 @@ ---- -external help file: -Module Name: Az.PostgreSql -online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/get-azpostgresqlflexibleserver -schema: 2.0.0 ---- - -# Get-AzPostgreSqlFlexibleServer - -## SYNOPSIS -Gets information about a server. - -## SYNTAX - -### List1 (Default) -``` -Get-AzPostgreSqlFlexibleServer [-SubscriptionId ] [-DefaultProfile ] [] -``` - -### Get -``` -Get-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [] -``` - -### GetViaIdentity -``` -Get-AzPostgreSqlFlexibleServer -InputObject [-DefaultProfile ] - [] -``` - -### List -``` -Get-AzPostgreSqlFlexibleServer -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [] -``` - -## DESCRIPTION -Gets information about a server. - -## EXAMPLES - -### Example 1: Get PostgreSql server with default context -```powershell -PS C:\> Get-AzPostgreSqlFlexibleServer - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ---------------- ------------- -postgresql-test-11 eastus postgresql-test 5.7 32768 Standard_D2ds_v4 GeneralPurpose -``` - -This cmdlet gets PostgreSql servers with default context. - -### Example 2: Get PostgreSql server by resource group and server name -```powershell -PS C:\> Get-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -Name PostgreSql-test - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ---------------- ------------- -postgresql-test-11 eastus postgresql-test 5.7 32768 Standard_D2s_v3 GeneralPurpose -``` - -This cmdlet gets PostgreSql servers by resource group and server name. - -### Example 3: Lists all the PostgreSql servers in specified resource group -```powershell -PS C:\> Get-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ---------------- ------------- -postgresql-test-11 eastus postgresql-test 5.7 32768 Standard_D2s_v3 GeneralPurpose -postgresql-test-12 eastus postgresql-test2 5.7 32768 Standard_D2s_v3 GeneralPurpose -``` - -This cmdlet lists all the PostgreSql servers in the specified resource group. - -### Example 4: Get PostgreSql server by identity -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test" -PS C:\> Get-AzPostgreSqlFlexibleServer -InputObject $ID - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ---------------- ------------- -postgresql-test-11 eastus postgresql-test 12 32768 Standard_D2s_v3 GeneralPurpose -``` - -This cmdlet lists gets PostgreSql servers by identity. - -## PARAMETERS - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity -Parameter Sets: GetViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Get -Aliases: ServerName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Get, List -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String[] -Parameter Sets: Get, List, List1 -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20200214Preview.IServerAutoGenerated - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerConfiguration.md b/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerConfiguration.md deleted file mode 100644 index 6fc88efabed9..000000000000 --- a/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerConfiguration.md +++ /dev/null @@ -1,189 +0,0 @@ ---- -external help file: -Module Name: Az.PostgreSql -online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/get-azpostgresqlflexibleserverconfiguration -schema: 2.0.0 ---- - -# Get-AzPostgreSqlFlexibleServerConfiguration - -## SYNOPSIS -Gets information about a configuration of server. - -## SYNTAX - -### List (Default) -``` -Get-AzPostgreSqlFlexibleServerConfiguration -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [] -``` - -### Get -``` -Get-AzPostgreSqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [] -``` - -### GetViaIdentity -``` -Get-AzPostgreSqlFlexibleServerConfiguration -InputObject [-DefaultProfile ] - [] -``` - -## DESCRIPTION -Gets information about a configuration of server. - -## EXAMPLES - -### Example 1: Get specified PostgreSql configuration by name -```powershell -PS C:\> Get-AzPostgreSqlFlexibleServerConfiguration -Name work_mem -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test - -Name Value DefaultValue Source AllowedValues DataType ----- ------ ------------ ------- ------------- --------- -work_mem 4096 4096 system-default 4096-2097151 Integer -``` - -This cmdlet gets specified PostgreSql configuration by name. - -### Example 2: List all configurations in specified PostgreSql server -```powershell -PS C:\> Get-AzPostgreSqlFlexibleServerConfiguration -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test - -Name Value DefaultValue Source AllowedValues DataType ----- ------ ------------ ------- ------------- --------- -application_name "" "" system-default [A-Za-z0-9._-]* String -... -pgbouncer.enabled false false system-default true, false Boolean -``` - -This cmdlet lists all configurations in specified PostgreSql server. - -## PARAMETERS - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity -Parameter Sets: GetViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server configuration. - -```yaml -Type: System.String -Parameter Sets: Get -Aliases: ConfigurationName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Get, List -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Get, List -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String[] -Parameter Sets: Get, List -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20200214Preview.IConfigurationAutoGenerated - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerFirewallRule.md deleted file mode 100644 index 85b2c1eb00df..000000000000 --- a/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerFirewallRule.md +++ /dev/null @@ -1,200 +0,0 @@ ---- -external help file: -Module Name: Az.PostgreSql -online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/get-azpostgresqlflexibleserverfirewallrule -schema: 2.0.0 ---- - -# Get-AzPostgreSqlFlexibleServerFirewallRule - -## SYNOPSIS -List all the firewall rules in a given server. - -## SYNTAX - -### List (Default) -``` -Get-AzPostgreSqlFlexibleServerFirewallRule -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [] -``` - -### Get -``` -Get-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [] -``` - -### GetViaIdentity -``` -Get-AzPostgreSqlFlexibleServerFirewallRule -InputObject [-DefaultProfile ] - [] -``` - -## DESCRIPTION -List all the firewall rules in a given server. - -## EXAMPLES - -### Example 1: Get firewall rules by name -```powershell -PS C:\> Get-AzPostgreSqlFlexibleServerFirewallRule -Name firewallrule-test -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test - -FirewallRuleName StartIPAddress EndIPAddress ------------------ --------------- --------------- -firewallrule-test 12.12.12.12 23.23.23.23 -``` - -This cmdlet gets firewall rules by name. - -### Example 2: Get firewall rules by identity -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test/firewallRules/firewallrule-test" -PS C:\> Get-AzPostgreSqlFlexibleServerFirewallRule -InputObject $ID - -FirewallRuleName StartIPAddress EndIPAddress ------------------ --------------- --------------- -firewallrule-test 12.12.12.12 23.23.23.23 -``` - -This cmdlet gets firewall rules by identity. - -### Example 3: Lists all the firewall rules in the specified PostgreSql server -```powershell -PS C:\> Get-AzPostgreSqlFlexibleServerFirewallRule -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test - -FirewallRuleName StartIPAddress EndIPAddress ------------------ --------------- --------------- -firewallrule-test 12.12.12.12 23.23.23.23 -firewallrule-test2 12.12.12.15 23.23.23.25 -``` - -This cmdlet lists all the firewall rule in specified PostgreSql server. - -## PARAMETERS - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity -Parameter Sets: GetViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server firewall rule. - -```yaml -Type: System.String -Parameter Sets: Get -Aliases: FirewallRuleName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Get, List -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Get, List -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String[] -Parameter Sets: Get, List -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IFirewallRule - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/PostgreSql/docs/Get-AzPostgreSqlReplica.md b/src/PostgreSql/docs/Get-AzPostgreSqlReplica.md deleted file mode 100644 index 7cd07aa359ae..000000000000 --- a/src/PostgreSql/docs/Get-AzPostgreSqlReplica.md +++ /dev/null @@ -1,113 +0,0 @@ ---- -external help file: -Module Name: Az.PostgreSql -online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/get-azpostgresqlreplica -schema: 2.0.0 ---- - -# Get-AzPostgreSqlReplica - -## SYNOPSIS -List all the replicas for a given server. - -## SYNTAX - -``` -Get-AzPostgreSqlReplica -ResourceGroupName -ServerName [-SubscriptionId ] - [-DefaultProfile ] [] -``` - -## DESCRIPTION -List all the replicas for a given server. - -## EXAMPLES - -### Example 1: Get PostgreSql server replica by resource group and server name -```powershell -PS C:\> Get-AzPostgreSqlReplica -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement ----- -------- ------------------ ------- ----------------------- ------- ------- -------------- -postgresqltestserverreplica eastus pwsh 9.6 5120 GP_Gen5_4 GeneralPurpose Enabled -``` - -This cmdlet gets PostgreSql server replica by resource group and server name. - -## PARAMETERS - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String[] -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IServer - -## NOTES - -ALIASES - -## RELATED LINKS - diff --git a/src/PostgreSql/docs/Get-AzPostgreSqlServer.md b/src/PostgreSql/docs/Get-AzPostgreSqlServer.md deleted file mode 100644 index 4406f4b44172..000000000000 --- a/src/PostgreSql/docs/Get-AzPostgreSqlServer.md +++ /dev/null @@ -1,199 +0,0 @@ ---- -external help file: -Module Name: Az.PostgreSql -online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/get-azpostgresqlserver -schema: 2.0.0 ---- - -# Get-AzPostgreSqlServer - -## SYNOPSIS -Gets information about a server. - -## SYNTAX - -### List1 (Default) -``` -Get-AzPostgreSqlServer [-SubscriptionId ] [-DefaultProfile ] [] -``` - -### Get -``` -Get-AzPostgreSqlServer -Name -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [] -``` - -### GetViaIdentity -``` -Get-AzPostgreSqlServer -InputObject [-DefaultProfile ] [] -``` - -### List -``` -Get-AzPostgreSqlServer -ResourceGroupName [-SubscriptionId ] [-DefaultProfile ] - [] -``` - -## DESCRIPTION -Gets information about a server. - -## EXAMPLES - -### Example 1: Get PostgreSql server with default context -```powershell -PS C:\> Get-AzPostgreSqlServer - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement ----- -------- ------------------ ------- ----------------------- ------- ------- -------------- -postgresqltestserver eastus pwsh 9.6 5120 GP_Gen5_4 GeneralPurpose Enabled -``` - -This cmdlet gets PostgreSql server with default context. - -### Example 2: Get PostgreSql server by resource group and server name -```powershell -PS C:\> Get-AzPostgreSqlServer -ResourceGroupName PostgreSqlTestRG -Name PostgreSqlTestServer - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement ----- -------- ------------------ ------- ----------------------- ------- ------- -------------- -postgresqltestserver eastus pwsh 9.6 5120 GP_Gen5_4 GeneralPurpose Enabled -``` - -This cmdlet gets PostgreSql server by resource group and server name. - -### Example 3: Lists all the PostgreSql servers in specified resource group -```powershell -PS C:\> Get-AzPostgreSqlServer -ResourceGroupName PostgreSqlTestRG - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement ----- -------- ------------------ ------- ----------------------- ------- ------- -------------- -postgresqltestserver eastus pwsh 9.6 5120 GP_Gen5_4 GeneralPurpose Enabled -``` - -This cmdlet lists all the PostgreSql servers in specified resource group. - -### Example 4: Get PostgreSql server by identity -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.DBforPostgreSQL/servers/postgresqltestserver" -PS C:\> Get-AzPostgreSqlServer -InputObject $ID - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement ----- -------- ------------------ ------- ----------------------- ------- ------- -------------- -postgresqltestserver eastus pwsh 9.6 5120 GP_Gen5_4 GeneralPurpose Enabled -``` - -This cmdlet lists gets PostgreSql server by identity. - -## PARAMETERS - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity -Parameter Sets: GetViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Get -Aliases: ServerName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Get, List -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String[] -Parameter Sets: Get, List, List1 -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IServer - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/PostgreSql/docs/Get-AzPostgreSqlVirtualNetworkRule.md b/src/PostgreSql/docs/Get-AzPostgreSqlVirtualNetworkRule.md deleted file mode 100644 index 0487797b1c4d..000000000000 --- a/src/PostgreSql/docs/Get-AzPostgreSqlVirtualNetworkRule.md +++ /dev/null @@ -1,214 +0,0 @@ ---- -external help file: -Module Name: Az.PostgreSql -online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/get-azpostgresqlvirtualnetworkrule -schema: 2.0.0 ---- - -# Get-AzPostgreSqlVirtualNetworkRule - -## SYNOPSIS -Gets a virtual network rule. - -## SYNTAX - -### List (Default) -``` -Get-AzPostgreSqlVirtualNetworkRule -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [-PassThru] [] -``` - -### Get -``` -Get-AzPostgreSqlVirtualNetworkRule -Name -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [-PassThru] [] -``` - -### GetViaIdentity -``` -Get-AzPostgreSqlVirtualNetworkRule -InputObject [-DefaultProfile ] [-PassThru] - [] -``` - -## DESCRIPTION -Gets a virtual network rule. - -## EXAMPLES - -### Example 1: Lists all the Virtual Network Rules in specified PostgreSql server -```powershell -PS C:\> Get-AzPostgreSqlVirtualNetworkRule -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer - -Name Type ----- ---- -vnet Microsoft.DBforPostgreSQL/servers/virtualNetworkRules -``` - -This cmdlet lists all the Virtual Network Rules in specified PostgreSql server. - -### Example 2: Get Virtual Network Rule by name -```powershell -PS C:\> Get-AzPostgreSqlVirtualNetworkRule -Name vnet -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer - -Name Type ----- ---- -vnet Microsoft.DBforPostgreSQL/servers/virtualNetworkRules -``` - -This cmdlet gets Virtual Network Rule by name. - -### Example 3: Get Virtual Network Rule by identity -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.DBforPostgreSQL/servers/PostgreSqlTestServer/virtualNetworkRules/vnet" -PS C:\> Get-AzPostgreSqlVirtualNetworkRule -InputObject $ID - -Name Type ----- ---- -vnet Microsoft.DBforPostgreSQL/servers/virtualNetworkRules -``` - -This cmdlet gets Virtual Network Rule by identity. - -## PARAMETERS - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity -Parameter Sets: GetViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the virtual network rule. - -```yaml -Type: System.String -Parameter Sets: Get -Aliases: VirtualNetworkRuleName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PassThru -Returns true when the command succeeds - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Get, List -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Get, List -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String[] -Parameter Sets: Get, List -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IVirtualNetworkRule - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/PostgreSql/docs/New-AzPostgreSqlFirewallRule.md b/src/PostgreSql/docs/New-AzPostgreSqlFirewallRule.md deleted file mode 100644 index 3cdde983906d..000000000000 --- a/src/PostgreSql/docs/New-AzPostgreSqlFirewallRule.md +++ /dev/null @@ -1,290 +0,0 @@ ---- -external help file: -Module Name: Az.PostgreSql -online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/new-azpostgresqlfirewallrule -schema: 2.0.0 ---- - -# New-AzPostgreSqlFirewallRule - -## SYNOPSIS -Creates a new firewall rule or updates an existing firewall rule. - -## SYNTAX - -### CreateExpanded (Default) -``` -New-AzPostgreSqlFirewallRule -ResourceGroupName -ServerName -EndIPAddress - -StartIPAddress [-Name ] [-SubscriptionId ] [-DefaultProfile ] [-AsJob] - [-NoWait] [-Confirm] [-WhatIf] [] -``` - -### AllowAll -``` -New-AzPostgreSqlFirewallRule -ResourceGroupName -ServerName -AllowAll [-Name ] - [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] - [] -``` - -### ClientIPAddress -``` -New-AzPostgreSqlFirewallRule -ResourceGroupName -ServerName -ClientIPAddress - [-Name ] [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] - [-WhatIf] [] -``` - -## DESCRIPTION -Creates a new firewall rule or updates an existing firewall rule. - -## EXAMPLES - -### Example 1: Create a new PostgreSql server Firewall Rule -```powershell -PS C:\> New-AzPostgreSqlFirewallRule -Name rule -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 - -Name StartIPAddress EndIPAddress ----- -------------- ------------ -rule 0.0.0.0 0.0.0.1 -``` - -This cmdlets create a PostgreSql server Firewall Rule. - -### Example 2: Create a new PostgreSql Firewall Rule using -ClientIPAddress. -```powershell -PS C:\> New-AzPostgreSqlFirewallRule -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer -ClientIPAddress 0.0.0.1 - -Name StartIPAddress EndIPAddress ----- -------------- ------------ -ClientIPAddress_2020-08-11_18-19-27 0.0.0.1 0.0.0.1 -``` - -This cmdlets create a PostgreSql Firewall Rule using -ClientIPAddress. - -### Example 3: Create a new PostgreSql Firewall Rule to allow all IPs -```powershell -PS C:\> New-AzPostgreSqlFirewallRule -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer -AllowAll - -Name StartIPAddress EndIPAddress ----- -------------- ------------ -AllowAll_2020-08-11_18-19-27 0.0.0.0 255.255.255.255 -``` - -This cmdlets create a new PostgreSql Firewall Rule to allow all IPs. - -## PARAMETERS - -### -AllowAll -Present to allow all range IPs, from 0.0.0.0 to 255.255.255.255. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: AllowAll -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ClientIPAddress -Client specified single IP of the server firewall rule. -Must be IPv4 format. - -```yaml -Type: System.String -Parameter Sets: ClientIPAddress -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -EndIPAddress -The end IP address of the server firewall rule. -Must be IPv4 format. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Name -The name of the server firewall rule. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: FirewallRuleName - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -StartIPAddress -The start IP address of the server firewall rule. -Must be IPv4 format. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IFirewallRule - -## NOTES - -ALIASES - -## RELATED LINKS - diff --git a/src/PostgreSql/docs/New-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/docs/New-AzPostgreSqlFlexibleServer.md deleted file mode 100644 index cbfa6ccdfc41..000000000000 --- a/src/PostgreSql/docs/New-AzPostgreSqlFlexibleServer.md +++ /dev/null @@ -1,379 +0,0 @@ ---- -external help file: -Module Name: Az.PostgreSql -online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/new-azpostgresqlflexibleserver -schema: 2.0.0 ---- - -# New-AzPostgreSqlFlexibleServer - -## SYNOPSIS -Creates a new server. - -## SYNTAX - -``` -New-AzPostgreSqlFlexibleServer -Name -ResourceGroupName - -AdministratorLoginPassword -AdministratorUserName [-SubscriptionId ] - [-BackupRetentionDay ] [-Location ] [-Sku ] [-SkuTier ] [-StorageInMb ] - [-Tag ] [-Version ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] - [-WhatIf] [] -``` - -## DESCRIPTION -Creates a new server. - -## EXAMPLES - -### Example 1: Create a new PostgreSql flexible server with parameters -```powershell -PS C:\> New-AzPostgreSqlFlexibleServer -Name postgresql-test -ResourceGroupName PowershellPostgreSqlTest \ --Location eastus -AdministratorUserName postgresqltest -AdministratorLoginPassword $password -Sku Standard_B1ms -SkuTier Burstable - -Creating new vnet {vnetName} in resource group {resourceGroupName}... -Creating new subnet {subnetName} in resource group {resourceGroupName} and delegating it to "Microsoft.DBforPostgreSQL/flexibleServers"... -Creating PostgreSql server {serverName} in group {resourceGroupName}... -Your server is using sku 'Standard_B1ms' (paid tier). Please refer to https://aka.ms/postgresql-pricing for pricing details. -Creating PostgreSql database {dbname}... -"connectionString": "postgresql://{username}:{password}@{servername}.postgres.database.azure.com/postgres?sslmode=require", -"databaseName": "{dbname}", -"host": "{servername}.PostgreSql.database.azure.com", -"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreS!L/flexibleServers/{serverName}", -"location": "East US", -"version": "12", -"username": "{username}", -"password": "{password}", -"skuname": "Standard_B1ms" -``` - -The cmdlet generates a server with the given parameters and output important information in a visible format. -The server creation automatically generates vnet, subnet, and database in the resource group. - -### Example 2: Create a new PostgreSql flexible server without parameters -```powershell -PS C:\> New-AzPostgreSqlFlexibleServer - -Creating Resource Group {resourceGroupName}... -Creating new vnet {vnetName} in resource group {resourceGroupName}... -Creating new subnet {subnetName} in resource group {resourceGroupName} and delegating it to "Microsoft.DBforPostgreSql/flexibleServers"... -Creating PostgreSql server {serverName} in group {resourceGroupName}... -Your server is using sku 'Standard_D2s_v3' (paid tier). Please refer to https://aka.ms/postgresql-pricing for pricing details. -Creating PostgreSql database {dbname}... -"connectionString": "postgresql://{username}:{password}@{servername}.postgres.database.azure.com/postgres?sslmode=require", -"databaseName": "flexibleserverdb", -"host": "{servername}.PostgreSql.database.azure.com", -"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSql/flexibleServers/{serverName}", -"location": "East US", -"version": "12", -"username": "{username}", -"password": "{password}", -"skuname": "Standard_D2s_v3" -``` - -When no parameters are given, the cmdlet automatically generates necessary resources such as resource group, vnet, and database. -The SKU and storage profile are set to default values. - -### Example 3: Create a new PostgreSql flexible server with public access to all IPs -```powershell -PS C:\> New-AzPostgreSqlFlexibleServer -PublicAccess all - -Creating Resource Group {resourceGroupName}... -Configurint server firewall rule to accept connections from '0.0.0.0' to '255.255.255.255'... -Creating PostgreSql server {serverName} in group {resourceGroupName}... -Your server is using sku 'Standard_D2s_v3' (paid tier). Please refer to https://aka.ms/postgresql-pricing for pricing details. -Creating PostgreSql database {dbname}... -"connectionString": "postgresql://{username}:{password}@{servername}.postgres.database.azure.com/postgres?sslmode=require", -"firewallName": "{firewallRuleName}", -"databaseName": "flexibleserverdb", -"host": "{serverName}.PostgreSql.database.azure.com", -"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}", -"location": "East US", -"version": "12", -"username": "{username}", -"password": "{password}", -"skuname": "Standard_D2s_v3" -``` - -The cmdlet generates a server without given parameters and automatically generates necessary resources such as resource group, subnet, and database. -The SKU and storage profile are set to default values. - -## PARAMETERS - -### -AdministratorLoginPassword -The password of the administrator. -Minimum 8 characters and maximum 128 characters. -Password must contain characters from three of the following categories: English uppercase letters, English lowercase letters, numbers, and non-alphanumeric characters. - -```yaml -Type: System.Security.SecureString -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -AdministratorUserName -Administrator username for the server. -Once set, it cannot be changed. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -AsJob -Run the command as a job. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -BackupRetentionDay -Backup retention days for the server. -Day count is between 7 and 35. - -```yaml -Type: System.Int32 -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Location -The location the resource resides in. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Name -The name of the server. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: ServerName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Sku -The name of the sku, typically, tier + family + cores, e.g. -Standard_B1ms, Standard_D2ds_v4. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SkuTier -Compute tier of the server. -Accepted values: Burstable, GeneralPurpose, Memory Optimized. -Default: Burstable. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -StorageInMb -Max storage allowed for a server. - -```yaml -Type: System.Int32 -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The subscription ID that identifies an Azure subscription. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Tag -Application-specific metadata in the form of key-value pairs. - -```yaml -Type: System.Collections.Hashtable -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Version -Server version. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.ServerVersion -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20200214Preview.IServerAutoGenerated - -## NOTES - -ALIASES - -## RELATED LINKS - diff --git a/src/PostgreSql/docs/New-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSql/docs/New-AzPostgreSqlFlexibleServerFirewallRule.md deleted file mode 100644 index b3459238bed5..000000000000 --- a/src/PostgreSql/docs/New-AzPostgreSqlFlexibleServerFirewallRule.md +++ /dev/null @@ -1,292 +0,0 @@ ---- -external help file: -Module Name: Az.PostgreSql -online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/new-azpostgresqlflexibleserverfirewallrule -schema: 2.0.0 ---- - -# New-AzPostgreSqlFlexibleServerFirewallRule - -## SYNOPSIS -Creates a new firewall rule or updates an existing firewall rule. - -## SYNTAX - -### CreateExpanded (Default) -``` -New-AzPostgreSqlFlexibleServerFirewallRule -ResourceGroupName -ServerName - -EndIPAddress -StartIPAddress [-Name ] [-SubscriptionId ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] -``` - -### AllowAll -``` -New-AzPostgreSqlFlexibleServerFirewallRule -ResourceGroupName -ServerName -AllowAll - [-Name ] [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] - [-WhatIf] [] -``` - -### ClientIPAddress -``` -New-AzPostgreSqlFlexibleServerFirewallRule -ResourceGroupName -ServerName - -ClientIPAddress [-Name ] [-SubscriptionId ] [-DefaultProfile ] [-AsJob] - [-NoWait] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Creates a new firewall rule or updates an existing firewall rule. - -## EXAMPLES - -### Example 1: Create a new PostgreSql server Firewall Rule -```powershell -PS C:\> New-AzPostgreSqlFlexibleServerFirewallRule -Name firewallrule-test -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 - -Name StartIPAddress EndIPAddress ------------------ -------------- ------------ -firewallrule-test 0.0.0.0 0.0.0.1 -``` - -This cmdlets create a PostgreSql server Firewall Rule. - -### Example 2: Create a new PostgreSql Firewall Rule using -ClientIPAddress. -```powershell -PS C:\> New-AzPostgreSqlFlexibleServerFirewallRule -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test -ClientIPAddress 0.0.0.1 - -Name StartIPAddress EndIPAddress ----- -------------- ------------ -ClientIPAddress_2020-08-11_18-19-27 0.0.0.1 0.0.0.1 -``` - -This cmdlets create a PostgreSql Firewall Rule using -ClientIPAddress. - -### Example 3: Create a new PostgreSql Firewall Rule to allow all IPs -```powershell -PS C:\> New-AzPostgreSqlFlexibleServerFirewallRule -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test -AllowAll - -Name StartIPAddress EndIPAddress ----- -------------- ------------ -AllowAll_2020-08-11_18-19-27 0.0.0.0 255.255.255.255 -``` - -This cmdlets create a new PostgreSql Firewall Rule to allow all IPs. - -## PARAMETERS - -### -AllowAll -Present to allow all range IPs, from 0.0.0.0 to 255.255.255.255. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: AllowAll -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ClientIPAddress -Client specified single IP of the server firewall rule. -Must be IPv4 format. - -```yaml -Type: System.String -Parameter Sets: ClientIPAddress -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -EndIPAddress -The end IP address of the server firewall rule. -Must be IPv4 format. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Name -The name of the server firewall rule. -If not specified, the default is undefined. -If AllowAll is present, the default name is AllowAll_yyyy-MM-dd_HH-mm-ss. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: FirewallRuleName - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -StartIPAddress -The start IP address of the server firewall rule. -Must be IPv4 format. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IFirewallRule - -## NOTES - -ALIASES - -## RELATED LINKS - diff --git a/src/PostgreSql/docs/New-AzPostgreSqlReplica.md b/src/PostgreSql/docs/New-AzPostgreSqlReplica.md deleted file mode 100644 index 6fd9461ea9c3..000000000000 --- a/src/PostgreSql/docs/New-AzPostgreSqlReplica.md +++ /dev/null @@ -1,267 +0,0 @@ ---- -external help file: -Module Name: Az.PostgreSql -online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/new-azpostgresqlreplica -schema: 2.0.0 ---- - -# New-AzPostgreSqlReplica - -## SYNOPSIS -Creates a new replica from an existing database. - -## SYNTAX - -``` -New-AzPostgreSqlReplica -ReplicaName -ResourceGroupName -Master - [-SubscriptionId ] [-Location ] [-Sku ] [-DefaultProfile ] [-AsJob] - [-NoWait] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Creates a new replica from an existing database. - -## EXAMPLES - -### Example 1: Create a new PostgreSql server replica -```powershell -PS C:\> Get-AzPostgreSqlServer -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer | New-AzPostgreSqlReplica -ReplicaName PostgreSqlTestServerReplica -ResourceGroupName PostgreSqlTestRG - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement ----- -------- ------------------ ------- ----------------------- ------- ------- -------------- -postgresqltestserverreplica eastus pwsh 9.6 5120 GP_Gen5_4 GeneralPurpose Enabled -``` - -This cmdlet creates a new PostgreSql server replica. - -### Example 2: Create a new PostgreSql server replica -```powershell -PS C:\> $pgDb = Get-AzPostgreSqlServer -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer -PS C:\> New-AzPostgreSqlReplica -Master $pgDb -ReplicaName PostgreSqlTestServerReplica -ResourceGroupName PostgreSqlTestRG - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement ----- -------- ------------------ ------- ----------------------- ------- ------- -------------- -postgresqltestserverreplica eastus pwsh 9.6 5120 GP_Gen5_4 GeneralPurpose Enabled -``` - -This cmdlet creates a new PostgreSql server replica. - -## PARAMETERS - -### -AsJob -Run the command as a job. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Location -The location the resource resides in. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Master -The source server object to create replica from. -To construct, see NOTES section for MASTER properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IServer -Parameter Sets: (All) -Aliases: InputObject - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ReplicaName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: ReplicaServerName, Name - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Sku -The name of the sku, typically, tier + family + cores, e.g. -B_Gen4_1, GP_Gen5_8. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The subscription ID that identifies an Azure subscription. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IServer - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IServer - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -MASTER : The source server object to create replica from. - - `Location `: The geo-location where the resource lives - - `SkuName `: The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. - - `[Tag ]`: Resource tags. - - `[(Any) ]`: This indicates any property can be added to this object. - - `[AdministratorLogin ]`: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). - - `[EarliestRestoreDate ]`: Earliest restore point creation time (ISO8601 format) - - `[FullyQualifiedDomainName ]`: The fully qualified domain name of a server. - - `[IdentityType ]`: The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. - - `[InfrastructureEncryption ]`: Status showing whether the server enabled infrastructure encryption. - - `[MasterServerId ]`: The master server id of a replica server. - - `[MinimalTlsVersion ]`: Enforce a minimal Tls version for the server. - - `[PublicNetworkAccess ]`: Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' - - `[ReplicaCapacity ]`: The maximum number of replicas that a master server can have. - - `[ReplicationRole ]`: The replication role of the server. - - `[SkuCapacity ]`: The scale up/out capacity, representing server's compute units. - - `[SkuFamily ]`: The family of hardware. - - `[SkuSize ]`: The size code, to be interpreted by resource as appropriate. - - `[SkuTier ]`: The tier of the particular SKU, e.g. Basic. - - `[SslEnforcement ]`: Enable ssl enforcement or not when connect to server. - - `[StorageProfileBackupRetentionDay ]`: Backup retention days for the server. - - `[StorageProfileGeoRedundantBackup ]`: Enable Geo-redundant or not for server backup. - - `[StorageProfileStorageAutogrow ]`: Enable Storage Auto Grow. - - `[StorageProfileStorageMb ]`: Max storage allowed for a server. - - `[UserVisibleState ]`: A state of a server that is visible to user. - - `[Version ]`: Server version. - -## RELATED LINKS - diff --git a/src/PostgreSql/docs/New-AzPostgreSqlServer.md b/src/PostgreSql/docs/New-AzPostgreSqlServer.md deleted file mode 100644 index 3f419fb15f55..000000000000 --- a/src/PostgreSql/docs/New-AzPostgreSqlServer.md +++ /dev/null @@ -1,347 +0,0 @@ ---- -external help file: -Module Name: Az.PostgreSql -online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/new-azpostgresqlserver -schema: 2.0.0 ---- - -# New-AzPostgreSqlServer - -## SYNOPSIS -Creates a new server. - -## SYNTAX - -``` -New-AzPostgreSqlServer -Name -ResourceGroupName -AdministratorLoginPassword - -AdministratorUserName -Location -Sku [-SubscriptionId ] - [-BackupRetentionDay ] [-GeoRedundantBackup ] - [-SslEnforcement ] [-StorageAutogrow ] [-StorageInMb ] - [-Tag ] [-Version ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] - [-WhatIf] [] -``` - -## DESCRIPTION -Creates a new server. - -## EXAMPLES - -### Example 1: Create a new PostgreSql server -```powershell -PS C:\> New-AzPostgreSqlServer -Name PostgreSqlTestServer -ResourceGroupName PostgreSqlTestRG -Location eastus -AdministratorUserName pwsh -AdministratorLoginPassword $password -Sku GP_Gen5_4 - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement ----- -------- ------------------ ------- ----------------------- ------- ------- -------------- -postgresqltestserver eastus pwsh 9.6 5120 GP_Gen5_4 GeneralPurpose Enabled -``` - -These cmdlets create a new PostgreSql server. - -## PARAMETERS - -### -AdministratorLoginPassword -The password of the administrator. -Minimum 8 characters and maximum 128 characters. -Password must contain characters from three of the following categories: English uppercase letters, English lowercase letters, numbers, and non-alphanumeric characters. - -```yaml -Type: System.Security.SecureString -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -AdministratorUserName -Administrator username for the server. -Once set, it cannot be changed. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -AsJob -Run the command as a job. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -BackupRetentionDay -Backup retention days for the server. -Day count is between 7 and 35. - -```yaml -Type: System.Int32 -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -GeoRedundantBackup -Enable Geo-redundant or not for server backup. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.GeoRedundantBackup -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Location -The location the resource resides in. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Name -The name of the server. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: ServerName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Sku -The name of the sku, typically, tier + family + cores, e.g. -B_Gen4_1, GP_Gen5_8. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SslEnforcement -Enable ssl enforcement or not when connect to server. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.SslEnforcementEnum -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -StorageAutogrow -Enable Storage Auto Grow. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.StorageAutogrow -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -StorageInMb -Max storage allowed for a server. - -```yaml -Type: System.Int32 -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The subscription ID that identifies an Azure subscription. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Tag -Application-specific metadata in the form of key-value pairs. - -```yaml -Type: System.Collections.Hashtable -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Version -Server version. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.ServerVersion -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IServer - -## NOTES - -ALIASES - -## RELATED LINKS - diff --git a/src/PostgreSql/docs/New-AzPostgreSqlVirtualNetworkRule.md b/src/PostgreSql/docs/New-AzPostgreSqlVirtualNetworkRule.md deleted file mode 100644 index d129feb90ed9..000000000000 --- a/src/PostgreSql/docs/New-AzPostgreSqlVirtualNetworkRule.md +++ /dev/null @@ -1,236 +0,0 @@ ---- -external help file: -Module Name: Az.PostgreSql -online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/new-azpostgresqlvirtualnetworkrule -schema: 2.0.0 ---- - -# New-AzPostgreSqlVirtualNetworkRule - -## SYNOPSIS -Creates or updates an existing virtual network rule. - -## SYNTAX - -``` -New-AzPostgreSqlVirtualNetworkRule -Name -ResourceGroupName -ServerName - -SubnetId [-SubscriptionId ] [-IgnoreMissingVnetServiceEndpoint] - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Creates or updates an existing virtual network rule. - -## EXAMPLES - -### Example 1: Create a new PostgreSql server Virtual Network Rule -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.Network/virtualNetworks/PostgreSqlVNet/subnets/default" -PS C:\> New-AzPostgreSqlVirtualNetworkRule -Name vnet -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer -SubnetId $ID - -Name Type ----- ---- -vnet Microsoft.DBforPostgreSQL/servers/virtualNetworkRules -``` - -These cmdlets create a PostgreSql server Virtual Network Rule. - -## PARAMETERS - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -IgnoreMissingVnetServiceEndpoint -Create firewall rule before the virtual network has vnet service endpoint enabled. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Name -The name of the virtual network rule. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: VirtualNetworkRuleName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PassThru -Returns true when the command succeeds - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubnetId -The ARM resource id of the virtual network subnet. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IVirtualNetworkRule - -## NOTES - -ALIASES - -## RELATED LINKS - diff --git a/src/PostgreSql/docs/Remove-AzPostgreSqlFirewallRule.md b/src/PostgreSql/docs/Remove-AzPostgreSqlFirewallRule.md deleted file mode 100644 index 86ad729b1963..000000000000 --- a/src/PostgreSql/docs/Remove-AzPostgreSqlFirewallRule.md +++ /dev/null @@ -1,253 +0,0 @@ ---- -external help file: -Module Name: Az.PostgreSql -online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/remove-azpostgresqlfirewallrule -schema: 2.0.0 ---- - -# Remove-AzPostgreSqlFirewallRule - -## SYNOPSIS -Deletes a server firewall rule. - -## SYNTAX - -### Delete (Default) -``` -Remove-AzPostgreSqlFirewallRule -Name -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] - [] -``` - -### DeleteViaIdentity -``` -Remove-AzPostgreSqlFirewallRule -InputObject [-DefaultProfile ] [-AsJob] - [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Deletes a server firewall rule. - -## EXAMPLES - -### Example 1: Remove PostgreSql Firewall Rule by name -```powershell -PS C:\> Remove-AzPostgreSqlFirewallRule -Name rule -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer - -``` - -This cmdlet removes PostgreSql Firewall Rule by name. - -### Example 2: Remove PostgreSql Firewall Rule by identity -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.DBforPostgreSQL/servers/PostgreSqlTestServer/firewallRules/rule" -PS C:\> Remove-AzPostgreSqlFirewallRule -InputObject $ID - -``` - -These cmdlets remove PostgreSql Firewall Rule by identity. - -## PARAMETERS - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity -Parameter Sets: DeleteViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server firewall rule. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: FirewallRuleName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PassThru -Returns true when the command succeeds - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity - -## OUTPUTS - -### System.Boolean - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/PostgreSql/docs/Remove-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/docs/Remove-AzPostgreSqlFlexibleServer.md deleted file mode 100644 index 1052f6606a1e..000000000000 --- a/src/PostgreSql/docs/Remove-AzPostgreSqlFlexibleServer.md +++ /dev/null @@ -1,237 +0,0 @@ ---- -external help file: -Module Name: Az.PostgreSql -online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/remove-azpostgresqlflexibleserver -schema: 2.0.0 ---- - -# Remove-AzPostgreSqlFlexibleServer - -## SYNOPSIS -Deletes a server. - -## SYNTAX - -### Delete (Default) -``` -Remove-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -### DeleteViaIdentity -``` -Remove-AzPostgreSqlFlexibleServer -InputObject [-DefaultProfile ] [-AsJob] - [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Deletes a server. - -## EXAMPLES - -### Example 1: Remove PostgreSql server by resourceGroup and server name -```powershell -PS C:\> Remove-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -Name postgresql-test - -``` - -This cmdlet removes PostgreSql server by resourceGroup and server name. - -### Example 2: Remove PostgreSql server by identity -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test" -PS C:\> Remove-AzPostgreSqlFlexibleServer -InputObject $ID - -``` - -These cmdlets remove PostgreSql server by identity. - -## PARAMETERS - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity -Parameter Sets: DeleteViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: ServerName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PassThru -Returns true when the command succeeds - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity - -## OUTPUTS - -### System.Boolean - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/PostgreSql/docs/Remove-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSql/docs/Remove-AzPostgreSqlFlexibleServerFirewallRule.md deleted file mode 100644 index d66d4b6bb25f..000000000000 --- a/src/PostgreSql/docs/Remove-AzPostgreSqlFlexibleServerFirewallRule.md +++ /dev/null @@ -1,253 +0,0 @@ ---- -external help file: -Module Name: Az.PostgreSql -online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/remove-azpostgresqlflexibleserverfirewallrule -schema: 2.0.0 ---- - -# Remove-AzPostgreSqlFlexibleServerFirewallRule - -## SYNOPSIS -Deletes a PostgreSQL server firewall rule. - -## SYNTAX - -### Delete (Default) -``` -Remove-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] - [] -``` - -### DeleteViaIdentity -``` -Remove-AzPostgreSqlFlexibleServerFirewallRule -InputObject [-DefaultProfile ] - [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Deletes a PostgreSQL server firewall rule. - -## EXAMPLES - -### Example 1: Remove PostgreSql Firewall Rule by name -```powershell -PS C:\> Remove-AzPostgreSqlFlexibleServerFirewallRule -Name firewall-rule-test -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test - -``` - -This cmdlet removes PostgreSql Firewall Rule by name. - -### Example 2: Remove PostgreSql Firewall Rule by identity -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test/firewallRules/firewall-rule-test" -PS C:\> Remove-AzPostgreSqlFlexibleServerFirewallRule -InputObject $ID - -``` - -These cmdlets remove PostgreSql Firewall Rule by identity. - -## PARAMETERS - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity -Parameter Sets: DeleteViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server firewall rule. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: FirewallRuleName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PassThru -Returns true when the command succeeds - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity - -## OUTPUTS - -### System.Boolean - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/PostgreSql/docs/Remove-AzPostgreSqlServer.md b/src/PostgreSql/docs/Remove-AzPostgreSqlServer.md deleted file mode 100644 index d9b991bf5921..000000000000 --- a/src/PostgreSql/docs/Remove-AzPostgreSqlServer.md +++ /dev/null @@ -1,237 +0,0 @@ ---- -external help file: -Module Name: Az.PostgreSql -online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/remove-azpostgresqlserver -schema: 2.0.0 ---- - -# Remove-AzPostgreSqlServer - -## SYNOPSIS -Deletes a server. - -## SYNTAX - -### Delete (Default) -``` -Remove-AzPostgreSqlServer -Name -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -### DeleteViaIdentity -``` -Remove-AzPostgreSqlServer -InputObject [-DefaultProfile ] [-AsJob] [-NoWait] - [-PassThru] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Deletes a server. - -## EXAMPLES - -### Example 1: Remove PostgreSql server by resourceGroup and server name -```powershell -PS C:\> Remove-AzPostgreSqlServer -ResourceGroupName PostgreSqlTestRG -Name PostgreSqlTestServer - -``` - -This cmdlet removes PostgreSql server by resourceGroup and server name. - -### Example 2: Remove PostgreSql server by identity -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.DBforPostgreSQL/servers/PostgreSqlTestServer" -PS C:\> Remove-AzPostgreSqlServer -InputObject $ID - -``` - -These cmdlets remove PostgreSql server by identity. - -## PARAMETERS - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity -Parameter Sets: DeleteViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: ServerName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PassThru -Returns true when the command succeeds - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity - -## OUTPUTS - -### System.Boolean - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/PostgreSql/docs/Remove-AzPostgreSqlVirtualNetworkRule.md b/src/PostgreSql/docs/Remove-AzPostgreSqlVirtualNetworkRule.md deleted file mode 100644 index 323d32505086..000000000000 --- a/src/PostgreSql/docs/Remove-AzPostgreSqlVirtualNetworkRule.md +++ /dev/null @@ -1,253 +0,0 @@ ---- -external help file: -Module Name: Az.PostgreSql -online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/remove-azpostgresqlvirtualnetworkrule -schema: 2.0.0 ---- - -# Remove-AzPostgreSqlVirtualNetworkRule - -## SYNOPSIS -Deletes the virtual network rule with the given name. - -## SYNTAX - -### Delete (Default) -``` -Remove-AzPostgreSqlVirtualNetworkRule -Name -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] - [] -``` - -### DeleteViaIdentity -``` -Remove-AzPostgreSqlVirtualNetworkRule -InputObject [-DefaultProfile ] [-AsJob] - [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Deletes the virtual network rule with the given name. - -## EXAMPLES - -### Example 1: Remove PostgreSql server Virtual Network Rule by name -```powershell -PS C:\> Remove-AzPostgreSqlVirtualNetworkRule -Name vnet -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer - -``` - -This cmdlet removes PostgreSql server Virtual Network Rule by name. - -### Example 2: Remove PostgreSql server Virtual Network Rule by identity -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.DBforPostgreSQL/servers/PostgreSqlTestServer/virtualNetworkRules/vnet" -PS C:\> Remove-AzPostgreSqlVirtualNetworkRule -InputObject $ID - -``` - -These cmdlets remove PostgreSql server Virtual Network Rule by identity. - -## PARAMETERS - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity -Parameter Sets: DeleteViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the virtual network rule. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: VirtualNetworkRuleName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PassThru -Returns true when the command succeeds - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity - -## OUTPUTS - -### System.Boolean - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/PostgreSql/docs/Restart-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/docs/Restart-AzPostgreSqlFlexibleServer.md deleted file mode 100644 index c76109cbab18..000000000000 --- a/src/PostgreSql/docs/Restart-AzPostgreSqlFlexibleServer.md +++ /dev/null @@ -1,235 +0,0 @@ ---- -external help file: -Module Name: Az.PostgreSql -online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/restart-azpostgresqlflexibleserver -schema: 2.0.0 ---- - -# Restart-AzPostgreSqlFlexibleServer - -## SYNOPSIS -Restarts a server. - -## SYNTAX - -### Restart (Default) -``` -Restart-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -### RestartViaIdentity -``` -Restart-AzPostgreSqlFlexibleServer -InputObject [-DefaultProfile ] [-AsJob] - [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Restarts a server. - -## EXAMPLES - -### Example 1: Restart the server by resource name -```powershell -PS C:\> Restart-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -Name postgresql-test -``` - -Restart the server by name - -### Example 2: Restart the server by identity -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test/restart" -PS C:\> Restart-AzPostgreSqlFlexibleServer -InputObject $ID -``` - -Restart the server by identity - -## PARAMETERS - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity -Parameter Sets: RestartViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Restart -Aliases: ServerName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PassThru -Returns true when the command succeeds - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Restart -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: Restart -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity - -## OUTPUTS - -### System.Boolean - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/PostgreSql/docs/Restart-AzPostgreSqlServer.md b/src/PostgreSql/docs/Restart-AzPostgreSqlServer.md deleted file mode 100644 index 7bfd811c1c10..000000000000 --- a/src/PostgreSql/docs/Restart-AzPostgreSqlServer.md +++ /dev/null @@ -1,237 +0,0 @@ ---- -external help file: -Module Name: Az.PostgreSql -online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/restart-azpostgresqlserver -schema: 2.0.0 ---- - -# Restart-AzPostgreSqlServer - -## SYNOPSIS -Restarts a server. - -## SYNTAX - -### Restart (Default) -``` -Restart-AzPostgreSqlServer -Name -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -### RestartViaIdentity -``` -Restart-AzPostgreSqlServer -InputObject [-DefaultProfile ] [-AsJob] [-NoWait] - [-PassThru] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Restarts a server. - -## EXAMPLES - -### Example 1: Restart PostgreSql server by resource group and server name -```powershell -PS C:\> Restart-AzPostgreSqlServer -ResourceGroupName PostgreSqlTestRG -Name PostgreSqlTestServer - -``` - -This cmdlet restarts PostgreSql server by resource group and server name. - -### Example 2: Restart PostgreSql server by identity -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.DBforPostgreSQL/servers/PostgreSqlTestServer/restart" -PS C:\> Restart-AzPostgreSqlServer -InputObject $ID - -``` - -These cmdlets restart PostgreSql server by identity. - -## PARAMETERS - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity -Parameter Sets: RestartViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Restart -Aliases: ServerName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PassThru -Returns true when the command succeeds - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Restart -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: Restart -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity - -## OUTPUTS - -### System.Boolean - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/PostgreSql/docs/Restore-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/docs/Restore-AzPostgreSqlFlexibleServer.md deleted file mode 100644 index ec8ec7e51760..000000000000 --- a/src/PostgreSql/docs/Restore-AzPostgreSqlFlexibleServer.md +++ /dev/null @@ -1,220 +0,0 @@ ---- -external help file: -Module Name: Az.PostgreSql -online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/restore-azpostgresqlflexibleserver -schema: 2.0.0 ---- - -# Restore-AzPostgreSqlFlexibleServer - -## SYNOPSIS -Restore a server from an existing backup - -## SYNTAX - -``` -Restore-AzPostgreSqlFlexibleServer -Name -ResourceGroupName -SourceServerName - -Location -RestorePointInTime [-SubscriptionId ] [-DefaultProfile ] - [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Restore a server from an existing backup - -## EXAMPLES - -### Example 1: Restore PostgreSql server using PointInTime Restore -```powershell -PS C:\> $restorePointInTime = (Get-Date).AddMinutes(-10) -PS C:\> Restore-AzPostgreSqlFlexibleServer -Name postgresql-test-restore -ResourceGroupName PowershellPostgreSqlTest -SourceServerName postgresql-test -Location eastus -RestorePointInTime $restorePointInTime - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ------- ------- -postgresql-test-restore eastus postgresql_test 12 131072 Standard_D2s_v3 GeneralPurpose -``` - -These cmdlets restore PostgreSql server using PointInTime Restore. - -## PARAMETERS - -### -AsJob -Run the command as a job. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Location -The location the resource resides in. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Name -The name of the server. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: ServerName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RestorePointInTime -The point in time to restore from (ISO8601 format), e.g., 2017-04-26T02:10:00+08:00. - -```yaml -Type: System.DateTime -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SourceServerName -The name of the source server. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The subscription ID that identifies an Azure subscription. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20200214Preview.IServerAutoGenerated - -## NOTES - -ALIASES - -## RELATED LINKS - diff --git a/src/PostgreSql/docs/Restore-AzPostgreSqlServer.md b/src/PostgreSql/docs/Restore-AzPostgreSqlServer.md deleted file mode 100644 index 0f247721f768..000000000000 --- a/src/PostgreSql/docs/Restore-AzPostgreSqlServer.md +++ /dev/null @@ -1,336 +0,0 @@ ---- -external help file: -Module Name: Az.PostgreSql -online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/restore-azpostgresqlserver -schema: 2.0.0 ---- - -# Restore-AzPostgreSqlServer - -## SYNOPSIS -Restore a server from an existing backup - -## SYNTAX - -### GeoRestore (Default) -``` -Restore-AzPostgreSqlServer -Name -ResourceGroupName -InputObject -UseGeoRestore - [-SubscriptionId ] [-Location ] [-Sku ] [-Tag ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] -``` - -### PointInTimeRestore -``` -Restore-AzPostgreSqlServer -Name -ResourceGroupName -InputObject - -RestorePointInTime -UsePointInTimeRestore [-SubscriptionId ] [-Location ] - [-Sku ] [-Tag ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] - [] -``` - -## DESCRIPTION -Restore a server from an existing backup - -## EXAMPLES - -### Example 1: Restore PostgreSql server using GeoReplica Restore -```powershell -PS C:\> Get-AzPostgreSqlServer -ResourceGroupName PostgreSqlTestRG -ServerName postgresqltestserverreplica | Restore-AzPostgreSqlServer -Name PostgreSqlTestServer -ResourceGroupName PostgreSqlTestRG -UseGeoRestore - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement ----- -------- ------------------ ------- ----------------------- ------- ------- -------------- -postgresqltestserver eastus pwsh 9.6 5120 GP_Gen5_4 GeneralPurpose Enabled -``` - -This cmdlet restores PostgreSql server using GeoReplica Restore. - -### Example 2: Restore PostgreSql server using PointInTime Restore -```powershell -PS C:\> $restorePointInTime = (Get-Date).AddMinutes(-10) -PS C:\> Get-AzPostgreSqlServer -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer | Restore-AzPostgreSqlServer -Name PostgreSqlTestServerGEO -ResourceGroupName PostgreSqlTestRG -RestorePointInTime $restorePointInTime -UsePointInTimeRestore - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement ----- -------- ------------------ ------- ----------------------- ------- ------- -------------- -postgresqltestservergeo eastus pwsh 9.6 5120 GP_Gen5_4 GeneralPurpose Enabled -``` - -These cmdlets restore PostgreSql server using PointInTime Restore. - -## PARAMETERS - -### -AsJob -Run the command as a job. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -The source server object to restore from. -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IServer -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Location -The location the resource resides in. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Name -The name of the server. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: ServerName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RestorePointInTime -The location the resource resides in. - -```yaml -Type: System.DateTime -Parameter Sets: PointInTimeRestore -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Sku -The name of the sku, typically, tier + family + cores, e.g. -B_Gen4_1, GP_Gen5_8. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The subscription ID that identifies an Azure subscription. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Tag -Application-specific metadata in the form of key-value pairs. - -```yaml -Type: System.Collections.Hashtable -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -UseGeoRestore -Use Geo mode to restore - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: GeoRestore -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -UsePointInTimeRestore -Use PointInTime mode to restore - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: PointInTimeRestore -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IServer - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IServer - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : The source server object to restore from. - - `Location `: The geo-location where the resource lives - - `SkuName `: The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. - - `[Tag ]`: Resource tags. - - `[(Any) ]`: This indicates any property can be added to this object. - - `[AdministratorLogin ]`: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). - - `[EarliestRestoreDate ]`: Earliest restore point creation time (ISO8601 format) - - `[FullyQualifiedDomainName ]`: The fully qualified domain name of a server. - - `[IdentityType ]`: The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. - - `[InfrastructureEncryption ]`: Status showing whether the server enabled infrastructure encryption. - - `[MasterServerId ]`: The master server id of a replica server. - - `[MinimalTlsVersion ]`: Enforce a minimal Tls version for the server. - - `[PublicNetworkAccess ]`: Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' - - `[ReplicaCapacity ]`: The maximum number of replicas that a master server can have. - - `[ReplicationRole ]`: The replication role of the server. - - `[SkuCapacity ]`: The scale up/out capacity, representing server's compute units. - - `[SkuFamily ]`: The family of hardware. - - `[SkuSize ]`: The size code, to be interpreted by resource as appropriate. - - `[SkuTier ]`: The tier of the particular SKU, e.g. Basic. - - `[SslEnforcement ]`: Enable ssl enforcement or not when connect to server. - - `[StorageProfileBackupRetentionDay ]`: Backup retention days for the server. - - `[StorageProfileGeoRedundantBackup ]`: Enable Geo-redundant or not for server backup. - - `[StorageProfileStorageAutogrow ]`: Enable Storage Auto Grow. - - `[StorageProfileStorageMb ]`: Max storage allowed for a server. - - `[UserVisibleState ]`: A state of a server that is visible to user. - - `[Version ]`: Server version. - -## RELATED LINKS - diff --git a/src/PostgreSql/docs/Start-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/docs/Start-AzPostgreSqlFlexibleServer.md deleted file mode 100644 index 104fa821ca35..000000000000 --- a/src/PostgreSql/docs/Start-AzPostgreSqlFlexibleServer.md +++ /dev/null @@ -1,235 +0,0 @@ ---- -external help file: -Module Name: Az.PostgreSql -online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/start-azpostgresqlflexibleserver -schema: 2.0.0 ---- - -# Start-AzPostgreSqlFlexibleServer - -## SYNOPSIS -Starts a server. - -## SYNTAX - -### Start (Default) -``` -Start-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -### StartViaIdentity -``` -Start-AzPostgreSqlFlexibleServer -InputObject [-DefaultProfile ] [-AsJob] - [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Starts a server. - -## EXAMPLES - -### Example 1: Start the server by resource name -```powershell -PS C:\> Start-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -Name postgresql-test -``` - -Start the server by name - -### Example 2: Start the server by identity -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test/start" -PS C:\> Start-AzPostgreSqlFlexibleServer -InputObject $ID -``` - -Start the server by identity - -## PARAMETERS - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity -Parameter Sets: StartViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Start -Aliases: ServerName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PassThru -Returns true when the command succeeds - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Start -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: Start -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity - -## OUTPUTS - -### System.Boolean - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/PostgreSql/docs/Stop-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/docs/Stop-AzPostgreSqlFlexibleServer.md deleted file mode 100644 index aff68e32a790..000000000000 --- a/src/PostgreSql/docs/Stop-AzPostgreSqlFlexibleServer.md +++ /dev/null @@ -1,235 +0,0 @@ ---- -external help file: -Module Name: Az.PostgreSql -online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/stop-azpostgresqlflexibleserver -schema: 2.0.0 ---- - -# Stop-AzPostgreSqlFlexibleServer - -## SYNOPSIS -Stops a server. - -## SYNTAX - -### Stop (Default) -``` -Stop-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -### StopViaIdentity -``` -Stop-AzPostgreSqlFlexibleServer -InputObject [-DefaultProfile ] [-AsJob] - [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Stops a server. - -## EXAMPLES - -### Example 1: Stop the server by resource name -```powershell -PS C:\> Stop-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -Name postgresql-test -``` - -Stop the server by name - -### Example 2: Stop the server by identity -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test/stop" -PS C:\> Stop-AzPostgreSqlFlexibleServer -InputObject $ID -``` - -Stop the server by identity - -## PARAMETERS - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity -Parameter Sets: StopViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Stop -Aliases: ServerName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PassThru -Returns true when the command succeeds - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Stop -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: Stop -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity - -## OUTPUTS - -### System.Boolean - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/PostgreSql/docs/Update-AzPostgreSqlConfiguration.md b/src/PostgreSql/docs/Update-AzPostgreSqlConfiguration.md deleted file mode 100644 index 80e91a69e955..000000000000 --- a/src/PostgreSql/docs/Update-AzPostgreSqlConfiguration.md +++ /dev/null @@ -1,276 +0,0 @@ ---- -external help file: -Module Name: Az.PostgreSql -online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/update-azpostgresqlconfiguration -schema: 2.0.0 ---- - -# Update-AzPostgreSqlConfiguration - -## SYNOPSIS -Updates a configuration of a server. -Use Update-AzPostgreSqlServer instead if you want update AdministratorLoginPassword, sku, etc. - -## SYNTAX - -### UpdateExpanded (Default) -``` -Update-AzPostgreSqlConfiguration -Name -ResourceGroupName -ServerName - [-SubscriptionId ] [-Source ] [-Value ] [-DefaultProfile ] [-AsJob] - [-NoWait] [-Confirm] [-WhatIf] [] -``` - -### UpdateViaIdentityExpanded -``` -Update-AzPostgreSqlConfiguration -InputObject [-Source ] [-Value ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Updates a configuration of a server. -Use Update-AzPostgreSqlServer instead if you want update AdministratorLoginPassword, sku, etc. - -## EXAMPLES - -### Example 1: Update PostgreSql configuration by name -```powershell -PS C:\> Update-AzPostgreSqlConfiguration -Name intervalstyle -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer -Value SQL_STANDARD - -Name Value ----- ----- -intervalstyle SQL_STANDARD -``` - -This cmdlet updates PostgreSql configuration by name. - -### Example 2: Update PostgreSql configuration by identity. -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.DBforPostgreSQL/servers/PostgreSqlTestServer/configurations/deadlock_timeout" -PS C:\> Update-AzPostgreSqlConfiguration -InputObject $ID -Value 2000 - -Name Value ----- ----- -deadlock_timeout 2000 -``` - -These cmdlets update PostgreSql configuration by identity. - -## PARAMETERS - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity -Parameter Sets: UpdateViaIdentityExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server configuration. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded -Aliases: ConfigurationName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Source -Source of the configuration. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Value -Value of the configuration. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IConfiguration - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/PostgreSql/docs/Update-AzPostgreSqlFirewallRule.md b/src/PostgreSql/docs/Update-AzPostgreSqlFirewallRule.md deleted file mode 100644 index 0bd2d5d43db6..000000000000 --- a/src/PostgreSql/docs/Update-AzPostgreSqlFirewallRule.md +++ /dev/null @@ -1,318 +0,0 @@ ---- -external help file: -Module Name: Az.PostgreSql -online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/update-azpostgresqlfirewallrule -schema: 2.0.0 ---- - -# Update-AzPostgreSqlFirewallRule - -## SYNOPSIS -Creates a new firewall rule or updates an existing firewall rule. - -## SYNTAX - -### UpdateExpanded (Default) -``` -Update-AzPostgreSqlFirewallRule -Name -ResourceGroupName -ServerName - -EndIPAddress -StartIPAddress [-SubscriptionId ] [-DefaultProfile ] - [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] -``` - -### ClientIPAddress -``` -Update-AzPostgreSqlFirewallRule -Name -ResourceGroupName -ServerName - -ClientIPAddress [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] - [-Confirm] [-WhatIf] [] -``` - -### ClientIPAddressViaIdentity -``` -Update-AzPostgreSqlFirewallRule -InputObject -ClientIPAddress - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] -``` - -### UpdateViaIdentityExpanded -``` -Update-AzPostgreSqlFirewallRule -InputObject -EndIPAddress - -StartIPAddress [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] - [] -``` - -## DESCRIPTION -Creates a new firewall rule or updates an existing firewall rule. - -## EXAMPLES - -### Example 1: Update PostgreSql Firewall Rule by name -```powershell -PS C:\> Update-AzPostgreSqlFirewallRule -Name rule -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 - -Name StartIPAddress EndIPAddress ----- -------------- ------------ -rule 0.0.0.2 0.0.0.3 -``` - -This cmdlet updates PostgreSql Firewall Rule by name. - -### Example 2: Update PostgreSql Firewall Rule by identity. -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.DBforPostgreSQL/servers/PostgreSqlTestServer/firewallRules/rule" -PS C:\> Update-AzPostgreSqlFirewallRule -InputObject $ID -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 - -Name StartIPAddress EndIPAddress ----- -------------- ------------ -rule 0.0.0.0 0.0.0.1 -``` - -These cmdlets update PostgreSql Firewall Rule by identity. - -### Example 3: Update PostgreSql Firewall Rule by -ClientIPAddress. -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/PostgreSqlTestServer/firewallRules/rule" -PS C:\> Update-AzPostgreSqlFirewallRule -InputObject $ID --ClientIPAddress 0.0.0.2 - -Name StartIPAddress EndIPAddress ----- -------------- ------------ -rule 0.0.0.2 0.0.0.2 -``` - -These cmdlets update PostgreSql Firewall Rule by -ClientIPAddress. - -## PARAMETERS - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ClientIPAddress -Client specified single IP of the server firewall rule. -Must be IPv4 format. - -```yaml -Type: System.String -Parameter Sets: ClientIPAddress, ClientIPAddressViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -EndIPAddress -The end IP address of the server firewall rule. -Must be IPv4 format. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity -Parameter Sets: ClientIPAddressViaIdentity, UpdateViaIdentityExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server firewall rule. - -```yaml -Type: System.String -Parameter Sets: ClientIPAddress, UpdateExpanded -Aliases: FirewallRuleName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: ClientIPAddress, UpdateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: ClientIPAddress, UpdateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -StartIPAddress -The start IP address of the server firewall rule. -Must be IPv4 format. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: ClientIPAddress, UpdateExpanded -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IFirewallRule - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServer.md deleted file mode 100644 index 830371250909..000000000000 --- a/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServer.md +++ /dev/null @@ -1,390 +0,0 @@ ---- -external help file: -Module Name: Az.PostgreSql -online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/update-azpostgresqlflexibleserver -schema: 2.0.0 ---- - -# Update-AzPostgreSqlFlexibleServer - -## SYNOPSIS -Updates an existing server. -The request body can contain one to many of the properties present in the normal server definition. -Use Update-AzPostgreSqlConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count. - -## SYNTAX - -### UpdateExpanded (Default) -``` -Update-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] - [-AdministratorLoginPassword ] [-BackupRetentionDay ] [-HaEnabled ] - [-ReplicationRole ] [-Sku ] [-SkuTier ] [-SslEnforcement ] - [-StorageAutogrow ] [-StorageInMb ] [-Tag ] [-DefaultProfile ] - [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] -``` - -### UpdateViaIdentityExpanded -``` -Update-AzPostgreSqlFlexibleServer -InputObject - [-AdministratorLoginPassword ] [-BackupRetentionDay ] [-HaEnabled ] - [-ReplicationRole ] [-Sku ] [-SkuTier ] [-SslEnforcement ] - [-StorageAutogrow ] [-StorageInMb ] [-Tag ] [-DefaultProfile ] - [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Updates an existing server. -The request body can contain one to many of the properties present in the normal server definition. -Use Update-AzPostgreSqlConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count. - -## EXAMPLES - -### Example 1: Update PostgreSql server by resource group and server name -```powershell -PS C:\> Update-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -Name postgresql-test -Sku Standard_D4s_v3 - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ---------------- ------------- -postgresql-test-11 eastus PostgreSql_test 12 5120 Standard_D4s_v3 GeneralPurpose -``` - -This cmdlet updates PostgreSql server by resource group and server name. - -### Example 2: Update PostgreSql server by identity. -```powershell -PS C:\> Get-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test | Update-AzPostgreSqlFlexibleServer -BackupRetentionDay 23 -StorageMb 10240 - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ---------------- ------------- -postgresql-test-11 eastus PostgreSql_test 12 5120 Standard_D2ds_v4 GeneralPurpose -``` - -This cmdlet updates PostgreSql server by identity. - -## PARAMETERS - -### -AdministratorLoginPassword -The password of the administrator login. - -```yaml -Type: System.Security.SecureString -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -AsJob -Run the command as a job. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -BackupRetentionDay -Backup retention days for the server. -Day count is between 7 and 35. - -```yaml -Type: System.Int32 -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -HaEnabled -Enable or disable high availability feature. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.HaEnabledEnum -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter. -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity -Parameter Sets: UpdateViaIdentityExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded -Aliases: ServerName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ReplicationRole -The replication role of the server. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group that contains the resource. -You can obtain this value from the Azure Resource Manager API or the portal. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Sku -The name of the sku, typically, tier + family + cores, e.g. -B_Gen4_1, GP_Gen5_8. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SkuTier -The tier of the particular SKU, e.g. -Basic. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.SkuTier -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SslEnforcement -Enable ssl enforcement or not when connect to server. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.SslEnforcementEnum -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -StorageAutogrow -Enable Storage Auto Grow. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.StorageAutogrow -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -StorageInMb -Max storage allowed for a server. - -```yaml -Type: System.Int32 -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The subscription ID that identifies an Azure subscription. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Tag -Application-specific metadata in the form of key-value pairs. - -```yaml -Type: System.Collections.Hashtable -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20200214Preview.IServerAutoGenerated - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter. - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServerConfiguration.md b/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServerConfiguration.md deleted file mode 100644 index 09230ec06207..000000000000 --- a/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServerConfiguration.md +++ /dev/null @@ -1,302 +0,0 @@ ---- -external help file: -Module Name: Az.PostgreSql -online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/update-azpostgresqlflexibleserverconfiguration -schema: 2.0.0 ---- - -# Update-AzPostgreSqlFlexibleServerConfiguration - -## SYNOPSIS - - -## SYNTAX - -### UpdateExpanded (Default) -``` -Update-AzPostgreSqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName - [-SubscriptionId ] [-Source ] [-Value ] [-DefaultProfile ] [-AsJob] - [-NoWait] [-Confirm] [-WhatIf] [] -``` - -### Update -``` -Update-AzPostgreSqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName - -Parameter [-SubscriptionId ] [-DefaultProfile ] [-AsJob] - [-NoWait] [-Confirm] [-WhatIf] [] -``` - -### UpdateViaIdentity -``` -Update-AzPostgreSqlFlexibleServerConfiguration -InputObject - -Parameter [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] - [] -``` - -### UpdateViaIdentityExpanded -``` -Update-AzPostgreSqlFlexibleServerConfiguration -InputObject [-Source ] - [-Value ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION - - -## EXAMPLES - -### Example 1: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - -## PARAMETERS - -### -AsJob - - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile - - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity -Parameter Sets: UpdateViaIdentity, UpdateViaIdentityExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name - - -```yaml -Type: System.String -Parameter Sets: Update, UpdateExpanded -Aliases: ConfigurationName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait - - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Parameter -To construct, see NOTES section for PARAMETER properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20200214Preview.IConfigurationAutoGenerated -Parameter Sets: Update, UpdateViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -ResourceGroupName - - -```yaml -Type: System.String -Parameter Sets: Update, UpdateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName - - -```yaml -Type: System.String -Parameter Sets: Update, UpdateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Source - - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId - - -```yaml -Type: System.String -Parameter Sets: Update, UpdateExpanded -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Value - - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20200214Preview.IConfigurationAutoGenerated - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20200214Preview.IConfigurationAutoGenerated - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -PARAMETER : - - `[Source ]`: Source of the configuration. - - `[Value ]`: Value of the configuration. - -## RELATED LINKS - diff --git a/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServerFirewallRule.md deleted file mode 100644 index 29d47dcc6511..000000000000 --- a/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServerFirewallRule.md +++ /dev/null @@ -1,306 +0,0 @@ ---- -external help file: -Module Name: Az.PostgreSql -online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/update-azpostgresqlflexibleserverfirewallrule -schema: 2.0.0 ---- - -# Update-AzPostgreSqlFlexibleServerFirewallRule - -## SYNOPSIS -Creates a new firewall rule or updates an existing firewall rule. - -## SYNTAX - -### UpdateExpanded (Default) -``` -Update-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName - -EndIPAddress -StartIPAddress [-SubscriptionId ] [-DefaultProfile ] - [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] -``` - -### ClientIPAddress -``` -Update-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName - -ClientIPAddress [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] - [-Confirm] [-WhatIf] [] -``` - -### ClientIPAddressViaIdentity -``` -Update-AzPostgreSqlFlexibleServerFirewallRule -InputObject -ClientIPAddress - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] -``` - -### UpdateViaIdentityExpanded -``` -Update-AzPostgreSqlFlexibleServerFirewallRule -InputObject -EndIPAddress - -StartIPAddress [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] - [] -``` - -## DESCRIPTION -Creates a new firewall rule or updates an existing firewall rule. - -## EXAMPLES - -### Example 1: Update PostgreSql Firewall Rule by name -```powershell -PS C:\> Update-AzPostgreSqlFlexibleServerFirewallRule -Name rule -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 - -Name StartIPAddress EndIPAddress ----- -------------- ------------ -rule 0.0.0.2 0.0.0.3 -``` - -This cmdlet updates PostgreSql Firewall Rule by name. - -### Example 2: Update PostgreSql Firewall Rule by identity. -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test/firewallRules/rule" -PS C:\> Update-AzPostgreSqlFlexibleServerFirewallRule -InputObject $ID -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 - -Name StartIPAddress EndIPAddress ----- -------------- ------------ -rule 0.0.0.2 0.0.0.3 -``` - -These cmdlets update PostgreSql Firewall Rule by identity. - -## PARAMETERS - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ClientIPAddress -Client specified single IP of the server firewall rule. -Must be IPv4 format. - -```yaml -Type: System.String -Parameter Sets: ClientIPAddress, ClientIPAddressViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -EndIPAddress -The end IP address of the server firewall rule. -Must be IPv4 format. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity -Parameter Sets: ClientIPAddressViaIdentity, UpdateViaIdentityExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server firewall rule. - -```yaml -Type: System.String -Parameter Sets: ClientIPAddress, UpdateExpanded -Aliases: FirewallRuleName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: ClientIPAddress, UpdateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: ClientIPAddress, UpdateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -StartIPAddress -The start IP address of the server firewall rule. -Must be IPv4 format. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: ClientIPAddress, UpdateExpanded -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IFirewallRule - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/PostgreSql/docs/Update-AzPostgreSqlServer.md b/src/PostgreSql/docs/Update-AzPostgreSqlServer.md deleted file mode 100644 index ce51eef2ef0c..000000000000 --- a/src/PostgreSql/docs/Update-AzPostgreSqlServer.md +++ /dev/null @@ -1,405 +0,0 @@ ---- -external help file: -Module Name: Az.PostgreSql -online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/update-azpostgresqlserver -schema: 2.0.0 ---- - -# Update-AzPostgreSqlServer - -## SYNOPSIS -Updates an existing server. -The request body can contain one to many of the properties present in the normal server definition. -Use Update-AzPostSqlConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count. - -## SYNTAX - -### UpdateExpanded (Default) -``` -Update-AzPostgreSqlServer -Name -ResourceGroupName [-SubscriptionId ] - [-AdministratorLoginPassword ] [-BackupRetentionDay ] [-ReplicationRole ] - [-Sku ] [-SkuCapacity ] [-SkuFamily ] [-SkuTier ] - [-SslEnforcement ] [-StorageAutogrow ] [-StorageInMb ] - [-Tag ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] -``` - -### UpdateViaIdentityExpanded -``` -Update-AzPostgreSqlServer -InputObject [-AdministratorLoginPassword ] - [-BackupRetentionDay ] [-ReplicationRole ] [-Sku ] [-SkuCapacity ] - [-SkuFamily ] [-SkuTier ] [-SslEnforcement ] - [-StorageAutogrow ] [-StorageInMb ] [-Tag ] [-DefaultProfile ] - [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Updates an existing server. -The request body can contain one to many of the properties present in the normal server definition. -Use Update-AzPostSqlConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count. - -## EXAMPLES - -### Example 1: Update PostgreSql server by resource group and server name -```powershell -PS C:\> Update-AzPostgreSqlServer -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer -SslEnforcement Disabled - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement ----- -------- ------------------ ------- ----------------------- ------- ------- -------------- -postgresqltestserver eastus pwsh 9.6 5120 GP_Gen5_4 GeneralPurpose Disabled -``` - -This cmdlet updates PostgreSql server by resource group and server name. - -### Example 2: Update PostgreSql server by identity. -```powershell -PS C:\> Get-AzPostgreSqlServer -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer | Update-AzPostgreSqlServer -BackupRetentionDay 23 - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement ----- -------- ------------------ ------- ----------------------- ------- ------- -------------- -postgresqltestserver eastus pwsh 9.6 5120 GP_Gen5_4 GeneralPurpose Disabled -``` - -This cmdlet updates PostgreSql server by identity. - -## PARAMETERS - -### -AdministratorLoginPassword -The password of the administrator login. - -```yaml -Type: System.Security.SecureString -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -AsJob -Run the command as a job. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -BackupRetentionDay -Backup retention days for the server. -Day count is between 7 and 35. - -```yaml -Type: System.Int32 -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter. -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity -Parameter Sets: UpdateViaIdentityExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded -Aliases: ServerName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ReplicationRole -The replication role of the server. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group that contains the resource. -You can obtain this value from the Azure Resource Manager API or the portal. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Sku -The name of the sku, typically, tier + family + cores, e.g. -B_Gen4_1, GP_Gen5_8. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SkuCapacity -The scale up/out capacity, representing server's compute units. - -```yaml -Type: System.Int32 -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SkuFamily -The family of hardware. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SkuTier -The tier of the particular SKU, e.g. -Basic. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.SkuTier -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SslEnforcement -Enable ssl enforcement or not when connect to server. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.SslEnforcementEnum -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -StorageAutogrow -Enable Storage Auto Grow. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.StorageAutogrow -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -StorageInMb -Max storage allowed for a server. - -```yaml -Type: System.Int32 -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The subscription ID that identifies an Azure subscription. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Tag -Application-specific metadata in the form of key-value pairs. - -```yaml -Type: System.Collections.Hashtable -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IServer - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter. - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/PostgreSql/docs/Update-AzPostgreSqlVirtualNetworkRule.md b/src/PostgreSql/docs/Update-AzPostgreSqlVirtualNetworkRule.md deleted file mode 100644 index 7e9e06addbba..000000000000 --- a/src/PostgreSql/docs/Update-AzPostgreSqlVirtualNetworkRule.md +++ /dev/null @@ -1,292 +0,0 @@ ---- -external help file: -Module Name: Az.PostgreSql -online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/update-azpostgresqlvirtualnetworkrule -schema: 2.0.0 ---- - -# Update-AzPostgreSqlVirtualNetworkRule - -## SYNOPSIS -Creates or updates an existing virtual network rule. - -## SYNTAX - -### UpdateExpanded (Default) -``` -Update-AzPostgreSqlVirtualNetworkRule -Name -ResourceGroupName -ServerName - -SubnetId [-SubscriptionId ] [-IgnoreMissingVnetServiceEndpoint] - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -### UpdateViaIdentityExpanded -``` -Update-AzPostgreSqlVirtualNetworkRule -InputObject -SubnetId - [-IgnoreMissingVnetServiceEndpoint] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] - [-WhatIf] [] -``` - -## DESCRIPTION -Creates or updates an existing virtual network rule. - -## EXAMPLES - -### Example 1: Update PostgreSql Virtual Network Rule by name -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.Network/virtualNetworks/PostgreSqlVNet/subnets/default2" -PS C:\> Update-AzPostgreSqlVirtualNetworkRule -Name vnet -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer -SubnetId $ID - -Name Type ----- ---- -vnet Microsoft.DBforPostgreSQL/servers/virtualNetworkRules -``` - -This cmdlet updates PostgreSql Virtual Network Rule by name. - -### Example 2: Update PostgreSql Virtual Network Rule by identity. -```powershell -PS C:\> $SubnetID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.Network/virtualNetworks/PostgreSqlVNet/subnets/default" -PS C:\> $VNetID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.DBforPostgreSQL/servers/PostgreSqlTestServer/virtualNetworkRules/vnet" -PS C:\> Update-AzPostgreSqlVirtualNetworkRule -InputObject $VNetID -SubnetId $SubnetID - -Name Type ----- ---- -vnet Microsoft.DBforPostgreSQL/servers/virtualNetworkRules -``` - -These cmdlets update PostgreSql Virtual Network Rule by identity. - -## PARAMETERS - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -IgnoreMissingVnetServiceEndpoint -Create firewall rule before the virtual network has vnet service endpoint enabled. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity -Parameter Sets: UpdateViaIdentityExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the virtual network rule. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded -Aliases: VirtualNetworkRuleName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PassThru -Returns true when the command succeeds - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubnetId -The ARM resource id of the virtual network subnet. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IVirtualNetworkRule - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServer.md index 830d3ca8b866..9b2701c77a79 100644 --- a/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServer.md +++ b/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServer.md @@ -2,20 +2,20 @@ ```powershell PS C:\> Get-AzPostgreSqlFlexibleServer -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ---------------- ------------- -postgresql-test-11 eastus postgresql-test 5.7 32768 Standard_D2ds_v4 GeneralPurpose +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +postgresql-test eastus postgresql-test 12 32768 Standard_D2s_v3 GeneralPurpose ``` This cmdlet gets PostgreSql servers with default context. ### Example 2: Get PostgreSql server by resource group and server name ```powershell -PS C:\> Get-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -Name PostgreSql-test +PS C:\> Get-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -Name postgresql-test -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ---------------- ------------- -postgresql-test-11 eastus postgresql-test 5.7 32768 Standard_D2s_v3 GeneralPurpose +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +postgresql-test eastus postgresql-test 12 32768 Standard_D2s_v3 GeneralPurpose ``` This cmdlet gets PostgreSql servers by resource group and server name. @@ -24,22 +24,22 @@ This cmdlet gets PostgreSql servers by resource group and server name. ```powershell PS C:\> Get-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ---------------- ------------- -postgresql-test-11 eastus postgresql-test 5.7 32768 Standard_D2s_v3 GeneralPurpose -postgresql-test-12 eastus postgresql-test2 5.7 32768 Standard_D2s_v3 GeneralPurpose +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +postgresql-test eastus postgresql-test 12 32768 Standard_D2s_v3 GeneralPurpose +postgresql-test2 eastus postgresql-test 12 32768 Standard_42s_v3 GeneralPurpose ``` This cmdlet lists all the PostgreSql servers in the specified resource group. ### Example 4: Get PostgreSql server by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test" PS C:\> Get-AzPostgreSqlFlexibleServer -InputObject $ID Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ---- -------- ------------------ ------- ----------------------- ---------------- ------------- -postgresql-test-11 eastus postgresql-test 12 32768 Standard_D2s_v3 GeneralPurpose +postgresql-test eastus postgresql-test 12 32768 Standard_D2s_v3 GeneralPurpose ``` This cmdlet lists gets PostgreSql servers by identity. \ No newline at end of file diff --git a/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServerFirewallRule.md index aa033b0bb8dc..9cd911b7a278 100644 --- a/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServerFirewallRule.md +++ b/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServerFirewallRule.md @@ -11,7 +11,7 @@ This cmdlet gets firewall rules by name. ### Example 2: Get firewall rules by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test/firewallRules/firewallrule-test" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/servers/postgresql-test/firewallRules/firewallrule-test" PS C:\> Get-AzPostgreSqlFlexibleServerFirewallRule -InputObject $ID FirewallRuleName StartIPAddress EndIPAddress diff --git a/src/PostgreSql/examples/New-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/examples/New-AzPostgreSqlFlexibleServer.md index 310e33061072..d6edf0164245 100644 --- a/src/PostgreSql/examples/New-AzPostgreSqlFlexibleServer.md +++ b/src/PostgreSql/examples/New-AzPostgreSqlFlexibleServer.md @@ -1,68 +1,24 @@ -### Example 1: Create a new PostgreSql flexible server with parameters +### Example 1: Create a new PostgreSql flexible server ```powershell +PS C:\> $password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force PS C:\> New-AzPostgreSqlFlexibleServer -Name postgresql-test -ResourceGroupName PowershellPostgreSqlTest \ --Location eastus -AdministratorUserName postgresqltest -AdministratorLoginPassword $password -Sku Standard_B1ms -SkuTier Burstable +-Location eastus -AdministratorUserName postgresqltest -AdministratorLoginPassword $password -Sku Standard_B1ms -SkuTier Burstable -Version 12 -StorageInMb 131072 -Creating new vnet {vnetName} in resource group {resourceGroupName}... -Creating new subnet {subnetName} in resource group {resourceGroupName} and delegating it to "Microsoft.DBforPostgreSQL/flexibleServers"... -Creating PostgreSql server {serverName} in group {resourceGroupName}... -Your server is using sku 'Standard_B1ms' (paid tier). Please refer to https://aka.ms/postgresql-pricing for pricing details. -Creating PostgreSql database {dbname}... -"connectionString": "postgresql://{username}:{password}@{servername}.postgres.database.azure.com/postgres?sslmode=require", -"databaseName": "{dbname}", -"host": "{servername}.PostgreSql.database.azure.com", -"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreS!L/flexibleServers/{serverName}", -"location": "East US", -"version": "12", -"username": "{username}", -"password": "{password}", -"skuname": "Standard_B1ms" +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ------------ ------------- +postgresql-test East US postgresqltest 12 131072 Standard_D2s_v3 GeneralPurpose ``` -The cmdlet generates a server with the given parameters and output important information in a visible format. The server creation automatically generates vnet, subnet, and database in the resource group. -### Example 2: Create a new PostgreSql flexible server without parameters +### Example 2: Create a new PostgreSql flexible server with default setting ```powershell -PS C:\> New-AzPostgreSqlFlexibleServer - -Creating Resource Group {resourceGroupName}... -Creating new vnet {vnetName} in resource group {resourceGroupName}... -Creating new subnet {subnetName} in resource group {resourceGroupName} and delegating it to "Microsoft.DBforPostgreSql/flexibleServers"... -Creating PostgreSql server {serverName} in group {resourceGroupName}... -Your server is using sku 'Standard_D2s_v3' (paid tier). Please refer to https://aka.ms/postgresql-pricing for pricing details. -Creating PostgreSql database {dbname}... -"connectionString": "postgresql://{username}:{password}@{servername}.postgres.database.azure.com/postgres?sslmode=require", -"databaseName": "flexibleserverdb", -"host": "{servername}.PostgreSql.database.azure.com", -"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSql/flexibleServers/{serverName}", -"location": "East US", -"version": "12", -"username": "{username}", -"password": "{password}", -"skuname": "Standard_D2s_v3" -``` - -When no parameters are given, the cmdlet automatically generates necessary resources such as resource group, vnet, and database. The SKU and storage profile are set to default values. - -### Example 3: Create a new PostgreSql flexible server with public access to all IPs -```powershell -PS C:\> New-AzPostgreSqlFlexibleServer -PublicAccess all +PS C:\> $password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force +PS C:\> New-AzPostgreSqlFlexibleServer -Name postgresql-test -ResourceGroupName PowershellPostgreSqlTest \ +-AdministratorUserName postgresqltest -AdministratorLoginPassword $password -Creating Resource Group {resourceGroupName}... -Configurint server firewall rule to accept connections from '0.0.0.0' to '255.255.255.255'... -Creating PostgreSql server {serverName} in group {resourceGroupName}... -Your server is using sku 'Standard_D2s_v3' (paid tier). Please refer to https://aka.ms/postgresql-pricing for pricing details. -Creating PostgreSql database {dbname}... -"connectionString": "postgresql://{username}:{password}@{servername}.postgres.database.azure.com/postgres?sslmode=require", -"firewallName": "{firewallRuleName}", -"databaseName": "flexibleserverdb", -"host": "{serverName}.PostgreSql.database.azure.com", -"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}", -"location": "East US", -"version": "12", -"username": "{username}", -"password": "{password}", -"skuname": "Standard_D2s_v3" +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ------------ ------------- +postgresql-test East US postgresqltest 12 131072 Standard_D2s_v3 GeneralPurpose ``` -The cmdlet generates a server without given parameters and automatically generates necessary resources such as resource group, subnet, and database. The SKU and storage profile are set to default values. +Create Postgres server with default values. The default values of location is East US, Sku is Standard_D2s_v3, Sku tier is general purpose, and storage size is 128GiB. \ No newline at end of file diff --git a/src/PostgreSql/examples/Remove-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/examples/Remove-AzPostgreSqlFlexibleServer.md index fc80a337cecb..23bdd0977c95 100644 --- a/src/PostgreSql/examples/Remove-AzPostgreSqlFlexibleServer.md +++ b/src/PostgreSql/examples/Remove-AzPostgreSqlFlexibleServer.md @@ -8,7 +8,7 @@ This cmdlet removes PostgreSql server by resourceGroup and server name. ### Example 2: Remove PostgreSql server by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test" PS C:\> Remove-AzPostgreSqlFlexibleServer -InputObject $ID ``` diff --git a/src/PostgreSql/examples/Remove-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSql/examples/Remove-AzPostgreSqlFlexibleServerFirewallRule.md index 0a3141303005..674198427a43 100644 --- a/src/PostgreSql/examples/Remove-AzPostgreSqlFlexibleServerFirewallRule.md +++ b/src/PostgreSql/examples/Remove-AzPostgreSqlFlexibleServerFirewallRule.md @@ -8,7 +8,7 @@ This cmdlet removes PostgreSql Firewall Rule by name. ### Example 2: Remove PostgreSql Firewall Rule by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test/firewallRules/firewall-rule-test" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test/firewallRules/firewall-rule-test" PS C:\> Remove-AzPostgreSqlFlexibleServerFirewallRule -InputObject $ID ``` diff --git a/src/PostgreSql/examples/Restart-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/examples/Restart-AzPostgreSqlFlexibleServer.md index b98662af22aa..49735b12ee92 100644 --- a/src/PostgreSql/examples/Restart-AzPostgreSqlFlexibleServer.md +++ b/src/PostgreSql/examples/Restart-AzPostgreSqlFlexibleServer.md @@ -7,7 +7,7 @@ Restart the server by name ### Example 2: Restart the server by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test/restart" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test/restart" PS C:\> Restart-AzPostgreSqlFlexibleServer -InputObject $ID ``` diff --git a/src/PostgreSql/examples/Restore-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/examples/Restore-AzPostgreSqlFlexibleServer.md index 5a458b716f80..17fcfe0a8ce2 100644 --- a/src/PostgreSql/examples/Restore-AzPostgreSqlFlexibleServer.md +++ b/src/PostgreSql/examples/Restore-AzPostgreSqlFlexibleServer.md @@ -1,11 +1,11 @@ ### Example 1: Restore PostgreSql server using PointInTime Restore ```powershell PS C:\> $restorePointInTime = (Get-Date).AddMinutes(-10) -PS C:\> Restore-AzPostgreSqlFlexibleServer -Name postgresql-test-restore -ResourceGroupName PowershellPostgreSqlTest -SourceServerName postgresql-test -Location eastus -RestorePointInTime $restorePointInTime +PS C:\> Restore-AzPostgreSqlFlexibleServer -Name pg-restore -ResourceGroupName PowershellPostgreSqlTest -SourceServerName postgresql-test -Location eastus -RestorePointInTime $restorePointInTime -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ------- ------- -postgresql-test-restore eastus postgresql_test 12 131072 Standard_D2s_v3 GeneralPurpose +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ------- ------- +pg-restore eastus postgresql_test 12 131072 Standard_D2s_v3 GeneralPurpose ``` These cmdlets restore PostgreSql server using PointInTime Restore. diff --git a/src/PostgreSql/examples/Start-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/examples/Start-AzPostgreSqlFlexibleServer.md index 21b6b0e9d1ed..aa41c5ace255 100644 --- a/src/PostgreSql/examples/Start-AzPostgreSqlFlexibleServer.md +++ b/src/PostgreSql/examples/Start-AzPostgreSqlFlexibleServer.md @@ -7,7 +7,7 @@ Start the server by name ### Example 2: Start the server by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test/start" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test/start" PS C:\> Start-AzPostgreSqlFlexibleServer -InputObject $ID ``` diff --git a/src/PostgreSql/examples/Stop-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/examples/Stop-AzPostgreSqlFlexibleServer.md index ed8b0fd57fc7..c37f8644f465 100644 --- a/src/PostgreSql/examples/Stop-AzPostgreSqlFlexibleServer.md +++ b/src/PostgreSql/examples/Stop-AzPostgreSqlFlexibleServer.md @@ -8,7 +8,7 @@ Stop the server by name ### Example 2: Stop the server by identity ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test/stop" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test/stop" PS C:\> Stop-AzPostgreSqlFlexibleServer -InputObject $ID ``` diff --git a/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServer.md index abe60be1c4ff..60ec497d009a 100644 --- a/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServer.md +++ b/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServer.md @@ -4,7 +4,7 @@ PS C:\> Update-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSq Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ---- -------- ------------------ ------- ----------------------- ---------------- ------------- -postgresql-test-11 eastus PostgreSql_test 12 5120 Standard_D4s_v3 GeneralPurpose +postgresql-test eastus postgresql_test 12 131072 Standard_D4s_v3 GeneralPurpose ``` This cmdlet updates PostgreSql server by resource group and server name. @@ -13,9 +13,9 @@ This cmdlet updates PostgreSql server by resource group and server name. ```powershell PS C:\> Get-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test | Update-AzPostgreSqlFlexibleServer -BackupRetentionDay 23 -StorageMb 10240 -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ---------------- ------------- -postgresql-test-11 eastus PostgreSql_test 12 5120 Standard_D2ds_v4 GeneralPurpose +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +postgresql-test eastus postgresql_test 12 131072 Standard_D2s_v3 GeneralPurpose ``` This cmdlet updates PostgreSql server by identity. diff --git a/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServerConfiguration.md b/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServerConfiguration.md index 093355d11d50..5e4e96388284 100644 --- a/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServerConfiguration.md +++ b/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServerConfiguration.md @@ -1,18 +1,22 @@ -### Example 1: {{ Add title here }} +### Example 1: Updatae specified PostgreSql configuration by name ```powershell -PS C:\> {{ Add code here }} +PS C:\> Update-AzPostgreSqlFlexibleServerConfiguration -Name work_mem -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test -Value 8192 -{{ Add output here }} +Name Value DefaultValue Source AllowedValues DataType +---- ------ ------------ ------- ------------- --------- +work_mem 8192 4096 system-default 4096-2097151 Integer ``` -{{ Add description here }} +This cmdlet updates specified PostgreSql configuration by name. -### Example 2: {{ Add title here }} +### Example 1: Updatae specified PostgreSql configuration by identity ```powershell -PS C:\> {{ Add code here }} +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test/configurations/work_mem" +PS C:\> Get-AzPostgreSqlFlexibleServerConfiguration -Name work_mem -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test -Value 8192 -{{ Add output here }} +Name Value DefaultValue Source AllowedValues DataType +---- ------ ------------ ------- ------------- --------- +work_mem 8192 4096 system-default 4096-2097151 Integer ``` -{{ Add description here }} - +This cmdlet updates specified PostgreSql configuration by identity. \ No newline at end of file diff --git a/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServerFirewallRule.md index 20121400a721..d4eb3dcf2fa0 100644 --- a/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServerFirewallRule.md +++ b/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServerFirewallRule.md @@ -11,7 +11,7 @@ This cmdlet updates PostgreSql Firewall Rule by name. ### Example 2: Update PostgreSql Firewall Rule by identity. ```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test/firewallRules/rule" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test/firewallRules/rule" PS C:\> Update-AzPostgreSqlFlexibleServerFirewallRule -InputObject $ID -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 Name StartIPAddress EndIPAddress From 2f8e9c410a4127b35b0d54bf1905389e153f67fb Mon Sep 17 00:00:00 2001 From: Daeun Yim Date: Mon, 16 Nov 2020 14:06:19 -0800 Subject: [PATCH 20/51] docs files moved from exports to upper folder --- src/MySql/docs/Az.MySql.md | 135 ++++++ src/MySql/docs/Get-AzMySqlConfiguration.md | 191 +++++++++ src/MySql/docs/Get-AzMySqlConnectionString.md | 187 ++++++++ src/MySql/docs/Get-AzMySqlFirewallRule.md | 193 +++++++++ src/MySql/docs/Get-AzMySqlFlexibleServer.md | 193 +++++++++ .../Get-AzMySqlFlexibleServerConfiguration.md | 196 +++++++++ .../docs/Get-AzMySqlFlexibleServerDatabase.md | 196 +++++++++ .../Get-AzMySqlFlexibleServerFirewallRule.md | 195 +++++++++ .../docs/Get-AzMySqlFlexibleServerReplica.md | 111 +++++ src/MySql/docs/Get-AzMySqlReplica.md | 111 +++++ src/MySql/docs/Get-AzMySqlServer.md | 192 +++++++++ .../docs/Get-AzMySqlVirtualNetworkRule.md | 209 +++++++++ src/MySql/docs/New-AzMySqlFirewallRule.md | 286 +++++++++++++ src/MySql/docs/New-AzMySqlFlexibleServer.md | 329 ++++++++++++++ .../docs/New-AzMySqlFlexibleServerDatabase.md | 261 ++++++++++++ .../New-AzMySqlFlexibleServerFirewallRule.md | 286 +++++++++++++ .../docs/New-AzMySqlFlexibleServerReplica.md | 235 ++++++++++ src/MySql/docs/New-AzMySqlReplica.md | 263 ++++++++++++ src/MySql/docs/New-AzMySqlServer.md | 345 +++++++++++++++ .../docs/New-AzMySqlVirtualNetworkRule.md | 238 +++++++++++ src/MySql/docs/Remove-AzMySqlFirewallRule.md | 252 +++++++++++ .../docs/Remove-AzMySqlFlexibleServer.md | 236 ++++++++++ .../Remove-AzMySqlFlexibleServerDatabase.md | 252 +++++++++++ ...emove-AzMySqlFlexibleServerFirewallRule.md | 252 +++++++++++ src/MySql/docs/Remove-AzMySqlServer.md | 236 ++++++++++ .../docs/Remove-AzMySqlVirtualNetworkRule.md | 252 +++++++++++ .../docs/Restart-AzMySqlFlexibleServer.md | 236 ++++++++++ src/MySql/docs/Restart-AzMySqlServer.md | 236 ++++++++++ .../docs/Restore-AzMySqlFlexibleServer.md | 256 +++++++++++ src/MySql/docs/Restore-AzMySqlServer.md | 332 +++++++++++++++ src/MySql/docs/Start-AzMySqlFlexibleServer.md | 236 ++++++++++ src/MySql/docs/Stop-AzMySqlFlexibleServer.md | 236 ++++++++++ src/MySql/docs/Update-AzMySqlConfiguration.md | 273 ++++++++++++ src/MySql/docs/Update-AzMySqlFirewallRule.md | 312 ++++++++++++++ .../docs/Update-AzMySqlFlexibleServer.md | 387 +++++++++++++++++ ...date-AzMySqlFlexibleServerConfiguration.md | 307 +++++++++++++ .../Update-AzMySqlFlexibleServerDatabase.md | 271 ++++++++++++ ...pdate-AzMySqlFlexibleServerFirewallRule.md | 303 +++++++++++++ src/MySql/docs/Update-AzMySqlServer.md | 402 ++++++++++++++++++ .../docs/Update-AzMySqlVirtualNetworkRule.md | 289 +++++++++++++ src/PostgreSql/docs/Az.PostgreSql.md | 117 +++++ .../docs/Get-AzPostgreSqlConfiguration.md | 193 +++++++++ .../docs/Get-AzPostgreSqlConnectionString.md | 187 ++++++++ .../docs/Get-AzPostgreSqlFirewallRule.md | 193 +++++++++ .../docs/Get-AzPostgreSqlFlexibleServer.md | 193 +++++++++ ...AzPostgreSqlFlexibleServerConfiguration.md | 185 ++++++++ ...-AzPostgreSqlFlexibleServerFirewallRule.md | 194 +++++++++ .../docs/Get-AzPostgreSqlReplica.md | 111 +++++ src/PostgreSql/docs/Get-AzPostgreSqlServer.md | 191 +++++++++ .../Get-AzPostgreSqlVirtualNetworkRule.md | 208 +++++++++ .../docs/New-AzPostgreSqlFirewallRule.md | 284 +++++++++++++ .../docs/New-AzPostgreSqlFlexibleServer.md | 329 ++++++++++++++ ...-AzPostgreSqlFlexibleServerFirewallRule.md | 286 +++++++++++++ .../docs/New-AzPostgreSqlReplica.md | 263 ++++++++++++ src/PostgreSql/docs/New-AzPostgreSqlServer.md | 345 +++++++++++++++ .../New-AzPostgreSqlVirtualNetworkRule.md | 234 ++++++++++ .../docs/Remove-AzPostgreSqlFirewallRule.md | 251 +++++++++++ .../docs/Remove-AzPostgreSqlFlexibleServer.md | 235 ++++++++++ ...-AzPostgreSqlFlexibleServerFirewallRule.md | 251 +++++++++++ .../docs/Remove-AzPostgreSqlServer.md | 235 ++++++++++ .../Remove-AzPostgreSqlVirtualNetworkRule.md | 251 +++++++++++ .../Restart-AzPostgreSqlFlexibleServer.md | 235 ++++++++++ .../docs/Restart-AzPostgreSqlServer.md | 235 ++++++++++ .../Restore-AzPostgreSqlFlexibleServer.md | 218 ++++++++++ .../docs/Restore-AzPostgreSqlServer.md | 332 +++++++++++++++ .../docs/Start-AzPostgreSqlFlexibleServer.md | 235 ++++++++++ .../docs/Stop-AzPostgreSqlFlexibleServer.md | 235 ++++++++++ .../docs/Update-AzPostgreSqlConfiguration.md | 272 ++++++++++++ .../docs/Update-AzPostgreSqlFirewallRule.md | 312 ++++++++++++++ .../docs/Update-AzPostgreSqlFlexibleServer.md | 386 +++++++++++++++++ ...AzPostgreSqlFlexibleServerConfiguration.md | 305 +++++++++++++ ...-AzPostgreSqlFlexibleServerFirewallRule.md | 302 +++++++++++++ .../docs/Update-AzPostgreSqlServer.md | 401 +++++++++++++++++ .../Update-AzPostgreSqlVirtualNetworkRule.md | 288 +++++++++++++ 74 files changed, 18400 insertions(+) create mode 100644 src/MySql/docs/Az.MySql.md create mode 100644 src/MySql/docs/Get-AzMySqlConfiguration.md create mode 100644 src/MySql/docs/Get-AzMySqlConnectionString.md create mode 100644 src/MySql/docs/Get-AzMySqlFirewallRule.md create mode 100644 src/MySql/docs/Get-AzMySqlFlexibleServer.md create mode 100644 src/MySql/docs/Get-AzMySqlFlexibleServerConfiguration.md create mode 100644 src/MySql/docs/Get-AzMySqlFlexibleServerDatabase.md create mode 100644 src/MySql/docs/Get-AzMySqlFlexibleServerFirewallRule.md create mode 100644 src/MySql/docs/Get-AzMySqlFlexibleServerReplica.md create mode 100644 src/MySql/docs/Get-AzMySqlReplica.md create mode 100644 src/MySql/docs/Get-AzMySqlServer.md create mode 100644 src/MySql/docs/Get-AzMySqlVirtualNetworkRule.md create mode 100644 src/MySql/docs/New-AzMySqlFirewallRule.md create mode 100644 src/MySql/docs/New-AzMySqlFlexibleServer.md create mode 100644 src/MySql/docs/New-AzMySqlFlexibleServerDatabase.md create mode 100644 src/MySql/docs/New-AzMySqlFlexibleServerFirewallRule.md create mode 100644 src/MySql/docs/New-AzMySqlFlexibleServerReplica.md create mode 100644 src/MySql/docs/New-AzMySqlReplica.md create mode 100644 src/MySql/docs/New-AzMySqlServer.md create mode 100644 src/MySql/docs/New-AzMySqlVirtualNetworkRule.md create mode 100644 src/MySql/docs/Remove-AzMySqlFirewallRule.md create mode 100644 src/MySql/docs/Remove-AzMySqlFlexibleServer.md create mode 100644 src/MySql/docs/Remove-AzMySqlFlexibleServerDatabase.md create mode 100644 src/MySql/docs/Remove-AzMySqlFlexibleServerFirewallRule.md create mode 100644 src/MySql/docs/Remove-AzMySqlServer.md create mode 100644 src/MySql/docs/Remove-AzMySqlVirtualNetworkRule.md create mode 100644 src/MySql/docs/Restart-AzMySqlFlexibleServer.md create mode 100644 src/MySql/docs/Restart-AzMySqlServer.md create mode 100644 src/MySql/docs/Restore-AzMySqlFlexibleServer.md create mode 100644 src/MySql/docs/Restore-AzMySqlServer.md create mode 100644 src/MySql/docs/Start-AzMySqlFlexibleServer.md create mode 100644 src/MySql/docs/Stop-AzMySqlFlexibleServer.md create mode 100644 src/MySql/docs/Update-AzMySqlConfiguration.md create mode 100644 src/MySql/docs/Update-AzMySqlFirewallRule.md create mode 100644 src/MySql/docs/Update-AzMySqlFlexibleServer.md create mode 100644 src/MySql/docs/Update-AzMySqlFlexibleServerConfiguration.md create mode 100644 src/MySql/docs/Update-AzMySqlFlexibleServerDatabase.md create mode 100644 src/MySql/docs/Update-AzMySqlFlexibleServerFirewallRule.md create mode 100644 src/MySql/docs/Update-AzMySqlServer.md create mode 100644 src/MySql/docs/Update-AzMySqlVirtualNetworkRule.md create mode 100644 src/PostgreSql/docs/Az.PostgreSql.md create mode 100644 src/PostgreSql/docs/Get-AzPostgreSqlConfiguration.md create mode 100644 src/PostgreSql/docs/Get-AzPostgreSqlConnectionString.md create mode 100644 src/PostgreSql/docs/Get-AzPostgreSqlFirewallRule.md create mode 100644 src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerConfiguration.md create mode 100644 src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerFirewallRule.md create mode 100644 src/PostgreSql/docs/Get-AzPostgreSqlReplica.md create mode 100644 src/PostgreSql/docs/Get-AzPostgreSqlServer.md create mode 100644 src/PostgreSql/docs/Get-AzPostgreSqlVirtualNetworkRule.md create mode 100644 src/PostgreSql/docs/New-AzPostgreSqlFirewallRule.md create mode 100644 src/PostgreSql/docs/New-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSql/docs/New-AzPostgreSqlFlexibleServerFirewallRule.md create mode 100644 src/PostgreSql/docs/New-AzPostgreSqlReplica.md create mode 100644 src/PostgreSql/docs/New-AzPostgreSqlServer.md create mode 100644 src/PostgreSql/docs/New-AzPostgreSqlVirtualNetworkRule.md create mode 100644 src/PostgreSql/docs/Remove-AzPostgreSqlFirewallRule.md create mode 100644 src/PostgreSql/docs/Remove-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSql/docs/Remove-AzPostgreSqlFlexibleServerFirewallRule.md create mode 100644 src/PostgreSql/docs/Remove-AzPostgreSqlServer.md create mode 100644 src/PostgreSql/docs/Remove-AzPostgreSqlVirtualNetworkRule.md create mode 100644 src/PostgreSql/docs/Restart-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSql/docs/Restart-AzPostgreSqlServer.md create mode 100644 src/PostgreSql/docs/Restore-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSql/docs/Restore-AzPostgreSqlServer.md create mode 100644 src/PostgreSql/docs/Start-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSql/docs/Stop-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSql/docs/Update-AzPostgreSqlConfiguration.md create mode 100644 src/PostgreSql/docs/Update-AzPostgreSqlFirewallRule.md create mode 100644 src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServerConfiguration.md create mode 100644 src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServerFirewallRule.md create mode 100644 src/PostgreSql/docs/Update-AzPostgreSqlServer.md create mode 100644 src/PostgreSql/docs/Update-AzPostgreSqlVirtualNetworkRule.md diff --git a/src/MySql/docs/Az.MySql.md b/src/MySql/docs/Az.MySql.md new file mode 100644 index 000000000000..05063bbeb18d --- /dev/null +++ b/src/MySql/docs/Az.MySql.md @@ -0,0 +1,135 @@ +--- +Module Name: Az.MySql +Module Guid: ff8d0adb-f9fe-4353-b9ba-b3ed0b112e2f +Download Help Link: https://docs.microsoft.com/en-us/powershell/module/az.mysql +Help Version: 1.0.0.0 +Locale: en-US +--- + +# Az.MySql Module +## Description +Microsoft Azure PowerShell: MySql cmdlets + +## Az.MySql Cmdlets +### [Get-AzMySqlConfiguration](Get-AzMySqlConfiguration.md) +Gets information about a configuration of server. + +### [Get-AzMySqlConnectionString](Get-AzMySqlConnectionString.md) +Get the connection string according to client connection provider. + +### [Get-AzMySqlFirewallRule](Get-AzMySqlFirewallRule.md) +Gets information about a server firewall rule. + +### [Get-AzMySqlFlexibleServer](Get-AzMySqlFlexibleServer.md) +Gets information about a server. + +### [Get-AzMySqlFlexibleServerConfiguration](Get-AzMySqlFlexibleServerConfiguration.md) +Gets information about a configuration of server. + +### [Get-AzMySqlFlexibleServerDatabase](Get-AzMySqlFlexibleServerDatabase.md) +Gets information about a database. + +### [Get-AzMySqlFlexibleServerFirewallRule](Get-AzMySqlFlexibleServerFirewallRule.md) +Gets information about a server firewall rule. + +### [Get-AzMySqlFlexibleServerReplica](Get-AzMySqlFlexibleServerReplica.md) +List all the replicas for a given server. + +### [Get-AzMySqlReplica](Get-AzMySqlReplica.md) +List all the replicas for a given server. + +### [Get-AzMySqlServer](Get-AzMySqlServer.md) +Gets information about a server. + +### [Get-AzMySqlVirtualNetworkRule](Get-AzMySqlVirtualNetworkRule.md) +Gets a virtual network rule. + +### [New-AzMySqlFirewallRule](New-AzMySqlFirewallRule.md) +Creates a new firewall rule or updates an existing firewall rule. + +### [New-AzMySqlFlexibleServer](New-AzMySqlFlexibleServer.md) +Creates a new server. + +### [New-AzMySqlFlexibleServerDatabase](New-AzMySqlFlexibleServerDatabase.md) +Creates a new database or updates an existing database. + +### [New-AzMySqlFlexibleServerFirewallRule](New-AzMySqlFlexibleServerFirewallRule.md) +Creates a new firewall rule or updates an existing firewall rule. + +### [New-AzMySqlFlexibleServerReplica](New-AzMySqlFlexibleServerReplica.md) +Creates a new replica from an existing database. + +### [New-AzMySqlReplica](New-AzMySqlReplica.md) +Creates a new replica from an existing database. + +### [New-AzMySqlServer](New-AzMySqlServer.md) +Creates a new server. + +### [New-AzMySqlVirtualNetworkRule](New-AzMySqlVirtualNetworkRule.md) +Creates or updates an existing virtual network rule. + +### [Remove-AzMySqlFirewallRule](Remove-AzMySqlFirewallRule.md) +Deletes a server firewall rule. + +### [Remove-AzMySqlFlexibleServer](Remove-AzMySqlFlexibleServer.md) +Deletes a server. + +### [Remove-AzMySqlFlexibleServerDatabase](Remove-AzMySqlFlexibleServerDatabase.md) +Deletes a database. + +### [Remove-AzMySqlFlexibleServerFirewallRule](Remove-AzMySqlFlexibleServerFirewallRule.md) +Deletes a firewall rule. + +### [Remove-AzMySqlServer](Remove-AzMySqlServer.md) +Deletes a server. + +### [Remove-AzMySqlVirtualNetworkRule](Remove-AzMySqlVirtualNetworkRule.md) +Deletes the virtual network rule with the given name. + +### [Restart-AzMySqlFlexibleServer](Restart-AzMySqlFlexibleServer.md) +Restarts a server. + +### [Restart-AzMySqlServer](Restart-AzMySqlServer.md) +Restarts a server. + +### [Restore-AzMySqlFlexibleServer](Restore-AzMySqlFlexibleServer.md) +Restore a server from an existing backup + +### [Restore-AzMySqlServer](Restore-AzMySqlServer.md) +Restore a server from an existing backup + +### [Start-AzMySqlFlexibleServer](Start-AzMySqlFlexibleServer.md) +Starts a server. + +### [Stop-AzMySqlFlexibleServer](Stop-AzMySqlFlexibleServer.md) +Stops a server. + +### [Update-AzMySqlConfiguration](Update-AzMySqlConfiguration.md) +Updates a configuration of a server. +Use Update-AzMySqlServer instead if you want update AdministratorLoginPassword, sku, etc. + +### [Update-AzMySqlFirewallRule](Update-AzMySqlFirewallRule.md) +Creates a new firewall rule or updates an existing firewall rule. + +### [Update-AzMySqlFlexibleServer](Update-AzMySqlFlexibleServer.md) +Updates an existing server. +The request body can contain one to many of the properties present in the normal server definition. +Use Update-AzMySqlConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count. + +### [Update-AzMySqlFlexibleServerConfiguration](Update-AzMySqlFlexibleServerConfiguration.md) + + +### [Update-AzMySqlFlexibleServerDatabase](Update-AzMySqlFlexibleServerDatabase.md) +Creates a new database or updates an existing database. + +### [Update-AzMySqlFlexibleServerFirewallRule](Update-AzMySqlFlexibleServerFirewallRule.md) +Creates a new firewall rule or updates an existing firewall rule. + +### [Update-AzMySqlServer](Update-AzMySqlServer.md) +Updates an existing server. +The request body can contain one to many of the properties present in the normal server definition. +Use Update-AzMySqlConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count. + +### [Update-AzMySqlVirtualNetworkRule](Update-AzMySqlVirtualNetworkRule.md) +Creates or updates an existing virtual network rule. + diff --git a/src/MySql/docs/Get-AzMySqlConfiguration.md b/src/MySql/docs/Get-AzMySqlConfiguration.md new file mode 100644 index 000000000000..b84715b06202 --- /dev/null +++ b/src/MySql/docs/Get-AzMySqlConfiguration.md @@ -0,0 +1,191 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlconfiguration +schema: 2.0.0 +--- + +# Get-AzMySqlConfiguration + +## SYNOPSIS +Gets information about a configuration of server. + +## SYNTAX + +### List (Default) +``` +Get-AzMySqlConfiguration -ResourceGroupName -ServerName [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzMySqlConfiguration -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzMySqlConfiguration -InputObject [-DefaultProfile ] [] +``` + +## DESCRIPTION +Gets information about a configuration of server. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Get-AzMySqlConfiguration -ResourceGroupName PowershellMySqlTest -ServerName mysql-test +``` + +Name Type +---- ---- +audit_log_enabled Microsoft.DBforMySQL/servers/configurations +audit_log_events Microsoft.DBforMySQL/servers/configurations +audit_log_exclude_users Microsoft.DBforMySQL/servers/configurations +audit_log_include_users Microsoft.DBforMySQL/servers/configurations +... +transaction_prealloc_size Microsoft.DBforMySQL/servers/configurations +tx_isolation Microsoft.DBforMySQL/servers/configurations +updatable_views_with_limit Microsoft.DBforMySQL/servers/configurations +wait_timeout Microsoft.DBforMySQL/servers/configurations + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +Get-AzMySqlConfiguration -Name time_zone -ResourceGroupName PowershellMySqlTest -ServerName mysql-test +``` + +Name Type +---- ---- +time_zone Microsoft.DBforMySQL/servers/configurations + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server configuration. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: ConfigurationName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IConfiguration + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Get-AzMySqlConnectionString.md b/src/MySql/docs/Get-AzMySqlConnectionString.md new file mode 100644 index 000000000000..f6e1ef6f8d5e --- /dev/null +++ b/src/MySql/docs/Get-AzMySqlConnectionString.md @@ -0,0 +1,187 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlconnectionstring +schema: 2.0.0 +--- + +# Get-AzMySqlConnectionString + +## SYNOPSIS +Get the connection string according to client connection provider. + +## SYNTAX + +### Get (Default) +``` +Get-AzMySqlConnectionString -Client -Name -ResourceGroupName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzMySqlConnectionString -Client -InputObject [-DefaultProfile ] + [] +``` + +## DESCRIPTION +Get the connection string according to client connection provider. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Get-AzMySqlConnectionString -Client ADO.NET -Name mysql-test -ResourceGroupName PowershellMySqlTest +``` + +Server=mysql-test.mysql.database.azure.com; Port=3306; Database={your_database}; Uid=mysql_test@mysql-test; Pwd={your_password}; + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +Get-AzMySqlServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test | Get-AzMySqlConnectionString -Client PHP +``` + +$con=mysqli_init(); mysqli_real_connect($con, "mysql-test.mysql.database.azure.com", "mysql_test@mysql-test", {your_password}, {your_database}, 3306); + +## PARAMETERS + +### -Client +Client connection provider. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +The source server object to create replica from. +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The subscription ID that identifies an Azure subscription. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer + +## OUTPUTS + +### System.String + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : The source server object to create replica from. + - `Location `: The geo-location where the resource lives + - `SkuName `: The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. + - `[Tag ]`: Resource tags. + - `[(Any) ]`: This indicates any property can be added to this object. + - `[AdministratorLogin ]`: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). + - `[EarliestRestoreDate ]`: Earliest restore point creation time (ISO8601 format) + - `[FullyQualifiedDomainName ]`: The fully qualified domain name of a server. + - `[IdentityType ]`: The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. + - `[InfrastructureEncryption ]`: Status showing whether the server enabled infrastructure encryption. + - `[MasterServerId ]`: The master server id of a replica server. + - `[MinimalTlsVersion ]`: Enforce a minimal Tls version for the server. + - `[PublicNetworkAccess ]`: Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' + - `[ReplicaCapacity ]`: The maximum number of replicas that a master server can have. + - `[ReplicationRole ]`: The replication role of the server. + - `[SkuCapacity ]`: The scale up/out capacity, representing server's compute units. + - `[SkuFamily ]`: The family of hardware. + - `[SkuSize ]`: The size code, to be interpreted by resource as appropriate. + - `[SkuTier ]`: The tier of the particular SKU, e.g. Basic. + - `[SslEnforcement ]`: Enable ssl enforcement or not when connect to server. + - `[StorageProfileBackupRetentionDay ]`: Backup retention days for the server. + - `[StorageProfileGeoRedundantBackup ]`: Enable Geo-redundant or not for server backup. + - `[StorageProfileStorageAutogrow ]`: Enable Storage Auto Grow. + - `[StorageProfileStorageMb ]`: Max storage allowed for a server. + - `[UserVisibleState ]`: A state of a server that is visible to user. + - `[Version ]`: Server version. + +## RELATED LINKS + diff --git a/src/MySql/docs/Get-AzMySqlFirewallRule.md b/src/MySql/docs/Get-AzMySqlFirewallRule.md new file mode 100644 index 000000000000..ccd9d89b752a --- /dev/null +++ b/src/MySql/docs/Get-AzMySqlFirewallRule.md @@ -0,0 +1,193 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlfirewallrule +schema: 2.0.0 +--- + +# Get-AzMySqlFirewallRule + +## SYNOPSIS +Gets information about a server firewall rule. + +## SYNTAX + +### List (Default) +``` +Get-AzMySqlFirewallRule -ResourceGroupName -ServerName [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzMySqlFirewallRule -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzMySqlFirewallRule -InputObject [-DefaultProfile ] [] +``` + +## DESCRIPTION +Gets information about a server firewall rule. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Get-AzMySqlFirewallRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test +``` + +Name Type +---- ---- +rule Microsoft.DBforMySQL/servers/firewallRules + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +Get-AzMySqlFirewallRule -Name rule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test +``` + +Name Type +---- ---- +rule Microsoft.DBforMySQL/servers/firewallRules + +### -------------------------- EXAMPLE 3 -------------------------- +```powershell +$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/firewallRules/rule" +PS C:\> Get-AzMySqlFirewallRule -InputObject $ID +``` + +Name Type +---- ---- +rule Microsoft.DBforMySQL/servers/firewallRules + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server firewall rule. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: FirewallRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServer.md b/src/MySql/docs/Get-AzMySqlFlexibleServer.md new file mode 100644 index 000000000000..2ed58b2e9333 --- /dev/null +++ b/src/MySql/docs/Get-AzMySqlFlexibleServer.md @@ -0,0 +1,193 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserver +schema: 2.0.0 +--- + +# Get-AzMySqlFlexibleServer + +## SYNOPSIS +Gets information about a server. + +## SYNTAX + +### List1 (Default) +``` +Get-AzMySqlFlexibleServer [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzMySqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzMySqlFlexibleServer -InputObject [-DefaultProfile ] [] +``` + +### List +``` +Get-AzMySqlFlexibleServer -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +## DESCRIPTION +Gets information about a server. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Get-AzMySqlFlexibleServer +``` + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +mysql-test-11 westus2 mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Name mysql-test +``` + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +mysql-test westus2 mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose + +### -------------------------- EXAMPLE 3 -------------------------- +```powershell +Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest +``` + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +mysql-test-11 westus2 mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose +mysql-test-12 westus2 mysql_test2 5.7 5120 Standard_D2ds_v4 GeneralPurpose + +### -------------------------- EXAMPLE 4 -------------------------- +```powershell +$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test" +PS C:\> Get-AzMySqlFlexibleServer -InputObject $ID +``` + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +mysql-test westus2 mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: Get, List, List1 +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServerConfiguration.md b/src/MySql/docs/Get-AzMySqlFlexibleServerConfiguration.md new file mode 100644 index 000000000000..ba9e1456988a --- /dev/null +++ b/src/MySql/docs/Get-AzMySqlFlexibleServerConfiguration.md @@ -0,0 +1,196 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserverconfiguration +schema: 2.0.0 +--- + +# Get-AzMySqlFlexibleServerConfiguration + +## SYNOPSIS +Gets information about a configuration of server. + +## SYNTAX + +### List (Default) +``` +Get-AzMySqlFlexibleServerConfiguration -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzMySqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzMySqlFlexibleServerConfiguration -InputObject [-DefaultProfile ] + [] +``` + +## DESCRIPTION +Gets information about a configuration of server. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Get-AzMySqlFlexibleServerConfiguration -ResourceGroupName PowershellMySqlTest -ServerName mysql-test +``` + +Name Value DefaultValue Source AllowedValues DataType +---- ------ ------------ ------- ------------- --------- +archive OFF OFF system-default ON, OFF Enumeration +... +wait_timeout 28800 28800 system-default 1-31536000 Integer + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +Get-AzMySqlFlexibleServerConfiguration -Name wait_timeout -ResourceGroupName PowershellMySqlTest -ServerName mysql-test +``` + +Name Value DefaultValue Source AllowedValues DataType +---- ------ ------------ ------- ------------- --------- +wait_timeout 28800 28800 system-default 1-31536000 Integer + +### -------------------------- EXAMPLE 3 -------------------------- +```powershell +$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/configurations/wait_timeout" +Get-AzMySqlFlexibleServerConfiguration -Name wait_timeout -ResourceGroupName PowershellMySqlTest -ServerName mysql-test +``` + +Name Value DefaultValue Source AllowedValues DataType +---- ------ ------------ ------- ------------- --------- +wait_timeout 28800 28800 system-default 1-31536000 Integer + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server configuration. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: ConfigurationName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IConfigurationAutoGenerated + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServerDatabase.md b/src/MySql/docs/Get-AzMySqlFlexibleServerDatabase.md new file mode 100644 index 000000000000..1f158005b410 --- /dev/null +++ b/src/MySql/docs/Get-AzMySqlFlexibleServerDatabase.md @@ -0,0 +1,196 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserverdatabase +schema: 2.0.0 +--- + +# Get-AzMySqlFlexibleServerDatabase + +## SYNOPSIS +Gets information about a database. + +## SYNTAX + +### List (Default) +``` +Get-AzMySqlFlexibleServerDatabase -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzMySqlFlexibleServerDatabase -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzMySqlFlexibleServerDatabase -InputObject [-DefaultProfile ] + [] +``` + +## DESCRIPTION +Gets information about a database. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Get-AzMySqlFlexibleServerDatabase -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -Name flexibleserverdb +``` + +Name Charset Collation +---- -------- ------------------ +flexibleserverdb latin1 latin1_swedish_ci + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test" +PS C:\> Get-AzMySqlFlexibleServerDatabase -InputObject $ID +``` + +Name Charset Collation +---- -------- ------------------ +flexibleserverdb latin1 latin1_swedish_ci +performance_schema latin1 latin1_swedish_ci + +### -------------------------- EXAMPLE 3 -------------------------- +```powershell +Get-AzMySqlFlexibleServerDatabase -ResourceGroupName PowershellMySqlTest -ServerName mysql-test +``` + +Name Charset Collation +---- -------- ------------------ +flexibleserverdb latin1 latin1_swedish_ci +performance_schema latin1 latin1_swedish_ci + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the database. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: DatabaseName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IDatabase + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServerFirewallRule.md b/src/MySql/docs/Get-AzMySqlFlexibleServerFirewallRule.md new file mode 100644 index 000000000000..5e3bce2f191c --- /dev/null +++ b/src/MySql/docs/Get-AzMySqlFlexibleServerFirewallRule.md @@ -0,0 +1,195 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserverfirewallrule +schema: 2.0.0 +--- + +# Get-AzMySqlFlexibleServerFirewallRule + +## SYNOPSIS +Gets information about a server firewall rule. + +## SYNTAX + +### List (Default) +``` +Get-AzMySqlFlexibleServerFirewallRule -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzMySqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzMySqlFlexibleServerFirewallRule -InputObject [-DefaultProfile ] + [] +``` + +## DESCRIPTION +Gets information about a server firewall rule. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Get-AzMySqlFlexibleServerFirewallRule -Name firewallrule-test -ResourceGroupName PowershellMySqlTest -ServerName mysql-test +``` + +FirewallRuleName StartIPAddress EndIPAddress +----------------- --------------- --------------- +firewallrule-test 12.12.12.12 23.23.23.23 + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/servers/mysql-test/firewallRules/firewallrule-test" +PS C:\> Get-AzMySqlFlexibleServerFirewallRule -InputObject $ID +``` + +FirewallRuleName StartIPAddress EndIPAddress +----------------- --------------- --------------- +firewallrule-test 12.12.12.12 23.23.23.23 + +### -------------------------- EXAMPLE 3 -------------------------- +```powershell +Get-AzMySqlFlexibleServerFirewallRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test +``` + +FirewallRuleName StartIPAddress EndIPAddress +----------------- --------------- --------------- +firewallrule-test 12.12.12.12 23.23.23.23 +firewallrule-test2 12.12.12.15 23.23.23.25 + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server firewall rule. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: FirewallRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServerReplica.md b/src/MySql/docs/Get-AzMySqlFlexibleServerReplica.md new file mode 100644 index 000000000000..e2c80cb826e9 --- /dev/null +++ b/src/MySql/docs/Get-AzMySqlFlexibleServerReplica.md @@ -0,0 +1,111 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserverreplica +schema: 2.0.0 +--- + +# Get-AzMySqlFlexibleServerReplica + +## SYNOPSIS +List all the replicas for a given server. + +## SYNTAX + +``` +Get-AzMySqlFlexibleServerReplica -ResourceGroupName -ServerName [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +## DESCRIPTION +List all the replicas for a given server. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Get-AzMySqlFlexibleServerReplica -ResourceGroupName PowershellMySqlTest -ServerName mysql-test +``` + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +mysql-test westus2 mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated + +## NOTES + +ALIASES + +## RELATED LINKS + diff --git a/src/MySql/docs/Get-AzMySqlReplica.md b/src/MySql/docs/Get-AzMySqlReplica.md new file mode 100644 index 000000000000..74fa83cc0539 --- /dev/null +++ b/src/MySql/docs/Get-AzMySqlReplica.md @@ -0,0 +1,111 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlreplica +schema: 2.0.0 +--- + +# Get-AzMySqlReplica + +## SYNOPSIS +List all the replicas for a given server. + +## SYNTAX + +``` +Get-AzMySqlReplica -ResourceGroupName -ServerName [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +## DESCRIPTION +List all the replicas for a given server. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Get-AzMySqlReplica -ResourceGroupName PowershellMySqlTest -ServerName mysql-test +``` + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement +---- -------- ------------------ ------- ----------------------- ------- ------- -------------- +mysql-test-replica eastus mysql_test 5.7 10240 GP_Gen5_4 GeneralPurpose Disabled + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer + +## NOTES + +ALIASES + +## RELATED LINKS + diff --git a/src/MySql/docs/Get-AzMySqlServer.md b/src/MySql/docs/Get-AzMySqlServer.md new file mode 100644 index 000000000000..15f01a8546ec --- /dev/null +++ b/src/MySql/docs/Get-AzMySqlServer.md @@ -0,0 +1,192 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlserver +schema: 2.0.0 +--- + +# Get-AzMySqlServer + +## SYNOPSIS +Gets information about a server. + +## SYNTAX + +### List1 (Default) +``` +Get-AzMySqlServer [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzMySqlServer -Name -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzMySqlServer -InputObject [-DefaultProfile ] [] +``` + +### List +``` +Get-AzMySqlServer -ResourceGroupName [-SubscriptionId ] [-DefaultProfile ] + [] +``` + +## DESCRIPTION +Gets information about a server. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Get-AzMySqlServer +``` + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement +---- -------- ------------------ ------- ----------------------- ------- ------- -------------- +mysql-test-11 eastus mysql_test 5.7 5120 GP_Gen5_4 GeneralPurpose Enabled + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +Get-AzMySqlServer -ResourceGroupName PowershellMySqlTest -Name mysql-test +``` + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement +---- -------- ------------------ ------- ----------------------- ------- ------- -------------- +mysql-test eastus mysql_test 5.7 5120 GP_Gen5_4 GeneralPurpose Enabled + +### -------------------------- EXAMPLE 3 -------------------------- +```powershell +Get-AzMySqlServer -ResourceGroupName PowershellMySqlTest +``` + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement +---- -------- ------------------ ------- ----------------------- ------- ------- ------------ +mysql-test eastus mysql_test 5.7 5120 GP_Gen5_4 GeneralPurpose Enabled + +### -------------------------- EXAMPLE 4 -------------------------- +```powershell +$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test" +PS C:\> Get-AzMySqlServer -InputObject $ID +``` + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement +---- -------- ------------------ ------- ----------------------- ------- ------- ------------ +mysql-test eastus mysql_test 5.7 5120 GP_Gen5_4 GeneralPurpose Enabled + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: Get, List, List1 +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Get-AzMySqlVirtualNetworkRule.md b/src/MySql/docs/Get-AzMySqlVirtualNetworkRule.md new file mode 100644 index 000000000000..02b7ea074d32 --- /dev/null +++ b/src/MySql/docs/Get-AzMySqlVirtualNetworkRule.md @@ -0,0 +1,209 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlvirtualnetworkrule +schema: 2.0.0 +--- + +# Get-AzMySqlVirtualNetworkRule + +## SYNOPSIS +Gets a virtual network rule. + +## SYNTAX + +### List (Default) +``` +Get-AzMySqlVirtualNetworkRule -ResourceGroupName -ServerName [-SubscriptionId ] + [-DefaultProfile ] [-PassThru] [] +``` + +### Get +``` +Get-AzMySqlVirtualNetworkRule -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-PassThru] [] +``` + +### GetViaIdentity +``` +Get-AzMySqlVirtualNetworkRule -InputObject [-DefaultProfile ] [-PassThru] + [] +``` + +## DESCRIPTION +Gets a virtual network rule. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Get-AzMySqlVirtualNetworkRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test +``` + +Name Type +---- ---- +vnet Microsoft.DBforMySQL/servers/virtualNetworkRules + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +Get-AzMySqlVirtualNetworkRule -Name vnet -ResourceGroupName PowershellMySqlTest -ServerName mysql-test +``` + +Name Type +---- ---- +vnet Microsoft.DBforMySQL/servers/virtualNetworkRules + +### -------------------------- EXAMPLE 3 -------------------------- +```powershell +$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/virtualNetworkRules/vnet" +PS C:\> Get-AzMySqlVirtualNetworkRule -InputObject $ID +``` + +Name Type +---- ---- +vnet Microsoft.DBforMySQL/servers/virtualNetworkRules + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the virtual network rule. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: VirtualNetworkRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IVirtualNetworkRule + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/New-AzMySqlFirewallRule.md b/src/MySql/docs/New-AzMySqlFirewallRule.md new file mode 100644 index 000000000000..cdcc314e3cf1 --- /dev/null +++ b/src/MySql/docs/New-AzMySqlFirewallRule.md @@ -0,0 +1,286 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlfirewallrule +schema: 2.0.0 +--- + +# New-AzMySqlFirewallRule + +## SYNOPSIS +Creates a new firewall rule or updates an existing firewall rule. + +## SYNTAX + +### CreateExpanded (Default) +``` +New-AzMySqlFirewallRule -ResourceGroupName -ServerName -EndIPAddress + -StartIPAddress [-Name ] [-SubscriptionId ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### AllowAll +``` +New-AzMySqlFirewallRule -ResourceGroupName -ServerName -AllowAll [-Name ] + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### ClientIPAddress +``` +New-AzMySqlFirewallRule -ResourceGroupName -ServerName -ClientIPAddress + [-Name ] [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Creates a new firewall rule or updates an existing firewall rule. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +New-AzMySqlFirewallRule -Name rule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 +``` + +Name StartIPAddress EndIPAddress +---- -------------- ------------ +rule 0.0.0.0 0.0.0.1 + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +New-AzMySqlFirewallRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -ClientIPAddress 0.0.0.1 +``` + +Name StartIPAddress EndIPAddress +---- -------------- ------------ +ClientIPAddress_2020-08-11_18-19-27 0.0.0.1 0.0.0.1 + +### -------------------------- EXAMPLE 3 -------------------------- +```powershell +New-AzMySqlFirewallRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -AllowAll +``` + +Name StartIPAddress EndIPAddress +---- -------------- ------------ +AllowAll_2020-08-11_18-19-27 0.0.0.0 255.255.255.255 + +## PARAMETERS + +### -AllowAll +Present to allow all range IPs, from 0.0.0.0 to 255.255.255.255. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: AllowAll +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClientIPAddress +Client specified single IP of the server firewall rule. +Must be IPv4 format. + +```yaml +Type: System.String +Parameter Sets: ClientIPAddress +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EndIPAddress +The end IP address of the server firewall rule. +Must be IPv4 format. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the server firewall rule. +If not specified, the default is undefined. +If AllowAll is present, the default name is AllowAll_yyyy-MM-dd_HH-mm-ss. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: FirewallRuleName + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StartIPAddress +The start IP address of the server firewall rule. +Must be IPv4 format. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule + +## NOTES + +ALIASES + +## RELATED LINKS + diff --git a/src/MySql/docs/New-AzMySqlFlexibleServer.md b/src/MySql/docs/New-AzMySqlFlexibleServer.md new file mode 100644 index 000000000000..4043c69514cd --- /dev/null +++ b/src/MySql/docs/New-AzMySqlFlexibleServer.md @@ -0,0 +1,329 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlflexibleserver +schema: 2.0.0 +--- + +# New-AzMySqlFlexibleServer + +## SYNOPSIS +Creates a new server. + +## SYNTAX + +``` +New-AzMySqlFlexibleServer -Name -ResourceGroupName + -AdministratorLoginPassword -AdministratorUserName [-SubscriptionId ] + [-BackupRetentionDay ] [-Location ] [-Sku ] [-SkuTier ] [-StorageInMb ] + [-Tag ] [-Version ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Creates a new server. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +$password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force +PS C:\> New-AzMySqlFlexibleServer -Name mysql-test -ResourceGroupName PowershellMySqlTest \ +-Location eastus -AdministratorUserName mysqltest -AdministratorLoginPassword $password -Sku Standard_B1ms -SkuTier Burstable -Version 12 -StorageInMb 10240 +``` + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ------------ ------------- +mysql-test WestUS 2 mysqltest 5.7 10240 Standard_B1ms Burstable + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +$password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force +PS C:\> New-AzMySqlFlexibleServer -Name mysql-test -ResourceGroupName PowershellMySqlTest \ +-AdministratorUserName mysqltest -AdministratorLoginPassword $password +``` + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ------------ ------------- +mysql-test West US 2 mysqltest 5.7 131072 Standard_B1ms Burstable + +## PARAMETERS + +### -AdministratorLoginPassword +The password of the administrator. +Minimum 8 characters and maximum 128 characters. +Password must contain characters from three of the following categories: English uppercase letters, English lowercase letters, numbers, and non-alphanumeric characters. + +```yaml +Type: System.Security.SecureString +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AdministratorUserName +Administrator username for the server. +Once set, it cannot be changed. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -BackupRetentionDay +Backup retention days for the server. +Day count is between 7 and 35. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Location +The location the resource resides in. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Sku +The name of the sku, typically, tier + family + cores, e.g. +Standard_B1ms, Standard_D2ds_v4. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkuTier +Compute tier of the server. +Accepted values: Burstable, GeneralPurpose, Memory Optimized. +Default: Burstable. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageInMb +Max storage allowed for a server. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The subscription ID that identifies an Azure subscription. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tag +Application-specific metadata in the form of key-value pairs. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Version +Server version. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerVersion +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated + +## NOTES + +ALIASES + +## RELATED LINKS + diff --git a/src/MySql/docs/New-AzMySqlFlexibleServerDatabase.md b/src/MySql/docs/New-AzMySqlFlexibleServerDatabase.md new file mode 100644 index 000000000000..6b11674e026b --- /dev/null +++ b/src/MySql/docs/New-AzMySqlFlexibleServerDatabase.md @@ -0,0 +1,261 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlflexibleserverdatabase +schema: 2.0.0 +--- + +# New-AzMySqlFlexibleServerDatabase + +## SYNOPSIS +Creates a new database or updates an existing database. + +## SYNTAX + +### CreateExpanded (Default) +``` +New-AzMySqlFlexibleServerDatabase -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-Charset ] [-Collation ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CreateViaIdentityExpanded +``` +New-AzMySqlFlexibleServerDatabase -InputObject [-Charset ] [-Collation ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Creates a new database or updates an existing database. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +New-AzMySqlFlexibleServerDatabase -Name databasetest -ResourceGroupName PowershellMySqlTest -ServerName mysql-test +``` + +Name Charset Collation +---- -------- ------------------ +databasetest latin1 latin1_swedish_ci + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Charset +The charset of the database. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Collation +The collation of the database. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: CreateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the database. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: DatabaseName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IDatabase + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/New-AzMySqlFlexibleServerFirewallRule.md b/src/MySql/docs/New-AzMySqlFlexibleServerFirewallRule.md new file mode 100644 index 000000000000..37b8088d97f6 --- /dev/null +++ b/src/MySql/docs/New-AzMySqlFlexibleServerFirewallRule.md @@ -0,0 +1,286 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlflexibleserverfirewallrule +schema: 2.0.0 +--- + +# New-AzMySqlFlexibleServerFirewallRule + +## SYNOPSIS +Creates a new firewall rule or updates an existing firewall rule. + +## SYNTAX + +### CreateExpanded (Default) +``` +New-AzMySqlFlexibleServerFirewallRule -ResourceGroupName -ServerName -EndIPAddress + -StartIPAddress [-Name ] [-SubscriptionId ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### AllowAll +``` +New-AzMySqlFlexibleServerFirewallRule -ResourceGroupName -ServerName -AllowAll + [-Name ] [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### ClientIPAddress +``` +New-AzMySqlFlexibleServerFirewallRule -ResourceGroupName -ServerName + -ClientIPAddress [-Name ] [-SubscriptionId ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Creates a new firewall rule or updates an existing firewall rule. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +New-AzMySqlFlexibleServerFirewallRule -Name firewallrule-test -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 +``` + +Name StartIPAddress EndIPAddress +----------------- -------------- ------------ +firewallrule-test 0.0.0.0 0.0.0.1 + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +New-AzMySqlFlexibleServerFirewallRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -ClientIPAddress 0.0.0.1 +``` + +Name StartIPAddress EndIPAddress +---- -------------- ------------ +ClientIPAddress_2020-08-11_18-19-27 0.0.0.1 0.0.0.1 + +### -------------------------- EXAMPLE 3 -------------------------- +```powershell +New-AzMySqlFlexibleServerFirewallRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -AllowAll +``` + +Name StartIPAddress EndIPAddress +---- -------------- ------------ +AllowAll_2020-08-11_18-19-27 0.0.0.0 255.255.255.255 + +## PARAMETERS + +### -AllowAll +Present to allow all range IPs, from 0.0.0.0 to 255.255.255.255. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: AllowAll +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClientIPAddress +Client specified single IP of the server firewall rule. +Must be IPv4 format. + +```yaml +Type: System.String +Parameter Sets: ClientIPAddress +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EndIPAddress +The end IP address of the server firewall rule. +Must be IPv4 format. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the server firewall rule. +If not specified, the default is undefined. +If AllowAll is present, the default name is AllowAll_yyyy-MM-dd_HH-mm-ss. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: FirewallRuleName + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StartIPAddress +The start IP address of the server firewall rule. +Must be IPv4 format. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule + +## NOTES + +ALIASES + +## RELATED LINKS + diff --git a/src/MySql/docs/New-AzMySqlFlexibleServerReplica.md b/src/MySql/docs/New-AzMySqlFlexibleServerReplica.md new file mode 100644 index 000000000000..2c5faab017af --- /dev/null +++ b/src/MySql/docs/New-AzMySqlFlexibleServerReplica.md @@ -0,0 +1,235 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlflexibleserverreplica +schema: 2.0.0 +--- + +# New-AzMySqlFlexibleServerReplica + +## SYNOPSIS +Creates a new replica from an existing database. + +## SYNTAX + +``` +New-AzMySqlFlexibleServerReplica -Replica -ResourceGroupName -Master + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Creates a new replica from an existing database. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test | New-AzMySqlFlexibleServerReplica -Replica mysql-test-replica -ResourceGroupName PowershellMySqlTest +``` + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ------- ------- +mysql-test-replica westus2 mysql_test 5.7 10240 Standard_B1ms Burstable + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +$mysql = Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test +PS C:\> New-AzMySqlFlexibleServerReplica -Master $mysql -Replica mysql-test-replica -ResourceGroupName PowershellMySqlTest +``` + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ------- ------- +mysql-test-replica westus2 mysql_test 5.7 10240 Standard_B1ms Burstable + +## PARAMETERS + +### -AsJob +Run the command as a job. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Master +The source server object to create replica from. +To construct, see NOTES section for MASTER properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated +Parameter Sets: (All) +Aliases: InputObject + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Replica +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: ReplicaServerName, Name + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The subscription ID that identifies an Azure subscription. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +MASTER : The source server object to create replica from. + - `Location `: The geo-location where the resource lives + - `SkuName `: The name of the sku, e.g. Standard_D32s_v3. + - `SkuTier `: The tier of the particular SKU, e.g. GeneralPurpose. + - `[Tag ]`: Resource tags. + - `[(Any) ]`: This indicates any property can be added to this object. + - `[AdministratorLogin ]`: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). + - `[AdministratorLoginPassword ]`: The password of the administrator login (required for server creation). + - `[AvailabilityZone ]`: availability Zone information of the server. + - `[CreateMode ]`: The mode to create a new MySQL server. + - `[DelegatedSubnetArgumentSubnetArmResourceId ]`: delegated subnet arm resource id. + - `[HaEnabled ]`: Enable HA or not for a server. + - `[IdentityType ]`: The identity type. + - `[InfrastructureEncryption ]`: Status showing whether the server enabled infrastructure encryption. + - `[MaintenanceWindowCustomWindow ]`: indicates whether custom window is enabled or disabled + - `[MaintenanceWindowDayOfWeek ]`: day of week for maintenance window + - `[MaintenanceWindowStartHour ]`: start hour for maintenance window + - `[MaintenanceWindowStartMinute ]`: start minute for maintenance window + - `[PropertiesTag ]`: Application-specific metadata in the form of key-value pairs. + - `[(Any) ]`: This indicates any property can be added to this object. + - `[ReplicationRole ]`: The replication role. + - `[RestorePointInTime ]`: Restore point creation time (ISO8601 format), specifying the time to restore from. + - `[SourceServerId ]`: The source MySQL server id. + - `[SslEnforcement ]`: Enable ssl enforcement or not when connect to server. + - `[StorageProfileBackupRetentionDay ]`: Backup retention days for the server. + - `[StorageProfileStorageAutogrow ]`: Enable Storage Auto Grow. + - `[StorageProfileStorageIop ]`: Storage IOPS for a server. + - `[StorageProfileStorageMb ]`: Max storage allowed for a server. + - `[Version ]`: Server version. + +## RELATED LINKS + diff --git a/src/MySql/docs/New-AzMySqlReplica.md b/src/MySql/docs/New-AzMySqlReplica.md new file mode 100644 index 000000000000..44bfdeadd23e --- /dev/null +++ b/src/MySql/docs/New-AzMySqlReplica.md @@ -0,0 +1,263 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlreplica +schema: 2.0.0 +--- + +# New-AzMySqlReplica + +## SYNOPSIS +Creates a new replica from an existing database. + +## SYNTAX + +``` +New-AzMySqlReplica -Replica -ResourceGroupName -Master [-SubscriptionId ] + [-Location ] [-Sku ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Creates a new replica from an existing database. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Get-AzMySqlServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test | New-AzMySqlReplica -Replica mysql-test-replica -ResourceGroupName PowershellMySqlTest +``` + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement +---- -------- ------------------ ------- ----------------------- ------- ------- -------------- +mysql-test-replica eastus mysql_test 5.7 10240 GP_Gen5_4 GeneralPurpose Disabled + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +$mysql = Get-AzMySqlServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test +PS C:\> New-AzMySqlReplica -Master $mysql -Replica mysql-test-replica -ResourceGroupName PowershellMySqlTest +``` + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement +---- -------- ------------------ ------- ----------------------- ------- ------- -------------- +mysql-test-replica eastus mysql_test 5.7 10240 GP_Gen5_4 GeneralPurpose Disabled + +## PARAMETERS + +### -AsJob +Run the command as a job. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Location +The location the resource resides in. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Master +The source server object to create replica from. +To construct, see NOTES section for MASTER properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer +Parameter Sets: (All) +Aliases: InputObject + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Replica +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: ReplicaServerName, Name + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Sku +The name of the sku, typically, tier + family + cores, e.g. +B_Gen4_1, GP_Gen5_8. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The subscription ID that identifies an Azure subscription. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +MASTER : The source server object to create replica from. + - `Location `: The geo-location where the resource lives + - `SkuName `: The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. + - `[Tag ]`: Resource tags. + - `[(Any) ]`: This indicates any property can be added to this object. + - `[AdministratorLogin ]`: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). + - `[EarliestRestoreDate ]`: Earliest restore point creation time (ISO8601 format) + - `[FullyQualifiedDomainName ]`: The fully qualified domain name of a server. + - `[IdentityType ]`: The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. + - `[InfrastructureEncryption ]`: Status showing whether the server enabled infrastructure encryption. + - `[MasterServerId ]`: The master server id of a replica server. + - `[MinimalTlsVersion ]`: Enforce a minimal Tls version for the server. + - `[PublicNetworkAccess ]`: Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' + - `[ReplicaCapacity ]`: The maximum number of replicas that a master server can have. + - `[ReplicationRole ]`: The replication role of the server. + - `[SkuCapacity ]`: The scale up/out capacity, representing server's compute units. + - `[SkuFamily ]`: The family of hardware. + - `[SkuSize ]`: The size code, to be interpreted by resource as appropriate. + - `[SkuTier ]`: The tier of the particular SKU, e.g. Basic. + - `[SslEnforcement ]`: Enable ssl enforcement or not when connect to server. + - `[StorageProfileBackupRetentionDay ]`: Backup retention days for the server. + - `[StorageProfileGeoRedundantBackup ]`: Enable Geo-redundant or not for server backup. + - `[StorageProfileStorageAutogrow ]`: Enable Storage Auto Grow. + - `[StorageProfileStorageMb ]`: Max storage allowed for a server. + - `[UserVisibleState ]`: A state of a server that is visible to user. + - `[Version ]`: Server version. + +## RELATED LINKS + diff --git a/src/MySql/docs/New-AzMySqlServer.md b/src/MySql/docs/New-AzMySqlServer.md new file mode 100644 index 000000000000..b34b79bd95fd --- /dev/null +++ b/src/MySql/docs/New-AzMySqlServer.md @@ -0,0 +1,345 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlserver +schema: 2.0.0 +--- + +# New-AzMySqlServer + +## SYNOPSIS +Creates a new server. + +## SYNTAX + +``` +New-AzMySqlServer -Name -ResourceGroupName -AdministratorLoginPassword + -AdministratorUserName -Location -Sku [-SubscriptionId ] + [-BackupRetentionDay ] [-GeoRedundantBackup ] + [-SslEnforcement ] [-StorageAutogrow ] [-StorageInMb ] + [-Tag ] [-Version ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Creates a new server. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +New-AzMySqlServer -Name mysql-test -ResourceGroupName PowershellMySqlTest -Location eastus -AdministratorUser mysql_test -AdministratorLoginPassword $password -Sku GP_Gen5_4 +``` + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement +---- -------- ------------------ ------- ----------------------- ------- ------- ------------ +mysql-test eastus mysql_test 5.7 5120 GP_Gen5_4 GeneralPurpose Enabled + +## PARAMETERS + +### -AdministratorLoginPassword +The password of the administrator. +Minimum 8 characters and maximum 128 characters. +Password must contain characters from three of the following categories: English uppercase letters, English lowercase letters, numbers, and non-alphanumeric characters. + +```yaml +Type: System.Security.SecureString +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AdministratorUserName +Administrator username for the server. +Once set, it cannot be changed. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -BackupRetentionDay +Backup retention days for the server. +Day count is between 7 and 35. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GeoRedundantBackup +Enable Geo-redundant or not for server backup. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.GeoRedundantBackup +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Location +The location the resource resides in. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Sku +The name of the sku, typically, tier + family + cores, e.g. +B_Gen4_1, GP_Gen5_8. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SslEnforcement +Enable ssl enforcement or not when connect to server. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SslEnforcementEnum +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageAutogrow +Enable Storage Auto Grow. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageInMb +Max storage allowed for a server. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The subscription ID that identifies an Azure subscription. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tag +Application-specific metadata in the form of key-value pairs. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Version +Server version. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerVersion +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer + +## NOTES + +ALIASES + +## RELATED LINKS + diff --git a/src/MySql/docs/New-AzMySqlVirtualNetworkRule.md b/src/MySql/docs/New-AzMySqlVirtualNetworkRule.md new file mode 100644 index 000000000000..3d3d03a34f7f --- /dev/null +++ b/src/MySql/docs/New-AzMySqlVirtualNetworkRule.md @@ -0,0 +1,238 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlvirtualnetworkrule +schema: 2.0.0 +--- + +# New-AzMySqlVirtualNetworkRule + +## SYNOPSIS +Creates or updates an existing virtual network rule. + +## SYNTAX + +``` +New-AzMySqlVirtualNetworkRule -Name -ResourceGroupName -ServerName + -SubnetId [-SubscriptionId ] [-IgnoreMissingVnetServiceEndpoint] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Creates or updates an existing virtual network rule. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + +{{ Add output here }} + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + +{{ Add output here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IgnoreMissingVnetServiceEndpoint +Create firewall rule before the virtual network has vnet service endpoint enabled. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the virtual network rule. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: VirtualNetworkRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubnetId +The ARM resource id of the virtual network subnet. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IVirtualNetworkRule + +## NOTES + +ALIASES + +## RELATED LINKS + diff --git a/src/MySql/docs/Remove-AzMySqlFirewallRule.md b/src/MySql/docs/Remove-AzMySqlFirewallRule.md new file mode 100644 index 000000000000..2ff351601a27 --- /dev/null +++ b/src/MySql/docs/Remove-AzMySqlFirewallRule.md @@ -0,0 +1,252 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/remove-azmysqlfirewallrule +schema: 2.0.0 +--- + +# Remove-AzMySqlFirewallRule + +## SYNOPSIS +Deletes a server firewall rule. + +## SYNTAX + +### Delete (Default) +``` +Remove-AzMySqlFirewallRule -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +### DeleteViaIdentity +``` +Remove-AzMySqlFirewallRule -InputObject [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Deletes a server firewall rule. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Remove-AzMySqlFirewallRule -Name rule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/firewallRules/rule" +PS C:\> Remove-AzMySqlFirewallRule -InputObject $ID +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server firewall rule. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: FirewallRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Remove-AzMySqlFlexibleServer.md b/src/MySql/docs/Remove-AzMySqlFlexibleServer.md new file mode 100644 index 000000000000..edac59b1810c --- /dev/null +++ b/src/MySql/docs/Remove-AzMySqlFlexibleServer.md @@ -0,0 +1,236 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/remove-azmysqlflexibleserver +schema: 2.0.0 +--- + +# Remove-AzMySqlFlexibleServer + +## SYNOPSIS +Deletes a server. + +## SYNTAX + +### Delete (Default) +``` +Remove-AzMySqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentity +``` +Remove-AzMySqlFlexibleServer -InputObject [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Deletes a server. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Remove-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Name mysql-test +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test" +PS C:\> Remove-AzMySqlFlexibleServer -InputObject $ID +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Remove-AzMySqlFlexibleServerDatabase.md b/src/MySql/docs/Remove-AzMySqlFlexibleServerDatabase.md new file mode 100644 index 000000000000..bb291354b827 --- /dev/null +++ b/src/MySql/docs/Remove-AzMySqlFlexibleServerDatabase.md @@ -0,0 +1,252 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/remove-azmysqlflexibleserverdatabase +schema: 2.0.0 +--- + +# Remove-AzMySqlFlexibleServerDatabase + +## SYNOPSIS +Deletes a database. + +## SYNTAX + +### Delete (Default) +``` +Remove-AzMySqlFlexibleServerDatabase -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +### DeleteViaIdentity +``` +Remove-AzMySqlFlexibleServerDatabase -InputObject [-DefaultProfile ] [-AsJob] + [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Deletes a database. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Remove-AzMySqlFlexibleServerDatabase -Name databasetest -ResourceGroupName PowershellMySqlTest -ServerName mysql-test +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/databases/databasetest" +PS C:\> Remove-AzMySqlFlexibleServerDatabase -InputObject $ID +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the database. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: DatabaseName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Remove-AzMySqlFlexibleServerFirewallRule.md b/src/MySql/docs/Remove-AzMySqlFlexibleServerFirewallRule.md new file mode 100644 index 000000000000..73618dd9451a --- /dev/null +++ b/src/MySql/docs/Remove-AzMySqlFlexibleServerFirewallRule.md @@ -0,0 +1,252 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/remove-azmysqlflexibleserverfirewallrule +schema: 2.0.0 +--- + +# Remove-AzMySqlFlexibleServerFirewallRule + +## SYNOPSIS +Deletes a firewall rule. + +## SYNTAX + +### Delete (Default) +``` +Remove-AzMySqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +### DeleteViaIdentity +``` +Remove-AzMySqlFlexibleServerFirewallRule -InputObject [-DefaultProfile ] [-AsJob] + [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Deletes a firewall rule. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Remove-AzMySqlFlexibleServerFirewallRule -Name firewall-rule-test -ResourceGroupName PowershellMySqlTest -ServerName mysql-test +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/firewallRules/firewall-rule-test" +PS C:\> Remove-AzMySqlFlexibleServerFirewallRule -InputObject $ID +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server firewall rule. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: FirewallRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Remove-AzMySqlServer.md b/src/MySql/docs/Remove-AzMySqlServer.md new file mode 100644 index 000000000000..c1c4e25662e8 --- /dev/null +++ b/src/MySql/docs/Remove-AzMySqlServer.md @@ -0,0 +1,236 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/remove-azmysqlserver +schema: 2.0.0 +--- + +# Remove-AzMySqlServer + +## SYNOPSIS +Deletes a server. + +## SYNTAX + +### Delete (Default) +``` +Remove-AzMySqlServer -Name -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentity +``` +Remove-AzMySqlServer -InputObject [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Deletes a server. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Remove-AzMySqlServer -ResourceGroupName PowershellMySqlTest -Name mysql-test +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test" +PS C:\> Remove-AzMySqlServer -InputObject $ID +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Remove-AzMySqlVirtualNetworkRule.md b/src/MySql/docs/Remove-AzMySqlVirtualNetworkRule.md new file mode 100644 index 000000000000..884dc21d8fff --- /dev/null +++ b/src/MySql/docs/Remove-AzMySqlVirtualNetworkRule.md @@ -0,0 +1,252 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/remove-azmysqlvirtualnetworkrule +schema: 2.0.0 +--- + +# Remove-AzMySqlVirtualNetworkRule + +## SYNOPSIS +Deletes the virtual network rule with the given name. + +## SYNTAX + +### Delete (Default) +``` +Remove-AzMySqlVirtualNetworkRule -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +### DeleteViaIdentity +``` +Remove-AzMySqlVirtualNetworkRule -InputObject [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Deletes the virtual network rule with the given name. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Remove-AzMySqlVirtualNetworkRule -Name vnet -ResourceGroupName PowershellMySqlTest-ServerName mysql-test +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/virtualNetworkRules/vnet" +PS C:\> Remove-AzMySqlVirtualNetworkRule -InputObject $ID +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the virtual network rule. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: VirtualNetworkRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Restart-AzMySqlFlexibleServer.md b/src/MySql/docs/Restart-AzMySqlFlexibleServer.md new file mode 100644 index 000000000000..dcec23fcfd2c --- /dev/null +++ b/src/MySql/docs/Restart-AzMySqlFlexibleServer.md @@ -0,0 +1,236 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/restart-azmysqlflexibleserver +schema: 2.0.0 +--- + +# Restart-AzMySqlFlexibleServer + +## SYNOPSIS +Restarts a server. + +## SYNTAX + +### Restart (Default) +``` +Restart-AzMySqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### RestartViaIdentity +``` +Restart-AzMySqlFlexibleServer -InputObject [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Restarts a server. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Restart-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Name mysql-test +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/restart" +PS C:\> Restart-AzMySqlFlexibleServer -InputObject $ID +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: RestartViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Restart +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Restart +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: Restart +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Restart-AzMySqlServer.md b/src/MySql/docs/Restart-AzMySqlServer.md new file mode 100644 index 000000000000..cfded40d0535 --- /dev/null +++ b/src/MySql/docs/Restart-AzMySqlServer.md @@ -0,0 +1,236 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/restart-azmysqlserver +schema: 2.0.0 +--- + +# Restart-AzMySqlServer + +## SYNOPSIS +Restarts a server. + +## SYNTAX + +### Restart (Default) +``` +Restart-AzMySqlServer -Name -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### RestartViaIdentity +``` +Restart-AzMySqlServer -InputObject [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Restarts a server. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Restart-AzMySqlServer -ResourceGroupName PowershellMySqlTest -Name mysql-test +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/restart" +PS C:\> Restart-AzMySqlServer -InputObject $ID +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: RestartViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Restart +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Restart +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: Restart +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Restore-AzMySqlFlexibleServer.md b/src/MySql/docs/Restore-AzMySqlFlexibleServer.md new file mode 100644 index 000000000000..66a1607de7de --- /dev/null +++ b/src/MySql/docs/Restore-AzMySqlFlexibleServer.md @@ -0,0 +1,256 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/restore-azmysqlflexibleserver +schema: 2.0.0 +--- + +# Restore-AzMySqlFlexibleServer + +## SYNOPSIS +Restore a server from an existing backup + +## SYNTAX + +``` +Restore-AzMySqlFlexibleServer -Name -ResourceGroupName -InputObject + -RestorePointInTime [-SubscriptionId ] [-Sku ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Restore a server from an existing backup + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +$restorePointInTime = (Get-Date).AddMinutes(-10) +PS C:\> Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test | Restore-AzMySqlFlexibleServer -Name mysql-test-restore -ResourceGroupName PowershellMySqlTest -RestorePointInTime $restorePointInTime +``` + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ------- ------- +mysql-test-restore eastus mysql_test 5.7 10240 Standard_D2ds_v4 GeneralPurpose + +## PARAMETERS + +### -AsJob +Run the command as a job. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +The source server object to restore from. +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RestorePointInTime +The location the resource resides in. + +```yaml +Type: System.DateTime +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Sku +The name of the sku, e.g., Standard_D2ds_v4, Standard_B1ms + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The subscription ID that identifies an Azure subscription. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : The source server object to restore from. + - `Location `: The geo-location where the resource lives + - `SkuName `: The name of the sku, e.g. Standard_D32s_v3. + - `SkuTier `: The tier of the particular SKU, e.g. GeneralPurpose. + - `[Tag ]`: Resource tags. + - `[(Any) ]`: This indicates any property can be added to this object. + - `[AdministratorLogin ]`: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). + - `[AdministratorLoginPassword ]`: The password of the administrator login (required for server creation). + - `[AvailabilityZone ]`: availability Zone information of the server. + - `[CreateMode ]`: The mode to create a new MySQL server. + - `[DelegatedSubnetArgumentSubnetArmResourceId ]`: delegated subnet arm resource id. + - `[HaEnabled ]`: Enable HA or not for a server. + - `[IdentityType ]`: The identity type. + - `[InfrastructureEncryption ]`: Status showing whether the server enabled infrastructure encryption. + - `[MaintenanceWindowCustomWindow ]`: indicates whether custom window is enabled or disabled + - `[MaintenanceWindowDayOfWeek ]`: day of week for maintenance window + - `[MaintenanceWindowStartHour ]`: start hour for maintenance window + - `[MaintenanceWindowStartMinute ]`: start minute for maintenance window + - `[PropertiesTag ]`: Application-specific metadata in the form of key-value pairs. + - `[(Any) ]`: This indicates any property can be added to this object. + - `[ReplicationRole ]`: The replication role. + - `[RestorePointInTime ]`: Restore point creation time (ISO8601 format), specifying the time to restore from. + - `[SourceServerId ]`: The source MySQL server id. + - `[SslEnforcement ]`: Enable ssl enforcement or not when connect to server. + - `[StorageProfileBackupRetentionDay ]`: Backup retention days for the server. + - `[StorageProfileStorageAutogrow ]`: Enable Storage Auto Grow. + - `[StorageProfileStorageIop ]`: Storage IOPS for a server. + - `[StorageProfileStorageMb ]`: Max storage allowed for a server. + - `[Version ]`: Server version. + +## RELATED LINKS + diff --git a/src/MySql/docs/Restore-AzMySqlServer.md b/src/MySql/docs/Restore-AzMySqlServer.md new file mode 100644 index 000000000000..2c5dd3e06a9d --- /dev/null +++ b/src/MySql/docs/Restore-AzMySqlServer.md @@ -0,0 +1,332 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/restore-azmysqlserver +schema: 2.0.0 +--- + +# Restore-AzMySqlServer + +## SYNOPSIS +Restore a server from an existing backup + +## SYNTAX + +### GeoRestore (Default) +``` +Restore-AzMySqlServer -Name -ResourceGroupName -InputObject -UseGeoRestore + [-SubscriptionId ] [-Location ] [-Sku ] [-Tag ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### PointInTimeRestore +``` +Restore-AzMySqlServer -Name -ResourceGroupName -InputObject + -RestorePointInTime -UsePointInTimeRestore [-SubscriptionId ] [-Location ] + [-Sku ] [-Tag ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Restore a server from an existing backup + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Get-AzMySqlServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test-replica | Restore-AzMySqlServer -Name mysql-test -ResourceGroupName PowershellMySqlTest -UseGeoRestore +``` + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement +---- -------- ------------------ ------- ----------------------- ------- ------- -------------- +mysql-test-11 eastus mysql_test 5.7 10240 GP_Gen5_4 GeneralPurpose Disabled + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +$restorePointInTime = (Get-Date).AddMinutes(-10) +PS C:\> Get-AzMySqlServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test | Restore-AzMySqlServer -Name mysql-test-restore -ResourceGroupName PowershellMySqlTest -RestorePointInTime $restorePointInTime -UsePointInTimeRestore +``` + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement +---- -------- ------------------ ------- ----------------------- ------- ------- -------------- +mysql-test-restore eastus mysql_test 5.7 10240 GP_Gen5_4 GeneralPurpose Disabled + +## PARAMETERS + +### -AsJob +Run the command as a job. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +The source server object to restore from. +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Location +The location the resource resides in. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RestorePointInTime +The location the resource resides in. + +```yaml +Type: System.DateTime +Parameter Sets: PointInTimeRestore +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Sku +The name of the sku, typically, tier + family + cores, e.g. +B_Gen4_1, GP_Gen5_8. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The subscription ID that identifies an Azure subscription. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tag +Application-specific metadata in the form of key-value pairs. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UseGeoRestore +Use Geo mode to restore + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: GeoRestore +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UsePointInTimeRestore +Use PointInTime mode to restore + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: PointInTimeRestore +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : The source server object to restore from. + - `Location `: The geo-location where the resource lives + - `SkuName `: The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. + - `[Tag ]`: Resource tags. + - `[(Any) ]`: This indicates any property can be added to this object. + - `[AdministratorLogin ]`: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). + - `[EarliestRestoreDate ]`: Earliest restore point creation time (ISO8601 format) + - `[FullyQualifiedDomainName ]`: The fully qualified domain name of a server. + - `[IdentityType ]`: The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. + - `[InfrastructureEncryption ]`: Status showing whether the server enabled infrastructure encryption. + - `[MasterServerId ]`: The master server id of a replica server. + - `[MinimalTlsVersion ]`: Enforce a minimal Tls version for the server. + - `[PublicNetworkAccess ]`: Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' + - `[ReplicaCapacity ]`: The maximum number of replicas that a master server can have. + - `[ReplicationRole ]`: The replication role of the server. + - `[SkuCapacity ]`: The scale up/out capacity, representing server's compute units. + - `[SkuFamily ]`: The family of hardware. + - `[SkuSize ]`: The size code, to be interpreted by resource as appropriate. + - `[SkuTier ]`: The tier of the particular SKU, e.g. Basic. + - `[SslEnforcement ]`: Enable ssl enforcement or not when connect to server. + - `[StorageProfileBackupRetentionDay ]`: Backup retention days for the server. + - `[StorageProfileGeoRedundantBackup ]`: Enable Geo-redundant or not for server backup. + - `[StorageProfileStorageAutogrow ]`: Enable Storage Auto Grow. + - `[StorageProfileStorageMb ]`: Max storage allowed for a server. + - `[UserVisibleState ]`: A state of a server that is visible to user. + - `[Version ]`: Server version. + +## RELATED LINKS + diff --git a/src/MySql/docs/Start-AzMySqlFlexibleServer.md b/src/MySql/docs/Start-AzMySqlFlexibleServer.md new file mode 100644 index 000000000000..2983df4c72d6 --- /dev/null +++ b/src/MySql/docs/Start-AzMySqlFlexibleServer.md @@ -0,0 +1,236 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/start-azmysqlflexibleserver +schema: 2.0.0 +--- + +# Start-AzMySqlFlexibleServer + +## SYNOPSIS +Starts a server. + +## SYNTAX + +### Start (Default) +``` +Start-AzMySqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### StartViaIdentity +``` +Start-AzMySqlFlexibleServer -InputObject [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Starts a server. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Start-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Name mysql-test +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/start" +PS C:\> Start-AzMySqlFlexibleServer -InputObject $ID +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: StartViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Start +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Start +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: Start +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Stop-AzMySqlFlexibleServer.md b/src/MySql/docs/Stop-AzMySqlFlexibleServer.md new file mode 100644 index 000000000000..63e502dc7568 --- /dev/null +++ b/src/MySql/docs/Stop-AzMySqlFlexibleServer.md @@ -0,0 +1,236 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/stop-azmysqlflexibleserver +schema: 2.0.0 +--- + +# Stop-AzMySqlFlexibleServer + +## SYNOPSIS +Stops a server. + +## SYNTAX + +### Stop (Default) +``` +Stop-AzMySqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### StopViaIdentity +``` +Stop-AzMySqlFlexibleServer -InputObject [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Stops a server. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Stop-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Name mysql-test +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/stop" +PS C:\> Stop-AzMySqlFlexibleServer -InputObject $ID +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: StopViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Stop +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Stop +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: Stop +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Update-AzMySqlConfiguration.md b/src/MySql/docs/Update-AzMySqlConfiguration.md new file mode 100644 index 000000000000..4ce2fd4424d8 --- /dev/null +++ b/src/MySql/docs/Update-AzMySqlConfiguration.md @@ -0,0 +1,273 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/update-azmysqlconfiguration +schema: 2.0.0 +--- + +# Update-AzMySqlConfiguration + +## SYNOPSIS +Updates a configuration of a server. +Use Update-AzMySqlServer instead if you want update AdministratorLoginPassword, sku, etc. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzMySqlConfiguration -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-Source ] [-Value ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzMySqlConfiguration -InputObject [-Source ] [-Value ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Updates a configuration of a server. +Use Update-AzMySqlServer instead if you want update AdministratorLoginPassword, sku, etc. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Update-AzMySqlConfiguration -Name net_retry_count -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -Value 15 +``` + +Name Value +---- ----- +net_retry_count 15 + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/configurations/wait_timeout" +PS C:\> Update-AzMySqlConfiguration -InputObject $ID -Value 150 +``` + +Name Value +---- ----- +wait_timeout 150 + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter. +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server configuration. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: ConfigurationName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Source +Source of the configuration. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Value +Value of the configuration. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IConfiguration + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter. + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Update-AzMySqlFirewallRule.md b/src/MySql/docs/Update-AzMySqlFirewallRule.md new file mode 100644 index 000000000000..6775aa187612 --- /dev/null +++ b/src/MySql/docs/Update-AzMySqlFirewallRule.md @@ -0,0 +1,312 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/update-azmysqlfirewallrule +schema: 2.0.0 +--- + +# Update-AzMySqlFirewallRule + +## SYNOPSIS +Creates a new firewall rule or updates an existing firewall rule. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzMySqlFirewallRule -Name -ResourceGroupName -ServerName + -EndIPAddress -StartIPAddress [-SubscriptionId ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### ClientIPAddress +``` +Update-AzMySqlFirewallRule -Name -ResourceGroupName -ServerName + -ClientIPAddress [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### ClientIPAddressViaIdentity +``` +Update-AzMySqlFirewallRule -InputObject -ClientIPAddress + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzMySqlFirewallRule -InputObject -EndIPAddress -StartIPAddress + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Creates a new firewall rule or updates an existing firewall rule. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Update-AzMySqlFirewallRule -Name rule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 +``` + +Name StartIPAddress EndIPAddress +---- -------------- ------------ +rule 0.0.0.2 0.0.0.3 + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/firewallRules/rule" +PS C:\> Update-AzMySqlFirewallRule -InputObject $ID -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 +``` + +Name StartIPAddress EndIPAddress +---- -------------- ------------ +rule 0.0.0.2 0.0.0.3 + +### -------------------------- EXAMPLE 3 -------------------------- +```powershell +$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/firewallRules/rule" +PS C:\> Update-AzMySqlFirewallRule -InputObject $ID --ClientIPAddress 0.0.0.2 +``` + +Name StartIPAddress EndIPAddress +---- -------------- ------------ +rule 0.0.0.2 0.0.0.2 + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClientIPAddress +Client specified single IP of the server firewall rule. +Must be IPv4 format. + +```yaml +Type: System.String +Parameter Sets: ClientIPAddress, ClientIPAddressViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EndIPAddress +The end IP address of the server firewall rule. +Must be IPv4 format. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: ClientIPAddressViaIdentity, UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server firewall rule. + +```yaml +Type: System.String +Parameter Sets: ClientIPAddress, UpdateExpanded +Aliases: FirewallRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: ClientIPAddress, UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: ClientIPAddress, UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StartIPAddress +The start IP address of the server firewall rule. +Must be IPv4 format. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: ClientIPAddress, UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Update-AzMySqlFlexibleServer.md b/src/MySql/docs/Update-AzMySqlFlexibleServer.md new file mode 100644 index 000000000000..751de00be4cd --- /dev/null +++ b/src/MySql/docs/Update-AzMySqlFlexibleServer.md @@ -0,0 +1,387 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/update-azmysqlflexibleserver +schema: 2.0.0 +--- + +# Update-AzMySqlFlexibleServer + +## SYNOPSIS +Updates an existing server. +The request body can contain one to many of the properties present in the normal server definition. +Use Update-AzMySqlConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzMySqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + [-AdministratorLoginPassword ] [-BackupRetentionDay ] [-HaEnabled ] + [-ReplicationRole ] [-Sku ] [-SkuTier ] [-SslEnforcement ] + [-StorageAutogrow ] [-StorageInMb ] [-Tag ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzMySqlFlexibleServer -InputObject [-AdministratorLoginPassword ] + [-BackupRetentionDay ] [-HaEnabled ] [-ReplicationRole ] [-Sku ] + [-SkuTier ] [-SslEnforcement ] [-StorageAutogrow ] + [-StorageInMb ] [-Tag ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Updates an existing server. +The request body can contain one to many of the properties present in the normal server definition. +Use Update-AzMySqlConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Update-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Name mysql-test -Sku Standard_D4ds_v4 +``` + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +mysql-test westus2 mysql_test 5.7 5120 Standard_D4ds_v4 GeneralPurpose + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test | Update-AzMySqlFlexibleServer -BackupRetentionDay 23 -StorageInMb 10240 +``` + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +mysql-test westus2 mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose + +## PARAMETERS + +### -AdministratorLoginPassword +The password of the administrator login. + +```yaml +Type: System.Security.SecureString +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -BackupRetentionDay +Backup retention days for the server. +Day count is between 7 and 35. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -HaEnabled +Enable or disable high availability feature. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.HaEnabledEnum +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter. +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReplicationRole +The replication role of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group that contains the resource. +You can obtain this value from the Azure Resource Manager API or the portal. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Sku +The name of the sku, typically, tier + family + cores, e.g. +B_Gen4_1, GP_Gen5_8. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkuTier +The tier of the particular SKU, e.g. +Basic. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SslEnforcement +Enable ssl enforcement or not when connect to server. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SslEnforcementEnum +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageAutogrow +Enable Storage Auto Grow. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageInMb +Max storage allowed for a server. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The subscription ID that identifies an Azure subscription. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tag +Application-specific metadata in the form of key-value pairs. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter. + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Update-AzMySqlFlexibleServerConfiguration.md b/src/MySql/docs/Update-AzMySqlFlexibleServerConfiguration.md new file mode 100644 index 000000000000..bec64848f539 --- /dev/null +++ b/src/MySql/docs/Update-AzMySqlFlexibleServerConfiguration.md @@ -0,0 +1,307 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/update-azmysqlflexibleserverconfiguration +schema: 2.0.0 +--- + +# Update-AzMySqlFlexibleServerConfiguration + +## SYNOPSIS + + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzMySqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-Source ] [-Value ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### Update +``` +Update-AzMySqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName + -Parameter [-SubscriptionId ] [-Source ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentity +``` +Update-AzMySqlFlexibleServerConfiguration -InputObject + -Parameter [-Source ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzMySqlFlexibleServerConfiguration -InputObject [-Source ] [-Value ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION + + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Update-AzMySqlFlexibleServer -Name net_retry_count -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -Value 15 +``` + +Name Value DefaultValue Source AllowedValues DataType +---- ------ ------------ ------- ------------- --------- +net_retry_count 15 10 user-override 1-4294967295 Integer + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/configurations/wait_timeout" +PS C:\> Update-AzMySqlFlexibleServer -InputObject $ID -Value 150 +``` + +Name Value DefaultValue Source AllowedValues DataType +---- ------ ------------ ------- ------------- --------- +wait_timeout 150 28800 system-default 1-31536000 Integer + +## PARAMETERS + +### -AsJob + + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile + + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: UpdateViaIdentity, UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name + + +```yaml +Type: System.String +Parameter Sets: Update, UpdateExpanded +Aliases: ConfigurationName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait + + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Parameter +To construct, see NOTES section for PARAMETER properties and create a hash table. +To construct, see NOTES section for PARAMETER properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IConfigurationAutoGenerated +Parameter Sets: Update, UpdateViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ResourceGroupName + + +```yaml +Type: System.String +Parameter Sets: Update, UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName + + +```yaml +Type: System.String +Parameter Sets: Update, UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Source +The source of the updating value. +The default value is user-override + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId + + +```yaml +Type: System.String +Parameter Sets: Update, UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Value + + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IConfigurationAutoGenerated + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IConfigurationAutoGenerated + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +PARAMETER : To construct, see NOTES section for PARAMETER properties and create a hash table. + - `[Source ]`: Source of the configuration. + - `[Value ]`: Value of the configuration. + +## RELATED LINKS + diff --git a/src/MySql/docs/Update-AzMySqlFlexibleServerDatabase.md b/src/MySql/docs/Update-AzMySqlFlexibleServerDatabase.md new file mode 100644 index 000000000000..025c49b2781d --- /dev/null +++ b/src/MySql/docs/Update-AzMySqlFlexibleServerDatabase.md @@ -0,0 +1,271 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/update-azmysqlflexibleserverdatabase +schema: 2.0.0 +--- + +# Update-AzMySqlFlexibleServerDatabase + +## SYNOPSIS +Creates a new database or updates an existing database. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzMySqlFlexibleServerDatabase -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-Charset ] [-Collation ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzMySqlFlexibleServerDatabase -InputObject [-Charset ] [-Collation ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Creates a new database or updates an existing database. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Update-AzMySqlFlexibleServerDatabase -Name database-test -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -Charset utf8 +``` + +Name Charset Collation +---- -------- ------------------ +databasetest utf8 latin1_swedish_ci + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/servers/mysql-test/databases/databasetest" +PS C:\> Update-AzMySqlFlexibleServerDatabase -Parameter $ID -Charset utf8 +``` + +Name Charset Collation +---- -------- ------------------ +databasetest utf8 latin1_swedish_ci + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Charset +The charset of the database. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Collation +The collation of the database. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the database. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: DatabaseName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IDatabase + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Update-AzMySqlFlexibleServerFirewallRule.md b/src/MySql/docs/Update-AzMySqlFlexibleServerFirewallRule.md new file mode 100644 index 000000000000..88e643ab630a --- /dev/null +++ b/src/MySql/docs/Update-AzMySqlFlexibleServerFirewallRule.md @@ -0,0 +1,303 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/update-azmysqlflexibleserverfirewallrule +schema: 2.0.0 +--- + +# Update-AzMySqlFlexibleServerFirewallRule + +## SYNOPSIS +Creates a new firewall rule or updates an existing firewall rule. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzMySqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName + -EndIPAddress -StartIPAddress [-SubscriptionId ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### ClientIPAddress +``` +Update-AzMySqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName + -ClientIPAddress [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### ClientIPAddressViaIdentity +``` +Update-AzMySqlFlexibleServerFirewallRule -InputObject -ClientIPAddress + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzMySqlFlexibleServerFirewallRule -InputObject -EndIPAddress + -StartIPAddress [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Creates a new firewall rule or updates an existing firewall rule. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Update-AzMySqlFlexibleServerFirewallRule -Name rule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 +``` + +Name StartIPAddress EndIPAddress +---- -------------- ------------ +rule 0.0.0.2 0.0.0.3 + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/firewallRules/rule" +PS C:\> Update-AzMySqlFlexibleServerFirewallRule -InputObject $ID -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 +``` + +Name StartIPAddress EndIPAddress +---- -------------- ------------ +rule 0.0.0.2 0.0.0.3 + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClientIPAddress +Client specified single IP of the server firewall rule. +Must be IPv4 format. + +```yaml +Type: System.String +Parameter Sets: ClientIPAddress, ClientIPAddressViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EndIPAddress +The end IP address of the server firewall rule. +Must be IPv4 format. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: ClientIPAddressViaIdentity, UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server firewall rule. + +```yaml +Type: System.String +Parameter Sets: ClientIPAddress, UpdateExpanded +Aliases: FirewallRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: ClientIPAddress, UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: ClientIPAddress, UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StartIPAddress +The start IP address of the server firewall rule. +Must be IPv4 format. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: ClientIPAddress, UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Update-AzMySqlServer.md b/src/MySql/docs/Update-AzMySqlServer.md new file mode 100644 index 000000000000..a1149926f20a --- /dev/null +++ b/src/MySql/docs/Update-AzMySqlServer.md @@ -0,0 +1,402 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/update-azmysqlserver +schema: 2.0.0 +--- + +# Update-AzMySqlServer + +## SYNOPSIS +Updates an existing server. +The request body can contain one to many of the properties present in the normal server definition. +Use Update-AzMySqlConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzMySqlServer -Name -ResourceGroupName [-SubscriptionId ] + [-AdministratorLoginPassword ] [-BackupRetentionDay ] [-ReplicationRole ] + [-Sku ] [-SkuCapacity ] [-SkuFamily ] [-SkuTier ] + [-SslEnforcement ] [-StorageAutogrow ] [-StorageInMb ] + [-Tag ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzMySqlServer -InputObject [-AdministratorLoginPassword ] + [-BackupRetentionDay ] [-ReplicationRole ] [-Sku ] [-SkuCapacity ] + [-SkuFamily ] [-SkuTier ] [-SslEnforcement ] + [-StorageAutogrow ] [-StorageInMb ] [-Tag ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Updates an existing server. +The request body can contain one to many of the properties present in the normal server definition. +Use Update-AzMySqlConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Update-AzMySqlServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -SslEnforcement Disabled +``` + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement +---- -------- ------------------ ------- ----------------------- ------- ------- -------------- +mysql-test eastus mysql_test 5.7 5120 GP_Gen5_4 GeneralPurpose Disabled + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +Get-AzMySqlServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test | Update-AzMySqlServer -BackupRetentionDay 23 -StorageMb 10240 +``` + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement +---- -------- ------------------ ------- ----------------------- ------- ------- -------------- +mysql-test eastus mysql_test 5.7 10240 GP_Gen5_4 GeneralPurpose Disabled + +## PARAMETERS + +### -AdministratorLoginPassword +The password of the administrator login. + +```yaml +Type: System.Security.SecureString +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -BackupRetentionDay +Backup retention days for the server. +Day count is between 7 and 35. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter. +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReplicationRole +The replication role of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group that contains the resource. +You can obtain this value from the Azure Resource Manager API or the portal. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Sku +The name of the sku, typically, tier + family + cores, e.g. +B_Gen4_1, GP_Gen5_8. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkuCapacity +The scale up/out capacity, representing server's compute units. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkuFamily +The family of hardware. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkuTier +The tier of the particular SKU, e.g. +Basic. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SslEnforcement +Enable ssl enforcement or not when connect to server. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SslEnforcementEnum +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageAutogrow +Enable Storage Auto Grow. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageInMb +Max storage allowed for a server. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The subscription ID that identifies an Azure subscription. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tag +Application-specific metadata in the form of key-value pairs. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter. + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Update-AzMySqlVirtualNetworkRule.md b/src/MySql/docs/Update-AzMySqlVirtualNetworkRule.md new file mode 100644 index 000000000000..1707a0515182 --- /dev/null +++ b/src/MySql/docs/Update-AzMySqlVirtualNetworkRule.md @@ -0,0 +1,289 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/update-azmysqlvirtualnetworkrule +schema: 2.0.0 +--- + +# Update-AzMySqlVirtualNetworkRule + +## SYNOPSIS +Creates or updates an existing virtual network rule. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzMySqlVirtualNetworkRule -Name -ResourceGroupName -ServerName + -SubnetId [-SubscriptionId ] [-IgnoreMissingVnetServiceEndpoint] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzMySqlVirtualNetworkRule -InputObject -SubnetId + [-IgnoreMissingVnetServiceEndpoint] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Creates or updates an existing virtual network rule. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet2" +PS C:\> Update-AzMySqlVirtualNetworkRule -Name $env.VNetName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -SubnetId $ID +``` + +Name Type +---- ---- +vnet Microsoft.DBforMySQL/servers/virtualNetworkRules + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +$SubnetID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1" +PS C:\> $VNetID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/virtualNetworkRules/vnet" +PS C:\> Update-AzMySqlVirtualNetworkRule -InputObject $VNetID -SubnetId $SubnetID +``` + +Name Type +---- ---- +vnet Microsoft.DBforMySQL/servers/virtualNetworkRules + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IgnoreMissingVnetServiceEndpoint +Create firewall rule before the virtual network has vnet service endpoint enabled. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the virtual network rule. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: VirtualNetworkRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubnetId +The ARM resource id of the virtual network subnet. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IVirtualNetworkRule + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/PostgreSql/docs/Az.PostgreSql.md b/src/PostgreSql/docs/Az.PostgreSql.md new file mode 100644 index 000000000000..befe7fa3a970 --- /dev/null +++ b/src/PostgreSql/docs/Az.PostgreSql.md @@ -0,0 +1,117 @@ +--- +Module Name: Az.PostgreSql +Module Guid: f86a89ff-dac0-413c-8cae-736206e27891 +Download Help Link: https://docs.microsoft.com/en-us/powershell/module/az.postgresql +Help Version: 1.0.0.0 +Locale: en-US +--- + +# Az.PostgreSql Module +## Description +Microsoft Azure PowerShell: PostgreSql cmdlets + +## Az.PostgreSql Cmdlets +### [Get-AzPostgreSqlConfiguration](Get-AzPostgreSqlConfiguration.md) +Gets information about a configuration of server. + +### [Get-AzPostgreSqlConnectionString](Get-AzPostgreSqlConnectionString.md) +Get the connection string according to client connection provider. + +### [Get-AzPostgreSqlFirewallRule](Get-AzPostgreSqlFirewallRule.md) +Gets information about a server firewall rule. + +### [Get-AzPostgreSqlFlexibleServer](Get-AzPostgreSqlFlexibleServer.md) +Gets information about a server. + +### [Get-AzPostgreSqlFlexibleServerConfiguration](Get-AzPostgreSqlFlexibleServerConfiguration.md) +Gets information about a configuration of server. + +### [Get-AzPostgreSqlFlexibleServerFirewallRule](Get-AzPostgreSqlFlexibleServerFirewallRule.md) +List all the firewall rules in a given server. + +### [Get-AzPostgreSqlReplica](Get-AzPostgreSqlReplica.md) +List all the replicas for a given server. + +### [Get-AzPostgreSqlServer](Get-AzPostgreSqlServer.md) +Gets information about a server. + +### [Get-AzPostgreSqlVirtualNetworkRule](Get-AzPostgreSqlVirtualNetworkRule.md) +Gets a virtual network rule. + +### [New-AzPostgreSqlFirewallRule](New-AzPostgreSqlFirewallRule.md) +Creates a new firewall rule or updates an existing firewall rule. + +### [New-AzPostgreSqlFlexibleServer](New-AzPostgreSqlFlexibleServer.md) +Creates a new server. + +### [New-AzPostgreSqlFlexibleServerFirewallRule](New-AzPostgreSqlFlexibleServerFirewallRule.md) +Creates a new firewall rule or updates an existing firewall rule. + +### [New-AzPostgreSqlReplica](New-AzPostgreSqlReplica.md) +Creates a new replica from an existing database. + +### [New-AzPostgreSqlServer](New-AzPostgreSqlServer.md) +Creates a new server. + +### [New-AzPostgreSqlVirtualNetworkRule](New-AzPostgreSqlVirtualNetworkRule.md) +Creates or updates an existing virtual network rule. + +### [Remove-AzPostgreSqlFirewallRule](Remove-AzPostgreSqlFirewallRule.md) +Deletes a server firewall rule. + +### [Remove-AzPostgreSqlFlexibleServer](Remove-AzPostgreSqlFlexibleServer.md) +Deletes a server. + +### [Remove-AzPostgreSqlFlexibleServerFirewallRule](Remove-AzPostgreSqlFlexibleServerFirewallRule.md) +Deletes a PostgreSQL server firewall rule. + +### [Remove-AzPostgreSqlServer](Remove-AzPostgreSqlServer.md) +Deletes a server. + +### [Remove-AzPostgreSqlVirtualNetworkRule](Remove-AzPostgreSqlVirtualNetworkRule.md) +Deletes the virtual network rule with the given name. + +### [Restart-AzPostgreSqlFlexibleServer](Restart-AzPostgreSqlFlexibleServer.md) +Restarts a server. + +### [Restart-AzPostgreSqlServer](Restart-AzPostgreSqlServer.md) +Restarts a server. + +### [Restore-AzPostgreSqlFlexibleServer](Restore-AzPostgreSqlFlexibleServer.md) +Restore a server from an existing backup + +### [Restore-AzPostgreSqlServer](Restore-AzPostgreSqlServer.md) +Restore a server from an existing backup + +### [Start-AzPostgreSqlFlexibleServer](Start-AzPostgreSqlFlexibleServer.md) +Starts a server. + +### [Stop-AzPostgreSqlFlexibleServer](Stop-AzPostgreSqlFlexibleServer.md) +Stops a server. + +### [Update-AzPostgreSqlConfiguration](Update-AzPostgreSqlConfiguration.md) +Updates a configuration of a server. +Use Update-AzPostgreSqlServer instead if you want update AdministratorLoginPassword, sku, etc. + +### [Update-AzPostgreSqlFirewallRule](Update-AzPostgreSqlFirewallRule.md) +Creates a new firewall rule or updates an existing firewall rule. + +### [Update-AzPostgreSqlFlexibleServer](Update-AzPostgreSqlFlexibleServer.md) +Updates an existing server. +The request body can contain one to many of the properties present in the normal server definition. +Use Update-AzPostgreSqlConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count. + +### [Update-AzPostgreSqlFlexibleServerConfiguration](Update-AzPostgreSqlFlexibleServerConfiguration.md) + + +### [Update-AzPostgreSqlFlexibleServerFirewallRule](Update-AzPostgreSqlFlexibleServerFirewallRule.md) +Creates a new firewall rule or updates an existing firewall rule. + +### [Update-AzPostgreSqlServer](Update-AzPostgreSqlServer.md) +Updates an existing server. +The request body can contain one to many of the properties present in the normal server definition. +Use Update-AzPostSqlConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count. + +### [Update-AzPostgreSqlVirtualNetworkRule](Update-AzPostgreSqlVirtualNetworkRule.md) +Creates or updates an existing virtual network rule. + diff --git a/src/PostgreSql/docs/Get-AzPostgreSqlConfiguration.md b/src/PostgreSql/docs/Get-AzPostgreSqlConfiguration.md new file mode 100644 index 000000000000..66cd4ec7478e --- /dev/null +++ b/src/PostgreSql/docs/Get-AzPostgreSqlConfiguration.md @@ -0,0 +1,193 @@ +--- +external help file: +Module Name: Az.PostgreSql +online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/get-azpostgresqlconfiguration +schema: 2.0.0 +--- + +# Get-AzPostgreSqlConfiguration + +## SYNOPSIS +Gets information about a configuration of server. + +## SYNTAX + +### List (Default) +``` +Get-AzPostgreSqlConfiguration -ResourceGroupName -ServerName [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzPostgreSqlConfiguration -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzPostgreSqlConfiguration -InputObject [-DefaultProfile ] + [] +``` + +## DESCRIPTION +Gets information about a configuration of server. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Get-AzPostgreSqlConfiguration -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer +``` + +Name Value +---- ----- +array_nulls on +backslash_quote safe_encoding +bytea_output hex +check_function_bodies on +client_encoding sql_ascii +... +azure.replication_support REPLICA +max_wal_senders 10 +max_replication_slots 10 +hot_standby_feedback off +logging_collector on + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +Get-AzPostgreSqlConfiguration -Name timezone -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer +``` + +Name Value +---- ----- +timezone UTC + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server configuration. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: ConfigurationName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IConfiguration + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/PostgreSql/docs/Get-AzPostgreSqlConnectionString.md b/src/PostgreSql/docs/Get-AzPostgreSqlConnectionString.md new file mode 100644 index 000000000000..b85043ac6921 --- /dev/null +++ b/src/PostgreSql/docs/Get-AzPostgreSqlConnectionString.md @@ -0,0 +1,187 @@ +--- +external help file: +Module Name: Az.PostgreSql +online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/get-azpostgresqlconnectionstring +schema: 2.0.0 +--- + +# Get-AzPostgreSqlConnectionString + +## SYNOPSIS +Get the connection string according to client connection provider. + +## SYNTAX + +### Get (Default) +``` +Get-AzPostgreSqlConnectionString -Client -Name -ResourceGroupName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzPostgreSqlConnectionString -Client -InputObject [-DefaultProfile ] + [] +``` + +## DESCRIPTION +Get the connection string according to client connection provider. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Get-AzPostgreSqlConnectionString -Client ADO.NET -Name PostgreSqlTestServer -ResourceGroupName PostgreSqlTestRG +``` + +Server=postgresqltestserver.postgres.database.azure.com;Database={your_database};Port=5432;User Id=pwsh@postgresqltestserver;Password={your_password};Ssl Mode=Require; + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +Get-AzPostgreSqlServer -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer | Get-AzPostgreSqlConnectionString -Client PHP +``` + +host=postgresqltestserver.postgres.database.azure.com port=5432 dbname={your_database} user=pwsh@postgresqltestserver password={your_password} sslmode=require + +## PARAMETERS + +### -Client +Client connection provider. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +The source server object to create replica from. +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IServer +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The subscription ID that identifies an Azure subscription. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IServer + +## OUTPUTS + +### System.String + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : The source server object to create replica from. + - `Location `: The geo-location where the resource lives + - `SkuName `: The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. + - `[Tag ]`: Resource tags. + - `[(Any) ]`: This indicates any property can be added to this object. + - `[AdministratorLogin ]`: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). + - `[EarliestRestoreDate ]`: Earliest restore point creation time (ISO8601 format) + - `[FullyQualifiedDomainName ]`: The fully qualified domain name of a server. + - `[IdentityType ]`: The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. + - `[InfrastructureEncryption ]`: Status showing whether the server enabled infrastructure encryption. + - `[MasterServerId ]`: The master server id of a replica server. + - `[MinimalTlsVersion ]`: Enforce a minimal Tls version for the server. + - `[PublicNetworkAccess ]`: Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' + - `[ReplicaCapacity ]`: The maximum number of replicas that a master server can have. + - `[ReplicationRole ]`: The replication role of the server. + - `[SkuCapacity ]`: The scale up/out capacity, representing server's compute units. + - `[SkuFamily ]`: The family of hardware. + - `[SkuSize ]`: The size code, to be interpreted by resource as appropriate. + - `[SkuTier ]`: The tier of the particular SKU, e.g. Basic. + - `[SslEnforcement ]`: Enable ssl enforcement or not when connect to server. + - `[StorageProfileBackupRetentionDay ]`: Backup retention days for the server. + - `[StorageProfileGeoRedundantBackup ]`: Enable Geo-redundant or not for server backup. + - `[StorageProfileStorageAutogrow ]`: Enable Storage Auto Grow. + - `[StorageProfileStorageMb ]`: Max storage allowed for a server. + - `[UserVisibleState ]`: A state of a server that is visible to user. + - `[Version ]`: Server version. + +## RELATED LINKS + diff --git a/src/PostgreSql/docs/Get-AzPostgreSqlFirewallRule.md b/src/PostgreSql/docs/Get-AzPostgreSqlFirewallRule.md new file mode 100644 index 000000000000..9c3c6745a8f0 --- /dev/null +++ b/src/PostgreSql/docs/Get-AzPostgreSqlFirewallRule.md @@ -0,0 +1,193 @@ +--- +external help file: +Module Name: Az.PostgreSql +online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/get-azpostgresqlfirewallrule +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFirewallRule + +## SYNOPSIS +Gets information about a server firewall rule. + +## SYNTAX + +### List (Default) +``` +Get-AzPostgreSqlFirewallRule -ResourceGroupName -ServerName [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzPostgreSqlFirewallRule -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzPostgreSqlFirewallRule -InputObject [-DefaultProfile ] + [] +``` + +## DESCRIPTION +Gets information about a server firewall rule. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Get-AzPostgreSqlFirewallRule -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer +``` + +Name StartIPAddress EndIPAddress +---- -------------- ------------ +rule 0.0.0.0 0.0.0.1 + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +Get-AzPostgreSqlFirewallRule -Name rule -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer +``` + +Name StartIPAddress EndIPAddress +---- -------------- ------------ +rule 0.0.0.0 0.0.0.1 + +### -------------------------- EXAMPLE 3 -------------------------- +```powershell +$ID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.DBforPostgreSQL/servers/PostgreSqlTestServer/firewallRules/rule" +PS C:\> Get-AzPostgreSqlFirewallRule -InputObject $ID +``` + +Name StartIPAddress EndIPAddress +---- -------------- ------------ +rule 0.0.0.0 0.0.0.1 + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server firewall rule. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: FirewallRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IFirewallRule + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..a4e59f83f91b --- /dev/null +++ b/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,193 @@ +--- +external help file: +Module Name: Az.PostgreSql +online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/get-azpostgresqlflexibleserver +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServer + +## SYNOPSIS +Gets information about a server. + +## SYNTAX + +### List1 (Default) +``` +Get-AzPostgreSqlFlexibleServer [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzPostgreSqlFlexibleServer -InputObject [-DefaultProfile ] + [] +``` + +### List +``` +Get-AzPostgreSqlFlexibleServer -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +## DESCRIPTION +Gets information about a server. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Get-AzPostgreSqlFlexibleServer +``` + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +postgresql-test eastus postgresql-test 12 32768 Standard_D2s_v3 GeneralPurpose + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +Get-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -Name postgresql-test +``` + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +postgresql-test eastus postgresql-test 12 32768 Standard_D2s_v3 GeneralPurpose + +### -------------------------- EXAMPLE 3 -------------------------- +```powershell +Get-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest +``` + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +postgresql-test eastus postgresql-test 12 32768 Standard_D2s_v3 GeneralPurpose +postgresql-test2 eastus postgresql-test 12 32768 Standard_42s_v3 GeneralPurpose + +### -------------------------- EXAMPLE 4 -------------------------- +```powershell +$ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test" +PS C:\> Get-AzPostgreSqlFlexibleServer -InputObject $ID +``` + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +postgresql-test eastus postgresql-test 12 32768 Standard_D2s_v3 GeneralPurpose + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: Get, List, List1 +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20200214Preview.IServerAutoGenerated + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerConfiguration.md b/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerConfiguration.md new file mode 100644 index 000000000000..9cc2cee3ab5d --- /dev/null +++ b/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerConfiguration.md @@ -0,0 +1,185 @@ +--- +external help file: +Module Name: Az.PostgreSql +online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/get-azpostgresqlflexibleserverconfiguration +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerConfiguration + +## SYNOPSIS +Gets information about a configuration of server. + +## SYNTAX + +### List (Default) +``` +Get-AzPostgreSqlFlexibleServerConfiguration -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzPostgreSqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzPostgreSqlFlexibleServerConfiguration -InputObject [-DefaultProfile ] + [] +``` + +## DESCRIPTION +Gets information about a configuration of server. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Get-AzPostgreSqlFlexibleServerConfiguration -Name work_mem -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test +``` + +Name Value DefaultValue Source AllowedValues DataType +---- ------ ------------ ------- ------------- --------- +work_mem 4096 4096 system-default 4096-2097151 Integer + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +Get-AzPostgreSqlFlexibleServerConfiguration -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test +``` + +Name Value DefaultValue Source AllowedValues DataType +---- ------ ------------ ------- ------------- --------- +application_name "" "" system-default [A-Za-z0-9._-]* String +... +pgbouncer.enabled false false system-default true, false Boolean + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server configuration. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: ConfigurationName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20200214Preview.IConfigurationAutoGenerated + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerFirewallRule.md new file mode 100644 index 000000000000..03477da0c4b2 --- /dev/null +++ b/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerFirewallRule.md @@ -0,0 +1,194 @@ +--- +external help file: +Module Name: Az.PostgreSql +online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/get-azpostgresqlflexibleserverfirewallrule +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerFirewallRule + +## SYNOPSIS +List all the firewall rules in a given server. + +## SYNTAX + +### List (Default) +``` +Get-AzPostgreSqlFlexibleServerFirewallRule -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzPostgreSqlFlexibleServerFirewallRule -InputObject [-DefaultProfile ] + [] +``` + +## DESCRIPTION +List all the firewall rules in a given server. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Get-AzPostgreSqlFlexibleServerFirewallRule -Name firewallrule-test -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test +``` + +FirewallRuleName StartIPAddress EndIPAddress +----------------- --------------- --------------- +firewallrule-test 12.12.12.12 23.23.23.23 + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +$ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/servers/postgresql-test/firewallRules/firewallrule-test" +PS C:\> Get-AzPostgreSqlFlexibleServerFirewallRule -InputObject $ID +``` + +FirewallRuleName StartIPAddress EndIPAddress +----------------- --------------- --------------- +firewallrule-test 12.12.12.12 23.23.23.23 + +### -------------------------- EXAMPLE 3 -------------------------- +```powershell +Get-AzPostgreSqlFlexibleServerFirewallRule -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test +``` + +FirewallRuleName StartIPAddress EndIPAddress +----------------- --------------- --------------- +firewallrule-test 12.12.12.12 23.23.23.23 +firewallrule-test2 12.12.12.15 23.23.23.25 + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server firewall rule. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: FirewallRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IFirewallRule + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/PostgreSql/docs/Get-AzPostgreSqlReplica.md b/src/PostgreSql/docs/Get-AzPostgreSqlReplica.md new file mode 100644 index 000000000000..fc57f6b15eba --- /dev/null +++ b/src/PostgreSql/docs/Get-AzPostgreSqlReplica.md @@ -0,0 +1,111 @@ +--- +external help file: +Module Name: Az.PostgreSql +online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/get-azpostgresqlreplica +schema: 2.0.0 +--- + +# Get-AzPostgreSqlReplica + +## SYNOPSIS +List all the replicas for a given server. + +## SYNTAX + +``` +Get-AzPostgreSqlReplica -ResourceGroupName -ServerName [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +## DESCRIPTION +List all the replicas for a given server. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Get-AzPostgreSqlReplica -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer +``` + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement +---- -------- ------------------ ------- ----------------------- ------- ------- -------------- +postgresqltestserverreplica eastus pwsh 9.6 5120 GP_Gen5_4 GeneralPurpose Enabled + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IServer + +## NOTES + +ALIASES + +## RELATED LINKS + diff --git a/src/PostgreSql/docs/Get-AzPostgreSqlServer.md b/src/PostgreSql/docs/Get-AzPostgreSqlServer.md new file mode 100644 index 000000000000..8c02d98e6856 --- /dev/null +++ b/src/PostgreSql/docs/Get-AzPostgreSqlServer.md @@ -0,0 +1,191 @@ +--- +external help file: +Module Name: Az.PostgreSql +online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/get-azpostgresqlserver +schema: 2.0.0 +--- + +# Get-AzPostgreSqlServer + +## SYNOPSIS +Gets information about a server. + +## SYNTAX + +### List1 (Default) +``` +Get-AzPostgreSqlServer [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzPostgreSqlServer -Name -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzPostgreSqlServer -InputObject [-DefaultProfile ] [] +``` + +### List +``` +Get-AzPostgreSqlServer -ResourceGroupName [-SubscriptionId ] [-DefaultProfile ] + [] +``` + +## DESCRIPTION +Gets information about a server. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Get-AzPostgreSqlServer +``` + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement +---- -------- ------------------ ------- ----------------------- ------- ------- -------------- +postgresqltestserver eastus pwsh 9.6 5120 GP_Gen5_4 GeneralPurpose Enabled + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +Get-AzPostgreSqlServer -ResourceGroupName PostgreSqlTestRG -Name PostgreSqlTestServer +``` + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement +---- -------- ------------------ ------- ----------------------- ------- ------- -------------- +postgresqltestserver eastus pwsh 9.6 5120 GP_Gen5_4 GeneralPurpose Enabled + +### -------------------------- EXAMPLE 3 -------------------------- +```powershell +Get-AzPostgreSqlServer -ResourceGroupName PostgreSqlTestRG +``` + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement +---- -------- ------------------ ------- ----------------------- ------- ------- -------------- +postgresqltestserver eastus pwsh 9.6 5120 GP_Gen5_4 GeneralPurpose Enabled + +### -------------------------- EXAMPLE 4 -------------------------- +```powershell +$ID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.DBforPostgreSQL/servers/postgresqltestserver" +PS C:\> Get-AzPostgreSqlServer -InputObject $ID +``` + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement +---- -------- ------------------ ------- ----------------------- ------- ------- -------------- +postgresqltestserver eastus pwsh 9.6 5120 GP_Gen5_4 GeneralPurpose Enabled + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: Get, List, List1 +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IServer + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/PostgreSql/docs/Get-AzPostgreSqlVirtualNetworkRule.md b/src/PostgreSql/docs/Get-AzPostgreSqlVirtualNetworkRule.md new file mode 100644 index 000000000000..7eb81f3d250e --- /dev/null +++ b/src/PostgreSql/docs/Get-AzPostgreSqlVirtualNetworkRule.md @@ -0,0 +1,208 @@ +--- +external help file: +Module Name: Az.PostgreSql +online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/get-azpostgresqlvirtualnetworkrule +schema: 2.0.0 +--- + +# Get-AzPostgreSqlVirtualNetworkRule + +## SYNOPSIS +Gets a virtual network rule. + +## SYNTAX + +### List (Default) +``` +Get-AzPostgreSqlVirtualNetworkRule -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-PassThru] [] +``` + +### Get +``` +Get-AzPostgreSqlVirtualNetworkRule -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-PassThru] [] +``` + +### GetViaIdentity +``` +Get-AzPostgreSqlVirtualNetworkRule -InputObject [-DefaultProfile ] [-PassThru] + [] +``` + +## DESCRIPTION +Gets a virtual network rule. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Get-AzPostgreSqlVirtualNetworkRule -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer +``` + +Name Type +---- ---- +vnet Microsoft.DBforPostgreSQL/servers/virtualNetworkRules + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +Get-AzPostgreSqlVirtualNetworkRule -Name vnet -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer +``` + +Name Type +---- ---- +vnet Microsoft.DBforPostgreSQL/servers/virtualNetworkRules + +### -------------------------- EXAMPLE 3 -------------------------- +```powershell +$ID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.DBforPostgreSQL/servers/PostgreSqlTestServer/virtualNetworkRules/vnet" +PS C:\> Get-AzPostgreSqlVirtualNetworkRule -InputObject $ID +``` + +Name Type +---- ---- +vnet Microsoft.DBforPostgreSQL/servers/virtualNetworkRules + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the virtual network rule. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: VirtualNetworkRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IVirtualNetworkRule + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/PostgreSql/docs/New-AzPostgreSqlFirewallRule.md b/src/PostgreSql/docs/New-AzPostgreSqlFirewallRule.md new file mode 100644 index 000000000000..c17a794973f9 --- /dev/null +++ b/src/PostgreSql/docs/New-AzPostgreSqlFirewallRule.md @@ -0,0 +1,284 @@ +--- +external help file: +Module Name: Az.PostgreSql +online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/new-azpostgresqlfirewallrule +schema: 2.0.0 +--- + +# New-AzPostgreSqlFirewallRule + +## SYNOPSIS +Creates a new firewall rule or updates an existing firewall rule. + +## SYNTAX + +### CreateExpanded (Default) +``` +New-AzPostgreSqlFirewallRule -ResourceGroupName -ServerName -EndIPAddress + -StartIPAddress [-Name ] [-SubscriptionId ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### AllowAll +``` +New-AzPostgreSqlFirewallRule -ResourceGroupName -ServerName -AllowAll [-Name ] + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### ClientIPAddress +``` +New-AzPostgreSqlFirewallRule -ResourceGroupName -ServerName -ClientIPAddress + [-Name ] [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Creates a new firewall rule or updates an existing firewall rule. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +New-AzPostgreSqlFirewallRule -Name rule -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 +``` + +Name StartIPAddress EndIPAddress +---- -------------- ------------ +rule 0.0.0.0 0.0.0.1 + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +New-AzPostgreSqlFirewallRule -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer -ClientIPAddress 0.0.0.1 +``` + +Name StartIPAddress EndIPAddress +---- -------------- ------------ +ClientIPAddress_2020-08-11_18-19-27 0.0.0.1 0.0.0.1 + +### -------------------------- EXAMPLE 3 -------------------------- +```powershell +New-AzPostgreSqlFirewallRule -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer -AllowAll +``` + +Name StartIPAddress EndIPAddress +---- -------------- ------------ +AllowAll_2020-08-11_18-19-27 0.0.0.0 255.255.255.255 + +## PARAMETERS + +### -AllowAll +Present to allow all range IPs, from 0.0.0.0 to 255.255.255.255. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: AllowAll +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClientIPAddress +Client specified single IP of the server firewall rule. +Must be IPv4 format. + +```yaml +Type: System.String +Parameter Sets: ClientIPAddress +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EndIPAddress +The end IP address of the server firewall rule. +Must be IPv4 format. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the server firewall rule. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: FirewallRuleName + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StartIPAddress +The start IP address of the server firewall rule. +Must be IPv4 format. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IFirewallRule + +## NOTES + +ALIASES + +## RELATED LINKS + diff --git a/src/PostgreSql/docs/New-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/docs/New-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..2c8e873896c3 --- /dev/null +++ b/src/PostgreSql/docs/New-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,329 @@ +--- +external help file: +Module Name: Az.PostgreSql +online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/new-azpostgresqlflexibleserver +schema: 2.0.0 +--- + +# New-AzPostgreSqlFlexibleServer + +## SYNOPSIS +Creates a new server. + +## SYNTAX + +``` +New-AzPostgreSqlFlexibleServer -Name -ResourceGroupName + -AdministratorLoginPassword -AdministratorUserName [-SubscriptionId ] + [-BackupRetentionDay ] [-Location ] [-Sku ] [-SkuTier ] [-StorageInMb ] + [-Tag ] [-Version ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Creates a new server. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +$password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force +PS C:\> New-AzPostgreSqlFlexibleServer -Name postgresql-test -ResourceGroupName PowershellPostgreSqlTest \ +-Location eastus -AdministratorUserName postgresqltest -AdministratorLoginPassword $password -Sku Standard_B1ms -SkuTier Burstable -Version 12 -StorageInMb 131072 +``` + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ------------ ------------- +postgresql-test East US postgresqltest 12 131072 Standard_D2s_v3 GeneralPurpose + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +$password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force +PS C:\> New-AzPostgreSqlFlexibleServer -Name postgresql-test -ResourceGroupName PowershellPostgreSqlTest \ +-AdministratorUserName postgresqltest -AdministratorLoginPassword $password +``` + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ------------ ------------- +postgresql-test East US postgresqltest 12 131072 Standard_D2s_v3 GeneralPurpose + +## PARAMETERS + +### -AdministratorLoginPassword +The password of the administrator. +Minimum 8 characters and maximum 128 characters. +Password must contain characters from three of the following categories: English uppercase letters, English lowercase letters, numbers, and non-alphanumeric characters. + +```yaml +Type: System.Security.SecureString +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AdministratorUserName +Administrator username for the server. +Once set, it cannot be changed. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -BackupRetentionDay +Backup retention days for the server. +Day count is between 7 and 35. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Location +The location the resource resides in. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Sku +The name of the sku, typically, tier + family + cores, e.g. +Standard_B1ms, Standard_D2ds_v4. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkuTier +Compute tier of the server. +Accepted values: Burstable, GeneralPurpose, Memory Optimized. +Default: Burstable. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageInMb +Max storage allowed for a server. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The subscription ID that identifies an Azure subscription. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tag +Application-specific metadata in the form of key-value pairs. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Version +Server version. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.ServerVersion +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20200214Preview.IServerAutoGenerated + +## NOTES + +ALIASES + +## RELATED LINKS + diff --git a/src/PostgreSql/docs/New-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSql/docs/New-AzPostgreSqlFlexibleServerFirewallRule.md new file mode 100644 index 000000000000..82eca83b0128 --- /dev/null +++ b/src/PostgreSql/docs/New-AzPostgreSqlFlexibleServerFirewallRule.md @@ -0,0 +1,286 @@ +--- +external help file: +Module Name: Az.PostgreSql +online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/new-azpostgresqlflexibleserverfirewallrule +schema: 2.0.0 +--- + +# New-AzPostgreSqlFlexibleServerFirewallRule + +## SYNOPSIS +Creates a new firewall rule or updates an existing firewall rule. + +## SYNTAX + +### CreateExpanded (Default) +``` +New-AzPostgreSqlFlexibleServerFirewallRule -ResourceGroupName -ServerName + -EndIPAddress -StartIPAddress [-Name ] [-SubscriptionId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### AllowAll +``` +New-AzPostgreSqlFlexibleServerFirewallRule -ResourceGroupName -ServerName -AllowAll + [-Name ] [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### ClientIPAddress +``` +New-AzPostgreSqlFlexibleServerFirewallRule -ResourceGroupName -ServerName + -ClientIPAddress [-Name ] [-SubscriptionId ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Creates a new firewall rule or updates an existing firewall rule. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +New-AzPostgreSqlFlexibleServerFirewallRule -Name firewallrule-test -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 +``` + +Name StartIPAddress EndIPAddress +----------------- -------------- ------------ +firewallrule-test 0.0.0.0 0.0.0.1 + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +New-AzPostgreSqlFlexibleServerFirewallRule -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test -ClientIPAddress 0.0.0.1 +``` + +Name StartIPAddress EndIPAddress +---- -------------- ------------ +ClientIPAddress_2020-08-11_18-19-27 0.0.0.1 0.0.0.1 + +### -------------------------- EXAMPLE 3 -------------------------- +```powershell +New-AzPostgreSqlFlexibleServerFirewallRule -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test -AllowAll +``` + +Name StartIPAddress EndIPAddress +---- -------------- ------------ +AllowAll_2020-08-11_18-19-27 0.0.0.0 255.255.255.255 + +## PARAMETERS + +### -AllowAll +Present to allow all range IPs, from 0.0.0.0 to 255.255.255.255. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: AllowAll +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClientIPAddress +Client specified single IP of the server firewall rule. +Must be IPv4 format. + +```yaml +Type: System.String +Parameter Sets: ClientIPAddress +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EndIPAddress +The end IP address of the server firewall rule. +Must be IPv4 format. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the server firewall rule. +If not specified, the default is undefined. +If AllowAll is present, the default name is AllowAll_yyyy-MM-dd_HH-mm-ss. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: FirewallRuleName + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StartIPAddress +The start IP address of the server firewall rule. +Must be IPv4 format. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IFirewallRule + +## NOTES + +ALIASES + +## RELATED LINKS + diff --git a/src/PostgreSql/docs/New-AzPostgreSqlReplica.md b/src/PostgreSql/docs/New-AzPostgreSqlReplica.md new file mode 100644 index 000000000000..de834ac01f26 --- /dev/null +++ b/src/PostgreSql/docs/New-AzPostgreSqlReplica.md @@ -0,0 +1,263 @@ +--- +external help file: +Module Name: Az.PostgreSql +online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/new-azpostgresqlreplica +schema: 2.0.0 +--- + +# New-AzPostgreSqlReplica + +## SYNOPSIS +Creates a new replica from an existing database. + +## SYNTAX + +``` +New-AzPostgreSqlReplica -ReplicaName -ResourceGroupName -Master + [-SubscriptionId ] [-Location ] [-Sku ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Creates a new replica from an existing database. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Get-AzPostgreSqlServer -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer | New-AzPostgreSqlReplica -ReplicaName PostgreSqlTestServerReplica -ResourceGroupName PostgreSqlTestRG +``` + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement +---- -------- ------------------ ------- ----------------------- ------- ------- -------------- +postgresqltestserverreplica eastus pwsh 9.6 5120 GP_Gen5_4 GeneralPurpose Enabled + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +$pgDb = Get-AzPostgreSqlServer -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer +PS C:\> New-AzPostgreSqlReplica -Master $pgDb -ReplicaName PostgreSqlTestServerReplica -ResourceGroupName PostgreSqlTestRG +``` + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement +---- -------- ------------------ ------- ----------------------- ------- ------- -------------- +postgresqltestserverreplica eastus pwsh 9.6 5120 GP_Gen5_4 GeneralPurpose Enabled + +## PARAMETERS + +### -AsJob +Run the command as a job. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Location +The location the resource resides in. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Master +The source server object to create replica from. +To construct, see NOTES section for MASTER properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IServer +Parameter Sets: (All) +Aliases: InputObject + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReplicaName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: ReplicaServerName, Name + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Sku +The name of the sku, typically, tier + family + cores, e.g. +B_Gen4_1, GP_Gen5_8. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The subscription ID that identifies an Azure subscription. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IServer + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IServer + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +MASTER : The source server object to create replica from. + - `Location `: The geo-location where the resource lives + - `SkuName `: The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. + - `[Tag ]`: Resource tags. + - `[(Any) ]`: This indicates any property can be added to this object. + - `[AdministratorLogin ]`: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). + - `[EarliestRestoreDate ]`: Earliest restore point creation time (ISO8601 format) + - `[FullyQualifiedDomainName ]`: The fully qualified domain name of a server. + - `[IdentityType ]`: The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. + - `[InfrastructureEncryption ]`: Status showing whether the server enabled infrastructure encryption. + - `[MasterServerId ]`: The master server id of a replica server. + - `[MinimalTlsVersion ]`: Enforce a minimal Tls version for the server. + - `[PublicNetworkAccess ]`: Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' + - `[ReplicaCapacity ]`: The maximum number of replicas that a master server can have. + - `[ReplicationRole ]`: The replication role of the server. + - `[SkuCapacity ]`: The scale up/out capacity, representing server's compute units. + - `[SkuFamily ]`: The family of hardware. + - `[SkuSize ]`: The size code, to be interpreted by resource as appropriate. + - `[SkuTier ]`: The tier of the particular SKU, e.g. Basic. + - `[SslEnforcement ]`: Enable ssl enforcement or not when connect to server. + - `[StorageProfileBackupRetentionDay ]`: Backup retention days for the server. + - `[StorageProfileGeoRedundantBackup ]`: Enable Geo-redundant or not for server backup. + - `[StorageProfileStorageAutogrow ]`: Enable Storage Auto Grow. + - `[StorageProfileStorageMb ]`: Max storage allowed for a server. + - `[UserVisibleState ]`: A state of a server that is visible to user. + - `[Version ]`: Server version. + +## RELATED LINKS + diff --git a/src/PostgreSql/docs/New-AzPostgreSqlServer.md b/src/PostgreSql/docs/New-AzPostgreSqlServer.md new file mode 100644 index 000000000000..06a5effe2e02 --- /dev/null +++ b/src/PostgreSql/docs/New-AzPostgreSqlServer.md @@ -0,0 +1,345 @@ +--- +external help file: +Module Name: Az.PostgreSql +online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/new-azpostgresqlserver +schema: 2.0.0 +--- + +# New-AzPostgreSqlServer + +## SYNOPSIS +Creates a new server. + +## SYNTAX + +``` +New-AzPostgreSqlServer -Name -ResourceGroupName -AdministratorLoginPassword + -AdministratorUserName -Location -Sku [-SubscriptionId ] + [-BackupRetentionDay ] [-GeoRedundantBackup ] + [-SslEnforcement ] [-StorageAutogrow ] [-StorageInMb ] + [-Tag ] [-Version ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Creates a new server. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +New-AzPostgreSqlServer -Name PostgreSqlTestServer -ResourceGroupName PostgreSqlTestRG -Location eastus -AdministratorUserName pwsh -AdministratorLoginPassword $password -Sku GP_Gen5_4 +``` + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement +---- -------- ------------------ ------- ----------------------- ------- ------- -------------- +postgresqltestserver eastus pwsh 9.6 5120 GP_Gen5_4 GeneralPurpose Enabled + +## PARAMETERS + +### -AdministratorLoginPassword +The password of the administrator. +Minimum 8 characters and maximum 128 characters. +Password must contain characters from three of the following categories: English uppercase letters, English lowercase letters, numbers, and non-alphanumeric characters. + +```yaml +Type: System.Security.SecureString +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AdministratorUserName +Administrator username for the server. +Once set, it cannot be changed. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -BackupRetentionDay +Backup retention days for the server. +Day count is between 7 and 35. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GeoRedundantBackup +Enable Geo-redundant or not for server backup. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.GeoRedundantBackup +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Location +The location the resource resides in. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Sku +The name of the sku, typically, tier + family + cores, e.g. +B_Gen4_1, GP_Gen5_8. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SslEnforcement +Enable ssl enforcement or not when connect to server. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.SslEnforcementEnum +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageAutogrow +Enable Storage Auto Grow. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.StorageAutogrow +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageInMb +Max storage allowed for a server. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The subscription ID that identifies an Azure subscription. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tag +Application-specific metadata in the form of key-value pairs. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Version +Server version. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.ServerVersion +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IServer + +## NOTES + +ALIASES + +## RELATED LINKS + diff --git a/src/PostgreSql/docs/New-AzPostgreSqlVirtualNetworkRule.md b/src/PostgreSql/docs/New-AzPostgreSqlVirtualNetworkRule.md new file mode 100644 index 000000000000..6f480034188b --- /dev/null +++ b/src/PostgreSql/docs/New-AzPostgreSqlVirtualNetworkRule.md @@ -0,0 +1,234 @@ +--- +external help file: +Module Name: Az.PostgreSql +online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/new-azpostgresqlvirtualnetworkrule +schema: 2.0.0 +--- + +# New-AzPostgreSqlVirtualNetworkRule + +## SYNOPSIS +Creates or updates an existing virtual network rule. + +## SYNTAX + +``` +New-AzPostgreSqlVirtualNetworkRule -Name -ResourceGroupName -ServerName + -SubnetId [-SubscriptionId ] [-IgnoreMissingVnetServiceEndpoint] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Creates or updates an existing virtual network rule. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +$ID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.Network/virtualNetworks/PostgreSqlVNet/subnets/default" +PS C:\> New-AzPostgreSqlVirtualNetworkRule -Name vnet -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer -SubnetId $ID +``` + +Name Type +---- ---- +vnet Microsoft.DBforPostgreSQL/servers/virtualNetworkRules + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IgnoreMissingVnetServiceEndpoint +Create firewall rule before the virtual network has vnet service endpoint enabled. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the virtual network rule. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: VirtualNetworkRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubnetId +The ARM resource id of the virtual network subnet. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IVirtualNetworkRule + +## NOTES + +ALIASES + +## RELATED LINKS + diff --git a/src/PostgreSql/docs/Remove-AzPostgreSqlFirewallRule.md b/src/PostgreSql/docs/Remove-AzPostgreSqlFirewallRule.md new file mode 100644 index 000000000000..e4f6a54b3e55 --- /dev/null +++ b/src/PostgreSql/docs/Remove-AzPostgreSqlFirewallRule.md @@ -0,0 +1,251 @@ +--- +external help file: +Module Name: Az.PostgreSql +online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/remove-azpostgresqlfirewallrule +schema: 2.0.0 +--- + +# Remove-AzPostgreSqlFirewallRule + +## SYNOPSIS +Deletes a server firewall rule. + +## SYNTAX + +### Delete (Default) +``` +Remove-AzPostgreSqlFirewallRule -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +### DeleteViaIdentity +``` +Remove-AzPostgreSqlFirewallRule -InputObject [-DefaultProfile ] [-AsJob] + [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Deletes a server firewall rule. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Remove-AzPostgreSqlFirewallRule -Name rule -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +$ID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.DBforPostgreSQL/servers/PostgreSqlTestServer/firewallRules/rule" +PS C:\> Remove-AzPostgreSqlFirewallRule -InputObject $ID +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server firewall rule. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: FirewallRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/PostgreSql/docs/Remove-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/docs/Remove-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..0f022b319508 --- /dev/null +++ b/src/PostgreSql/docs/Remove-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,235 @@ +--- +external help file: +Module Name: Az.PostgreSql +online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/remove-azpostgresqlflexibleserver +schema: 2.0.0 +--- + +# Remove-AzPostgreSqlFlexibleServer + +## SYNOPSIS +Deletes a server. + +## SYNTAX + +### Delete (Default) +``` +Remove-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentity +``` +Remove-AzPostgreSqlFlexibleServer -InputObject [-DefaultProfile ] [-AsJob] + [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Deletes a server. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Remove-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -Name postgresql-test +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +$ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test" +PS C:\> Remove-AzPostgreSqlFlexibleServer -InputObject $ID +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/PostgreSql/docs/Remove-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSql/docs/Remove-AzPostgreSqlFlexibleServerFirewallRule.md new file mode 100644 index 000000000000..b6f85f69aca1 --- /dev/null +++ b/src/PostgreSql/docs/Remove-AzPostgreSqlFlexibleServerFirewallRule.md @@ -0,0 +1,251 @@ +--- +external help file: +Module Name: Az.PostgreSql +online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/remove-azpostgresqlflexibleserverfirewallrule +schema: 2.0.0 +--- + +# Remove-AzPostgreSqlFlexibleServerFirewallRule + +## SYNOPSIS +Deletes a PostgreSQL server firewall rule. + +## SYNTAX + +### Delete (Default) +``` +Remove-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +### DeleteViaIdentity +``` +Remove-AzPostgreSqlFlexibleServerFirewallRule -InputObject [-DefaultProfile ] + [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Deletes a PostgreSQL server firewall rule. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Remove-AzPostgreSqlFlexibleServerFirewallRule -Name firewall-rule-test -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +$ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test/firewallRules/firewall-rule-test" +PS C:\> Remove-AzPostgreSqlFlexibleServerFirewallRule -InputObject $ID +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server firewall rule. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: FirewallRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/PostgreSql/docs/Remove-AzPostgreSqlServer.md b/src/PostgreSql/docs/Remove-AzPostgreSqlServer.md new file mode 100644 index 000000000000..8e3d03ab932d --- /dev/null +++ b/src/PostgreSql/docs/Remove-AzPostgreSqlServer.md @@ -0,0 +1,235 @@ +--- +external help file: +Module Name: Az.PostgreSql +online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/remove-azpostgresqlserver +schema: 2.0.0 +--- + +# Remove-AzPostgreSqlServer + +## SYNOPSIS +Deletes a server. + +## SYNTAX + +### Delete (Default) +``` +Remove-AzPostgreSqlServer -Name -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentity +``` +Remove-AzPostgreSqlServer -InputObject [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Deletes a server. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Remove-AzPostgreSqlServer -ResourceGroupName PostgreSqlTestRG -Name PostgreSqlTestServer +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +$ID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.DBforPostgreSQL/servers/PostgreSqlTestServer" +PS C:\> Remove-AzPostgreSqlServer -InputObject $ID +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/PostgreSql/docs/Remove-AzPostgreSqlVirtualNetworkRule.md b/src/PostgreSql/docs/Remove-AzPostgreSqlVirtualNetworkRule.md new file mode 100644 index 000000000000..794286491499 --- /dev/null +++ b/src/PostgreSql/docs/Remove-AzPostgreSqlVirtualNetworkRule.md @@ -0,0 +1,251 @@ +--- +external help file: +Module Name: Az.PostgreSql +online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/remove-azpostgresqlvirtualnetworkrule +schema: 2.0.0 +--- + +# Remove-AzPostgreSqlVirtualNetworkRule + +## SYNOPSIS +Deletes the virtual network rule with the given name. + +## SYNTAX + +### Delete (Default) +``` +Remove-AzPostgreSqlVirtualNetworkRule -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +### DeleteViaIdentity +``` +Remove-AzPostgreSqlVirtualNetworkRule -InputObject [-DefaultProfile ] [-AsJob] + [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Deletes the virtual network rule with the given name. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Remove-AzPostgreSqlVirtualNetworkRule -Name vnet -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +$ID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.DBforPostgreSQL/servers/PostgreSqlTestServer/virtualNetworkRules/vnet" +PS C:\> Remove-AzPostgreSqlVirtualNetworkRule -InputObject $ID +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the virtual network rule. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: VirtualNetworkRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/PostgreSql/docs/Restart-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/docs/Restart-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..e9bac3eebe08 --- /dev/null +++ b/src/PostgreSql/docs/Restart-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,235 @@ +--- +external help file: +Module Name: Az.PostgreSql +online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/restart-azpostgresqlflexibleserver +schema: 2.0.0 +--- + +# Restart-AzPostgreSqlFlexibleServer + +## SYNOPSIS +Restarts a server. + +## SYNTAX + +### Restart (Default) +``` +Restart-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### RestartViaIdentity +``` +Restart-AzPostgreSqlFlexibleServer -InputObject [-DefaultProfile ] [-AsJob] + [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Restarts a server. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Restart-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -Name postgresql-test +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +$ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test/restart" +PS C:\> Restart-AzPostgreSqlFlexibleServer -InputObject $ID +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity +Parameter Sets: RestartViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Restart +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Restart +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: Restart +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/PostgreSql/docs/Restart-AzPostgreSqlServer.md b/src/PostgreSql/docs/Restart-AzPostgreSqlServer.md new file mode 100644 index 000000000000..0719a34ba5ab --- /dev/null +++ b/src/PostgreSql/docs/Restart-AzPostgreSqlServer.md @@ -0,0 +1,235 @@ +--- +external help file: +Module Name: Az.PostgreSql +online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/restart-azpostgresqlserver +schema: 2.0.0 +--- + +# Restart-AzPostgreSqlServer + +## SYNOPSIS +Restarts a server. + +## SYNTAX + +### Restart (Default) +``` +Restart-AzPostgreSqlServer -Name -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### RestartViaIdentity +``` +Restart-AzPostgreSqlServer -InputObject [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Restarts a server. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Restart-AzPostgreSqlServer -ResourceGroupName PostgreSqlTestRG -Name PostgreSqlTestServer +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +$ID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.DBforPostgreSQL/servers/PostgreSqlTestServer/restart" +PS C:\> Restart-AzPostgreSqlServer -InputObject $ID +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity +Parameter Sets: RestartViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Restart +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Restart +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: Restart +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/PostgreSql/docs/Restore-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/docs/Restore-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..f55b4f794474 --- /dev/null +++ b/src/PostgreSql/docs/Restore-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,218 @@ +--- +external help file: +Module Name: Az.PostgreSql +online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/restore-azpostgresqlflexibleserver +schema: 2.0.0 +--- + +# Restore-AzPostgreSqlFlexibleServer + +## SYNOPSIS +Restore a server from an existing backup + +## SYNTAX + +``` +Restore-AzPostgreSqlFlexibleServer -Name -ResourceGroupName -SourceServerName + -Location -RestorePointInTime [-SubscriptionId ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Restore a server from an existing backup + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +$restorePointInTime = (Get-Date).AddMinutes(-10) +PS C:\> Restore-AzPostgreSqlFlexibleServer -Name pg-restore -ResourceGroupName PowershellPostgreSqlTest -SourceServerName postgresql-test -Location eastus -RestorePointInTime $restorePointInTime +``` + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ------- ------- +pg-restore eastus postgresql_test 12 131072 Standard_D2s_v3 GeneralPurpose + +## PARAMETERS + +### -AsJob +Run the command as a job. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Location +The location the resource resides in. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RestorePointInTime +The point in time to restore from (ISO8601 format), e.g., 2017-04-26T02:10:00+08:00. + +```yaml +Type: System.DateTime +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SourceServerName +The name of the source server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The subscription ID that identifies an Azure subscription. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20200214Preview.IServerAutoGenerated + +## NOTES + +ALIASES + +## RELATED LINKS + diff --git a/src/PostgreSql/docs/Restore-AzPostgreSqlServer.md b/src/PostgreSql/docs/Restore-AzPostgreSqlServer.md new file mode 100644 index 000000000000..1f7288e6d6e0 --- /dev/null +++ b/src/PostgreSql/docs/Restore-AzPostgreSqlServer.md @@ -0,0 +1,332 @@ +--- +external help file: +Module Name: Az.PostgreSql +online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/restore-azpostgresqlserver +schema: 2.0.0 +--- + +# Restore-AzPostgreSqlServer + +## SYNOPSIS +Restore a server from an existing backup + +## SYNTAX + +### GeoRestore (Default) +``` +Restore-AzPostgreSqlServer -Name -ResourceGroupName -InputObject -UseGeoRestore + [-SubscriptionId ] [-Location ] [-Sku ] [-Tag ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### PointInTimeRestore +``` +Restore-AzPostgreSqlServer -Name -ResourceGroupName -InputObject + -RestorePointInTime -UsePointInTimeRestore [-SubscriptionId ] [-Location ] + [-Sku ] [-Tag ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Restore a server from an existing backup + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Get-AzPostgreSqlServer -ResourceGroupName PostgreSqlTestRG -ServerName postgresqltestserverreplica | Restore-AzPostgreSqlServer -Name PostgreSqlTestServer -ResourceGroupName PostgreSqlTestRG -UseGeoRestore +``` + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement +---- -------- ------------------ ------- ----------------------- ------- ------- -------------- +postgresqltestserver eastus pwsh 9.6 5120 GP_Gen5_4 GeneralPurpose Enabled + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +$restorePointInTime = (Get-Date).AddMinutes(-10) +PS C:\> Get-AzPostgreSqlServer -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer | Restore-AzPostgreSqlServer -Name PostgreSqlTestServerGEO -ResourceGroupName PostgreSqlTestRG -RestorePointInTime $restorePointInTime -UsePointInTimeRestore +``` + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement +---- -------- ------------------ ------- ----------------------- ------- ------- -------------- +postgresqltestservergeo eastus pwsh 9.6 5120 GP_Gen5_4 GeneralPurpose Enabled + +## PARAMETERS + +### -AsJob +Run the command as a job. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +The source server object to restore from. +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IServer +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Location +The location the resource resides in. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RestorePointInTime +The location the resource resides in. + +```yaml +Type: System.DateTime +Parameter Sets: PointInTimeRestore +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Sku +The name of the sku, typically, tier + family + cores, e.g. +B_Gen4_1, GP_Gen5_8. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The subscription ID that identifies an Azure subscription. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tag +Application-specific metadata in the form of key-value pairs. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UseGeoRestore +Use Geo mode to restore + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: GeoRestore +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UsePointInTimeRestore +Use PointInTime mode to restore + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: PointInTimeRestore +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IServer + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IServer + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : The source server object to restore from. + - `Location `: The geo-location where the resource lives + - `SkuName `: The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. + - `[Tag ]`: Resource tags. + - `[(Any) ]`: This indicates any property can be added to this object. + - `[AdministratorLogin ]`: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). + - `[EarliestRestoreDate ]`: Earliest restore point creation time (ISO8601 format) + - `[FullyQualifiedDomainName ]`: The fully qualified domain name of a server. + - `[IdentityType ]`: The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. + - `[InfrastructureEncryption ]`: Status showing whether the server enabled infrastructure encryption. + - `[MasterServerId ]`: The master server id of a replica server. + - `[MinimalTlsVersion ]`: Enforce a minimal Tls version for the server. + - `[PublicNetworkAccess ]`: Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' + - `[ReplicaCapacity ]`: The maximum number of replicas that a master server can have. + - `[ReplicationRole ]`: The replication role of the server. + - `[SkuCapacity ]`: The scale up/out capacity, representing server's compute units. + - `[SkuFamily ]`: The family of hardware. + - `[SkuSize ]`: The size code, to be interpreted by resource as appropriate. + - `[SkuTier ]`: The tier of the particular SKU, e.g. Basic. + - `[SslEnforcement ]`: Enable ssl enforcement or not when connect to server. + - `[StorageProfileBackupRetentionDay ]`: Backup retention days for the server. + - `[StorageProfileGeoRedundantBackup ]`: Enable Geo-redundant or not for server backup. + - `[StorageProfileStorageAutogrow ]`: Enable Storage Auto Grow. + - `[StorageProfileStorageMb ]`: Max storage allowed for a server. + - `[UserVisibleState ]`: A state of a server that is visible to user. + - `[Version ]`: Server version. + +## RELATED LINKS + diff --git a/src/PostgreSql/docs/Start-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/docs/Start-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..2d10b89169ba --- /dev/null +++ b/src/PostgreSql/docs/Start-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,235 @@ +--- +external help file: +Module Name: Az.PostgreSql +online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/start-azpostgresqlflexibleserver +schema: 2.0.0 +--- + +# Start-AzPostgreSqlFlexibleServer + +## SYNOPSIS +Starts a server. + +## SYNTAX + +### Start (Default) +``` +Start-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### StartViaIdentity +``` +Start-AzPostgreSqlFlexibleServer -InputObject [-DefaultProfile ] [-AsJob] + [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Starts a server. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Start-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -Name postgresql-test +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +$ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test/start" +PS C:\> Start-AzPostgreSqlFlexibleServer -InputObject $ID +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity +Parameter Sets: StartViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Start +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Start +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: Start +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/PostgreSql/docs/Stop-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/docs/Stop-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..d6b178ae3c45 --- /dev/null +++ b/src/PostgreSql/docs/Stop-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,235 @@ +--- +external help file: +Module Name: Az.PostgreSql +online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/stop-azpostgresqlflexibleserver +schema: 2.0.0 +--- + +# Stop-AzPostgreSqlFlexibleServer + +## SYNOPSIS +Stops a server. + +## SYNTAX + +### Stop (Default) +``` +Stop-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### StopViaIdentity +``` +Stop-AzPostgreSqlFlexibleServer -InputObject [-DefaultProfile ] [-AsJob] + [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Stops a server. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Stop-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -Name postgresql-test +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +$ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test/stop" +PS C:\> Stop-AzPostgreSqlFlexibleServer -InputObject $ID +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity +Parameter Sets: StopViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Stop +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Stop +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: Stop +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/PostgreSql/docs/Update-AzPostgreSqlConfiguration.md b/src/PostgreSql/docs/Update-AzPostgreSqlConfiguration.md new file mode 100644 index 000000000000..25fa887b4046 --- /dev/null +++ b/src/PostgreSql/docs/Update-AzPostgreSqlConfiguration.md @@ -0,0 +1,272 @@ +--- +external help file: +Module Name: Az.PostgreSql +online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/update-azpostgresqlconfiguration +schema: 2.0.0 +--- + +# Update-AzPostgreSqlConfiguration + +## SYNOPSIS +Updates a configuration of a server. +Use Update-AzPostgreSqlServer instead if you want update AdministratorLoginPassword, sku, etc. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzPostgreSqlConfiguration -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-Source ] [-Value ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzPostgreSqlConfiguration -InputObject [-Source ] [-Value ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Updates a configuration of a server. +Use Update-AzPostgreSqlServer instead if you want update AdministratorLoginPassword, sku, etc. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Update-AzPostgreSqlConfiguration -Name intervalstyle -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer -Value SQL_STANDARD +``` + +Name Value +---- ----- +intervalstyle SQL_STANDARD + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +$ID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.DBforPostgreSQL/servers/PostgreSqlTestServer/configurations/deadlock_timeout" +PS C:\> Update-AzPostgreSqlConfiguration -InputObject $ID -Value 2000 +``` + +Name Value +---- ----- +deadlock_timeout 2000 + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server configuration. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: ConfigurationName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Source +Source of the configuration. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Value +Value of the configuration. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IConfiguration + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/PostgreSql/docs/Update-AzPostgreSqlFirewallRule.md b/src/PostgreSql/docs/Update-AzPostgreSqlFirewallRule.md new file mode 100644 index 000000000000..d4b085b4655f --- /dev/null +++ b/src/PostgreSql/docs/Update-AzPostgreSqlFirewallRule.md @@ -0,0 +1,312 @@ +--- +external help file: +Module Name: Az.PostgreSql +online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/update-azpostgresqlfirewallrule +schema: 2.0.0 +--- + +# Update-AzPostgreSqlFirewallRule + +## SYNOPSIS +Creates a new firewall rule or updates an existing firewall rule. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzPostgreSqlFirewallRule -Name -ResourceGroupName -ServerName + -EndIPAddress -StartIPAddress [-SubscriptionId ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### ClientIPAddress +``` +Update-AzPostgreSqlFirewallRule -Name -ResourceGroupName -ServerName + -ClientIPAddress [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### ClientIPAddressViaIdentity +``` +Update-AzPostgreSqlFirewallRule -InputObject -ClientIPAddress + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzPostgreSqlFirewallRule -InputObject -EndIPAddress + -StartIPAddress [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Creates a new firewall rule or updates an existing firewall rule. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Update-AzPostgreSqlFirewallRule -Name rule -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 +``` + +Name StartIPAddress EndIPAddress +---- -------------- ------------ +rule 0.0.0.2 0.0.0.3 + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +$ID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.DBforPostgreSQL/servers/PostgreSqlTestServer/firewallRules/rule" +PS C:\> Update-AzPostgreSqlFirewallRule -InputObject $ID -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 +``` + +Name StartIPAddress EndIPAddress +---- -------------- ------------ +rule 0.0.0.0 0.0.0.1 + +### -------------------------- EXAMPLE 3 -------------------------- +```powershell +$ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/PostgreSqlTestServer/firewallRules/rule" +PS C:\> Update-AzPostgreSqlFirewallRule -InputObject $ID --ClientIPAddress 0.0.0.2 +``` + +Name StartIPAddress EndIPAddress +---- -------------- ------------ +rule 0.0.0.2 0.0.0.2 + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClientIPAddress +Client specified single IP of the server firewall rule. +Must be IPv4 format. + +```yaml +Type: System.String +Parameter Sets: ClientIPAddress, ClientIPAddressViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EndIPAddress +The end IP address of the server firewall rule. +Must be IPv4 format. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity +Parameter Sets: ClientIPAddressViaIdentity, UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server firewall rule. + +```yaml +Type: System.String +Parameter Sets: ClientIPAddress, UpdateExpanded +Aliases: FirewallRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: ClientIPAddress, UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: ClientIPAddress, UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StartIPAddress +The start IP address of the server firewall rule. +Must be IPv4 format. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: ClientIPAddress, UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IFirewallRule + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..1f38c586a6ff --- /dev/null +++ b/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,386 @@ +--- +external help file: +Module Name: Az.PostgreSql +online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/update-azpostgresqlflexibleserver +schema: 2.0.0 +--- + +# Update-AzPostgreSqlFlexibleServer + +## SYNOPSIS +Updates an existing server. +The request body can contain one to many of the properties present in the normal server definition. +Use Update-AzPostgreSqlConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + [-AdministratorLoginPassword ] [-BackupRetentionDay ] [-HaEnabled ] + [-ReplicationRole ] [-Sku ] [-SkuTier ] [-SslEnforcement ] + [-StorageAutogrow ] [-StorageInMb ] [-Tag ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzPostgreSqlFlexibleServer -InputObject + [-AdministratorLoginPassword ] [-BackupRetentionDay ] [-HaEnabled ] + [-ReplicationRole ] [-Sku ] [-SkuTier ] [-SslEnforcement ] + [-StorageAutogrow ] [-StorageInMb ] [-Tag ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Updates an existing server. +The request body can contain one to many of the properties present in the normal server definition. +Use Update-AzPostgreSqlConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Update-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -Name postgresql-test -Sku Standard_D4s_v3 +``` + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +postgresql-test eastus postgresql_test 12 131072 Standard_D4s_v3 GeneralPurpose + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +Get-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test | Update-AzPostgreSqlFlexibleServer -BackupRetentionDay 23 -StorageMb 10240 +``` + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +postgresql-test eastus postgresql_test 12 131072 Standard_D2s_v3 GeneralPurpose + +## PARAMETERS + +### -AdministratorLoginPassword +The password of the administrator login. + +```yaml +Type: System.Security.SecureString +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -BackupRetentionDay +Backup retention days for the server. +Day count is between 7 and 35. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -HaEnabled +Enable or disable high availability feature. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.HaEnabledEnum +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter. +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReplicationRole +The replication role of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group that contains the resource. +You can obtain this value from the Azure Resource Manager API or the portal. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Sku +The name of the sku, typically, tier + family + cores, e.g. +B_Gen4_1, GP_Gen5_8. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkuTier +The tier of the particular SKU, e.g. +Basic. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.SkuTier +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SslEnforcement +Enable ssl enforcement or not when connect to server. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.SslEnforcementEnum +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageAutogrow +Enable Storage Auto Grow. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.StorageAutogrow +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageInMb +Max storage allowed for a server. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The subscription ID that identifies an Azure subscription. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tag +Application-specific metadata in the form of key-value pairs. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20200214Preview.IServerAutoGenerated + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter. + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServerConfiguration.md b/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServerConfiguration.md new file mode 100644 index 000000000000..cf47a195d617 --- /dev/null +++ b/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServerConfiguration.md @@ -0,0 +1,305 @@ +--- +external help file: +Module Name: Az.PostgreSql +online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/update-azpostgresqlflexibleserverconfiguration +schema: 2.0.0 +--- + +# Update-AzPostgreSqlFlexibleServerConfiguration + +## SYNOPSIS + + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzPostgreSqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-Source ] [-Value ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### Update +``` +Update-AzPostgreSqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName + -Parameter [-SubscriptionId ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentity +``` +Update-AzPostgreSqlFlexibleServerConfiguration -InputObject + -Parameter [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzPostgreSqlFlexibleServerConfiguration -InputObject [-Source ] + [-Value ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION + + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Update-AzPostgreSqlFlexibleServerConfiguration -Name work_mem -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test -Value 8192 +``` + +Name Value DefaultValue Source AllowedValues DataType +---- ------ ------------ ------- ------------- --------- +work_mem 8192 4096 system-default 4096-2097151 Integer + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test/configurations/work_mem" +PS C:\> Get-AzPostgreSqlFlexibleServerConfiguration -Name work_mem -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test -Value 8192 +``` + +Name Value DefaultValue Source AllowedValues DataType +---- ------ ------------ ------- ------------- --------- +work_mem 8192 4096 system-default 4096-2097151 Integer + +## PARAMETERS + +### -AsJob + + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile + + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity +Parameter Sets: UpdateViaIdentity, UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name + + +```yaml +Type: System.String +Parameter Sets: Update, UpdateExpanded +Aliases: ConfigurationName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait + + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Parameter +To construct, see NOTES section for PARAMETER properties and create a hash table. +To construct, see NOTES section for PARAMETER properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20200214Preview.IConfigurationAutoGenerated +Parameter Sets: Update, UpdateViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ResourceGroupName + + +```yaml +Type: System.String +Parameter Sets: Update, UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName + + +```yaml +Type: System.String +Parameter Sets: Update, UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Source + + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId + + +```yaml +Type: System.String +Parameter Sets: Update, UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Value + + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20200214Preview.IConfigurationAutoGenerated + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20200214Preview.IConfigurationAutoGenerated + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +PARAMETER : To construct, see NOTES section for PARAMETER properties and create a hash table. + - `[Source ]`: Source of the configuration. + - `[Value ]`: Value of the configuration. + +## RELATED LINKS + diff --git a/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServerFirewallRule.md new file mode 100644 index 000000000000..4ceb40b56261 --- /dev/null +++ b/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServerFirewallRule.md @@ -0,0 +1,302 @@ +--- +external help file: +Module Name: Az.PostgreSql +online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/update-azpostgresqlflexibleserverfirewallrule +schema: 2.0.0 +--- + +# Update-AzPostgreSqlFlexibleServerFirewallRule + +## SYNOPSIS +Creates a new firewall rule or updates an existing firewall rule. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName + -EndIPAddress -StartIPAddress [-SubscriptionId ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### ClientIPAddress +``` +Update-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName + -ClientIPAddress [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### ClientIPAddressViaIdentity +``` +Update-AzPostgreSqlFlexibleServerFirewallRule -InputObject -ClientIPAddress + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzPostgreSqlFlexibleServerFirewallRule -InputObject -EndIPAddress + -StartIPAddress [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Creates a new firewall rule or updates an existing firewall rule. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Update-AzPostgreSqlFlexibleServerFirewallRule -Name rule -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 +``` + +Name StartIPAddress EndIPAddress +---- -------------- ------------ +rule 0.0.0.2 0.0.0.3 + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +$ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test/firewallRules/rule" +PS C:\> Update-AzPostgreSqlFlexibleServerFirewallRule -InputObject $ID -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 +``` + +Name StartIPAddress EndIPAddress +---- -------------- ------------ +rule 0.0.0.2 0.0.0.3 + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClientIPAddress +Client specified single IP of the server firewall rule. +Must be IPv4 format. + +```yaml +Type: System.String +Parameter Sets: ClientIPAddress, ClientIPAddressViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EndIPAddress +The end IP address of the server firewall rule. +Must be IPv4 format. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity +Parameter Sets: ClientIPAddressViaIdentity, UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server firewall rule. + +```yaml +Type: System.String +Parameter Sets: ClientIPAddress, UpdateExpanded +Aliases: FirewallRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: ClientIPAddress, UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: ClientIPAddress, UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StartIPAddress +The start IP address of the server firewall rule. +Must be IPv4 format. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: ClientIPAddress, UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IFirewallRule + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/PostgreSql/docs/Update-AzPostgreSqlServer.md b/src/PostgreSql/docs/Update-AzPostgreSqlServer.md new file mode 100644 index 000000000000..77f3f9a708e6 --- /dev/null +++ b/src/PostgreSql/docs/Update-AzPostgreSqlServer.md @@ -0,0 +1,401 @@ +--- +external help file: +Module Name: Az.PostgreSql +online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/update-azpostgresqlserver +schema: 2.0.0 +--- + +# Update-AzPostgreSqlServer + +## SYNOPSIS +Updates an existing server. +The request body can contain one to many of the properties present in the normal server definition. +Use Update-AzPostSqlConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzPostgreSqlServer -Name -ResourceGroupName [-SubscriptionId ] + [-AdministratorLoginPassword ] [-BackupRetentionDay ] [-ReplicationRole ] + [-Sku ] [-SkuCapacity ] [-SkuFamily ] [-SkuTier ] + [-SslEnforcement ] [-StorageAutogrow ] [-StorageInMb ] + [-Tag ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzPostgreSqlServer -InputObject [-AdministratorLoginPassword ] + [-BackupRetentionDay ] [-ReplicationRole ] [-Sku ] [-SkuCapacity ] + [-SkuFamily ] [-SkuTier ] [-SslEnforcement ] + [-StorageAutogrow ] [-StorageInMb ] [-Tag ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Updates an existing server. +The request body can contain one to many of the properties present in the normal server definition. +Use Update-AzPostSqlConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +Update-AzPostgreSqlServer -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer -SslEnforcement Disabled +``` + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement +---- -------- ------------------ ------- ----------------------- ------- ------- -------------- +postgresqltestserver eastus pwsh 9.6 5120 GP_Gen5_4 GeneralPurpose Disabled + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +Get-AzPostgreSqlServer -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer | Update-AzPostgreSqlServer -BackupRetentionDay 23 +``` + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement +---- -------- ------------------ ------- ----------------------- ------- ------- -------------- +postgresqltestserver eastus pwsh 9.6 5120 GP_Gen5_4 GeneralPurpose Disabled + +## PARAMETERS + +### -AdministratorLoginPassword +The password of the administrator login. + +```yaml +Type: System.Security.SecureString +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -BackupRetentionDay +Backup retention days for the server. +Day count is between 7 and 35. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter. +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReplicationRole +The replication role of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group that contains the resource. +You can obtain this value from the Azure Resource Manager API or the portal. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Sku +The name of the sku, typically, tier + family + cores, e.g. +B_Gen4_1, GP_Gen5_8. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkuCapacity +The scale up/out capacity, representing server's compute units. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkuFamily +The family of hardware. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkuTier +The tier of the particular SKU, e.g. +Basic. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.SkuTier +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SslEnforcement +Enable ssl enforcement or not when connect to server. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.SslEnforcementEnum +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageAutogrow +Enable Storage Auto Grow. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.StorageAutogrow +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageInMb +Max storage allowed for a server. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The subscription ID that identifies an Azure subscription. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tag +Application-specific metadata in the form of key-value pairs. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IServer + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter. + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/PostgreSql/docs/Update-AzPostgreSqlVirtualNetworkRule.md b/src/PostgreSql/docs/Update-AzPostgreSqlVirtualNetworkRule.md new file mode 100644 index 000000000000..c89ee1de338c --- /dev/null +++ b/src/PostgreSql/docs/Update-AzPostgreSqlVirtualNetworkRule.md @@ -0,0 +1,288 @@ +--- +external help file: +Module Name: Az.PostgreSql +online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/update-azpostgresqlvirtualnetworkrule +schema: 2.0.0 +--- + +# Update-AzPostgreSqlVirtualNetworkRule + +## SYNOPSIS +Creates or updates an existing virtual network rule. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzPostgreSqlVirtualNetworkRule -Name -ResourceGroupName -ServerName + -SubnetId [-SubscriptionId ] [-IgnoreMissingVnetServiceEndpoint] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzPostgreSqlVirtualNetworkRule -InputObject -SubnetId + [-IgnoreMissingVnetServiceEndpoint] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Creates or updates an existing virtual network rule. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +$ID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.Network/virtualNetworks/PostgreSqlVNet/subnets/default2" +PS C:\> Update-AzPostgreSqlVirtualNetworkRule -Name vnet -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer -SubnetId $ID +``` + +Name Type +---- ---- +vnet Microsoft.DBforPostgreSQL/servers/virtualNetworkRules + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +$SubnetID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.Network/virtualNetworks/PostgreSqlVNet/subnets/default" +PS C:\> $VNetID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.DBforPostgreSQL/servers/PostgreSqlTestServer/virtualNetworkRules/vnet" +PS C:\> Update-AzPostgreSqlVirtualNetworkRule -InputObject $VNetID -SubnetId $SubnetID +``` + +Name Type +---- ---- +vnet Microsoft.DBforPostgreSQL/servers/virtualNetworkRules + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IgnoreMissingVnetServiceEndpoint +Create firewall rule before the virtual network has vnet service endpoint enabled. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the virtual network rule. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: VirtualNetworkRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubnetId +The ARM resource id of the virtual network subnet. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IVirtualNetworkRule + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + From 5b782f0199c337fefcfc0359a81e37487e1052d0 Mon Sep 17 00:00:00 2001 From: Daeun Yim Date: Tue, 17 Nov 2020 09:34:18 -0800 Subject: [PATCH 21/51] typo fixed --- src/MySql/examples/New-AzMySqlFlexibleServer.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MySql/examples/New-AzMySqlFlexibleServer.md b/src/MySql/examples/New-AzMySqlFlexibleServer.md index 65ce60f44ac2..5fce9bb88d4c 100644 --- a/src/MySql/examples/New-AzMySqlFlexibleServer.md +++ b/src/MySql/examples/New-AzMySqlFlexibleServer.md @@ -6,7 +6,7 @@ PS C:\> New-AzMySqlFlexibleServer -Name mysql-test -ResourceGroupName Powershell Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ---- -------- ------------------ ------- ----------------------- ------------ ------------- -mysql-test WestUS 2 mysqltest 5.7 10240 Standard_B1ms Burstable +mysql-test West US 2 mysqltest 5.7 10240 Standard_B1ms Burstable ``` From 3f286b1986af4878524d037fa96fb4a0e97bb5d5 Mon Sep 17 00:00:00 2001 From: Daeun Yim Date: Thu, 19 Nov 2020 17:28:39 -0800 Subject: [PATCH 22/51] revert postgresql --- .../custom/Az.PostgreSql.custom.psm1 | 17 - .../custom/New-AzPostgreSqlFlexibleServer.ps1 | 200 ----- ...AzPostgreSqlFlexibleServerFirewallRule.ps1 | 182 ----- .../custom/New-AzPostgreSqlServer.ps1 | 4 +- ...reSqlFlexibleServer_PointInTimeRestore.ps1 | 124 --- .../Update-AzPostgreSqlFlexibleServer.ps1 | 189 ----- ...zPostgreSqlFlexibleServerConfiguration.ps1 | 138 ---- ...AzPostgreSqlFlexibleServerFirewallRule.ps1 | 162 ---- src/PostgreSql/docs/Az.PostgreSql.md | 46 +- .../docs/Get-AzPostgreSqlConfiguration.md | 16 +- .../docs/Get-AzPostgreSqlConnectionString.md | 22 +- .../docs/Get-AzPostgreSqlFirewallRule.md | 24 +- .../docs/Get-AzPostgreSqlFlexibleServer.md | 193 ----- ...AzPostgreSqlFlexibleServerConfiguration.md | 185 ----- ...-AzPostgreSqlFlexibleServerFirewallRule.md | 194 ----- .../docs/Get-AzPostgreSqlReplica.md | 8 +- src/PostgreSql/docs/Get-AzPostgreSqlServer.md | 32 +- .../Get-AzPostgreSqlVirtualNetworkRule.md | 24 +- .../docs/New-AzPostgreSqlFirewallRule.md | 24 +- .../docs/New-AzPostgreSqlFlexibleServer.md | 329 -------- ...-AzPostgreSqlFlexibleServerFirewallRule.md | 286 ------- .../docs/New-AzPostgreSqlReplica.md | 22 +- src/PostgreSql/docs/New-AzPostgreSqlServer.md | 15 +- .../New-AzPostgreSqlVirtualNetworkRule.md | 8 +- .../docs/Remove-AzPostgreSqlFirewallRule.md | 14 +- .../docs/Remove-AzPostgreSqlFlexibleServer.md | 235 ------ ...-AzPostgreSqlFlexibleServerFirewallRule.md | 251 ------- .../docs/Remove-AzPostgreSqlServer.md | 14 +- .../Remove-AzPostgreSqlVirtualNetworkRule.md | 14 +- .../Restart-AzPostgreSqlFlexibleServer.md | 235 ------ .../docs/Restart-AzPostgreSqlServer.md | 14 +- .../Restore-AzPostgreSqlFlexibleServer.md | 218 ------ .../docs/Restore-AzPostgreSqlServer.md | 22 +- .../docs/Start-AzPostgreSqlFlexibleServer.md | 235 ------ .../docs/Stop-AzPostgreSqlFlexibleServer.md | 235 ------ .../docs/Update-AzPostgreSqlConfiguration.md | 16 +- .../docs/Update-AzPostgreSqlFirewallRule.md | 24 +- .../docs/Update-AzPostgreSqlFlexibleServer.md | 386 ---------- ...AzPostgreSqlFlexibleServerConfiguration.md | 305 -------- ...-AzPostgreSqlFlexibleServerFirewallRule.md | 302 -------- .../docs/Update-AzPostgreSqlServer.md | 16 +- .../Update-AzPostgreSqlVirtualNetworkRule.md | 16 +- .../Get-AzPostgreSqlFlexibleServer.md | 45 -- ...AzPostgreSqlFlexibleServerConfiguration.md | 23 - ...-AzPostgreSqlFlexibleServerFirewallRule.md | 34 - .../New-AzPostgreSqlFlexibleServer.md | 24 - ...-AzPostgreSqlFlexibleServerFirewallRule.md | 33 - .../Remove-AzPostgreSqlFlexibleServer.md | 16 - ...-AzPostgreSqlFlexibleServerFirewallRule.md | 16 - .../Restart-AzPostgreSqlFlexibleServer.md | 14 - .../Restore-AzPostgreSqlFlexibleServer.md | 11 - .../Start-AzPostgreSqlFlexibleServer.md | 14 - .../Stop-AzPostgreSqlFlexibleServer.md | 15 - .../Update-AzPostgreSqlFlexibleServer.md | 21 - ...AzPostgreSqlFlexibleServerConfiguration.md | 22 - ...-AzPostgreSqlFlexibleServerFirewallRule.md | 22 - src/PostgreSql/readme.md | 123 +-- ...t-AzPostgreSqlConfiguration.Recording.json | 18 +- .../Get-AzPostgreSqlConfiguration.Tests.ps1 | 2 +- ...zPostgreSqlConnectionString.Recording.json | 60 +- ...et-AzPostgreSqlFirewallRule.Recording.json | 120 +-- .../Get-AzPostgreSqlFirewallRule.Tests.ps1 | 2 +- ...-AzPostgreSqlFlexibleServer.Recording.json | 158 ---- .../Get-AzPostgreSqlFlexibleServer.Tests.ps1 | 43 -- ...FlexibleServerConfiguration.Recording.json | 119 --- ...reSqlFlexibleServerConfiguration.Tests.ps1 | 36 - ...lFlexibleServerFirewallRule.Recording.json | 355 --------- ...greSqlFlexibleServerFirewallRule.Tests.ps1 | 40 - .../Get-AzPostgreSqlReplica.Recording.json | 96 +-- .../Get-AzPostgreSqlServer.Recording.json | 24 +- .../test/Get-AzPostgreSqlServer.Tests.ps1 | 2 +- ...ostgreSqlVirtualNetworkRule.Recording.json | 126 ++-- ...t-AzPostgreSqlVirtualNetworkRule.Tests.ps1 | 2 +- ...ew-AzPostgreSqlFirewallRule.Recording.json | 102 +-- ...-AzPostgreSqlFlexibleServer.Recording.json | 118 --- .../New-AzPostgreSqlFlexibleServer.Tests.ps1 | 25 - ...lFlexibleServerFirewallRule.Recording.json | 710 ------------------ ...greSqlFlexibleServerFirewallRule.Tests.ps1 | 39 - .../New-AzPostgreSqlReplica.Recording.json | 86 +-- .../New-AzPostgreSqlServer.Recording.json | 38 +- ...ostgreSqlVirtualNetworkRule.Recording.json | 36 +- ...ve-AzPostgreSqlFirewallRule.Recording.json | 68 +- .../Remove-AzPostgreSqlFirewallRule.Tests.ps1 | 2 +- ...-AzPostgreSqlFlexibleServer.Recording.json | 190 ----- ...emove-AzPostgreSqlFlexibleServer.Tests.ps1 | 29 - ...lFlexibleServerFirewallRule.Recording.json | 474 ------------ ...greSqlFlexibleServerFirewallRule.Tests.ps1 | 25 - .../Remove-AzPostgreSqlServer.Recording.json | 76 +- .../test/Remove-AzPostgreSqlServer.Tests.ps1 | 2 +- ...ostgreSqlVirtualNetworkRule.Recording.json | 72 +- ...e-AzPostgreSqlVirtualNetworkRule.Tests.ps1 | 2 +- ...-AzPostgreSqlFlexibleServer.Recording.json | 324 -------- ...start-AzPostgreSqlFlexibleServer.Tests.ps1 | 27 - .../Restart-AzPostgreSqlServer.Recording.json | 88 +-- .../test/Restart-AzPostgreSqlServer.Tests.ps1 | 2 +- ...-AzPostgreSqlFlexibleServer.Recording.json | 358 --------- ...store-AzPostgreSqlFlexibleServer.Tests.ps1 | 21 - .../Restore-AzPostgreSqlServer.Recording.json | 270 +++---- ...-AzPostgreSqlFlexibleServer.Recording.json | 646 ---------------- ...Start-AzPostgreSqlFlexibleServer.Tests.ps1 | 29 - ...-AzPostgreSqlFlexibleServer.Recording.json | 485 ------------ .../Stop-AzPostgreSqlFlexibleServer.Tests.ps1 | 28 - ...e-AzPostgreSqlConfiguration.Recording.json | 36 +- ...Update-AzPostgreSqlConfiguration.Tests.ps1 | 2 +- ...te-AzPostgreSqlFirewallRule.Recording.json | 104 +-- .../Update-AzPostgreSqlFirewallRule.Tests.ps1 | 2 +- ...-AzPostgreSqlFlexibleServer.Recording.json | 234 ------ ...pdate-AzPostgreSqlFlexibleServer.Tests.ps1 | 29 - ...FlexibleServerConfiguration.Recording.json | 234 ------ ...reSqlFlexibleServerConfiguration.Tests.ps1 | 27 - ...lFlexibleServerFirewallRule.Recording.json | 582 -------------- ...greSqlFlexibleServerFirewallRule.Tests.ps1 | 41 - .../Update-AzPostgreSqlServer.Recording.json | 42 +- ...ostgreSqlVirtualNetworkRule.Recording.json | 112 +-- ...e-AzPostgreSqlVirtualNetworkRule.Tests.ps1 | 2 +- src/PostgreSql/test/env.json | 19 +- src/PostgreSql/test/localEnv.json | 19 +- src/PostgreSql/test/utils.ps1 | 15 +- 118 files changed, 1047 insertions(+), 11457 deletions(-) delete mode 100644 src/PostgreSql/custom/Az.PostgreSql.custom.psm1 delete mode 100644 src/PostgreSql/custom/New-AzPostgreSqlFlexibleServer.ps1 delete mode 100644 src/PostgreSql/custom/New-AzPostgreSqlFlexibleServerFirewallRule.ps1 delete mode 100644 src/PostgreSql/custom/Restore-AzPostgreSqlFlexibleServer_PointInTimeRestore.ps1 delete mode 100644 src/PostgreSql/custom/Update-AzPostgreSqlFlexibleServer.ps1 delete mode 100644 src/PostgreSql/custom/Update-AzPostgreSqlFlexibleServerConfiguration.ps1 delete mode 100644 src/PostgreSql/custom/Update-AzPostgreSqlFlexibleServerFirewallRule.ps1 delete mode 100644 src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServer.md delete mode 100644 src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerConfiguration.md delete mode 100644 src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerFirewallRule.md delete mode 100644 src/PostgreSql/docs/New-AzPostgreSqlFlexibleServer.md delete mode 100644 src/PostgreSql/docs/New-AzPostgreSqlFlexibleServerFirewallRule.md delete mode 100644 src/PostgreSql/docs/Remove-AzPostgreSqlFlexibleServer.md delete mode 100644 src/PostgreSql/docs/Remove-AzPostgreSqlFlexibleServerFirewallRule.md delete mode 100644 src/PostgreSql/docs/Restart-AzPostgreSqlFlexibleServer.md delete mode 100644 src/PostgreSql/docs/Restore-AzPostgreSqlFlexibleServer.md delete mode 100644 src/PostgreSql/docs/Start-AzPostgreSqlFlexibleServer.md delete mode 100644 src/PostgreSql/docs/Stop-AzPostgreSqlFlexibleServer.md delete mode 100644 src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServer.md delete mode 100644 src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServerConfiguration.md delete mode 100644 src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServerFirewallRule.md delete mode 100644 src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServer.md delete mode 100644 src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServerConfiguration.md delete mode 100644 src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServerFirewallRule.md delete mode 100644 src/PostgreSql/examples/New-AzPostgreSqlFlexibleServer.md delete mode 100644 src/PostgreSql/examples/New-AzPostgreSqlFlexibleServerFirewallRule.md delete mode 100644 src/PostgreSql/examples/Remove-AzPostgreSqlFlexibleServer.md delete mode 100644 src/PostgreSql/examples/Remove-AzPostgreSqlFlexibleServerFirewallRule.md delete mode 100644 src/PostgreSql/examples/Restart-AzPostgreSqlFlexibleServer.md delete mode 100644 src/PostgreSql/examples/Restore-AzPostgreSqlFlexibleServer.md delete mode 100644 src/PostgreSql/examples/Start-AzPostgreSqlFlexibleServer.md delete mode 100644 src/PostgreSql/examples/Stop-AzPostgreSqlFlexibleServer.md delete mode 100644 src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServer.md delete mode 100644 src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServerConfiguration.md delete mode 100644 src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServerFirewallRule.md delete mode 100644 src/PostgreSql/test/Get-AzPostgreSqlFlexibleServer.Recording.json delete mode 100644 src/PostgreSql/test/Get-AzPostgreSqlFlexibleServer.Tests.ps1 delete mode 100644 src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerConfiguration.Recording.json delete mode 100644 src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerConfiguration.Tests.ps1 delete mode 100644 src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerFirewallRule.Recording.json delete mode 100644 src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 delete mode 100644 src/PostgreSql/test/New-AzPostgreSqlFlexibleServer.Recording.json delete mode 100644 src/PostgreSql/test/New-AzPostgreSqlFlexibleServer.Tests.ps1 delete mode 100644 src/PostgreSql/test/New-AzPostgreSqlFlexibleServerFirewallRule.Recording.json delete mode 100644 src/PostgreSql/test/New-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 delete mode 100644 src/PostgreSql/test/Remove-AzPostgreSqlFlexibleServer.Recording.json delete mode 100644 src/PostgreSql/test/Remove-AzPostgreSqlFlexibleServer.Tests.ps1 delete mode 100644 src/PostgreSql/test/Remove-AzPostgreSqlFlexibleServerFirewallRule.Recording.json delete mode 100644 src/PostgreSql/test/Remove-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 delete mode 100644 src/PostgreSql/test/Restart-AzPostgreSqlFlexibleServer.Recording.json delete mode 100644 src/PostgreSql/test/Restart-AzPostgreSqlFlexibleServer.Tests.ps1 delete mode 100644 src/PostgreSql/test/Restore-AzPostgreSqlFlexibleServer.Recording.json delete mode 100644 src/PostgreSql/test/Restore-AzPostgreSqlFlexibleServer.Tests.ps1 delete mode 100644 src/PostgreSql/test/Start-AzPostgreSqlFlexibleServer.Recording.json delete mode 100644 src/PostgreSql/test/Start-AzPostgreSqlFlexibleServer.Tests.ps1 delete mode 100644 src/PostgreSql/test/Stop-AzPostgreSqlFlexibleServer.Recording.json delete mode 100644 src/PostgreSql/test/Stop-AzPostgreSqlFlexibleServer.Tests.ps1 delete mode 100644 src/PostgreSql/test/Update-AzPostgreSqlFlexibleServer.Recording.json delete mode 100644 src/PostgreSql/test/Update-AzPostgreSqlFlexibleServer.Tests.ps1 delete mode 100644 src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerConfiguration.Recording.json delete mode 100644 src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerConfiguration.Tests.ps1 delete mode 100644 src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerFirewallRule.Recording.json delete mode 100644 src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 diff --git a/src/PostgreSql/custom/Az.PostgreSql.custom.psm1 b/src/PostgreSql/custom/Az.PostgreSql.custom.psm1 deleted file mode 100644 index 638c9dbd7ca3..000000000000 --- a/src/PostgreSql/custom/Az.PostgreSql.custom.psm1 +++ /dev/null @@ -1,17 +0,0 @@ -# region Generated - # Load the private module dll - $null = Import-Module -PassThru -Name (Join-Path $PSScriptRoot '..\bin\Az.PostgreSql.private.dll') - - # Load the internal module - $internalModulePath = Join-Path $PSScriptRoot '..\internal\Az.PostgreSql.internal.psm1' - if(Test-Path $internalModulePath) { - $null = Import-Module -Name $internalModulePath - } - - # Export nothing to clear implicit exports - Export-ModuleMember - - # Export script cmdlets - Get-ChildItem -Path $PSScriptRoot -Recurse -Include '*.ps1' -File | ForEach-Object { . $_.FullName } - Export-ModuleMember -Function (Get-ScriptCmdlet -ScriptFolder $PSScriptRoot) -Alias (Get-ScriptCmdlet -ScriptFolder $PSScriptRoot -AsAlias) -# endregion diff --git a/src/PostgreSql/custom/New-AzPostgreSqlFlexibleServer.ps1 b/src/PostgreSql/custom/New-AzPostgreSqlFlexibleServer.ps1 deleted file mode 100644 index 968ec6946ffe..000000000000 --- a/src/PostgreSql/custom/New-AzPostgreSqlFlexibleServer.ps1 +++ /dev/null @@ -1,200 +0,0 @@ - -# ---------------------------------------------------------------------------------- -# -# Copyright Microsoft Corporation -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ---------------------------------------------------------------------------------- - -function New-AzPostgreSqlFlexibleServer { - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20200214Preview.IServerAutoGenerated])] - [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Description('Creates a new server.')] - param( - [Parameter(Mandatory, HelpMessage = 'The name of the server.')] - [Alias('ServerName')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] - [System.String] - ${Name}, - - [Parameter(Mandatory, HelpMessage = 'The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal.')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] - [System.String] - ${ResourceGroupName}, - - [Parameter(HelpMessage='The subscription ID that identifies an Azure subscription.')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] - [System.String] - ${SubscriptionId}, - - [Parameter(HelpMessage = 'The location the resource resides in.')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] - [System.String] - ${Location}, - - [Parameter(Mandatory, HelpMessage = 'Administrator username for the server. Once set, it cannot be changed.')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] - [System.String] - ${AdministratorUserName}, - - [Parameter(Mandatory, HelpMessage = 'The password of the administrator. Minimum 8 characters and maximum 128 characters. Password must contain characters from three of the following categories: English uppercase letters, English lowercase letters, numbers, and non-alphanumeric characters.')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] - [System.Security.SecureString] - [ValidateNotNullOrEmpty()] - ${AdministratorLoginPassword}, - - [Parameter(HelpMessage = 'The name of the sku, typically, tier + family + cores, e.g. Standard_B1ms, Standard_D2ds_v4.')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] - [System.String] - ${Sku}, - - [Parameter(HelpMessage = 'Compute tier of the server. Accepted values: Burstable, GeneralPurpose, Memory Optimized. Default: Burstable.')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] - [System.String] - ${SkuTier}, - - [Parameter(HelpMessage = "Backup retention days for the server. Day count is between 7 and 35.")] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] - [System.Int32] - ${BackupRetentionDay}, - - [Parameter(HelpMessage = 'Max storage allowed for a server.')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] - [System.Int32] - ${StorageInMb}, - - [Parameter(HelpMessage = 'Application-specific metadata in the form of key-value pairs.')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IServerForCreateTags]))] - [System.Collections.Hashtable] - ${Tag}, - - [Parameter(HelpMessage = 'Server version.')] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.ServerVersion])] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.ServerVersion] - ${Version}, - - [Parameter(HelpMessage = 'The credentials, account, tenant, and subscription used for communication with Azure.')] - [Alias('AzureRMContext', 'AzureCredential')] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Azure')] - [System.Management.Automation.PSObject] - ${DefaultProfile}, - - [Parameter(HelpMessage = 'Run the command as a job.')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - ${AsJob}, - - [Parameter(DontShow, HelpMessage = 'Wait for .NET debugger to attach.')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - ${Break}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be appended to the front of the pipeline. - ${HttpPipelineAppend}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be prepended to the front of the pipeline. - ${HttpPipelinePrepend}, - - [Parameter(HelpMessage = 'Run the command asynchronously.')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - ${NoWait}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] - [System.Uri] - # The URI for the proxy server to use. - ${Proxy}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] - [System.Management.Automation.PSCredential] - # Credentials for a proxy server to use for the remote call. - ${ProxyCredential}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Use the default credentials for the proxy. - ${ProxyUseDefaultCredentials} - ) - - process { - try { - if ($PSBoundParameters.ContainsKey('Name')) { - $PSBoundParameters.ServerName = $PSBoundParameters['Name'] - $null = $PSBoundParameters.Remove('Name') - } - - if ($PSBoundParameters.ContainsKey('Sku')) { - $PSBoundParameters.SkuName = $PSBoundParameters['Sku'] - $null = $PSBoundParameters.Remove('Sku') - } - else { - $PSBoundParameters.SkuName = 'Standard_D2s_v3' - } - - if ($PSBoundParameters.ContainsKey('BackupRetentionDay')) { - $PSBoundParameters.StorageProfileBackupRetentionDay = $PSBoundParameters['BackupRetentionDay'] - $null = $PSBoundParameters.Remove('BackupRetentionDay') - } - else { - $PSBoundParameters.StorageProfileBackupRetentionDay = 7 - } - - if ($PSBoundParameters.ContainsKey('StorageInMb')) { - $PSBoundParameters.StorageProfileStorageMb = $PSBoundParameters['StorageInMb'] - $null = $PSBoundParameters.Remove('StorageInMb') - } - else { - $PSBoundParameters.StorageProfileStorageMb = 128*1024 - } - - if (!$PSBoundParameters.ContainsKey('Version')) { - $PSBoundParameters.Version = '12' - } - - if (!$PSBoundParameters.ContainsKey('SkuTier')) { - $PSBoundParameters.SkuTier = 'GeneralPurpose' - } - - if (!$PSBoundParameters.ContainsKey('Location')) { - $PSBoundParameters.Location = 'eastus' - } - - if ($PSBoundParameters.ContainsKey('AdministratorUserName')) { - $PSBoundParameters.AdministratorLogin = $PSBoundParameters['AdministratorUserName'] - $null = $PSBoundParameters.Remove('AdministratorUserName') - } - - $PSBoundParameters.CreateMode = [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.CreateMode]::Default - $PSBoundParameters.AdministratorLoginPassword = . "$PSScriptRoot/../utils/Unprotect-SecureString.ps1" $PSBoundParameters['AdministratorLoginPassword'] - - Az.PostgreSql.internal\New-AzPostgreSqlFlexibleServer @PSBoundParameters - } catch { - throw - } - } -} - - diff --git a/src/PostgreSql/custom/New-AzPostgreSqlFlexibleServerFirewallRule.ps1 b/src/PostgreSql/custom/New-AzPostgreSqlFlexibleServerFirewallRule.ps1 deleted file mode 100644 index 7f1c53834b3c..000000000000 --- a/src/PostgreSql/custom/New-AzPostgreSqlFlexibleServerFirewallRule.ps1 +++ /dev/null @@ -1,182 +0,0 @@ - -# ---------------------------------------------------------------------------------- -# -# Copyright Microsoft Corporation -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ---------------------------------------------------------------------------------- - -<# -.Synopsis -Creates a new firewall rule or updates an existing firewall rule. -.Description -Creates a new firewall rule or updates an existing firewall rule. -#> -function New-AzPostgreSqlFlexibleServerFirewallRule { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IFirewallRule])] -[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] -param( - [Parameter()] - [Alias('FirewallRuleName')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] - [System.String] - # The name of the server firewall rule. - # If not specified, the default is undefined. - # If AllowAll is present, the default name is AllowAll_yyyy-MM-dd_HH-mm-ss. - ${Name}, - - [Parameter(Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] - [System.String] - # The name of the resource group. - # The name is case insensitive. - ${ResourceGroupName}, - - [Parameter(Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] - [System.String] - # The name of the server. - ${ServerName}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] - [System.String] - # The ID of the target subscription. - ${SubscriptionId}, - - [Parameter(ParameterSetName='CreateExpanded', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] - [System.String] - # The end IP address of the server firewall rule. - # Must be IPv4 format. - ${EndIPAddress}, - - [Parameter(ParameterSetName='CreateExpanded', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] - [System.String] - # The start IP address of the server firewall rule. - # Must be IPv4 format. - ${StartIPAddress}, - - [Parameter(ParameterSetName='ClientIPAddress', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] - [System.String] - # Client specified single IP of the server firewall rule. - # Must be IPv4 format. - ${ClientIPAddress}, - - [Parameter(ParameterSetName='AllowAll', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] - [System.Management.Automation.SwitchParameter] - # Present to allow all range IPs, from 0.0.0.0 to 255.255.255.255. - ${AllowAll}, - - [Parameter()] - [Alias('AzureRMContext', 'AzureCredential')] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Azure')] - [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. - ${DefaultProfile}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Run the command as a job - ${AsJob}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Wait for .NET debugger to attach - ${Break}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be appended to the front of the pipeline - ${HttpPipelineAppend}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be prepended to the front of the pipeline - ${HttpPipelinePrepend}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Run the command asynchronously - ${NoWait}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] - [System.Uri] - # The URI for the proxy server to use - ${Proxy}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] - [System.Management.Automation.PSCredential] - # Credentials for a proxy server to use for the remote call - ${ProxyCredential}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Use the default credentials for the proxy - ${ProxyUseDefaultCredentials} -) - -process { - try { - if($PSBoundParameters.ContainsKey('AllowAll')) - { - if(!$PSBoundParameters.ContainsKey('Name')) - { - $PSBoundParameters['Name'] = Get-Date -Format "AllowAll_yyyy-MM-dd_HH-mm-ss" - } - $PSBoundParameters['StartIPAddress'] = "0.0.0.0" - $PSBoundParameters['EndIPAddress'] = "255.255.255.255" - - $null = $PSBoundParameters.Remove('AllowAll') - } - elseif($PSBoundParameters.ContainsKey('ClientIPAddress')) - { - $PSBoundParameters['StartIPAddress'] = $PSBoundParameters['ClientIPAddress'] - $PSBoundParameters['EndIPAddress'] = $PSBoundParameters['ClientIPAddress'] - - if(!$PSBoundParameters.ContainsKey('Name')) - { - $PSBoundParameters['Name'] = "ClientIPAddress_" + (Get-Date -Format "yyyy-MM-dd_HH-mm-ss") - } - - $null = $PSBoundParameters.Remove('ClientIPAddress') - } - else - { - if(!$PSBoundParameters.ContainsKey('Name')) - { - $PSBoundParameters['Name'] = "undefined" - } - } - $PSBoundParameters['FirewallRuleName'] = $PSBoundParameters['Name'] - $null = $PSBoundParameters.Remove('Name') - - Az.PostgreSql.internal\New-AzPostgreSqlFlexibleServerFirewallRule @PSBoundParameters - } catch { - throw - } -} -} diff --git a/src/PostgreSql/custom/New-AzPostgreSqlServer.ps1 b/src/PostgreSql/custom/New-AzPostgreSqlServer.ps1 index 6a61e38e24fb..a50aac928c0c 100644 --- a/src/PostgreSql/custom/New-AzPostgreSqlServer.ps1 +++ b/src/PostgreSql/custom/New-AzPostgreSqlServer.ps1 @@ -40,12 +40,12 @@ function New-AzPostgreSqlServer { [System.String] ${Location}, - [Parameter(Mandatory, HelpMessage = 'Administrator username for the server. Once set, it cannot be changed.')] + [Parameter(Mandatory, HelpMessage = 'The location the resource resides in.')] [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] [System.String] ${AdministratorUserName}, - [Parameter(Mandatory, HelpMessage = 'The password of the administrator. Minimum 8 characters and maximum 128 characters. Password must contain characters from three of the following categories: English uppercase letters, English lowercase letters, numbers, and non-alphanumeric characters.')] + [Parameter(Mandatory, HelpMessage = 'The location the resource resides in.')] [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] [System.Security.SecureString] [ValidateNotNullOrEmpty()] diff --git a/src/PostgreSql/custom/Restore-AzPostgreSqlFlexibleServer_PointInTimeRestore.ps1 b/src/PostgreSql/custom/Restore-AzPostgreSqlFlexibleServer_PointInTimeRestore.ps1 deleted file mode 100644 index 8c63b38fec44..000000000000 --- a/src/PostgreSql/custom/Restore-AzPostgreSqlFlexibleServer_PointInTimeRestore.ps1 +++ /dev/null @@ -1,124 +0,0 @@ - -# ---------------------------------------------------------------------------------- -# -# Copyright Microsoft Corporation -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ---------------------------------------------------------------------------------- - -function Restore-AzPostgreSqlFlexibleServer_PointInTimeRestore { - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20200214Preview.IServerAutoGenerated])] - [CmdletBinding(PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Description('Restore a server from an existing backup')] - param( - [Parameter(Mandatory, HelpMessage = 'The name of the server.')] - [Alias('ServerName')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] - [System.String] - ${Name}, - - [Parameter(Mandatory, HelpMessage = 'The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal.')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] - [System.String] - ${ResourceGroupName}, - - [Parameter(HelpMessage='The subscription ID that identifies an Azure subscription.')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] - [System.String] - ${SubscriptionId}, - - [Parameter(Mandatory, HelpMessage = 'The point in time to restore from (ISO8601 format), e.g., 2017-04-26T02:10:00+08:00.')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] - [System.DateTime] - ${RestorePointInTime}, - - [Parameter(Mandatory, HelpMessage = 'The location the resource resides in.')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] - [System.String] - ${Location}, - - [Parameter(Mandatory, HelpMessage = 'The name of the source server.')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] - [System.String] - ${SourceServerName}, - - [Parameter(HelpMessage = 'The credentials, account, tenant, and subscription used for communication with Azure.')] - [Alias('AzureRMContext', 'AzureCredential')] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Azure')] - [System.Management.Automation.PSObject] - ${DefaultProfile}, - - [Parameter(HelpMessage = 'Run the command as a job.')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - ${AsJob}, - - [Parameter(DontShow, HelpMessage = 'Wait for .NET debugger to attach.')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - ${Break}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be appended to the front of the pipeline. - ${HttpPipelineAppend}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be prepended to the front of the pipeline. - ${HttpPipelinePrepend}, - - [Parameter(HelpMessage = 'Run the command asynchronously.')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - ${NoWait}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] - [System.Uri] - # The URI for the proxy server to use. - ${Proxy}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] - [System.Management.Automation.PSCredential] - # Credentials for a proxy server to use for the remote call. - ${ProxyCredential}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Use the default credentials for the proxy. - ${ProxyUseDefaultCredentials} - ) - - process { - try { - $PSBoundParameters.CreateMode = [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.CreateMode]::PointInTimeRestore - - $PSBoundParameters.PointInTimeUTC = $PSBoundParameters["RestorePointInTime"] - $null = $PSBoundParameters.Remove('RestorePointInTime') - - - Az.PostgreSql.internal\New-AzPostgreSqlFlexibleServer @PSBoundParameters - } catch { - throw - } - } -} - - diff --git a/src/PostgreSql/custom/Update-AzPostgreSqlFlexibleServer.ps1 b/src/PostgreSql/custom/Update-AzPostgreSqlFlexibleServer.ps1 deleted file mode 100644 index 0674fbc33a50..000000000000 --- a/src/PostgreSql/custom/Update-AzPostgreSqlFlexibleServer.ps1 +++ /dev/null @@ -1,189 +0,0 @@ - -# ---------------------------------------------------------------------------------- -# -# Copyright Microsoft Corporation -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ---------------------------------------------------------------------------------- - -function Update-AzPostgreSqlFlexibleServer { - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20200214Preview.IServerAutogenerated])] - [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Description('Updates an existing server. The request body can contain one to many of the properties present in the normal server definition. Use Update-AzPostgreSqlConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count.')] - param( - [Parameter(ParameterSetName='UpdateExpanded', Mandatory, HelpMessage='The name of the server.')] - [Alias('ServerName')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] - [System.String] - ${Name}, - - [Parameter(ParameterSetName='UpdateExpanded', Mandatory, HelpMessage='The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] - [System.String] - ${ResourceGroupName}, - - [Parameter(ParameterSetName='UpdateExpanded', HelpMessage='The subscription ID that identifies an Azure subscription.')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] - [System.String] - ${SubscriptionId}, - - [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline, HelpMessage='Identity Parameter. To construct, see NOTES section for INPUTOBJECT properties and create a hash table.')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity] - ${InputObject}, - - [Parameter(HelpMessage='The password of the administrator login.')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] - [System.Security.SecureString] - ${AdministratorLoginPassword}, - - [Parameter(HelpMessage='The replication role of the server.')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] - [System.String] - ${ReplicationRole}, - - [Parameter(HelpMessage='The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8.')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] - [System.String] - ${Sku}, - - [Parameter(HelpMessage='The tier of the particular SKU, e.g. Basic.')] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.SkuTier])] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.SkuTier] - ${SkuTier}, - - [Parameter(HelpMessage='Enable or disable high availability feature.')] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.HaEnabledEnum])] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.HaEnabledEnum] - # Enable HA or not for a server. - ${HaEnabled}, - - [Parameter(HelpMessage='Enable ssl enforcement or not when connect to server.')] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.SslEnforcementEnum])] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.SslEnforcementEnum] - ${SslEnforcement}, - - [Parameter(HelpMessage='Backup retention days for the server. Day count is between 7 and 35.')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] - [System.Int32] - ${BackupRetentionDay}, - - [Parameter(HelpMessage='Enable Storage Auto Grow.')] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.StorageAutogrow])] - [Validateset('Enabled', 'Disabled')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.StorageAutogrow] - ${StorageAutogrow}, - - [Parameter(HelpMessage='Max storage allowed for a server.')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] - [System.Int32] - ${StorageInMb}, - - [Parameter(HelpMessage='Application-specific metadata in the form of key-value pairs.')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IServerUpdateParametersTags]))] - [System.Collections.Hashtable] - ${Tag}, - - [Parameter(HelpMessage = 'The credentials, account, tenant, and subscription used for communication with Azure.')] - [Alias('AzureRMContext', 'AzureCredential')] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Azure')] - [System.Management.Automation.PSObject] - ${DefaultProfile}, - - [Parameter(HelpMessage = 'Run the command as a job.')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - ${AsJob}, - - [Parameter(DontShow, HelpMessage = 'Wait for .NET debugger to attach.')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - ${Break}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be appended to the front of the pipeline. - ${HttpPipelineAppend}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be prepended to the front of the pipeline. - ${HttpPipelinePrepend}, - - [Parameter(HelpMessage = 'Run the command asynchronously.')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - ${NoWait}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] - [System.Uri] - # The URI for the proxy server to use. - ${Proxy}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] - [System.Management.Automation.PSCredential] - # Credentials for a proxy server to use for the remote call. - ${ProxyCredential}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Use the default credentials for the proxy. - ${ProxyUseDefaultCredentials} - ) - - process { - try { - if ($PSBoundParameters.ContainsKey('AdministratorLoginPassword')) { - $bStr = . "$PSScriptRoot/../utils/Unprotect-SecureString.ps1" $PSBoundParameters['AdministratorLoginPassword'] - $null = $PSBoundParameters.Remove('AdministratorLoginPassword') - $PSBoundParameters.Add('AdministratorLoginPassword', [System.Runtime.InteropServices.marshal]::PtrToStringAuto($bStr)) - } - - if ($PSBoundParameters.ContainsKey('StorageInMb')) { - $PSBoundParameters.StorageProfileStorageMb = $PSBoundParameters['StorageInMb'] - $null = $PSBoundParameters.Remove('StorageInMb') - } - - if ($PSBoundParameters.ContainsKey('Sku')) { - $PSBoundParameters.SkuName = $PSBoundParameters['Sku'] - $null = $PSBoundParameters.Remove('Sku') - } - - if ($PSBoundParameters.ContainsKey('BackupRetentionDay')) { - $PSBoundParameters.StorageProfileBackupRetentionDay = $PSBoundParameters['BackupRetentionDay'] - $null = $PSBoundParameters.Remove('BackupRetentionDay') - } - - if ($PSBoundParameters.ContainsKey('StorageAutogrow')) { - $PSBoundParameters.StorageProfileStorageAutogrow = $PSBoundParameters['StorageAutogrow'] - $null = $PSBoundParameters.Remove('StorageAutogrow') - } - - Az.PostgreSql.internal\Update-AzPostgreSqlFlexibleServer @PSBoundParameters - } catch { - throw - } - } -} diff --git a/src/PostgreSql/custom/Update-AzPostgreSqlFlexibleServerConfiguration.ps1 b/src/PostgreSql/custom/Update-AzPostgreSqlFlexibleServerConfiguration.ps1 deleted file mode 100644 index b7a473c77bbc..000000000000 --- a/src/PostgreSql/custom/Update-AzPostgreSqlFlexibleServerConfiguration.ps1 +++ /dev/null @@ -1,138 +0,0 @@ -function Update-AzPostgreSqlFlexibleServerConfiguration { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20200214Preview.IConfigurationAutoGenerated])] -[CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] -param( - [Parameter(ParameterSetName='Update', Mandatory)] - [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] - [Alias('ConfigurationName')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] - [System.String] - # The name of the server configuration. - ${Name}, - - [Parameter(ParameterSetName='Update', Mandatory)] - [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] - [System.String] - # The name of the resource group. - # The name is case insensitive. - ${ResourceGroupName}, - - [Parameter(ParameterSetName='Update', Mandatory)] - [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] - [System.String] - # The name of the server. - ${ServerName}, - - [Parameter(ParameterSetName='Update')] - [Parameter(ParameterSetName='UpdateExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] - [System.String] - # The ID of the target subscription. - ${SubscriptionId}, - - [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] - [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity] - # Identity Parameter - # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - ${InputObject}, - - [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] - [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20200214Preview.IConfigurationAutoGenerated] - # Represents a Configuration. - # To construct, see NOTES section for PARAMETER properties and create a hash table. - ${Parameter}, - - [Parameter(ParameterSetName='UpdateExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] - [System.String] - # Source of the configuration. - ${Source}, - - [Parameter(ParameterSetName='UpdateExpanded')] - [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] - [System.String] - # Value of the configuration. - ${Value}, - - [Parameter()] - [Alias('AzureRMContext', 'AzureCredential')] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Azure')] - [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. - ${DefaultProfile}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Run the command as a job - ${AsJob}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Wait for .NET debugger to attach - ${Break}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be appended to the front of the pipeline - ${HttpPipelineAppend}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be prepended to the front of the pipeline - ${HttpPipelinePrepend}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Run the command asynchronously - ${NoWait}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] - [System.Uri] - # The URI for the proxy server to use - ${Proxy}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] - [System.Management.Automation.PSCredential] - # Credentials for a proxy server to use for the remote call - ${ProxyCredential}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Use the default credentials for the proxy - ${ProxyUseDefaultCredentials} -) - - process { - try { - if(!$PSBoundParameters.ContainsKey('Source')) - { - $PSBoundParameters.Source = 'user-override' - } - Az.PostgreSql.internal\Update-AzPostgreSqlFlexibleServerConfiguration @PSBoundParameters - } catch { - throw - } -} - -} diff --git a/src/PostgreSql/custom/Update-AzPostgreSqlFlexibleServerFirewallRule.ps1 b/src/PostgreSql/custom/Update-AzPostgreSqlFlexibleServerFirewallRule.ps1 deleted file mode 100644 index c78a72ef842b..000000000000 --- a/src/PostgreSql/custom/Update-AzPostgreSqlFlexibleServerFirewallRule.ps1 +++ /dev/null @@ -1,162 +0,0 @@ - -# ---------------------------------------------------------------------------------- -# -# Copyright Microsoft Corporation -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ---------------------------------------------------------------------------------- - -<# -.Synopsis -Creates a new firewall rule or updates an existing firewall rule. -.Description -Creates a new firewall rule or updates an existing firewall rule. -#> -function Update-AzPostgreSqlFlexibleServerFirewallRule { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IFirewallRule])] -[CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] -param( - [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] - [Parameter(ParameterSetName='ClientIPAddress', Mandatory)] - [Alias('FirewallRuleName')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] - [System.String] - # The name of the server firewall rule. - ${Name}, - - [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] - [Parameter(ParameterSetName='ClientIPAddress', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] - [System.String] - # The name of the resource group. - # The name is case insensitive. - ${ResourceGroupName}, - - [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] - [Parameter(ParameterSetName='ClientIPAddress', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] - [System.String] - # The name of the server. - ${ServerName}, - - [Parameter(ParameterSetName='UpdateExpanded')] - [Parameter(ParameterSetName='ClientIPAddress')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] - [System.String] - # The ID of the target subscription. - ${SubscriptionId}, - - [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] - [Parameter(ParameterSetName='ClientIPAddressViaIdentity', Mandatory, ValueFromPipeline)] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity] - # Identity Parameter - # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - ${InputObject}, - - [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] - [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] - [System.String] - # The end IP address of the server firewall rule. - # Must be IPv4 format. - ${EndIPAddress}, - - [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] - [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] - [System.String] - # The start IP address of the server firewall rule. - # Must be IPv4 format. - ${StartIPAddress}, - - [Parameter(ParameterSetName='ClientIPAddress', Mandatory)] - [Parameter(ParameterSetName='ClientIPAddressViaIdentity', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Body')] - [System.String] - # Client specified single IP of the server firewall rule. - # Must be IPv4 format. - ${ClientIPAddress}, - - [Parameter()] - [Alias('AzureRMContext', 'AzureCredential')] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Azure')] - [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. - ${DefaultProfile}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Run the command as a job - ${AsJob}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Wait for .NET debugger to attach - ${Break}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be appended to the front of the pipeline - ${HttpPipelineAppend}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be prepended to the front of the pipeline - ${HttpPipelinePrepend}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Run the command asynchronously - ${NoWait}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] - [System.Uri] - # The URI for the proxy server to use - ${Proxy}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] - [System.Management.Automation.PSCredential] - # Credentials for a proxy server to use for the remote call - ${ProxyCredential}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Use the default credentials for the proxy - ${ProxyUseDefaultCredentials} -) - -process { - try { - if($PSBoundParameters.ContainsKey('ClientIPAddress')) - { - $PSBoundParameters['StartIPAddress'] = $PSBoundParameters['ClientIPAddress'] - $PSBoundParameters['EndIPAddress'] = $PSBoundParameters['ClientIPAddress'] - $null = $PSBoundParameters.Remove('ClientIPAddress') - } - Az.PostgreSql.internal\Update-AzPostgreSqlFlexibleServerFirewallRule @PSBoundParameters - } catch { - throw - } -} -} diff --git a/src/PostgreSql/docs/Az.PostgreSql.md b/src/PostgreSql/docs/Az.PostgreSql.md index befe7fa3a970..069833a9cd28 100644 --- a/src/PostgreSql/docs/Az.PostgreSql.md +++ b/src/PostgreSql/docs/Az.PostgreSql.md @@ -1,6 +1,6 @@ --- Module Name: Az.PostgreSql -Module Guid: f86a89ff-dac0-413c-8cae-736206e27891 +Module Guid: 6161c203-9460-4d33-a790-d3203d4f8370 Download Help Link: https://docs.microsoft.com/en-us/powershell/module/az.postgresql Help Version: 1.0.0.0 Locale: en-US @@ -20,15 +20,6 @@ Get the connection string according to client connection provider. ### [Get-AzPostgreSqlFirewallRule](Get-AzPostgreSqlFirewallRule.md) Gets information about a server firewall rule. -### [Get-AzPostgreSqlFlexibleServer](Get-AzPostgreSqlFlexibleServer.md) -Gets information about a server. - -### [Get-AzPostgreSqlFlexibleServerConfiguration](Get-AzPostgreSqlFlexibleServerConfiguration.md) -Gets information about a configuration of server. - -### [Get-AzPostgreSqlFlexibleServerFirewallRule](Get-AzPostgreSqlFlexibleServerFirewallRule.md) -List all the firewall rules in a given server. - ### [Get-AzPostgreSqlReplica](Get-AzPostgreSqlReplica.md) List all the replicas for a given server. @@ -41,12 +32,6 @@ Gets a virtual network rule. ### [New-AzPostgreSqlFirewallRule](New-AzPostgreSqlFirewallRule.md) Creates a new firewall rule or updates an existing firewall rule. -### [New-AzPostgreSqlFlexibleServer](New-AzPostgreSqlFlexibleServer.md) -Creates a new server. - -### [New-AzPostgreSqlFlexibleServerFirewallRule](New-AzPostgreSqlFlexibleServerFirewallRule.md) -Creates a new firewall rule or updates an existing firewall rule. - ### [New-AzPostgreSqlReplica](New-AzPostgreSqlReplica.md) Creates a new replica from an existing database. @@ -59,36 +44,18 @@ Creates or updates an existing virtual network rule. ### [Remove-AzPostgreSqlFirewallRule](Remove-AzPostgreSqlFirewallRule.md) Deletes a server firewall rule. -### [Remove-AzPostgreSqlFlexibleServer](Remove-AzPostgreSqlFlexibleServer.md) -Deletes a server. - -### [Remove-AzPostgreSqlFlexibleServerFirewallRule](Remove-AzPostgreSqlFlexibleServerFirewallRule.md) -Deletes a PostgreSQL server firewall rule. - ### [Remove-AzPostgreSqlServer](Remove-AzPostgreSqlServer.md) Deletes a server. ### [Remove-AzPostgreSqlVirtualNetworkRule](Remove-AzPostgreSqlVirtualNetworkRule.md) Deletes the virtual network rule with the given name. -### [Restart-AzPostgreSqlFlexibleServer](Restart-AzPostgreSqlFlexibleServer.md) -Restarts a server. - ### [Restart-AzPostgreSqlServer](Restart-AzPostgreSqlServer.md) Restarts a server. -### [Restore-AzPostgreSqlFlexibleServer](Restore-AzPostgreSqlFlexibleServer.md) -Restore a server from an existing backup - ### [Restore-AzPostgreSqlServer](Restore-AzPostgreSqlServer.md) Restore a server from an existing backup -### [Start-AzPostgreSqlFlexibleServer](Start-AzPostgreSqlFlexibleServer.md) -Starts a server. - -### [Stop-AzPostgreSqlFlexibleServer](Stop-AzPostgreSqlFlexibleServer.md) -Stops a server. - ### [Update-AzPostgreSqlConfiguration](Update-AzPostgreSqlConfiguration.md) Updates a configuration of a server. Use Update-AzPostgreSqlServer instead if you want update AdministratorLoginPassword, sku, etc. @@ -96,17 +63,6 @@ Use Update-AzPostgreSqlServer instead if you want update AdministratorLoginPassw ### [Update-AzPostgreSqlFirewallRule](Update-AzPostgreSqlFirewallRule.md) Creates a new firewall rule or updates an existing firewall rule. -### [Update-AzPostgreSqlFlexibleServer](Update-AzPostgreSqlFlexibleServer.md) -Updates an existing server. -The request body can contain one to many of the properties present in the normal server definition. -Use Update-AzPostgreSqlConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count. - -### [Update-AzPostgreSqlFlexibleServerConfiguration](Update-AzPostgreSqlFlexibleServerConfiguration.md) - - -### [Update-AzPostgreSqlFlexibleServerFirewallRule](Update-AzPostgreSqlFlexibleServerFirewallRule.md) -Creates a new firewall rule or updates an existing firewall rule. - ### [Update-AzPostgreSqlServer](Update-AzPostgreSqlServer.md) Updates an existing server. The request body can contain one to many of the properties present in the normal server definition. diff --git a/src/PostgreSql/docs/Get-AzPostgreSqlConfiguration.md b/src/PostgreSql/docs/Get-AzPostgreSqlConfiguration.md index 66cd4ec7478e..e40f9620671b 100644 --- a/src/PostgreSql/docs/Get-AzPostgreSqlConfiguration.md +++ b/src/PostgreSql/docs/Get-AzPostgreSqlConfiguration.md @@ -35,10 +35,9 @@ Gets information about a configuration of server. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: List all configurations in PostgreSql server ```powershell -Get-AzPostgreSqlConfiguration -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer -``` +PS C:\> Get-AzPostgreSqlConfiguration -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer Name Value ---- ----- @@ -53,15 +52,20 @@ max_wal_senders 10 max_replication_slots 10 hot_standby_feedback off logging_collector on +``` + +This cmdlet lists all configurations in specified PostgreSql server. -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Get specified PostgreSql configuration by name ```powershell -Get-AzPostgreSqlConfiguration -Name timezone -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer -``` +PS C:\> Get-AzPostgreSqlConfiguration -Name timezone -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer Name Value ---- ----- timezone UTC +``` + +This cmdlet gets specified PostgreSql configuration by name. ## PARAMETERS diff --git a/src/PostgreSql/docs/Get-AzPostgreSqlConnectionString.md b/src/PostgreSql/docs/Get-AzPostgreSqlConnectionString.md index b85043ac6921..1fce66e0cd96 100644 --- a/src/PostgreSql/docs/Get-AzPostgreSqlConnectionString.md +++ b/src/PostgreSql/docs/Get-AzPostgreSqlConnectionString.md @@ -29,19 +29,23 @@ Get the connection string according to client connection provider. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Get PostgreSql server connection string by resource group and server name ```powershell -Get-AzPostgreSqlConnectionString -Client ADO.NET -Name PostgreSqlTestServer -ResourceGroupName PostgreSqlTestRG -``` +PS C:\> Get-AzPostgreSqlConnectionString -Client ADO.NET -Name PostgreSqlTestServer -ResourceGroupName PostgreSqlTestRG Server=postgresqltestserver.postgres.database.azure.com;Database={your_database};Port=5432;User Id=pwsh@postgresqltestserver;Password={your_password};Ssl Mode=Require; +``` + +This cmdlet gets PostgreSql server connection string by resource group and server name. -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Get PostgreSql server connection string by identity ```powershell -Get-AzPostgreSqlServer -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer | Get-AzPostgreSqlConnectionString -Client PHP -``` +PS C:\> Get-AzPostgreSqlServer -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer | Get-AzPostgreSqlConnectionString -Client PHP host=postgresqltestserver.postgres.database.azure.com port=5432 dbname={your_database} user=pwsh@postgresqltestserver password={your_password} sslmode=require +``` + +This cmdlet gets PostgreSql server connection string by identity. ## PARAMETERS @@ -157,9 +161,8 @@ To create the parameters described below, construct a hash table containing the INPUTOBJECT : The source server object to create replica from. - - `Location `: The geo-location where the resource lives - - `SkuName `: The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. - - `[Tag ]`: Resource tags. + - `Location `: The location the resource resides in. + - `[Tag ]`: Application-specific metadata in the form of key-value pairs. - `[(Any) ]`: This indicates any property can be added to this object. - `[AdministratorLogin ]`: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). - `[EarliestRestoreDate ]`: Earliest restore point creation time (ISO8601 format) @@ -173,6 +176,7 @@ INPUTOBJECT : The source server object to create replica from. - `[ReplicationRole ]`: The replication role of the server. - `[SkuCapacity ]`: The scale up/out capacity, representing server's compute units. - `[SkuFamily ]`: The family of hardware. + - `[SkuName ]`: The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. - `[SkuSize ]`: The size code, to be interpreted by resource as appropriate. - `[SkuTier ]`: The tier of the particular SKU, e.g. Basic. - `[SslEnforcement ]`: Enable ssl enforcement or not when connect to server. diff --git a/src/PostgreSql/docs/Get-AzPostgreSqlFirewallRule.md b/src/PostgreSql/docs/Get-AzPostgreSqlFirewallRule.md index 9c3c6745a8f0..264ac6f78019 100644 --- a/src/PostgreSql/docs/Get-AzPostgreSqlFirewallRule.md +++ b/src/PostgreSql/docs/Get-AzPostgreSqlFirewallRule.md @@ -35,33 +35,39 @@ Gets information about a server firewall rule. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Lists all the Firewall Rules in specified PostgreSql server ```powershell -Get-AzPostgreSqlFirewallRule -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer -``` +PS C:\> Get-AzPostgreSqlFirewallRule -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer Name StartIPAddress EndIPAddress ---- -------------- ------------ rule 0.0.0.0 0.0.0.1 +``` + +This cmdlet lists all the Firewall Rule in specified PostgreSql server. -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Get Firewall Rule by name ```powershell -Get-AzPostgreSqlFirewallRule -Name rule -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer -``` +PS C:\> Get-AzPostgreSqlFirewallRule -Name rule -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer Name StartIPAddress EndIPAddress ---- -------------- ------------ rule 0.0.0.0 0.0.0.1 +``` -### -------------------------- EXAMPLE 3 -------------------------- +This cmdlet gets Firewall Rule by name. + +### Example 3: Get Firewall Rule by identity ```powershell -$ID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.DBforPostgreSQL/servers/PostgreSqlTestServer/firewallRules/rule" +PS C:\> $ID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.DBforPostgreSQL/servers/PostgreSqlTestServer/firewallRules/rule" PS C:\> Get-AzPostgreSqlFirewallRule -InputObject $ID -``` Name StartIPAddress EndIPAddress ---- -------------- ------------ rule 0.0.0.0 0.0.0.1 +``` + +This cmdlet gets Firewall Rule by identity. ## PARAMETERS diff --git a/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServer.md deleted file mode 100644 index a4e59f83f91b..000000000000 --- a/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServer.md +++ /dev/null @@ -1,193 +0,0 @@ ---- -external help file: -Module Name: Az.PostgreSql -online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/get-azpostgresqlflexibleserver -schema: 2.0.0 ---- - -# Get-AzPostgreSqlFlexibleServer - -## SYNOPSIS -Gets information about a server. - -## SYNTAX - -### List1 (Default) -``` -Get-AzPostgreSqlFlexibleServer [-SubscriptionId ] [-DefaultProfile ] [] -``` - -### Get -``` -Get-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [] -``` - -### GetViaIdentity -``` -Get-AzPostgreSqlFlexibleServer -InputObject [-DefaultProfile ] - [] -``` - -### List -``` -Get-AzPostgreSqlFlexibleServer -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [] -``` - -## DESCRIPTION -Gets information about a server. - -## EXAMPLES - -### -------------------------- EXAMPLE 1 -------------------------- -```powershell -Get-AzPostgreSqlFlexibleServer -``` - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ---------------- ------------- -postgresql-test eastus postgresql-test 12 32768 Standard_D2s_v3 GeneralPurpose - -### -------------------------- EXAMPLE 2 -------------------------- -```powershell -Get-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -Name postgresql-test -``` - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ---------------- ------------- -postgresql-test eastus postgresql-test 12 32768 Standard_D2s_v3 GeneralPurpose - -### -------------------------- EXAMPLE 3 -------------------------- -```powershell -Get-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -``` - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ---------------- ------------- -postgresql-test eastus postgresql-test 12 32768 Standard_D2s_v3 GeneralPurpose -postgresql-test2 eastus postgresql-test 12 32768 Standard_42s_v3 GeneralPurpose - -### -------------------------- EXAMPLE 4 -------------------------- -```powershell -$ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test" -PS C:\> Get-AzPostgreSqlFlexibleServer -InputObject $ID -``` - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ---------------- ------------- -postgresql-test eastus postgresql-test 12 32768 Standard_D2s_v3 GeneralPurpose - -## PARAMETERS - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity -Parameter Sets: GetViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Get -Aliases: ServerName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Get, List -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String[] -Parameter Sets: Get, List, List1 -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20200214Preview.IServerAutoGenerated - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerConfiguration.md b/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerConfiguration.md deleted file mode 100644 index 9cc2cee3ab5d..000000000000 --- a/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerConfiguration.md +++ /dev/null @@ -1,185 +0,0 @@ ---- -external help file: -Module Name: Az.PostgreSql -online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/get-azpostgresqlflexibleserverconfiguration -schema: 2.0.0 ---- - -# Get-AzPostgreSqlFlexibleServerConfiguration - -## SYNOPSIS -Gets information about a configuration of server. - -## SYNTAX - -### List (Default) -``` -Get-AzPostgreSqlFlexibleServerConfiguration -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [] -``` - -### Get -``` -Get-AzPostgreSqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [] -``` - -### GetViaIdentity -``` -Get-AzPostgreSqlFlexibleServerConfiguration -InputObject [-DefaultProfile ] - [] -``` - -## DESCRIPTION -Gets information about a configuration of server. - -## EXAMPLES - -### -------------------------- EXAMPLE 1 -------------------------- -```powershell -Get-AzPostgreSqlFlexibleServerConfiguration -Name work_mem -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test -``` - -Name Value DefaultValue Source AllowedValues DataType ----- ------ ------------ ------- ------------- --------- -work_mem 4096 4096 system-default 4096-2097151 Integer - -### -------------------------- EXAMPLE 2 -------------------------- -```powershell -Get-AzPostgreSqlFlexibleServerConfiguration -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test -``` - -Name Value DefaultValue Source AllowedValues DataType ----- ------ ------------ ------- ------------- --------- -application_name "" "" system-default [A-Za-z0-9._-]* String -... -pgbouncer.enabled false false system-default true, false Boolean - -## PARAMETERS - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity -Parameter Sets: GetViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server configuration. - -```yaml -Type: System.String -Parameter Sets: Get -Aliases: ConfigurationName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Get, List -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Get, List -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String[] -Parameter Sets: Get, List -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20200214Preview.IConfigurationAutoGenerated - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerFirewallRule.md deleted file mode 100644 index 03477da0c4b2..000000000000 --- a/src/PostgreSql/docs/Get-AzPostgreSqlFlexibleServerFirewallRule.md +++ /dev/null @@ -1,194 +0,0 @@ ---- -external help file: -Module Name: Az.PostgreSql -online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/get-azpostgresqlflexibleserverfirewallrule -schema: 2.0.0 ---- - -# Get-AzPostgreSqlFlexibleServerFirewallRule - -## SYNOPSIS -List all the firewall rules in a given server. - -## SYNTAX - -### List (Default) -``` -Get-AzPostgreSqlFlexibleServerFirewallRule -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [] -``` - -### Get -``` -Get-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [] -``` - -### GetViaIdentity -``` -Get-AzPostgreSqlFlexibleServerFirewallRule -InputObject [-DefaultProfile ] - [] -``` - -## DESCRIPTION -List all the firewall rules in a given server. - -## EXAMPLES - -### -------------------------- EXAMPLE 1 -------------------------- -```powershell -Get-AzPostgreSqlFlexibleServerFirewallRule -Name firewallrule-test -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test -``` - -FirewallRuleName StartIPAddress EndIPAddress ------------------ --------------- --------------- -firewallrule-test 12.12.12.12 23.23.23.23 - -### -------------------------- EXAMPLE 2 -------------------------- -```powershell -$ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/servers/postgresql-test/firewallRules/firewallrule-test" -PS C:\> Get-AzPostgreSqlFlexibleServerFirewallRule -InputObject $ID -``` - -FirewallRuleName StartIPAddress EndIPAddress ------------------ --------------- --------------- -firewallrule-test 12.12.12.12 23.23.23.23 - -### -------------------------- EXAMPLE 3 -------------------------- -```powershell -Get-AzPostgreSqlFlexibleServerFirewallRule -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test -``` - -FirewallRuleName StartIPAddress EndIPAddress ------------------ --------------- --------------- -firewallrule-test 12.12.12.12 23.23.23.23 -firewallrule-test2 12.12.12.15 23.23.23.25 - -## PARAMETERS - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity -Parameter Sets: GetViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server firewall rule. - -```yaml -Type: System.String -Parameter Sets: Get -Aliases: FirewallRuleName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Get, List -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Get, List -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String[] -Parameter Sets: Get, List -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IFirewallRule - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/PostgreSql/docs/Get-AzPostgreSqlReplica.md b/src/PostgreSql/docs/Get-AzPostgreSqlReplica.md index fc57f6b15eba..7cd07aa359ae 100644 --- a/src/PostgreSql/docs/Get-AzPostgreSqlReplica.md +++ b/src/PostgreSql/docs/Get-AzPostgreSqlReplica.md @@ -22,14 +22,16 @@ List all the replicas for a given server. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Get PostgreSql server replica by resource group and server name ```powershell -Get-AzPostgreSqlReplica -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer -``` +PS C:\> Get-AzPostgreSqlReplica -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement ---- -------- ------------------ ------- ----------------------- ------- ------- -------------- postgresqltestserverreplica eastus pwsh 9.6 5120 GP_Gen5_4 GeneralPurpose Enabled +``` + +This cmdlet gets PostgreSql server replica by resource group and server name. ## PARAMETERS diff --git a/src/PostgreSql/docs/Get-AzPostgreSqlServer.md b/src/PostgreSql/docs/Get-AzPostgreSqlServer.md index 8c02d98e6856..4406f4b44172 100644 --- a/src/PostgreSql/docs/Get-AzPostgreSqlServer.md +++ b/src/PostgreSql/docs/Get-AzPostgreSqlServer.md @@ -39,42 +39,50 @@ Gets information about a server. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Get PostgreSql server with default context ```powershell -Get-AzPostgreSqlServer -``` +PS C:\> Get-AzPostgreSqlServer Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement ---- -------- ------------------ ------- ----------------------- ------- ------- -------------- postgresqltestserver eastus pwsh 9.6 5120 GP_Gen5_4 GeneralPurpose Enabled +``` + +This cmdlet gets PostgreSql server with default context. -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Get PostgreSql server by resource group and server name ```powershell -Get-AzPostgreSqlServer -ResourceGroupName PostgreSqlTestRG -Name PostgreSqlTestServer -``` +PS C:\> Get-AzPostgreSqlServer -ResourceGroupName PostgreSqlTestRG -Name PostgreSqlTestServer Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement ---- -------- ------------------ ------- ----------------------- ------- ------- -------------- postgresqltestserver eastus pwsh 9.6 5120 GP_Gen5_4 GeneralPurpose Enabled +``` + +This cmdlet gets PostgreSql server by resource group and server name. -### -------------------------- EXAMPLE 3 -------------------------- +### Example 3: Lists all the PostgreSql servers in specified resource group ```powershell -Get-AzPostgreSqlServer -ResourceGroupName PostgreSqlTestRG -``` +PS C:\> Get-AzPostgreSqlServer -ResourceGroupName PostgreSqlTestRG Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement ---- -------- ------------------ ------- ----------------------- ------- ------- -------------- postgresqltestserver eastus pwsh 9.6 5120 GP_Gen5_4 GeneralPurpose Enabled +``` + +This cmdlet lists all the PostgreSql servers in specified resource group. -### -------------------------- EXAMPLE 4 -------------------------- +### Example 4: Get PostgreSql server by identity ```powershell -$ID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.DBforPostgreSQL/servers/postgresqltestserver" +PS C:\> $ID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.DBforPostgreSQL/servers/postgresqltestserver" PS C:\> Get-AzPostgreSqlServer -InputObject $ID -``` Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement ---- -------- ------------------ ------- ----------------------- ------- ------- -------------- postgresqltestserver eastus pwsh 9.6 5120 GP_Gen5_4 GeneralPurpose Enabled +``` + +This cmdlet lists gets PostgreSql server by identity. ## PARAMETERS diff --git a/src/PostgreSql/docs/Get-AzPostgreSqlVirtualNetworkRule.md b/src/PostgreSql/docs/Get-AzPostgreSqlVirtualNetworkRule.md index 7eb81f3d250e..0487797b1c4d 100644 --- a/src/PostgreSql/docs/Get-AzPostgreSqlVirtualNetworkRule.md +++ b/src/PostgreSql/docs/Get-AzPostgreSqlVirtualNetworkRule.md @@ -35,33 +35,39 @@ Gets a virtual network rule. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Lists all the Virtual Network Rules in specified PostgreSql server ```powershell -Get-AzPostgreSqlVirtualNetworkRule -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer -``` +PS C:\> Get-AzPostgreSqlVirtualNetworkRule -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer Name Type ---- ---- vnet Microsoft.DBforPostgreSQL/servers/virtualNetworkRules +``` + +This cmdlet lists all the Virtual Network Rules in specified PostgreSql server. -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Get Virtual Network Rule by name ```powershell -Get-AzPostgreSqlVirtualNetworkRule -Name vnet -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer -``` +PS C:\> Get-AzPostgreSqlVirtualNetworkRule -Name vnet -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer Name Type ---- ---- vnet Microsoft.DBforPostgreSQL/servers/virtualNetworkRules +``` -### -------------------------- EXAMPLE 3 -------------------------- +This cmdlet gets Virtual Network Rule by name. + +### Example 3: Get Virtual Network Rule by identity ```powershell -$ID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.DBforPostgreSQL/servers/PostgreSqlTestServer/virtualNetworkRules/vnet" +PS C:\> $ID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.DBforPostgreSQL/servers/PostgreSqlTestServer/virtualNetworkRules/vnet" PS C:\> Get-AzPostgreSqlVirtualNetworkRule -InputObject $ID -``` Name Type ---- ---- vnet Microsoft.DBforPostgreSQL/servers/virtualNetworkRules +``` + +This cmdlet gets Virtual Network Rule by identity. ## PARAMETERS diff --git a/src/PostgreSql/docs/New-AzPostgreSqlFirewallRule.md b/src/PostgreSql/docs/New-AzPostgreSqlFirewallRule.md index c17a794973f9..3cdde983906d 100644 --- a/src/PostgreSql/docs/New-AzPostgreSqlFirewallRule.md +++ b/src/PostgreSql/docs/New-AzPostgreSqlFirewallRule.md @@ -38,32 +38,38 @@ Creates a new firewall rule or updates an existing firewall rule. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Create a new PostgreSql server Firewall Rule ```powershell -New-AzPostgreSqlFirewallRule -Name rule -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 -``` +PS C:\> New-AzPostgreSqlFirewallRule -Name rule -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 Name StartIPAddress EndIPAddress ---- -------------- ------------ rule 0.0.0.0 0.0.0.1 +``` + +This cmdlets create a PostgreSql server Firewall Rule. -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Create a new PostgreSql Firewall Rule using -ClientIPAddress. ```powershell -New-AzPostgreSqlFirewallRule -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer -ClientIPAddress 0.0.0.1 -``` +PS C:\> New-AzPostgreSqlFirewallRule -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer -ClientIPAddress 0.0.0.1 Name StartIPAddress EndIPAddress ---- -------------- ------------ ClientIPAddress_2020-08-11_18-19-27 0.0.0.1 0.0.0.1 +``` -### -------------------------- EXAMPLE 3 -------------------------- +This cmdlets create a PostgreSql Firewall Rule using -ClientIPAddress. + +### Example 3: Create a new PostgreSql Firewall Rule to allow all IPs ```powershell -New-AzPostgreSqlFirewallRule -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer -AllowAll -``` +PS C:\> New-AzPostgreSqlFirewallRule -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer -AllowAll Name StartIPAddress EndIPAddress ---- -------------- ------------ AllowAll_2020-08-11_18-19-27 0.0.0.0 255.255.255.255 +``` + +This cmdlets create a new PostgreSql Firewall Rule to allow all IPs. ## PARAMETERS diff --git a/src/PostgreSql/docs/New-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/docs/New-AzPostgreSqlFlexibleServer.md deleted file mode 100644 index 2c8e873896c3..000000000000 --- a/src/PostgreSql/docs/New-AzPostgreSqlFlexibleServer.md +++ /dev/null @@ -1,329 +0,0 @@ ---- -external help file: -Module Name: Az.PostgreSql -online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/new-azpostgresqlflexibleserver -schema: 2.0.0 ---- - -# New-AzPostgreSqlFlexibleServer - -## SYNOPSIS -Creates a new server. - -## SYNTAX - -``` -New-AzPostgreSqlFlexibleServer -Name -ResourceGroupName - -AdministratorLoginPassword -AdministratorUserName [-SubscriptionId ] - [-BackupRetentionDay ] [-Location ] [-Sku ] [-SkuTier ] [-StorageInMb ] - [-Tag ] [-Version ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] - [-WhatIf] [] -``` - -## DESCRIPTION -Creates a new server. - -## EXAMPLES - -### -------------------------- EXAMPLE 1 -------------------------- -```powershell -$password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force -PS C:\> New-AzPostgreSqlFlexibleServer -Name postgresql-test -ResourceGroupName PowershellPostgreSqlTest \ --Location eastus -AdministratorUserName postgresqltest -AdministratorLoginPassword $password -Sku Standard_B1ms -SkuTier Burstable -Version 12 -StorageInMb 131072 -``` - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ------------ ------------- -postgresql-test East US postgresqltest 12 131072 Standard_D2s_v3 GeneralPurpose - -### -------------------------- EXAMPLE 2 -------------------------- -```powershell -$password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force -PS C:\> New-AzPostgreSqlFlexibleServer -Name postgresql-test -ResourceGroupName PowershellPostgreSqlTest \ --AdministratorUserName postgresqltest -AdministratorLoginPassword $password -``` - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ------------ ------------- -postgresql-test East US postgresqltest 12 131072 Standard_D2s_v3 GeneralPurpose - -## PARAMETERS - -### -AdministratorLoginPassword -The password of the administrator. -Minimum 8 characters and maximum 128 characters. -Password must contain characters from three of the following categories: English uppercase letters, English lowercase letters, numbers, and non-alphanumeric characters. - -```yaml -Type: System.Security.SecureString -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -AdministratorUserName -Administrator username for the server. -Once set, it cannot be changed. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -AsJob -Run the command as a job. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -BackupRetentionDay -Backup retention days for the server. -Day count is between 7 and 35. - -```yaml -Type: System.Int32 -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Location -The location the resource resides in. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Name -The name of the server. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: ServerName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Sku -The name of the sku, typically, tier + family + cores, e.g. -Standard_B1ms, Standard_D2ds_v4. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SkuTier -Compute tier of the server. -Accepted values: Burstable, GeneralPurpose, Memory Optimized. -Default: Burstable. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -StorageInMb -Max storage allowed for a server. - -```yaml -Type: System.Int32 -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The subscription ID that identifies an Azure subscription. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Tag -Application-specific metadata in the form of key-value pairs. - -```yaml -Type: System.Collections.Hashtable -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Version -Server version. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.ServerVersion -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20200214Preview.IServerAutoGenerated - -## NOTES - -ALIASES - -## RELATED LINKS - diff --git a/src/PostgreSql/docs/New-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSql/docs/New-AzPostgreSqlFlexibleServerFirewallRule.md deleted file mode 100644 index 82eca83b0128..000000000000 --- a/src/PostgreSql/docs/New-AzPostgreSqlFlexibleServerFirewallRule.md +++ /dev/null @@ -1,286 +0,0 @@ ---- -external help file: -Module Name: Az.PostgreSql -online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/new-azpostgresqlflexibleserverfirewallrule -schema: 2.0.0 ---- - -# New-AzPostgreSqlFlexibleServerFirewallRule - -## SYNOPSIS -Creates a new firewall rule or updates an existing firewall rule. - -## SYNTAX - -### CreateExpanded (Default) -``` -New-AzPostgreSqlFlexibleServerFirewallRule -ResourceGroupName -ServerName - -EndIPAddress -StartIPAddress [-Name ] [-SubscriptionId ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] -``` - -### AllowAll -``` -New-AzPostgreSqlFlexibleServerFirewallRule -ResourceGroupName -ServerName -AllowAll - [-Name ] [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] - [-WhatIf] [] -``` - -### ClientIPAddress -``` -New-AzPostgreSqlFlexibleServerFirewallRule -ResourceGroupName -ServerName - -ClientIPAddress [-Name ] [-SubscriptionId ] [-DefaultProfile ] [-AsJob] - [-NoWait] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Creates a new firewall rule or updates an existing firewall rule. - -## EXAMPLES - -### -------------------------- EXAMPLE 1 -------------------------- -```powershell -New-AzPostgreSqlFlexibleServerFirewallRule -Name firewallrule-test -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 -``` - -Name StartIPAddress EndIPAddress ------------------ -------------- ------------ -firewallrule-test 0.0.0.0 0.0.0.1 - -### -------------------------- EXAMPLE 2 -------------------------- -```powershell -New-AzPostgreSqlFlexibleServerFirewallRule -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test -ClientIPAddress 0.0.0.1 -``` - -Name StartIPAddress EndIPAddress ----- -------------- ------------ -ClientIPAddress_2020-08-11_18-19-27 0.0.0.1 0.0.0.1 - -### -------------------------- EXAMPLE 3 -------------------------- -```powershell -New-AzPostgreSqlFlexibleServerFirewallRule -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test -AllowAll -``` - -Name StartIPAddress EndIPAddress ----- -------------- ------------ -AllowAll_2020-08-11_18-19-27 0.0.0.0 255.255.255.255 - -## PARAMETERS - -### -AllowAll -Present to allow all range IPs, from 0.0.0.0 to 255.255.255.255. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: AllowAll -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ClientIPAddress -Client specified single IP of the server firewall rule. -Must be IPv4 format. - -```yaml -Type: System.String -Parameter Sets: ClientIPAddress -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -EndIPAddress -The end IP address of the server firewall rule. -Must be IPv4 format. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Name -The name of the server firewall rule. -If not specified, the default is undefined. -If AllowAll is present, the default name is AllowAll_yyyy-MM-dd_HH-mm-ss. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: FirewallRuleName - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -StartIPAddress -The start IP address of the server firewall rule. -Must be IPv4 format. - -```yaml -Type: System.String -Parameter Sets: CreateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IFirewallRule - -## NOTES - -ALIASES - -## RELATED LINKS - diff --git a/src/PostgreSql/docs/New-AzPostgreSqlReplica.md b/src/PostgreSql/docs/New-AzPostgreSqlReplica.md index de834ac01f26..6c50ab6d579d 100644 --- a/src/PostgreSql/docs/New-AzPostgreSqlReplica.md +++ b/src/PostgreSql/docs/New-AzPostgreSqlReplica.md @@ -23,24 +23,28 @@ Creates a new replica from an existing database. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Create a new PostgreSql server replica ```powershell -Get-AzPostgreSqlServer -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer | New-AzPostgreSqlReplica -ReplicaName PostgreSqlTestServerReplica -ResourceGroupName PostgreSqlTestRG -``` +PS C:\> Get-AzPostgreSqlServer -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer | New-AzPostgreSqlReplica -ReplicaName PostgreSqlTestServerReplica -ResourceGroupName PostgreSqlTestRG Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement ---- -------- ------------------ ------- ----------------------- ------- ------- -------------- postgresqltestserverreplica eastus pwsh 9.6 5120 GP_Gen5_4 GeneralPurpose Enabled +``` + +This cmdlet creates a new PostgreSql server replica. -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Create a new PostgreSql server replica ```powershell -$pgDb = Get-AzPostgreSqlServer -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer +PS C:\> $pgDb = Get-AzPostgreSqlServer -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer PS C:\> New-AzPostgreSqlReplica -Master $pgDb -ReplicaName PostgreSqlTestServerReplica -ResourceGroupName PostgreSqlTestRG -``` Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement ---- -------- ------------------ ------- ----------------------- ------- ------- -------------- postgresqltestserverreplica eastus pwsh 9.6 5120 GP_Gen5_4 GeneralPurpose Enabled +``` + +This cmdlet creates a new PostgreSql server replica. ## PARAMETERS @@ -233,9 +237,8 @@ To create the parameters described below, construct a hash table containing the MASTER : The source server object to create replica from. - - `Location `: The geo-location where the resource lives - - `SkuName `: The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. - - `[Tag ]`: Resource tags. + - `Location `: The location the resource resides in. + - `[Tag ]`: Application-specific metadata in the form of key-value pairs. - `[(Any) ]`: This indicates any property can be added to this object. - `[AdministratorLogin ]`: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). - `[EarliestRestoreDate ]`: Earliest restore point creation time (ISO8601 format) @@ -249,6 +252,7 @@ MASTER : The source server object to create replica from. - `[ReplicationRole ]`: The replication role of the server. - `[SkuCapacity ]`: The scale up/out capacity, representing server's compute units. - `[SkuFamily ]`: The family of hardware. + - `[SkuName ]`: The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. - `[SkuSize ]`: The size code, to be interpreted by resource as appropriate. - `[SkuTier ]`: The tier of the particular SKU, e.g. Basic. - `[SslEnforcement ]`: Enable ssl enforcement or not when connect to server. diff --git a/src/PostgreSql/docs/New-AzPostgreSqlServer.md b/src/PostgreSql/docs/New-AzPostgreSqlServer.md index 06a5effe2e02..305800fd859e 100644 --- a/src/PostgreSql/docs/New-AzPostgreSqlServer.md +++ b/src/PostgreSql/docs/New-AzPostgreSqlServer.md @@ -26,21 +26,21 @@ Creates a new server. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Create a new PostgreSql server ```powershell -New-AzPostgreSqlServer -Name PostgreSqlTestServer -ResourceGroupName PostgreSqlTestRG -Location eastus -AdministratorUserName pwsh -AdministratorLoginPassword $password -Sku GP_Gen5_4 -``` +PS C:\> New-AzPostgreSqlServer -Name PostgreSqlTestServer -ResourceGroupName PostgreSqlTestRG -Location eastus -AdministratorUserName pwsh -AdministratorLoginPassword $password -Sku GP_Gen5_4 Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement ---- -------- ------------------ ------- ----------------------- ------- ------- -------------- postgresqltestserver eastus pwsh 9.6 5120 GP_Gen5_4 GeneralPurpose Enabled +``` + +These cmdlets create a new PostgreSql server. ## PARAMETERS ### -AdministratorLoginPassword -The password of the administrator. -Minimum 8 characters and maximum 128 characters. -Password must contain characters from three of the following categories: English uppercase letters, English lowercase letters, numbers, and non-alphanumeric characters. +The location the resource resides in. ```yaml Type: System.Security.SecureString @@ -55,8 +55,7 @@ Accept wildcard characters: False ``` ### -AdministratorUserName -Administrator username for the server. -Once set, it cannot be changed. +The location the resource resides in. ```yaml Type: System.String diff --git a/src/PostgreSql/docs/New-AzPostgreSqlVirtualNetworkRule.md b/src/PostgreSql/docs/New-AzPostgreSqlVirtualNetworkRule.md index 6f480034188b..d129feb90ed9 100644 --- a/src/PostgreSql/docs/New-AzPostgreSqlVirtualNetworkRule.md +++ b/src/PostgreSql/docs/New-AzPostgreSqlVirtualNetworkRule.md @@ -23,15 +23,17 @@ Creates or updates an existing virtual network rule. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Create a new PostgreSql server Virtual Network Rule ```powershell -$ID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.Network/virtualNetworks/PostgreSqlVNet/subnets/default" +PS C:\> $ID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.Network/virtualNetworks/PostgreSqlVNet/subnets/default" PS C:\> New-AzPostgreSqlVirtualNetworkRule -Name vnet -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer -SubnetId $ID -``` Name Type ---- ---- vnet Microsoft.DBforPostgreSQL/servers/virtualNetworkRules +``` + +These cmdlets create a PostgreSql server Virtual Network Rule. ## PARAMETERS diff --git a/src/PostgreSql/docs/Remove-AzPostgreSqlFirewallRule.md b/src/PostgreSql/docs/Remove-AzPostgreSqlFirewallRule.md index e4f6a54b3e55..86ad729b1963 100644 --- a/src/PostgreSql/docs/Remove-AzPostgreSqlFirewallRule.md +++ b/src/PostgreSql/docs/Remove-AzPostgreSqlFirewallRule.md @@ -30,20 +30,22 @@ Deletes a server firewall rule. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Remove PostgreSql Firewall Rule by name ```powershell -Remove-AzPostgreSqlFirewallRule -Name rule -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer -``` +PS C:\> Remove-AzPostgreSqlFirewallRule -Name rule -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer +``` +This cmdlet removes PostgreSql Firewall Rule by name. -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Remove PostgreSql Firewall Rule by identity ```powershell -$ID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.DBforPostgreSQL/servers/PostgreSqlTestServer/firewallRules/rule" +PS C:\> $ID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.DBforPostgreSQL/servers/PostgreSqlTestServer/firewallRules/rule" PS C:\> Remove-AzPostgreSqlFirewallRule -InputObject $ID + ``` - +These cmdlets remove PostgreSql Firewall Rule by identity. ## PARAMETERS diff --git a/src/PostgreSql/docs/Remove-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/docs/Remove-AzPostgreSqlFlexibleServer.md deleted file mode 100644 index 0f022b319508..000000000000 --- a/src/PostgreSql/docs/Remove-AzPostgreSqlFlexibleServer.md +++ /dev/null @@ -1,235 +0,0 @@ ---- -external help file: -Module Name: Az.PostgreSql -online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/remove-azpostgresqlflexibleserver -schema: 2.0.0 ---- - -# Remove-AzPostgreSqlFlexibleServer - -## SYNOPSIS -Deletes a server. - -## SYNTAX - -### Delete (Default) -``` -Remove-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -### DeleteViaIdentity -``` -Remove-AzPostgreSqlFlexibleServer -InputObject [-DefaultProfile ] [-AsJob] - [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Deletes a server. - -## EXAMPLES - -### -------------------------- EXAMPLE 1 -------------------------- -```powershell -Remove-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -Name postgresql-test -``` - - - -### -------------------------- EXAMPLE 2 -------------------------- -```powershell -$ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test" -PS C:\> Remove-AzPostgreSqlFlexibleServer -InputObject $ID -``` - - - -## PARAMETERS - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity -Parameter Sets: DeleteViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: ServerName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PassThru -Returns true when the command succeeds - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity - -## OUTPUTS - -### System.Boolean - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/PostgreSql/docs/Remove-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSql/docs/Remove-AzPostgreSqlFlexibleServerFirewallRule.md deleted file mode 100644 index b6f85f69aca1..000000000000 --- a/src/PostgreSql/docs/Remove-AzPostgreSqlFlexibleServerFirewallRule.md +++ /dev/null @@ -1,251 +0,0 @@ ---- -external help file: -Module Name: Az.PostgreSql -online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/remove-azpostgresqlflexibleserverfirewallrule -schema: 2.0.0 ---- - -# Remove-AzPostgreSqlFlexibleServerFirewallRule - -## SYNOPSIS -Deletes a PostgreSQL server firewall rule. - -## SYNTAX - -### Delete (Default) -``` -Remove-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] - [] -``` - -### DeleteViaIdentity -``` -Remove-AzPostgreSqlFlexibleServerFirewallRule -InputObject [-DefaultProfile ] - [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Deletes a PostgreSQL server firewall rule. - -## EXAMPLES - -### -------------------------- EXAMPLE 1 -------------------------- -```powershell -Remove-AzPostgreSqlFlexibleServerFirewallRule -Name firewall-rule-test -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test -``` - - - -### -------------------------- EXAMPLE 2 -------------------------- -```powershell -$ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test/firewallRules/firewall-rule-test" -PS C:\> Remove-AzPostgreSqlFlexibleServerFirewallRule -InputObject $ID -``` - - - -## PARAMETERS - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity -Parameter Sets: DeleteViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server firewall rule. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: FirewallRuleName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PassThru -Returns true when the command succeeds - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: Delete -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity - -## OUTPUTS - -### System.Boolean - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/PostgreSql/docs/Remove-AzPostgreSqlServer.md b/src/PostgreSql/docs/Remove-AzPostgreSqlServer.md index 8e3d03ab932d..d9b991bf5921 100644 --- a/src/PostgreSql/docs/Remove-AzPostgreSqlServer.md +++ b/src/PostgreSql/docs/Remove-AzPostgreSqlServer.md @@ -29,20 +29,22 @@ Deletes a server. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Remove PostgreSql server by resourceGroup and server name ```powershell -Remove-AzPostgreSqlServer -ResourceGroupName PostgreSqlTestRG -Name PostgreSqlTestServer -``` +PS C:\> Remove-AzPostgreSqlServer -ResourceGroupName PostgreSqlTestRG -Name PostgreSqlTestServer +``` +This cmdlet removes PostgreSql server by resourceGroup and server name. -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Remove PostgreSql server by identity ```powershell -$ID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.DBforPostgreSQL/servers/PostgreSqlTestServer" +PS C:\> $ID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.DBforPostgreSQL/servers/PostgreSqlTestServer" PS C:\> Remove-AzPostgreSqlServer -InputObject $ID + ``` - +These cmdlets remove PostgreSql server by identity. ## PARAMETERS diff --git a/src/PostgreSql/docs/Remove-AzPostgreSqlVirtualNetworkRule.md b/src/PostgreSql/docs/Remove-AzPostgreSqlVirtualNetworkRule.md index 794286491499..323d32505086 100644 --- a/src/PostgreSql/docs/Remove-AzPostgreSqlVirtualNetworkRule.md +++ b/src/PostgreSql/docs/Remove-AzPostgreSqlVirtualNetworkRule.md @@ -30,20 +30,22 @@ Deletes the virtual network rule with the given name. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Remove PostgreSql server Virtual Network Rule by name ```powershell -Remove-AzPostgreSqlVirtualNetworkRule -Name vnet -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer -``` +PS C:\> Remove-AzPostgreSqlVirtualNetworkRule -Name vnet -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer +``` +This cmdlet removes PostgreSql server Virtual Network Rule by name. -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Remove PostgreSql server Virtual Network Rule by identity ```powershell -$ID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.DBforPostgreSQL/servers/PostgreSqlTestServer/virtualNetworkRules/vnet" +PS C:\> $ID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.DBforPostgreSQL/servers/PostgreSqlTestServer/virtualNetworkRules/vnet" PS C:\> Remove-AzPostgreSqlVirtualNetworkRule -InputObject $ID + ``` - +These cmdlets remove PostgreSql server Virtual Network Rule by identity. ## PARAMETERS diff --git a/src/PostgreSql/docs/Restart-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/docs/Restart-AzPostgreSqlFlexibleServer.md deleted file mode 100644 index e9bac3eebe08..000000000000 --- a/src/PostgreSql/docs/Restart-AzPostgreSqlFlexibleServer.md +++ /dev/null @@ -1,235 +0,0 @@ ---- -external help file: -Module Name: Az.PostgreSql -online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/restart-azpostgresqlflexibleserver -schema: 2.0.0 ---- - -# Restart-AzPostgreSqlFlexibleServer - -## SYNOPSIS -Restarts a server. - -## SYNTAX - -### Restart (Default) -``` -Restart-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -### RestartViaIdentity -``` -Restart-AzPostgreSqlFlexibleServer -InputObject [-DefaultProfile ] [-AsJob] - [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Restarts a server. - -## EXAMPLES - -### -------------------------- EXAMPLE 1 -------------------------- -```powershell -Restart-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -Name postgresql-test -``` - - - -### -------------------------- EXAMPLE 2 -------------------------- -```powershell -$ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test/restart" -PS C:\> Restart-AzPostgreSqlFlexibleServer -InputObject $ID -``` - - - -## PARAMETERS - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity -Parameter Sets: RestartViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Restart -Aliases: ServerName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PassThru -Returns true when the command succeeds - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Restart -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: Restart -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity - -## OUTPUTS - -### System.Boolean - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/PostgreSql/docs/Restart-AzPostgreSqlServer.md b/src/PostgreSql/docs/Restart-AzPostgreSqlServer.md index 0719a34ba5ab..7bfd811c1c10 100644 --- a/src/PostgreSql/docs/Restart-AzPostgreSqlServer.md +++ b/src/PostgreSql/docs/Restart-AzPostgreSqlServer.md @@ -29,20 +29,22 @@ Restarts a server. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Restart PostgreSql server by resource group and server name ```powershell -Restart-AzPostgreSqlServer -ResourceGroupName PostgreSqlTestRG -Name PostgreSqlTestServer -``` +PS C:\> Restart-AzPostgreSqlServer -ResourceGroupName PostgreSqlTestRG -Name PostgreSqlTestServer +``` +This cmdlet restarts PostgreSql server by resource group and server name. -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Restart PostgreSql server by identity ```powershell -$ID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.DBforPostgreSQL/servers/PostgreSqlTestServer/restart" +PS C:\> $ID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.DBforPostgreSQL/servers/PostgreSqlTestServer/restart" PS C:\> Restart-AzPostgreSqlServer -InputObject $ID + ``` - +These cmdlets restart PostgreSql server by identity. ## PARAMETERS diff --git a/src/PostgreSql/docs/Restore-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/docs/Restore-AzPostgreSqlFlexibleServer.md deleted file mode 100644 index f55b4f794474..000000000000 --- a/src/PostgreSql/docs/Restore-AzPostgreSqlFlexibleServer.md +++ /dev/null @@ -1,218 +0,0 @@ ---- -external help file: -Module Name: Az.PostgreSql -online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/restore-azpostgresqlflexibleserver -schema: 2.0.0 ---- - -# Restore-AzPostgreSqlFlexibleServer - -## SYNOPSIS -Restore a server from an existing backup - -## SYNTAX - -``` -Restore-AzPostgreSqlFlexibleServer -Name -ResourceGroupName -SourceServerName - -Location -RestorePointInTime [-SubscriptionId ] [-DefaultProfile ] - [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Restore a server from an existing backup - -## EXAMPLES - -### -------------------------- EXAMPLE 1 -------------------------- -```powershell -$restorePointInTime = (Get-Date).AddMinutes(-10) -PS C:\> Restore-AzPostgreSqlFlexibleServer -Name pg-restore -ResourceGroupName PowershellPostgreSqlTest -SourceServerName postgresql-test -Location eastus -RestorePointInTime $restorePointInTime -``` - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ------- ------- -pg-restore eastus postgresql_test 12 131072 Standard_D2s_v3 GeneralPurpose - -## PARAMETERS - -### -AsJob -Run the command as a job. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Location -The location the resource resides in. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Name -The name of the server. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: ServerName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -RestorePointInTime -The point in time to restore from (ISO8601 format), e.g., 2017-04-26T02:10:00+08:00. - -```yaml -Type: System.DateTime -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SourceServerName -The name of the source server. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The subscription ID that identifies an Azure subscription. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20200214Preview.IServerAutoGenerated - -## NOTES - -ALIASES - -## RELATED LINKS - diff --git a/src/PostgreSql/docs/Restore-AzPostgreSqlServer.md b/src/PostgreSql/docs/Restore-AzPostgreSqlServer.md index 1f7288e6d6e0..30f9aa4f991e 100644 --- a/src/PostgreSql/docs/Restore-AzPostgreSqlServer.md +++ b/src/PostgreSql/docs/Restore-AzPostgreSqlServer.md @@ -32,24 +32,28 @@ Restore a server from an existing backup ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Restore PostgreSql server using GeoReplica Restore ```powershell -Get-AzPostgreSqlServer -ResourceGroupName PostgreSqlTestRG -ServerName postgresqltestserverreplica | Restore-AzPostgreSqlServer -Name PostgreSqlTestServer -ResourceGroupName PostgreSqlTestRG -UseGeoRestore -``` +PS C:\> Get-AzPostgreSqlServer -ResourceGroupName PostgreSqlTestRG -ServerName postgresqltestserverreplica | Restore-AzPostgreSqlServer -Name PostgreSqlTestServer -ResourceGroupName PostgreSqlTestRG -UseGeoRestore Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement ---- -------- ------------------ ------- ----------------------- ------- ------- -------------- postgresqltestserver eastus pwsh 9.6 5120 GP_Gen5_4 GeneralPurpose Enabled +``` + +This cmdlet restores PostgreSql server using GeoReplica Restore. -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Restore PostgreSql server using PointInTime Restore ```powershell -$restorePointInTime = (Get-Date).AddMinutes(-10) +PS C:\> $restorePointInTime = (Get-Date).AddMinutes(-10) PS C:\> Get-AzPostgreSqlServer -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer | Restore-AzPostgreSqlServer -Name PostgreSqlTestServerGEO -ResourceGroupName PostgreSqlTestRG -RestorePointInTime $restorePointInTime -UsePointInTimeRestore -``` Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement ---- -------- ------------------ ------- ----------------------- ------- ------- -------------- postgresqltestservergeo eastus pwsh 9.6 5120 GP_Gen5_4 GeneralPurpose Enabled +``` + +These cmdlets restore PostgreSql server using PointInTime Restore. ## PARAMETERS @@ -302,9 +306,8 @@ To create the parameters described below, construct a hash table containing the INPUTOBJECT : The source server object to restore from. - - `Location `: The geo-location where the resource lives - - `SkuName `: The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. - - `[Tag ]`: Resource tags. + - `Location `: The location the resource resides in. + - `[Tag ]`: Application-specific metadata in the form of key-value pairs. - `[(Any) ]`: This indicates any property can be added to this object. - `[AdministratorLogin ]`: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). - `[EarliestRestoreDate ]`: Earliest restore point creation time (ISO8601 format) @@ -318,6 +321,7 @@ INPUTOBJECT : The source server object to restore from. - `[ReplicationRole ]`: The replication role of the server. - `[SkuCapacity ]`: The scale up/out capacity, representing server's compute units. - `[SkuFamily ]`: The family of hardware. + - `[SkuName ]`: The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. - `[SkuSize ]`: The size code, to be interpreted by resource as appropriate. - `[SkuTier ]`: The tier of the particular SKU, e.g. Basic. - `[SslEnforcement ]`: Enable ssl enforcement or not when connect to server. diff --git a/src/PostgreSql/docs/Start-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/docs/Start-AzPostgreSqlFlexibleServer.md deleted file mode 100644 index 2d10b89169ba..000000000000 --- a/src/PostgreSql/docs/Start-AzPostgreSqlFlexibleServer.md +++ /dev/null @@ -1,235 +0,0 @@ ---- -external help file: -Module Name: Az.PostgreSql -online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/start-azpostgresqlflexibleserver -schema: 2.0.0 ---- - -# Start-AzPostgreSqlFlexibleServer - -## SYNOPSIS -Starts a server. - -## SYNTAX - -### Start (Default) -``` -Start-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -### StartViaIdentity -``` -Start-AzPostgreSqlFlexibleServer -InputObject [-DefaultProfile ] [-AsJob] - [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Starts a server. - -## EXAMPLES - -### -------------------------- EXAMPLE 1 -------------------------- -```powershell -Start-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -Name postgresql-test -``` - - - -### -------------------------- EXAMPLE 2 -------------------------- -```powershell -$ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test/start" -PS C:\> Start-AzPostgreSqlFlexibleServer -InputObject $ID -``` - - - -## PARAMETERS - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity -Parameter Sets: StartViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Start -Aliases: ServerName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PassThru -Returns true when the command succeeds - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Start -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: Start -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity - -## OUTPUTS - -### System.Boolean - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/PostgreSql/docs/Stop-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/docs/Stop-AzPostgreSqlFlexibleServer.md deleted file mode 100644 index d6b178ae3c45..000000000000 --- a/src/PostgreSql/docs/Stop-AzPostgreSqlFlexibleServer.md +++ /dev/null @@ -1,235 +0,0 @@ ---- -external help file: -Module Name: Az.PostgreSql -online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/stop-azpostgresqlflexibleserver -schema: 2.0.0 ---- - -# Stop-AzPostgreSqlFlexibleServer - -## SYNOPSIS -Stops a server. - -## SYNTAX - -### Stop (Default) -``` -Stop-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -### StopViaIdentity -``` -Stop-AzPostgreSqlFlexibleServer -InputObject [-DefaultProfile ] [-AsJob] - [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Stops a server. - -## EXAMPLES - -### -------------------------- EXAMPLE 1 -------------------------- -```powershell -Stop-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -Name postgresql-test -``` - - - -### -------------------------- EXAMPLE 2 -------------------------- -```powershell -$ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test/stop" -PS C:\> Stop-AzPostgreSqlFlexibleServer -InputObject $ID -``` - - - -## PARAMETERS - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity -Parameter Sets: StopViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server. - -```yaml -Type: System.String -Parameter Sets: Stop -Aliases: ServerName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PassThru -Returns true when the command succeeds - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: Stop -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: Stop -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity - -## OUTPUTS - -### System.Boolean - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/PostgreSql/docs/Update-AzPostgreSqlConfiguration.md b/src/PostgreSql/docs/Update-AzPostgreSqlConfiguration.md index 25fa887b4046..80e91a69e955 100644 --- a/src/PostgreSql/docs/Update-AzPostgreSqlConfiguration.md +++ b/src/PostgreSql/docs/Update-AzPostgreSqlConfiguration.md @@ -32,24 +32,28 @@ Use Update-AzPostgreSqlServer instead if you want update AdministratorLoginPassw ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Update PostgreSql configuration by name ```powershell -Update-AzPostgreSqlConfiguration -Name intervalstyle -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer -Value SQL_STANDARD -``` +PS C:\> Update-AzPostgreSqlConfiguration -Name intervalstyle -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer -Value SQL_STANDARD Name Value ---- ----- intervalstyle SQL_STANDARD +``` + +This cmdlet updates PostgreSql configuration by name. -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Update PostgreSql configuration by identity. ```powershell -$ID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.DBforPostgreSQL/servers/PostgreSqlTestServer/configurations/deadlock_timeout" +PS C:\> $ID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.DBforPostgreSQL/servers/PostgreSqlTestServer/configurations/deadlock_timeout" PS C:\> Update-AzPostgreSqlConfiguration -InputObject $ID -Value 2000 -``` Name Value ---- ----- deadlock_timeout 2000 +``` + +These cmdlets update PostgreSql configuration by identity. ## PARAMETERS diff --git a/src/PostgreSql/docs/Update-AzPostgreSqlFirewallRule.md b/src/PostgreSql/docs/Update-AzPostgreSqlFirewallRule.md index d4b085b4655f..0bd2d5d43db6 100644 --- a/src/PostgreSql/docs/Update-AzPostgreSqlFirewallRule.md +++ b/src/PostgreSql/docs/Update-AzPostgreSqlFirewallRule.md @@ -44,34 +44,40 @@ Creates a new firewall rule or updates an existing firewall rule. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Update PostgreSql Firewall Rule by name ```powershell -Update-AzPostgreSqlFirewallRule -Name rule -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 -``` +PS C:\> Update-AzPostgreSqlFirewallRule -Name rule -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 Name StartIPAddress EndIPAddress ---- -------------- ------------ rule 0.0.0.2 0.0.0.3 +``` + +This cmdlet updates PostgreSql Firewall Rule by name. -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Update PostgreSql Firewall Rule by identity. ```powershell -$ID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.DBforPostgreSQL/servers/PostgreSqlTestServer/firewallRules/rule" +PS C:\> $ID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.DBforPostgreSQL/servers/PostgreSqlTestServer/firewallRules/rule" PS C:\> Update-AzPostgreSqlFirewallRule -InputObject $ID -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 -``` Name StartIPAddress EndIPAddress ---- -------------- ------------ rule 0.0.0.0 0.0.0.1 +``` -### -------------------------- EXAMPLE 3 -------------------------- +These cmdlets update PostgreSql Firewall Rule by identity. + +### Example 3: Update PostgreSql Firewall Rule by -ClientIPAddress. ```powershell -$ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/PostgreSqlTestServer/firewallRules/rule" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/PostgreSqlTestServer/firewallRules/rule" PS C:\> Update-AzPostgreSqlFirewallRule -InputObject $ID --ClientIPAddress 0.0.0.2 -``` Name StartIPAddress EndIPAddress ---- -------------- ------------ rule 0.0.0.2 0.0.0.2 +``` + +These cmdlets update PostgreSql Firewall Rule by -ClientIPAddress. ## PARAMETERS diff --git a/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServer.md deleted file mode 100644 index 1f38c586a6ff..000000000000 --- a/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServer.md +++ /dev/null @@ -1,386 +0,0 @@ ---- -external help file: -Module Name: Az.PostgreSql -online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/update-azpostgresqlflexibleserver -schema: 2.0.0 ---- - -# Update-AzPostgreSqlFlexibleServer - -## SYNOPSIS -Updates an existing server. -The request body can contain one to many of the properties present in the normal server definition. -Use Update-AzPostgreSqlConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count. - -## SYNTAX - -### UpdateExpanded (Default) -``` -Update-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] - [-AdministratorLoginPassword ] [-BackupRetentionDay ] [-HaEnabled ] - [-ReplicationRole ] [-Sku ] [-SkuTier ] [-SslEnforcement ] - [-StorageAutogrow ] [-StorageInMb ] [-Tag ] [-DefaultProfile ] - [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] -``` - -### UpdateViaIdentityExpanded -``` -Update-AzPostgreSqlFlexibleServer -InputObject - [-AdministratorLoginPassword ] [-BackupRetentionDay ] [-HaEnabled ] - [-ReplicationRole ] [-Sku ] [-SkuTier ] [-SslEnforcement ] - [-StorageAutogrow ] [-StorageInMb ] [-Tag ] [-DefaultProfile ] - [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Updates an existing server. -The request body can contain one to many of the properties present in the normal server definition. -Use Update-AzPostgreSqlConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count. - -## EXAMPLES - -### -------------------------- EXAMPLE 1 -------------------------- -```powershell -Update-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -Name postgresql-test -Sku Standard_D4s_v3 -``` - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ---------------- ------------- -postgresql-test eastus postgresql_test 12 131072 Standard_D4s_v3 GeneralPurpose - -### -------------------------- EXAMPLE 2 -------------------------- -```powershell -Get-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test | Update-AzPostgreSqlFlexibleServer -BackupRetentionDay 23 -StorageMb 10240 -``` - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ---------------- ------------- -postgresql-test eastus postgresql_test 12 131072 Standard_D2s_v3 GeneralPurpose - -## PARAMETERS - -### -AdministratorLoginPassword -The password of the administrator login. - -```yaml -Type: System.Security.SecureString -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -AsJob -Run the command as a job. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -BackupRetentionDay -Backup retention days for the server. -Day count is between 7 and 35. - -```yaml -Type: System.Int32 -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -HaEnabled -Enable or disable high availability feature. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.HaEnabledEnum -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter. -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity -Parameter Sets: UpdateViaIdentityExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded -Aliases: ServerName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ReplicationRole -The replication role of the server. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group that contains the resource. -You can obtain this value from the Azure Resource Manager API or the portal. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Sku -The name of the sku, typically, tier + family + cores, e.g. -B_Gen4_1, GP_Gen5_8. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SkuTier -The tier of the particular SKU, e.g. -Basic. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.SkuTier -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SslEnforcement -Enable ssl enforcement or not when connect to server. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.SslEnforcementEnum -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -StorageAutogrow -Enable Storage Auto Grow. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Support.StorageAutogrow -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -StorageInMb -Max storage allowed for a server. - -```yaml -Type: System.Int32 -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The subscription ID that identifies an Azure subscription. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Tag -Application-specific metadata in the form of key-value pairs. - -```yaml -Type: System.Collections.Hashtable -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20200214Preview.IServerAutoGenerated - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter. - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServerConfiguration.md b/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServerConfiguration.md deleted file mode 100644 index cf47a195d617..000000000000 --- a/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServerConfiguration.md +++ /dev/null @@ -1,305 +0,0 @@ ---- -external help file: -Module Name: Az.PostgreSql -online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/update-azpostgresqlflexibleserverconfiguration -schema: 2.0.0 ---- - -# Update-AzPostgreSqlFlexibleServerConfiguration - -## SYNOPSIS - - -## SYNTAX - -### UpdateExpanded (Default) -``` -Update-AzPostgreSqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName - [-SubscriptionId ] [-Source ] [-Value ] [-DefaultProfile ] [-AsJob] - [-NoWait] [-Confirm] [-WhatIf] [] -``` - -### Update -``` -Update-AzPostgreSqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName - -Parameter [-SubscriptionId ] [-DefaultProfile ] [-AsJob] - [-NoWait] [-Confirm] [-WhatIf] [] -``` - -### UpdateViaIdentity -``` -Update-AzPostgreSqlFlexibleServerConfiguration -InputObject - -Parameter [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] - [] -``` - -### UpdateViaIdentityExpanded -``` -Update-AzPostgreSqlFlexibleServerConfiguration -InputObject [-Source ] - [-Value ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION - - -## EXAMPLES - -### -------------------------- EXAMPLE 1 -------------------------- -```powershell -Update-AzPostgreSqlFlexibleServerConfiguration -Name work_mem -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test -Value 8192 -``` - -Name Value DefaultValue Source AllowedValues DataType ----- ------ ------------ ------- ------------- --------- -work_mem 8192 4096 system-default 4096-2097151 Integer - -### -------------------------- EXAMPLE 2 -------------------------- -```powershell -$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test/configurations/work_mem" -PS C:\> Get-AzPostgreSqlFlexibleServerConfiguration -Name work_mem -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test -Value 8192 -``` - -Name Value DefaultValue Source AllowedValues DataType ----- ------ ------------ ------- ------------- --------- -work_mem 8192 4096 system-default 4096-2097151 Integer - -## PARAMETERS - -### -AsJob - - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile - - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity -Parameter Sets: UpdateViaIdentity, UpdateViaIdentityExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name - - -```yaml -Type: System.String -Parameter Sets: Update, UpdateExpanded -Aliases: ConfigurationName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait - - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Parameter -To construct, see NOTES section for PARAMETER properties and create a hash table. -To construct, see NOTES section for PARAMETER properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20200214Preview.IConfigurationAutoGenerated -Parameter Sets: Update, UpdateViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -ResourceGroupName - - -```yaml -Type: System.String -Parameter Sets: Update, UpdateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName - - -```yaml -Type: System.String -Parameter Sets: Update, UpdateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Source - - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId - - -```yaml -Type: System.String -Parameter Sets: Update, UpdateExpanded -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Value - - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20200214Preview.IConfigurationAutoGenerated - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20200214Preview.IConfigurationAutoGenerated - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -PARAMETER : To construct, see NOTES section for PARAMETER properties and create a hash table. - - `[Source ]`: Source of the configuration. - - `[Value ]`: Value of the configuration. - -## RELATED LINKS - diff --git a/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServerFirewallRule.md deleted file mode 100644 index 4ceb40b56261..000000000000 --- a/src/PostgreSql/docs/Update-AzPostgreSqlFlexibleServerFirewallRule.md +++ /dev/null @@ -1,302 +0,0 @@ ---- -external help file: -Module Name: Az.PostgreSql -online version: https://docs.microsoft.com/en-us/powershell/module/az.postgresql/update-azpostgresqlflexibleserverfirewallrule -schema: 2.0.0 ---- - -# Update-AzPostgreSqlFlexibleServerFirewallRule - -## SYNOPSIS -Creates a new firewall rule or updates an existing firewall rule. - -## SYNTAX - -### UpdateExpanded (Default) -``` -Update-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName - -EndIPAddress -StartIPAddress [-SubscriptionId ] [-DefaultProfile ] - [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] -``` - -### ClientIPAddress -``` -Update-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName - -ClientIPAddress [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] - [-Confirm] [-WhatIf] [] -``` - -### ClientIPAddressViaIdentity -``` -Update-AzPostgreSqlFlexibleServerFirewallRule -InputObject -ClientIPAddress - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] -``` - -### UpdateViaIdentityExpanded -``` -Update-AzPostgreSqlFlexibleServerFirewallRule -InputObject -EndIPAddress - -StartIPAddress [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] - [] -``` - -## DESCRIPTION -Creates a new firewall rule or updates an existing firewall rule. - -## EXAMPLES - -### -------------------------- EXAMPLE 1 -------------------------- -```powershell -Update-AzPostgreSqlFlexibleServerFirewallRule -Name rule -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 -``` - -Name StartIPAddress EndIPAddress ----- -------------- ------------ -rule 0.0.0.2 0.0.0.3 - -### -------------------------- EXAMPLE 2 -------------------------- -```powershell -$ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test/firewallRules/rule" -PS C:\> Update-AzPostgreSqlFlexibleServerFirewallRule -InputObject $ID -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 -``` - -Name StartIPAddress EndIPAddress ----- -------------- ------------ -rule 0.0.0.2 0.0.0.3 - -## PARAMETERS - -### -AsJob -Run the command as a job - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ClientIPAddress -Client specified single IP of the server firewall rule. -Must be IPv4 format. - -```yaml -Type: System.String -Parameter Sets: ClientIPAddress, ClientIPAddressViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -EndIPAddress -The end IP address of the server firewall rule. -Must be IPv4 format. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity -Parameter Sets: ClientIPAddressViaIdentity, UpdateViaIdentityExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -The name of the server firewall rule. - -```yaml -Type: System.String -Parameter Sets: ClientIPAddress, UpdateExpanded -Aliases: FirewallRuleName - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NoWait -Run the command asynchronously - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -The name of the resource group. -The name is case insensitive. - -```yaml -Type: System.String -Parameter Sets: ClientIPAddress, UpdateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerName -The name of the server. - -```yaml -Type: System.String -Parameter Sets: ClientIPAddress, UpdateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -StartIPAddress -The start IP address of the server firewall rule. -Must be IPv4 format. - -```yaml -Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -The ID of the target subscription. - -```yaml -Type: System.String -Parameter Sets: ClientIPAddress, UpdateExpanded -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Confirm -Prompts you for confirmation before running the cmdlet. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: cf - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -WhatIf -Shows what would happen if the cmdlet runs. -The cmdlet is not run. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) -Aliases: wi - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -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). - -## INPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.IPostgreSqlIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201.IFirewallRule - -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -INPUTOBJECT : Identity Parameter - - `[ConfigurationName ]`: The name of the server configuration. - - `[DatabaseName ]`: The name of the database. - - `[FirewallRuleName ]`: The name of the server firewall rule. - - `[Id ]`: Resource identity path - - `[LocationName ]`: The name of the location. - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[SecurityAlertPolicyName ]`: The name of the security alert policy. - - `[ServerName ]`: The name of the server. - - `[SubscriptionId ]`: The ID of the target subscription. - - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. - -## RELATED LINKS - diff --git a/src/PostgreSql/docs/Update-AzPostgreSqlServer.md b/src/PostgreSql/docs/Update-AzPostgreSqlServer.md index 77f3f9a708e6..ce51eef2ef0c 100644 --- a/src/PostgreSql/docs/Update-AzPostgreSqlServer.md +++ b/src/PostgreSql/docs/Update-AzPostgreSqlServer.md @@ -39,23 +39,27 @@ Use Update-AzPostSqlConfiguration instead if you want update server parameters s ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Update PostgreSql server by resource group and server name ```powershell -Update-AzPostgreSqlServer -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer -SslEnforcement Disabled -``` +PS C:\> Update-AzPostgreSqlServer -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer -SslEnforcement Disabled Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement ---- -------- ------------------ ------- ----------------------- ------- ------- -------------- postgresqltestserver eastus pwsh 9.6 5120 GP_Gen5_4 GeneralPurpose Disabled +``` + +This cmdlet updates PostgreSql server by resource group and server name. -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Update PostgreSql server by identity. ```powershell -Get-AzPostgreSqlServer -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer | Update-AzPostgreSqlServer -BackupRetentionDay 23 -``` +PS C:\> Get-AzPostgreSqlServer -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer | Update-AzPostgreSqlServer -BackupRetentionDay 23 Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement ---- -------- ------------------ ------- ----------------------- ------- ------- -------------- postgresqltestserver eastus pwsh 9.6 5120 GP_Gen5_4 GeneralPurpose Disabled +``` + +This cmdlet updates PostgreSql server by identity. ## PARAMETERS diff --git a/src/PostgreSql/docs/Update-AzPostgreSqlVirtualNetworkRule.md b/src/PostgreSql/docs/Update-AzPostgreSqlVirtualNetworkRule.md index c89ee1de338c..7e9e06addbba 100644 --- a/src/PostgreSql/docs/Update-AzPostgreSqlVirtualNetworkRule.md +++ b/src/PostgreSql/docs/Update-AzPostgreSqlVirtualNetworkRule.md @@ -31,26 +31,30 @@ Creates or updates an existing virtual network rule. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Update PostgreSql Virtual Network Rule by name ```powershell -$ID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.Network/virtualNetworks/PostgreSqlVNet/subnets/default2" +PS C:\> $ID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.Network/virtualNetworks/PostgreSqlVNet/subnets/default2" PS C:\> Update-AzPostgreSqlVirtualNetworkRule -Name vnet -ResourceGroupName PostgreSqlTestRG -ServerName PostgreSqlTestServer -SubnetId $ID -``` Name Type ---- ---- vnet Microsoft.DBforPostgreSQL/servers/virtualNetworkRules +``` + +This cmdlet updates PostgreSql Virtual Network Rule by name. -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Update PostgreSql Virtual Network Rule by identity. ```powershell -$SubnetID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.Network/virtualNetworks/PostgreSqlVNet/subnets/default" +PS C:\> $SubnetID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.Network/virtualNetworks/PostgreSqlVNet/subnets/default" PS C:\> $VNetID = "/subscriptions//resourceGroups/PostgreSqlTestRG/providers/Microsoft.DBforPostgreSQL/servers/PostgreSqlTestServer/virtualNetworkRules/vnet" PS C:\> Update-AzPostgreSqlVirtualNetworkRule -InputObject $VNetID -SubnetId $SubnetID -``` Name Type ---- ---- vnet Microsoft.DBforPostgreSQL/servers/virtualNetworkRules +``` + +These cmdlets update PostgreSql Virtual Network Rule by identity. ## PARAMETERS diff --git a/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServer.md deleted file mode 100644 index 9b2701c77a79..000000000000 --- a/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServer.md +++ /dev/null @@ -1,45 +0,0 @@ -### Example 1: Get PostgreSql server with default context -```powershell -PS C:\> Get-AzPostgreSqlFlexibleServer - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ---------------- ------------- -postgresql-test eastus postgresql-test 12 32768 Standard_D2s_v3 GeneralPurpose -``` - -This cmdlet gets PostgreSql servers with default context. - -### Example 2: Get PostgreSql server by resource group and server name -```powershell -PS C:\> Get-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -Name postgresql-test - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ---------------- ------------- -postgresql-test eastus postgresql-test 12 32768 Standard_D2s_v3 GeneralPurpose -``` - -This cmdlet gets PostgreSql servers by resource group and server name. - -### Example 3: Lists all the PostgreSql servers in specified resource group -```powershell -PS C:\> Get-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ---------------- ------------- -postgresql-test eastus postgresql-test 12 32768 Standard_D2s_v3 GeneralPurpose -postgresql-test2 eastus postgresql-test 12 32768 Standard_42s_v3 GeneralPurpose -``` - -This cmdlet lists all the PostgreSql servers in the specified resource group. - -### Example 4: Get PostgreSql server by identity -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test" -PS C:\> Get-AzPostgreSqlFlexibleServer -InputObject $ID - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ---------------- ------------- -postgresql-test eastus postgresql-test 12 32768 Standard_D2s_v3 GeneralPurpose -``` - -This cmdlet lists gets PostgreSql servers by identity. \ No newline at end of file diff --git a/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServerConfiguration.md b/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServerConfiguration.md deleted file mode 100644 index 52dd00dde7ba..000000000000 --- a/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServerConfiguration.md +++ /dev/null @@ -1,23 +0,0 @@ -### Example 1: Get specified PostgreSql configuration by name -```powershell -PS C:\> Get-AzPostgreSqlFlexibleServerConfiguration -Name work_mem -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test - -Name Value DefaultValue Source AllowedValues DataType ----- ------ ------------ ------- ------------- --------- -work_mem 4096 4096 system-default 4096-2097151 Integer -``` - -This cmdlet gets specified PostgreSql configuration by name. - -### Example 2: List all configurations in specified PostgreSql server -```powershell -PS C:\> Get-AzPostgreSqlFlexibleServerConfiguration -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test - -Name Value DefaultValue Source AllowedValues DataType ----- ------ ------------ ------- ------------- --------- -application_name "" "" system-default [A-Za-z0-9._-]* String -... -pgbouncer.enabled false false system-default true, false Boolean -``` - -This cmdlet lists all configurations in specified PostgreSql server. \ No newline at end of file diff --git a/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServerFirewallRule.md deleted file mode 100644 index 9cd911b7a278..000000000000 --- a/src/PostgreSql/examples/Get-AzPostgreSqlFlexibleServerFirewallRule.md +++ /dev/null @@ -1,34 +0,0 @@ -### Example 1: Get firewall rules by name -```powershell -PS C:\> Get-AzPostgreSqlFlexibleServerFirewallRule -Name firewallrule-test -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test - -FirewallRuleName StartIPAddress EndIPAddress ------------------ --------------- --------------- -firewallrule-test 12.12.12.12 23.23.23.23 -``` - -This cmdlet gets firewall rules by name. - -### Example 2: Get firewall rules by identity -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/servers/postgresql-test/firewallRules/firewallrule-test" -PS C:\> Get-AzPostgreSqlFlexibleServerFirewallRule -InputObject $ID - -FirewallRuleName StartIPAddress EndIPAddress ------------------ --------------- --------------- -firewallrule-test 12.12.12.12 23.23.23.23 -``` - -This cmdlet gets firewall rules by identity. - -### Example 3: Lists all the firewall rules in the specified PostgreSql server -```powershell -PS C:\> Get-AzPostgreSqlFlexibleServerFirewallRule -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test - -FirewallRuleName StartIPAddress EndIPAddress ------------------ --------------- --------------- -firewallrule-test 12.12.12.12 23.23.23.23 -firewallrule-test2 12.12.12.15 23.23.23.25 -``` - -This cmdlet lists all the firewall rule in specified PostgreSql server. \ No newline at end of file diff --git a/src/PostgreSql/examples/New-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/examples/New-AzPostgreSqlFlexibleServer.md deleted file mode 100644 index d6edf0164245..000000000000 --- a/src/PostgreSql/examples/New-AzPostgreSqlFlexibleServer.md +++ /dev/null @@ -1,24 +0,0 @@ -### Example 1: Create a new PostgreSql flexible server -```powershell -PS C:\> $password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force -PS C:\> New-AzPostgreSqlFlexibleServer -Name postgresql-test -ResourceGroupName PowershellPostgreSqlTest \ --Location eastus -AdministratorUserName postgresqltest -AdministratorLoginPassword $password -Sku Standard_B1ms -SkuTier Burstable -Version 12 -StorageInMb 131072 - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ------------ ------------- -postgresql-test East US postgresqltest 12 131072 Standard_D2s_v3 GeneralPurpose -``` - - -### Example 2: Create a new PostgreSql flexible server with default setting -```powershell -PS C:\> $password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force -PS C:\> New-AzPostgreSqlFlexibleServer -Name postgresql-test -ResourceGroupName PowershellPostgreSqlTest \ --AdministratorUserName postgresqltest -AdministratorLoginPassword $password - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ------------ ------------- -postgresql-test East US postgresqltest 12 131072 Standard_D2s_v3 GeneralPurpose -``` - -Create Postgres server with default values. The default values of location is East US, Sku is Standard_D2s_v3, Sku tier is general purpose, and storage size is 128GiB. \ No newline at end of file diff --git a/src/PostgreSql/examples/New-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSql/examples/New-AzPostgreSqlFlexibleServerFirewallRule.md deleted file mode 100644 index 1d545d9f9a49..000000000000 --- a/src/PostgreSql/examples/New-AzPostgreSqlFlexibleServerFirewallRule.md +++ /dev/null @@ -1,33 +0,0 @@ -### Example 1: Create a new PostgreSql server Firewall Rule -```powershell -PS C:\> New-AzPostgreSqlFlexibleServerFirewallRule -Name firewallrule-test -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 - -Name StartIPAddress EndIPAddress ------------------ -------------- ------------ -firewallrule-test 0.0.0.0 0.0.0.1 -``` - -This cmdlets create a PostgreSql server Firewall Rule. - - -### Example 2: Create a new PostgreSql Firewall Rule using -ClientIPAddress. -```powershell -PS C:\> New-AzPostgreSqlFlexibleServerFirewallRule -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test -ClientIPAddress 0.0.0.1 - -Name StartIPAddress EndIPAddress ----- -------------- ------------ -ClientIPAddress_2020-08-11_18-19-27 0.0.0.1 0.0.0.1 -``` - -This cmdlets create a PostgreSql Firewall Rule using -ClientIPAddress. - -### Example 3: Create a new PostgreSql Firewall Rule to allow all IPs -```powershell -PS C:\> New-AzPostgreSqlFlexibleServerFirewallRule -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test -AllowAll - -Name StartIPAddress EndIPAddress ----- -------------- ------------ -AllowAll_2020-08-11_18-19-27 0.0.0.0 255.255.255.255 -``` - -This cmdlets create a new PostgreSql Firewall Rule to allow all IPs. \ No newline at end of file diff --git a/src/PostgreSql/examples/Remove-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/examples/Remove-AzPostgreSqlFlexibleServer.md deleted file mode 100644 index 23bdd0977c95..000000000000 --- a/src/PostgreSql/examples/Remove-AzPostgreSqlFlexibleServer.md +++ /dev/null @@ -1,16 +0,0 @@ -### Example 1: Remove PostgreSql server by resourceGroup and server name -```powershell -PS C:\> Remove-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -Name postgresql-test - -``` - -This cmdlet removes PostgreSql server by resourceGroup and server name. - -### Example 2: Remove PostgreSql server by identity -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test" -PS C:\> Remove-AzPostgreSqlFlexibleServer -InputObject $ID - -``` - -These cmdlets remove PostgreSql server by identity. \ No newline at end of file diff --git a/src/PostgreSql/examples/Remove-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSql/examples/Remove-AzPostgreSqlFlexibleServerFirewallRule.md deleted file mode 100644 index 674198427a43..000000000000 --- a/src/PostgreSql/examples/Remove-AzPostgreSqlFlexibleServerFirewallRule.md +++ /dev/null @@ -1,16 +0,0 @@ -### Example 1: Remove PostgreSql Firewall Rule by name -```powershell -PS C:\> Remove-AzPostgreSqlFlexibleServerFirewallRule -Name firewall-rule-test -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test - -``` - -This cmdlet removes PostgreSql Firewall Rule by name. - -### Example 2: Remove PostgreSql Firewall Rule by identity -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test/firewallRules/firewall-rule-test" -PS C:\> Remove-AzPostgreSqlFlexibleServerFirewallRule -InputObject $ID - -``` - -These cmdlets remove PostgreSql Firewall Rule by identity. diff --git a/src/PostgreSql/examples/Restart-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/examples/Restart-AzPostgreSqlFlexibleServer.md deleted file mode 100644 index 49735b12ee92..000000000000 --- a/src/PostgreSql/examples/Restart-AzPostgreSqlFlexibleServer.md +++ /dev/null @@ -1,14 +0,0 @@ -### Example 1: Restart the server by resource name -```powershell -PS C:\> Restart-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -Name postgresql-test -``` - -Restart the server by name - -### Example 2: Restart the server by identity -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test/restart" -PS C:\> Restart-AzPostgreSqlFlexibleServer -InputObject $ID -``` - -Restart the server by identity diff --git a/src/PostgreSql/examples/Restore-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/examples/Restore-AzPostgreSqlFlexibleServer.md deleted file mode 100644 index 17fcfe0a8ce2..000000000000 --- a/src/PostgreSql/examples/Restore-AzPostgreSqlFlexibleServer.md +++ /dev/null @@ -1,11 +0,0 @@ -### Example 1: Restore PostgreSql server using PointInTime Restore -```powershell -PS C:\> $restorePointInTime = (Get-Date).AddMinutes(-10) -PS C:\> Restore-AzPostgreSqlFlexibleServer -Name pg-restore -ResourceGroupName PowershellPostgreSqlTest -SourceServerName postgresql-test -Location eastus -RestorePointInTime $restorePointInTime - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ------- ------- -pg-restore eastus postgresql_test 12 131072 Standard_D2s_v3 GeneralPurpose -``` - -These cmdlets restore PostgreSql server using PointInTime Restore. diff --git a/src/PostgreSql/examples/Start-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/examples/Start-AzPostgreSqlFlexibleServer.md deleted file mode 100644 index aa41c5ace255..000000000000 --- a/src/PostgreSql/examples/Start-AzPostgreSqlFlexibleServer.md +++ /dev/null @@ -1,14 +0,0 @@ -### Example 1: Start the server by resource name -```powershell -PS C:\> Start-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -Name postgresql-test -``` - -Start the server by name - -### Example 2: Start the server by identity -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test/start" -PS C:\> Start-AzPostgreSqlFlexibleServer -InputObject $ID -``` - -Start the server by identity diff --git a/src/PostgreSql/examples/Stop-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/examples/Stop-AzPostgreSqlFlexibleServer.md deleted file mode 100644 index c37f8644f465..000000000000 --- a/src/PostgreSql/examples/Stop-AzPostgreSqlFlexibleServer.md +++ /dev/null @@ -1,15 +0,0 @@ - -### Example 1: Stop the server by resource name -```powershell -PS C:\> Stop-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -Name postgresql-test -``` - -Stop the server by name - -### Example 2: Stop the server by identity -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test/stop" -PS C:\> Stop-AzPostgreSqlFlexibleServer -InputObject $ID -``` - -Stop the server by identity diff --git a/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServer.md b/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServer.md deleted file mode 100644 index 60ec497d009a..000000000000 --- a/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServer.md +++ /dev/null @@ -1,21 +0,0 @@ -### Example 1: Update PostgreSql server by resource group and server name -```powershell -PS C:\> Update-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -Name postgresql-test -Sku Standard_D4s_v3 - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ---------------- ------------- -postgresql-test eastus postgresql_test 12 131072 Standard_D4s_v3 GeneralPurpose -``` - -This cmdlet updates PostgreSql server by resource group and server name. - -### Example 2: Update PostgreSql server by identity. -```powershell -PS C:\> Get-AzPostgreSqlFlexibleServer -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test | Update-AzPostgreSqlFlexibleServer -BackupRetentionDay 23 -StorageMb 10240 - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ---------------- ------------- -postgresql-test eastus postgresql_test 12 131072 Standard_D2s_v3 GeneralPurpose -``` - -This cmdlet updates PostgreSql server by identity. diff --git a/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServerConfiguration.md b/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServerConfiguration.md deleted file mode 100644 index 5e4e96388284..000000000000 --- a/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServerConfiguration.md +++ /dev/null @@ -1,22 +0,0 @@ -### Example 1: Updatae specified PostgreSql configuration by name -```powershell -PS C:\> Update-AzPostgreSqlFlexibleServerConfiguration -Name work_mem -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test -Value 8192 - -Name Value DefaultValue Source AllowedValues DataType ----- ------ ------------ ------- ------------- --------- -work_mem 8192 4096 system-default 4096-2097151 Integer -``` - -This cmdlet updates specified PostgreSql configuration by name. - -### Example 1: Updatae specified PostgreSql configuration by identity -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test/configurations/work_mem" -PS C:\> Get-AzPostgreSqlFlexibleServerConfiguration -Name work_mem -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test -Value 8192 - -Name Value DefaultValue Source AllowedValues DataType ----- ------ ------------ ------- ------------- --------- -work_mem 8192 4096 system-default 4096-2097151 Integer -``` - -This cmdlet updates specified PostgreSql configuration by identity. \ No newline at end of file diff --git a/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServerFirewallRule.md deleted file mode 100644 index d4eb3dcf2fa0..000000000000 --- a/src/PostgreSql/examples/Update-AzPostgreSqlFlexibleServerFirewallRule.md +++ /dev/null @@ -1,22 +0,0 @@ -### Example 1: Update PostgreSql Firewall Rule by name -```powershell -PS C:\> Update-AzPostgreSqlFlexibleServerFirewallRule -Name rule -ResourceGroupName PowershellPostgreSqlTest -ServerName postgresql-test -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 - -Name StartIPAddress EndIPAddress ----- -------------- ------------ -rule 0.0.0.2 0.0.0.3 -``` - -This cmdlet updates PostgreSql Firewall Rule by name. - -### Example 2: Update PostgreSql Firewall Rule by identity. -```powershell -PS C:\> $ID = "/subscriptions//resourceGroups/PowershellPostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test/firewallRules/rule" -PS C:\> Update-AzPostgreSqlFlexibleServerFirewallRule -InputObject $ID -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 - -Name StartIPAddress EndIPAddress ----- -------------- ------------ -rule 0.0.0.2 0.0.0.3 -``` - -These cmdlets update PostgreSql Firewall Rule by identity. diff --git a/src/PostgreSql/readme.md b/src/PostgreSql/readme.md index 640b60e01c02..99a3d5495a43 100644 --- a/src/PostgreSql/readme.md +++ b/src/PostgreSql/readme.md @@ -17,7 +17,7 @@ This directory contains the PowerShell module for the PostgreSql service. This module was primarily generated via [AutoRest](https://github.com/Azure/autorest) using the [PowerShell](https://github.com/Azure/autorest.powershell) extension. ## Module Requirements -- [Az.Accounts module](https://www.powershellgallery.com/packages/Az.Accounts/), version 1.8.1 or greater +- [Az.Accounts module](https://www.powershellgallery.com/packages/Az.Accounts/), version 1.7.4 or greater ## Authentication AutoRest does not generate authentication code for the module. Authentication is handled via Az.Accounts by altering the HTTP payload before it is sent. @@ -47,69 +47,35 @@ In this directory, run AutoRest: > see https://aka.ms/autorest ``` yaml -branch: 82831834a7ce4b999d6fec363c0391da80ac2674 +branch: ae862b1c090b4c2c951ea46bf97ddbafd6f76d82 require: - $(this-folder)/../readme.azure.noprofile.md input-file: - $(repo)/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/postgresql.json - $(repo)/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/ServerSecurityAlertPolicies.json - - $(repo)/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2020-02-14-preview/postgresql.json module-version: 0.1.0 title: PostgreSQL subject-prefix: 'PostgreSQL' directive: - - from: swagger-document - where: $.paths..operationId - transform: return $.replace(/^CheckNameAvailability_Execute$/g, "NameAvailability_Test") - - from: swagger-document - where: $.paths..operationId - transform: return $.replace(/^LocationBasedCapabilities_Execute$/g, "LocationBasedCapabilities_Get") - - from: Microsoft.DBforPostgreSQL/stable/2017-12-01/postgresql.json + - from: postgresql.json where: $.definitions.VirtualNetworkRule transform: $['required'] = ['properties'] - - from: Microsoft.DBforPostgreSQL/preview/2020-02-14-preview/postgresql.json - where: $.paths..operationId - transform: return $.replace(/^(Servers|ServerKeys)_/g, "flexible$1_") - - from: Microsoft.DBforPostgreSQL/preview/2020-02-14-preview/postgresql.json - where: $.paths..operationId - transform: return $.replace(/^(FirewallRules|Configurations|NameAvailabilities|LocationBasedCapabilities)_/g, "flexibleServer$1_") - - from: Microsoft.DBforPostgreSQL/preview/2020-02-14-preview/postgresql.json - where: $.paths..operationId - transform: return $.replace(/^VirtualNetworkSubnetUsage_Execute$/g,"flexibleServerVirtualNetworkSubnetUsage_Get") - - from: Microsoft.DBforMySQL/preview/2020-07-01-preview/mysql.json - where: - verb: Restore$ - subject: ^FlexibleServer$ - hide: true - - where: - verb: Get$ - subject: ^FlexibleServerVirtualNetworkSubnetUsage$|^FlexibleServerLocationBasedCapability$ - hide: true - - where: - verb: Test$ - subject: ^FlexibleServerNameAvailability$ - hide: true - where: verb: Set - subject: Configuration$|FirewallRule$|VirtualNetworkRule$|^flexibleServerFirewallRule$ + subject: Configuration$|FirewallRule$|VirtualNetworkRule$ set: verb: Update - where: - subject: ^Database$|^ServerSecurityAlertPolicy$|^ServerAdministrator$|^LocationBasedPerformanceTier$|^LogFile$|^NameAvailability$|^FlexibleServerKey$|^FlexibleServerVirtualNetworkSubnetUsage$ + subject: Database$|SecurityAlertPolicy$|Administrator$|LocationBasedPerformanceTier$|LogFile$|ExecuteCheckNameAvailability$ hide: true - where: verb: New$|Update$ - subject: ^Server$|^Configuration$|^FirewallRule$|^FlexibleServer$|^FlexibleServerFirewallRule$ - hide: true - - where: - verb: New$ - variant: ^Create$|^CreateViaIdentity - subject: ^Server$|^Configuration$|^FirewallRule$|^Database$|^LocationBasedPerformanceTier$|^LogFile$|^SecurityAlertPolicy$|^Administrator$|^NameAvailability$|^VirtualNetworkRule$ + subject: Server$|Configuration$|FirewallRule$ hide: true - where: - verb: Update$ - subject: ^FlexibleServerConfiguration$ + verb: New$ + variant: ^Create$|^CreateViaIdentity hide: true - where: verb: New$|Update$ @@ -122,90 +88,32 @@ directive: parameter-name: SubnetId - where: model-name: Server - set: - format-table: - properties: - - Name - - Location - - AdministratorLogin - - Version - - StorageProfileStorageMb - - SkuName - - SkuTier - - SslEnforcement - - where: - model-name: ServerAutoGenerated set: format-table: properties: - Name - Location - - SkuName - - SkuTier - AdministratorLogin - Version - StorageProfileStorageMb + - SkuName + - SkuTier + - SslEnforcement - where: model-name: Configuration set: format-table: properties: - - Name - - Value - - AllowedValue - - Source - - DefaultValue - - where: - model-name: ConfigurationAutoGenerated - set: - format-table: - properties: - - Name - - Value - - AllowedValue - - Source - - DefaultValue + - Name + - Value - where: model-name: FirewallRule - set: - format-table: - properties: - - Name - - StartIPAddress - - EndIPAddress - - where: - model-name: Database set: format-table: properties: - Name - - Charset - - Collation - - Id - - where: - subject: ^FlexibleServer$ - parameter-name: ServerName - set: - parameter-name: Name - alias: ServerName - - where: - subject: ^FlexibleServerFirewallRule$ - parameter-name: FirewallRuleName - set: - parameter-name: Name - alias: FirewallRuleName - - where: - subject: ^FlexibleServerDatabase$ - parameter-name: DatabaseName - set: - parameter-name: Name - alias: DatabaseName - - where: - subject: ^FlexibleServerConfiguration$ - parameter-name: ConfigurationName - set: - parameter-name: Name - alias: ConfigurationName + - StartIPAddress + - EndIPAddress - where: parameter-name: StorageProfileBackupRetentionDay subject: Server @@ -220,4 +128,3 @@ directive: - from: source-file-csharp where: $ transform: $ = $.replace('public int StorageProfileBackupRetentionDay', '[System.Management.Automation.ValidateRangeAttribute(7,35)]\n public int StorageProfileBackupRetentionDay'); -``` diff --git a/src/PostgreSql/test/Get-AzPostgreSqlConfiguration.Recording.json b/src/PostgreSql/test/Get-AzPostgreSqlConfiguration.Recording.json index 1455ff225888..d1f457c53b44 100644 --- a/src/PostgreSql/test/Get-AzPostgreSqlConfiguration.Recording.json +++ b/src/PostgreSql/test/Get-AzPostgreSqlConfiguration.Recording.json @@ -1,8 +1,8 @@ { - "Get-AzPostgreSqlConfiguration+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations?api-version=2017-12-01+1": { + "Get-AzPostgreSqlConfiguration+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "10" ], @@ -35,13 +35,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"properties\":{\"value\":\"on\",\"description\":\"Enable input of NULL elements in arrays.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/array_nulls\",\"name\":\"array_nulls\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"safe_encoding\",\"description\":\"Sets whether \\\"\\\\\u0027\\\" is allowed in string literals.\",\"defaultValue\":\"safe_encoding\",\"dataType\":\"Enumeration\",\"allowedValues\":\"safe_encoding,on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/backslash_quote\",\"name\":\"backslash_quote\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"hex\",\"description\":\"Sets the output format for bytea.\",\"defaultValue\":\"hex\",\"dataType\":\"Enumeration\",\"allowedValues\":\"escape,hex\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/bytea_output\",\"name\":\"bytea_output\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Check function bodies during CREATE FUNCTION.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/check_function_bodies\",\"name\":\"check_function_bodies\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"sql_ascii\",\"description\":\"Sets the client\u0027s character set encoding.\",\"defaultValue\":\"sql_ascii\",\"dataType\":\"Enumeration\",\"allowedValues\":\"BIG5,EUC_CN,EUC_JP,EUC_JIS_2004,EUC_KR,EUC_TW,GB18030,GBK,ISO_8859_5,ISO_8859_6,ISO_8859_7,ISO_8859_8,JOHAB,KOI8R,KOI8U,LATIN1,LATIN2,LATIN3,LATIN4,LATIN5,LATIN6,LATIN7,LATIN8,LATIN9,LATIN10,MULE_INTERNAL,SJIS,SHIFT_JIS_2004,SQL_ASCII,UHC,UTF8,WIN866,WIN874,WIN1250,WIN1251,WIN1252,WIN1253,WIN1254,WIN1255,WIN1256,WIN1257,WIN1258\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/client_encoding\",\"name\":\"client_encoding\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"notice\",\"description\":\"Sets the message levels that are sent to the client.\",\"defaultValue\":\"notice\",\"dataType\":\"Enumeration\",\"allowedValues\":\"debug5,debug4,debug3,debug2,debug1,log,notice,warning,error\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/client_min_messages\",\"name\":\"client_min_messages\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"partition\",\"description\":\"Enables the planner to use constraints to optimize queries.\",\"defaultValue\":\"partition\",\"dataType\":\"Enumeration\",\"allowedValues\":\"partition,on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/constraint_exclusion\",\"name\":\"constraint_exclusion\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0.005\",\"description\":\"Sets the planner\u0027s estimate of the cost of processing each index entry during an index scan.\",\"defaultValue\":\"0.005\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/cpu_index_tuple_cost\",\"name\":\"cpu_index_tuple_cost\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0.0025\",\"description\":\"Sets the planner\u0027s estimate of the cost of processing each operator or function call.\",\"defaultValue\":\"0.0025\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/cpu_operator_cost\",\"name\":\"cpu_operator_cost\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0.01\",\"description\":\"Sets the planner\u0027s estimate of the cost of processing each tuple (row).\",\"defaultValue\":\"0.01\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/cpu_tuple_cost\",\"name\":\"cpu_tuple_cost\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0.1\",\"description\":\"Sets the planner\u0027s estimate of the fraction of a cursor\u0027s rows that will be retrieved.\",\"defaultValue\":\"0.1\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/cursor_tuple_fraction\",\"name\":\"cursor_tuple_fraction\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"iso, mdy\",\"description\":\"Sets the display format for date and time values.\",\"defaultValue\":\"iso, mdy\",\"dataType\":\"String\",\"allowedValues\":\"(iso|postgres|sql|german)\\\\,\\\\s(dmy|mdy|ymd)\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/datestyle\",\"name\":\"datestyle\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"1000\",\"description\":\"Sets the amount of time, in milliseconds, to wait on a lock before checking for deadlock.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/deadlock_timeout\",\"name\":\"deadlock_timeout\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs each query\u0027s execution plan.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/debug_print_plan\",\"name\":\"debug_print_plan\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs each query\u0027s rewritten parse tree.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/debug_print_rewritten\",\"name\":\"debug_print_rewritten\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"Sets the default statistics target.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/default_statistics_target\",\"name\":\"default_statistics_target\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"pg_catalog.english\",\"description\":\"Sets default text search configuration.\",\"defaultValue\":\"pg_catalog.english\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z\\\\._]+\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/default_text_search_config\",\"name\":\"default_text_search_config\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Sets the default deferrable status of new transactions.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/default_transaction_deferrable\",\"name\":\"default_transaction_deferrable\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"read committed\",\"description\":\"Sets the transaction isolation level of each new transaction.\",\"defaultValue\":\"read committed\",\"dataType\":\"Enumeration\",\"allowedValues\":\"serializable,repeatable read,read committed,read uncommitted\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/default_transaction_isolation\",\"name\":\"default_transaction_isolation\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Sets the default read-only status of new transactions.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/default_transaction_read_only\",\"name\":\"default_transaction_read_only\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Create new tables with OIDs by default.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/default_with_oids\",\"name\":\"default_with_oids\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of bitmap-scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/enable_bitmapscan\",\"name\":\"enable_bitmapscan\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of hashed aggregation plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/enable_hashagg\",\"name\":\"enable_hashagg\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of hash join plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/enable_hashjoin\",\"name\":\"enable_hashjoin\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of index-only-scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/enable_indexonlyscan\",\"name\":\"enable_indexonlyscan\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of index-scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/enable_indexscan\",\"name\":\"enable_indexscan\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of materialization.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/enable_material\",\"name\":\"enable_material\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of merge join plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/enable_mergejoin\",\"name\":\"enable_mergejoin\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of nested-loop join plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/enable_nestloop\",\"name\":\"enable_nestloop\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of sequential-scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/enable_seqscan\",\"name\":\"enable_seqscan\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of explicit sort steps.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/enable_sort\",\"name\":\"enable_sort\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of TID scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/enable_tidscan\",\"name\":\"enable_tidscan\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Warn about backslash escapes in ordinary string literals.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/escape_string_warning\",\"name\":\"escape_string_warning\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Terminate session on any error.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/exit_on_error\",\"name\":\"exit_on_error\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the number of digits displayed for floating-point values.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"-15-3\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/extra_float_digits\",\"name\":\"extra_float_digits\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"Sets the FROM-list size beyond which subqueries are not collapsed.\",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/from_collapse_limit\",\"name\":\"from_collapse_limit\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables genetic query optimization.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/geqo\",\"name\":\"geqo\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"5\",\"description\":\"GEQO: effort is used to set the default for other GEQO parameters.\",\"defaultValue\":\"5\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/geqo_effort\",\"name\":\"geqo_effort\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"GEQO: number of iterations of the algorithm.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/geqo_generations\",\"name\":\"geqo_generations\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"GEQO: number of individuals in the population.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/geqo_pool_size\",\"name\":\"geqo_pool_size\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0.0\",\"description\":\"GEQO: seed for random path selection.\",\"defaultValue\":\"0.0\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/geqo_seed\",\"name\":\"geqo_seed\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"2.0\",\"description\":\"GEQO: selective pressure within the population.\",\"defaultValue\":\"2.0\",\"dataType\":\"Numeric\",\"allowedValues\":\"1.5-2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/geqo_selection_bias\",\"name\":\"geqo_selection_bias\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"12\",\"description\":\"Sets the threshold of FROM items beyond which GEQO is used.\",\"defaultValue\":\"12\",\"dataType\":\"Integer\",\"allowedValues\":\"2-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/geqo_threshold\",\"name\":\"geqo_threshold\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum allowed result for exact search by GIN.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/gin_fuzzy_search_limit\",\"name\":\"gin_fuzzy_search_limit\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"postgres\",\"description\":\"Sets the display format for interval values.\",\"defaultValue\":\"postgres\",\"dataType\":\"Enumeration\",\"allowedValues\":\"postgres,postgres_verbose,sql_standard,iso_8601\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/intervalstyle\",\"name\":\"intervalstyle\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"Sets the FROM-list size beyond which JOIN constructs are not flattened.\",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/join_collapse_limit\",\"name\":\"join_collapse_limit\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum allowed duration (in milliseconds) of any wait for a lock. 0 turns this off.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/lock_timeout\",\"name\":\"lock_timeout\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Logs each checkpoint.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/log_checkpoints\",\"name\":\"log_checkpoints\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Logs each successful connection.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/log_connections\",\"name\":\"log_connections\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs end of a session, including duration.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/log_disconnections\",\"name\":\"log_disconnections\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs the duration of each completed SQL statement.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/log_duration\",\"name\":\"log_duration\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"default\",\"description\":\"Sets the verbosity of logged messages.\",\"defaultValue\":\"default\",\"dataType\":\"Enumeration\",\"allowedValues\":\"terse,default,verbose\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/log_error_verbosity\",\"name\":\"log_error_verbosity\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"%t-%c-\",\"description\":\"Sets the printf-style string that is output at the beginning of each log line.\",\"defaultValue\":\"%t-%c-\",\"dataType\":\"String\",\"allowedValues\":\".*\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/log_line_prefix\",\"name\":\"log_line_prefix\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs long lock waits.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/log_lock_waits\",\"name\":\"log_lock_waits\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Sets the minimum execution time (in milliseconds) above which statements will be logged. -1 disables logging statement durations.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/log_min_duration_statement\",\"name\":\"log_min_duration_statement\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"error\",\"description\":\"Causes all statements generating error at or above this level to be logged.\",\"defaultValue\":\"error\",\"dataType\":\"Enumeration\",\"allowedValues\":\"debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/log_min_error_statement\",\"name\":\"log_min_error_statement\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"warning\",\"description\":\"Sets the message levels that are logged.\",\"defaultValue\":\"warning\",\"dataType\":\"Enumeration\",\"allowedValues\":\"debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/log_min_messages\",\"name\":\"log_min_messages\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"none\",\"description\":\"Sets the type of statements logged.\",\"defaultValue\":\"none\",\"dataType\":\"Enumeration\",\"allowedValues\":\"none,ddl,mod,all\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/log_statement\",\"name\":\"log_statement\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"For each query, writes cumulative performance statistics to the server log.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/log_statement_stats\",\"name\":\"log_statement_stats\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"Sets the maximum number of locks per transaction. Any change requires restarting the server to take effect. When running a replica server, you must set this parameter to the same or higher value than on the master server.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"10-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/max_locks_per_transaction\",\"name\":\"max_locks_per_transaction\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum number of simultaneously prepared transactions. Any change requires restarting the server to take effect. When running a replica server, you must set this parameter to the same or higher value than on the master server.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-8388607\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/max_prepared_transactions\",\"name\":\"max_prepared_transactions\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"When generating SQL fragments, quote all identifiers.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/quote_all_identifiers\",\"name\":\"quote_all_identifiers\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"4.0\",\"description\":\"Sets the planner\u0027s estimate of the cost of a nonsequentially fetched disk page.\",\"defaultValue\":\"4.0\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/random_page_cost\",\"name\":\"random_page_cost\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"\\\"$user\\\", public\",\"description\":\"Sets the schema search order for names that are not schema-qualified.\",\"defaultValue\":\"\\\"$user\\\", public\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z.\\\"$, ]+\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/search_path\",\"name\":\"search_path\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"1.0\",\"description\":\"Sets the planner\u0027s estimate of the cost of a sequentially fetched disk page.\",\"defaultValue\":\"1.0\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/seq_page_cost\",\"name\":\"seq_page_cost\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Causes subtables to be included by default in various commands.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/sql_inheritance\",\"name\":\"sql_inheritance\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum allowed duration (in milliseconds) of any statement. 0 turns this off.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/statement_timeout\",\"name\":\"statement_timeout\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enable synchronized sequential scans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/synchronize_seqscans\",\"name\":\"synchronize_seqscans\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Sets the current transaction\u0027s synchronization level.\",\"defaultValue\":\"on\",\"dataType\":\"Enumeration\",\"allowedValues\":\"local,remote_write,on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/synchronous_commit\",\"name\":\"synchronous_commit\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Treats \\\"expr=NULL\\\" as \\\"expr IS NULL\\\".\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/transform_null_equals\",\"name\":\"transform_null_equals\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"base64\",\"description\":\"Sets how binary values are to be encoded in XML.\",\"defaultValue\":\"base64\",\"dataType\":\"Enumeration\",\"allowedValues\":\"base64,hex\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/xmlbinary\",\"name\":\"xmlbinary\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"content\",\"description\":\"Sets whether XML data in implicit parsing and serialization operations is to be considered as documents or content fragments.\",\"defaultValue\":\"content\",\"dataType\":\"Enumeration\",\"allowedValues\":\"content,document\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/xmloption\",\"name\":\"xmloption\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Forces use of parallel query facilities.\",\"defaultValue\":\"off\",\"dataType\":\"Enumeration\",\"allowedValues\":\"off,on,regress\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/force_parallel_mode\",\"name\":\"force_parallel_mode\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum allowed duration of any idling transaction. Unit is ms.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/idle_in_transaction_session_timeout\",\"name\":\"idle_in_transaction_session_timeout\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum number of parallel processes per executor node.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1024\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/max_parallel_workers_per_gather\",\"name\":\"max_parallel_workers_per_gather\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"8388608\",\"description\":\"Sets the minimum size of relations to be considered for parallel scan. Unit is 8kb.\",\"defaultValue\":\"8388608\",\"dataType\":\"Integer\",\"allowedValues\":\"0-715827882\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/min_parallel_relation_size\",\"name\":\"min_parallel_relation_size\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"1000\",\"description\":\"Sets the planner\u0027s estimate of the cost of starting up worker processes for parallel query.\",\"defaultValue\":\"1000\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/parallel_setup_cost\",\"name\":\"parallel_setup_cost\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0.1\",\"description\":\"Sets the planner\u0027s estimate of the cost of passing each tuple (row) from worker to master backend.\",\"defaultValue\":\"0.1\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/parallel_tuple_cost\",\"name\":\"parallel_tuple_cost\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"Sets the amount of memory to be used by internal sort operations and hash tables before writing to temporary disk files. Unit is kb.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-2097151\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/work_mem\",\"name\":\"work_mem\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"8192\",\"description\":\"Sets the maximum number of temporary buffers used by each database session. Unit is 8kb.\",\"defaultValue\":\"8192\",\"dataType\":\"Integer\",\"allowedValues\":\"8192-16384\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/temp_buffers\",\"name\":\"temp_buffers\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables temporary connection throttling per IP for too many invalid password login failures.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/connection_throttling\",\"name\":\"connection_throttling\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"3\",\"description\":\"Sets how many days a log file is saved for.\",\"defaultValue\":\"3\",\"dataType\":\"Integer\",\"allowedValues\":\"1-7\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/log_retention_days\",\"name\":\"log_retention_days\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"6000\",\"description\":\"Sets the maximum query text length that will be saved; longer queries will be truncated.\",\"defaultValue\":\"6000\",\"dataType\":\"Integer\",\"allowedValues\":\"100-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/pg_qs.max_query_text_length\",\"name\":\"pg_qs.max_query_text_length\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"none\",\"description\":\"Selects which statements are tracked by pg_qs.\",\"defaultValue\":\"none\",\"dataType\":\"Enumeration\",\"allowedValues\":\"all,top,none\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/pg_qs.query_capture_mode\",\"name\":\"pg_qs.query_capture_mode\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"7\",\"description\":\"Sets the retention period window in days for pg_qs - after this time data will be deleted.\",\"defaultValue\":\"7\",\"dataType\":\"Integer\",\"allowedValues\":\"1-30\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/pg_qs.retention_period_in_days\",\"name\":\"pg_qs.retention_period_in_days\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Selects whether parameter placeholders are replaced in parameterized queries.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/pg_qs.replace_parameter_placeholders\",\"name\":\"pg_qs.replace_parameter_placeholders\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Selects whether utility commands are tracked by pg_qs.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/pg_qs.track_utility\",\"name\":\"pg_qs.track_utility\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"top\",\"description\":\"Controls which statements are counted by pg_stat_statements.\",\"defaultValue\":\"top\",\"dataType\":\"Enumeration\",\"allowedValues\":\"top,all,none\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/pg_stat_statements.track\",\"name\":\"pg_stat_statements.track\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"none\",\"description\":\"Selects which statements are tracked by the pgms_wait_sampling extension.\",\"defaultValue\":\"none\",\"dataType\":\"Enumeration\",\"allowedValues\":\"all,none\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/pgms_wait_sampling.query_capture_mode\",\"name\":\"pgms_wait_sampling.query_capture_mode\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"Set the frequency, in milliseconds, at which wait events are sampled.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"1-600000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/pgms_wait_sampling.history_period\",\"name\":\"pgms_wait_sampling.history_period\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"DISABLE_ALL\",\"description\":\"Controls postgis GDAL enabled driver settings.\",\"defaultValue\":\"DISABLE_ALL\",\"dataType\":\"Enumeration\",\"allowedValues\":\"DISABLE_ALL,ENABLE_ALL\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/postgis.gdal_enabled_drivers\",\"name\":\"postgis.gdal_enabled_drivers\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Starts the autovacuum subprocess.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/autovacuum\",\"name\":\"autovacuum\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0.05\",\"description\":\"Number of tuple inserts, updates, or deletes prior to analyze as a fraction of reltuples.\",\"defaultValue\":\"0.05\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_analyze_scale_factor\",\"name\":\"autovacuum_analyze_scale_factor\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"Minimum number of tuple inserts, updates, or deletes prior to analyze.\",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_analyze_threshold\",\"name\":\"autovacuum_analyze_threshold\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"200000000\",\"description\":\"Age at which to autovacuum a table to prevent transaction ID wraparound. Any change requires restarting the server to take effect..\",\"defaultValue\":\"200000000\",\"dataType\":\"Integer\",\"allowedValues\":\"100000-2000000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_freeze_max_age\",\"name\":\"autovacuum_freeze_max_age\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"400000000\",\"description\":\"Multixact age at which to autovacuum a table to prevent multixact wraparound. Any change requires restarting the server to take effect.\",\"defaultValue\":\"400000000\",\"dataType\":\"Integer\",\"allowedValues\":\"10000-2000000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_multixact_freeze_max_age\",\"name\":\"autovacuum_multixact_freeze_max_age\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"15\",\"description\":\"Time to sleep between autovacuum runs. Unit is s.\",\"defaultValue\":\"15\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_naptime\",\"name\":\"autovacuum_naptime\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"20\",\"description\":\"Vacuum cost delay in milliseconds, for autovacuum.\",\"defaultValue\":\"20\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_vacuum_cost_delay\",\"name\":\"autovacuum_vacuum_cost_delay\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Vacuum cost amount available before napping, for autovacuum.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_vacuum_cost_limit\",\"name\":\"autovacuum_vacuum_cost_limit\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0.05\",\"description\":\"Number of tuple updates or deletes prior to vacuum as a fraction of reltuples.\",\"defaultValue\":\"0.05\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_vacuum_scale_factor\",\"name\":\"autovacuum_vacuum_scale_factor\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"Minimum number of tuple updates or deletes prior to vacuum.\",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_vacuum_threshold\",\"name\":\"autovacuum_vacuum_threshold\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Sets the maximum memory to be used by each autovacuum worker process. Unit is kb.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2097151\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_work_mem\",\"name\":\"autovacuum_work_mem\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"3\",\"description\":\"Sets the maximum number of simultaneously running autovacuum worker processes. Any change requires restarting the server to take effect.\",\"defaultValue\":\"3\",\"dataType\":\"Integer\",\"allowedValues\":\"1-262143\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_max_workers\",\"name\":\"autovacuum_max_workers\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Number of pages after which previously performed writes are flushed to disk. Unit is 8kb.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/backend_flush_after\",\"name\":\"backend_flush_after\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"Background writer sleep time between rounds. Unit is ms.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"10-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/bgwriter_delay\",\"name\":\"bgwriter_delay\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"Number of pages after which previously performed writes are flushed to disk. Unit is 8kb.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/bgwriter_flush_after\",\"name\":\"bgwriter_flush_after\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"Background writer maximum number of LRU pages to flush per round.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1073741823\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/bgwriter_lru_maxpages\",\"name\":\"bgwriter_lru_maxpages\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Multiple of the average buffer usage to free per round.\",\"defaultValue\":\"2\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-10\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/bgwriter_lru_multiplier\",\"name\":\"bgwriter_lru_multiplier\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"30\",\"description\":\"Enables warnings if checkpoint segments are filled more frequently than this. Unit is s.\",\"defaultValue\":\"30\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/checkpoint_warning\",\"name\":\"checkpoint_warning\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the delay in microseconds between transaction commit and flushing WAL to disk.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/commit_delay\",\"name\":\"commit_delay\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"5\",\"description\":\"Sets the minimum concurrent open transactions before performing commit_delay.\",\"defaultValue\":\"5\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/commit_siblings\",\"name\":\"commit_siblings\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"1310720\",\"description\":\"Sets the planner\u0027s assumption about the size of the disk cache. Unit is 8kb.\",\"defaultValue\":\"917504\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/effective_cache_size\",\"name\":\"effective_cache_size\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"Sets the maximum size of the pending list for GIN index. Unit is kb.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"64-2097151\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/gin_pending_list_limit\",\"name\":\"gin_pending_list_limit\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"English_United States.1252\",\"description\":\"Sets the locale for formatting monetary amounts.\",\"defaultValue\":\"English_United States.1252\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9\\\\._\\\\s]+\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/lc_monetary\",\"name\":\"lc_monetary\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"English_United States.1252\",\"description\":\"Sets the locale for formatting numbers.\",\"defaultValue\":\"English_United States.1252\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9\\\\._\\\\s]+\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/lc_numeric\",\"name\":\"lc_numeric\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Enables backward compatibility mode for privilege checks on large objects.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/lo_compat_privileges\",\"name\":\"lo_compat_privileges\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Sets the minimum execution time above which autovacuum actions will be logged. Unit is ms.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/log_autovacuum_min_duration\",\"name\":\"log_autovacuum_min_duration\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs each replication command.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/log_replication_commands\",\"name\":\"log_replication_commands\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Log the use of temporary files larger than this number of kilobytes.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/log_temp_files\",\"name\":\"log_temp_files\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"30000\",\"description\":\"Sets the maximum delay before canceling queries when a hot standby server is processing archived WAL data. Unit is ms.\",\"defaultValue\":\"30000\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/max_standby_archive_delay\",\"name\":\"max_standby_archive_delay\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"30000\",\"description\":\"Sets the maximum delay before canceling queries when a hot standby server is processing streamed WAL data. Unit is ms.\",\"defaultValue\":\"30000\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/max_standby_streaming_delay\",\"name\":\"max_standby_streaming_delay\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"Sets the WAL size that triggers a checkpoint. Unit is 16MB.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"2-2097151\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/max_wal_size\",\"name\":\"max_wal_size\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"256\",\"description\":\"Sets the minimum size to shrink the WAL to. Unit is 16MB.\",\"defaultValue\":\"512\",\"dataType\":\"Integer\",\"allowedValues\":\"2-2097151\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/min_wal_size\",\"name\":\"min_wal_size\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Time before a snapshot is too old to read pages changed after the snapshot was taken. Any change requires restarting the server to take effect. Unit is min.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-86400\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/old_snapshot_threshold\",\"name\":\"old_snapshot_threshold\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Emit a warning for constructs that changed meaning since PostgreSQL 9.4.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/operator_precedence_warning\",\"name\":\"operator_precedence_warning\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"5000\",\"description\":\"Sets the maximum number of statements tracked by pg_stat_statements. Any change requires restarting the server to take effect.\",\"defaultValue\":\"5000\",\"dataType\":\"Integer\",\"allowedValues\":\"100-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/pg_stat_statements.max\",\"name\":\"pg_stat_statements.max\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Save pg_stat_statements statistics across server shutdowns.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/pg_stat_statements.save\",\"name\":\"pg_stat_statements.save\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Selects whether utility commands are tracked by pg_stat_statements.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/pg_stat_statements.track_utility\",\"name\":\"pg_stat_statements.track_utility\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"150000\",\"description\":\"Sets the maximum number of tuples to be sorted using replacement selection.\",\"defaultValue\":\"150000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/replacement_sort_tuples\",\"name\":\"replacement_sort_tuples\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enable row security.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/row_security\",\"name\":\"row_security\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"origin\",\"description\":\"Sets the session\u0027s behavior for triggers and rewrite rules.\",\"defaultValue\":\"origin\",\"dataType\":\"Enumeration\",\"allowedValues\":\"origin,replica,local\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/session_replication_role\",\"name\":\"session_replication_role\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Maximum number of TCP keepalive retransmits.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/tcp_keepalives_count\",\"name\":\"tcp_keepalives_count\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Time between issuing TCP keepalives. Unit is s.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/tcp_keepalives_idle\",\"name\":\"tcp_keepalives_idle\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Time between TCP keepalive retransmits. Unit is s.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/tcp_keepalives_interval\",\"name\":\"tcp_keepalives_interval\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Collects information about executing commands.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/track_activities\",\"name\":\"track_activities\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"Sets the size reserved for pg_stat_activity.query, in bytes. Any change requires restarting the server to take effect.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"100-102400\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/track_activity_query_size\",\"name\":\"track_activity_query_size\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Collects transaction commit time. Any change requires restarting the server to take effect.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/track_commit_timestamp\",\"name\":\"track_commit_timestamp\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Collects statistics on database activity.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/track_counts\",\"name\":\"track_counts\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"none\",\"description\":\"Collects function-level statistics on database activity.\",\"defaultValue\":\"none\",\"dataType\":\"Enumeration\",\"allowedValues\":\"none,pl,all\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/track_functions\",\"name\":\"track_functions\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Collects timing statistics for database I/O activity.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/track_io_timing\",\"name\":\"track_io_timing\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"UTC\",\"description\":\"Sets the time zone for displaying and interpreting time stamps\",\"defaultValue\":\"UTC\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9/+-_]+\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/timezone\",\"name\":\"timezone\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Sets which shared libraries are preloaded at server start. Any change requires a restart to take effect.\",\"defaultValue\":\"\",\"dataType\":\"Set\",\"allowedValues\":\",pgaudit,timescaledb\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/shared_preload_libraries\",\"name\":\"shared_preload_libraries\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Vacuum cost delay in milliseconds.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/vacuum_cost_delay\",\"name\":\"vacuum_cost_delay\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"Vacuum cost amount available before napping.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/vacuum_cost_limit\",\"name\":\"vacuum_cost_limit\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"20\",\"description\":\"Vacuum cost for a page dirtied by vacuum.\",\"defaultValue\":\"20\",\"dataType\":\"Integer\",\"allowedValues\":\"0-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/vacuum_cost_page_dirty\",\"name\":\"vacuum_cost_page_dirty\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Vacuum cost for a page found in the buffer cache.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/vacuum_cost_page_hit\",\"name\":\"vacuum_cost_page_hit\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Vacuum cost for a page not found in the buffer cache.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/vacuum_cost_page_miss\",\"name\":\"vacuum_cost_page_miss\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Number of transactions by which VACUUM and HOT cleanup should be deferred, if any.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/vacuum_defer_cleanup_age\",\"name\":\"vacuum_defer_cleanup_age\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"50000000\",\"description\":\"Minimum age at which VACUUM should freeze a table row.\",\"defaultValue\":\"50000000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/vacuum_freeze_min_age\",\"name\":\"vacuum_freeze_min_age\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"150000000\",\"description\":\"Age at which VACUUM should scan whole table to freeze tuples.\",\"defaultValue\":\"150000000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2000000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/vacuum_freeze_table_age\",\"name\":\"vacuum_freeze_table_age\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"5000000\",\"description\":\"Minimum age at which VACUUM should freeze a MultiXactId in a table row.\",\"defaultValue\":\"5000000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/vacuum_multixact_freeze_min_age\",\"name\":\"vacuum_multixact_freeze_min_age\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"150000000\",\"description\":\"Multixact age at which VACUUM should scan whole table to freeze tuples.\",\"defaultValue\":\"150000000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2000000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/vacuum_multixact_freeze_table_age\",\"name\":\"vacuum_multixact_freeze_table_age\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"8192\",\"description\":\"Sets the number of disk-page buffers in shared memory for WAL. Any change requires restarting the server to take effect. Unit is 8kb.\",\"defaultValue\":\"8192\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-262143\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/wal_buffers\",\"name\":\"wal_buffers\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Sets the maximum interval between WAL receiver status reports to the primary. Unit is s.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/wal_receiver_status_interval\",\"name\":\"wal_receiver_status_interval\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"Time between WAL flushes performed in the WAL writer. Unit is ms.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/wal_writer_delay\",\"name\":\"wal_writer_delay\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"128\",\"description\":\"Amount of WAL written out by WAL writer that triggers a flush. Unit is 8kb.\",\"defaultValue\":\"128\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/wal_writer_flush_after\",\"name\":\"wal_writer_flush_after\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"262144\",\"description\":\"Sets the maximum memory to be used for maintenance operations. Unit is kb.\",\"defaultValue\":\"131072\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-2097151\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/maintenance_work_mem\",\"name\":\"maintenance_work_mem\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"REPLICA\",\"description\":\"Sets the level of replication support (Read Replicas). Any change requires restarting the server to take effect.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"OFF,REPLICA,LOGICAL\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/azure.replication_support\",\"name\":\"azure.replication_support\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Specifies the maximum number of concurrent connections from standby servers or streaming base backup clients (i.e., the maximum number of simultaneously running WAL sender processes).\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"10-80\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/max_wal_senders\",\"name\":\"max_wal_senders\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Specifies the maximum number of replication slots that the server can support.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"10-80\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/max_replication_slots\",\"name\":\"max_replication_slots\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Allows feedback from a hot standby to the primary that will avoid query conflicts.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/hot_standby_feedback\",\"name\":\"hot_standby_feedback\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enable .log files. Setting is independent of Azure Monitor logging options. Any change requires restarting the server to take effect.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/logging_collector\",\"name\":\"logging_collector\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"}]}" + "Content": "{\"value\":[{\"properties\":{\"value\":\"on\",\"description\":\"Enable input of NULL elements in arrays.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/array_nulls\",\"name\":\"array_nulls\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"safe_encoding\",\"description\":\"Sets whether \\\"\\\\\u0027\\\" is allowed in string literals.\",\"defaultValue\":\"safe_encoding\",\"dataType\":\"Enumeration\",\"allowedValues\":\"safe_encoding,on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/backslash_quote\",\"name\":\"backslash_quote\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"hex\",\"description\":\"Sets the output format for bytea.\",\"defaultValue\":\"hex\",\"dataType\":\"Enumeration\",\"allowedValues\":\"escape,hex\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/bytea_output\",\"name\":\"bytea_output\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Check function bodies during CREATE FUNCTION.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/check_function_bodies\",\"name\":\"check_function_bodies\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"sql_ascii\",\"description\":\"Sets the client\u0027s character set encoding.\",\"defaultValue\":\"sql_ascii\",\"dataType\":\"Enumeration\",\"allowedValues\":\"BIG5,EUC_CN,EUC_JP,EUC_JIS_2004,EUC_KR,EUC_TW,GB18030,GBK,ISO_8859_5,ISO_8859_6,ISO_8859_7,ISO_8859_8,JOHAB,KOI8R,KOI8U,LATIN1,LATIN2,LATIN3,LATIN4,LATIN5,LATIN6,LATIN7,LATIN8,LATIN9,LATIN10,MULE_INTERNAL,SJIS,SHIFT_JIS_2004,SQL_ASCII,UHC,UTF8,WIN866,WIN874,WIN1250,WIN1251,WIN1252,WIN1253,WIN1254,WIN1255,WIN1256,WIN1257,WIN1258\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/client_encoding\",\"name\":\"client_encoding\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"notice\",\"description\":\"Sets the message levels that are sent to the client.\",\"defaultValue\":\"notice\",\"dataType\":\"Enumeration\",\"allowedValues\":\"debug5,debug4,debug3,debug2,debug1,log,notice,warning,error\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/client_min_messages\",\"name\":\"client_min_messages\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"partition\",\"description\":\"Enables the planner to use constraints to optimize queries.\",\"defaultValue\":\"partition\",\"dataType\":\"Enumeration\",\"allowedValues\":\"partition,on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/constraint_exclusion\",\"name\":\"constraint_exclusion\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0.005\",\"description\":\"Sets the planner\u0027s estimate of the cost of processing each index entry during an index scan.\",\"defaultValue\":\"0.005\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/cpu_index_tuple_cost\",\"name\":\"cpu_index_tuple_cost\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0.0025\",\"description\":\"Sets the planner\u0027s estimate of the cost of processing each operator or function call.\",\"defaultValue\":\"0.0025\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/cpu_operator_cost\",\"name\":\"cpu_operator_cost\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0.01\",\"description\":\"Sets the planner\u0027s estimate of the cost of processing each tuple (row).\",\"defaultValue\":\"0.01\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/cpu_tuple_cost\",\"name\":\"cpu_tuple_cost\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0.1\",\"description\":\"Sets the planner\u0027s estimate of the fraction of a cursor\u0027s rows that will be retrieved.\",\"defaultValue\":\"0.1\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/cursor_tuple_fraction\",\"name\":\"cursor_tuple_fraction\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"iso, mdy\",\"description\":\"Sets the display format for date and time values.\",\"defaultValue\":\"iso, mdy\",\"dataType\":\"String\",\"allowedValues\":\"(iso|postgres|sql|german)\\\\,\\\\s(dmy|mdy|ymd)\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/datestyle\",\"name\":\"datestyle\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"1000\",\"description\":\"Sets the amount of time, in milliseconds, to wait on a lock before checking for deadlock.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/deadlock_timeout\",\"name\":\"deadlock_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs each query\u0027s execution plan.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/debug_print_plan\",\"name\":\"debug_print_plan\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs each query\u0027s rewritten parse tree.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/debug_print_rewritten\",\"name\":\"debug_print_rewritten\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"Sets the default statistics target.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/default_statistics_target\",\"name\":\"default_statistics_target\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"pg_catalog.english\",\"description\":\"Sets default text search configuration.\",\"defaultValue\":\"pg_catalog.english\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z\\\\._]+\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/default_text_search_config\",\"name\":\"default_text_search_config\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Sets the default deferrable status of new transactions.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/default_transaction_deferrable\",\"name\":\"default_transaction_deferrable\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"read committed\",\"description\":\"Sets the transaction isolation level of each new transaction.\",\"defaultValue\":\"read committed\",\"dataType\":\"Enumeration\",\"allowedValues\":\"serializable,repeatable read,read committed,read uncommitted\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/default_transaction_isolation\",\"name\":\"default_transaction_isolation\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Sets the default read-only status of new transactions.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/default_transaction_read_only\",\"name\":\"default_transaction_read_only\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Create new tables with OIDs by default.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/default_with_oids\",\"name\":\"default_with_oids\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of bitmap-scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/enable_bitmapscan\",\"name\":\"enable_bitmapscan\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of hashed aggregation plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/enable_hashagg\",\"name\":\"enable_hashagg\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of hash join plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/enable_hashjoin\",\"name\":\"enable_hashjoin\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of index-only-scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/enable_indexonlyscan\",\"name\":\"enable_indexonlyscan\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of index-scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/enable_indexscan\",\"name\":\"enable_indexscan\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of materialization.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/enable_material\",\"name\":\"enable_material\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of merge join plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/enable_mergejoin\",\"name\":\"enable_mergejoin\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of nested-loop join plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/enable_nestloop\",\"name\":\"enable_nestloop\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of sequential-scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/enable_seqscan\",\"name\":\"enable_seqscan\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of explicit sort steps.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/enable_sort\",\"name\":\"enable_sort\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of TID scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/enable_tidscan\",\"name\":\"enable_tidscan\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Warn about backslash escapes in ordinary string literals.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/escape_string_warning\",\"name\":\"escape_string_warning\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Terminate session on any error.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/exit_on_error\",\"name\":\"exit_on_error\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the number of digits displayed for floating-point values.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"-15-3\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/extra_float_digits\",\"name\":\"extra_float_digits\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"Sets the FROM-list size beyond which subqueries are not collapsed.\",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/from_collapse_limit\",\"name\":\"from_collapse_limit\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables genetic query optimization.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/geqo\",\"name\":\"geqo\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"5\",\"description\":\"GEQO: effort is used to set the default for other GEQO parameters.\",\"defaultValue\":\"5\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/geqo_effort\",\"name\":\"geqo_effort\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"GEQO: number of iterations of the algorithm.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/geqo_generations\",\"name\":\"geqo_generations\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"GEQO: number of individuals in the population.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/geqo_pool_size\",\"name\":\"geqo_pool_size\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0.0\",\"description\":\"GEQO: seed for random path selection.\",\"defaultValue\":\"0.0\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/geqo_seed\",\"name\":\"geqo_seed\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"2.0\",\"description\":\"GEQO: selective pressure within the population.\",\"defaultValue\":\"2.0\",\"dataType\":\"Numeric\",\"allowedValues\":\"1.5-2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/geqo_selection_bias\",\"name\":\"geqo_selection_bias\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"12\",\"description\":\"Sets the threshold of FROM items beyond which GEQO is used.\",\"defaultValue\":\"12\",\"dataType\":\"Integer\",\"allowedValues\":\"2-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/geqo_threshold\",\"name\":\"geqo_threshold\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum allowed result for exact search by GIN.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/gin_fuzzy_search_limit\",\"name\":\"gin_fuzzy_search_limit\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"postgres\",\"description\":\"Sets the display format for interval values.\",\"defaultValue\":\"postgres\",\"dataType\":\"Enumeration\",\"allowedValues\":\"postgres,postgres_verbose,sql_standard,iso_8601\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/intervalstyle\",\"name\":\"intervalstyle\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"Sets the FROM-list size beyond which JOIN constructs are not flattened.\",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/join_collapse_limit\",\"name\":\"join_collapse_limit\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum allowed duration (in milliseconds) of any wait for a lock. 0 turns this off.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/lock_timeout\",\"name\":\"lock_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Logs each checkpoint.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_checkpoints\",\"name\":\"log_checkpoints\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Logs each successful connection.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_connections\",\"name\":\"log_connections\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs end of a session, including duration.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_disconnections\",\"name\":\"log_disconnections\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs the duration of each completed SQL statement.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_duration\",\"name\":\"log_duration\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"default\",\"description\":\"Sets the verbosity of logged messages.\",\"defaultValue\":\"default\",\"dataType\":\"Enumeration\",\"allowedValues\":\"terse,default,verbose\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_error_verbosity\",\"name\":\"log_error_verbosity\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"%t-%c-\",\"description\":\"Sets the printf-style string that is output at the beginning of each log line.\",\"defaultValue\":\"%t-%c-\",\"dataType\":\"String\",\"allowedValues\":\".*\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_line_prefix\",\"name\":\"log_line_prefix\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs long lock waits.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_lock_waits\",\"name\":\"log_lock_waits\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Sets the minimum execution time (in milliseconds) above which statements will be logged. -1 disables logging statement durations.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_min_duration_statement\",\"name\":\"log_min_duration_statement\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"error\",\"description\":\"Causes all statements generating error at or above this level to be logged.\",\"defaultValue\":\"error\",\"dataType\":\"Enumeration\",\"allowedValues\":\"debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_min_error_statement\",\"name\":\"log_min_error_statement\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"warning\",\"description\":\"Sets the message levels that are logged.\",\"defaultValue\":\"warning\",\"dataType\":\"Enumeration\",\"allowedValues\":\"debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_min_messages\",\"name\":\"log_min_messages\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"none\",\"description\":\"Sets the type of statements logged.\",\"defaultValue\":\"none\",\"dataType\":\"Enumeration\",\"allowedValues\":\"none,ddl,mod,all\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_statement\",\"name\":\"log_statement\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"For each query, writes cumulative performance statistics to the server log.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_statement_stats\",\"name\":\"log_statement_stats\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"Sets the maximum number of locks per transaction. Any change requires restarting the server to take effect. When running a replica server, you must set this parameter to the same or higher value than on the master server.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"10-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/max_locks_per_transaction\",\"name\":\"max_locks_per_transaction\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum number of simultaneously prepared transactions. Any change requires restarting the server to take effect. When running a replica server, you must set this parameter to the same or higher value than on the master server.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-8388607\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/max_prepared_transactions\",\"name\":\"max_prepared_transactions\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"When generating SQL fragments, quote all identifiers.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/quote_all_identifiers\",\"name\":\"quote_all_identifiers\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"4.0\",\"description\":\"Sets the planner\u0027s estimate of the cost of a nonsequentially fetched disk page.\",\"defaultValue\":\"4.0\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/random_page_cost\",\"name\":\"random_page_cost\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"\\\"$user\\\", public\",\"description\":\"Sets the schema search order for names that are not schema-qualified.\",\"defaultValue\":\"\\\"$user\\\", public\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z.\\\"$, ]+\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/search_path\",\"name\":\"search_path\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"1.0\",\"description\":\"Sets the planner\u0027s estimate of the cost of a sequentially fetched disk page.\",\"defaultValue\":\"1.0\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/seq_page_cost\",\"name\":\"seq_page_cost\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Causes subtables to be included by default in various commands.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/sql_inheritance\",\"name\":\"sql_inheritance\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum allowed duration (in milliseconds) of any statement. 0 turns this off.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/statement_timeout\",\"name\":\"statement_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enable synchronized sequential scans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/synchronize_seqscans\",\"name\":\"synchronize_seqscans\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Sets the current transaction\u0027s synchronization level.\",\"defaultValue\":\"on\",\"dataType\":\"Enumeration\",\"allowedValues\":\"local,remote_write,on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/synchronous_commit\",\"name\":\"synchronous_commit\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Treats \\\"expr=NULL\\\" as \\\"expr IS NULL\\\".\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/transform_null_equals\",\"name\":\"transform_null_equals\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"base64\",\"description\":\"Sets how binary values are to be encoded in XML.\",\"defaultValue\":\"base64\",\"dataType\":\"Enumeration\",\"allowedValues\":\"base64,hex\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/xmlbinary\",\"name\":\"xmlbinary\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"content\",\"description\":\"Sets whether XML data in implicit parsing and serialization operations is to be considered as documents or content fragments.\",\"defaultValue\":\"content\",\"dataType\":\"Enumeration\",\"allowedValues\":\"content,document\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/xmloption\",\"name\":\"xmloption\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Forces use of parallel query facilities.\",\"defaultValue\":\"off\",\"dataType\":\"Enumeration\",\"allowedValues\":\"off,on,regress\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/force_parallel_mode\",\"name\":\"force_parallel_mode\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum allowed duration of any idling transaction. Unit is ms.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/idle_in_transaction_session_timeout\",\"name\":\"idle_in_transaction_session_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum number of parallel processes per executor node.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1024\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/max_parallel_workers_per_gather\",\"name\":\"max_parallel_workers_per_gather\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"8388608\",\"description\":\"Sets the minimum size of relations to be considered for parallel scan. Unit is 8kb.\",\"defaultValue\":\"8388608\",\"dataType\":\"Integer\",\"allowedValues\":\"0-715827882\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/min_parallel_relation_size\",\"name\":\"min_parallel_relation_size\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"1000\",\"description\":\"Sets the planner\u0027s estimate of the cost of starting up worker processes for parallel query.\",\"defaultValue\":\"1000\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/parallel_setup_cost\",\"name\":\"parallel_setup_cost\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0.1\",\"description\":\"Sets the planner\u0027s estimate of the cost of passing each tuple (row) from worker to master backend.\",\"defaultValue\":\"0.1\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/parallel_tuple_cost\",\"name\":\"parallel_tuple_cost\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"Sets the amount of memory to be used by internal sort operations and hash tables before writing to temporary disk files. Unit is kb.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-2097151\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/work_mem\",\"name\":\"work_mem\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"8192\",\"description\":\"Sets the maximum number of temporary buffers used by each database session. Unit is 8kb.\",\"defaultValue\":\"8192\",\"dataType\":\"Integer\",\"allowedValues\":\"8192-16384\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/temp_buffers\",\"name\":\"temp_buffers\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables temporary connection throttling per IP for too many invalid password login failures.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/connection_throttling\",\"name\":\"connection_throttling\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"3\",\"description\":\"Sets how many days a log file is saved for.\",\"defaultValue\":\"3\",\"dataType\":\"Integer\",\"allowedValues\":\"1-7\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_retention_days\",\"name\":\"log_retention_days\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"6000\",\"description\":\"Sets the maximum query text length that will be saved; longer queries will be truncated.\",\"defaultValue\":\"6000\",\"dataType\":\"Integer\",\"allowedValues\":\"100-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/pg_qs.max_query_text_length\",\"name\":\"pg_qs.max_query_text_length\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"none\",\"description\":\"Selects which statements are tracked by pg_qs.\",\"defaultValue\":\"none\",\"dataType\":\"Enumeration\",\"allowedValues\":\"all,top,none\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/pg_qs.query_capture_mode\",\"name\":\"pg_qs.query_capture_mode\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"7\",\"description\":\"Sets the retention period window in days for pg_qs - after this time data will be deleted.\",\"defaultValue\":\"7\",\"dataType\":\"Integer\",\"allowedValues\":\"1-30\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/pg_qs.retention_period_in_days\",\"name\":\"pg_qs.retention_period_in_days\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Selects whether parameter placeholders are replaced in parameterized queries.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/pg_qs.replace_parameter_placeholders\",\"name\":\"pg_qs.replace_parameter_placeholders\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Selects whether utility commands are tracked by pg_qs.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/pg_qs.track_utility\",\"name\":\"pg_qs.track_utility\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"top\",\"description\":\"Controls which statements are counted by pg_stat_statements.\",\"defaultValue\":\"top\",\"dataType\":\"Enumeration\",\"allowedValues\":\"top,all,none\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/pg_stat_statements.track\",\"name\":\"pg_stat_statements.track\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"none\",\"description\":\"Selects which statements are tracked by the pgms_wait_sampling extension.\",\"defaultValue\":\"none\",\"dataType\":\"Enumeration\",\"allowedValues\":\"all,none\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/pgms_wait_sampling.query_capture_mode\",\"name\":\"pgms_wait_sampling.query_capture_mode\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"Set the frequency, in milliseconds, at which wait events are sampled.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"1-600000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/pgms_wait_sampling.history_period\",\"name\":\"pgms_wait_sampling.history_period\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"DISABLE_ALL\",\"description\":\"Controls postgis GDAL enabled driver settings.\",\"defaultValue\":\"DISABLE_ALL\",\"dataType\":\"Enumeration\",\"allowedValues\":\"DISABLE_ALL,ENABLE_ALL\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/postgis.gdal_enabled_drivers\",\"name\":\"postgis.gdal_enabled_drivers\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Starts the autovacuum subprocess.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/autovacuum\",\"name\":\"autovacuum\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0.05\",\"description\":\"Number of tuple inserts, updates, or deletes prior to analyze as a fraction of reltuples.\",\"defaultValue\":\"0.05\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_analyze_scale_factor\",\"name\":\"autovacuum_analyze_scale_factor\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"Minimum number of tuple inserts, updates, or deletes prior to analyze.\",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_analyze_threshold\",\"name\":\"autovacuum_analyze_threshold\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"200000000\",\"description\":\"Age at which to autovacuum a table to prevent transaction ID wraparound. Any change requires restarting the server to take effect..\",\"defaultValue\":\"200000000\",\"dataType\":\"Integer\",\"allowedValues\":\"100000-2000000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_freeze_max_age\",\"name\":\"autovacuum_freeze_max_age\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"400000000\",\"description\":\"Multixact age at which to autovacuum a table to prevent multixact wraparound. Any change requires restarting the server to take effect.\",\"defaultValue\":\"400000000\",\"dataType\":\"Integer\",\"allowedValues\":\"10000-2000000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_multixact_freeze_max_age\",\"name\":\"autovacuum_multixact_freeze_max_age\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"15\",\"description\":\"Time to sleep between autovacuum runs. Unit is s.\",\"defaultValue\":\"15\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_naptime\",\"name\":\"autovacuum_naptime\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"20\",\"description\":\"Vacuum cost delay in milliseconds, for autovacuum.\",\"defaultValue\":\"20\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_vacuum_cost_delay\",\"name\":\"autovacuum_vacuum_cost_delay\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Vacuum cost amount available before napping, for autovacuum.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_vacuum_cost_limit\",\"name\":\"autovacuum_vacuum_cost_limit\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0.05\",\"description\":\"Number of tuple updates or deletes prior to vacuum as a fraction of reltuples.\",\"defaultValue\":\"0.05\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_vacuum_scale_factor\",\"name\":\"autovacuum_vacuum_scale_factor\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"Minimum number of tuple updates or deletes prior to vacuum.\",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_vacuum_threshold\",\"name\":\"autovacuum_vacuum_threshold\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Sets the maximum memory to be used by each autovacuum worker process. Unit is kb.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2097151\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_work_mem\",\"name\":\"autovacuum_work_mem\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"3\",\"description\":\"Sets the maximum number of simultaneously running autovacuum worker processes. Any change requires restarting the server to take effect.\",\"defaultValue\":\"3\",\"dataType\":\"Integer\",\"allowedValues\":\"1-262143\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/autovacuum_max_workers\",\"name\":\"autovacuum_max_workers\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Number of pages after which previously performed writes are flushed to disk. Unit is 8kb.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/backend_flush_after\",\"name\":\"backend_flush_after\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"Background writer sleep time between rounds. Unit is ms.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"10-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/bgwriter_delay\",\"name\":\"bgwriter_delay\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"Number of pages after which previously performed writes are flushed to disk. Unit is 8kb.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/bgwriter_flush_after\",\"name\":\"bgwriter_flush_after\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"Background writer maximum number of LRU pages to flush per round.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1073741823\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/bgwriter_lru_maxpages\",\"name\":\"bgwriter_lru_maxpages\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Multiple of the average buffer usage to free per round.\",\"defaultValue\":\"2\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-10\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/bgwriter_lru_multiplier\",\"name\":\"bgwriter_lru_multiplier\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"30\",\"description\":\"Enables warnings if checkpoint segments are filled more frequently than this. Unit is s.\",\"defaultValue\":\"30\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/checkpoint_warning\",\"name\":\"checkpoint_warning\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the delay in microseconds between transaction commit and flushing WAL to disk.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/commit_delay\",\"name\":\"commit_delay\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"5\",\"description\":\"Sets the minimum concurrent open transactions before performing commit_delay.\",\"defaultValue\":\"5\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/commit_siblings\",\"name\":\"commit_siblings\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"1310720\",\"description\":\"Sets the planner\u0027s assumption about the size of the disk cache. Unit is 8kb.\",\"defaultValue\":\"917504\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/effective_cache_size\",\"name\":\"effective_cache_size\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"Sets the maximum size of the pending list for GIN index. Unit is kb.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"64-2097151\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/gin_pending_list_limit\",\"name\":\"gin_pending_list_limit\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"English_United States.1252\",\"description\":\"Sets the locale for formatting monetary amounts.\",\"defaultValue\":\"English_United States.1252\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9\\\\._\\\\s]+\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/lc_monetary\",\"name\":\"lc_monetary\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"English_United States.1252\",\"description\":\"Sets the locale for formatting numbers.\",\"defaultValue\":\"English_United States.1252\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9\\\\._\\\\s]+\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/lc_numeric\",\"name\":\"lc_numeric\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Enables backward compatibility mode for privilege checks on large objects.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/lo_compat_privileges\",\"name\":\"lo_compat_privileges\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Sets the minimum execution time above which autovacuum actions will be logged. Unit is ms.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_autovacuum_min_duration\",\"name\":\"log_autovacuum_min_duration\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs each replication command.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_replication_commands\",\"name\":\"log_replication_commands\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Log the use of temporary files larger than this number of kilobytes.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/log_temp_files\",\"name\":\"log_temp_files\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"30000\",\"description\":\"Sets the maximum delay before canceling queries when a hot standby server is processing archived WAL data. Unit is ms.\",\"defaultValue\":\"30000\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/max_standby_archive_delay\",\"name\":\"max_standby_archive_delay\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"30000\",\"description\":\"Sets the maximum delay before canceling queries when a hot standby server is processing streamed WAL data. Unit is ms.\",\"defaultValue\":\"30000\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/max_standby_streaming_delay\",\"name\":\"max_standby_streaming_delay\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"Sets the WAL size that triggers a checkpoint. Unit is 16MB.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"2-2097151\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/max_wal_size\",\"name\":\"max_wal_size\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"256\",\"description\":\"Sets the minimum size to shrink the WAL to. Unit is 16MB.\",\"defaultValue\":\"512\",\"dataType\":\"Integer\",\"allowedValues\":\"2-2097151\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/min_wal_size\",\"name\":\"min_wal_size\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Time before a snapshot is too old to read pages changed after the snapshot was taken. Any change requires restarting the server to take effect. Unit is min.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-86400\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/old_snapshot_threshold\",\"name\":\"old_snapshot_threshold\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Emit a warning for constructs that changed meaning since PostgreSQL 9.4.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/operator_precedence_warning\",\"name\":\"operator_precedence_warning\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"5000\",\"description\":\"Sets the maximum number of statements tracked by pg_stat_statements. Any change requires restarting the server to take effect.\",\"defaultValue\":\"5000\",\"dataType\":\"Integer\",\"allowedValues\":\"100-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/pg_stat_statements.max\",\"name\":\"pg_stat_statements.max\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Save pg_stat_statements statistics across server shutdowns.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/pg_stat_statements.save\",\"name\":\"pg_stat_statements.save\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Selects whether utility commands are tracked by pg_stat_statements.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/pg_stat_statements.track_utility\",\"name\":\"pg_stat_statements.track_utility\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"150000\",\"description\":\"Sets the maximum number of tuples to be sorted using replacement selection.\",\"defaultValue\":\"150000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/replacement_sort_tuples\",\"name\":\"replacement_sort_tuples\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enable row security.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/row_security\",\"name\":\"row_security\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"origin\",\"description\":\"Sets the session\u0027s behavior for triggers and rewrite rules.\",\"defaultValue\":\"origin\",\"dataType\":\"Enumeration\",\"allowedValues\":\"origin,replica,local\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/session_replication_role\",\"name\":\"session_replication_role\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Maximum number of TCP keepalive retransmits.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/tcp_keepalives_count\",\"name\":\"tcp_keepalives_count\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Time between issuing TCP keepalives. Unit is s.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/tcp_keepalives_idle\",\"name\":\"tcp_keepalives_idle\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Time between TCP keepalive retransmits. Unit is s.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/tcp_keepalives_interval\",\"name\":\"tcp_keepalives_interval\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Collects information about executing commands.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/track_activities\",\"name\":\"track_activities\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"Sets the size reserved for pg_stat_activity.query, in bytes. Any change requires restarting the server to take effect.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"100-102400\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/track_activity_query_size\",\"name\":\"track_activity_query_size\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Collects transaction commit time. Any change requires restarting the server to take effect.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/track_commit_timestamp\",\"name\":\"track_commit_timestamp\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Collects statistics on database activity.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/track_counts\",\"name\":\"track_counts\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"none\",\"description\":\"Collects function-level statistics on database activity.\",\"defaultValue\":\"none\",\"dataType\":\"Enumeration\",\"allowedValues\":\"none,pl,all\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/track_functions\",\"name\":\"track_functions\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Collects timing statistics for database I/O activity.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/track_io_timing\",\"name\":\"track_io_timing\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"UTC\",\"description\":\"Sets the time zone for displaying and interpreting time stamps\",\"defaultValue\":\"UTC\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9/+-_]+\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/timezone\",\"name\":\"timezone\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Sets which shared libraries are preloaded at server start. Any change requires a restart to take effect.\",\"defaultValue\":\"\",\"dataType\":\"Set\",\"allowedValues\":\",pgaudit,timescaledb\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/shared_preload_libraries\",\"name\":\"shared_preload_libraries\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Vacuum cost delay in milliseconds.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/vacuum_cost_delay\",\"name\":\"vacuum_cost_delay\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"Vacuum cost amount available before napping.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/vacuum_cost_limit\",\"name\":\"vacuum_cost_limit\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"20\",\"description\":\"Vacuum cost for a page dirtied by vacuum.\",\"defaultValue\":\"20\",\"dataType\":\"Integer\",\"allowedValues\":\"0-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/vacuum_cost_page_dirty\",\"name\":\"vacuum_cost_page_dirty\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Vacuum cost for a page found in the buffer cache.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/vacuum_cost_page_hit\",\"name\":\"vacuum_cost_page_hit\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Vacuum cost for a page not found in the buffer cache.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/vacuum_cost_page_miss\",\"name\":\"vacuum_cost_page_miss\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Number of transactions by which VACUUM and HOT cleanup should be deferred, if any.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/vacuum_defer_cleanup_age\",\"name\":\"vacuum_defer_cleanup_age\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"50000000\",\"description\":\"Minimum age at which VACUUM should freeze a table row.\",\"defaultValue\":\"50000000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/vacuum_freeze_min_age\",\"name\":\"vacuum_freeze_min_age\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"150000000\",\"description\":\"Age at which VACUUM should scan whole table to freeze tuples.\",\"defaultValue\":\"150000000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2000000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/vacuum_freeze_table_age\",\"name\":\"vacuum_freeze_table_age\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"5000000\",\"description\":\"Minimum age at which VACUUM should freeze a MultiXactId in a table row.\",\"defaultValue\":\"5000000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/vacuum_multixact_freeze_min_age\",\"name\":\"vacuum_multixact_freeze_min_age\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"150000000\",\"description\":\"Multixact age at which VACUUM should scan whole table to freeze tuples.\",\"defaultValue\":\"150000000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2000000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/vacuum_multixact_freeze_table_age\",\"name\":\"vacuum_multixact_freeze_table_age\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"8192\",\"description\":\"Sets the number of disk-page buffers in shared memory for WAL. Any change requires restarting the server to take effect. Unit is 8kb.\",\"defaultValue\":\"8192\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-262143\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/wal_buffers\",\"name\":\"wal_buffers\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Sets the maximum interval between WAL receiver status reports to the primary. Unit is s.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/wal_receiver_status_interval\",\"name\":\"wal_receiver_status_interval\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"Time between WAL flushes performed in the WAL writer. Unit is ms.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/wal_writer_delay\",\"name\":\"wal_writer_delay\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"128\",\"description\":\"Amount of WAL written out by WAL writer that triggers a flush. Unit is 8kb.\",\"defaultValue\":\"128\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/wal_writer_flush_after\",\"name\":\"wal_writer_flush_after\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"262144\",\"description\":\"Sets the maximum memory to be used for maintenance operations. Unit is kb.\",\"defaultValue\":\"131072\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-2097151\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/maintenance_work_mem\",\"name\":\"maintenance_work_mem\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"REPLICA\",\"description\":\"Sets the level of replication support (Read Replicas). Any change requires restarting the server to take effect.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"OFF,REPLICA,LOGICAL\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/azure.replication_support\",\"name\":\"azure.replication_support\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Specifies the maximum number of concurrent connections from standby servers or streaming base backup clients (i.e., the maximum number of simultaneously running WAL sender processes).\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"10-80\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/max_wal_senders\",\"name\":\"max_wal_senders\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Specifies the maximum number of replication slots that the server can support.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"10-80\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/max_replication_slots\",\"name\":\"max_replication_slots\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Allows feedback from a hot standby to the primary that will avoid query conflicts.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/hot_standby_feedback\",\"name\":\"hot_standby_feedback\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enable .log files. Setting is independent of Azure Monitor logging options. Any change requires restarting the server to take effect.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/logging_collector\",\"name\":\"logging_collector\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"}]}" } }, - "Get-AzPostgreSqlConfiguration+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/timezone?api-version=2017-12-01+1": { + "Get-AzPostgreSqlConfiguration+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/timezone?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/timezone?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/timezone?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "11" ], @@ -74,13 +74,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"value\":\"UTC\",\"description\":\"Sets the time zone for displaying and interpreting time stamps\",\"defaultValue\":\"UTC\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9/+-_]+\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/timezone\",\"name\":\"timezone\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"}" + "Content": "{\"properties\":{\"value\":\"UTC\",\"description\":\"Sets the time zone for displaying and interpreting time stamps\",\"defaultValue\":\"UTC\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9/+-_]+\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/timezone\",\"name\":\"timezone\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"}" } }, - "Get-AzPostgreSqlConfiguration+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/datestyle?api-version=2017-12-01+1": { + "Get-AzPostgreSqlConfiguration+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/datestyle?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/datestyle?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/datestyle?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "12" ], @@ -113,7 +113,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"value\":\"iso, mdy\",\"description\":\"Sets the display format for date and time values.\",\"defaultValue\":\"iso, mdy\",\"dataType\":\"String\",\"allowedValues\":\"(iso|postgres|sql|german)\\\\,\\\\s(dmy|mdy|ymd)\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/datestyle\",\"name\":\"datestyle\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"}" + "Content": "{\"properties\":{\"value\":\"iso, mdy\",\"description\":\"Sets the display format for date and time values.\",\"defaultValue\":\"iso, mdy\",\"dataType\":\"String\",\"allowedValues\":\"(iso|postgres|sql|german)\\\\,\\\\s(dmy|mdy|ymd)\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/datestyle\",\"name\":\"datestyle\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"}" } } } \ No newline at end of file diff --git a/src/PostgreSql/test/Get-AzPostgreSqlConfiguration.Tests.ps1 b/src/PostgreSql/test/Get-AzPostgreSqlConfiguration.Tests.ps1 index 74295f1aaa40..1ddbf27b27fd 100644 --- a/src/PostgreSql/test/Get-AzPostgreSqlConfiguration.Tests.ps1 +++ b/src/PostgreSql/test/Get-AzPostgreSqlConfiguration.Tests.ps1 @@ -23,7 +23,7 @@ Describe 'Get-AzPostgreSqlConfiguration' { } It 'GetViaIdentity' { - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSQL/servers/$($env.serverName)/configurations/datestyle" + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBforPostgreSQL/servers/$($env.serverName)/configurations/datestyle" $config = Get-AzPostgreSqlConfiguration -InputObject $ID $config.Name | Should -Be datestyle } diff --git a/src/PostgreSql/test/Get-AzPostgreSqlConnectionString.Recording.json b/src/PostgreSql/test/Get-AzPostgreSqlConnectionString.Recording.json index 7339fc56ce77..9219b6591e4c 100644 --- a/src/PostgreSql/test/Get-AzPostgreSqlConnectionString.Recording.json +++ b/src/PostgreSql/test/Get-AzPostgreSqlConnectionString.Recording.json @@ -1,8 +1,8 @@ { - "Get-AzPostgreSqlConnectionString+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+1": { + "Get-AzPostgreSqlConnectionString+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "13" ], @@ -35,13 +35,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" } }, - "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+1": { + "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "14" ], @@ -74,13 +74,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" } }, - "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+2": { + "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "15" ], @@ -113,13 +113,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" } }, - "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+3": { + "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "16" ], @@ -152,13 +152,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" } }, - "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+4": { + "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "17" ], @@ -191,13 +191,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" } }, - "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+5": { + "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "18" ], @@ -230,13 +230,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" } }, - "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+6": { + "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "19" ], @@ -269,13 +269,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" } }, - "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+7": { + "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "20" ], @@ -308,13 +308,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" } }, - "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+8": { + "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "21" ], @@ -347,13 +347,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" } }, - "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+9": { + "Get-AzPostgreSqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "22" ], @@ -386,7 +386,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" } } } \ No newline at end of file diff --git a/src/PostgreSql/test/Get-AzPostgreSqlFirewallRule.Recording.json b/src/PostgreSql/test/Get-AzPostgreSqlFirewallRule.Recording.json index af2f24602f84..fc091ab185c4 100644 --- a/src/PostgreSql/test/Get-AzPostgreSqlFirewallRule.Recording.json +++ b/src/PostgreSql/test/Get-AzPostgreSqlFirewallRule.Recording.json @@ -1,8 +1,8 @@ { - "Get-AzPostgreSqlFirewallRule+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+1": { + "Get-AzPostgreSqlFirewallRule+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/22171d36-1cc1-4752-9c43-a828b1e8ba6e?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/22171d36-1cc1-4752-9c43-a828b1e8ba6e?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/22171d36-1cc1-4752-9c43-a828b1e8ba6e?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/22171d36-1cc1-4752-9c43-a828b1e8ba6e?api-version=2017-12-01" ], "x-ms-request-id": [ "22171d36-1cc1-4752-9c43-a828b1e8ba6e" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-09-25T11:01:18.51Z\"}" } }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/22171d36-1cc1-4752-9c43-a828b1e8ba6e?api-version=2017-12-01+2": { + "Get-AzPostgreSqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/22171d36-1cc1-4752-9c43-a828b1e8ba6e?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/22171d36-1cc1-4752-9c43-a828b1e8ba6e?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/22171d36-1cc1-4752-9c43-a828b1e8ba6e?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "23", "24" ], @@ -76,10 +76,10 @@ "Content": "{\"name\":\"22171d36-1cc1-4752-9c43-a828b1e8ba6e\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:01:18.51Z\"}" } }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+3": { + "Get-AzPostgreSqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "23", "24", "25" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBForPostgreSQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/servers/firewallRules\"}" } }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules?api-version=2017-12-01+4": { + "Get-AzPostgreSqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "26" ], @@ -151,13 +151,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBForPostgreSQL/servers/firewallRules\"}]}" + "Content": "{\"value\":[{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/servers/firewallRules\"}]}" } }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+List+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+5": { + "Get-AzPostgreSqlFirewallRule+[NoContext]+List+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+5": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "27" ], @@ -176,9 +176,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/9878a831-b877-4905-962a-868d0f84bb74?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/9878a831-b877-4905-962a-868d0f84bb74?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/9878a831-b877-4905-962a-868d0f84bb74?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/9878a831-b877-4905-962a-868d0f84bb74?api-version=2017-12-01" ], "x-ms-request-id": [ "9878a831-b877-4905-962a-868d0f84bb74" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], @@ -196,10 +196,10 @@ "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-09-25T11:01:36.557Z\"}" } }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/9878a831-b877-4905-962a-868d0f84bb74?api-version=2017-12-01+6": { + "Get-AzPostgreSqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/9878a831-b877-4905-962a-868d0f84bb74?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/9878a831-b877-4905-962a-868d0f84bb74?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/9878a831-b877-4905-962a-868d0f84bb74?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "27", "28" ], @@ -236,10 +236,10 @@ "Content": "{\"name\":\"9878a831-b877-4905-962a-868d0f84bb74\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:01:36.557Z\"}" } }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/9878a831-b877-4905-962a-868d0f84bb74?api-version=2017-12-01+7": { + "Get-AzPostgreSqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/9878a831-b877-4905-962a-868d0f84bb74?api-version=2017-12-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/9878a831-b877-4905-962a-868d0f84bb74?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/9878a831-b877-4905-962a-868d0f84bb74?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "27", "28", "29" ], @@ -274,10 +274,10 @@ "Content": null } }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+Get+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+1": { + "Get-AzPostgreSqlFirewallRule+[NoContext]+Get+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -291,9 +291,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/f1bf892f-485f-464b-8c83-09c81ea4ed2b?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/f1bf892f-485f-464b-8c83-09c81ea4ed2b?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/f1bf892f-485f-464b-8c83-09c81ea4ed2b?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f1bf892f-485f-464b-8c83-09c81ea4ed2b?api-version=2017-12-01" ], "x-ms-request-id": [ "f1bf892f-485f-464b-8c83-09c81ea4ed2b" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], @@ -311,10 +311,10 @@ "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-09-25T11:01:53.947Z\"}" } }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/f1bf892f-485f-464b-8c83-09c81ea4ed2b?api-version=2017-12-01+2": { + "Get-AzPostgreSqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f1bf892f-485f-464b-8c83-09c81ea4ed2b?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/f1bf892f-485f-464b-8c83-09c81ea4ed2b?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f1bf892f-485f-464b-8c83-09c81ea4ed2b?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "30", "31" ], @@ -351,10 +351,10 @@ "Content": "{\"name\":\"f1bf892f-485f-464b-8c83-09c81ea4ed2b\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:01:53.947Z\"}" } }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+3": { + "Get-AzPostgreSqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "30", "31", "32" ], @@ -387,13 +387,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBForPostgreSQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/servers/firewallRules\"}" } }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+4": { + "Get-AzPostgreSqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "33" ], @@ -426,13 +426,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBForPostgreSQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/servers/firewallRules\"}" } }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+Get+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+5": { + "Get-AzPostgreSqlFirewallRule+[NoContext]+Get+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+5": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "34" ], @@ -451,9 +451,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/c7ee4fd9-05a1-486e-8ca1-ecdbb6fac9b0?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/c7ee4fd9-05a1-486e-8ca1-ecdbb6fac9b0?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c7ee4fd9-05a1-486e-8ca1-ecdbb6fac9b0?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c7ee4fd9-05a1-486e-8ca1-ecdbb6fac9b0?api-version=2017-12-01" ], "x-ms-request-id": [ "c7ee4fd9-05a1-486e-8ca1-ecdbb6fac9b0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14998" ], @@ -471,10 +471,10 @@ "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-09-25T11:02:11.76Z\"}" } }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c7ee4fd9-05a1-486e-8ca1-ecdbb6fac9b0?api-version=2017-12-01+6": { + "Get-AzPostgreSqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c7ee4fd9-05a1-486e-8ca1-ecdbb6fac9b0?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c7ee4fd9-05a1-486e-8ca1-ecdbb6fac9b0?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c7ee4fd9-05a1-486e-8ca1-ecdbb6fac9b0?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "34", "35" ], @@ -511,10 +511,10 @@ "Content": "{\"name\":\"c7ee4fd9-05a1-486e-8ca1-ecdbb6fac9b0\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:02:11.76Z\"}" } }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/c7ee4fd9-05a1-486e-8ca1-ecdbb6fac9b0?api-version=2017-12-01+7": { + "Get-AzPostgreSqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/c7ee4fd9-05a1-486e-8ca1-ecdbb6fac9b0?api-version=2017-12-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/c7ee4fd9-05a1-486e-8ca1-ecdbb6fac9b0?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/c7ee4fd9-05a1-486e-8ca1-ecdbb6fac9b0?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "34", "35", "36" ], @@ -549,10 +549,10 @@ "Content": null } }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+GetViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+1": { + "Get-AzPostgreSqlFirewallRule+[NoContext]+GetViaIdentity+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -566,9 +566,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/a188ec6d-f2ee-44c7-978f-4767bb7b695b?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/a188ec6d-f2ee-44c7-978f-4767bb7b695b?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/a188ec6d-f2ee-44c7-978f-4767bb7b695b?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a188ec6d-f2ee-44c7-978f-4767bb7b695b?api-version=2017-12-01" ], "x-ms-request-id": [ "a188ec6d-f2ee-44c7-978f-4767bb7b695b" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1194" ], @@ -586,10 +586,10 @@ "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-09-25T11:02:29.227Z\"}" } }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/a188ec6d-f2ee-44c7-978f-4767bb7b695b?api-version=2017-12-01+2": { + "Get-AzPostgreSqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a188ec6d-f2ee-44c7-978f-4767bb7b695b?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/a188ec6d-f2ee-44c7-978f-4767bb7b695b?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a188ec6d-f2ee-44c7-978f-4767bb7b695b?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "37", "38" ], @@ -626,10 +626,10 @@ "Content": "{\"name\":\"a188ec6d-f2ee-44c7-978f-4767bb7b695b\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:02:29.227Z\"}" } }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+3": { + "Get-AzPostgreSqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "37", "38", "39" ], @@ -662,13 +662,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBForPostgreSQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/servers/firewallRules\"}" } }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+4": { + "Get-AzPostgreSqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "40" ], @@ -701,13 +701,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBForPostgreSQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/servers/firewallRules\"}" } }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+GetViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+5": { + "Get-AzPostgreSqlFirewallRule+[NoContext]+GetViaIdentity+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+5": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "41" ], @@ -726,9 +726,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/f62f351e-3685-475e-8d98-9f7c68fb3c83?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/f62f351e-3685-475e-8d98-9f7c68fb3c83?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/f62f351e-3685-475e-8d98-9f7c68fb3c83?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f62f351e-3685-475e-8d98-9f7c68fb3c83?api-version=2017-12-01" ], "x-ms-request-id": [ "f62f351e-3685-475e-8d98-9f7c68fb3c83" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14997" ], @@ -746,10 +746,10 @@ "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-09-25T11:02:48.087Z\"}" } }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/f62f351e-3685-475e-8d98-9f7c68fb3c83?api-version=2017-12-01+6": { + "Get-AzPostgreSqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f62f351e-3685-475e-8d98-9f7c68fb3c83?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/f62f351e-3685-475e-8d98-9f7c68fb3c83?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f62f351e-3685-475e-8d98-9f7c68fb3c83?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "41", "42" ], @@ -786,10 +786,10 @@ "Content": "{\"name\":\"f62f351e-3685-475e-8d98-9f7c68fb3c83\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:02:48.087Z\"}" } }, - "Get-AzPostgreSqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/f62f351e-3685-475e-8d98-9f7c68fb3c83?api-version=2017-12-01+7": { + "Get-AzPostgreSqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/f62f351e-3685-475e-8d98-9f7c68fb3c83?api-version=2017-12-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/f62f351e-3685-475e-8d98-9f7c68fb3c83?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/f62f351e-3685-475e-8d98-9f7c68fb3c83?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "41", "42", "43" ], diff --git a/src/PostgreSql/test/Get-AzPostgreSqlFirewallRule.Tests.ps1 b/src/PostgreSql/test/Get-AzPostgreSqlFirewallRule.Tests.ps1 index 5e980e72b6a7..8fcafdd4149c 100644 --- a/src/PostgreSql/test/Get-AzPostgreSqlFirewallRule.Tests.ps1 +++ b/src/PostgreSql/test/Get-AzPostgreSqlFirewallRule.Tests.ps1 @@ -29,7 +29,7 @@ Describe 'Get-AzPostgreSqlFirewallRule' { It 'GetViaIdentity' { New-AzPostgreSqlFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSQL/servers/$($env.serverName)/firewallRules/$($env.firewallRuleName)" + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBforPostgreSQL/servers/$($env.serverName)/firewallRules/$($env.firewallRuleName)" $rule = Get-AzPostgreSqlFirewallRule -InputObject $ID $rule.StartIPAddress | Should -Be 0.0.0.0 $rule.EndIPAddress | Should -Be 0.0.0.1 diff --git a/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServer.Recording.json b/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServer.Recording.json deleted file mode 100644 index d733b6eb8a38..000000000000 --- a/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServer.Recording.json +++ /dev/null @@ -1,158 +0,0 @@ -{ - "Get-AzPostgreSqlFlexibleServer+[NoContext]+List1+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSql/flexibleServers?api-version=2020-02-14-preview+1": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSql/flexibleServers?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "1" ], - "x-ms-client-request-id": [ "1845abef-64f5-4284-aadf-011562d4d5b7" ], - "CommandName": [ "Get-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Get-AzPostgreSqlFlexibleServer_List1" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-original-request-ids": [ "8d66d2bc-4f67-4425-bead-291bc6980a86", "ffb68950-04f4-4618-80e7-1b8bafb02c7c", "9130284a-138b-48fb-80f6-49b162cc70d2", "23c03be4-d6e6-4bcf-aa62-470d9832a021", "b0311350-d485-4b4b-80c6-ad295043321c" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], - "x-ms-request-id": [ "6418c2e5-b4e7-45e1-baca-0e1e0d8401d4" ], - "x-ms-correlation-request-id": [ "6418c2e5-b4e7-45e1-baca-0e1e0d8401d4" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T205830Z:6418c2e5-b4e7-45e1-baca-0e1e0d8401d4" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Wed, 11 Nov 2020 20:58:29 GMT" ] - }, - "ContentHeaders": { - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ], - "Content-Length": [ "46770" ] - }, - "Content": "{\"value\":[{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelian-prod-t0003-u03.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":65536,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-06T14:39:22.905245+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian-prod-t0003/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelian-prod-t0003-u03\",\"name\":\"chelian-prod-t0003-u03\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelian-prod-t0003-u04.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":524288,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-06T15:00:57.2564366+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group0064522515/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelian-prod-t0003-u04\",\"name\":\"chelian-prod-t0003-u04\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelian-prod-t0003-u05.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":524288,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-06T14:50:34.3693353+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian-prod-t0003/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelian-prod-t0003-u05\",\"name\":\"chelian-prod-t0003-u05\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_E2s_v3\",\"tier\":\"MemoryOptimized\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelian-prod-t0004-u03.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-07T04:19:57.3684699+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian-prod-t0004/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelian-prod-t0004-u03-ouji\",\"name\":\"chelian-prod-t0004-u03\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_E2s_v3\",\"tier\":\"MemoryOptimized\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-07T14:05:38.7071496+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian-prod-t0004/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelian-prod-t0004-u03-pitr\",\"name\":\"chelian-prod-t0004-u03-pitr\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_E2s_v3\",\"tier\":\"MemoryOptimized\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelian-prod-t0004-u04.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":1048576,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-06T15:07:08.8962707+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian-prod-t0004/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelian-prod-t0004-u04\",\"name\":\"chelian-prod-t0004-u04\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_E2s_v3\",\"tier\":\"MemoryOptimized\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelian-prod-t0004-u05.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":1048576,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-07T04:26:49.8990926+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian-prod-t0004/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelian-prod-t0004-u05-uwip\",\"name\":\"chelian-prod-t0004-u05\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D4s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":4},\"properties\":{\"fullyQualifiedDomainName\":\"huihvnetjae09212033fspg.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/huihvnetjae09212033/providers/Microsoft.Network/virtualNetworks/huihvnetjae09212033-vnet/subnets/huihvnetjae09212033-vnet-subnet\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"storageProfile\":{\"storageMB\":2097152,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:29.8721055+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/huihvnetjae09212033/providers/Microsoft.DBforPostgreSQL/flexibleServers/huihvnetjae09212033fspg\",\"name\":\"huihvnetjae09212033fspg\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"pg-test233.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:29.8721055+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/zhjtest/providers/Microsoft.DBforPostgreSQL/flexibleServers/pg-test233\",\"name\":\"pg-test233\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"createtest.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"adminuser\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T20:19:27.7999027+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/daeun-powershell-postgresql/providers/Microsoft.DBforPostgreSQL/flexibleServers/createtest\",\"name\":\"createtest\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"daeun-powershell-pgserver.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"daeunyim\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"\",\"state\":\"Stopped\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":13},\"earliestRestoreDate\":\"2020-11-07T22:29:47.8237558+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/daeun-powershell-postgresql/providers/Microsoft.DBforPostgreSQL/flexibleServers/daeun-powershell-pgserver\",\"name\":\"daeun-powershell-pgserver\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B2s\",\"tier\":\"Burstable\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"kalyans-flex1.postgres.database.azure.com\",\"version\":\"11\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"pguser\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":32768,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2582548+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/KalyanSRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/kalyans-flex1\",\"name\":\"kalyans-flex1\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"mjtest-cli.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"lovingGnat8\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-05T19:25:08.0949758+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/moljain-flexserver/providers/Microsoft.DBforPostgreSQL/flexibleServers/mjtest-cli\",\"name\":\"mjtest-cli\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"nik1110-flex001.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"azureuser\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/akamath/providers/Microsoft.Network/virtualNetworks/eastusflexvnet/subnets/eastusflexsubnet\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T06:17:17.4434069+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/nik1110-flex001/providers/Microsoft.DBforPostgreSQL/flexibleServers/nik1110-flex001\",\"name\":\"nik1110-flex001\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D8s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":8},\"properties\":{\"fullyQualifiedDomainName\":\"pgbouncerdemo.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2582548+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/akamath/providers/Microsoft.DBforPostgreSQL/flexibleServers/pgbouncerdemo\",\"name\":\"pgbouncerdemo\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"pg-test-restore.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"daeunyim\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-07T23:03:43.0105302+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/daeun-powershell-postgresql/providers/Microsoft.DBforPostgreSQL/flexibleServers/pg-test-restore\",\"name\":\"pg-test-restore\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"adminuser\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"\",\"state\":\"Stopped\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T20:47:55.6257742+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"postgresql_test\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T18:30:21.1770084+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"server682508346.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"pensiveMacaw8\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group4297177205/providers/Microsoft.Network/virtualNetworks/VNET682508346/subnets/Subnet682508346\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T21:33:27.7387151+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group4297177205/providers/Microsoft.DBforPostgreSQL/flexibleServers/server682508346\",\"name\":\"server682508346\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"tzsynapsetest.postgres.database.azure.com\",\"version\":\"11\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"tezhang\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2582548+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/tzsynapsetestrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/tzsynapsetest\",\"name\":\"tzsynapsetest\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"tzsynapsetest1.postgres.database.azure.com\",\"version\":\"11\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"tezhang\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2582548+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/tzsynapsetestrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/tzsynapsetest1\",\"name\":\"tzsynapsetest1\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelianeus22.postgres.database.azure.com\",\"version\":\"11\",\"standbyCount\":1,\"haEnabled\":\"Enabled\",\"administratorLogin\":\"chelian\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"Healthy\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.1186501+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelianeus22\",\"name\":\"chelianeus22\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelianeus22a.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"chelianeus22\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian-eus22-u0377-u01/providers/Microsoft.Network/virtualNetworks/chelian-eus22-u0377-u01-vnet/subnets/chelian-eus22-u0377-u01-vnet-sub0\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-06T02:30:32.5755568+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelianeus22a\",\"name\":\"chelianeus22a\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"chelianeus22vnet.postgres.database.azure.com\",\"version\":\"11\",\"standbyCount\":1,\"haEnabled\":\"Enabled\",\"administratorLogin\":\"chelian\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian-eus22-u0377-u01/providers/Microsoft.Network/virtualNetworks/chelian-eus22-u0377-u01-vnet/subnets/chelian-eus22-u0377-u01-vnet-sub0\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"Healthy\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.1186501+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/chelian/providers/Microsoft.DBforPostgreSQL/flexibleServers/chelianeus22vnet\",\"name\":\"chelianeus22vnet\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"flextestpeering.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/akamath/providers/Microsoft.Network/virtualNetworks/flexvnetorig/subnets/default\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.1186501+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/akamath/providers/Microsoft.DBforPostgreSQL/flexibleServers/flextestpeering\",\"name\":\"flextestpeering\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"teja-test-12-single.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"cloudsa\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-07T00:32:41.4051848+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/teja-test-meru/providers/Microsoft.DBforPostgreSQL/flexibleServers/teja-test-12-single\",\"name\":\"teja-test-12-single\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"xizo-test-public-ip.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"xizo\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.1186501+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/xizo-u0052/providers/Microsoft.DBforPostgreSQL/flexibleServers/xizo-test-public-ip\",\"name\":\"xizo-test-public-ip\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"vikranthtest01.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"vikranth\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2895944+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"West Europe\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vikranthtest01/providers/Microsoft.DBforPostgreSQL/flexibleServers/vikranthtest01\",\"name\":\"vikranthtest01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"ambrahma-pgfs-vnet-4.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"ambrahma\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.Network/virtualNetworks/vnet-ambrahma-pgfs-vnet-4/subnets/subnet-postgresql-flexibleservers\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":32768,\"backupRetentionDays\":8},\"earliestRestoreDate\":\"2020-11-04T20:17:08.8259711+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.DBforPostgreSQL/flexibleServers/ambrahma-pgfs-vnet-4\",\"name\":\"ambrahma-pgfs-vnet-4\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"ambrahma-pgfs-vnet-6.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"ambrahma\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.Network/virtualNetworks/vnet-ambrahma-pgfs-vnet-6/subnets/subnet-postgresql-flexibleservers\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":32768,\"backupRetentionDays\":8},\"earliestRestoreDate\":\"2020-11-04T20:34:26.3449676+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.DBforPostgreSQL/flexibleServers/ambrahma-pgfs-vnet-6\",\"name\":\"ambrahma-pgfs-vnet-6\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"ambrahma-pgfs-vnet-7.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"ambrahma\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.Network/virtualNetworks/vnet-ambrahma-pgfs-vnet-6/subnets/subnet-postgresql-flexibleservers\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":32768,\"backupRetentionDays\":8},\"earliestRestoreDate\":\"2020-11-04T21:38:58.7097105+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.DBforPostgreSQL/flexibleServers/ambrahma-pgfs-vnet-7\",\"name\":\"ambrahma-pgfs-vnet-7\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"ambrahma-pgfs-vnet-8.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"ambrahma\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.Network/virtualNetworks/vnet-ambrahma-pgfs-vnet-6/subnets/default\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":32768,\"backupRetentionDays\":8},\"earliestRestoreDate\":\"2020-11-04T21:58:12.067413+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.DBforPostgreSQL/flexibleServers/ambrahma-pgfs-vnet-8\",\"name\":\"ambrahma-pgfs-vnet-8\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"ambrahma-pgfs-vnet-9.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"ambrahma\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":32768,\"backupRetentionDays\":8},\"earliestRestoreDate\":\"2020-11-04T22:25:30.0433317+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/ambrahma-rg/providers/Microsoft.DBforPostgreSQL/flexibleServers/ambrahma-pgfs-vnet-9\",\"name\":\"ambrahma-pgfs-vnet-9\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"identity\":{\"principalId\":\"ac7286b4-1177-4734-b7e4-d3fc4fcb87b7\",\"type\":\"SystemAssigned\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"fullyQualifiedDomainName\":\"byok-pgfs-1.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"shinim\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Enabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/meruacr/providers/Microsoft.DBforPostgreSQL/flexibleServers/byok-pgfs-1\",\"name\":\"byok-pgfs-1\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"flexhavnet.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":1,\"haEnabled\":\"Enabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/akamath/providers/Microsoft.Network/virtualNetworks/canaryvnetflex/subnets/canaryflexsubnet\"},\"logBackupStorageSku\":\"\",\"haState\":\"Healthy\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":524288,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/akamath/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexhavnet-pvsc\",\"name\":\"flexhavnet\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B2s\",\"tier\":\"Burstable\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-b2s-2core.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":524288,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-b2s-2core\",\"name\":\"flexserverpg-canary-perf-b2s-2core\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D16s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":16},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-16core.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":8388608,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-16core\",\"name\":\"flexserverpg-canary-perf-gp-16core\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-2core.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":524288,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-2core\",\"name\":\"flexserverpg-canary-perf-gp-2core\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-2core-2.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-2core-2\",\"name\":\"flexserverpg-canary-perf-gp-2core-2\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-2core-3.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-2core-3\",\"name\":\"flexserverpg-canary-perf-gp-2core-3\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D4s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":4},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-4core.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":2097152,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-4core\",\"name\":\"flexserverpg-canary-perf-gp-4core\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D8s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":8},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-8core.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":2097152,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-8core\",\"name\":\"flexserverpg-canary-perf-gp-8core\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D8s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":8},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-8core-ha2.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":1,\"haEnabled\":\"Enabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"Healthy\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":2097152,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-8core-ha2\",\"name\":\"flexserverpg-canary-perf-gp-8core-ha2\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D8s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":8},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-8core-pg11.postgres.database.azure.com\",\"version\":\"11\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":2097152,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-8core-pg11\",\"name\":\"flexserverpg-canary-perf-gp-8core-pg11\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D8s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":8},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-gp-8core-vnet.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.Network/virtualNetworks/flexserverpg-canary-vnet/subnets/default\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":2097152,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-gp-8core-vnet\",\"name\":\"flexserverpg-canary-perf-gp-8core-vnet\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_E8s_v3\",\"tier\":\"MemoryOptimized\",\"capacity\":8},\"properties\":{\"fullyQualifiedDomainName\":\"flexserverpg-canary-perf-mo-8core.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"meruperf\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":2097152,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{\"DONOTDELETE\":\"DONOTDELETE\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MeruPerf/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexserverpg-canary-perf-mo-8core\",\"name\":\"flexserverpg-canary-perf-mo-8core\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"flexvnetm4new.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":1,\"haEnabled\":\"Enabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/akamath/providers/Microsoft.Network/virtualNetworks/canaryvnetflex/subnets/canaryflexsubnet\"},\"logBackupStorageSku\":\"\",\"haState\":\"Healthy\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":524288,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/akamath/providers/Microsoft.DBforPostgreSQL/flexibleServers/flexvnetm4new-yumj\",\"name\":\"flexvnetm4new\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D4s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":4},\"properties\":{\"fullyQualifiedDomainName\":\"senkupfspg1.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":1,\"haEnabled\":\"Enabled\",\"administratorLogin\":\"senkupadmin\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"\",\"haState\":\"RecreatingStandby\",\"state\":\"Updating\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":524288,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/senkuprg/providers/Microsoft.DBforPostgreSQL/flexibleServers/senkupfspg1-zbom\",\"name\":\"senkupfspg1\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"taocanaryvnet1.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vnetcanarytestrg/providers/Microsoft.Network/virtualNetworks/customer-vnet2/subnets/fspg-subnet\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vnettestcustomerrg9/providers/Microsoft.DBforPostgreSQL/flexibleServers/taocanaryvnet1\",\"name\":\"taocanaryvnet1\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D4s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":4},\"properties\":{\"fullyQualifiedDomainName\":\"taotestvnetfspg1.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vnetcanarytestrg/providers/Microsoft.Network/virtualNetworks/eus2euapfspgtestvnet1/subnets/fspg-subnet\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vnetcanarytestrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/taotestvnetfspg1\",\"name\":\"taotestvnetfspg1\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D4s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":4},\"properties\":{\"fullyQualifiedDomainName\":\"taotestvnetfspg2.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Disabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"\",\"state\":\"Provisioning\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":32768,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vnetcanarytestrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/taotestvnetfspg2\",\"name\":\"taotestvnetfspg2\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D4s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":4},\"properties\":{\"fullyQualifiedDomainName\":\"testvnetwithserviceendpoint.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"postgres\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vnetcanarytestrg/providers/Microsoft.Network/virtualNetworks/testvnetwithserviceendpoint/subnets/fspg-subnet\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vnetcanarytestrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testvnetwithserviceendpoint\",\"name\":\"testvnetwithserviceendpoint\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D16s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":16},\"properties\":{\"fullyQualifiedDomainName\":\"vikranthtest2.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":1,\"haEnabled\":\"Enabled\",\"administratorLogin\":\"vikranth\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"\",\"state\":\"Starting\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-04T20:58:30.2698497+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2 EUAP\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/vikranthtest02/providers/Microsoft.DBforPostgreSQL/flexibleServers/vikranthtest2\",\"name\":\"vikranthtest2\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}]}" - } - }, - "Get-AzPostgreSqlFlexibleServer+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview+1": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "2" ], - "x-ms-client-request-id": [ "84ff7ff5-3933-4804-977f-85694f6fb8c2" ], - "CommandName": [ "Get-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Get-AzPostgreSqlFlexibleServer_Get" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "e4cb5a0a-f2b4-4539-b65e-f5666ae2b6a7" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], - "x-ms-correlation-request-id": [ "41475abd-b110-469d-a1c3-da0e860dec70" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T205830Z:41475abd-b110-469d-a1c3-da0e860dec70" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 20:58:30 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "871" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"adminuser\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"\",\"state\":\"Stopped\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T20:47:55.6257742+00:00\",\"byokEnforcement\":\"Disabled\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0}},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}" - } - }, - "Get-AzPostgreSqlFlexibleServer+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers?api-version=2020-02-14-preview+1": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "20a5d47c-c233-455b-b569-18d0921fa1c0" ], - "CommandName": [ "Get-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Get-AzPostgreSqlFlexibleServer_List" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "77c23183-41bc-4ae0-8655-8dba9ce3844f" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], - "x-ms-correlation-request-id": [ "80756e92-89b1-49eb-ae0b-12d36aadf61d" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T205831Z:80756e92-89b1-49eb-ae0b-12d36aadf61d" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 20:58:30 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "1591" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"value\":[{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"adminuser\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"\",\"state\":\"Stopped\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T20:47:55.6257742+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"postgresql_test\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T18:30:21.1770084+00:00\",\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}]}" - } - }, - "Get-AzPostgreSqlFlexibleServer+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview+1": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "32599cb1-1871-4fb0-840d-767a5ef49c0a" ], - "CommandName": [ "Get-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Get-AzPostgreSqlFlexibleServer_GetViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "29fadd71-65b1-496e-aa85-a280b4eafc73" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], - "x-ms-correlation-request-id": [ "299774a4-7148-48ed-8a53-d5c019a7ab34" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T205831Z:299774a4-7148-48ed-8a53-d5c019a7ab34" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 20:58:30 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "871" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"adminuser\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"\",\"state\":\"Stopped\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T20:47:55.6257742+00:00\",\"byokEnforcement\":\"Disabled\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0}},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}" - } - } -} \ No newline at end of file diff --git a/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServer.Tests.ps1 b/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServer.Tests.ps1 deleted file mode 100644 index 07486620731d..000000000000 --- a/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServer.Tests.ps1 +++ /dev/null @@ -1,43 +0,0 @@ -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzPostgreSqlFlexibleServer.Recording.json' -$currentPath = $PSScriptRoot -while(-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - -Describe 'Get-AzPostgreSqlFlexibleServer' { - It 'List1' { - { - $servers = Get-AzPostgreSqlFlexibleServer - $servers.Count | Should -BeGreaterOrEqual 1 - } | Should -Not -Throw - } - - It 'Get' { - { - $servers = Get-AzPostgreSqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName - $servers.Name | Should -Be $env.serverName - } | Should -Not -Throw - } - - It 'List' { - { - $servers = Get-AzPostgreSqlFlexibleServer -ResourceGroupName $env.resourceGroup - $servers.Count | Should -BeGreaterOrEqual 1 - } | Should -Not -Throw - } - - It 'GetViaIdentity' { - { - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSql/flexibleServers/$($env.serverName)" - $servers = Get-AzPostgreSqlFlexibleServer -InputObject $ID - $servers.Name | Should -Be $env.serverName - } | Should -Not -Throw - } -} diff --git a/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerConfiguration.Recording.json b/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerConfiguration.Recording.json deleted file mode 100644 index 826be021c16b..000000000000 --- a/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerConfiguration.Recording.json +++ /dev/null @@ -1,119 +0,0 @@ -{ - "Get-AzPostgreSqlFlexibleServerConfiguration+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/configurations?api-version=2020-02-14-preview+1": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/configurations?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "5" ], - "x-ms-client-request-id": [ "aa0cfbe0-61c7-4216-ae36-e078841e35a9" ], - "CommandName": [ "Get-AzPostgreSqlFlexibleServerConfiguration" ], - "FullCommandName": [ "Get-AzPostgreSqlFlexibleServerConfiguration_List" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "6b8b8910-5991-4cbd-81f9-ae9d7c646e6a" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], - "x-ms-correlation-request-id": [ "397eed2f-0614-4627-b1b1-8d12834f6120" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T064239Z:397eed2f-0614-4627-b1b1-8d12834f6120" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:42:39 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "93653" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"value\":[{\"properties\":{\"value\":\"\",\"description\":\"Sets the application name to be reported in statistics and logs.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9._-]*\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/application_name\",\"name\":\"application_name\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1800\",\"description\":\"Forces a switch to the next WAL file if a new file has not been started within N seconds.\",\"defaultValue\":\"1800\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1073741823\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/archive_timeout\",\"name\":\"archive_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables input of NULL elements in arrays.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/array_nulls\",\"name\":\"array_nulls\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Starts the autovacuum subprocess.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/autovacuum\",\"name\":\"autovacuum\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0.1\",\"description\":\"Number of tuple inserts, updates, or deletes prior to analyze as a fraction of reltuples.\",\"defaultValue\":\"0.1\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-100\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/autovacuum_analyze_scale_factor\",\"name\":\"autovacuum_analyze_scale_factor\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"Minimum number of tuple inserts, updates, or deletes prior to analyze.\",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/autovacuum_analyze_threshold\",\"name\":\"autovacuum_analyze_threshold\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"200000000\",\"description\":\"Age at which to autovacuum a table to prevent transaction ID wraparound. Any change requires restarting the server to take effect.\",\"defaultValue\":\"200000000\",\"dataType\":\"Integer\",\"allowedValues\":\"100000-2000000000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/autovacuum_freeze_max_age\",\"name\":\"autovacuum_freeze_max_age\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Sets the maximum number of simultaneously running autovacuum worker processes. Any change requires restarting the server to take effect.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"1-262143\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/autovacuum_max_workers\",\"name\":\"autovacuum_max_workers\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"400000000\",\"description\":\"Multixact age at which to autovacuum a table to prevent multixact wraparound. Any change requires restarting the server to take effect.\",\"defaultValue\":\"400000000\",\"dataType\":\"Integer\",\"allowedValues\":\"10000-2000000000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/autovacuum_multixact_freeze_max_age\",\"name\":\"autovacuum_multixact_freeze_max_age\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"60\",\"description\":\"Time to sleep between autovacuum runs.\",\"defaultValue\":\"60\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/autovacuum_naptime\",\"name\":\"autovacuum_naptime\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Vacuum cost delay in milliseconds, for autovacuum.\",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-100\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/autovacuum_vacuum_cost_delay\",\"name\":\"autovacuum_vacuum_cost_delay\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Vacuum cost amount available before napping, for autovacuum.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-10000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/autovacuum_vacuum_cost_limit\",\"name\":\"autovacuum_vacuum_cost_limit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0.2\",\"description\":\"Number of tuple updates or deletes prior to vacuum as a fraction of reltuples.\",\"defaultValue\":\"0.2\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-100\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/autovacuum_vacuum_scale_factor\",\"name\":\"autovacuum_vacuum_scale_factor\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"Minimum number of tuple updates or deletes prior to vacuum.\",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/autovacuum_vacuum_threshold\",\"name\":\"autovacuum_vacuum_threshold\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Sets the maximum memory to be used by each autovacuum worker process.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2097151\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/autovacuum_work_mem\",\"name\":\"autovacuum_work_mem\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Number of pages after which previously performed writes are flushed to disk.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/backend_flush_after\",\"name\":\"backend_flush_after\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"safe_encoding\",\"description\":\"Sets whether \\\"\\\\\u0027\\\" is allowed in string literals.\",\"defaultValue\":\"safe_encoding\",\"dataType\":\"Enumeration\",\"allowedValues\":\"safe_encoding,on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/backslash_quote\",\"name\":\"backslash_quote\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"Background writer sleep time between rounds.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"10-10000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/bgwriter_delay\",\"name\":\"bgwriter_delay\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"Number of pages after which previously performed writes are flushed to disk.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/bgwriter_flush_after\",\"name\":\"bgwriter_flush_after\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"Background writer maximum number of LRU pages to flush per round.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1073741823\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/bgwriter_lru_maxpages\",\"name\":\"bgwriter_lru_maxpages\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Multiple of the average buffer usage to free per round.\",\"defaultValue\":\"2\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-10\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/bgwriter_lru_multiplier\",\"name\":\"bgwriter_lru_multiplier\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"hex\",\"description\":\"Sets the output format for bytea.\",\"defaultValue\":\"hex\",\"dataType\":\"Enumeration\",\"allowedValues\":\"escape,hex\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/bytea_output\",\"name\":\"bytea_output\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Checks function bodies during CREATE FUNCTION.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/check_function_bodies\",\"name\":\"check_function_bodies\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0.5\",\"description\":\"Time spent flushing dirty buffers during checkpoint, as fraction of checkpoint interval.\",\"defaultValue\":\"0.5\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/checkpoint_completion_target\",\"name\":\"checkpoint_completion_target\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"300\",\"description\":\"Sets the maximum time between automatic WAL checkpoints.\",\"defaultValue\":\"300\",\"dataType\":\"Integer\",\"allowedValues\":\"30-86400\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/checkpoint_timeout\",\"name\":\"checkpoint_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"30\",\"description\":\"Enables warnings if checkpoint segments are filled more frequently than this.\",\"defaultValue\":\"30\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/checkpoint_warning\",\"name\":\"checkpoint_warning\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"sql_ascii\",\"description\":\"Sets the client\u0027s character set encoding.\",\"defaultValue\":\"sql_ascii\",\"dataType\":\"Enumeration\",\"allowedValues\":\"BIG5,EUC_CN,EUC_JP,EUC_JIS_2004,EUC_KR,EUC_TW,GB18030,GBK,ISO_8859_5,ISO_8859_6,ISO_8859_7,ISO_8859_8,JOHAB,KOI8R,KOI8U,LATIN1,LATIN2,LATIN3,LATIN4,LATIN5,LATIN6,LATIN7,LATIN8,LATIN9,LATIN10,MULE_INTERNAL,SJIS,SHIFT_JIS_2004,SQL_ASCII,UHC,UTF8,WIN866,WIN874,WIN1250,WIN1251,WIN1252,WIN1253,WIN1254,WIN1255,WIN1256,WIN1257,WIN1258\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/client_encoding\",\"name\":\"client_encoding\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"notice\",\"description\":\"Sets the message levels that are sent to the client.\",\"defaultValue\":\"notice\",\"dataType\":\"Enumeration\",\"allowedValues\":\"debug5,debug4,debug3,debug2,debug1,log,notice,warning,error\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/client_min_messages\",\"name\":\"client_min_messages\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the delay in microseconds between transaction commit and flushing WAL to disk.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/commit_delay\",\"name\":\"commit_delay\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"5\",\"description\":\"Sets the minimum concurrent open transactions before performing commit_delay.\",\"defaultValue\":\"5\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/commit_siblings\",\"name\":\"commit_siblings\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"partition\",\"description\":\"Enables the planner to use constraints to optimize queries.\",\"defaultValue\":\"partition\",\"dataType\":\"Enumeration\",\"allowedValues\":\"partition,on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/constraint_exclusion\",\"name\":\"constraint_exclusion\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0.005\",\"description\":\"Sets the planner\u0027s estimate of the cost of processing each index entry during an index scan.\",\"defaultValue\":\"0.005\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/cpu_index_tuple_cost\",\"name\":\"cpu_index_tuple_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0.0025\",\"description\":\"Sets the planner\u0027s estimate of the cost of processing each operator or function call.\",\"defaultValue\":\"0.0025\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/cpu_operator_cost\",\"name\":\"cpu_operator_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0.01\",\"description\":\"Sets the planner\u0027s estimate of the cost of processing each tuple (row).\",\"defaultValue\":\"0.01\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/cpu_tuple_cost\",\"name\":\"cpu_tuple_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0.1\",\"description\":\"Sets the planner\u0027s estimate of the fraction of a cursor\u0027s rows that will be retrieved.\",\"defaultValue\":\"0.1\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/cursor_tuple_fraction\",\"name\":\"cursor_tuple_fraction\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ISO, MDY\",\"description\":\"Sets the display format for date and time values.\",\"defaultValue\":\"ISO, MDY\",\"dataType\":\"String\",\"allowedValues\":\"(ISO|POSTGRES|SQL|GERMAN)(, (DMY|MDY|YMD))?\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/DateStyle\",\"name\":\"DateStyle\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1000\",\"description\":\"Sets the amount of time, in milliseconds, to wait on a lock before checking for deadlock.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/deadlock_timeout\",\"name\":\"deadlock_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Indents parse and plan tree displays.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/debug_pretty_print\",\"name\":\"debug_pretty_print\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs each query\u0027s parse tree.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/debug_print_parse\",\"name\":\"debug_print_parse\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs each query\u0027s execution plan.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/debug_print_plan\",\"name\":\"debug_print_plan\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs each query\u0027s rewritten parse tree.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/debug_print_rewritten\",\"name\":\"debug_print_rewritten\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"Sets the default statistics target.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/default_statistics_target\",\"name\":\"default_statistics_target\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Sets the default tablespace to create tables and indexes in.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z._]*\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/default_tablespace\",\"name\":\"default_tablespace\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"pg_catalog.english\",\"description\":\"Sets default text search configuration.\",\"defaultValue\":\"pg_catalog.english\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z._]+\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/default_text_search_config\",\"name\":\"default_text_search_config\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Sets the default deferrable status of new transactions.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/default_transaction_deferrable\",\"name\":\"default_transaction_deferrable\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"read committed\",\"description\":\"Sets the transaction isolation level of each new transaction.\",\"defaultValue\":\"read committed\",\"dataType\":\"Enumeration\",\"allowedValues\":\"serializable,repeatable read,read committed,read uncommitted\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/default_transaction_isolation\",\"name\":\"default_transaction_isolation\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Sets the default read-only status of new transactions.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/default_transaction_read_only\",\"name\":\"default_transaction_read_only\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Creates new tables with OIDs by default.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/default_with_oids\",\"name\":\"default_with_oids\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"786432\",\"description\":\"Sets the planner\u0027s assumption about the size of the disk cache.\",\"defaultValue\":\"786432\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/effective_cache_size\",\"name\":\"effective_cache_size\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Sets the number of concurrent disk I/O operations that PostgreSQL expects can be executed simultaneously.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/effective_io_concurrency\",\"name\":\"effective_io_concurrency\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of bitmap-scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_bitmapscan\",\"name\":\"enable_bitmapscan\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of gather merge plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_gathermerge\",\"name\":\"enable_gathermerge\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of hashed aggregation plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_hashagg\",\"name\":\"enable_hashagg\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of hash join plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_hashjoin\",\"name\":\"enable_hashjoin\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of index-only-scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_indexonlyscan\",\"name\":\"enable_indexonlyscan\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of index-scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_indexscan\",\"name\":\"enable_indexscan\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of materialization.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_material\",\"name\":\"enable_material\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of merge join plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_mergejoin\",\"name\":\"enable_mergejoin\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of nested loop join plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_nestloop\",\"name\":\"enable_nestloop\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Enables or disables the query planner\u0027s use of partitionwise grouping or aggregation, which allows grouping or aggregation on a partitioned tables performed separately for each partition.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_partitionwise_aggregate\",\"name\":\"enable_partitionwise_aggregate\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Enables or disables the query planner\u0027s use of partitionwise join, which allows a join between partitioned tables to be performed by joining the matching partitions.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_partitionwise_join\",\"name\":\"enable_partitionwise_join\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of sequential-scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_seqscan\",\"name\":\"enable_seqscan\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of explicit sort steps.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_sort\",\"name\":\"enable_sort\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables the planner\u0027s use of TID scan plans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/enable_tidscan\",\"name\":\"enable_tidscan\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Warns about backslash escapes in ordinary string literals.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/escape_string_warning\",\"name\":\"escape_string_warning\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Terminates session on any error.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/exit_on_error\",\"name\":\"exit_on_error\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Sets the number of digits displayed for floating-point values.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"-15-3\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/extra_float_digits\",\"name\":\"extra_float_digits\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Forces use of parallel query facilities.\",\"defaultValue\":\"off\",\"dataType\":\"Enumeration\",\"allowedValues\":\"off,on,regress\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/force_parallel_mode\",\"name\":\"force_parallel_mode\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"Sets the FROM-list size beyond which subqueries are not collapsed.\",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/from_collapse_limit\",\"name\":\"from_collapse_limit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables genetic query optimization.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/geqo\",\"name\":\"geqo\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"5\",\"description\":\"GEQO: effort is used to set the default for other GEQO parameters.\",\"defaultValue\":\"5\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/geqo_effort\",\"name\":\"geqo_effort\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"GEQO: number of iterations of the algorithm.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/geqo_generations\",\"name\":\"geqo_generations\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"GEQO: number of individuals in the population.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/geqo_pool_size\",\"name\":\"geqo_pool_size\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"GEQO: seed for random path selection.\",\"defaultValue\":\"0\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/geqo_seed\",\"name\":\"geqo_seed\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"GEQO: selective pressure within the population.\",\"defaultValue\":\"2\",\"dataType\":\"Numeric\",\"allowedValues\":\"1.5-2\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/geqo_selection_bias\",\"name\":\"geqo_selection_bias\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"12\",\"description\":\"Sets the threshold of FROM items beyond which GEQO is used.\",\"defaultValue\":\"12\",\"dataType\":\"Integer\",\"allowedValues\":\"2-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/geqo_threshold\",\"name\":\"geqo_threshold\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum allowed result for exact search by GIN.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/gin_fuzzy_search_limit\",\"name\":\"gin_fuzzy_search_limit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"Sets the maximum size of the pending list for GIN index.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"64-2097151\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/gin_pending_list_limit\",\"name\":\"gin_pending_list_limit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"try\",\"description\":\"Enables/disables the use of huge memory pages. Changing this value requires server restart. This setting is not applicable to servers having less than 4 vCores.\",\"defaultValue\":\"try\",\"dataType\":\"Enumeration\",\"allowedValues\":\"on,off,try\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/huge_pages\",\"name\":\"huge_pages\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum allowed duration of any idling transaction.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/idle_in_transaction_session_timeout\",\"name\":\"idle_in_transaction_session_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"postgres\",\"description\":\"Sets the display format for interval values.\",\"defaultValue\":\"postgres\",\"dataType\":\"Enumeration\",\"allowedValues\":\"postgres,postgres_verbose,sql_standard,iso_8601\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/IntervalStyle\",\"name\":\"IntervalStyle\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Determines whether JIT compilation may be used by PostgreSQL.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on, off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/jit\",\"name\":\"jit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"100000\",\"description\":\"Sets the query cost above which JIT compilation is activated, if enabled.\",\"defaultValue\":\"100000\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/jit_above_cost\",\"name\":\"jit_above_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"500000\",\"description\":\"Sets the query cost above which JIT compilation attempts to inline functions and operators.\",\"defaultValue\":\"500000\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/jit_inline_above_cost\",\"name\":\"jit_inline_above_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"500000\",\"description\":\"Sets the query cost above which JIT compilation applies expensive optimizations.\",\"defaultValue\":\"500000\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/jit_optimize_above_cost\",\"name\":\"jit_optimize_above_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"Sets the FROM-list size beyond which JOIN constructs are not flattened.\",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/join_collapse_limit\",\"name\":\"join_collapse_limit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"en_US.utf-8\",\"description\":\"Sets the locale for formatting monetary amounts.\",\"defaultValue\":\"en_US.utf-8\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9._ -]+\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/lc_monetary\",\"name\":\"lc_monetary\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"en_US.utf-8\",\"description\":\"Sets the locale for formatting numbers.\",\"defaultValue\":\"en_US.utf-8\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9._ -]+\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/lc_numeric\",\"name\":\"lc_numeric\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Enables backward compatibility mode for privilege checks on large objects.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/lo_compat_privileges\",\"name\":\"lo_compat_privileges\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum allowed duration (in milliseconds) of any wait for a lock. 0 turns this off.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/lock_timeout\",\"name\":\"lock_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Sets the minimum execution time above which autovacuum actions will be logged.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_autovacuum_min_duration\",\"name\":\"log_autovacuum_min_duration\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Logs each checkpoint.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_checkpoints\",\"name\":\"log_checkpoints\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs each successful connection.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_connections\",\"name\":\"log_connections\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"stderr\",\"description\":\"Sets the destination for server log output.\",\"defaultValue\":\"stderr\",\"dataType\":\"Enumeration\",\"allowedValues\":\"stderr,csvlog\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_destination\",\"name\":\"log_destination\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs end of a session, including duration.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_disconnections\",\"name\":\"log_disconnections\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs the duration of each completed SQL statement.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_duration\",\"name\":\"log_duration\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"default\",\"description\":\"Sets the verbosity of logged messages.\",\"defaultValue\":\"default\",\"dataType\":\"Enumeration\",\"allowedValues\":\"terse,default,verbose\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_error_verbosity\",\"name\":\"log_error_verbosity\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs long lock waits.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_lock_waits\",\"name\":\"log_lock_waits\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Sets the minimum execution time (in milliseconds) above which statements will be logged. -1 disables logging statement durations.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_min_duration_statement\",\"name\":\"log_min_duration_statement\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"error\",\"description\":\"Causes all statements generating error at or above this level to be logged.\",\"defaultValue\":\"error\",\"dataType\":\"Enumeration\",\"allowedValues\":\"debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_min_error_statement\",\"name\":\"log_min_error_statement\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"warning\",\"description\":\"Sets the message levels that are logged.\",\"defaultValue\":\"warning\",\"dataType\":\"Enumeration\",\"allowedValues\":\"debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_min_messages\",\"name\":\"log_min_messages\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Logs each replication command.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_replication_commands\",\"name\":\"log_replication_commands\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"none\",\"description\":\"Sets the type of statements logged.\",\"defaultValue\":\"none\",\"dataType\":\"Enumeration\",\"allowedValues\":\"none,ddl,mod,all\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_statement\",\"name\":\"log_statement\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"For each query, writes cumulative performance statistics to the server log.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_statement_stats\",\"name\":\"log_statement_stats\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Logs the use of temporary files larger than this number of kilobytes.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/log_temp_files\",\"name\":\"log_temp_files\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"216064\",\"description\":\"Sets the maximum memory to be used for maintenance operations.\",\"defaultValue\":\"216064\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-2097151\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/maintenance_work_mem\",\"name\":\"maintenance_work_mem\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"859\",\"description\":\"Sets the maximum number of concurrent connections. Any change requires restarting the server to take effect.\",\"defaultValue\":\"859\",\"dataType\":\"Integer\",\"allowedValues\":\"25-5000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_connections\",\"name\":\"max_connections\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"Sets the maximum number of locks per transaction. Any change requires restarting the server to take effect. When running a replica server, you must set this parameter to the same or higher value than on the master server.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"10-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_locks_per_transaction\",\"name\":\"max_locks_per_transaction\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"Sets the maximum number of parallel workers than can be active at one time.\",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1024\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_parallel_workers\",\"name\":\"max_parallel_workers\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Sets the maximum number of parallel processes per executor node.\",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1024\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_parallel_workers_per_gather\",\"name\":\"max_parallel_workers_per_gather\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Sets the maximum number of predicate-locked tuples per page.\",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_pred_locks_per_page\",\"name\":\"max_pred_locks_per_page\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"-2\",\"description\":\"Sets the maximum number of predicate-locked pages and tuples per relation.\",\"defaultValue\":\"-2\",\"dataType\":\"Integer\",\"allowedValues\":\"-2147483648-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_pred_locks_per_relation\",\"name\":\"max_pred_locks_per_relation\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum number of simultaneously prepared transactions. Any change requires restarting the server to take effect. When running a replica server, you must set this parameter to the same or higher value than on the master server.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-262143\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_prepared_transactions\",\"name\":\"max_prepared_transactions\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Sets the maximum number of simultaneously defined replication slots.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-262143\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_replication_slots\",\"name\":\"max_replication_slots\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"30000\",\"description\":\"Sets the maximum delay before canceling queries when a hot standby server is processing archived WAL data.\",\"defaultValue\":\"30000\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_standby_archive_delay\",\"name\":\"max_standby_archive_delay\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"30000\",\"description\":\"Sets the maximum delay before canceling queries when a hot standby server is processing streamed WAL data.\",\"defaultValue\":\"30000\",\"dataType\":\"Integer\",\"allowedValues\":\"-1-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_standby_streaming_delay\",\"name\":\"max_standby_streaming_delay\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Maximum number of table synchronization workers per subscription.\",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"0-262143\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_sync_workers_per_subscription\",\"name\":\"max_sync_workers_per_subscription\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Sets the maximum number of simultaneously running WAL sender processes.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_wal_senders\",\"name\":\"max_wal_senders\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"32768\",\"description\":\"Sets the WAL size that triggers a checkpoint.\",\"defaultValue\":\"32768\",\"dataType\":\"Integer\",\"allowedValues\":\"2-65536\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_wal_size\",\"name\":\"max_wal_size\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"Sets the maximum number of background processes that the system can support.\",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"0-262143\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/max_worker_processes\",\"name\":\"max_worker_processes\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"Sets the minimum amount of index data for a parallel scan.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"0-715827882\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/min_parallel_index_scan_size\",\"name\":\"min_parallel_index_scan_size\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"Sets the minimum amount of table data for a parallel scan.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"0-715827882\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/min_parallel_table_scan_size\",\"name\":\"min_parallel_table_scan_size\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"80\",\"description\":\"Sets the minimum size to shrink the WAL to.\",\"defaultValue\":\"80\",\"dataType\":\"Integer\",\"allowedValues\":\"2-2097151\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/min_wal_size\",\"name\":\"min_wal_size\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Emits a warning for constructs that changed meaning since PostgreSQL 9.4.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/operator_precedence_warning\",\"name\":\"operator_precedence_warning\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1000\",\"description\":\"Sets the planner\u0027s estimate of the cost of starting up worker processes for parallel query.\",\"defaultValue\":\"1000\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/parallel_setup_cost\",\"name\":\"parallel_setup_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0.1\",\"description\":\"Sets the planner\u0027s estimate of the cost of passing each tuple (row) from worker to master backend.\",\"defaultValue\":\"0.1\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/parallel_tuple_cost\",\"name\":\"parallel_tuple_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"none\",\"description\":\"Specifies which classes of statements will be logged by session audit logging.\",\"defaultValue\":\"none\",\"dataType\":\"Set\",\"allowedValues\":\"none,read,write,function,role,ddl,misc,all\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pgaudit.log\",\"name\":\"pgaudit.log\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Specifies that session logging should be enabled in the case where all relations in a statement are in pg_catalog.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pgaudit.log_catalog\",\"name\":\"pgaudit.log_catalog\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Specifies whether audit messages should be visible to the client.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pgaudit.log_client\",\"name\":\"pgaudit.log_client\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"log\",\"description\":\"Specifies the log level that will be used for log entries.\",\"defaultValue\":\"log\",\"dataType\":\"Enumeration\",\"allowedValues\":\",debug5,debug4,debug3,debug2,debug1,info,notice,warning,log\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pgaudit.log_level\",\"name\":\"pgaudit.log_level\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Specifies that audit logging should include the parameters that were passed with the statement.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pgaudit.log_parameter\",\"name\":\"pgaudit.log_parameter\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Specifies whether session audit logging should create a separate log entry for each relation referenced in a SELECT or DML statement.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pgaudit.log_relation\",\"name\":\"pgaudit.log_relation\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Specifies whether logging will include the statement text and parameters with the first log entry for a statement/substatement combination or with every entry.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pgaudit.log_statement_once\",\"name\":\"pgaudit.log_statement_once\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Specifies the master role to use for object audit logging.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z\\\\._]*\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pgaudit.role\",\"name\":\"pgaudit.role\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"5000\",\"description\":\"Sets the maximum number of statements tracked by pg_stat_statements. Any change requires restarting the server to take effect.\",\"defaultValue\":\"5000\",\"dataType\":\"Integer\",\"allowedValues\":\"100-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pg_stat_statements.max\",\"name\":\"pg_stat_statements.max\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Save pg_stat_statements statistics across server shutdowns.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pg_stat_statements.save\",\"name\":\"pg_stat_statements.save\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"top\",\"description\":\"Controls which statements are counted by pg_stat_statements.\",\"defaultValue\":\"top\",\"dataType\":\"Enumeration\",\"allowedValues\":\"top,all,none\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pg_stat_statements.track\",\"name\":\"pg_stat_statements.track\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Selects whether utility commands are tracked by pg_stat_statements.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pg_stat_statements.track_utility\",\"name\":\"pg_stat_statements.track_utility\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"apply_remote\",\"description\":\"Sets the resolution method for any detected conflicts between local data and incoming changes.\",\"defaultValue\":\"apply_remote\",\"dataType\":\"Enumeration\",\"allowedValues\":\"error,apply_remote,keep_local,last_update_wins,first_update_wins\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pglogical.conflict_resolution\",\"name\":\"pglogical.conflict_resolution\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"log\",\"description\":\"Sets the log level for reporting detected conflicts when the pglogical.conflict_resolution is set to anything else than error.\",\"defaultValue\":\"log\",\"dataType\":\"Enumeration\",\"allowedValues\":\"debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pglogical.conflict_log_level\",\"name\":\"pglogical.conflict_log_level\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Tells PGLogical to use batch insert mechanism if possible.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pglogical.batch_inserts\",\"name\":\"pglogical.batch_inserts\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Tells PGLogical to use SPI interface to form actual SQL (INSERT, UPDATE, DELETE) statements to apply incoming changes instead of using internal low level interface.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/pglogical.use_spi\",\"name\":\"pglogical.use_spi\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"DISABLE_ALL\",\"description\":\"Controls postgis GDAL enabled driver settings.\",\"defaultValue\":\"DISABLE_ALL\",\"dataType\":\"Enumeration\",\"allowedValues\":\"DISABLE_ALL,ENABLE_ALL\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/postgis.gdal_enabled_drivers\",\"name\":\"postgis.gdal_enabled_drivers\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"When generating SQL fragments, quotes all identifiers.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/quote_all_identifiers\",\"name\":\"quote_all_identifiers\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"Sets the planner\u0027s estimate of the cost of a nonsequentially fetched disk page.\",\"defaultValue\":\"4\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/random_page_cost\",\"name\":\"random_page_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables row security.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/row_security\",\"name\":\"row_security\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\\\"$user\\\", public\",\"description\":\"Sets the schema search order for names that are not schema-qualified.\",\"defaultValue\":\"\\\"$user\\\", public\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z.\\\"$, ]+\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/search_path\",\"name\":\"search_path\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Sets the planner\u0027s estimate of the cost of a sequentially fetched disk page.\",\"defaultValue\":\"1\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-1.79769e+308\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/seq_page_cost\",\"name\":\"seq_page_cost\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"origin\",\"description\":\"Sets the session\u0027s behavior for triggers and rewrite rules.\",\"defaultValue\":\"origin\",\"dataType\":\"Enumeration\",\"allowedValues\":\"origin,replica,local\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/session_replication_role\",\"name\":\"session_replication_role\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Sets the maximum SSL/TLS protocol version to use.\",\"defaultValue\":\"\",\"dataType\":\"Enumeration\",\"allowedValues\":\",TLSv1.2,TLSv1.3\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/ssl_max_protocol_version\",\"name\":\"ssl_max_protocol_version\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"TLSv1.2\",\"description\":\"Sets the minimum SSL/TLS protocol version to use.\",\"defaultValue\":\"TLSv1.2\",\"dataType\":\"Enumeration\",\"allowedValues\":\"TLSv1.2,TLSv1.3\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/ssl_min_protocol_version\",\"name\":\"ssl_min_protocol_version\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Causes \u0027...\u0027 strings to treat backslashes literally.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/standard_conforming_strings\",\"name\":\"standard_conforming_strings\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Sets the maximum allowed duration (in milliseconds) of any statement. 0 turns this off.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/statement_timeout\",\"name\":\"statement_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Enables synchronized sequential scans.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/synchronize_seqscans\",\"name\":\"synchronize_seqscans\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Sets the current transaction\u0027s synchronization level.\",\"defaultValue\":\"on\",\"dataType\":\"Enumeration\",\"allowedValues\":\"local,remote_write,on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/synchronous_commit\",\"name\":\"synchronous_commit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"9\",\"description\":\"Maximum number of TCP keepalive retransmits.\",\"defaultValue\":\"9\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/tcp_keepalives_count\",\"name\":\"tcp_keepalives_count\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"120\",\"description\":\"Time between issuing TCP keepalives.\",\"defaultValue\":\"120\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/tcp_keepalives_idle\",\"name\":\"tcp_keepalives_idle\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"30\",\"description\":\"Time between TCP keepalive retransmits.\",\"defaultValue\":\"30\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/tcp_keepalives_interval\",\"name\":\"tcp_keepalives_interval\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"Sets the maximum number of temporary buffers used by each database session.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"100-1073741823\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/temp_buffers\",\"name\":\"temp_buffers\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Sets the tablespace(s) to use for temporary tables and sort files.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z._]*\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/temp_tablespaces\",\"name\":\"temp_tablespaces\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"UTC\",\"description\":\"Sets the time zone for displaying and interpreting time stamps.\",\"defaultValue\":\"UTC\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9/+_-]+\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/TimeZone\",\"name\":\"TimeZone\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Collects information about executing commands.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/track_activities\",\"name\":\"track_activities\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"Sets the size reserved for pg_stat_activity.query, in bytes. Any change requires restarting the server to take effect.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"100-102400\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/track_activity_query_size\",\"name\":\"track_activity_query_size\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Collects transaction commit time. Any change requires restarting the server to take effect.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/track_commit_timestamp\",\"name\":\"track_commit_timestamp\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"on\",\"description\":\"Collects statistics on database activity.\",\"defaultValue\":\"on\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/track_counts\",\"name\":\"track_counts\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"none\",\"description\":\"Collects function-level statistics on database activity.\",\"defaultValue\":\"none\",\"dataType\":\"Enumeration\",\"allowedValues\":\"none,pl,all\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/track_functions\",\"name\":\"track_functions\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Collects timing statistics for database I/O activity.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/track_io_timing\",\"name\":\"track_io_timing\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Treats \\\"expr=NULL\\\" as \\\"expr IS NULL\\\".\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/transform_null_equals\",\"name\":\"transform_null_equals\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Vacuum cost delay in milliseconds.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/vacuum_cost_delay\",\"name\":\"vacuum_cost_delay\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"Vacuum cost amount available before napping.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/vacuum_cost_limit\",\"name\":\"vacuum_cost_limit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"20\",\"description\":\"Vacuum cost for a page dirtied by vacuum.\",\"defaultValue\":\"20\",\"dataType\":\"Integer\",\"allowedValues\":\"0-10000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/vacuum_cost_page_dirty\",\"name\":\"vacuum_cost_page_dirty\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Vacuum cost for a page found in the buffer cache.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0-10000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/vacuum_cost_page_hit\",\"name\":\"vacuum_cost_page_hit\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Vacuum cost for a page not found in the buffer cache.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-10000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/vacuum_cost_page_miss\",\"name\":\"vacuum_cost_page_miss\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Number of transactions by which VACUUM and HOT cleanup should be deferred, if any.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/vacuum_defer_cleanup_age\",\"name\":\"vacuum_defer_cleanup_age\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"50000000\",\"description\":\"Minimum age at which VACUUM should freeze a table row.\",\"defaultValue\":\"50000000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/vacuum_freeze_min_age\",\"name\":\"vacuum_freeze_min_age\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"150000000\",\"description\":\"Age at which VACUUM should scan whole table to freeze tuples.\",\"defaultValue\":\"150000000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2000000000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/vacuum_freeze_table_age\",\"name\":\"vacuum_freeze_table_age\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"5000000\",\"description\":\"Minimum age at which VACUUM should freeze a MultiXactId in a table row.\",\"defaultValue\":\"5000000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/vacuum_multixact_freeze_min_age\",\"name\":\"vacuum_multixact_freeze_min_age\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"150000000\",\"description\":\"Multixact age at which VACUUM should scan whole table to freeze tuples.\",\"defaultValue\":\"150000000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2000000000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/vacuum_multixact_freeze_table_age\",\"name\":\"vacuum_multixact_freeze_table_age\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"off\",\"description\":\"Compresses full-page writes written in WAL file.\",\"defaultValue\":\"off\",\"dataType\":\"Boolean\",\"allowedValues\":\"on,off\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/wal_compression\",\"name\":\"wal_compression\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"replica\",\"description\":\"It determines how much information is written to the WAL.\",\"defaultValue\":\"replica\",\"dataType\":\"Enumeration\",\"allowedValues\":\"replica,logical\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/wal_level\",\"name\":\"wal_level\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Sets the maximum interval between WAL receiver status reports to the primary.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/wal_receiver_status_interval\",\"name\":\"wal_receiver_status_interval\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"Time between WAL flushes performed in the WAL writer.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10000\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/wal_writer_delay\",\"name\":\"wal_writer_delay\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"128\",\"description\":\"Amount of WAL written out by WAL writer that triggers a flush.\",\"defaultValue\":\"128\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2147483647\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/wal_writer_flush_after\",\"name\":\"wal_writer_flush_after\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"Sets the amount of memory to be used by internal sort operations and hash tables before writing to temporary disk files.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-2097151\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/work_mem\",\"name\":\"work_mem\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"base64\",\"description\":\"Sets how binary values are to be encoded in XML.\",\"defaultValue\":\"base64\",\"dataType\":\"Enumeration\",\"allowedValues\":\"base64,hex\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/xmlbinary\",\"name\":\"xmlbinary\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"content\",\"description\":\"Sets whether XML data in implicit parsing and serialization operations is to be considered as documents or content fragments.\",\"defaultValue\":\"content\",\"dataType\":\"Enumeration\",\"allowedValues\":\"content,document\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/xmloption\",\"name\":\"xmloption\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"}]}" - } - }, - "Get-AzPostgreSqlFlexibleServerConfiguration+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/configurations/TimeZone?api-version=2020-02-14-preview+1": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/configurations/TimeZone?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "6" ], - "x-ms-client-request-id": [ "c8c79d49-b68e-4ff3-b1d2-3fea698ebfa5" ], - "CommandName": [ "Get-AzPostgreSqlFlexibleServerConfiguration" ], - "FullCommandName": [ "Get-AzPostgreSqlFlexibleServerConfiguration_Get" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "07488494-b772-471f-89d8-f9041fa872af" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], - "x-ms-correlation-request-id": [ "8eacc32f-b3f9-42d5-990d-9e5e4ade5056" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T064240Z:8eacc32f-b3f9-42d5-990d-9e5e4ade5056" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:42:39 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "475" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"value\":\"UTC\",\"description\":\"Sets the time zone for displaying and interpreting time stamps.\",\"defaultValue\":\"UTC\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9/+_-]+\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/TimeZone\",\"name\":\"TimeZone\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"}" - } - }, - "Get-AzPostgreSqlFlexibleServerConfiguration+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/configurations/TimeZone?api-version=2020-02-14-preview+1": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/configurations/TimeZone?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "7" ], - "x-ms-client-request-id": [ "c07599f6-3e7f-4f22-b0d0-0b5d81ebd946" ], - "CommandName": [ "Get-AzPostgreSqlFlexibleServerConfiguration" ], - "FullCommandName": [ "Get-AzPostgreSqlFlexibleServerConfiguration_GetViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "16b441b3-42ce-4397-9d63-d7ec610463c8" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], - "x-ms-correlation-request-id": [ "ce1f1aec-7b49-4757-bbba-e568b355d1d4" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T064240Z:ce1f1aec-7b49-4757-bbba-e568b355d1d4" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:42:40 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "475" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"value\":\"UTC\",\"description\":\"Sets the time zone for displaying and interpreting time stamps.\",\"defaultValue\":\"UTC\",\"dataType\":\"String\",\"allowedValues\":\"[A-Za-z0-9/+_-]+\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/TimeZone\",\"name\":\"TimeZone\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"}" - } - } -} \ No newline at end of file diff --git a/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerConfiguration.Tests.ps1 b/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerConfiguration.Tests.ps1 deleted file mode 100644 index cfc7173b12a2..000000000000 --- a/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerConfiguration.Tests.ps1 +++ /dev/null @@ -1,36 +0,0 @@ -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzPostgreSqlFlexibleServerConfiguration.Recording.json' -$currentPath = $PSScriptRoot -while(-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - -Describe 'Get-AzPostgreSqlFlexibleServerConfiguration' { - It 'List' { - { - $config = Get-AzPostgreSqlFlexibleServerConfiguration -ResourceGroupName $env.resourceGroup -ServerName $env.serverName - $config.Count | Should -BeGreaterOrEqual 1 - } | Should -Not -Throw - } - - It 'Get' { - { - $config = Get-AzPostgreSqlFlexibleServerConfiguration -Name TimeZone -ResourceGroupName $env.resourceGroup -ServerName $env.serverName - $config.Name | Should -Be TimeZone - } | Should -Not -Throw - } - - It 'GetViaIdentity' { - { - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSql/flexibleServers/$($env.serverName)/configurations/TimeZone" - $config = Get-AzPostgreSqlFlexibleServerConfiguration -InputObject $ID - $config.Name | Should -Be TimeZone - } | Should -Not -Throw - } -} diff --git a/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerFirewallRule.Recording.json b/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerFirewallRule.Recording.json deleted file mode 100644 index 3b3a55c5f8d5..000000000000 --- a/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerFirewallRule.Recording.json +++ /dev/null @@ -1,355 +0,0 @@ -{ - "Get-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { - "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", - "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "93" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/ae61af99-11f5-425e-9496-adae59a1730b?api-version=2020-02-14-preview" ], - "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ae61af99-11f5-425e-9496-adae59a1730b?api-version=2020-02-14-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "ae61af99-11f5-425e-9496-adae59a1730b" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-correlation-request-id": [ "38fbbb8e-f636-456e-bdc1-aab841756326" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T064242Z:38fbbb8e-f636-456e-bdc1-aab841756326" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:42:41 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "98" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-11T06:42:42.25Z\"}" - } - }, - "Get-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ae61af99-11f5-425e-9496-adae59a1730b?api-version=2020-02-14-preview+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ae61af99-11f5-425e-9496-adae59a1730b?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "9" ], - "x-ms-client-request-id": [ "226d9315-9e69-49de-8a01-63faea83eec9" ], - "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "New-AzPostgreSqlFlexibleServerFirewallRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "6682f181-1993-47c0-9960-74e23e0186b1" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], - "x-ms-correlation-request-id": [ "baaf7dd2-86c3-41bc-885e-9a5d6f25f8d2" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T064342Z:baaf7dd2-86c3-41bc-885e-9a5d6f25f8d2" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:43:42 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "106" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"ae61af99-11f5-425e-9496-adae59a1730b\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T06:42:42.25Z\"}" - } - }, - "Get-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "10" ], - "x-ms-client-request-id": [ "226d9315-9e69-49de-8a01-63faea83eec9" ], - "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "New-AzPostgreSqlFlexibleServerFirewallRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "c2954918-5b0b-4c78-ba6b-550d4e6dfb12" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], - "x-ms-correlation-request-id": [ "daccb8d4-d820-42a9-9dcd-bdfe15517dac" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T064343Z:daccb8d4-d820-42a9-9dcd-bdfe15517dac" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:43:42 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "159" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}" - } - }, - "Get-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules?api-version=2020-02-14-preview+4": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "11" ], - "x-ms-client-request-id": [ "4ca7ccb3-c3be-4538-9fde-f67eaa512f4c" ], - "CommandName": [ "Get-AzPostgreSqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "Get-AzPostgreSqlFlexibleServerFirewallRule_List" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "4cf725fd-ee77-4c5a-885f-605ab061477c" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], - "x-ms-correlation-request-id": [ "182b5dec-7fd0-49e0-9d35-2b05ff0c482d" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T064343Z:182b5dec-7fd0-49e0-9d35-2b05ff0c482d" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:43:43 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "171" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"value\":[{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}]}" - } - }, - "Get-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "12" ], - "x-ms-client-request-id": [ "6cd1c94b-ca8d-41ec-b35f-609ae68c8584" ], - "CommandName": [ "Get-AzPostgreSqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "Get-AzPostgreSqlFlexibleServerFirewallRule_Get" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "c4f16cc9-cf43-469f-8d41-d1eb17e2645c" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], - "x-ms-correlation-request-id": [ "fe102d20-9085-4d06-9855-f6410fe040b1" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T064343Z:fe102d20-9085-4d06-9855-f6410fe040b1" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:43:43 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "159" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}" - } - }, - "Get-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "13" ], - "x-ms-client-request-id": [ "5b726075-2b6f-46d4-99a5-0cb5ba425dca" ], - "CommandName": [ "Get-AzPostgreSqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "Get-AzPostgreSqlFlexibleServerFirewallRule_GetViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "2d9aabde-72ed-42e0-91d5-4817f96218e7" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], - "x-ms-correlation-request-id": [ "34241739-057d-4a33-b3cd-a96fe6515a87" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T064343Z:34241739-057d-4a33-b3cd-a96fe6515a87" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:43:43 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "159" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}" - } - }, - "Get-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+GetViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+2": { - "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "14" ], - "x-ms-client-request-id": [ "553ceb7b-3f4e-4b74-979e-d5828d2bfa47" ], - "CommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/4947e499-d634-423d-985f-9eca4b146bcb?api-version=2020-02-14-preview" ], - "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/4947e499-d634-423d-985f-9eca4b146bcb?api-version=2020-02-14-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "4947e499-d634-423d-985f-9eca4b146bcb" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], - "x-ms-correlation-request-id": [ "2ed26549-e625-4a0f-9abc-4fb00476c155" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T064344Z:2ed26549-e625-4a0f-9abc-4fb00476c155" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:43:43 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "96" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"DropServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-11T06:43:44.08Z\"}" - } - }, - "Get-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/4947e499-d634-423d-985f-9eca4b146bcb?api-version=2020-02-14-preview+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/4947e499-d634-423d-985f-9eca4b146bcb?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "15" ], - "x-ms-client-request-id": [ "553ceb7b-3f4e-4b74-979e-d5828d2bfa47" ], - "CommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "123ee15d-bff7-4aab-a166-83f19fdc2917" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], - "x-ms-correlation-request-id": [ "e241856a-4fd1-4dd4-9492-4715d58ff6b7" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T064444Z:e241856a-4fd1-4dd4-9492-4715d58ff6b7" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:44:43 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "106" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"4947e499-d634-423d-985f-9eca4b146bcb\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T06:43:44.08Z\"}" - } - }, - "Get-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/4947e499-d634-423d-985f-9eca4b146bcb?api-version=2020-02-14-preview+4": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/4947e499-d634-423d-985f-9eca4b146bcb?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "16" ], - "x-ms-client-request-id": [ "553ceb7b-3f4e-4b74-979e-d5828d2bfa47" ], - "CommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "6ad806f6-cb0f-4b07-82f5-c5275651c1a9" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], - "x-ms-correlation-request-id": [ "27856b02-ee06-49b5-8be9-3e6deaa7aa88" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T064444Z:27856b02-ee06-49b5-8be9-3e6deaa7aa88" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:44:44 GMT" ] - }, - "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] - }, - "Content": null - } - } -} \ No newline at end of file diff --git a/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 b/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 deleted file mode 100644 index de2b4bd6bbb3..000000000000 --- a/src/PostgreSql/test/Get-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 +++ /dev/null @@ -1,40 +0,0 @@ -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzPostgreSqlFlexibleServerFirewallRule.Recording.json' -$currentPath = $PSScriptRoot -while(-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - -Describe 'Get-AzPostgreSqlFlexibleServerFirewallRule' { - It 'List' { - { - New-AzPostgreSqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 - $rule = Get-AzPostgreSqlFlexibleServerFirewallRule -ResourceGroupName $env.resourceGroup -ServerName $env.serverName - $rule.Count | Should -Be 1 - } | Should -Not -Throw - } - - It 'Get' { - { - $rule = Get-AzPostgreSqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName - $rule.StartIPAddress | Should -Be 0.0.0.0 - $rule.EndIPAddress | Should -Be 0.0.0.1 - } | Should -Not -Throw - } - - It 'GetViaIdentity' { - { - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSql/flexibleServers/$($env.serverName)/firewallRules/$($env.firewallRuleName)" - $rule = Get-AzPostgreSqlFlexibleServerFirewallRule -InputObject $ID - $rule.StartIPAddress | Should -Be 0.0.0.0 - $rule.EndIPAddress | Should -Be 0.0.0.1 - Remove-AzPostgreSqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName - } | Should -Not -Throw - } -} diff --git a/src/PostgreSql/test/Get-AzPostgreSqlReplica.Recording.json b/src/PostgreSql/test/Get-AzPostgreSqlReplica.Recording.json index 0d4256242eca..638be0620af5 100644 --- a/src/PostgreSql/test/Get-AzPostgreSqlReplica.Recording.json +++ b/src/PostgreSql/test/Get-AzPostgreSqlReplica.Recording.json @@ -1,8 +1,8 @@ { - "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+1": { + "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "44" ], @@ -35,14 +35,14 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" } }, - "Get-AzPostgreSqlReplica+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01+2": { + "Get-AzPostgreSqlReplica+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01+2": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"createMode\": \"Replica\",\r\n \"sourceServerId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\"\r\n },\r\n \"location\": \"eastus\"\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"createMode\": \"Replica\",\r\n \"sourceServerId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\"\r\n },\r\n \"location\": \"eastus\"\r\n}", "Headers": { }, "ContentHeaders": { @@ -55,9 +55,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01" ], "x-ms-request-id": [ "c0cffee2-4834-48e2-b55e-792ffed83efd" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1193" ], @@ -75,10 +75,10 @@ "Content": "{\"operation\":\"CreateElasticServerContinuousCopy\",\"startTime\":\"2020-09-25T11:03:11.76Z\"}" } }, - "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+3": { + "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "45", "46" ], @@ -115,10 +115,10 @@ "Content": "{\"name\":\"c0cffee2-4834-48e2-b55e-792ffed83efd\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:03:11.76Z\"}" } }, - "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+4": { + "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "45", "46", "47" ], @@ -155,10 +155,10 @@ "Content": "{\"name\":\"c0cffee2-4834-48e2-b55e-792ffed83efd\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:03:11.76Z\"}" } }, - "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+5": { + "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "45", "46", "47", "48" ], @@ -195,10 +195,10 @@ "Content": "{\"name\":\"c0cffee2-4834-48e2-b55e-792ffed83efd\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:03:11.76Z\"}" } }, - "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+6": { + "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "45", "46", "47", "48", "49" ], @@ -235,10 +235,10 @@ "Content": "{\"name\":\"c0cffee2-4834-48e2-b55e-792ffed83efd\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:03:11.76Z\"}" } }, - "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+7": { + "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "45", "46", "47", "48", "49", "50" ], @@ -275,10 +275,10 @@ "Content": "{\"name\":\"c0cffee2-4834-48e2-b55e-792ffed83efd\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:03:11.76Z\"}" } }, - "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+8": { + "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "45", "46", "47", "48", "49", "50", "51" ], @@ -315,10 +315,10 @@ "Content": "{\"name\":\"c0cffee2-4834-48e2-b55e-792ffed83efd\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:03:11.76Z\"}" } }, - "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+9": { + "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "45", "46", "47", "48", "49", "50", "51", "52" ], @@ -355,10 +355,10 @@ "Content": "{\"name\":\"c0cffee2-4834-48e2-b55e-792ffed83efd\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:03:11.76Z\"}" } }, - "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+10": { + "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "45", "46", "47", "48", "49", "50", "51", "52", "53" ], @@ -395,10 +395,10 @@ "Content": "{\"name\":\"c0cffee2-4834-48e2-b55e-792ffed83efd\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:03:11.76Z\"}" } }, - "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+11": { + "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "45", "46", "47", "48", "49", "50", "51", "52", "53", "54" ], @@ -435,10 +435,10 @@ "Content": "{\"name\":\"c0cffee2-4834-48e2-b55e-792ffed83efd\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:03:11.76Z\"}" } }, - "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+12": { + "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55" ], @@ -475,10 +475,10 @@ "Content": "{\"name\":\"c0cffee2-4834-48e2-b55e-792ffed83efd\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:03:11.76Z\"}" } }, - "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+13": { + "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55", "56" ], @@ -515,10 +515,10 @@ "Content": "{\"name\":\"c0cffee2-4834-48e2-b55e-792ffed83efd\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:03:11.76Z\"}" } }, - "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+14": { + "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+14": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55", "56", "57" ], @@ -555,10 +555,10 @@ "Content": "{\"name\":\"c0cffee2-4834-48e2-b55e-792ffed83efd\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:03:11.76Z\"}" } }, - "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+15": { + "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01+15": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c0cffee2-4834-48e2-b55e-792ffed83efd?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55", "56", "57", "58" ], @@ -595,10 +595,10 @@ "Content": "{\"name\":\"c0cffee2-4834-48e2-b55e-792ffed83efd\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:03:11.76Z\"}" } }, - "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01+16": { + "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01+16": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55", "56", "57", "58", "59" ], @@ -631,13 +631,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100-replica.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:15:13.76+00:00\",\"replicationRole\":\"Replica\",\"masterServerId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-replica\",\"name\":\"postgresql-test-100-replica\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100-replica.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:15:13.76+00:00\",\"replicationRole\":\"Replica\",\"masterServerId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-replica\",\"name\":\"postgresql-test-100-replica\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" } }, - "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/Replicas?api-version=2017-12-01+17": { + "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/Replicas?api-version=2017-12-01+17": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/Replicas?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/Replicas?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "60" ], @@ -670,13 +670,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100-replica.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:15:13.76+00:00\",\"replicationRole\":\"Replica\",\"masterServerId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-replica\",\"name\":\"postgresql-test-100-replica\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}]}" + "Content": "{\"value\":[{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100-replica.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:15:13.76+00:00\",\"replicationRole\":\"Replica\",\"masterServerId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-replica\",\"name\":\"postgresql-test-100-replica\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}]}" } }, - "Get-AzPostgreSqlReplica+[NoContext]+List+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01+18": { + "Get-AzPostgreSqlReplica+[NoContext]+List+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01+18": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "61" ], @@ -695,9 +695,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/97d13a2d-cdfa-43a0-a9f7-d1268dede627?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/97d13a2d-cdfa-43a0-a9f7-d1268dede627?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/97d13a2d-cdfa-43a0-a9f7-d1268dede627?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/97d13a2d-cdfa-43a0-a9f7-d1268dede627?api-version=2017-12-01" ], "x-ms-request-id": [ "97d13a2d-cdfa-43a0-a9f7-d1268dede627" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14996" ], @@ -715,10 +715,10 @@ "Content": "{\"operation\":\"DropElasticServer\",\"startTime\":\"2020-09-25T11:09:48.2Z\"}" } }, - "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/97d13a2d-cdfa-43a0-a9f7-d1268dede627?api-version=2017-12-01+19": { + "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/97d13a2d-cdfa-43a0-a9f7-d1268dede627?api-version=2017-12-01+19": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/97d13a2d-cdfa-43a0-a9f7-d1268dede627?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/97d13a2d-cdfa-43a0-a9f7-d1268dede627?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "61", "62" ], @@ -755,10 +755,10 @@ "Content": "{\"name\":\"97d13a2d-cdfa-43a0-a9f7-d1268dede627\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:09:48.2Z\"}" } }, - "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/97d13a2d-cdfa-43a0-a9f7-d1268dede627?api-version=2017-12-01+20": { + "Get-AzPostgreSqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/97d13a2d-cdfa-43a0-a9f7-d1268dede627?api-version=2017-12-01+20": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/97d13a2d-cdfa-43a0-a9f7-d1268dede627?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/97d13a2d-cdfa-43a0-a9f7-d1268dede627?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "61", "62", "63" ], diff --git a/src/PostgreSql/test/Get-AzPostgreSqlServer.Recording.json b/src/PostgreSql/test/Get-AzPostgreSqlServer.Recording.json index 6e948e707f4c..9c5e5a1a46d8 100644 --- a/src/PostgreSql/test/Get-AzPostgreSqlServer.Recording.json +++ b/src/PostgreSql/test/Get-AzPostgreSqlServer.Recording.json @@ -1,8 +1,8 @@ { - "Get-AzPostgreSqlServer+[NoContext]+List1+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/servers?api-version=2017-12-01+1": { + "Get-AzPostgreSqlServer+[NoContext]+List1+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/servers?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/servers?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/servers?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "64" ], @@ -35,13 +35,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}]}" + "Content": "{\"value\":[{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}]}" } }, - "Get-AzPostgreSqlServer+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+1": { + "Get-AzPostgreSqlServer+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "65" ], @@ -74,13 +74,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" } }, - "Get-AzPostgreSqlServer+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers?api-version=2017-12-01+1": { + "Get-AzPostgreSqlServer+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "66" ], @@ -113,13 +113,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}]}" + "Content": "{\"value\":[{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}]}" } }, - "Get-AzPostgreSqlServer+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+1": { + "Get-AzPostgreSqlServer+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "67" ], @@ -152,7 +152,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" } } } \ No newline at end of file diff --git a/src/PostgreSql/test/Get-AzPostgreSqlServer.Tests.ps1 b/src/PostgreSql/test/Get-AzPostgreSqlServer.Tests.ps1 index 06fa3dbe1107..53c01a490e3e 100644 --- a/src/PostgreSql/test/Get-AzPostgreSqlServer.Tests.ps1 +++ b/src/PostgreSql/test/Get-AzPostgreSqlServer.Tests.ps1 @@ -28,7 +28,7 @@ Describe 'Get-AzPostgreSqlServer' { } It 'GetViaIdentity' { - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSQL/servers/$($env.serverName)" + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBforPostgreSQL/servers/$($env.serverName)" $servers = Get-AzPostgreSqlServer -InputObject $ID $servers.Name | Should -Be $env.serverName } diff --git a/src/PostgreSql/test/Get-AzPostgreSqlVirtualNetworkRule.Recording.json b/src/PostgreSql/test/Get-AzPostgreSqlVirtualNetworkRule.Recording.json index 5079e68276a3..eae9479b3d2b 100644 --- a/src/PostgreSql/test/Get-AzPostgreSqlVirtualNetworkRule.Recording.json +++ b/src/PostgreSql/test/Get-AzPostgreSqlVirtualNetworkRule.Recording.json @@ -1,9 +1,9 @@ { - "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+1": { + "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/faa70674-c1b2-47c7-822e-85b027f16ff0?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/faa70674-c1b2-47c7-822e-85b027f16ff0?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/faa70674-c1b2-47c7-822e-85b027f16ff0?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/faa70674-c1b2-47c7-822e-85b027f16ff0?api-version=2017-12-01" ], "x-ms-request-id": [ "faa70674-c1b2-47c7-822e-85b027f16ff0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1192" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-09-25T11:10:06.73Z\"}" } }, - "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/faa70674-c1b2-47c7-822e-85b027f16ff0?api-version=2017-12-01+2": { + "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/faa70674-c1b2-47c7-822e-85b027f16ff0?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/faa70674-c1b2-47c7-822e-85b027f16ff0?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/faa70674-c1b2-47c7-822e-85b027f16ff0?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "68", "69" ], @@ -76,10 +76,10 @@ "Content": "{\"name\":\"faa70674-c1b2-47c7-822e-85b027f16ff0\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:10:06.73Z\"}" } }, - "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+3": { + "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "68", "69", "70" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBForPostgreSQL/servers/virtualNetworkRules\"}" + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBforPostgreSQL/servers/virtualNetworkRules\"}" } }, - "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules?api-version=2017-12-01+4": { + "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "71" ], @@ -151,13 +151,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBForPostgreSQL/servers/virtualNetworkRules\"}]}" + "Content": "{\"value\":[{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBforPostgreSQL/servers/virtualNetworkRules\"}]}" } }, - "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+List+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+5": { + "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+List+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+5": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "72" ], @@ -176,9 +176,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/cbbf803d-b57f-4f31-b873-60ba9bf08f12?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/cbbf803d-b57f-4f31-b873-60ba9bf08f12?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/cbbf803d-b57f-4f31-b873-60ba9bf08f12?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/cbbf803d-b57f-4f31-b873-60ba9bf08f12?api-version=2017-12-01" ], "x-ms-request-id": [ "cbbf803d-b57f-4f31-b873-60ba9bf08f12" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14995" ], @@ -196,10 +196,10 @@ "Content": "{\"operation\":\"DropElasticServerVnetFirewallRule\",\"startTime\":\"2020-09-25T11:10:39.513Z\"}" } }, - "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/cbbf803d-b57f-4f31-b873-60ba9bf08f12?api-version=2017-12-01+6": { + "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/cbbf803d-b57f-4f31-b873-60ba9bf08f12?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/cbbf803d-b57f-4f31-b873-60ba9bf08f12?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/cbbf803d-b57f-4f31-b873-60ba9bf08f12?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "72", "73" ], @@ -236,10 +236,10 @@ "Content": "{\"name\":\"cbbf803d-b57f-4f31-b873-60ba9bf08f12\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:10:39.513Z\"}" } }, - "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/cbbf803d-b57f-4f31-b873-60ba9bf08f12?api-version=2017-12-01+7": { + "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/cbbf803d-b57f-4f31-b873-60ba9bf08f12?api-version=2017-12-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/cbbf803d-b57f-4f31-b873-60ba9bf08f12?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/cbbf803d-b57f-4f31-b873-60ba9bf08f12?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "72", "73", "74" ], @@ -274,11 +274,11 @@ "Content": null } }, - "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+Get+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+1": { + "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+Get+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { @@ -291,9 +291,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/282aa76f-bf70-42a3-9010-91715c9329c6?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/282aa76f-bf70-42a3-9010-91715c9329c6?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/282aa76f-bf70-42a3-9010-91715c9329c6?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/282aa76f-bf70-42a3-9010-91715c9329c6?api-version=2017-12-01" ], "x-ms-request-id": [ "282aa76f-bf70-42a3-9010-91715c9329c6" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1191" ], @@ -311,10 +311,10 @@ "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-09-25T11:10:56.713Z\"}" } }, - "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/282aa76f-bf70-42a3-9010-91715c9329c6?api-version=2017-12-01+2": { + "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/282aa76f-bf70-42a3-9010-91715c9329c6?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/282aa76f-bf70-42a3-9010-91715c9329c6?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/282aa76f-bf70-42a3-9010-91715c9329c6?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "75", "76" ], @@ -351,10 +351,10 @@ "Content": "{\"name\":\"282aa76f-bf70-42a3-9010-91715c9329c6\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:10:56.713Z\"}" } }, - "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+3": { + "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "75", "76", "77" ], @@ -387,13 +387,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBForPostgreSQL/servers/virtualNetworkRules\"}" + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBforPostgreSQL/servers/virtualNetworkRules\"}" } }, - "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+4": { + "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "78" ], @@ -426,13 +426,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBForPostgreSQL/servers/virtualNetworkRules\"}" + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBforPostgreSQL/servers/virtualNetworkRules\"}" } }, - "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+Get+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+5": { + "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+Get+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+5": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "79" ], @@ -451,9 +451,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/e80870ff-ad55-4f4c-a986-386c5e3e05ad?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/e80870ff-ad55-4f4c-a986-386c5e3e05ad?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e80870ff-ad55-4f4c-a986-386c5e3e05ad?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e80870ff-ad55-4f4c-a986-386c5e3e05ad?api-version=2017-12-01" ], "x-ms-request-id": [ "e80870ff-ad55-4f4c-a986-386c5e3e05ad" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14994" ], @@ -471,10 +471,10 @@ "Content": "{\"operation\":\"DropElasticServerVnetFirewallRule\",\"startTime\":\"2020-09-25T11:11:29.45Z\"}" } }, - "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e80870ff-ad55-4f4c-a986-386c5e3e05ad?api-version=2017-12-01+6": { + "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e80870ff-ad55-4f4c-a986-386c5e3e05ad?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e80870ff-ad55-4f4c-a986-386c5e3e05ad?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e80870ff-ad55-4f4c-a986-386c5e3e05ad?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "79", "80" ], @@ -511,10 +511,10 @@ "Content": "{\"name\":\"e80870ff-ad55-4f4c-a986-386c5e3e05ad\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:11:29.45Z\"}" } }, - "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/e80870ff-ad55-4f4c-a986-386c5e3e05ad?api-version=2017-12-01+7": { + "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/e80870ff-ad55-4f4c-a986-386c5e3e05ad?api-version=2017-12-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/e80870ff-ad55-4f4c-a986-386c5e3e05ad?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/e80870ff-ad55-4f4c-a986-386c5e3e05ad?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "79", "80", "81" ], @@ -549,11 +549,11 @@ "Content": null } }, - "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+1": { + "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { @@ -566,9 +566,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/a3e83268-acc5-49df-a0c4-b0c4eadb88d2?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/a3e83268-acc5-49df-a0c4-b0c4eadb88d2?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/a3e83268-acc5-49df-a0c4-b0c4eadb88d2?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a3e83268-acc5-49df-a0c4-b0c4eadb88d2?api-version=2017-12-01" ], "x-ms-request-id": [ "a3e83268-acc5-49df-a0c4-b0c4eadb88d2" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1190" ], @@ -586,10 +586,10 @@ "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-09-25T11:11:46.7Z\"}" } }, - "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/a3e83268-acc5-49df-a0c4-b0c4eadb88d2?api-version=2017-12-01+2": { + "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a3e83268-acc5-49df-a0c4-b0c4eadb88d2?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/a3e83268-acc5-49df-a0c4-b0c4eadb88d2?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a3e83268-acc5-49df-a0c4-b0c4eadb88d2?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "82", "83" ], @@ -626,10 +626,10 @@ "Content": "{\"name\":\"a3e83268-acc5-49df-a0c4-b0c4eadb88d2\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:11:46.7Z\"}" } }, - "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+3": { + "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "82", "83", "84" ], @@ -662,13 +662,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBForPostgreSQL/servers/virtualNetworkRules\"}" + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBforPostgreSQL/servers/virtualNetworkRules\"}" } }, - "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+4": { + "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "85" ], @@ -701,13 +701,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBForPostgreSQL/servers/virtualNetworkRules\"}" + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBforPostgreSQL/servers/virtualNetworkRules\"}" } }, - "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+5": { + "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+5": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "86" ], @@ -726,9 +726,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/92cbe85d-2b82-4c33-9d43-7ecc5f2b652b?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/92cbe85d-2b82-4c33-9d43-7ecc5f2b652b?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/92cbe85d-2b82-4c33-9d43-7ecc5f2b652b?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/92cbe85d-2b82-4c33-9d43-7ecc5f2b652b?api-version=2017-12-01" ], "x-ms-request-id": [ "92cbe85d-2b82-4c33-9d43-7ecc5f2b652b" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14993" ], @@ -746,10 +746,10 @@ "Content": "{\"operation\":\"DropElasticServerVnetFirewallRule\",\"startTime\":\"2020-09-25T11:12:19.373Z\"}" } }, - "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/92cbe85d-2b82-4c33-9d43-7ecc5f2b652b?api-version=2017-12-01+6": { + "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/92cbe85d-2b82-4c33-9d43-7ecc5f2b652b?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/92cbe85d-2b82-4c33-9d43-7ecc5f2b652b?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/92cbe85d-2b82-4c33-9d43-7ecc5f2b652b?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "86", "87" ], @@ -786,10 +786,10 @@ "Content": "{\"name\":\"92cbe85d-2b82-4c33-9d43-7ecc5f2b652b\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:12:19.373Z\"}" } }, - "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/92cbe85d-2b82-4c33-9d43-7ecc5f2b652b?api-version=2017-12-01+7": { + "Get-AzPostgreSqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/92cbe85d-2b82-4c33-9d43-7ecc5f2b652b?api-version=2017-12-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/92cbe85d-2b82-4c33-9d43-7ecc5f2b652b?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/92cbe85d-2b82-4c33-9d43-7ecc5f2b652b?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "86", "87", "88" ], diff --git a/src/PostgreSql/test/Get-AzPostgreSqlVirtualNetworkRule.Tests.ps1 b/src/PostgreSql/test/Get-AzPostgreSqlVirtualNetworkRule.Tests.ps1 index 2f6cd40328d3..f5603a6a4a39 100644 --- a/src/PostgreSql/test/Get-AzPostgreSqlVirtualNetworkRule.Tests.ps1 +++ b/src/PostgreSql/test/Get-AzPostgreSqlVirtualNetworkRule.Tests.ps1 @@ -31,7 +31,7 @@ Describe 'Get-AzPostgreSqlVirtualNetworkRule' { It 'GetViaIdentity' { $VnetID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1" New-AzPostgreSqlVirtualNetworkRule -Name $env.VNetName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -SubnetId $VnetID - $RuleID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSQL/servers/$($env.serverName)/virtualNetworkRules/$($env.VNetName)" + $RuleID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBforPostgreSQL/servers/$($env.serverName)/virtualNetworkRules/$($env.VNetName)" $rule = Get-AzPostgreSqlVirtualNetworkRule -InputObject $RuleID $rule.VirtualNetworkSubnetId | Should -Be $VnetID Remove-AzPostgreSqlVirtualNetworkRule -Name $env.VNetName -ResourceGroupName $env.resourceGroup-ServerName $env.serverName diff --git a/src/PostgreSql/test/New-AzPostgreSqlFirewallRule.Recording.json b/src/PostgreSql/test/New-AzPostgreSqlFirewallRule.Recording.json index e4e3868ad844..39f4d647497c 100644 --- a/src/PostgreSql/test/New-AzPostgreSqlFirewallRule.Recording.json +++ b/src/PostgreSql/test/New-AzPostgreSqlFirewallRule.Recording.json @@ -1,8 +1,8 @@ { - "New-AzPostgreSqlFirewallRule+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+1": { + "New-AzPostgreSqlFirewallRule+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/d1b66176-b61f-4054-a64c-d2eecaa85152?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/d1b66176-b61f-4054-a64c-d2eecaa85152?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/d1b66176-b61f-4054-a64c-d2eecaa85152?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/d1b66176-b61f-4054-a64c-d2eecaa85152?api-version=2017-12-01" ], "x-ms-request-id": [ "d1b66176-b61f-4054-a64c-d2eecaa85152" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1189" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-09-25T11:12:36.997Z\"}" } }, - "New-AzPostgreSqlFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/d1b66176-b61f-4054-a64c-d2eecaa85152?api-version=2017-12-01+2": { + "New-AzPostgreSqlFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/d1b66176-b61f-4054-a64c-d2eecaa85152?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/d1b66176-b61f-4054-a64c-d2eecaa85152?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/d1b66176-b61f-4054-a64c-d2eecaa85152?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "89", "90" ], @@ -76,10 +76,10 @@ "Content": "{\"name\":\"d1b66176-b61f-4054-a64c-d2eecaa85152\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:12:36.997Z\"}" } }, - "New-AzPostgreSqlFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+3": { + "New-AzPostgreSqlFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "89", "90", "91" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBForPostgreSQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/servers/firewallRules\"}" } }, - "New-AzPostgreSqlFirewallRule+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+4": { + "New-AzPostgreSqlFirewallRule+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "92" ], @@ -137,9 +137,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/a66d8fec-e7ca-4d4c-97a4-14d1f0536a47?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/a66d8fec-e7ca-4d4c-97a4-14d1f0536a47?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/a66d8fec-e7ca-4d4c-97a4-14d1f0536a47?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a66d8fec-e7ca-4d4c-97a4-14d1f0536a47?api-version=2017-12-01" ], "x-ms-request-id": [ "a66d8fec-e7ca-4d4c-97a4-14d1f0536a47" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14992" ], @@ -157,10 +157,10 @@ "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-09-25T11:12:54.293Z\"}" } }, - "New-AzPostgreSqlFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/a66d8fec-e7ca-4d4c-97a4-14d1f0536a47?api-version=2017-12-01+5": { + "New-AzPostgreSqlFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a66d8fec-e7ca-4d4c-97a4-14d1f0536a47?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/a66d8fec-e7ca-4d4c-97a4-14d1f0536a47?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a66d8fec-e7ca-4d4c-97a4-14d1f0536a47?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "92", "93" ], @@ -197,10 +197,10 @@ "Content": "{\"name\":\"a66d8fec-e7ca-4d4c-97a4-14d1f0536a47\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:12:54.293Z\"}" } }, - "New-AzPostgreSqlFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/a66d8fec-e7ca-4d4c-97a4-14d1f0536a47?api-version=2017-12-01+6": { + "New-AzPostgreSqlFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/a66d8fec-e7ca-4d4c-97a4-14d1f0536a47?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/a66d8fec-e7ca-4d4c-97a4-14d1f0536a47?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/a66d8fec-e7ca-4d4c-97a4-14d1f0536a47?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "92", "93", "94" ], @@ -235,10 +235,10 @@ "Content": null } }, - "New-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+1": { + "New-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.1\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -252,9 +252,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/43884738-b885-4155-a8a1-d628cc501662?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/43884738-b885-4155-a8a1-d628cc501662?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/43884738-b885-4155-a8a1-d628cc501662?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/43884738-b885-4155-a8a1-d628cc501662?api-version=2017-12-01" ], "x-ms-request-id": [ "43884738-b885-4155-a8a1-d628cc501662" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1188" ], @@ -272,10 +272,10 @@ "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-09-25T11:13:12.497Z\"}" } }, - "New-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/43884738-b885-4155-a8a1-d628cc501662?api-version=2017-12-01+2": { + "New-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/43884738-b885-4155-a8a1-d628cc501662?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/43884738-b885-4155-a8a1-d628cc501662?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/43884738-b885-4155-a8a1-d628cc501662?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "95", "96" ], @@ -312,10 +312,10 @@ "Content": "{\"name\":\"43884738-b885-4155-a8a1-d628cc501662\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:13:12.497Z\"}" } }, - "New-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+3": { + "New-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "95", "96", "97" ], @@ -348,13 +348,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.1\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBForPostgreSQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.1\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/servers/firewallRules\"}" } }, - "New-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+4": { + "New-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "98" ], @@ -373,9 +373,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/15fc7108-a3bf-4160-b347-129048fccd56?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/15fc7108-a3bf-4160-b347-129048fccd56?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/15fc7108-a3bf-4160-b347-129048fccd56?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/15fc7108-a3bf-4160-b347-129048fccd56?api-version=2017-12-01" ], "x-ms-request-id": [ "15fc7108-a3bf-4160-b347-129048fccd56" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14991" ], @@ -393,10 +393,10 @@ "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-09-25T11:13:29.81Z\"}" } }, - "New-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/15fc7108-a3bf-4160-b347-129048fccd56?api-version=2017-12-01+5": { + "New-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/15fc7108-a3bf-4160-b347-129048fccd56?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/15fc7108-a3bf-4160-b347-129048fccd56?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/15fc7108-a3bf-4160-b347-129048fccd56?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "98", "99" ], @@ -433,10 +433,10 @@ "Content": "{\"name\":\"15fc7108-a3bf-4160-b347-129048fccd56\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:13:29.81Z\"}" } }, - "New-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/15fc7108-a3bf-4160-b347-129048fccd56?api-version=2017-12-01+6": { + "New-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/15fc7108-a3bf-4160-b347-129048fccd56?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/15fc7108-a3bf-4160-b347-129048fccd56?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/15fc7108-a3bf-4160-b347-129048fccd56?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "98", "99", "100" ], @@ -471,10 +471,10 @@ "Content": null } }, - "New-AzPostgreSqlFirewallRule+[NoContext]+AllowAll+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01+1": { + "New-AzPostgreSqlFirewallRule+[NoContext]+AllowAll+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"255.255.255.255\"\r\n }\r\n}", "Headers": { }, @@ -488,9 +488,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/a3bfb5af-c8af-49c0-b642-c740b5f11fa8?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/a3bfb5af-c8af-49c0-b642-c740b5f11fa8?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/a3bfb5af-c8af-49c0-b642-c740b5f11fa8?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a3bfb5af-c8af-49c0-b642-c740b5f11fa8?api-version=2017-12-01" ], "x-ms-request-id": [ "a3bfb5af-c8af-49c0-b642-c740b5f11fa8" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1187" ], @@ -508,10 +508,10 @@ "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-09-25T11:13:47.03Z\"}" } }, - "New-AzPostgreSqlFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/a3bfb5af-c8af-49c0-b642-c740b5f11fa8?api-version=2017-12-01+2": { + "New-AzPostgreSqlFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a3bfb5af-c8af-49c0-b642-c740b5f11fa8?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/a3bfb5af-c8af-49c0-b642-c740b5f11fa8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a3bfb5af-c8af-49c0-b642-c740b5f11fa8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "101", "102" ], @@ -548,10 +548,10 @@ "Content": "{\"name\":\"a3bfb5af-c8af-49c0-b642-c740b5f11fa8\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:13:47.03Z\"}" } }, - "New-AzPostgreSqlFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01+3": { + "New-AzPostgreSqlFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "101", "102", "103" ], @@ -584,13 +584,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"255.255.255.255\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19\",\"name\":\"AllowAll_2020-08-11_21-28-19\",\"type\":\"Microsoft.DBForPostgreSQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"255.255.255.255\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19\",\"name\":\"AllowAll_2020-08-11_21-28-19\",\"type\":\"Microsoft.DBforPostgreSQL/servers/firewallRules\"}" } }, - "New-AzPostgreSqlFirewallRule+[NoContext]+AllowAll+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01+4": { + "New-AzPostgreSqlFirewallRule+[NoContext]+AllowAll+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "104" ], @@ -609,9 +609,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/ec532379-2224-4b0d-b371-cdfad915c7b2?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/ec532379-2224-4b0d-b371-cdfad915c7b2?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/ec532379-2224-4b0d-b371-cdfad915c7b2?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ec532379-2224-4b0d-b371-cdfad915c7b2?api-version=2017-12-01" ], "x-ms-request-id": [ "ec532379-2224-4b0d-b371-cdfad915c7b2" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14990" ], @@ -629,10 +629,10 @@ "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-09-25T11:14:04.543Z\"}" } }, - "New-AzPostgreSqlFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/ec532379-2224-4b0d-b371-cdfad915c7b2?api-version=2017-12-01+5": { + "New-AzPostgreSqlFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ec532379-2224-4b0d-b371-cdfad915c7b2?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/ec532379-2224-4b0d-b371-cdfad915c7b2?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ec532379-2224-4b0d-b371-cdfad915c7b2?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "104", "105" ], @@ -669,10 +669,10 @@ "Content": "{\"name\":\"ec532379-2224-4b0d-b371-cdfad915c7b2\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:14:04.543Z\"}" } }, - "New-AzPostgreSqlFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/ec532379-2224-4b0d-b371-cdfad915c7b2?api-version=2017-12-01+6": { + "New-AzPostgreSqlFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/ec532379-2224-4b0d-b371-cdfad915c7b2?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/ec532379-2224-4b0d-b371-cdfad915c7b2?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/ec532379-2224-4b0d-b371-cdfad915c7b2?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "104", "105", "106" ], diff --git a/src/PostgreSql/test/New-AzPostgreSqlFlexibleServer.Recording.json b/src/PostgreSql/test/New-AzPostgreSqlFlexibleServer.Recording.json deleted file mode 100644 index dbd6dbcf6584..000000000000 --- a/src/PostgreSql/test/New-AzPostgreSqlFlexibleServer.Recording.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "New-AzPostgreSqlFlexibleServer+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-200?api-version=2020-02-14-preview+1": { - "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-200?api-version=2020-02-14-preview", - "Content": "{\r\n \"location\": \"eastus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 12,\r\n \"storageMB\": 65536\r\n },\r\n \"administratorLogin\": \"mysql_test\",\r\n \"administratorLoginPassword\": \"Pasword01!!2020\",\r\n \"version\": \"12\",\r\n \"createMode\": \"Default\"\r\n }\r\n}", - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "366" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus2/operationResults/ca3fca37-fa1c-4a46-97f7-9be180ea9cbc?api-version=2020-02-14-preview" ], - "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus2/azureAsyncOperation/ca3fca37-fa1c-4a46-97f7-9be180ea9cbc?api-version=2020-02-14-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "75518211-7d27-4fd1-ad1f-44cc59794d98" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-correlation-request-id": [ "93d25977-2753-4871-aaab-42f19646a23a" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T064059Z:93d25977-2753-4871-aaab-42f19646a23a" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 06:40:58 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "87" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-12T06:40:58.89Z\"}" - } - }, - "New-AzPostgreSqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus2/azureAsyncOperation/ca3fca37-fa1c-4a46-97f7-9be180ea9cbc?api-version=2020-02-14-preview+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus2/azureAsyncOperation/ca3fca37-fa1c-4a46-97f7-9be180ea9cbc?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "2" ], - "x-ms-client-request-id": [ "9c6fabdf-0c20-4e4e-8934-777bdc139ea1" ], - "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "New-AzPostgreSqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "e94e4f30-97b8-4bad-a286-f485770307cd" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], - "x-ms-correlation-request-id": [ "598a4b8d-cde5-4fe8-8e85-15e91f2a151f" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T064159Z:598a4b8d-cde5-4fe8-8e85-15e91f2a151f" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 06:41:59 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "106" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"ca3fca37-fa1c-4a46-97f7-9be180ea9cbc\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-12T06:40:58.89Z\"}" - } - }, - "New-AzPostgreSqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-200?api-version=2020-02-14-preview+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-200?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "9c6fabdf-0c20-4e4e-8934-777bdc139ea1" ], - "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "New-AzPostgreSqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "36ea32c9-c4e8-44c4-b47e-17000e824715" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], - "x-ms-correlation-request-id": [ "d781e0bd-d7cd-40dd-96e7-25584c628b0a" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T064200Z:d781e0bd-d7cd-40dd-96e7-25584c628b0a" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 06:42:00 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "874" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":1},\"properties\":{\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"mysql_test\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":65536,\"backupRetentionDays\":12},\"earliestRestoreDate\":\"2020-11-11T21:14:14.466445+00:00\",\"byokEnforcement\":\"Disabled\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0}},\"location\":\"East US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test-200\",\"name\":\"postgresql-test-200\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}" - } - } -} \ No newline at end of file diff --git a/src/PostgreSql/test/New-AzPostgreSqlFlexibleServer.Tests.ps1 b/src/PostgreSql/test/New-AzPostgreSqlFlexibleServer.Tests.ps1 deleted file mode 100644 index c626fccad0ba..000000000000 --- a/src/PostgreSql/test/New-AzPostgreSqlFlexibleServer.Tests.ps1 +++ /dev/null @@ -1,25 +0,0 @@ -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'New-AzPostgreSqlFlexibleServer.Recording.json' -$currentPath = $PSScriptRoot -while(-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - -Describe 'New-AzPostgreSqlFlexibleServer' { - It 'CreateExpanded' { - { - $password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force - $server = New-AzPostgreSqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -AdministratorUserName mysql_test -AdministratorLoginPassword $password -Sku Standard_B1ms -SkuTier Burstable -BackupRetentionDay 12 -StorageInMb 65536 -Location eastus2 - $server.SkuName | Should -Be "Standard_B1ms" - $server.SkuTier | Should -Be "Burstable" - $server.StorageProfileStorageMb | Should -Be 65536 - $server.StorageProfileBackupRetentionDay | Should -Be 12 - } | Should -Not -Throw - } -} diff --git a/src/PostgreSql/test/New-AzPostgreSqlFlexibleServerFirewallRule.Recording.json b/src/PostgreSql/test/New-AzPostgreSqlFlexibleServerFirewallRule.Recording.json deleted file mode 100644 index d73cb045003e..000000000000 --- a/src/PostgreSql/test/New-AzPostgreSqlFlexibleServerFirewallRule.Recording.json +++ /dev/null @@ -1,710 +0,0 @@ -{ - "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { - "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", - "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "93" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/187b87b7-a172-4b22-9c65-e6adb252db0b?api-version=2020-02-14-preview" ], - "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/187b87b7-a172-4b22-9c65-e6adb252db0b?api-version=2020-02-14-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "187b87b7-a172-4b22-9c65-e6adb252db0b" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], - "x-ms-correlation-request-id": [ "2228d554-292b-4af1-8ab6-057103e6da11" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T064446Z:2228d554-292b-4af1-8ab6-057103e6da11" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:44:45 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "98" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-11T06:44:45.89Z\"}" - } - }, - "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/187b87b7-a172-4b22-9c65-e6adb252db0b?api-version=2020-02-14-preview+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/187b87b7-a172-4b22-9c65-e6adb252db0b?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "18" ], - "x-ms-client-request-id": [ "e37a83a0-2c2e-4fb0-8e47-665bfb0a616e" ], - "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "New-AzPostgreSqlFlexibleServerFirewallRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "54212612-7cae-4f14-ba99-f3baf58f29f8" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], - "x-ms-correlation-request-id": [ "586b3d27-8b99-4e49-baf0-884e7192a3fd" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T064546Z:586b3d27-8b99-4e49-baf0-884e7192a3fd" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:45:46 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "106" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"187b87b7-a172-4b22-9c65-e6adb252db0b\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T06:44:45.89Z\"}" - } - }, - "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "19" ], - "x-ms-client-request-id": [ "e37a83a0-2c2e-4fb0-8e47-665bfb0a616e" ], - "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "New-AzPostgreSqlFlexibleServerFirewallRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "6e0a0382-1989-4417-b92b-61da8a4a6deb" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], - "x-ms-correlation-request-id": [ "bd26b347-9b91-477a-b103-1936d33704d3" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T064546Z:bd26b347-9b91-477a-b103-1936d33704d3" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:45:46 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "159" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}" - } - }, - "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+4": { - "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "20" ], - "x-ms-client-request-id": [ "3db1c9d6-6dcb-4ecc-99b9-06d91b8482d8" ], - "CommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/11129c81-a10d-47df-979f-518b89eb5fb6?api-version=2020-02-14-preview" ], - "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/11129c81-a10d-47df-979f-518b89eb5fb6?api-version=2020-02-14-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "11129c81-a10d-47df-979f-518b89eb5fb6" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14998" ], - "x-ms-correlation-request-id": [ "76e9b764-6928-4085-8dd7-dfed52f2c2a5" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T064546Z:76e9b764-6928-4085-8dd7-dfed52f2c2a5" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:45:46 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "96" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"DropServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-11T06:45:46.92Z\"}" - } - }, - "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/11129c81-a10d-47df-979f-518b89eb5fb6?api-version=2020-02-14-preview+5": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/11129c81-a10d-47df-979f-518b89eb5fb6?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "21" ], - "x-ms-client-request-id": [ "3db1c9d6-6dcb-4ecc-99b9-06d91b8482d8" ], - "CommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "b351b328-63c8-4863-8c31-fc8c35adab9f" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], - "x-ms-correlation-request-id": [ "c054926b-171e-45ef-9a29-405824feb3ed" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T064647Z:c054926b-171e-45ef-9a29-405824feb3ed" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:46:46 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "106" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"11129c81-a10d-47df-979f-518b89eb5fb6\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T06:45:46.92Z\"}" - } - }, - "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/11129c81-a10d-47df-979f-518b89eb5fb6?api-version=2020-02-14-preview+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/11129c81-a10d-47df-979f-518b89eb5fb6?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "22" ], - "x-ms-client-request-id": [ "3db1c9d6-6dcb-4ecc-99b9-06d91b8482d8" ], - "CommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "85d18db3-4c5f-4870-9487-b1bea0aa0b7e" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], - "x-ms-correlation-request-id": [ "cd9e081c-8cc4-4955-9324-a7525ecb58f4" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T064647Z:cd9e081c-8cc4-4955-9324-a7525ecb58f4" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:46:46 GMT" ] - }, - "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] - }, - "Content": null - } - }, - "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { - "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", - "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.1\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "93" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/aea62ef0-2358-49d3-9f15-16ef75353c41?api-version=2020-02-14-preview" ], - "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aea62ef0-2358-49d3-9f15-16ef75353c41?api-version=2020-02-14-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "aea62ef0-2358-49d3-9f15-16ef75353c41" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], - "x-ms-correlation-request-id": [ "cfb84be8-6b69-4109-94b4-15598c43a2e6" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T064648Z:cfb84be8-6b69-4109-94b4-15598c43a2e6" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:46:47 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "98" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-11T06:46:48.01Z\"}" - } - }, - "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aea62ef0-2358-49d3-9f15-16ef75353c41?api-version=2020-02-14-preview+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aea62ef0-2358-49d3-9f15-16ef75353c41?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "24" ], - "x-ms-client-request-id": [ "17fd83ae-23c2-407f-9e4b-83f70d8d966d" ], - "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "New-AzPostgreSqlFlexibleServerFirewallRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "042a606e-0eef-455e-98d9-04d80a0e805d" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], - "x-ms-correlation-request-id": [ "a8284521-ebc5-4f15-93d1-88bcda61aa9b" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T064748Z:a8284521-ebc5-4f15-93d1-88bcda61aa9b" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:47:47 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "106" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"aea62ef0-2358-49d3-9f15-16ef75353c41\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T06:46:48.01Z\"}" - } - }, - "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "25" ], - "x-ms-client-request-id": [ "17fd83ae-23c2-407f-9e4b-83f70d8d966d" ], - "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "New-AzPostgreSqlFlexibleServerFirewallRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "094605b9-8d33-457e-86ac-34f931da8e7b" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11980" ], - "x-ms-correlation-request-id": [ "fd7444e4-a39c-43f5-87e3-cbfb14015820" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T064748Z:fd7444e4-a39c-43f5-87e3-cbfb14015820" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:47:48 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "159" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.1\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}" - } - }, - "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+4": { - "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "26" ], - "x-ms-client-request-id": [ "5e3c713e-27cc-47cc-b503-e70d3e527e40" ], - "CommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/e6c5e9ae-751b-420d-8905-4580877db672?api-version=2020-02-14-preview" ], - "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e6c5e9ae-751b-420d-8905-4580877db672?api-version=2020-02-14-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "e6c5e9ae-751b-420d-8905-4580877db672" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14997" ], - "x-ms-correlation-request-id": [ "4f66b66c-f444-4341-9b83-e10d5735cbb3" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T064749Z:4f66b66c-f444-4341-9b83-e10d5735cbb3" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:47:48 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "97" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"DropServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-11T06:47:48.923Z\"}" - } - }, - "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e6c5e9ae-751b-420d-8905-4580877db672?api-version=2020-02-14-preview+5": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e6c5e9ae-751b-420d-8905-4580877db672?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "27" ], - "x-ms-client-request-id": [ "5e3c713e-27cc-47cc-b503-e70d3e527e40" ], - "CommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "bad6347d-28e7-4d23-b17c-ed57e8dcc29d" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11979" ], - "x-ms-correlation-request-id": [ "9a112cb6-85ab-4684-b462-4c660b6db444" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T064849Z:9a112cb6-85ab-4684-b462-4c660b6db444" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:48:49 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"e6c5e9ae-751b-420d-8905-4580877db672\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T06:47:48.923Z\"}" - } - }, - "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/e6c5e9ae-751b-420d-8905-4580877db672?api-version=2020-02-14-preview+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/e6c5e9ae-751b-420d-8905-4580877db672?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "28" ], - "x-ms-client-request-id": [ "5e3c713e-27cc-47cc-b503-e70d3e527e40" ], - "CommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "e740908b-750d-47de-a2fb-522a31d9075b" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11978" ], - "x-ms-correlation-request-id": [ "0ab6c766-b362-4723-9e87-142e8cd59944" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T064849Z:0ab6c766-b362-4723-9e87-142e8cd59944" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:48:49 GMT" ] - }, - "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] - }, - "Content": null - } - }, - "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+AllowAll+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { - "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", - "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"255.255.255.255\"\r\n }\r\n}", - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "101" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/e04eba31-9804-4df6-a9f4-31553cf3addd?api-version=2020-02-14-preview" ], - "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e04eba31-9804-4df6-a9f4-31553cf3addd?api-version=2020-02-14-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "e04eba31-9804-4df6-a9f4-31553cf3addd" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], - "x-ms-correlation-request-id": [ "b94bec0a-1a1a-4bba-bde1-5365e04c6cf8" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T064849Z:b94bec0a-1a1a-4bba-bde1-5365e04c6cf8" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:48:49 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "98" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-11T06:48:49.75Z\"}" - } - }, - "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e04eba31-9804-4df6-a9f4-31553cf3addd?api-version=2020-02-14-preview+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e04eba31-9804-4df6-a9f4-31553cf3addd?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "30" ], - "x-ms-client-request-id": [ "1273aa52-7f89-4fe9-b7e1-33cfc4d9a506" ], - "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "New-AzPostgreSqlFlexibleServerFirewallRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "28e1fb55-d578-4faf-955f-35e895118824" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11977" ], - "x-ms-correlation-request-id": [ "4829c506-3be3-43d5-9707-809d4c7d3a8a" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T064950Z:4829c506-3be3-43d5-9707-809d4c7d3a8a" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:49:49 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "106" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"e04eba31-9804-4df6-a9f4-31553cf3addd\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T06:48:49.75Z\"}" - } - }, - "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "31" ], - "x-ms-client-request-id": [ "1273aa52-7f89-4fe9-b7e1-33cfc4d9a506" ], - "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "New-AzPostgreSqlFlexibleServerFirewallRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "21b784df-9646-42f6-a2e2-b506da70fd76" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11976" ], - "x-ms-correlation-request-id": [ "30288fc7-555d-4dde-85c6-23c448787ffc" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T064950Z:30288fc7-555d-4dde-85c6-23c448787ffc" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:49:49 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "167" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"255.255.255.255\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}" - } - }, - "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+AllowAll+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+4": { - "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "32" ], - "x-ms-client-request-id": [ "7428d90e-762f-46bb-a5b9-f7aa6858cfb7" ], - "CommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/0519e824-c85b-4a97-85c0-2d8520fdb2a2?api-version=2020-02-14-preview" ], - "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0519e824-c85b-4a97-85c0-2d8520fdb2a2?api-version=2020-02-14-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "0519e824-c85b-4a97-85c0-2d8520fdb2a2" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14996" ], - "x-ms-correlation-request-id": [ "385b51ca-3e98-4d2c-939e-d0c6cf1486ce" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T064950Z:385b51ca-3e98-4d2c-939e-d0c6cf1486ce" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:49:49 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "97" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"DropServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-11T06:49:50.737Z\"}" - } - }, - "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0519e824-c85b-4a97-85c0-2d8520fdb2a2?api-version=2020-02-14-preview+5": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0519e824-c85b-4a97-85c0-2d8520fdb2a2?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "33" ], - "x-ms-client-request-id": [ "7428d90e-762f-46bb-a5b9-f7aa6858cfb7" ], - "CommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "28f81896-b605-48b1-9516-71fea1fba2e0" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11975" ], - "x-ms-correlation-request-id": [ "cd1944ab-dbed-4cee-a829-57cd3413b128" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T065051Z:cd1944ab-dbed-4cee-a829-57cd3413b128" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:50:50 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"0519e824-c85b-4a97-85c0-2d8520fdb2a2\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T06:49:50.737Z\"}" - } - }, - "New-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/0519e824-c85b-4a97-85c0-2d8520fdb2a2?api-version=2020-02-14-preview+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/0519e824-c85b-4a97-85c0-2d8520fdb2a2?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "34" ], - "x-ms-client-request-id": [ "7428d90e-762f-46bb-a5b9-f7aa6858cfb7" ], - "CommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "b2581582-f440-46ca-8c44-e72318aaad09" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11974" ], - "x-ms-correlation-request-id": [ "54cb5b8a-aae2-49d9-86e0-aeda164235fd" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T065051Z:54cb5b8a-aae2-49d9-86e0-aeda164235fd" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:50:50 GMT" ] - }, - "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] - }, - "Content": null - } - } -} \ No newline at end of file diff --git a/src/PostgreSql/test/New-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 b/src/PostgreSql/test/New-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 deleted file mode 100644 index b392c713ee6b..000000000000 --- a/src/PostgreSql/test/New-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 +++ /dev/null @@ -1,39 +0,0 @@ -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'New-AzPostgreSqlFlexibleServerFirewallRule.Recording.json' -$currentPath = $PSScriptRoot -while(-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - -Describe 'New-AzPostgreSqlFlexibleServerFirewallRule' { - It 'CreateExpanded' { - $rule = New-AzPostgreSqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 - $rule.Name | Should -Be $env.firewallRuleName - $rule.StartIPAddress | Should -Be 0.0.0.0 - $rule.EndIPAddress | Should -Be 0.0.0.1 - Remove-AzPostgreSqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName - } - - It 'ClientIPAddress' { - #Use only one parameter when only one IP - $rule = New-AzPostgreSqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -ClientIPAddress 0.0.0.1 - $rule.Name | Should -Be $env.firewallRuleName - $rule.StartIPAddress | Should -Be 0.0.0.1 - $rule.EndIPAddress | Should -Be 0.0.0.1 - Remove-AzPostgreSqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName - } - - It 'AllowAll' { - $rule = New-AzPostgreSqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -AllowAll - $rule.Name | Should -Be $env.firewallRuleName - $rule.StartIPAddress | Should -Be 0.0.0.0 - $rule.EndIPAddress | Should -Be 255.255.255.255 - Remove-AzPostgreSqlFlexibleServerFirewallRule -Name $rule.Name -ResourceGroupName $env.resourceGroup -ServerName $env.serverName - } -} diff --git a/src/PostgreSql/test/New-AzPostgreSqlReplica.Recording.json b/src/PostgreSql/test/New-AzPostgreSqlReplica.Recording.json index 79b6174a3bb2..ffc49c6f1ff3 100644 --- a/src/PostgreSql/test/New-AzPostgreSqlReplica.Recording.json +++ b/src/PostgreSql/test/New-AzPostgreSqlReplica.Recording.json @@ -1,8 +1,8 @@ { - "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+1": { + "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "107" ], @@ -35,14 +35,14 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" } }, - "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01+2": { + "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01+2": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"createMode\": \"Replica\",\r\n \"sourceServerId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\"\r\n },\r\n \"location\": \"eastus\"\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"createMode\": \"Replica\",\r\n \"sourceServerId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\"\r\n },\r\n \"location\": \"eastus\"\r\n}", "Headers": { }, "ContentHeaders": { @@ -55,9 +55,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01" ], "x-ms-request-id": [ "e90e1781-70f6-4c66-a12a-6cb762d7b2d0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1186" ], @@ -75,10 +75,10 @@ "Content": "{\"operation\":\"CreateElasticServerContinuousCopy\",\"startTime\":\"2020-09-25T11:14:27.93Z\"}" } }, - "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01+3": { + "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "108", "109" ], @@ -115,10 +115,10 @@ "Content": "{\"name\":\"e90e1781-70f6-4c66-a12a-6cb762d7b2d0\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:14:27.93Z\"}" } }, - "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01+4": { + "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "108", "109", "110" ], @@ -155,10 +155,10 @@ "Content": "{\"name\":\"e90e1781-70f6-4c66-a12a-6cb762d7b2d0\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:14:27.93Z\"}" } }, - "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01+5": { + "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "108", "109", "110", "111" ], @@ -195,10 +195,10 @@ "Content": "{\"name\":\"e90e1781-70f6-4c66-a12a-6cb762d7b2d0\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:14:27.93Z\"}" } }, - "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01+6": { + "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "108", "109", "110", "111", "112" ], @@ -235,10 +235,10 @@ "Content": "{\"name\":\"e90e1781-70f6-4c66-a12a-6cb762d7b2d0\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:14:27.93Z\"}" } }, - "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01+7": { + "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "108", "109", "110", "111", "112", "113" ], @@ -275,10 +275,10 @@ "Content": "{\"name\":\"e90e1781-70f6-4c66-a12a-6cb762d7b2d0\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:14:27.93Z\"}" } }, - "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01+8": { + "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "108", "109", "110", "111", "112", "113", "114" ], @@ -315,10 +315,10 @@ "Content": "{\"name\":\"e90e1781-70f6-4c66-a12a-6cb762d7b2d0\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:14:27.93Z\"}" } }, - "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01+9": { + "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "108", "109", "110", "111", "112", "113", "114", "115" ], @@ -355,10 +355,10 @@ "Content": "{\"name\":\"e90e1781-70f6-4c66-a12a-6cb762d7b2d0\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:14:27.93Z\"}" } }, - "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01+10": { + "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "108", "109", "110", "111", "112", "113", "114", "115", "116" ], @@ -395,10 +395,10 @@ "Content": "{\"name\":\"e90e1781-70f6-4c66-a12a-6cb762d7b2d0\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:14:27.93Z\"}" } }, - "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01+11": { + "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "108", "109", "110", "111", "112", "113", "114", "115", "116", "117" ], @@ -435,10 +435,10 @@ "Content": "{\"name\":\"e90e1781-70f6-4c66-a12a-6cb762d7b2d0\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:14:27.93Z\"}" } }, - "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01+12": { + "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "108", "109", "110", "111", "112", "113", "114", "115", "116", "117", "118" ], @@ -475,10 +475,10 @@ "Content": "{\"name\":\"e90e1781-70f6-4c66-a12a-6cb762d7b2d0\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:14:27.93Z\"}" } }, - "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01+13": { + "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "108", "109", "110", "111", "112", "113", "114", "115", "116", "117", "118", "119" ], @@ -515,10 +515,10 @@ "Content": "{\"name\":\"e90e1781-70f6-4c66-a12a-6cb762d7b2d0\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:14:27.93Z\"}" } }, - "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01+14": { + "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01+14": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e90e1781-70f6-4c66-a12a-6cb762d7b2d0?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "108", "109", "110", "111", "112", "113", "114", "115", "116", "117", "118", "119", "120" ], @@ -555,10 +555,10 @@ "Content": "{\"name\":\"e90e1781-70f6-4c66-a12a-6cb762d7b2d0\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:14:27.93Z\"}" } }, - "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01+15": { + "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01+15": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "108", "109", "110", "111", "112", "113", "114", "115", "116", "117", "118", "119", "120", "121" ], @@ -591,13 +591,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100-replica.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:25:40.337+00:00\",\"replicationRole\":\"Replica\",\"masterServerId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-replica\",\"name\":\"postgresql-test-100-replica\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100-replica.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:25:40.337+00:00\",\"replicationRole\":\"Replica\",\"masterServerId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-replica\",\"name\":\"postgresql-test-100-replica\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" } }, - "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01+16": { + "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01+16": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "122" ], @@ -616,9 +616,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/6466668d-7f53-4f75-836b-6e7dd8cb2575?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/6466668d-7f53-4f75-836b-6e7dd8cb2575?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6466668d-7f53-4f75-836b-6e7dd8cb2575?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6466668d-7f53-4f75-836b-6e7dd8cb2575?api-version=2017-12-01" ], "x-ms-request-id": [ "6466668d-7f53-4f75-836b-6e7dd8cb2575" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14989" ], @@ -636,10 +636,10 @@ "Content": "{\"operation\":\"DropElasticServer\",\"startTime\":\"2020-09-25T11:20:35.597Z\"}" } }, - "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6466668d-7f53-4f75-836b-6e7dd8cb2575?api-version=2017-12-01+17": { + "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6466668d-7f53-4f75-836b-6e7dd8cb2575?api-version=2017-12-01+17": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6466668d-7f53-4f75-836b-6e7dd8cb2575?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6466668d-7f53-4f75-836b-6e7dd8cb2575?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "122", "123" ], @@ -676,10 +676,10 @@ "Content": "{\"name\":\"6466668d-7f53-4f75-836b-6e7dd8cb2575\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:20:35.597Z\"}" } }, - "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/6466668d-7f53-4f75-836b-6e7dd8cb2575?api-version=2017-12-01+18": { + "New-AzPostgreSqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/6466668d-7f53-4f75-836b-6e7dd8cb2575?api-version=2017-12-01+18": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/6466668d-7f53-4f75-836b-6e7dd8cb2575?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/6466668d-7f53-4f75-836b-6e7dd8cb2575?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "122", "123", "124" ], diff --git a/src/PostgreSql/test/New-AzPostgreSqlServer.Recording.json b/src/PostgreSql/test/New-AzPostgreSqlServer.Recording.json index 6bba1197d89b..959764380074 100644 --- a/src/PostgreSql/test/New-AzPostgreSqlServer.Recording.json +++ b/src/PostgreSql/test/New-AzPostgreSqlServer.Recording.json @@ -1,8 +1,8 @@ { - "New-AzPostgreSqlServer+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-200?api-version=2017-12-01+1": { + "New-AzPostgreSqlServer+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-2?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-200?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-2?api-version=2017-12-01", "Content": "{\r\n \"sku\": {\r\n \"name\": \"GP_Gen5_4\"\r\n },\r\n \"properties\": {\r\n \"createMode\": \"Default\",\r\n \"administratorLogin\": \"pwsh\",\r\n \"administratorLoginPassword\": \"Pa88word!\"\r\n },\r\n \"location\": \"eastus\"\r\n}", "Headers": { }, @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/ab638a2c-616a-4164-bee6-c7f9d810208b?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/ab638a2c-616a-4164-bee6-c7f9d810208b?api-version=2017-12-01" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/ab638a2c-616a-4164-bee6-c7f9d810208b?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ab638a2c-616a-4164-bee6-c7f9d810208b?api-version=2017-12-01" ], "x-ms-request-id": [ "ab638a2c-616a-4164-bee6-c7f9d810208b" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1185" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpsertElasticServer\",\"startTime\":\"2020-09-25T11:20:55.44Z\"}" } }, - "New-AzPostgreSqlServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/ab638a2c-616a-4164-bee6-c7f9d810208b?api-version=2017-12-01+2": { + "New-AzPostgreSqlServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ab638a2c-616a-4164-bee6-c7f9d810208b?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/ab638a2c-616a-4164-bee6-c7f9d810208b?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ab638a2c-616a-4164-bee6-c7f9d810208b?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "125", "126" ], @@ -76,10 +76,10 @@ "Content": "{\"name\":\"ab638a2c-616a-4164-bee6-c7f9d810208b\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:20:55.44Z\"}" } }, - "New-AzPostgreSqlServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/ab638a2c-616a-4164-bee6-c7f9d810208b?api-version=2017-12-01+3": { + "New-AzPostgreSqlServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ab638a2c-616a-4164-bee6-c7f9d810208b?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/ab638a2c-616a-4164-bee6-c7f9d810208b?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ab638a2c-616a-4164-bee6-c7f9d810208b?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "125", "126", "127" ], @@ -116,10 +116,10 @@ "Content": "{\"name\":\"ab638a2c-616a-4164-bee6-c7f9d810208b\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:20:55.44Z\"}" } }, - "New-AzPostgreSqlServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-200?api-version=2017-12-01+4": { + "New-AzPostgreSqlServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-2?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-200?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-2?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "125", "126", "127", "128" ], @@ -152,13 +152,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"pwsh\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-200.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:30:55.74+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-200\",\"name\":\"postgresql-test-200\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"pwsh\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100-2.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:30:55.74+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-2\",\"name\":\"postgresql-test-100-2\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" } }, - "New-AzPostgreSqlServer+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-200?api-version=2017-12-01+5": { + "New-AzPostgreSqlServer+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-2?api-version=2017-12-01+5": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-200?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-2?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "129" ], @@ -177,9 +177,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/ee3ff3fd-1e48-4a6c-b4e7-22a60ef5958e?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/ee3ff3fd-1e48-4a6c-b4e7-22a60ef5958e?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/ee3ff3fd-1e48-4a6c-b4e7-22a60ef5958e?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ee3ff3fd-1e48-4a6c-b4e7-22a60ef5958e?api-version=2017-12-01" ], "x-ms-request-id": [ "ee3ff3fd-1e48-4a6c-b4e7-22a60ef5958e" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14988" ], @@ -197,10 +197,10 @@ "Content": "{\"operation\":\"DropElasticServer\",\"startTime\":\"2020-09-25T11:22:58.293Z\"}" } }, - "New-AzPostgreSqlServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/ee3ff3fd-1e48-4a6c-b4e7-22a60ef5958e?api-version=2017-12-01+6": { + "New-AzPostgreSqlServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ee3ff3fd-1e48-4a6c-b4e7-22a60ef5958e?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/ee3ff3fd-1e48-4a6c-b4e7-22a60ef5958e?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ee3ff3fd-1e48-4a6c-b4e7-22a60ef5958e?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "129", "130" ], @@ -237,10 +237,10 @@ "Content": "{\"name\":\"ee3ff3fd-1e48-4a6c-b4e7-22a60ef5958e\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:22:58.293Z\"}" } }, - "New-AzPostgreSqlServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/ee3ff3fd-1e48-4a6c-b4e7-22a60ef5958e?api-version=2017-12-01+7": { + "New-AzPostgreSqlServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/ee3ff3fd-1e48-4a6c-b4e7-22a60ef5958e?api-version=2017-12-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/ee3ff3fd-1e48-4a6c-b4e7-22a60ef5958e?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/ee3ff3fd-1e48-4a6c-b4e7-22a60ef5958e?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "129", "130", "131" ], diff --git a/src/PostgreSql/test/New-AzPostgreSqlVirtualNetworkRule.Recording.json b/src/PostgreSql/test/New-AzPostgreSqlVirtualNetworkRule.Recording.json index 26b218b45090..47b1914c1328 100644 --- a/src/PostgreSql/test/New-AzPostgreSqlVirtualNetworkRule.Recording.json +++ b/src/PostgreSql/test/New-AzPostgreSqlVirtualNetworkRule.Recording.json @@ -1,9 +1,9 @@ { - "New-AzPostgreSqlVirtualNetworkRule+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+1": { + "New-AzPostgreSqlVirtualNetworkRule+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/901381a8-cbcb-4b44-b6bf-ecd21bd661c8?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/901381a8-cbcb-4b44-b6bf-ecd21bd661c8?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/901381a8-cbcb-4b44-b6bf-ecd21bd661c8?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/901381a8-cbcb-4b44-b6bf-ecd21bd661c8?api-version=2017-12-01" ], "x-ms-request-id": [ "901381a8-cbcb-4b44-b6bf-ecd21bd661c8" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1184" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-09-25T11:23:14.717Z\"}" } }, - "New-AzPostgreSqlVirtualNetworkRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/901381a8-cbcb-4b44-b6bf-ecd21bd661c8?api-version=2017-12-01+2": { + "New-AzPostgreSqlVirtualNetworkRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/901381a8-cbcb-4b44-b6bf-ecd21bd661c8?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/901381a8-cbcb-4b44-b6bf-ecd21bd661c8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/901381a8-cbcb-4b44-b6bf-ecd21bd661c8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "132", "133" ], @@ -76,10 +76,10 @@ "Content": "{\"name\":\"901381a8-cbcb-4b44-b6bf-ecd21bd661c8\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:23:14.717Z\"}" } }, - "New-AzPostgreSqlVirtualNetworkRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+3": { + "New-AzPostgreSqlVirtualNetworkRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "132", "133", "134" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBForPostgreSQL/servers/virtualNetworkRules\"}" + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBforPostgreSQL/servers/virtualNetworkRules\"}" } }, - "New-AzPostgreSqlVirtualNetworkRule+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+4": { + "New-AzPostgreSqlVirtualNetworkRule+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "135" ], @@ -137,9 +137,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/caf26192-34db-47cf-a3df-f3f5c4e5ee6f?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/caf26192-34db-47cf-a3df-f3f5c4e5ee6f?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/caf26192-34db-47cf-a3df-f3f5c4e5ee6f?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/caf26192-34db-47cf-a3df-f3f5c4e5ee6f?api-version=2017-12-01" ], "x-ms-request-id": [ "caf26192-34db-47cf-a3df-f3f5c4e5ee6f" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14987" ], @@ -157,10 +157,10 @@ "Content": "{\"operation\":\"DropElasticServerVnetFirewallRule\",\"startTime\":\"2020-09-25T11:23:46.903Z\"}" } }, - "New-AzPostgreSqlVirtualNetworkRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/caf26192-34db-47cf-a3df-f3f5c4e5ee6f?api-version=2017-12-01+5": { + "New-AzPostgreSqlVirtualNetworkRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/caf26192-34db-47cf-a3df-f3f5c4e5ee6f?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/caf26192-34db-47cf-a3df-f3f5c4e5ee6f?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/caf26192-34db-47cf-a3df-f3f5c4e5ee6f?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "135", "136" ], @@ -197,10 +197,10 @@ "Content": "{\"name\":\"caf26192-34db-47cf-a3df-f3f5c4e5ee6f\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:23:46.903Z\"}" } }, - "New-AzPostgreSqlVirtualNetworkRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/caf26192-34db-47cf-a3df-f3f5c4e5ee6f?api-version=2017-12-01+6": { + "New-AzPostgreSqlVirtualNetworkRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/caf26192-34db-47cf-a3df-f3f5c4e5ee6f?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/caf26192-34db-47cf-a3df-f3f5c4e5ee6f?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/caf26192-34db-47cf-a3df-f3f5c4e5ee6f?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "135", "136", "137" ], diff --git a/src/PostgreSql/test/Remove-AzPostgreSqlFirewallRule.Recording.json b/src/PostgreSql/test/Remove-AzPostgreSqlFirewallRule.Recording.json index 835566fb3d5f..2c7ec80c858a 100644 --- a/src/PostgreSql/test/Remove-AzPostgreSqlFirewallRule.Recording.json +++ b/src/PostgreSql/test/Remove-AzPostgreSqlFirewallRule.Recording.json @@ -1,8 +1,8 @@ { - "Remove-AzPostgreSqlFirewallRule+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+1": { + "Remove-AzPostgreSqlFirewallRule+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/c47d84ab-9882-4753-b3b8-c386b0fed0a0?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/c47d84ab-9882-4753-b3b8-c386b0fed0a0?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c47d84ab-9882-4753-b3b8-c386b0fed0a0?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c47d84ab-9882-4753-b3b8-c386b0fed0a0?api-version=2017-12-01" ], "x-ms-request-id": [ "c47d84ab-9882-4753-b3b8-c386b0fed0a0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1183" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-09-25T11:24:04.39Z\"}" } }, - "Remove-AzPostgreSqlFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c47d84ab-9882-4753-b3b8-c386b0fed0a0?api-version=2017-12-01+2": { + "Remove-AzPostgreSqlFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c47d84ab-9882-4753-b3b8-c386b0fed0a0?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c47d84ab-9882-4753-b3b8-c386b0fed0a0?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c47d84ab-9882-4753-b3b8-c386b0fed0a0?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "138", "139" ], @@ -76,10 +76,10 @@ "Content": "{\"name\":\"c47d84ab-9882-4753-b3b8-c386b0fed0a0\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:24:04.39Z\"}" } }, - "Remove-AzPostgreSqlFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+3": { + "Remove-AzPostgreSqlFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "138", "139", "140" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBForPostgreSQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/servers/firewallRules\"}" } }, - "Remove-AzPostgreSqlFirewallRule+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+4": { + "Remove-AzPostgreSqlFirewallRule+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "141" ], @@ -137,9 +137,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/6ca94acd-2cb9-4c29-96b2-e8c73b116c2c?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/6ca94acd-2cb9-4c29-96b2-e8c73b116c2c?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6ca94acd-2cb9-4c29-96b2-e8c73b116c2c?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6ca94acd-2cb9-4c29-96b2-e8c73b116c2c?api-version=2017-12-01" ], "x-ms-request-id": [ "6ca94acd-2cb9-4c29-96b2-e8c73b116c2c" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14986" ], @@ -157,10 +157,10 @@ "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-09-25T11:24:21.733Z\"}" } }, - "Remove-AzPostgreSqlFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6ca94acd-2cb9-4c29-96b2-e8c73b116c2c?api-version=2017-12-01+5": { + "Remove-AzPostgreSqlFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6ca94acd-2cb9-4c29-96b2-e8c73b116c2c?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6ca94acd-2cb9-4c29-96b2-e8c73b116c2c?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6ca94acd-2cb9-4c29-96b2-e8c73b116c2c?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "141", "142" ], @@ -197,10 +197,10 @@ "Content": "{\"name\":\"6ca94acd-2cb9-4c29-96b2-e8c73b116c2c\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:24:21.733Z\"}" } }, - "Remove-AzPostgreSqlFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/6ca94acd-2cb9-4c29-96b2-e8c73b116c2c?api-version=2017-12-01+6": { + "Remove-AzPostgreSqlFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/6ca94acd-2cb9-4c29-96b2-e8c73b116c2c?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/6ca94acd-2cb9-4c29-96b2-e8c73b116c2c?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/6ca94acd-2cb9-4c29-96b2-e8c73b116c2c?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "141", "142", "143" ], @@ -235,10 +235,10 @@ "Content": null } }, - "Remove-AzPostgreSqlFirewallRule+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+1": { + "Remove-AzPostgreSqlFirewallRule+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -252,9 +252,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/8b5ea346-fa29-41f1-a375-396573b77ce9?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/8b5ea346-fa29-41f1-a375-396573b77ce9?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/8b5ea346-fa29-41f1-a375-396573b77ce9?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/8b5ea346-fa29-41f1-a375-396573b77ce9?api-version=2017-12-01" ], "x-ms-request-id": [ "8b5ea346-fa29-41f1-a375-396573b77ce9" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1182" ], @@ -272,10 +272,10 @@ "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-09-25T11:24:38.983Z\"}" } }, - "Remove-AzPostgreSqlFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/8b5ea346-fa29-41f1-a375-396573b77ce9?api-version=2017-12-01+2": { + "Remove-AzPostgreSqlFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/8b5ea346-fa29-41f1-a375-396573b77ce9?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/8b5ea346-fa29-41f1-a375-396573b77ce9?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/8b5ea346-fa29-41f1-a375-396573b77ce9?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "144", "145" ], @@ -312,10 +312,10 @@ "Content": "{\"name\":\"8b5ea346-fa29-41f1-a375-396573b77ce9\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:24:38.983Z\"}" } }, - "Remove-AzPostgreSqlFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+3": { + "Remove-AzPostgreSqlFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "144", "145", "146" ], @@ -348,13 +348,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBForPostgreSQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/servers/firewallRules\"}" } }, - "Remove-AzPostgreSqlFirewallRule+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+4": { + "Remove-AzPostgreSqlFirewallRule+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "147" ], @@ -373,9 +373,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/8536a5ab-2699-49a4-8d16-34efd10c2b2a?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/8536a5ab-2699-49a4-8d16-34efd10c2b2a?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/8536a5ab-2699-49a4-8d16-34efd10c2b2a?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/8536a5ab-2699-49a4-8d16-34efd10c2b2a?api-version=2017-12-01" ], "x-ms-request-id": [ "8536a5ab-2699-49a4-8d16-34efd10c2b2a" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14985" ], @@ -393,10 +393,10 @@ "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-09-25T11:24:56.327Z\"}" } }, - "Remove-AzPostgreSqlFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/8536a5ab-2699-49a4-8d16-34efd10c2b2a?api-version=2017-12-01+5": { + "Remove-AzPostgreSqlFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/8536a5ab-2699-49a4-8d16-34efd10c2b2a?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/8536a5ab-2699-49a4-8d16-34efd10c2b2a?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/8536a5ab-2699-49a4-8d16-34efd10c2b2a?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "147", "148" ], @@ -433,10 +433,10 @@ "Content": "{\"name\":\"8536a5ab-2699-49a4-8d16-34efd10c2b2a\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:24:56.327Z\"}" } }, - "Remove-AzPostgreSqlFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/8536a5ab-2699-49a4-8d16-34efd10c2b2a?api-version=2017-12-01+6": { + "Remove-AzPostgreSqlFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/8536a5ab-2699-49a4-8d16-34efd10c2b2a?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/8536a5ab-2699-49a4-8d16-34efd10c2b2a?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/8536a5ab-2699-49a4-8d16-34efd10c2b2a?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "147", "148", "149" ], diff --git a/src/PostgreSql/test/Remove-AzPostgreSqlFirewallRule.Tests.ps1 b/src/PostgreSql/test/Remove-AzPostgreSqlFirewallRule.Tests.ps1 index a5e17287ff64..75f2bee9ef0d 100644 --- a/src/PostgreSql/test/Remove-AzPostgreSqlFirewallRule.Tests.ps1 +++ b/src/PostgreSql/test/Remove-AzPostgreSqlFirewallRule.Tests.ps1 @@ -22,7 +22,7 @@ Describe 'Remove-AzPostgreSqlFirewallRule' { It 'DeleteViaIdentity' { { New-AzPostgreSqlFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSQL/servers/$($env.serverName)/firewallRules/$($env.firewallRuleName)" + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBforPostgreSQL/servers/$($env.serverName)/firewallRules/$($env.firewallRuleName)" Remove-AzPostgreSqlFirewallRule -InputObject $ID } | Should -Not -Throw } diff --git a/src/PostgreSql/test/Remove-AzPostgreSqlFlexibleServer.Recording.json b/src/PostgreSql/test/Remove-AzPostgreSqlFlexibleServer.Recording.json deleted file mode 100644 index e905d2c60278..000000000000 --- a/src/PostgreSql/test/Remove-AzPostgreSqlFlexibleServer.Recording.json +++ /dev/null @@ -1,190 +0,0 @@ -{ - "Remove-AzPostgreSqlFlexibleServer+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview+1": { - "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-200?api-version=2020-02-14-preview", - "Content": "{\r\n \"location\": \"eastus\",\r\n \"sku\": {\r\n \"name\": \"Standard_D2s_v3\",\r\n \"tier\": \"GeneralPurpose\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 131072\r\n },\r\n \"administratorLogin\": \"mysql_test\",\r\n \"administratorLoginPassword\": \"Pasword01!!2020\",\r\n \"version\": \"12\",\r\n \"createMode\": \"Default\"\r\n }\r\n}", - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "372" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/f78a219c-4acf-4eae-b935-9a788f5e6b77?api-version=2020-02-14-preview" ], - "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f78a219c-4acf-4eae-b935-9a788f5e6b77?api-version=2020-02-14-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "e894d32d-0c8d-4a88-8362-79cd2e98b7fc" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], - "x-ms-correlation-request-id": [ "0a05d391-712b-4286-8205-a3cfa9f21606" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T065052Z:0a05d391-712b-4286-8205-a3cfa9f21606" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:50:51 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "88" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-11T06:50:52.347Z\"}" - } - }, - "Remove-AzPostgreSqlFlexibleServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f78a219c-4acf-4eae-b935-9a788f5e6b77?api-version=2020-02-14-preview+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f78a219c-4acf-4eae-b935-9a788f5e6b77?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "36" ], - "x-ms-client-request-id": [ "059d1de3-b74e-4def-84b4-2a8c7ad8cb2c" ], - "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "New-AzPostgreSqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "28f809a0-04fe-4f01-90ab-07289cf7d027" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11973" ], - "x-ms-correlation-request-id": [ "d9a8abe8-15e0-4e17-b7a0-d5dd8ff3e114" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T065152Z:d9a8abe8-15e0-4e17-b7a0-d5dd8ff3e114" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:51:52 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"f78a219c-4acf-4eae-b935-9a788f5e6b77\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T06:50:52.347Z\"}" - } - }, - "Remove-AzPostgreSqlFlexibleServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-200?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "37" ], - "x-ms-client-request-id": [ "059d1de3-b74e-4def-84b4-2a8c7ad8cb2c" ], - "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "New-AzPostgreSqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "aa6ef87e-34db-4226-aead-21a26123781e" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11972" ], - "x-ms-correlation-request-id": [ "54f071d3-bb29-4c49-a350-bd2dc0561f87" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T065153Z:54f071d3-bb29-4c49-a350-bd2dc0561f87" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:51:52 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "1113" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresql-test-200.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"shyHamster5\",\"publicNetworkAccess\":\"Disabled\",\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/VNETesql-test-100/subnets/Subnetesql-test-100\"},\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"3\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-11T06:48:31.9060234+00:00\",\"byokEnforcement\":\"Disabled\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0}},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test-200\",\"name\":\"postgresql-test-200\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}" - } - }, - "Remove-AzPostgreSqlFlexibleServer+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-200?api-version=2020-02-14-preview+4": { - "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-200-2?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "38" ], - "x-ms-client-request-id": [ "be7212b4-206c-490e-a780-0d1fef28210c" ], - "CommandName": [ "Remove-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Remove-AzPostgreSqlFlexibleServer_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 204, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14995" ], - "x-ms-request-id": [ "c0cb51fc-6168-41ed-b15b-cbf837f25727" ], - "x-ms-correlation-request-id": [ "c0cb51fc-6168-41ed-b15b-cbf837f25727" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T065153Z:c0cb51fc-6168-41ed-b15b-cbf837f25727" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Wed, 11 Nov 2020 06:51:52 GMT" ] - }, - "ContentHeaders": { - "Expires": [ "-1" ] - }, - "Content": null - } - }, - "Remove-AzPostgreSqlFlexibleServer+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-200?api-version=2020-02-14-preview+1": { - "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-200?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "39" ], - "x-ms-client-request-id": [ "ef660717-cab6-4349-b74a-3bd4559346d3" ], - "CommandName": [ "Remove-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Remove-AzPostgreSqlFlexibleServer_DeleteViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 204, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14994" ], - "x-ms-request-id": [ "ee0dde3c-208f-4b7a-ae35-ea91778ac851" ], - "x-ms-correlation-request-id": [ "ee0dde3c-208f-4b7a-ae35-ea91778ac851" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T065153Z:ee0dde3c-208f-4b7a-ae35-ea91778ac851" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Wed, 11 Nov 2020 06:51:53 GMT" ] - }, - "ContentHeaders": { - "Expires": [ "-1" ] - }, - "Content": null - } - } -} \ No newline at end of file diff --git a/src/PostgreSql/test/Remove-AzPostgreSqlFlexibleServer.Tests.ps1 b/src/PostgreSql/test/Remove-AzPostgreSqlFlexibleServer.Tests.ps1 deleted file mode 100644 index b9de3bee13ed..000000000000 --- a/src/PostgreSql/test/Remove-AzPostgreSqlFlexibleServer.Tests.ps1 +++ /dev/null @@ -1,29 +0,0 @@ -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzPostgreSqlFlexibleServer.Recording.json' -$currentPath = $PSScriptRoot -while(-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - -Describe 'Remove-AzPostgreSqlFlexibleServer' { - It 'Delete' { - { - $password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force - New-AzPostgreSqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName -AdministratorUserName mysql_test -AdministratorLoginPassword $password - Remove-AzPostgreSqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName2 - } | Should -Not -Throw - } - - It 'DeleteViaIdentity' { - { - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSql/flexibleServers/$($env.serverName2)" - Remove-AzPostgreSqlFlexibleServer -InputObject $ID - } | Should -Not -Throw - } -} diff --git a/src/PostgreSql/test/Remove-AzPostgreSqlFlexibleServerFirewallRule.Recording.json b/src/PostgreSql/test/Remove-AzPostgreSqlFlexibleServerFirewallRule.Recording.json deleted file mode 100644 index 56e869d3b679..000000000000 --- a/src/PostgreSql/test/Remove-AzPostgreSqlFlexibleServerFirewallRule.Recording.json +++ /dev/null @@ -1,474 +0,0 @@ -{ - "Remove-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { - "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", - "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "93" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/de386837-d2af-4b0b-b4d0-47e49abff83b?api-version=2020-02-14-preview" ], - "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/de386837-d2af-4b0b-b4d0-47e49abff83b?api-version=2020-02-14-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "de386837-d2af-4b0b-b4d0-47e49abff83b" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1194" ], - "x-ms-correlation-request-id": [ "018e2aeb-1ed1-4bb7-892c-37a9265eaacd" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T065153Z:018e2aeb-1ed1-4bb7-892c-37a9265eaacd" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:51:53 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "99" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-11T06:51:53.813Z\"}" - } - }, - "Remove-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/de386837-d2af-4b0b-b4d0-47e49abff83b?api-version=2020-02-14-preview+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/de386837-d2af-4b0b-b4d0-47e49abff83b?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "41" ], - "x-ms-client-request-id": [ "d56d8ddc-48d1-4944-a10c-4428aed60c4a" ], - "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "New-AzPostgreSqlFlexibleServerFirewallRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "ab641ed3-8ef8-42d3-b8d4-57a03396cdd2" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11971" ], - "x-ms-correlation-request-id": [ "3520cabb-499c-4822-a552-0b693a9f11b4" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T065254Z:3520cabb-499c-4822-a552-0b693a9f11b4" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:52:54 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"de386837-d2af-4b0b-b4d0-47e49abff83b\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T06:51:53.813Z\"}" - } - }, - "Remove-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "42" ], - "x-ms-client-request-id": [ "d56d8ddc-48d1-4944-a10c-4428aed60c4a" ], - "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "New-AzPostgreSqlFlexibleServerFirewallRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "33127f88-2a3e-40f3-80ec-dfc0bcfa1793" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11970" ], - "x-ms-correlation-request-id": [ "8ba58c0e-2572-4fe3-a9e6-89e0be66a7da" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T065254Z:8ba58c0e-2572-4fe3-a9e6-89e0be66a7da" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:52:54 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "159" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}" - } - }, - "Remove-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+4": { - "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "43" ], - "x-ms-client-request-id": [ "f30bdb34-c00f-4172-9a00-de85d8340695" ], - "CommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/d62ab1fe-77eb-4e8d-8b26-62b9714818aa?api-version=2020-02-14-preview" ], - "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/d62ab1fe-77eb-4e8d-8b26-62b9714818aa?api-version=2020-02-14-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "d62ab1fe-77eb-4e8d-8b26-62b9714818aa" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14993" ], - "x-ms-correlation-request-id": [ "b69e5ab8-944d-480a-99d4-8302e0a85ee5" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T065254Z:b69e5ab8-944d-480a-99d4-8302e0a85ee5" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:52:54 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "97" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"DropServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-11T06:52:54.753Z\"}" - } - }, - "Remove-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/d62ab1fe-77eb-4e8d-8b26-62b9714818aa?api-version=2020-02-14-preview+5": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/d62ab1fe-77eb-4e8d-8b26-62b9714818aa?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "44" ], - "x-ms-client-request-id": [ "f30bdb34-c00f-4172-9a00-de85d8340695" ], - "CommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "5e25dcaa-9062-421f-932e-313923e5e64c" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11969" ], - "x-ms-correlation-request-id": [ "90c6a01d-0e2e-4123-baea-4d3475a5eaa3" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T065355Z:90c6a01d-0e2e-4123-baea-4d3475a5eaa3" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:53:54 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"d62ab1fe-77eb-4e8d-8b26-62b9714818aa\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T06:52:54.753Z\"}" - } - }, - "Remove-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/d62ab1fe-77eb-4e8d-8b26-62b9714818aa?api-version=2020-02-14-preview+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/d62ab1fe-77eb-4e8d-8b26-62b9714818aa?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "45" ], - "x-ms-client-request-id": [ "f30bdb34-c00f-4172-9a00-de85d8340695" ], - "CommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "04defab5-33a1-460b-8a32-156f083a62b8" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11968" ], - "x-ms-correlation-request-id": [ "1bf9d406-a1dd-44d8-b2d3-7295f2211bc4" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T065355Z:1bf9d406-a1dd-44d8-b2d3-7295f2211bc4" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:53:54 GMT" ] - }, - "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] - }, - "Content": null - } - }, - "Remove-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { - "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", - "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "93" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/679aed21-2184-4b08-9ed9-047e09425b76?api-version=2020-02-14-preview" ], - "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/679aed21-2184-4b08-9ed9-047e09425b76?api-version=2020-02-14-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "679aed21-2184-4b08-9ed9-047e09425b76" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1193" ], - "x-ms-correlation-request-id": [ "ecc7783e-677d-4c10-9c2d-f399f447386a" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T065355Z:ecc7783e-677d-4c10-9c2d-f399f447386a" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:53:55 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "99" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-11T06:53:55.613Z\"}" - } - }, - "Remove-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/679aed21-2184-4b08-9ed9-047e09425b76?api-version=2020-02-14-preview+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/679aed21-2184-4b08-9ed9-047e09425b76?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "47" ], - "x-ms-client-request-id": [ "3088a6c0-36dc-47d8-88ee-d5d680088cad" ], - "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "New-AzPostgreSqlFlexibleServerFirewallRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "f324c5bb-4b16-4bd9-9dc7-410fad8b4b8b" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11967" ], - "x-ms-correlation-request-id": [ "e9cdb7bc-fed8-49a1-9506-f3d0300458c7" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T065456Z:e9cdb7bc-fed8-49a1-9506-f3d0300458c7" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:54:55 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"679aed21-2184-4b08-9ed9-047e09425b76\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T06:53:55.613Z\"}" - } - }, - "Remove-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "48" ], - "x-ms-client-request-id": [ "3088a6c0-36dc-47d8-88ee-d5d680088cad" ], - "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "New-AzPostgreSqlFlexibleServerFirewallRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "d3d2bf92-cd1c-406a-a4e4-68dc53006a52" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11966" ], - "x-ms-correlation-request-id": [ "107ff525-6297-4864-b63b-81dfd3d8228d" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T065456Z:107ff525-6297-4864-b63b-81dfd3d8228d" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:54:56 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "159" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}" - } - }, - "Remove-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+4": { - "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "49" ], - "x-ms-client-request-id": [ "b5690d84-6cad-4efa-b629-748f9761ab54" ], - "CommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule_DeleteViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/8aec89c5-e542-45ee-8ed2-d1e86ddfdf63?api-version=2020-02-14-preview" ], - "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/8aec89c5-e542-45ee-8ed2-d1e86ddfdf63?api-version=2020-02-14-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "8aec89c5-e542-45ee-8ed2-d1e86ddfdf63" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14992" ], - "x-ms-correlation-request-id": [ "6a379741-939a-46f5-b438-a58e08ba7412" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T065456Z:6a379741-939a-46f5-b438-a58e08ba7412" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:54:56 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "97" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"DropServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-11T06:54:56.493Z\"}" - } - }, - "Remove-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/8aec89c5-e542-45ee-8ed2-d1e86ddfdf63?api-version=2020-02-14-preview+5": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/8aec89c5-e542-45ee-8ed2-d1e86ddfdf63?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "50" ], - "x-ms-client-request-id": [ "b5690d84-6cad-4efa-b629-748f9761ab54" ], - "CommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule_DeleteViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "04039b2b-9165-4df1-9246-eb2c2d84e760" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11965" ], - "x-ms-correlation-request-id": [ "1f272cab-0603-4ce1-bea5-7a1a6a40695d" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T065559Z:1f272cab-0603-4ce1-bea5-7a1a6a40695d" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:55:58 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"8aec89c5-e542-45ee-8ed2-d1e86ddfdf63\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T06:54:56.493Z\"}" - } - }, - "Remove-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/8aec89c5-e542-45ee-8ed2-d1e86ddfdf63?api-version=2020-02-14-preview+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/8aec89c5-e542-45ee-8ed2-d1e86ddfdf63?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "51" ], - "x-ms-client-request-id": [ "b5690d84-6cad-4efa-b629-748f9761ab54" ], - "CommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "Remove-AzPostgreSqlFlexibleServerFirewallRule_DeleteViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "3042a09b-ecd8-486b-a3ba-fec7213ae5d0" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11964" ], - "x-ms-correlation-request-id": [ "b1720bd1-5c65-449f-b44a-31063eee2a3d" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T065559Z:b1720bd1-5c65-449f-b44a-31063eee2a3d" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 06:55:58 GMT" ] - }, - "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] - }, - "Content": null - } - } -} \ No newline at end of file diff --git a/src/PostgreSql/test/Remove-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 b/src/PostgreSql/test/Remove-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 deleted file mode 100644 index a7f0df59b20a..000000000000 --- a/src/PostgreSql/test/Remove-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 +++ /dev/null @@ -1,25 +0,0 @@ -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzPostgreSqlFlexibleServerFirewallRule.Recording.json' -$currentPath = $PSScriptRoot -while(-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - -Describe 'Remove-AzPostgreSqlFlexibleServerFirewallRule' { - It 'Delete' { - New-AzPostgreSqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 - Remove-AzPostgreSqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName - } - - It 'DeleteViaIdentity' { - New-AzPostgreSqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSql/flexibleServers/$($env.serverName)/firewallRules/$($env.firewallRuleName)" - Remove-AzPostgreSqlFlexibleServerFirewallRule -InputObject $ID - } -} diff --git a/src/PostgreSql/test/Remove-AzPostgreSqlServer.Recording.json b/src/PostgreSql/test/Remove-AzPostgreSqlServer.Recording.json index 30bcf6091718..9888ce724b54 100644 --- a/src/PostgreSql/test/Remove-AzPostgreSqlServer.Recording.json +++ b/src/PostgreSql/test/Remove-AzPostgreSqlServer.Recording.json @@ -1,8 +1,8 @@ { - "Remove-AzPostgreSqlServer+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-200?api-version=2017-12-01+1": { + "Remove-AzPostgreSqlServer+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-2?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-200?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-2?api-version=2017-12-01", "Content": "{\r\n \"sku\": {\r\n \"name\": \"GP_Gen5_4\"\r\n },\r\n \"properties\": {\r\n \"createMode\": \"Default\",\r\n \"administratorLogin\": \"pwsh\",\r\n \"administratorLoginPassword\": \"Pa88word!\"\r\n },\r\n \"location\": \"eastus\"\r\n}", "Headers": { }, @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/aa2e4c2e-8d5c-444d-bf04-c321ea4d76fb?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/aa2e4c2e-8d5c-444d-bf04-c321ea4d76fb?api-version=2017-12-01" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/aa2e4c2e-8d5c-444d-bf04-c321ea4d76fb?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aa2e4c2e-8d5c-444d-bf04-c321ea4d76fb?api-version=2017-12-01" ], "x-ms-request-id": [ "aa2e4c2e-8d5c-444d-bf04-c321ea4d76fb" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1181" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpsertElasticServer\",\"startTime\":\"2020-09-25T11:25:18.407Z\"}" } }, - "Remove-AzPostgreSqlServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/aa2e4c2e-8d5c-444d-bf04-c321ea4d76fb?api-version=2017-12-01+2": { + "Remove-AzPostgreSqlServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aa2e4c2e-8d5c-444d-bf04-c321ea4d76fb?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/aa2e4c2e-8d5c-444d-bf04-c321ea4d76fb?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aa2e4c2e-8d5c-444d-bf04-c321ea4d76fb?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "150", "151" ], @@ -76,10 +76,10 @@ "Content": "{\"name\":\"aa2e4c2e-8d5c-444d-bf04-c321ea4d76fb\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:25:18.407Z\"}" } }, - "Remove-AzPostgreSqlServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/aa2e4c2e-8d5c-444d-bf04-c321ea4d76fb?api-version=2017-12-01+3": { + "Remove-AzPostgreSqlServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aa2e4c2e-8d5c-444d-bf04-c321ea4d76fb?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/aa2e4c2e-8d5c-444d-bf04-c321ea4d76fb?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/aa2e4c2e-8d5c-444d-bf04-c321ea4d76fb?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "150", "151", "152" ], @@ -116,10 +116,10 @@ "Content": "{\"name\":\"aa2e4c2e-8d5c-444d-bf04-c321ea4d76fb\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:25:18.407Z\"}" } }, - "Remove-AzPostgreSqlServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-200?api-version=2017-12-01+4": { + "Remove-AzPostgreSqlServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-2?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-200?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-2?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "150", "151", "152", "153" ], @@ -152,13 +152,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"pwsh\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-200.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:35:18.733+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-200\",\"name\":\"postgresql-test-200\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"pwsh\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100-2.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:35:18.733+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-2\",\"name\":\"postgresql-test-100-2\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" } }, - "Remove-AzPostgreSqlServer+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-200?api-version=2017-12-01+5": { + "Remove-AzPostgreSqlServer+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-2?api-version=2017-12-01+5": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-200?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-2?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "154" ], @@ -177,9 +177,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/ea3c5dcf-05bd-4b1b-917f-cd3324883459?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/ea3c5dcf-05bd-4b1b-917f-cd3324883459?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/ea3c5dcf-05bd-4b1b-917f-cd3324883459?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ea3c5dcf-05bd-4b1b-917f-cd3324883459?api-version=2017-12-01" ], "x-ms-request-id": [ "ea3c5dcf-05bd-4b1b-917f-cd3324883459" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14984" ], @@ -197,10 +197,10 @@ "Content": "{\"operation\":\"DropElasticServer\",\"startTime\":\"2020-09-25T11:27:21.377Z\"}" } }, - "Remove-AzPostgreSqlServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/ea3c5dcf-05bd-4b1b-917f-cd3324883459?api-version=2017-12-01+6": { + "Remove-AzPostgreSqlServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ea3c5dcf-05bd-4b1b-917f-cd3324883459?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/ea3c5dcf-05bd-4b1b-917f-cd3324883459?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ea3c5dcf-05bd-4b1b-917f-cd3324883459?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "154", "155" ], @@ -237,10 +237,10 @@ "Content": "{\"name\":\"ea3c5dcf-05bd-4b1b-917f-cd3324883459\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:27:21.377Z\"}" } }, - "Remove-AzPostgreSqlServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/ea3c5dcf-05bd-4b1b-917f-cd3324883459?api-version=2017-12-01+7": { + "Remove-AzPostgreSqlServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/ea3c5dcf-05bd-4b1b-917f-cd3324883459?api-version=2017-12-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/ea3c5dcf-05bd-4b1b-917f-cd3324883459?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/ea3c5dcf-05bd-4b1b-917f-cd3324883459?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "154", "155", "156" ], @@ -275,10 +275,10 @@ "Content": null } }, - "Remove-AzPostgreSqlServer+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresqldelete?api-version=2017-12-01+1": { + "Remove-AzPostgreSqlServer+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresqldelete?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresqldelete?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresqldelete?api-version=2017-12-01", "Content": "{\r\n \"sku\": {\r\n \"name\": \"GP_Gen5_4\"\r\n },\r\n \"properties\": {\r\n \"createMode\": \"Default\",\r\n \"administratorLogin\": \"pwsh\",\r\n \"administratorLoginPassword\": \"Pa88word!\"\r\n },\r\n \"location\": \"eastus\"\r\n}", "Headers": { }, @@ -292,9 +292,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/2b47f057-8051-4c3f-9f56-9439c4e880ef?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/2b47f057-8051-4c3f-9f56-9439c4e880ef?api-version=2017-12-01" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/2b47f057-8051-4c3f-9f56-9439c4e880ef?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/2b47f057-8051-4c3f-9f56-9439c4e880ef?api-version=2017-12-01" ], "x-ms-request-id": [ "2b47f057-8051-4c3f-9f56-9439c4e880ef" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1180" ], @@ -312,10 +312,10 @@ "Content": "{\"operation\":\"UpsertElasticServer\",\"startTime\":\"2020-09-25T11:27:43.883Z\"}" } }, - "Remove-AzPostgreSqlServer+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/2b47f057-8051-4c3f-9f56-9439c4e880ef?api-version=2017-12-01+2": { + "Remove-AzPostgreSqlServer+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/2b47f057-8051-4c3f-9f56-9439c4e880ef?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/2b47f057-8051-4c3f-9f56-9439c4e880ef?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/2b47f057-8051-4c3f-9f56-9439c4e880ef?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "157", "158" ], @@ -352,10 +352,10 @@ "Content": "{\"name\":\"2b47f057-8051-4c3f-9f56-9439c4e880ef\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:27:43.883Z\"}" } }, - "Remove-AzPostgreSqlServer+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/2b47f057-8051-4c3f-9f56-9439c4e880ef?api-version=2017-12-01+3": { + "Remove-AzPostgreSqlServer+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/2b47f057-8051-4c3f-9f56-9439c4e880ef?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/2b47f057-8051-4c3f-9f56-9439c4e880ef?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/2b47f057-8051-4c3f-9f56-9439c4e880ef?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "157", "158", "159" ], @@ -392,10 +392,10 @@ "Content": "{\"name\":\"2b47f057-8051-4c3f-9f56-9439c4e880ef\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:27:43.883Z\"}" } }, - "Remove-AzPostgreSqlServer+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresqldelete?api-version=2017-12-01+4": { + "Remove-AzPostgreSqlServer+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresqldelete?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresqldelete?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresqldelete?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "157", "158", "159", "160" ], @@ -428,13 +428,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"pwsh\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresqldelete.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:37:44.18+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresqldelete\",\"name\":\"postgresqldelete\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"pwsh\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresqldelete.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:37:44.18+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresqldelete\",\"name\":\"postgresqldelete\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" } }, - "Remove-AzPostgreSqlServer+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresqldelete?api-version=2017-12-01+5": { + "Remove-AzPostgreSqlServer+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresqldelete?api-version=2017-12-01+5": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresqldelete?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresqldelete?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "161" ], @@ -453,9 +453,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/5475f3fb-6422-4483-8d3e-3a7943efe886?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/5475f3fb-6422-4483-8d3e-3a7943efe886?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/5475f3fb-6422-4483-8d3e-3a7943efe886?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/5475f3fb-6422-4483-8d3e-3a7943efe886?api-version=2017-12-01" ], "x-ms-request-id": [ "5475f3fb-6422-4483-8d3e-3a7943efe886" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14983" ], @@ -473,10 +473,10 @@ "Content": "{\"operation\":\"DropElasticServer\",\"startTime\":\"2020-09-25T11:29:46.773Z\"}" } }, - "Remove-AzPostgreSqlServer+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/5475f3fb-6422-4483-8d3e-3a7943efe886?api-version=2017-12-01+6": { + "Remove-AzPostgreSqlServer+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/5475f3fb-6422-4483-8d3e-3a7943efe886?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/5475f3fb-6422-4483-8d3e-3a7943efe886?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/5475f3fb-6422-4483-8d3e-3a7943efe886?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "161", "162" ], @@ -513,10 +513,10 @@ "Content": "{\"name\":\"5475f3fb-6422-4483-8d3e-3a7943efe886\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:29:46.773Z\"}" } }, - "Remove-AzPostgreSqlServer+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/5475f3fb-6422-4483-8d3e-3a7943efe886?api-version=2017-12-01+7": { + "Remove-AzPostgreSqlServer+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/5475f3fb-6422-4483-8d3e-3a7943efe886?api-version=2017-12-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/5475f3fb-6422-4483-8d3e-3a7943efe886?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/5475f3fb-6422-4483-8d3e-3a7943efe886?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "161", "162", "163" ], diff --git a/src/PostgreSql/test/Remove-AzPostgreSqlServer.Tests.ps1 b/src/PostgreSql/test/Remove-AzPostgreSqlServer.Tests.ps1 index 8d8ff932871b..16771b83d6b3 100644 --- a/src/PostgreSql/test/Remove-AzPostgreSqlServer.Tests.ps1 +++ b/src/PostgreSql/test/Remove-AzPostgreSqlServer.Tests.ps1 @@ -26,7 +26,7 @@ Describe 'Remove-AzPostgreSqlServer' { #[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] $password = 'Pa88word!' | ConvertTo-SecureString -AsPlainText -Force New-AzPostgreSqlServer -Name postgresqldelete -ResourceGroupName $env.resourceGroup -Location $env.location -AdministratorUserName pwsh -AdministratorLoginPassword $password -Sku $env.Sku - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSQL/servers/postgresqldelete" + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBforPostgreSQL/servers/postgresqldelete" Remove-AzPostgreSqlServer -InputObject $ID } | Should -Not -Throw } diff --git a/src/PostgreSql/test/Remove-AzPostgreSqlVirtualNetworkRule.Recording.json b/src/PostgreSql/test/Remove-AzPostgreSqlVirtualNetworkRule.Recording.json index 4bd14706df96..2c3f7218091e 100644 --- a/src/PostgreSql/test/Remove-AzPostgreSqlVirtualNetworkRule.Recording.json +++ b/src/PostgreSql/test/Remove-AzPostgreSqlVirtualNetworkRule.Recording.json @@ -1,9 +1,9 @@ { - "Remove-AzPostgreSqlVirtualNetworkRule+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+1": { + "Remove-AzPostgreSqlVirtualNetworkRule+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/d476b08d-de51-4942-9ae0-9d15b2f32361?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/d476b08d-de51-4942-9ae0-9d15b2f32361?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/d476b08d-de51-4942-9ae0-9d15b2f32361?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/d476b08d-de51-4942-9ae0-9d15b2f32361?api-version=2017-12-01" ], "x-ms-request-id": [ "d476b08d-de51-4942-9ae0-9d15b2f32361" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1179" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-09-25T11:30:03.337Z\"}" } }, - "Remove-AzPostgreSqlVirtualNetworkRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/d476b08d-de51-4942-9ae0-9d15b2f32361?api-version=2017-12-01+2": { + "Remove-AzPostgreSqlVirtualNetworkRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/d476b08d-de51-4942-9ae0-9d15b2f32361?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/d476b08d-de51-4942-9ae0-9d15b2f32361?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/d476b08d-de51-4942-9ae0-9d15b2f32361?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "164", "165" ], @@ -76,10 +76,10 @@ "Content": "{\"name\":\"d476b08d-de51-4942-9ae0-9d15b2f32361\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:30:03.337Z\"}" } }, - "Remove-AzPostgreSqlVirtualNetworkRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+3": { + "Remove-AzPostgreSqlVirtualNetworkRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "164", "165", "166" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBForPostgreSQL/servers/virtualNetworkRules\"}" + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBforPostgreSQL/servers/virtualNetworkRules\"}" } }, - "Remove-AzPostgreSqlVirtualNetworkRule+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+4": { + "Remove-AzPostgreSqlVirtualNetworkRule+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "167" ], @@ -137,9 +137,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/ba48bd1f-6faf-48b6-b022-10ee1b96ad72?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/ba48bd1f-6faf-48b6-b022-10ee1b96ad72?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/ba48bd1f-6faf-48b6-b022-10ee1b96ad72?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ba48bd1f-6faf-48b6-b022-10ee1b96ad72?api-version=2017-12-01" ], "x-ms-request-id": [ "ba48bd1f-6faf-48b6-b022-10ee1b96ad72" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14982" ], @@ -157,10 +157,10 @@ "Content": "{\"operation\":\"DropElasticServerVnetFirewallRule\",\"startTime\":\"2020-09-25T11:30:35.523Z\"}" } }, - "Remove-AzPostgreSqlVirtualNetworkRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/ba48bd1f-6faf-48b6-b022-10ee1b96ad72?api-version=2017-12-01+5": { + "Remove-AzPostgreSqlVirtualNetworkRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ba48bd1f-6faf-48b6-b022-10ee1b96ad72?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/ba48bd1f-6faf-48b6-b022-10ee1b96ad72?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ba48bd1f-6faf-48b6-b022-10ee1b96ad72?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "167", "168" ], @@ -197,10 +197,10 @@ "Content": "{\"name\":\"ba48bd1f-6faf-48b6-b022-10ee1b96ad72\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:30:35.523Z\"}" } }, - "Remove-AzPostgreSqlVirtualNetworkRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/ba48bd1f-6faf-48b6-b022-10ee1b96ad72?api-version=2017-12-01+6": { + "Remove-AzPostgreSqlVirtualNetworkRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/ba48bd1f-6faf-48b6-b022-10ee1b96ad72?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/ba48bd1f-6faf-48b6-b022-10ee1b96ad72?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/ba48bd1f-6faf-48b6-b022-10ee1b96ad72?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "167", "168", "169" ], @@ -235,11 +235,11 @@ "Content": null } }, - "Remove-AzPostgreSqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+1": { + "Remove-AzPostgreSqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { @@ -252,9 +252,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/6e016ede-aa82-4ef9-a706-65bf0f299ee2?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/6e016ede-aa82-4ef9-a706-65bf0f299ee2?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6e016ede-aa82-4ef9-a706-65bf0f299ee2?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6e016ede-aa82-4ef9-a706-65bf0f299ee2?api-version=2017-12-01" ], "x-ms-request-id": [ "6e016ede-aa82-4ef9-a706-65bf0f299ee2" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1178" ], @@ -272,10 +272,10 @@ "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-09-25T11:30:52.773Z\"}" } }, - "Remove-AzPostgreSqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6e016ede-aa82-4ef9-a706-65bf0f299ee2?api-version=2017-12-01+2": { + "Remove-AzPostgreSqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6e016ede-aa82-4ef9-a706-65bf0f299ee2?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6e016ede-aa82-4ef9-a706-65bf0f299ee2?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6e016ede-aa82-4ef9-a706-65bf0f299ee2?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "170", "171" ], @@ -312,10 +312,10 @@ "Content": "{\"name\":\"6e016ede-aa82-4ef9-a706-65bf0f299ee2\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:30:52.773Z\"}" } }, - "Remove-AzPostgreSqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+3": { + "Remove-AzPostgreSqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "170", "171", "172" ], @@ -348,13 +348,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBForPostgreSQL/servers/virtualNetworkRules\"}" + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBforPostgreSQL/servers/virtualNetworkRules\"}" } }, - "Remove-AzPostgreSqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+4": { + "Remove-AzPostgreSqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "173" ], @@ -373,9 +373,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/6671ff01-d649-400b-ab32-38f951ef6299?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/6671ff01-d649-400b-ab32-38f951ef6299?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6671ff01-d649-400b-ab32-38f951ef6299?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6671ff01-d649-400b-ab32-38f951ef6299?api-version=2017-12-01" ], "x-ms-request-id": [ "6671ff01-d649-400b-ab32-38f951ef6299" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14981" ], @@ -393,10 +393,10 @@ "Content": "{\"operation\":\"DropElasticServerVnetFirewallRule\",\"startTime\":\"2020-09-25T11:31:25.133Z\"}" } }, - "Remove-AzPostgreSqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6671ff01-d649-400b-ab32-38f951ef6299?api-version=2017-12-01+5": { + "Remove-AzPostgreSqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6671ff01-d649-400b-ab32-38f951ef6299?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6671ff01-d649-400b-ab32-38f951ef6299?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6671ff01-d649-400b-ab32-38f951ef6299?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "173", "174" ], @@ -433,10 +433,10 @@ "Content": "{\"name\":\"6671ff01-d649-400b-ab32-38f951ef6299\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:31:25.133Z\"}" } }, - "Remove-AzPostgreSqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/6671ff01-d649-400b-ab32-38f951ef6299?api-version=2017-12-01+6": { + "Remove-AzPostgreSqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/6671ff01-d649-400b-ab32-38f951ef6299?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/6671ff01-d649-400b-ab32-38f951ef6299?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/6671ff01-d649-400b-ab32-38f951ef6299?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "173", "174", "175" ], diff --git a/src/PostgreSql/test/Remove-AzPostgreSqlVirtualNetworkRule.Tests.ps1 b/src/PostgreSql/test/Remove-AzPostgreSqlVirtualNetworkRule.Tests.ps1 index f226c4b6321d..9de060cfb880 100644 --- a/src/PostgreSql/test/Remove-AzPostgreSqlVirtualNetworkRule.Tests.ps1 +++ b/src/PostgreSql/test/Remove-AzPostgreSqlVirtualNetworkRule.Tests.ps1 @@ -23,7 +23,7 @@ Describe 'Remove-AzPostgreSqlVirtualNetworkRule' { It 'DeleteViaIdentity' { $VnetID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1" New-AzPostgreSqlVirtualNetworkRule -Name $env.VNetName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -SubnetId $VnetID - $RuleID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSQL/servers/$($env.serverName)/virtualNetworkRules/$($env.VNetName)" + $RuleID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBforPostgreSQL/servers/$($env.serverName)/virtualNetworkRules/$($env.VNetName)" { Remove-AzPostgreSqlVirtualNetworkRule -InputObject $RuleID } | Should -Not -Throw diff --git a/src/PostgreSql/test/Restart-AzPostgreSqlFlexibleServer.Recording.json b/src/PostgreSql/test/Restart-AzPostgreSqlFlexibleServer.Recording.json deleted file mode 100644 index 0169b5d54bf3..000000000000 --- a/src/PostgreSql/test/Restart-AzPostgreSqlFlexibleServer.Recording.json +++ /dev/null @@ -1,324 +0,0 @@ -{ - "Restart-AzPostgreSqlFlexibleServer+[NoContext]+Restart+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/restart?api-version=2020-02-14-preview+1": { - "Request": { - "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/restart?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "16" ], - "x-ms-client-request-id": [ "52fdb816-0e8e-4f9f-ae41-ec88ae19a2a0" ], - "CommandName": [ "Restart-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Restart-AzPostgreSqlFlexibleServer_Restart" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/8b4dd334-f0d0-49d6-a6fc-2c82432a6450?api-version=2020-02-14-preview" ], - "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/8b4dd334-f0d0-49d6-a6fc-2c82432a6450?api-version=2020-02-14-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "8b4dd334-f0d0-49d6-a6fc-2c82432a6450" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-correlation-request-id": [ "d394cede-2351-417a-844a-2332f5c0471d" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T203908Z:d394cede-2351-417a-844a-2332f5c0471d" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 20:39:07 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "87" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"RestartServerManagementOperation\",\"startTime\":\"2020-11-11T20:39:07.837Z\"}" - } - }, - "Restart-AzPostgreSqlFlexibleServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/8b4dd334-f0d0-49d6-a6fc-2c82432a6450?api-version=2020-02-14-preview+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/8b4dd334-f0d0-49d6-a6fc-2c82432a6450?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "17" ], - "x-ms-client-request-id": [ "52fdb816-0e8e-4f9f-ae41-ec88ae19a2a0" ], - "CommandName": [ "Restart-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Restart-AzPostgreSqlFlexibleServer_Restart" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "8b92a379-0742-4646-ae18-d44d9296a9f3" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], - "x-ms-correlation-request-id": [ "88d4035c-33c7-4251-99d0-95c9cfd43d6a" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T204008Z:88d4035c-33c7-4251-99d0-95c9cfd43d6a" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 20:40:07 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"8b4dd334-f0d0-49d6-a6fc-2c82432a6450\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T20:39:07.837Z\"}" - } - }, - "Restart-AzPostgreSqlFlexibleServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/8b4dd334-f0d0-49d6-a6fc-2c82432a6450?api-version=2020-02-14-preview+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/8b4dd334-f0d0-49d6-a6fc-2c82432a6450?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "18" ], - "x-ms-client-request-id": [ "52fdb816-0e8e-4f9f-ae41-ec88ae19a2a0" ], - "CommandName": [ "Restart-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Restart-AzPostgreSqlFlexibleServer_Restart" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "bc4adcaf-9f0b-4a63-a46f-a9ac97bac587" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], - "x-ms-correlation-request-id": [ "4fcfd472-9073-4e49-990d-ccbe440d5963" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T204108Z:4fcfd472-9073-4e49-990d-ccbe440d5963" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 20:41:08 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"8b4dd334-f0d0-49d6-a6fc-2c82432a6450\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T20:39:07.837Z\"}" - } - }, - "Restart-AzPostgreSqlFlexibleServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/8b4dd334-f0d0-49d6-a6fc-2c82432a6450?api-version=2020-02-14-preview+4": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/8b4dd334-f0d0-49d6-a6fc-2c82432a6450?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "19" ], - "x-ms-client-request-id": [ "52fdb816-0e8e-4f9f-ae41-ec88ae19a2a0" ], - "CommandName": [ "Restart-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Restart-AzPostgreSqlFlexibleServer_Restart" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "77aed6ad-ce74-43fe-8e0c-bdeb07b47621" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], - "x-ms-correlation-request-id": [ "f29baa0b-da2e-446f-bcce-90aa0383fe29" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T204109Z:f29baa0b-da2e-446f-bcce-90aa0383fe29" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 20:41:08 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "48" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"postgresql-test-100\",\"type\":\"PostgreSQL\"}" - } - }, - "Restart-AzPostgreSqlFlexibleServer+[NoContext]+RestartViaIdentity+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/restart?api-version=2020-02-14-preview+1": { - "Request": { - "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/restart?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "20" ], - "x-ms-client-request-id": [ "90a2b379-8790-4df0-910c-079b11eec74e" ], - "CommandName": [ "Restart-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Restart-AzPostgreSqlFlexibleServer_RestartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/32cd6b29-57ad-4f46-a743-fb23b263341b?api-version=2020-02-14-preview" ], - "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/32cd6b29-57ad-4f46-a743-fb23b263341b?api-version=2020-02-14-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "32cd6b29-57ad-4f46-a743-fb23b263341b" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], - "x-ms-correlation-request-id": [ "70915cc4-c6d2-440f-9fc0-834845bff5c2" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T204109Z:70915cc4-c6d2-440f-9fc0-834845bff5c2" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 20:41:09 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "87" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"RestartServerManagementOperation\",\"startTime\":\"2020-11-11T20:41:09.377Z\"}" - } - }, - "Restart-AzPostgreSqlFlexibleServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/32cd6b29-57ad-4f46-a743-fb23b263341b?api-version=2020-02-14-preview+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/32cd6b29-57ad-4f46-a743-fb23b263341b?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "21" ], - "x-ms-client-request-id": [ "90a2b379-8790-4df0-910c-079b11eec74e" ], - "CommandName": [ "Restart-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Restart-AzPostgreSqlFlexibleServer_RestartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "0e2330e5-6ab8-4171-9c55-014c92ef1b76" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], - "x-ms-correlation-request-id": [ "50f70512-acff-4834-b782-312602b4c823" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T204210Z:50f70512-acff-4834-b782-312602b4c823" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 20:42:09 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"32cd6b29-57ad-4f46-a743-fb23b263341b\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T20:41:09.377Z\"}" - } - }, - "Restart-AzPostgreSqlFlexibleServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/32cd6b29-57ad-4f46-a743-fb23b263341b?api-version=2020-02-14-preview+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/32cd6b29-57ad-4f46-a743-fb23b263341b?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "22" ], - "x-ms-client-request-id": [ "90a2b379-8790-4df0-910c-079b11eec74e" ], - "CommandName": [ "Restart-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Restart-AzPostgreSqlFlexibleServer_RestartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "6fb607c6-0753-42ee-b3c0-c76caac34258" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11980" ], - "x-ms-correlation-request-id": [ "a23c0025-e1af-4a33-a515-4db98fd03d7c" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T204310Z:a23c0025-e1af-4a33-a515-4db98fd03d7c" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 20:43:10 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"32cd6b29-57ad-4f46-a743-fb23b263341b\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T20:41:09.377Z\"}" - } - }, - "Restart-AzPostgreSqlFlexibleServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/32cd6b29-57ad-4f46-a743-fb23b263341b?api-version=2020-02-14-preview+4": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/32cd6b29-57ad-4f46-a743-fb23b263341b?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "23" ], - "x-ms-client-request-id": [ "90a2b379-8790-4df0-910c-079b11eec74e" ], - "CommandName": [ "Restart-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Restart-AzPostgreSqlFlexibleServer_RestartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "fe553573-7311-4471-8199-39687059939d" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11979" ], - "x-ms-correlation-request-id": [ "2bd4bbee-e56b-4db7-bd4e-b3e7dea467bc" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T204310Z:2bd4bbee-e56b-4db7-bd4e-b3e7dea467bc" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 20:43:10 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "48" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"postgresql-test-100\",\"type\":\"PostgreSQL\"}" - } - } -} \ No newline at end of file diff --git a/src/PostgreSql/test/Restart-AzPostgreSqlFlexibleServer.Tests.ps1 b/src/PostgreSql/test/Restart-AzPostgreSqlFlexibleServer.Tests.ps1 deleted file mode 100644 index 29f847002a26..000000000000 --- a/src/PostgreSql/test/Restart-AzPostgreSqlFlexibleServer.Tests.ps1 +++ /dev/null @@ -1,27 +0,0 @@ -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'Restart-AzPostgreSqlFlexibleServer.Recording.json' -$currentPath = $PSScriptRoot -while(-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - -Describe 'Restart-AzPostgreSqlFlexibleServer' { - It 'Restart' { - { - Restart-AzPostgreSqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName - } | Should -Not -Throw - } - - It 'RestartViaIdentity' { - { - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSql/flexibleServers/$($env.serverName)/restart" - Restart-AzPostgreSqlFlexibleServer -InputObject $ID - } | Should -Not -Throw - } -} diff --git a/src/PostgreSql/test/Restart-AzPostgreSqlServer.Recording.json b/src/PostgreSql/test/Restart-AzPostgreSqlServer.Recording.json index 70007f463cc7..c7894efa15d7 100644 --- a/src/PostgreSql/test/Restart-AzPostgreSqlServer.Recording.json +++ b/src/PostgreSql/test/Restart-AzPostgreSqlServer.Recording.json @@ -1,8 +1,8 @@ { - "Restart-AzPostgreSqlServer+[NoContext]+Restart+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/restart?api-version=2017-12-01+1": { + "Restart-AzPostgreSqlServer+[NoContext]+Restart+$POST+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/restart?api-version=2017-12-01+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/restart?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/restart?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "176" ], @@ -21,9 +21,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01" ], "x-ms-request-id": [ "6657b98a-0363-4cc7-89ac-3a1906ebec9c" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], @@ -41,10 +41,10 @@ "Content": "{\"operation\":\"RestartElasticServer\",\"startTime\":\"2020-09-25T11:31:42.713Z\"}" } }, - "Restart-AzPostgreSqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01+2": { + "Restart-AzPostgreSqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "176", "177" ], @@ -81,10 +81,10 @@ "Content": "{\"name\":\"6657b98a-0363-4cc7-89ac-3a1906ebec9c\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:31:42.713Z\"}" } }, - "Restart-AzPostgreSqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01+3": { + "Restart-AzPostgreSqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "176", "177", "178" ], @@ -121,10 +121,10 @@ "Content": "{\"name\":\"6657b98a-0363-4cc7-89ac-3a1906ebec9c\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:31:42.713Z\"}" } }, - "Restart-AzPostgreSqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01+4": { + "Restart-AzPostgreSqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "176", "177", "178", "179" ], @@ -161,10 +161,10 @@ "Content": "{\"name\":\"6657b98a-0363-4cc7-89ac-3a1906ebec9c\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:31:42.713Z\"}" } }, - "Restart-AzPostgreSqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01+5": { + "Restart-AzPostgreSqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "176", "177", "178", "179", "180" ], @@ -201,10 +201,10 @@ "Content": "{\"name\":\"6657b98a-0363-4cc7-89ac-3a1906ebec9c\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:31:42.713Z\"}" } }, - "Restart-AzPostgreSqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01+6": { + "Restart-AzPostgreSqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "176", "177", "178", "179", "180", "181" ], @@ -241,10 +241,10 @@ "Content": "{\"name\":\"6657b98a-0363-4cc7-89ac-3a1906ebec9c\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:31:42.713Z\"}" } }, - "Restart-AzPostgreSqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01+7": { + "Restart-AzPostgreSqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "176", "177", "178", "179", "180", "181", "182" ], @@ -281,10 +281,10 @@ "Content": "{\"name\":\"6657b98a-0363-4cc7-89ac-3a1906ebec9c\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:31:42.713Z\"}" } }, - "Restart-AzPostgreSqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01+8": { + "Restart-AzPostgreSqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "176", "177", "178", "179", "180", "181", "182", "183" ], @@ -321,10 +321,10 @@ "Content": "{\"name\":\"6657b98a-0363-4cc7-89ac-3a1906ebec9c\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:31:42.713Z\"}" } }, - "Restart-AzPostgreSqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01+9": { + "Restart-AzPostgreSqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "176", "177", "178", "179", "180", "181", "182", "183", "184" ], @@ -361,10 +361,10 @@ "Content": "{\"name\":\"6657b98a-0363-4cc7-89ac-3a1906ebec9c\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:31:42.713Z\"}" } }, - "Restart-AzPostgreSqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01+10": { + "Restart-AzPostgreSqlServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/6657b98a-0363-4cc7-89ac-3a1906ebec9c?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "176", "177", "178", "179", "180", "181", "182", "183", "184", "185" ], @@ -399,10 +399,10 @@ "Content": null } }, - "Restart-AzPostgreSqlServer+[NoContext]+RestartViaIdentity+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/restart?api-version=2017-12-01+1": { + "Restart-AzPostgreSqlServer+[NoContext]+RestartViaIdentity+$POST+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/restart?api-version=2017-12-01+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/restart?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/restart?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "186" ], @@ -421,9 +421,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01" ], "x-ms-request-id": [ "06fe70cb-50ec-442f-a66b-e02a36765c41" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], @@ -441,10 +441,10 @@ "Content": "{\"operation\":\"RestartElasticServer\",\"startTime\":\"2020-09-25T11:33:46.387Z\"}" } }, - "Restart-AzPostgreSqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01+2": { + "Restart-AzPostgreSqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "186", "187" ], @@ -481,10 +481,10 @@ "Content": "{\"name\":\"06fe70cb-50ec-442f-a66b-e02a36765c41\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:33:46.387Z\"}" } }, - "Restart-AzPostgreSqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01+3": { + "Restart-AzPostgreSqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "186", "187", "188" ], @@ -521,10 +521,10 @@ "Content": "{\"name\":\"06fe70cb-50ec-442f-a66b-e02a36765c41\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:33:46.387Z\"}" } }, - "Restart-AzPostgreSqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01+4": { + "Restart-AzPostgreSqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "186", "187", "188", "189" ], @@ -561,10 +561,10 @@ "Content": "{\"name\":\"06fe70cb-50ec-442f-a66b-e02a36765c41\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:33:46.387Z\"}" } }, - "Restart-AzPostgreSqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01+5": { + "Restart-AzPostgreSqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "186", "187", "188", "189", "190" ], @@ -601,10 +601,10 @@ "Content": "{\"name\":\"06fe70cb-50ec-442f-a66b-e02a36765c41\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:33:46.387Z\"}" } }, - "Restart-AzPostgreSqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01+6": { + "Restart-AzPostgreSqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "186", "187", "188", "189", "190", "191" ], @@ -641,10 +641,10 @@ "Content": "{\"name\":\"06fe70cb-50ec-442f-a66b-e02a36765c41\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:33:46.387Z\"}" } }, - "Restart-AzPostgreSqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01+7": { + "Restart-AzPostgreSqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "186", "187", "188", "189", "190", "191", "192" ], @@ -681,10 +681,10 @@ "Content": "{\"name\":\"06fe70cb-50ec-442f-a66b-e02a36765c41\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:33:46.387Z\"}" } }, - "Restart-AzPostgreSqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01+8": { + "Restart-AzPostgreSqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "186", "187", "188", "189", "190", "191", "192", "193" ], @@ -721,10 +721,10 @@ "Content": "{\"name\":\"06fe70cb-50ec-442f-a66b-e02a36765c41\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:33:46.387Z\"}" } }, - "Restart-AzPostgreSqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01+9": { + "Restart-AzPostgreSqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "186", "187", "188", "189", "190", "191", "192", "193", "194" ], @@ -761,10 +761,10 @@ "Content": "{\"name\":\"06fe70cb-50ec-442f-a66b-e02a36765c41\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:33:46.387Z\"}" } }, - "Restart-AzPostgreSqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01+10": { + "Restart-AzPostgreSqlServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/06fe70cb-50ec-442f-a66b-e02a36765c41?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "186", "187", "188", "189", "190", "191", "192", "193", "194", "195" ], diff --git a/src/PostgreSql/test/Restart-AzPostgreSqlServer.Tests.ps1 b/src/PostgreSql/test/Restart-AzPostgreSqlServer.Tests.ps1 index 9c42be19b00c..5ab805859e30 100644 --- a/src/PostgreSql/test/Restart-AzPostgreSqlServer.Tests.ps1 +++ b/src/PostgreSql/test/Restart-AzPostgreSqlServer.Tests.ps1 @@ -20,7 +20,7 @@ Describe 'Restart-AzPostgreSqlServer' { It 'RestartViaIdentity' { { - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSQL/servers/$($env.serverName)/restart" + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBforPostgreSQL/servers/$($env.serverName)/restart" Restart-AzPostgreSqlServer -InputObject $ID } | Should -Not -Throw } diff --git a/src/PostgreSql/test/Restore-AzPostgreSqlFlexibleServer.Recording.json b/src/PostgreSql/test/Restore-AzPostgreSqlFlexibleServer.Recording.json deleted file mode 100644 index a1910b4ff5a4..000000000000 --- a/src/PostgreSql/test/Restore-AzPostgreSqlFlexibleServer.Recording.json +++ /dev/null @@ -1,358 +0,0 @@ -{ - "Restore-AzPostgreSqlFlexibleServer+[NoContext]+PointInTimeRestore+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100-restore?api-version=2020-02-14-preview+1": { - "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100-restore?api-version=2020-02-14-preview", - "Content": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"sourceServerName\": \"postgresql-test-100\",\r\n \"pointInTimeUTC\": \"2020-11-11T22:33:58.6974190-08:00\",\r\n \"createMode\": \"PointInTimeRestore\"\r\n }\r\n}", - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "199" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/f7ec74f0-fe23-413b-9fe5-61cb35db2c0d?api-version=2020-02-14-preview" ], - "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f7ec74f0-fe23-413b-9fe5-61cb35db2c0d?api-version=2020-02-14-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "652d4b40-23a0-43e1-878b-62495364929f" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-correlation-request-id": [ "9166a5b8-a1c0-4e66-90d9-326ce8a42803" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T064400Z:9166a5b8-a1c0-4e66-90d9-326ce8a42803" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 06:44:00 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "89" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"RestoreSnapshotManagementOperation\",\"startTime\":\"2020-11-12T06:44:00.093Z\"}" - } - }, - "Restore-AzPostgreSqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f7ec74f0-fe23-413b-9fe5-61cb35db2c0d?api-version=2020-02-14-preview+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f7ec74f0-fe23-413b-9fe5-61cb35db2c0d?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "2" ], - "x-ms-client-request-id": [ "fa268d63-92c3-4504-abc6-e372d541f9ba" ], - "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "New-AzPostgreSqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "511a0dc4-22de-4653-909f-2c9845a30738" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], - "x-ms-correlation-request-id": [ "83759e3d-45ee-4111-ba90-2bcfb457546f" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T064500Z:83759e3d-45ee-4111-ba90-2bcfb457546f" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 06:45:00 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"f7ec74f0-fe23-413b-9fe5-61cb35db2c0d\",\"status\":\"InProgress\",\"startTime\":\"2020-11-12T06:44:00.093Z\"}" - } - }, - "Restore-AzPostgreSqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f7ec74f0-fe23-413b-9fe5-61cb35db2c0d?api-version=2020-02-14-preview+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f7ec74f0-fe23-413b-9fe5-61cb35db2c0d?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "fa268d63-92c3-4504-abc6-e372d541f9ba" ], - "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "New-AzPostgreSqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "87c48a90-f694-4dd1-8204-81e87780fa5e" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], - "x-ms-correlation-request-id": [ "fa604234-14d4-4421-8a36-4249aae99120" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T064601Z:fa604234-14d4-4421-8a36-4249aae99120" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 06:46:00 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"f7ec74f0-fe23-413b-9fe5-61cb35db2c0d\",\"status\":\"InProgress\",\"startTime\":\"2020-11-12T06:44:00.093Z\"}" - } - }, - "Restore-AzPostgreSqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f7ec74f0-fe23-413b-9fe5-61cb35db2c0d?api-version=2020-02-14-preview+4": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f7ec74f0-fe23-413b-9fe5-61cb35db2c0d?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "fa268d63-92c3-4504-abc6-e372d541f9ba" ], - "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "New-AzPostgreSqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "9f5c07a7-cc83-492f-a8cb-c46627b63c89" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], - "x-ms-correlation-request-id": [ "9138843d-16b9-4109-8fa7-a33434a6924a" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T064701Z:9138843d-16b9-4109-8fa7-a33434a6924a" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 06:47:01 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"f7ec74f0-fe23-413b-9fe5-61cb35db2c0d\",\"status\":\"InProgress\",\"startTime\":\"2020-11-12T06:44:00.093Z\"}" - } - }, - "Restore-AzPostgreSqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f7ec74f0-fe23-413b-9fe5-61cb35db2c0d?api-version=2020-02-14-preview+5": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f7ec74f0-fe23-413b-9fe5-61cb35db2c0d?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "5" ], - "x-ms-client-request-id": [ "fa268d63-92c3-4504-abc6-e372d541f9ba" ], - "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "New-AzPostgreSqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "53c9d4cf-bf2c-47ae-b1a0-1f10f7ff2e3b" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], - "x-ms-correlation-request-id": [ "e12c9686-22d8-45fb-9ded-e5923be43a12" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T064802Z:e12c9686-22d8-45fb-9ded-e5923be43a12" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 06:48:02 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"f7ec74f0-fe23-413b-9fe5-61cb35db2c0d\",\"status\":\"InProgress\",\"startTime\":\"2020-11-12T06:44:00.093Z\"}" - } - }, - "Restore-AzPostgreSqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f7ec74f0-fe23-413b-9fe5-61cb35db2c0d?api-version=2020-02-14-preview+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f7ec74f0-fe23-413b-9fe5-61cb35db2c0d?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "6" ], - "x-ms-client-request-id": [ "fa268d63-92c3-4504-abc6-e372d541f9ba" ], - "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "New-AzPostgreSqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "8955cc34-f59b-4420-926b-ccdfffbe3ae5" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], - "x-ms-correlation-request-id": [ "0e852938-dbeb-46a4-90ae-36977d2a75f2" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T064902Z:0e852938-dbeb-46a4-90ae-36977d2a75f2" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 06:49:02 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"f7ec74f0-fe23-413b-9fe5-61cb35db2c0d\",\"status\":\"InProgress\",\"startTime\":\"2020-11-12T06:44:00.093Z\"}" - } - }, - "Restore-AzPostgreSqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f7ec74f0-fe23-413b-9fe5-61cb35db2c0d?api-version=2020-02-14-preview+7": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f7ec74f0-fe23-413b-9fe5-61cb35db2c0d?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "7" ], - "x-ms-client-request-id": [ "fa268d63-92c3-4504-abc6-e372d541f9ba" ], - "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "New-AzPostgreSqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "4de40ad7-3d83-48ae-ba9a-976f76efd8a1" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], - "x-ms-correlation-request-id": [ "96cf066c-4102-41fa-aecf-9043023cee75" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T065003Z:96cf066c-4102-41fa-aecf-9043023cee75" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 06:50:02 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"f7ec74f0-fe23-413b-9fe5-61cb35db2c0d\",\"status\":\"InProgress\",\"startTime\":\"2020-11-12T06:44:00.093Z\"}" - } - }, - "Restore-AzPostgreSqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f7ec74f0-fe23-413b-9fe5-61cb35db2c0d?api-version=2020-02-14-preview+8": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/f7ec74f0-fe23-413b-9fe5-61cb35db2c0d?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "8" ], - "x-ms-client-request-id": [ "fa268d63-92c3-4504-abc6-e372d541f9ba" ], - "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "New-AzPostgreSqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "15539fcb-5445-4b5f-ad0a-b910dd34d364" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], - "x-ms-correlation-request-id": [ "cce4e2ca-fc70-42fb-9220-7e0a19fe1d11" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T065103Z:cce4e2ca-fc70-42fb-9220-7e0a19fe1d11" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 06:51:03 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"f7ec74f0-fe23-413b-9fe5-61cb35db2c0d\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-12T06:44:00.093Z\"}" - } - }, - "Restore-AzPostgreSqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100-restore?api-version=2020-02-14-preview+9": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100-restore?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "9" ], - "x-ms-client-request-id": [ "fa268d63-92c3-4504-abc6-e372d541f9ba" ], - "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "New-AzPostgreSqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "89c147f9-613f-4dc8-b697-8a18767a873b" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], - "x-ms-correlation-request-id": [ "6075f5fb-39e9-49b4-9d6c-9cf998d94372" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T065103Z:6075f5fb-39e9-49b4-9d6c-9cf998d94372" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 06:51:03 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "900" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresql-test-100-restore.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"adminuser\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"1\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":7},\"earliestRestoreDate\":\"2020-11-12T06:51:03.9165911+00:00\",\"byokEnforcement\":\"Disabled\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0}},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test-100-restore\",\"name\":\"postgresql-test-100-restore\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}" - } - } -} \ No newline at end of file diff --git a/src/PostgreSql/test/Restore-AzPostgreSqlFlexibleServer.Tests.ps1 b/src/PostgreSql/test/Restore-AzPostgreSqlFlexibleServer.Tests.ps1 deleted file mode 100644 index 339cc1e11a61..000000000000 --- a/src/PostgreSql/test/Restore-AzPostgreSqlFlexibleServer.Tests.ps1 +++ /dev/null @@ -1,21 +0,0 @@ -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'Restore-AzPostgreSqlFlexibleServer.Recording.json' -$currentPath = $PSScriptRoot -while(-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - -Describe 'Restore-AzPostgreSqlFlexibleServer' { - It 'PointInTimeRestore' { - { - $restorePointInTime = (Get-Date).AddMinutes(-10) - Restore-AzPostgreSqlFlexibleServer -SourceServerName $env.serverName -Location $env.location -Name $env.restoreName -ResourceGroupName $env.resourceGroup -RestorePointInTime $restorePointInTime - } | Should -Not -Throw - } -} diff --git a/src/PostgreSql/test/Restore-AzPostgreSqlServer.Recording.json b/src/PostgreSql/test/Restore-AzPostgreSqlServer.Recording.json index 49fcda411d41..088b8f875d60 100644 --- a/src/PostgreSql/test/Restore-AzPostgreSqlServer.Recording.json +++ b/src/PostgreSql/test/Restore-AzPostgreSqlServer.Recording.json @@ -1,8 +1,8 @@ { - "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+1": { + "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "196" ], @@ -35,14 +35,14 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01+2": { + "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01+2": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"createMode\": \"Replica\",\r\n \"sourceServerId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\"\r\n },\r\n \"location\": \"eastus\"\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"createMode\": \"Replica\",\r\n \"sourceServerId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\"\r\n },\r\n \"location\": \"eastus\"\r\n}", "Headers": { }, "ContentHeaders": { @@ -55,9 +55,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01" ], "x-ms-request-id": [ "04bf9aff-46cc-48c5-a470-2a8c7f5d16c8" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1177" ], @@ -75,10 +75,10 @@ "Content": "{\"operation\":\"CreateElasticServerContinuousCopy\",\"startTime\":\"2020-09-25T11:35:56.307Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01+3": { + "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "197", "198" ], @@ -115,10 +115,10 @@ "Content": "{\"name\":\"04bf9aff-46cc-48c5-a470-2a8c7f5d16c8\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:35:56.307Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01+4": { + "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "197", "198", "199" ], @@ -155,10 +155,10 @@ "Content": "{\"name\":\"04bf9aff-46cc-48c5-a470-2a8c7f5d16c8\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:35:56.307Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01+5": { + "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "197", "198", "199", "200" ], @@ -195,10 +195,10 @@ "Content": "{\"name\":\"04bf9aff-46cc-48c5-a470-2a8c7f5d16c8\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:35:56.307Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01+6": { + "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "197", "198", "199", "200", "201" ], @@ -235,10 +235,10 @@ "Content": "{\"name\":\"04bf9aff-46cc-48c5-a470-2a8c7f5d16c8\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:35:56.307Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01+7": { + "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "197", "198", "199", "200", "201", "202" ], @@ -275,10 +275,10 @@ "Content": "{\"name\":\"04bf9aff-46cc-48c5-a470-2a8c7f5d16c8\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:35:56.307Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01+8": { + "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "197", "198", "199", "200", "201", "202", "203" ], @@ -315,10 +315,10 @@ "Content": "{\"name\":\"04bf9aff-46cc-48c5-a470-2a8c7f5d16c8\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:35:56.307Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01+9": { + "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "197", "198", "199", "200", "201", "202", "203", "204" ], @@ -355,10 +355,10 @@ "Content": "{\"name\":\"04bf9aff-46cc-48c5-a470-2a8c7f5d16c8\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:35:56.307Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01+10": { + "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "197", "198", "199", "200", "201", "202", "203", "204", "205" ], @@ -395,10 +395,10 @@ "Content": "{\"name\":\"04bf9aff-46cc-48c5-a470-2a8c7f5d16c8\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:35:56.307Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01+11": { + "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "197", "198", "199", "200", "201", "202", "203", "204", "205", "206" ], @@ -435,10 +435,10 @@ "Content": "{\"name\":\"04bf9aff-46cc-48c5-a470-2a8c7f5d16c8\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:35:56.307Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01+12": { + "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "197", "198", "199", "200", "201", "202", "203", "204", "205", "206", "207" ], @@ -475,10 +475,10 @@ "Content": "{\"name\":\"04bf9aff-46cc-48c5-a470-2a8c7f5d16c8\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:35:56.307Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01+13": { + "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "197", "198", "199", "200", "201", "202", "203", "204", "205", "206", "207", "208" ], @@ -515,10 +515,10 @@ "Content": "{\"name\":\"04bf9aff-46cc-48c5-a470-2a8c7f5d16c8\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:35:56.307Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01+14": { + "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01+14": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04bf9aff-46cc-48c5-a470-2a8c7f5d16c8?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "197", "198", "199", "200", "201", "202", "203", "204", "205", "206", "207", "208", "209" ], @@ -555,10 +555,10 @@ "Content": "{\"name\":\"04bf9aff-46cc-48c5-a470-2a8c7f5d16c8\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:35:56.307Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01+15": { + "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01+15": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-replica?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "197", "198", "199", "200", "201", "202", "203", "204", "205", "206", "207", "208", "209", "210" ], @@ -591,14 +591,14 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100-replica.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:47:10.137+00:00\",\"replicationRole\":\"Replica\",\"masterServerId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-replica\",\"name\":\"postgresql-test-100-replica\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100-replica.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:47:10.137+00:00\",\"replicationRole\":\"Replica\",\"masterServerId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-replica\",\"name\":\"postgresql-test-100-replica\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+16": { + "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+16": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"createMode\": \"GeoRestore\",\r\n \"sourceServerId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-replica\"\r\n },\r\n \"location\": \"eastus\"\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"createMode\": \"GeoRestore\",\r\n \"sourceServerId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-replica\"\r\n },\r\n \"location\": \"eastus\"\r\n}", "Headers": { }, "ContentHeaders": { @@ -611,9 +611,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/30c7d1f9-0ff6-4392-8c4a-78bc4477ad83?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/30c7d1f9-0ff6-4392-8c4a-78bc4477ad83?api-version=2017-12-01" ], "Retry-After": [ "10" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/30c7d1f9-0ff6-4392-8c4a-78bc4477ad83?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/30c7d1f9-0ff6-4392-8c4a-78bc4477ad83?api-version=2017-12-01" ], "x-ms-request-id": [ "30c7d1f9-0ff6-4392-8c4a-78bc4477ad83" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1176" ], @@ -631,10 +631,10 @@ "Content": "{\"operation\":\"RestoreElasticServer\",\"startTime\":\"2020-09-25T11:42:03.47Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/30c7d1f9-0ff6-4392-8c4a-78bc4477ad83?api-version=2017-12-01+17": { + "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/30c7d1f9-0ff6-4392-8c4a-78bc4477ad83?api-version=2017-12-01+17": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/30c7d1f9-0ff6-4392-8c4a-78bc4477ad83?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/30c7d1f9-0ff6-4392-8c4a-78bc4477ad83?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "211", "212" ], @@ -668,13 +668,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"30c7d1f9-0ff6-4392-8c4a-78bc4477ad83\",\"status\":\"Failed\",\"startTime\":\"2020-09-25T11:42:03.47Z\",\"error\":{\"code\":\"SubscriptionDoesNotHaveServer\",\"message\":\"Subscription \u00277fec3109-5b78-4a24-b834-5d47d63e2596\u0027 does not have the server \u0027postgresql-test-100-replica\u0027.\"}}" + "Content": "{\"name\":\"30c7d1f9-0ff6-4392-8c4a-78bc4477ad83\",\"status\":\"Failed\",\"startTime\":\"2020-09-25T11:42:03.47Z\",\"error\":{\"code\":\"SubscriptionDoesNotHaveServer\",\"message\":\"Subscription \u00279e223dbe-3399-4e19-88eb-0975f02ac87f\u0027 does not have the server \u0027postgresql-test-100-replica\u0027.\"}}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+18": { + "Restore-AzPostgreSqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+18": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "211", "212", "213" ], @@ -707,13 +707,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+1": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "214" ], @@ -746,14 +746,14 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-restore-2?api-version=2017-12-01+2": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-restore-2?api-version=2017-12-01+2": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-restore-2?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"createMode\": \"PointInTimeRestore\",\r\n \"sourceServerId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\r\n \"restorePointInTime\": \"2020-09-25T19:32:14.5943302+08:00\"\r\n },\r\n \"location\": \"eastus\"\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-restore-2?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"createMode\": \"PointInTimeRestore\",\r\n \"sourceServerId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\r\n \"restorePointInTime\": \"2020-09-25T19:32:14.5943302+08:00\"\r\n },\r\n \"location\": \"eastus\"\r\n}", "Headers": { }, "ContentHeaders": { @@ -766,9 +766,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01" ], "Retry-After": [ "10" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01" ], "x-ms-request-id": [ "e4bb851b-cf32-4cee-912e-1d2cb5af1024" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1175" ], @@ -786,10 +786,10 @@ "Content": "{\"operation\":\"RestoreElasticServer\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+3": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216" ], @@ -826,10 +826,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+4": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217" ], @@ -866,10 +866,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+5": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218" ], @@ -906,10 +906,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+6": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219" ], @@ -946,10 +946,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+7": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220" ], @@ -986,10 +986,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+8": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221" ], @@ -1026,10 +1026,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+9": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222" ], @@ -1066,10 +1066,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+10": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223" ], @@ -1106,10 +1106,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+11": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224" ], @@ -1146,10 +1146,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+12": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225" ], @@ -1186,10 +1186,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+13": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226" ], @@ -1226,10 +1226,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+14": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+14": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227" ], @@ -1266,10 +1266,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+15": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+15": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228" ], @@ -1306,10 +1306,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+16": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+16": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229" ], @@ -1346,10 +1346,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+17": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+17": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230" ], @@ -1386,10 +1386,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+18": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+18": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231" ], @@ -1426,10 +1426,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+19": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+19": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232" ], @@ -1466,10 +1466,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+20": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+20": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232", "233" ], @@ -1506,10 +1506,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+21": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+21": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232", "233", "234" ], @@ -1546,10 +1546,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+22": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+22": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232", "233", "234", "235" ], @@ -1586,10 +1586,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+23": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+23": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232", "233", "234", "235", "236" ], @@ -1626,10 +1626,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+24": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+24": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232", "233", "234", "235", "236", "237" ], @@ -1666,10 +1666,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+25": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+25": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232", "233", "234", "235", "236", "237", "238" ], @@ -1706,10 +1706,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+26": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+26": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232", "233", "234", "235", "236", "237", "238", "239" ], @@ -1746,10 +1746,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+27": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+27": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232", "233", "234", "235", "236", "237", "238", "239", "240" ], @@ -1786,10 +1786,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+28": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+28": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232", "233", "234", "235", "236", "237", "238", "239", "240", "241" ], @@ -1826,10 +1826,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+29": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+29": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232", "233", "234", "235", "236", "237", "238", "239", "240", "241", "242" ], @@ -1866,10 +1866,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+30": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+30": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232", "233", "234", "235", "236", "237", "238", "239", "240", "241", "242", "243" ], @@ -1906,10 +1906,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+31": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+31": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232", "233", "234", "235", "236", "237", "238", "239", "240", "241", "242", "243", "244" ], @@ -1946,10 +1946,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+32": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+32": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232", "233", "234", "235", "236", "237", "238", "239", "240", "241", "242", "243", "244", "245" ], @@ -1986,10 +1986,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+33": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+33": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232", "233", "234", "235", "236", "237", "238", "239", "240", "241", "242", "243", "244", "245", "246" ], @@ -2026,10 +2026,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+34": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+34": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232", "233", "234", "235", "236", "237", "238", "239", "240", "241", "242", "243", "244", "245", "246", "247" ], @@ -2066,10 +2066,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+35": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+35": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232", "233", "234", "235", "236", "237", "238", "239", "240", "241", "242", "243", "244", "245", "246", "247", "248" ], @@ -2106,10 +2106,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+36": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+36": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232", "233", "234", "235", "236", "237", "238", "239", "240", "241", "242", "243", "244", "245", "246", "247", "248", "249" ], @@ -2146,10 +2146,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+37": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+37": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232", "233", "234", "235", "236", "237", "238", "239", "240", "241", "242", "243", "244", "245", "246", "247", "248", "249", "250" ], @@ -2186,10 +2186,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+38": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+38": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232", "233", "234", "235", "236", "237", "238", "239", "240", "241", "242", "243", "244", "245", "246", "247", "248", "249", "250", "251" ], @@ -2226,10 +2226,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+39": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+39": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232", "233", "234", "235", "236", "237", "238", "239", "240", "241", "242", "243", "244", "245", "246", "247", "248", "249", "250", "251", "252" ], @@ -2266,10 +2266,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+40": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+40": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232", "233", "234", "235", "236", "237", "238", "239", "240", "241", "242", "243", "244", "245", "246", "247", "248", "249", "250", "251", "252", "253" ], @@ -2306,10 +2306,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"InProgress\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+41": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01+41": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e4bb851b-cf32-4cee-912e-1d2cb5af1024?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232", "233", "234", "235", "236", "237", "238", "239", "240", "241", "242", "243", "244", "245", "246", "247", "248", "249", "250", "251", "252", "253", "254" ], @@ -2346,10 +2346,10 @@ "Content": "{\"name\":\"e4bb851b-cf32-4cee-912e-1d2cb5af1024\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:42:20.11Z\"}" } }, - "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-restore-2?api-version=2017-12-01+42": { + "Restore-AzPostgreSqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-restore-2?api-version=2017-12-01+42": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-restore-2?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-restore-2?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232", "233", "234", "235", "236", "237", "238", "239", "240", "241", "242", "243", "244", "245", "246", "247", "248", "249", "250", "251", "252", "253", "254", "255" ], @@ -2382,7 +2382,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100-restore-2.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:52:20.423+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100-restore-2\",\"name\":\"postgresql-test-100-restore-2\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100-restore-2.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:52:20.423+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100-restore-2\",\"name\":\"postgresql-test-100-restore-2\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" } } } \ No newline at end of file diff --git a/src/PostgreSql/test/Start-AzPostgreSqlFlexibleServer.Recording.json b/src/PostgreSql/test/Start-AzPostgreSqlFlexibleServer.Recording.json deleted file mode 100644 index 2003d7f9cdd4..000000000000 --- a/src/PostgreSql/test/Start-AzPostgreSqlFlexibleServer.Recording.json +++ /dev/null @@ -1,646 +0,0 @@ -{ - "Start-AzPostgreSqlFlexibleServer+[NoContext]+Start+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/stop?api-version=2020-02-14-preview+1": { - "Request": { - "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/stop?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "24" ], - "x-ms-client-request-id": [ "d549100c-5500-49c0-9a9d-f80c62e4b099" ], - "CommandName": [ "Stop-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Stop-AzPostgreSqlFlexibleServer_Stop" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/4d248a66-f94b-49e0-b43a-e9f8bcb95dfe?api-version=2020-02-14-preview" ], - "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/4d248a66-f94b-49e0-b43a-e9f8bcb95dfe?api-version=2020-02-14-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "4d248a66-f94b-49e0-b43a-e9f8bcb95dfe" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], - "x-ms-correlation-request-id": [ "4c1b721c-db3f-4787-b1fd-a19b61a2344c" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T204311Z:4c1b721c-db3f-4787-b1fd-a19b61a2344c" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 20:43:11 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "84" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"StopServerManagementOperation\",\"startTime\":\"2020-11-11T20:43:11.457Z\"}" - } - }, - "Start-AzPostgreSqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/4d248a66-f94b-49e0-b43a-e9f8bcb95dfe?api-version=2020-02-14-preview+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/4d248a66-f94b-49e0-b43a-e9f8bcb95dfe?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "25" ], - "x-ms-client-request-id": [ "d549100c-5500-49c0-9a9d-f80c62e4b099" ], - "CommandName": [ "Stop-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Stop-AzPostgreSqlFlexibleServer_Stop" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "966371b8-52e2-4846-8c5e-8d8209fb1dd1" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11978" ], - "x-ms-correlation-request-id": [ "ab631300-fc89-43a2-a836-d6de86fa468a" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T204412Z:ab631300-fc89-43a2-a836-d6de86fa468a" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 20:44:12 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"4d248a66-f94b-49e0-b43a-e9f8bcb95dfe\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T20:43:11.457Z\"}" - } - }, - "Start-AzPostgreSqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/4d248a66-f94b-49e0-b43a-e9f8bcb95dfe?api-version=2020-02-14-preview+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/4d248a66-f94b-49e0-b43a-e9f8bcb95dfe?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "26" ], - "x-ms-client-request-id": [ "d549100c-5500-49c0-9a9d-f80c62e4b099" ], - "CommandName": [ "Stop-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Stop-AzPostgreSqlFlexibleServer_Stop" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "fc34f737-6d2a-4202-8de3-a09377e9a691" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11977" ], - "x-ms-correlation-request-id": [ "e6bc5007-021e-4f3e-8d18-ed68f0e6511f" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T204512Z:e6bc5007-021e-4f3e-8d18-ed68f0e6511f" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 20:45:12 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"4d248a66-f94b-49e0-b43a-e9f8bcb95dfe\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T20:43:11.457Z\"}" - } - }, - "Start-AzPostgreSqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/4d248a66-f94b-49e0-b43a-e9f8bcb95dfe?api-version=2020-02-14-preview+4": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/4d248a66-f94b-49e0-b43a-e9f8bcb95dfe?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "27" ], - "x-ms-client-request-id": [ "d549100c-5500-49c0-9a9d-f80c62e4b099" ], - "CommandName": [ "Stop-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Stop-AzPostgreSqlFlexibleServer_Stop" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "90262198-ae1b-4478-afcc-be9841facb9f" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11976" ], - "x-ms-correlation-request-id": [ "966366de-0bf1-4369-b6bb-729c686166a1" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T204512Z:966366de-0bf1-4369-b6bb-729c686166a1" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 20:45:12 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "48" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"postgresql-test-100\",\"type\":\"PostgreSQL\"}" - } - }, - "Start-AzPostgreSqlFlexibleServer+[NoContext]+Start+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/start?api-version=2020-02-14-preview+5": { - "Request": { - "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/start?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "28" ], - "x-ms-client-request-id": [ "ba2fa535-d8cb-46f7-8786-627fa60053e5" ], - "CommandName": [ "Start-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Start-AzPostgreSqlFlexibleServer_Start" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/ee4fcd78-741b-492e-9c6e-5cba3f637214?api-version=2020-02-14-preview" ], - "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ee4fcd78-741b-492e-9c6e-5cba3f637214?api-version=2020-02-14-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "ee4fcd78-741b-492e-9c6e-5cba3f637214" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], - "x-ms-correlation-request-id": [ "7ce0b443-75a0-4ff6-8e06-2d6fa0e2b447" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T204513Z:7ce0b443-75a0-4ff6-8e06-2d6fa0e2b447" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 20:45:12 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "85" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"StartServerManagementOperation\",\"startTime\":\"2020-11-11T20:45:13.003Z\"}" - } - }, - "Start-AzPostgreSqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ee4fcd78-741b-492e-9c6e-5cba3f637214?api-version=2020-02-14-preview+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ee4fcd78-741b-492e-9c6e-5cba3f637214?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "29" ], - "x-ms-client-request-id": [ "ba2fa535-d8cb-46f7-8786-627fa60053e5" ], - "CommandName": [ "Start-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Start-AzPostgreSqlFlexibleServer_Start" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "b9a8bdb0-a419-4953-9665-cd116d90f456" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11975" ], - "x-ms-correlation-request-id": [ "89e365af-cfb0-477f-b7c3-21adca727752" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T204613Z:89e365af-cfb0-477f-b7c3-21adca727752" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 20:46:12 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"ee4fcd78-741b-492e-9c6e-5cba3f637214\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T20:45:13.003Z\"}" - } - }, - "Start-AzPostgreSqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ee4fcd78-741b-492e-9c6e-5cba3f637214?api-version=2020-02-14-preview+7": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ee4fcd78-741b-492e-9c6e-5cba3f637214?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "30" ], - "x-ms-client-request-id": [ "ba2fa535-d8cb-46f7-8786-627fa60053e5" ], - "CommandName": [ "Start-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Start-AzPostgreSqlFlexibleServer_Start" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "35c25883-bb94-4ae1-be20-d69409015461" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11974" ], - "x-ms-correlation-request-id": [ "ac37f688-57e9-4385-b696-20d3df8eebcf" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T204713Z:ac37f688-57e9-4385-b696-20d3df8eebcf" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 20:47:13 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"ee4fcd78-741b-492e-9c6e-5cba3f637214\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T20:45:13.003Z\"}" - } - }, - "Start-AzPostgreSqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/ee4fcd78-741b-492e-9c6e-5cba3f637214?api-version=2020-02-14-preview+8": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/ee4fcd78-741b-492e-9c6e-5cba3f637214?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "31" ], - "x-ms-client-request-id": [ "ba2fa535-d8cb-46f7-8786-627fa60053e5" ], - "CommandName": [ "Start-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Start-AzPostgreSqlFlexibleServer_Start" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "664e891c-f6ea-4166-b599-e5a9bb01fc3c" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11973" ], - "x-ms-correlation-request-id": [ "7a8c3a71-2b88-4fbe-a016-916dc606bcbe" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T204714Z:7a8c3a71-2b88-4fbe-a016-916dc606bcbe" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 20:47:13 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "48" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"postgresql-test-100\",\"type\":\"PostgreSQL\"}" - } - }, - "Start-AzPostgreSqlFlexibleServer+[NoContext]+StartViaIdentity+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/stop?api-version=2020-02-14-preview+1": { - "Request": { - "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/stop?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "32" ], - "x-ms-client-request-id": [ "fdb2fa7f-ad8f-409c-ba54-9ad67b41fc18" ], - "CommandName": [ "Stop-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Stop-AzPostgreSqlFlexibleServer_Stop" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/a28149f1-786c-4265-8fe8-12fccdfc069a?api-version=2020-02-14-preview" ], - "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a28149f1-786c-4265-8fe8-12fccdfc069a?api-version=2020-02-14-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "a28149f1-786c-4265-8fe8-12fccdfc069a" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], - "x-ms-correlation-request-id": [ "ab808310-1790-46d5-85a7-925390f74147" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T204714Z:ab808310-1790-46d5-85a7-925390f74147" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 20:47:14 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "84" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"StopServerManagementOperation\",\"startTime\":\"2020-11-11T20:47:14.227Z\"}" - } - }, - "Start-AzPostgreSqlFlexibleServer+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a28149f1-786c-4265-8fe8-12fccdfc069a?api-version=2020-02-14-preview+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a28149f1-786c-4265-8fe8-12fccdfc069a?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "33" ], - "x-ms-client-request-id": [ "fdb2fa7f-ad8f-409c-ba54-9ad67b41fc18" ], - "CommandName": [ "Stop-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Stop-AzPostgreSqlFlexibleServer_Stop" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "a59e3545-5ffa-4682-b0be-b79833ea661a" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11972" ], - "x-ms-correlation-request-id": [ "dcf16920-33a8-42aa-90ad-0a043b475bf7" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T204814Z:dcf16920-33a8-42aa-90ad-0a043b475bf7" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 20:48:13 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"a28149f1-786c-4265-8fe8-12fccdfc069a\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T20:47:14.227Z\"}" - } - }, - "Start-AzPostgreSqlFlexibleServer+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a28149f1-786c-4265-8fe8-12fccdfc069a?api-version=2020-02-14-preview+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a28149f1-786c-4265-8fe8-12fccdfc069a?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "34" ], - "x-ms-client-request-id": [ "fdb2fa7f-ad8f-409c-ba54-9ad67b41fc18" ], - "CommandName": [ "Stop-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Stop-AzPostgreSqlFlexibleServer_Stop" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "0bae0164-1bd3-4943-9320-62357d0aab2a" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11971" ], - "x-ms-correlation-request-id": [ "7db075bb-12a5-4716-84d5-85b0968a1cde" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T204915Z:7db075bb-12a5-4716-84d5-85b0968a1cde" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 20:49:14 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"a28149f1-786c-4265-8fe8-12fccdfc069a\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T20:47:14.227Z\"}" - } - }, - "Start-AzPostgreSqlFlexibleServer+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/a28149f1-786c-4265-8fe8-12fccdfc069a?api-version=2020-02-14-preview+4": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/a28149f1-786c-4265-8fe8-12fccdfc069a?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "35" ], - "x-ms-client-request-id": [ "fdb2fa7f-ad8f-409c-ba54-9ad67b41fc18" ], - "CommandName": [ "Stop-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Stop-AzPostgreSqlFlexibleServer_Stop" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "e69bbbe3-14bd-4866-b4c1-9a0403d0fecc" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11970" ], - "x-ms-correlation-request-id": [ "55449649-47ed-426b-9521-8c20d1752f14" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T204915Z:55449649-47ed-426b-9521-8c20d1752f14" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 20:49:14 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "48" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"postgresql-test-100\",\"type\":\"PostgreSQL\"}" - } - }, - "Start-AzPostgreSqlFlexibleServer+[NoContext]+StartViaIdentity+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/start?api-version=2020-02-14-preview+5": { - "Request": { - "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/start?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "36" ], - "x-ms-client-request-id": [ "859c57e1-909b-4aba-b4d2-d15dedb2f427" ], - "CommandName": [ "Start-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Start-AzPostgreSqlFlexibleServer_StartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/ffa23f9c-9648-420e-a2a1-6113a0682996?api-version=2020-02-14-preview" ], - "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ffa23f9c-9648-420e-a2a1-6113a0682996?api-version=2020-02-14-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "ffa23f9c-9648-420e-a2a1-6113a0682996" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1194" ], - "x-ms-correlation-request-id": [ "f940ef29-fc58-483e-892f-8e6642306701" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T204915Z:f940ef29-fc58-483e-892f-8e6642306701" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 20:49:15 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "85" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"StartServerManagementOperation\",\"startTime\":\"2020-11-11T20:49:15.607Z\"}" - } - }, - "Start-AzPostgreSqlFlexibleServer+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ffa23f9c-9648-420e-a2a1-6113a0682996?api-version=2020-02-14-preview+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ffa23f9c-9648-420e-a2a1-6113a0682996?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "37" ], - "x-ms-client-request-id": [ "859c57e1-909b-4aba-b4d2-d15dedb2f427" ], - "CommandName": [ "Start-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Start-AzPostgreSqlFlexibleServer_StartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "64121510-a6f6-49d6-b20f-1a1bd7a45bef" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11971" ], - "x-ms-correlation-request-id": [ "b6d20568-591c-43cf-9185-a327c71f120f" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T205016Z:b6d20568-591c-43cf-9185-a327c71f120f" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 20:50:15 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"ffa23f9c-9648-420e-a2a1-6113a0682996\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T20:49:15.607Z\"}" - } - }, - "Start-AzPostgreSqlFlexibleServer+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ffa23f9c-9648-420e-a2a1-6113a0682996?api-version=2020-02-14-preview+7": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ffa23f9c-9648-420e-a2a1-6113a0682996?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "38" ], - "x-ms-client-request-id": [ "859c57e1-909b-4aba-b4d2-d15dedb2f427" ], - "CommandName": [ "Start-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Start-AzPostgreSqlFlexibleServer_StartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "ba4566ea-5c6a-4a01-bf99-5ca6e948b0e2" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11970" ], - "x-ms-correlation-request-id": [ "d2d52133-506f-4c00-8cdb-c1d94d03e0b0" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T205116Z:d2d52133-506f-4c00-8cdb-c1d94d03e0b0" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 20:51:15 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"ffa23f9c-9648-420e-a2a1-6113a0682996\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T20:49:15.607Z\"}" - } - }, - "Start-AzPostgreSqlFlexibleServer+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/ffa23f9c-9648-420e-a2a1-6113a0682996?api-version=2020-02-14-preview+8": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/ffa23f9c-9648-420e-a2a1-6113a0682996?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "39" ], - "x-ms-client-request-id": [ "859c57e1-909b-4aba-b4d2-d15dedb2f427" ], - "CommandName": [ "Start-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Start-AzPostgreSqlFlexibleServer_StartViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "c567b26e-9d20-48c5-9dd3-6519ce89f324" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11969" ], - "x-ms-correlation-request-id": [ "8784ba09-a9ec-4200-a411-e02c77b3b0e4" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T205116Z:8784ba09-a9ec-4200-a411-e02c77b3b0e4" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 20:51:15 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "48" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"postgresql-test-100\",\"type\":\"PostgreSQL\"}" - } - } -} \ No newline at end of file diff --git a/src/PostgreSql/test/Start-AzPostgreSqlFlexibleServer.Tests.ps1 b/src/PostgreSql/test/Start-AzPostgreSqlFlexibleServer.Tests.ps1 deleted file mode 100644 index d8c549a8eaa5..000000000000 --- a/src/PostgreSql/test/Start-AzPostgreSqlFlexibleServer.Tests.ps1 +++ /dev/null @@ -1,29 +0,0 @@ -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'Start-AzPostgreSqlFlexibleServer.Recording.json' -$currentPath = $PSScriptRoot -while(-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - -Describe 'Start-AzPostgreSqlFlexibleServer' { - It 'Start' { - { - Stop-AzPostgreSqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName - Start-AzPostgreSqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName - } | Should -Not -Throw - } - - It 'StartViaIdentity' { - { - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSql/flexibleServers/$($env.serverName)/start" - Stop-AzPostgreSqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName - Start-AzPostgreSqlFlexibleServer -InputObject $ID - } | Should -Not -Throw - } -} diff --git a/src/PostgreSql/test/Stop-AzPostgreSqlFlexibleServer.Recording.json b/src/PostgreSql/test/Stop-AzPostgreSqlFlexibleServer.Recording.json deleted file mode 100644 index af5d8fe95120..000000000000 --- a/src/PostgreSql/test/Stop-AzPostgreSqlFlexibleServer.Recording.json +++ /dev/null @@ -1,485 +0,0 @@ -{ - "Stop-AzPostgreSqlFlexibleServer+[NoContext]+Stop+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/stop?api-version=2020-02-14-preview+1": { - "Request": { - "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/stop?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "1" ], - "x-ms-client-request-id": [ "7900b8cd-4505-4469-9807-e4e4678e5b7e" ], - "CommandName": [ "Stop-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Stop-AzPostgreSqlFlexibleServer_Stop" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/8f0592f6-a0d3-4cd7-97b1-6b0f6956fed9?api-version=2020-02-14-preview" ], - "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/8f0592f6-a0d3-4cd7-97b1-6b0f6956fed9?api-version=2020-02-14-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "8f0592f6-a0d3-4cd7-97b1-6b0f6956fed9" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-correlation-request-id": [ "afbc525a-e6dd-4e6b-8d4a-16797467f38d" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T211910Z:afbc525a-e6dd-4e6b-8d4a-16797467f38d" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 21:19:10 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "83" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"StopServerManagementOperation\",\"startTime\":\"2020-11-11T21:19:10.58Z\"}" - } - }, - "Stop-AzPostgreSqlFlexibleServer+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/8f0592f6-a0d3-4cd7-97b1-6b0f6956fed9?api-version=2020-02-14-preview+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/8f0592f6-a0d3-4cd7-97b1-6b0f6956fed9?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "2" ], - "x-ms-client-request-id": [ "7900b8cd-4505-4469-9807-e4e4678e5b7e" ], - "CommandName": [ "Stop-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Stop-AzPostgreSqlFlexibleServer_Stop" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "1ac1412a-8694-47ae-aedf-6b83f7b1271c" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], - "x-ms-correlation-request-id": [ "d8f25e96-e872-496c-ae94-cbb8a1bce79f" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T212011Z:d8f25e96-e872-496c-ae94-cbb8a1bce79f" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 21:20:10 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"8f0592f6-a0d3-4cd7-97b1-6b0f6956fed9\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T21:19:10.58Z\"}" - } - }, - "Stop-AzPostgreSqlFlexibleServer+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/8f0592f6-a0d3-4cd7-97b1-6b0f6956fed9?api-version=2020-02-14-preview+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/8f0592f6-a0d3-4cd7-97b1-6b0f6956fed9?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "7900b8cd-4505-4469-9807-e4e4678e5b7e" ], - "CommandName": [ "Stop-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Stop-AzPostgreSqlFlexibleServer_Stop" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "2387b772-67f6-4f56-ab85-338fcb636e64" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], - "x-ms-correlation-request-id": [ "ded5f4dc-9567-4181-8e9a-795a4e5daad1" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T212111Z:ded5f4dc-9567-4181-8e9a-795a4e5daad1" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 21:21:11 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "106" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"8f0592f6-a0d3-4cd7-97b1-6b0f6956fed9\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T21:19:10.58Z\"}" - } - }, - "Stop-AzPostgreSqlFlexibleServer+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/8f0592f6-a0d3-4cd7-97b1-6b0f6956fed9?api-version=2020-02-14-preview+4": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/8f0592f6-a0d3-4cd7-97b1-6b0f6956fed9?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "7900b8cd-4505-4469-9807-e4e4678e5b7e" ], - "CommandName": [ "Stop-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Stop-AzPostgreSqlFlexibleServer_Stop" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "4fe2e425-6d1f-481b-a522-d6d64eef3d4e" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], - "x-ms-correlation-request-id": [ "1539210f-10bc-4c72-ab96-8296abf62210" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T212111Z:1539210f-10bc-4c72-ab96-8296abf62210" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 21:21:11 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "48" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"postgresql-test-100\",\"type\":\"PostgreSQL\"}" - } - }, - "Stop-AzPostgreSqlFlexibleServer+[NoContext]+Stop+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/start?api-version=2020-02-14-preview+5": { - "Request": { - "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/start?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "5" ], - "x-ms-client-request-id": [ "e3d55d7f-025a-41ac-a41a-efcc9b862189" ], - "CommandName": [ "Start-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Start-AzPostgreSqlFlexibleServer_Start" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/a96b8acc-fcee-4a7e-81f2-77b68ddc3fc2?api-version=2020-02-14-preview" ], - "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a96b8acc-fcee-4a7e-81f2-77b68ddc3fc2?api-version=2020-02-14-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "a96b8acc-fcee-4a7e-81f2-77b68ddc3fc2" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], - "x-ms-correlation-request-id": [ "5e2dc23e-03e9-48a4-a7b7-59db345c7a29" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T212112Z:5e2dc23e-03e9-48a4-a7b7-59db345c7a29" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 21:21:12 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "85" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"StartServerManagementOperation\",\"startTime\":\"2020-11-11T21:21:12.253Z\"}" - } - }, - "Stop-AzPostgreSqlFlexibleServer+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a96b8acc-fcee-4a7e-81f2-77b68ddc3fc2?api-version=2020-02-14-preview+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a96b8acc-fcee-4a7e-81f2-77b68ddc3fc2?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "6" ], - "x-ms-client-request-id": [ "e3d55d7f-025a-41ac-a41a-efcc9b862189" ], - "CommandName": [ "Start-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Start-AzPostgreSqlFlexibleServer_Start" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "4e4a6826-2a68-41f0-8513-6b53d6923f0b" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], - "x-ms-correlation-request-id": [ "ce00446c-5759-40ff-a0e8-ededa6db18a6" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T212212Z:ce00446c-5759-40ff-a0e8-ededa6db18a6" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 21:22:11 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"a96b8acc-fcee-4a7e-81f2-77b68ddc3fc2\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T21:21:12.253Z\"}" - } - }, - "Stop-AzPostgreSqlFlexibleServer+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a96b8acc-fcee-4a7e-81f2-77b68ddc3fc2?api-version=2020-02-14-preview+7": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a96b8acc-fcee-4a7e-81f2-77b68ddc3fc2?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "7" ], - "x-ms-client-request-id": [ "e3d55d7f-025a-41ac-a41a-efcc9b862189" ], - "CommandName": [ "Start-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Start-AzPostgreSqlFlexibleServer_Start" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "62350f70-91ce-4c97-8611-1f6d1cee5e89" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], - "x-ms-correlation-request-id": [ "69babf99-8faf-496d-b581-79d9f40d4505" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T212313Z:69babf99-8faf-496d-b581-79d9f40d4505" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 21:23:12 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"a96b8acc-fcee-4a7e-81f2-77b68ddc3fc2\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T21:21:12.253Z\"}" - } - }, - "Stop-AzPostgreSqlFlexibleServer+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/a96b8acc-fcee-4a7e-81f2-77b68ddc3fc2?api-version=2020-02-14-preview+8": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/a96b8acc-fcee-4a7e-81f2-77b68ddc3fc2?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "8" ], - "x-ms-client-request-id": [ "e3d55d7f-025a-41ac-a41a-efcc9b862189" ], - "CommandName": [ "Start-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Start-AzPostgreSqlFlexibleServer_Start" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "2eb0c15e-d05e-41a4-b97f-d21980dd55f8" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], - "x-ms-correlation-request-id": [ "0e1f78a1-43ad-40ee-b1d9-b34adcc8cd17" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T212313Z:0e1f78a1-43ad-40ee-b1d9-b34adcc8cd17" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 21:23:12 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "48" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"postgresql-test-100\",\"type\":\"PostgreSQL\"}" - } - }, - "Stop-AzPostgreSqlFlexibleServer+[NoContext]+StopViaIdentity+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/stop?api-version=2020-02-14-preview+1": { - "Request": { - "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/stop?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "9" ], - "x-ms-client-request-id": [ "0fc7e1d7-16e8-44af-8322-0247220552db" ], - "CommandName": [ "Stop-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Stop-AzPostgreSqlFlexibleServer_StopViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/18ba3d05-211a-4e9c-8ce4-d23bd065a7af?api-version=2020-02-14-preview" ], - "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/18ba3d05-211a-4e9c-8ce4-d23bd065a7af?api-version=2020-02-14-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "18ba3d05-211a-4e9c-8ce4-d23bd065a7af" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], - "x-ms-correlation-request-id": [ "7f896294-a806-4472-bd5e-2706ae33658a" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T212313Z:7f896294-a806-4472-bd5e-2706ae33658a" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 21:23:13 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "84" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"StopServerManagementOperation\",\"startTime\":\"2020-11-11T21:23:13.623Z\"}" - } - }, - "Stop-AzPostgreSqlFlexibleServer+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/18ba3d05-211a-4e9c-8ce4-d23bd065a7af?api-version=2020-02-14-preview+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/18ba3d05-211a-4e9c-8ce4-d23bd065a7af?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "10" ], - "x-ms-client-request-id": [ "0fc7e1d7-16e8-44af-8322-0247220552db" ], - "CommandName": [ "Stop-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Stop-AzPostgreSqlFlexibleServer_StopViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "3cab235e-e7f8-41d7-ae93-81137c016414" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], - "x-ms-correlation-request-id": [ "22191515-426a-4fac-86a3-2a23c0e1ae76" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T212414Z:22191515-426a-4fac-86a3-2a23c0e1ae76" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 21:24:13 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"18ba3d05-211a-4e9c-8ce4-d23bd065a7af\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T21:23:13.623Z\"}" - } - }, - "Stop-AzPostgreSqlFlexibleServer+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/18ba3d05-211a-4e9c-8ce4-d23bd065a7af?api-version=2020-02-14-preview+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/18ba3d05-211a-4e9c-8ce4-d23bd065a7af?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "11" ], - "x-ms-client-request-id": [ "0fc7e1d7-16e8-44af-8322-0247220552db" ], - "CommandName": [ "Stop-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Stop-AzPostgreSqlFlexibleServer_StopViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "6bc05ac3-f319-48f3-9db1-b4e140a04017" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], - "x-ms-correlation-request-id": [ "75d50bb4-dd7e-4a80-9000-c1df5b3dc7e8" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T212514Z:75d50bb4-dd7e-4a80-9000-c1df5b3dc7e8" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 21:25:13 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"18ba3d05-211a-4e9c-8ce4-d23bd065a7af\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T21:23:13.623Z\"}" - } - }, - "Stop-AzPostgreSqlFlexibleServer+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/18ba3d05-211a-4e9c-8ce4-d23bd065a7af?api-version=2020-02-14-preview+4": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/18ba3d05-211a-4e9c-8ce4-d23bd065a7af?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "12" ], - "x-ms-client-request-id": [ "0fc7e1d7-16e8-44af-8322-0247220552db" ], - "CommandName": [ "Stop-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Stop-AzPostgreSqlFlexibleServer_StopViaIdentity" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "57017a85-7399-45c7-b17d-e6426c2ca680" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], - "x-ms-correlation-request-id": [ "8b6114b5-12f6-4c27-8c2b-a0d44f6c5a6b" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T212514Z:8b6114b5-12f6-4c27-8c2b-a0d44f6c5a6b" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 21:25:14 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "48" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"postgresql-test-100\",\"type\":\"PostgreSQL\"}" - } - } -} \ No newline at end of file diff --git a/src/PostgreSql/test/Stop-AzPostgreSqlFlexibleServer.Tests.ps1 b/src/PostgreSql/test/Stop-AzPostgreSqlFlexibleServer.Tests.ps1 deleted file mode 100644 index 4147673001b5..000000000000 --- a/src/PostgreSql/test/Stop-AzPostgreSqlFlexibleServer.Tests.ps1 +++ /dev/null @@ -1,28 +0,0 @@ -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'Stop-AzPostgreSqlFlexibleServer.Recording.json' -$currentPath = $PSScriptRoot -while(-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - -Describe 'Stop-AzPostgreSqlFlexibleServer' { - It 'Stop' { - { - Stop-AzPostgreSqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName - Start-AzPostgreSqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName - } | Should -Not -Throw - } - - It 'StopViaIdentity' { - { - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSql/flexibleServers/$($env.serverName)/stop" - Stop-AzPostgreSqlFlexibleServer -InputObject $ID - } | Should -Not -Throw - } -} diff --git a/src/PostgreSql/test/Update-AzPostgreSqlConfiguration.Recording.json b/src/PostgreSql/test/Update-AzPostgreSqlConfiguration.Recording.json index cc4370ef9332..8bbdd354b16f 100644 --- a/src/PostgreSql/test/Update-AzPostgreSqlConfiguration.Recording.json +++ b/src/PostgreSql/test/Update-AzPostgreSqlConfiguration.Recording.json @@ -1,8 +1,8 @@ { - "Update-AzPostgreSqlConfiguration+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/intervalstyle?api-version=2017-12-01+1": { + "Update-AzPostgreSqlConfiguration+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/intervalstyle?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/intervalstyle?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/intervalstyle?api-version=2017-12-01", "Content": "{\r\n \"properties\": {\r\n \"value\": \"SQL_STANDARD\"\r\n }\r\n}", "Headers": { }, @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/2d654607-bcd3-49f8-9b11-c35061b9266e?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/2d654607-bcd3-49f8-9b11-c35061b9266e?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/2d654607-bcd3-49f8-9b11-c35061b9266e?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/2d654607-bcd3-49f8-9b11-c35061b9266e?api-version=2017-12-01" ], "x-ms-request-id": [ "2d654607-bcd3-49f8-9b11-c35061b9266e" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1174" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpdateElasticServerConfig\",\"startTime\":\"2020-09-25T11:49:08.207Z\"}" } }, - "Update-AzPostgreSqlConfiguration+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/2d654607-bcd3-49f8-9b11-c35061b9266e?api-version=2017-12-01+2": { + "Update-AzPostgreSqlConfiguration+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/2d654607-bcd3-49f8-9b11-c35061b9266e?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/2d654607-bcd3-49f8-9b11-c35061b9266e?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/2d654607-bcd3-49f8-9b11-c35061b9266e?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "256", "257" ], @@ -76,10 +76,10 @@ "Content": "{\"name\":\"2d654607-bcd3-49f8-9b11-c35061b9266e\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:49:08.207Z\"}" } }, - "Update-AzPostgreSqlConfiguration+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/intervalstyle?api-version=2017-12-01+3": { + "Update-AzPostgreSqlConfiguration+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/intervalstyle?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/intervalstyle?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/intervalstyle?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "256", "257", "258" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"value\":\"SQL_STANDARD\",\"description\":\"Sets the display format for interval values.\",\"defaultValue\":\"postgres\",\"dataType\":\"Enumeration\",\"allowedValues\":\"postgres,postgres_verbose,sql_standard,iso_8601\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/intervalstyle\",\"name\":\"intervalstyle\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"}" + "Content": "{\"properties\":{\"value\":\"SQL_STANDARD\",\"description\":\"Sets the display format for interval values.\",\"defaultValue\":\"postgres\",\"dataType\":\"Enumeration\",\"allowedValues\":\"postgres,postgres_verbose,sql_standard,iso_8601\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/intervalstyle\",\"name\":\"intervalstyle\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"}" } }, - "Update-AzPostgreSqlConfiguration+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/deadlock_timeout?api-version=2017-12-01+1": { + "Update-AzPostgreSqlConfiguration+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/deadlock_timeout?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/deadlock_timeout?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/deadlock_timeout?api-version=2017-12-01", "Content": "{\r\n \"properties\": {\r\n \"value\": \"2000\"\r\n }\r\n}", "Headers": { }, @@ -132,9 +132,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/351e8bf3-49e4-43d8-82c2-b4b767cd83c4?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/351e8bf3-49e4-43d8-82c2-b4b767cd83c4?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/351e8bf3-49e4-43d8-82c2-b4b767cd83c4?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/351e8bf3-49e4-43d8-82c2-b4b767cd83c4?api-version=2017-12-01" ], "x-ms-request-id": [ "351e8bf3-49e4-43d8-82c2-b4b767cd83c4" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1173" ], @@ -152,10 +152,10 @@ "Content": "{\"operation\":\"UpdateElasticServerConfig\",\"startTime\":\"2020-09-25T11:49:24.707Z\"}" } }, - "Update-AzPostgreSqlConfiguration+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/351e8bf3-49e4-43d8-82c2-b4b767cd83c4?api-version=2017-12-01+2": { + "Update-AzPostgreSqlConfiguration+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/351e8bf3-49e4-43d8-82c2-b4b767cd83c4?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/351e8bf3-49e4-43d8-82c2-b4b767cd83c4?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/351e8bf3-49e4-43d8-82c2-b4b767cd83c4?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "259", "260" ], @@ -192,10 +192,10 @@ "Content": "{\"name\":\"351e8bf3-49e4-43d8-82c2-b4b767cd83c4\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:49:24.707Z\"}" } }, - "Update-AzPostgreSqlConfiguration+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/deadlock_timeout?api-version=2017-12-01+3": { + "Update-AzPostgreSqlConfiguration+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/deadlock_timeout?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/deadlock_timeout?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/deadlock_timeout?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "259", "260", "261" ], @@ -228,7 +228,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"value\":\"2000\",\"description\":\"Sets the amount of time, in milliseconds, to wait on a lock before checking for deadlock.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/configurations/deadlock_timeout\",\"name\":\"deadlock_timeout\",\"type\":\"Microsoft.DBForPostgreSQL/servers/configurations\"}" + "Content": "{\"properties\":{\"value\":\"2000\",\"description\":\"Sets the amount of time, in milliseconds, to wait on a lock before checking for deadlock.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483647\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/configurations/deadlock_timeout\",\"name\":\"deadlock_timeout\",\"type\":\"Microsoft.DBforPostgreSQL/servers/configurations\"}" } } } \ No newline at end of file diff --git a/src/PostgreSql/test/Update-AzPostgreSqlConfiguration.Tests.ps1 b/src/PostgreSql/test/Update-AzPostgreSqlConfiguration.Tests.ps1 index 0ba8009411de..a0f4ec1cce97 100644 --- a/src/PostgreSql/test/Update-AzPostgreSqlConfiguration.Tests.ps1 +++ b/src/PostgreSql/test/Update-AzPostgreSqlConfiguration.Tests.ps1 @@ -18,7 +18,7 @@ Describe 'Update-AzPostgreSqlConfiguration' { } It 'UpdateViaIdentityExpanded' { - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSQL/servers/$($env.serverName)/configurations/deadlock_timeout" + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBforPostgreSQL/servers/$($env.serverName)/configurations/deadlock_timeout" $config = Update-AzPostgreSqlConfiguration -InputObject $ID -Value 2000 $config.Value | Should -Be 2000 } diff --git a/src/PostgreSql/test/Update-AzPostgreSqlFirewallRule.Recording.json b/src/PostgreSql/test/Update-AzPostgreSqlFirewallRule.Recording.json index 6bf38fe6546a..fb5d075d7f0b 100644 --- a/src/PostgreSql/test/Update-AzPostgreSqlFirewallRule.Recording.json +++ b/src/PostgreSql/test/Update-AzPostgreSqlFirewallRule.Recording.json @@ -1,8 +1,8 @@ { - "Update-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+1": { + "Update-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/9ccf456f-9710-4d4c-9001-b97cc5442557?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/9ccf456f-9710-4d4c-9001-b97cc5442557?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/9ccf456f-9710-4d4c-9001-b97cc5442557?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/9ccf456f-9710-4d4c-9001-b97cc5442557?api-version=2017-12-01" ], "x-ms-request-id": [ "9ccf456f-9710-4d4c-9001-b97cc5442557" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1172" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-09-25T11:49:41.41Z\"}" } }, - "Update-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/9ccf456f-9710-4d4c-9001-b97cc5442557?api-version=2017-12-01+2": { + "Update-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/9ccf456f-9710-4d4c-9001-b97cc5442557?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/9ccf456f-9710-4d4c-9001-b97cc5442557?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/9ccf456f-9710-4d4c-9001-b97cc5442557?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "262", "263" ], @@ -76,10 +76,10 @@ "Content": "{\"name\":\"9ccf456f-9710-4d4c-9001-b97cc5442557\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:49:41.41Z\"}" } }, - "Update-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+3": { + "Update-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "262", "263", "264" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBForPostgreSQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/servers/firewallRules\"}" } }, - "Update-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+4": { + "Update-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+4": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.2\",\r\n \"endIpAddress\": \"0.0.0.2\"\r\n }\r\n}", "Headers": { }, @@ -132,9 +132,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/79cb1e83-5460-4f0c-9213-9d5b2d404a4f?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/79cb1e83-5460-4f0c-9213-9d5b2d404a4f?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/79cb1e83-5460-4f0c-9213-9d5b2d404a4f?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/79cb1e83-5460-4f0c-9213-9d5b2d404a4f?api-version=2017-12-01" ], "x-ms-request-id": [ "79cb1e83-5460-4f0c-9213-9d5b2d404a4f" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1171" ], @@ -152,10 +152,10 @@ "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-09-25T11:49:58.91Z\"}" } }, - "Update-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/79cb1e83-5460-4f0c-9213-9d5b2d404a4f?api-version=2017-12-01+5": { + "Update-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/79cb1e83-5460-4f0c-9213-9d5b2d404a4f?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/79cb1e83-5460-4f0c-9213-9d5b2d404a4f?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/79cb1e83-5460-4f0c-9213-9d5b2d404a4f?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "265", "266" ], @@ -192,10 +192,10 @@ "Content": "{\"name\":\"79cb1e83-5460-4f0c-9213-9d5b2d404a4f\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:49:58.91Z\"}" } }, - "Update-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+6": { + "Update-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "265", "266", "267" ], @@ -228,13 +228,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.2\",\"endIpAddress\":\"0.0.0.2\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBForPostgreSQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.2\",\"endIpAddress\":\"0.0.0.2\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/servers/firewallRules\"}" } }, - "Update-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+7": { + "Update-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+7": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "268" ], @@ -253,9 +253,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/7f599f51-7188-4b25-9e0d-da6a522a15e0?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/7f599f51-7188-4b25-9e0d-da6a522a15e0?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/7f599f51-7188-4b25-9e0d-da6a522a15e0?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/7f599f51-7188-4b25-9e0d-da6a522a15e0?api-version=2017-12-01" ], "x-ms-request-id": [ "7f599f51-7188-4b25-9e0d-da6a522a15e0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14980" ], @@ -273,10 +273,10 @@ "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-09-25T11:50:18.77Z\"}" } }, - "Update-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/7f599f51-7188-4b25-9e0d-da6a522a15e0?api-version=2017-12-01+8": { + "Update-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/7f599f51-7188-4b25-9e0d-da6a522a15e0?api-version=2017-12-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/7f599f51-7188-4b25-9e0d-da6a522a15e0?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/7f599f51-7188-4b25-9e0d-da6a522a15e0?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "268", "269" ], @@ -313,10 +313,10 @@ "Content": "{\"name\":\"7f599f51-7188-4b25-9e0d-da6a522a15e0\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:50:18.77Z\"}" } }, - "Update-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/7f599f51-7188-4b25-9e0d-da6a522a15e0?api-version=2017-12-01+9": { + "Update-AzPostgreSqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/7f599f51-7188-4b25-9e0d-da6a522a15e0?api-version=2017-12-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/7f599f51-7188-4b25-9e0d-da6a522a15e0?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/7f599f51-7188-4b25-9e0d-da6a522a15e0?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "268", "269", "270" ], @@ -351,10 +351,10 @@ "Content": null } }, - "Update-AzPostgreSqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+1": { + "Update-AzPostgreSqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -368,9 +368,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/ec6c0819-dd1b-42c4-b5f5-445833f5ca13?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/ec6c0819-dd1b-42c4-b5f5-445833f5ca13?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/ec6c0819-dd1b-42c4-b5f5-445833f5ca13?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ec6c0819-dd1b-42c4-b5f5-445833f5ca13?api-version=2017-12-01" ], "x-ms-request-id": [ "ec6c0819-dd1b-42c4-b5f5-445833f5ca13" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1170" ], @@ -388,10 +388,10 @@ "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-09-25T11:50:38.19Z\"}" } }, - "Update-AzPostgreSqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/ec6c0819-dd1b-42c4-b5f5-445833f5ca13?api-version=2017-12-01+2": { + "Update-AzPostgreSqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ec6c0819-dd1b-42c4-b5f5-445833f5ca13?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/ec6c0819-dd1b-42c4-b5f5-445833f5ca13?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ec6c0819-dd1b-42c4-b5f5-445833f5ca13?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "271", "272" ], @@ -428,10 +428,10 @@ "Content": "{\"name\":\"ec6c0819-dd1b-42c4-b5f5-445833f5ca13\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:50:38.19Z\"}" } }, - "Update-AzPostgreSqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+3": { + "Update-AzPostgreSqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "271", "272", "273" ], @@ -464,13 +464,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBForPostgreSQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/servers/firewallRules\"}" } }, - "Update-AzPostgreSqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+4": { + "Update-AzPostgreSqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+4": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.2\",\r\n \"endIpAddress\": \"0.0.0.3\"\r\n }\r\n}", "Headers": { }, @@ -484,9 +484,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/61c29b02-7b63-4208-9f95-6fa09cfc2b2f?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/61c29b02-7b63-4208-9f95-6fa09cfc2b2f?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/61c29b02-7b63-4208-9f95-6fa09cfc2b2f?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/61c29b02-7b63-4208-9f95-6fa09cfc2b2f?api-version=2017-12-01" ], "x-ms-request-id": [ "61c29b02-7b63-4208-9f95-6fa09cfc2b2f" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1169" ], @@ -504,10 +504,10 @@ "Content": "{\"operation\":\"UpsertElasticServerFirewallRules\",\"startTime\":\"2020-09-25T11:50:55.69Z\"}" } }, - "Update-AzPostgreSqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/61c29b02-7b63-4208-9f95-6fa09cfc2b2f?api-version=2017-12-01+5": { + "Update-AzPostgreSqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/61c29b02-7b63-4208-9f95-6fa09cfc2b2f?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/61c29b02-7b63-4208-9f95-6fa09cfc2b2f?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/61c29b02-7b63-4208-9f95-6fa09cfc2b2f?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "274", "275" ], @@ -544,10 +544,10 @@ "Content": "{\"name\":\"61c29b02-7b63-4208-9f95-6fa09cfc2b2f\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:50:55.69Z\"}" } }, - "Update-AzPostgreSqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+6": { + "Update-AzPostgreSqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "274", "275", "276" ], @@ -580,13 +580,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.2\",\"endIpAddress\":\"0.0.0.3\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBForPostgreSQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.2\",\"endIpAddress\":\"0.0.0.3\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01\",\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/servers/firewallRules\"}" } }, - "Update-AzPostgreSqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+7": { + "Update-AzPostgreSqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01+7": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "277" ], @@ -605,9 +605,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/c062c433-77f7-405b-9706-8035ba09e6e9?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/c062c433-77f7-405b-9706-8035ba09e6e9?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c062c433-77f7-405b-9706-8035ba09e6e9?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c062c433-77f7-405b-9706-8035ba09e6e9?api-version=2017-12-01" ], "x-ms-request-id": [ "c062c433-77f7-405b-9706-8035ba09e6e9" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14979" ], @@ -625,10 +625,10 @@ "Content": "{\"operation\":\"DropElasticServerFirewallRule\",\"startTime\":\"2020-09-25T11:51:13.02Z\"}" } }, - "Update-AzPostgreSqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c062c433-77f7-405b-9706-8035ba09e6e9?api-version=2017-12-01+8": { + "Update-AzPostgreSqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c062c433-77f7-405b-9706-8035ba09e6e9?api-version=2017-12-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/c062c433-77f7-405b-9706-8035ba09e6e9?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/c062c433-77f7-405b-9706-8035ba09e6e9?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "277", "278" ], @@ -665,10 +665,10 @@ "Content": "{\"name\":\"c062c433-77f7-405b-9706-8035ba09e6e9\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:51:13.02Z\"}" } }, - "Update-AzPostgreSqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/c062c433-77f7-405b-9706-8035ba09e6e9?api-version=2017-12-01+9": { + "Update-AzPostgreSqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/c062c433-77f7-405b-9706-8035ba09e6e9?api-version=2017-12-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/c062c433-77f7-405b-9706-8035ba09e6e9?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/c062c433-77f7-405b-9706-8035ba09e6e9?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "277", "278", "279" ], diff --git a/src/PostgreSql/test/Update-AzPostgreSqlFirewallRule.Tests.ps1 b/src/PostgreSql/test/Update-AzPostgreSqlFirewallRule.Tests.ps1 index 92638b0b1a57..234e8b7bcde5 100644 --- a/src/PostgreSql/test/Update-AzPostgreSqlFirewallRule.Tests.ps1 +++ b/src/PostgreSql/test/Update-AzPostgreSqlFirewallRule.Tests.ps1 @@ -22,7 +22,7 @@ Describe 'Update-AzPostgreSqlFirewallRule' { It 'UpdateViaIdentityExpanded' { New-AzPostgreSqlFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSQL/servers/$($env.serverName)/firewallRules/$($env.firewallRuleName)" + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBforPostgreSQL/servers/$($env.serverName)/firewallRules/$($env.firewallRuleName)" $rule = Update-AzPostgreSqlFirewallRule -InputObject $ID -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 $rule.StartIPAddress | Should -Be 0.0.0.2 $rule.EndIPAddress | Should -Be 0.0.0.3 diff --git a/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServer.Recording.json b/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServer.Recording.json deleted file mode 100644 index 0de7d290b98c..000000000000 --- a/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServer.Recording.json +++ /dev/null @@ -1,234 +0,0 @@ -{ - "Update-AzPostgreSqlFlexibleServer+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview+1": { - "Request": { - "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview", - "Content": "{\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 15\r\n }\r\n }\r\n}", - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "93" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/0af22222-36e4-4758-ad48-43c36809a9bb?api-version=2020-02-14-preview" ], - "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0af22222-36e4-4758-ad48-43c36809a9bb?api-version=2020-02-14-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "799402b2-112c-456d-976b-e6326fed6b48" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-correlation-request-id": [ "adcd40df-03e3-4c35-b61a-778e38a7d56c" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T232710Z:adcd40df-03e3-4c35-b61a-778e38a7d56c" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 23:27:09 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "87" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-12T23:27:09.98Z\"}" - } - }, - "Update-AzPostgreSqlFlexibleServer+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0af22222-36e4-4758-ad48-43c36809a9bb?api-version=2020-02-14-preview+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0af22222-36e4-4758-ad48-43c36809a9bb?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "2" ], - "x-ms-client-request-id": [ "74ffaf63-1e82-49db-9e00-ba1313d3ac1d" ], - "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Update-AzPostgreSqlFlexibleServer_UpdateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "276defb9-1452-4cc2-87ea-5bb36dc66802" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], - "x-ms-correlation-request-id": [ "ea55b73d-131b-429b-b71a-8d2f3ba77e2f" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T232810Z:ea55b73d-131b-429b-b71a-8d2f3ba77e2f" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 23:28:10 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "106" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"0af22222-36e4-4758-ad48-43c36809a9bb\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-12T23:27:09.98Z\"}" - } - }, - "Update-AzPostgreSqlFlexibleServer+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "74ffaf63-1e82-49db-9e00-ba1313d3ac1d" ], - "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Update-AzPostgreSqlFlexibleServer_UpdateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "95c4e95f-4524-4b55-b493-245af07d2a61" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], - "x-ms-correlation-request-id": [ "e94cbb56-92f0-486e-9c17-cab3e26ba59d" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T232811Z:e94cbb56-92f0-486e-9c17-cab3e26ba59d" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 23:28:10 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "880" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"adminuser\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":15},\"earliestRestoreDate\":\"2020-11-11T20:47:55.6257742+00:00\",\"byokEnforcement\":\"Disabled\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0}},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}" - } - }, - "Update-AzPostgreSqlFlexibleServer+[NoContext]+UpdateViaIdentityExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview+1": { - "Request": { - "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview", - "Content": "{\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 20\r\n }\r\n }\r\n}", - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "93" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/bf3f527a-1849-4298-a5f0-88f017099834?api-version=2020-02-14-preview" ], - "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/bf3f527a-1849-4298-a5f0-88f017099834?api-version=2020-02-14-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "5bc89b38-97ef-4f11-9c85-89f26811db85" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], - "x-ms-correlation-request-id": [ "32c163ee-bf63-47a0-95c4-551dd76a0ec1" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T232811Z:32c163ee-bf63-47a0-95c4-551dd76a0ec1" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 23:28:11 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "88" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-12T23:28:11.747Z\"}" - } - }, - "Update-AzPostgreSqlFlexibleServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/bf3f527a-1849-4298-a5f0-88f017099834?api-version=2020-02-14-preview+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/bf3f527a-1849-4298-a5f0-88f017099834?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "5" ], - "x-ms-client-request-id": [ "5bed3a83-5ab3-4387-aba0-bd3c19baa533" ], - "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Update-AzPostgreSqlFlexibleServer_UpdateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "4db9457c-11ac-410a-8e91-c6857aefdf12" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], - "x-ms-correlation-request-id": [ "38e647f7-4037-4380-b679-071568429284" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T232912Z:38e647f7-4037-4380-b679-071568429284" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 23:29:11 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"bf3f527a-1849-4298-a5f0-88f017099834\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-12T23:28:11.747Z\"}" - } - }, - "Update-AzPostgreSqlFlexibleServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "6" ], - "x-ms-client-request-id": [ "5bed3a83-5ab3-4387-aba0-bd3c19baa533" ], - "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServer" ], - "FullCommandName": [ "Update-AzPostgreSqlFlexibleServer_UpdateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "d5566920-48f8-44ad-88df-0bb0983c7538" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], - "x-ms-correlation-request-id": [ "cd442d85-548e-4854-9f63-1be10faaf239" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T232912Z:cd442d85-548e-4854-9f63-1be10faaf239" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 23:29:12 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "880" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"sku\":{\"name\":\"Standard_D2s_v3\",\"tier\":\"GeneralPurpose\",\"capacity\":2},\"properties\":{\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"version\":\"12\",\"standbyCount\":0,\"haEnabled\":\"Disabled\",\"administratorLogin\":\"adminuser\",\"publicNetworkAccess\":\"Enabled\",\"logBackupStorageSku\":\"Standard_ZRS\",\"haState\":\"NotEnabled\",\"state\":\"Ready\",\"availabilityZone\":\"2\",\"storageProfile\":{\"storageMB\":131072,\"backupRetentionDays\":20},\"earliestRestoreDate\":\"2020-11-11T20:47:55.6257742+00:00\",\"byokEnforcement\":\"Disabled\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0}},\"location\":\"East US\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/flexibleServers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}" - } - } -} \ No newline at end of file diff --git a/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServer.Tests.ps1 b/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServer.Tests.ps1 deleted file mode 100644 index 92b6647df6f5..000000000000 --- a/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServer.Tests.ps1 +++ /dev/null @@ -1,29 +0,0 @@ -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzPostgreSqlFlexibleServer.Recording.json' -$currentPath = $PSScriptRoot -while(-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - -Describe 'Update-AzPostgreSqlFlexibleServer' { - It 'UpdateExpanded' { - { - $server = Update-AzPostgreSqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName -BackupRetentionDay 15 - $server.StorageProfileBackupRetentionDay | Should -Be 15 - } | Should -Not -Throw - } - - It 'UpdateViaIdentityExpanded' { - { - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBforPostgreSql/flexibleServers/$($env.serverName)/" - $server = Update-AzPostgreSqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName -BackupRetentionDay 20 - $server.StorageProfileBackupRetentionDay | Should -Be 20 - } | Should -Not -Throw - } -} diff --git a/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerConfiguration.Recording.json b/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerConfiguration.Recording.json deleted file mode 100644 index 8e0fdd0c7872..000000000000 --- a/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerConfiguration.Recording.json +++ /dev/null @@ -1,234 +0,0 @@ -{ - "Update-AzPostgreSqlFlexibleServerConfiguration+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/configurations/work_mem?api-version=2020-02-14-preview+1": { - "Request": { - "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/configurations/work_mem?api-version=2020-02-14-preview", - "Content": "{\r\n \"properties\": {\r\n \"value\": \"10240\",\r\n \"source\": \"user-override\"\r\n }\r\n}", - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "82" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/4f49a233-b3c9-4f43-859e-1260748f24ca?api-version=2020-02-14-preview" ], - "Retry-After": [ "10" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/4f49a233-b3c9-4f43-859e-1260748f24ca?api-version=2020-02-14-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "4f49a233-b3c9-4f43-859e-1260748f24ca" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], - "x-ms-correlation-request-id": [ "92ab334d-6910-419d-8a43-a57f5c0c05f8" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T231243Z:92ab334d-6910-419d-8a43-a57f5c0c05f8" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 23:12:42 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "93" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpdateConfigurationManagementOperation\",\"startTime\":\"2020-11-12T23:12:43.627Z\"}" - } - }, - "Update-AzPostgreSqlFlexibleServerConfiguration+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/4f49a233-b3c9-4f43-859e-1260748f24ca?api-version=2020-02-14-preview+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/4f49a233-b3c9-4f43-859e-1260748f24ca?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "8" ], - "x-ms-client-request-id": [ "1a0b9b8b-d1c9-4c1d-8185-b40d24551769" ], - "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServerConfiguration" ], - "FullCommandName": [ "Update-AzPostgreSqlFlexibleServerConfiguration_UpdateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "10" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "5e06dda6-88b1-48f3-9998-06d47e10f79e" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], - "x-ms-correlation-request-id": [ "ac1e4b9e-932f-42c9-8459-a833f95a2797" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T231254Z:ac1e4b9e-932f-42c9-8459-a833f95a2797" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 23:12:54 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"4f49a233-b3c9-4f43-859e-1260748f24ca\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-12T23:12:43.627Z\"}" - } - }, - "Update-AzPostgreSqlFlexibleServerConfiguration+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/configurations/work_mem?api-version=2020-02-14-preview+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/configurations/work_mem?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "9" ], - "x-ms-client-request-id": [ "1a0b9b8b-d1c9-4c1d-8185-b40d24551769" ], - "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServerConfiguration" ], - "FullCommandName": [ "Update-AzPostgreSqlFlexibleServerConfiguration_UpdateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "b3860315-5650-4cd3-8594-75c9e50b8660" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], - "x-ms-correlation-request-id": [ "1d2b4602-7d31-4cea-b013-65d85d1252dc" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T231254Z:1d2b4602-7d31-4cea-b013-65d85d1252dc" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 23:12:54 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "529" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"value\":\"10240\",\"description\":\"Sets the amount of memory to be used by internal sort operations and hash tables before writing to temporary disk files.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-2097151\",\"source\":\"user-override\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/work_mem\",\"name\":\"work_mem\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"}" - } - }, - "Update-AzPostgreSqlFlexibleServerConfiguration+[NoContext]+UpdateViaIdentityExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/configurations/work_mem?api-version=2020-02-14-preview+1": { - "Request": { - "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/configurations/work_mem?api-version=2020-02-14-preview", - "Content": "{\r\n \"properties\": {\r\n \"value\": \"4096\",\r\n \"source\": \"user-override\"\r\n }\r\n}", - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "81" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/45063307-4cbb-49c5-875b-ac9b1be719da?api-version=2020-02-14-preview" ], - "Retry-After": [ "10" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/45063307-4cbb-49c5-875b-ac9b1be719da?api-version=2020-02-14-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "45063307-4cbb-49c5-875b-ac9b1be719da" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], - "x-ms-correlation-request-id": [ "8d316f4e-43ea-42be-86cd-9f0fe5361cca" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T231350Z:8d316f4e-43ea-42be-86cd-9f0fe5361cca" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 23:13:49 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "93" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpdateConfigurationManagementOperation\",\"startTime\":\"2020-11-12T23:13:50.087Z\"}" - } - }, - "Update-AzPostgreSqlFlexibleServerConfiguration+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/45063307-4cbb-49c5-875b-ac9b1be719da?api-version=2020-02-14-preview+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/45063307-4cbb-49c5-875b-ac9b1be719da?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "11" ], - "x-ms-client-request-id": [ "0d2522dd-c339-4bb3-bec1-5358822630ae" ], - "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServerConfiguration" ], - "FullCommandName": [ "Update-AzPostgreSqlFlexibleServerConfiguration_UpdateViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "10" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "e0eaecb6-295b-4ac4-97cc-2f574eb66a7d" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], - "x-ms-correlation-request-id": [ "7470c303-7a7d-46c7-806b-50707464fae2" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T231400Z:7470c303-7a7d-46c7-806b-50707464fae2" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 23:13:59 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"45063307-4cbb-49c5-875b-ac9b1be719da\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-12T23:13:50.087Z\"}" - } - }, - "Update-AzPostgreSqlFlexibleServerConfiguration+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/configurations/work_mem?api-version=2020-02-14-preview+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/configurations/work_mem?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "12" ], - "x-ms-client-request-id": [ "0d2522dd-c339-4bb3-bec1-5358822630ae" ], - "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServerConfiguration" ], - "FullCommandName": [ "Update-AzPostgreSqlFlexibleServerConfiguration_UpdateViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "ae44c7a3-26ef-4e0e-b726-8b8c1c1c2e00" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11980" ], - "x-ms-correlation-request-id": [ "a6044050-eb0a-487b-956d-364531d90c10" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T231400Z:a6044050-eb0a-487b-956d-364531d90c10" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 23:14:00 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "529" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"value\":\"4096\",\"description\":\"Sets the amount of memory to be used by internal sort operations and hash tables before writing to temporary disk files.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-2097151\",\"source\":\"system-default\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/serversv2/postgresql-test-100/configurations/work_mem\",\"name\":\"work_mem\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/configurations\"}" - } - } -} \ No newline at end of file diff --git a/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerConfiguration.Tests.ps1 b/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerConfiguration.Tests.ps1 deleted file mode 100644 index 6c5c8de68832..000000000000 --- a/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerConfiguration.Tests.ps1 +++ /dev/null @@ -1,27 +0,0 @@ -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzPostgreSqlFlexibleServerConfiguration.Recording.json' -$currentPath = $PSScriptRoot -while(-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - -Describe 'Update-AzPostgreSqlFlexibleServerConfiguration' { - It 'UpdateExpanded' { - $config = Update-AzPostgreSqlFlexibleServerConfiguration -Name work_mem -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -Value 10240 - $config.Value | Should -Be 10240 - $config.DefaultValue | Should -Be 4096 - } - - It 'UpdateViaIdentityExpanded' { - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSql/flexibleServers/$($env.serverName)/configurations/work_mem" - $config = Update-AzPostgreSqlFlexibleServerConfiguration -InputObject $ID -Value 4096 - $config.Value | Should -Be 4096 - $config.DefaultValue | Should -Be 4096 - } -} diff --git a/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerFirewallRule.Recording.json b/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerFirewallRule.Recording.json deleted file mode 100644 index 8c33332fd35b..000000000000 --- a/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerFirewallRule.Recording.json +++ /dev/null @@ -1,582 +0,0 @@ -{ - "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { - "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", - "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "93" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/8d811bc8-fb0d-4944-aa41-d6f76e9be39e?api-version=2020-02-14-preview" ], - "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/8d811bc8-fb0d-4944-aa41-d6f76e9be39e?api-version=2020-02-14-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "8d811bc8-fb0d-4944-aa41-d6f76e9be39e" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], - "x-ms-correlation-request-id": [ "c459562a-eac5-4f8d-9f6e-f3d5836f9bcc" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T231437Z:c459562a-eac5-4f8d-9f6e-f3d5836f9bcc" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 23:14:36 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "99" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-12T23:14:37.497Z\"}" - } - }, - "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/8d811bc8-fb0d-4944-aa41-d6f76e9be39e?api-version=2020-02-14-preview+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/8d811bc8-fb0d-4944-aa41-d6f76e9be39e?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "14" ], - "x-ms-client-request-id": [ "3abbc022-9fc3-4719-ba09-71a0566d22af" ], - "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "New-AzPostgreSqlFlexibleServerFirewallRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "b3592a54-8657-42c2-9f84-e978cfb7e185" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11979" ], - "x-ms-correlation-request-id": [ "559f31db-5e68-4562-bf2f-899fb0ccc6f9" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T231538Z:559f31db-5e68-4562-bf2f-899fb0ccc6f9" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 23:15:37 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"8d811bc8-fb0d-4944-aa41-d6f76e9be39e\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-12T23:14:37.497Z\"}" - } - }, - "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "15" ], - "x-ms-client-request-id": [ "3abbc022-9fc3-4719-ba09-71a0566d22af" ], - "CommandName": [ "Az.PostgreSql.internal\\New-AzPostgreSqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "New-AzPostgreSqlFlexibleServerFirewallRule_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "73831a64-eca9-4c8d-bddd-0b9f401c9485" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11978" ], - "x-ms-correlation-request-id": [ "75e30b63-ea48-4a5d-9902-72549dd7906e" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T231538Z:75e30b63-ea48-4a5d-9902-72549dd7906e" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 23:15:38 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "159" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}" - } - }, - "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+4": { - "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", - "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.2\",\r\n \"endIpAddress\": \"0.0.0.3\"\r\n }\r\n}", - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "93" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/2036f09b-622f-4e78-bcaa-666ff5efaa8e?api-version=2020-02-14-preview" ], - "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/2036f09b-622f-4e78-bcaa-666ff5efaa8e?api-version=2020-02-14-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "2036f09b-622f-4e78-bcaa-666ff5efaa8e" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1194" ], - "x-ms-correlation-request-id": [ "63ceb51f-c169-41ad-8bf4-0b84be455401" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T231538Z:63ceb51f-c169-41ad-8bf4-0b84be455401" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 23:15:38 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "99" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-12T23:15:38.517Z\"}" - } - }, - "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/2036f09b-622f-4e78-bcaa-666ff5efaa8e?api-version=2020-02-14-preview+5": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/2036f09b-622f-4e78-bcaa-666ff5efaa8e?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "17" ], - "x-ms-client-request-id": [ "212f8565-919f-4c3a-b64d-319dab78fe75" ], - "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "Update-AzPostgreSqlFlexibleServerFirewallRule_UpdateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "be038722-2001-47bf-8f0b-1e6393679086" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11977" ], - "x-ms-correlation-request-id": [ "1ca0ebd8-1064-4e2c-b5d3-b02efd178d3c" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T231639Z:1ca0ebd8-1064-4e2c-b5d3-b02efd178d3c" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 23:16:38 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"2036f09b-622f-4e78-bcaa-666ff5efaa8e\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-12T23:15:38.517Z\"}" - } - }, - "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "18" ], - "x-ms-client-request-id": [ "212f8565-919f-4c3a-b64d-319dab78fe75" ], - "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "Update-AzPostgreSqlFlexibleServerFirewallRule_UpdateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "af205ca0-9962-49b3-9e20-502d9d7fb4d9" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11976" ], - "x-ms-correlation-request-id": [ "85a4b1cd-0263-4236-b91d-d701f6d64e80" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T231639Z:85a4b1cd-0263-4236-b91d-d701f6d64e80" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 23:16:38 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "159" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.2\",\"endIpAddress\":\"0.0.0.3\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}" - } - }, - "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { - "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", - "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.2\",\r\n \"endIpAddress\": \"0.0.0.2\"\r\n }\r\n}", - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "93" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/04a22503-26bd-48d1-ae3b-c33e10cecf5c?api-version=2020-02-14-preview" ], - "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04a22503-26bd-48d1-ae3b-c33e10cecf5c?api-version=2020-02-14-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "04a22503-26bd-48d1-ae3b-c33e10cecf5c" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1193" ], - "x-ms-correlation-request-id": [ "ab3997ca-9e1e-45b8-b138-7d0abeadd92e" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T231639Z:ab3997ca-9e1e-45b8-b138-7d0abeadd92e" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 23:16:38 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "99" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-12T23:16:39.523Z\"}" - } - }, - "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04a22503-26bd-48d1-ae3b-c33e10cecf5c?api-version=2020-02-14-preview+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/04a22503-26bd-48d1-ae3b-c33e10cecf5c?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "20" ], - "x-ms-client-request-id": [ "17dde2c7-bb7d-4ea8-84a4-7c5a7d164b66" ], - "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "Update-AzPostgreSqlFlexibleServerFirewallRule_UpdateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "9e53951d-5ba2-4b10-9a62-63dac0a7023a" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11975" ], - "x-ms-correlation-request-id": [ "1b5c82cb-ab49-46c5-be67-64c8f8d36acd" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T231740Z:1b5c82cb-ab49-46c5-be67-64c8f8d36acd" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 23:17:39 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"04a22503-26bd-48d1-ae3b-c33e10cecf5c\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-12T23:16:39.523Z\"}" - } - }, - "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "21" ], - "x-ms-client-request-id": [ "17dde2c7-bb7d-4ea8-84a4-7c5a7d164b66" ], - "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "Update-AzPostgreSqlFlexibleServerFirewallRule_UpdateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "87b3f784-64cd-4255-a130-95938116f059" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11974" ], - "x-ms-correlation-request-id": [ "13ef521a-8b5b-4532-8c9d-ab02ea1ff9b4" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T231740Z:13ef521a-8b5b-4532-8c9d-ab02ea1ff9b4" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 23:17:39 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "159" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.2\",\"endIpAddress\":\"0.0.0.2\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}" - } - }, - "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { - "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", - "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.4\",\r\n \"endIpAddress\": \"0.0.0.5\"\r\n }\r\n}", - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "93" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/5ec82055-979b-43b1-8d3d-524584126bd5?api-version=2020-02-14-preview" ], - "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/5ec82055-979b-43b1-8d3d-524584126bd5?api-version=2020-02-14-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "5ec82055-979b-43b1-8d3d-524584126bd5" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1192" ], - "x-ms-correlation-request-id": [ "a08f3e9f-61df-4641-b946-fcbd83957780" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T231741Z:a08f3e9f-61df-4641-b946-fcbd83957780" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 23:17:40 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "98" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-12T23:17:40.99Z\"}" - } - }, - "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/5ec82055-979b-43b1-8d3d-524584126bd5?api-version=2020-02-14-preview+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/5ec82055-979b-43b1-8d3d-524584126bd5?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "23" ], - "x-ms-client-request-id": [ "60cf821d-6895-49e7-ab4e-95bdb15e3222" ], - "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "Update-AzPostgreSqlFlexibleServerFirewallRule_UpdateViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "ca08e992-2472-48a3-a55b-0c9cc2cd25c6" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11973" ], - "x-ms-correlation-request-id": [ "4c7c0218-71d4-4d1a-8962-5f2d904e08d7" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T231841Z:4c7c0218-71d4-4d1a-8962-5f2d904e08d7" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 23:18:41 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "106" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"5ec82055-979b-43b1-8d3d-524584126bd5\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-12T23:17:40.99Z\"}" - } - }, - "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "24" ], - "x-ms-client-request-id": [ "60cf821d-6895-49e7-ab4e-95bdb15e3222" ], - "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "Update-AzPostgreSqlFlexibleServerFirewallRule_UpdateViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "09c5dd6a-dd43-4759-ae07-adddca2b571d" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11972" ], - "x-ms-correlation-request-id": [ "1544a38f-b4e9-46b4-a578-b8df768b0c05" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T231841Z:1544a38f-b4e9-46b4-a578-b8df768b0c05" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 23:18:41 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "159" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.4\",\"endIpAddress\":\"0.0.0.5\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}" - } - }, - "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddressViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+1": { - "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", - "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.9\",\r\n \"endIpAddress\": \"0.0.0.9\"\r\n }\r\n}", - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "93" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/ef1ca829-b1a1-408f-9ea4-ea8d22b371c6?api-version=2020-02-14-preview" ], - "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ef1ca829-b1a1-408f-9ea4-ea8d22b371c6?api-version=2020-02-14-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "ef1ca829-b1a1-408f-9ea4-ea8d22b371c6" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1191" ], - "x-ms-correlation-request-id": [ "e0a58b54-270f-4d34-868a-2e1ec1b46e15" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T231842Z:e0a58b54-270f-4d34-868a-2e1ec1b46e15" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 23:18:42 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "99" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-12T23:18:42.047Z\"}" - } - }, - "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddressViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ef1ca829-b1a1-408f-9ea4-ea8d22b371c6?api-version=2020-02-14-preview+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/ef1ca829-b1a1-408f-9ea4-ea8d22b371c6?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "26" ], - "x-ms-client-request-id": [ "4c657a31-7b18-4193-8932-6768e7609ea0" ], - "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "Update-AzPostgreSqlFlexibleServerFirewallRule_UpdateViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "98767882-e0f5-4198-af51-f86da909c149" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11971" ], - "x-ms-correlation-request-id": [ "0b65888a-3285-4bd3-abe0-6241461a0dc4" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T231942Z:0b65888a-3285-4bd3-abe0-6241461a0dc4" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 23:19:41 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"ef1ca829-b1a1-408f-9ea4-ea8d22b371c6\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-12T23:18:42.047Z\"}" - } - }, - "Update-AzPostgreSqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddressViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSql/flexibleServers/postgresql-test-100/firewallRules/postgresqlrule01?api-version=2020-02-14-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "27" ], - "x-ms-client-request-id": [ "4c657a31-7b18-4193-8932-6768e7609ea0" ], - "CommandName": [ "Az.PostgreSql.internal\\Update-AzPostgreSqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "Update-AzPostgreSqlFlexibleServerFirewallRule_UpdateViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "eba779ad-11fa-4ad5-b0e6-1c7837ee43d8" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11970" ], - "x-ms-correlation-request-id": [ "0fe39517-3189-4dd2-bb33-a608caacaf92" ], - "x-ms-routing-request-id": [ "WESTUS2:20201112T231942Z:0fe39517-3189-4dd2-bb33-a608caacaf92" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Thu, 12 Nov 2020 23:19:42 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "159" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.9\",\"endIpAddress\":\"0.0.0.9\"},\"name\":\"postgresqlrule01\",\"type\":\"Microsoft.DBforPostgreSQL/flexibleServers/firewallRules\"}" - } - } -} \ No newline at end of file diff --git a/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 b/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 deleted file mode 100644 index 8a2c9f0ceffb..000000000000 --- a/src/PostgreSql/test/Update-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 +++ /dev/null @@ -1,41 +0,0 @@ -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzPostgreSqlFlexibleServerFirewallRule.Recording.json' -$currentPath = $PSScriptRoot -while(-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - -Describe 'Update-AzPostgreSqlFlexibleServerFirewallRule' { - It 'UpdateExpanded' { - New-AzPostgreSqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 - $rule = Update-AzPostgreSqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 - $rule.StartIPAddress | Should -Be 0.0.0.2 - $rule.EndIPAddress | Should -Be 0.0.0.3 - } - - It 'ClientIPAddress' { - $rule = Update-AzPostgreSqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -ClientIPAddress 0.0.0.2 - $rule.StartIPAddress | Should -Be 0.0.0.2 - $rule.EndIPAddress | Should -Be 0.0.0.2 - } - - It 'UpdateViaIdentityExpanded' { - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSql/flexibleServers/$($env.serverName)/firewallRules/$($env.firewallRuleName)" - $rule = Update-AzPostgreSqlFlexibleServerFirewallRule -InputObject $ID -EndIPAddress 0.0.0.5 -StartIPAddress 0.0.0.4 - $rule.StartIPAddress | Should -Be 0.0.0.4 - $rule.EndIPAddress | Should -Be 0.0.0.5 - } - - It 'ClientIPAddressViaIdentity' { - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSql/flexibleServers/$($env.serverName)/firewallRules/$($env.firewallRuleName)" - $rule = Update-AzPostgreSqlFlexibleServerFirewallRule -InputObject $ID -ClientIPAddress 0.0.0.9 - $rule.StartIPAddress | Should -Be 0.0.0.9 - $rule.EndIPAddress | Should -Be 0.0.0.9 - } -} diff --git a/src/PostgreSql/test/Update-AzPostgreSqlServer.Recording.json b/src/PostgreSql/test/Update-AzPostgreSqlServer.Recording.json index b13bd65a7ed9..e47ad126ae80 100644 --- a/src/PostgreSql/test/Update-AzPostgreSqlServer.Recording.json +++ b/src/PostgreSql/test/Update-AzPostgreSqlServer.Recording.json @@ -1,8 +1,8 @@ { - "Update-AzPostgreSqlServer+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+1": { + "Update-AzPostgreSqlServer+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", "Content": "{\r\n \"properties\": {\r\n \"sslEnforcement\": \"Disabled\"\r\n }\r\n}", "Headers": { }, @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/5e8ec5ca-e40e-43b4-8c6c-f6ef85a21500?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/5e8ec5ca-e40e-43b4-8c6c-f6ef85a21500?api-version=2017-12-01" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/5e8ec5ca-e40e-43b4-8c6c-f6ef85a21500?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/5e8ec5ca-e40e-43b4-8c6c-f6ef85a21500?api-version=2017-12-01" ], "x-ms-request-id": [ "5e8ec5ca-e40e-43b4-8c6c-f6ef85a21500" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1168" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpsertElasticServer\",\"startTime\":\"2020-09-25T11:51:30.63Z\"}" } }, - "Update-AzPostgreSqlServer+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/5e8ec5ca-e40e-43b4-8c6c-f6ef85a21500?api-version=2017-12-01+2": { + "Update-AzPostgreSqlServer+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/5e8ec5ca-e40e-43b4-8c6c-f6ef85a21500?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/5e8ec5ca-e40e-43b4-8c6c-f6ef85a21500?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/5e8ec5ca-e40e-43b4-8c6c-f6ef85a21500?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "280", "281" ], @@ -76,10 +76,10 @@ "Content": "{\"name\":\"5e8ec5ca-e40e-43b4-8c6c-f6ef85a21500\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:51:30.63Z\"}" } }, - "Update-AzPostgreSqlServer+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+3": { + "Update-AzPostgreSqlServer+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "280", "281", "282" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" } }, - "Update-AzPostgreSqlServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+1": { + "Update-AzPostgreSqlServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "283" ], @@ -151,13 +151,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" } }, - "Update-AzPostgreSqlServer+[NoContext]+UpdateViaIdentityExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+2": { + "Update-AzPostgreSqlServer+[NoContext]+UpdateViaIdentityExpanded+$PATCH+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+2": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", "Content": "{\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 23\r\n }\r\n }\r\n}", "Headers": { }, @@ -171,9 +171,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/4813d211-dc05-4f2a-b283-3a93128d09a6?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/4813d211-dc05-4f2a-b283-3a93128d09a6?api-version=2017-12-01" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/4813d211-dc05-4f2a-b283-3a93128d09a6?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/4813d211-dc05-4f2a-b283-3a93128d09a6?api-version=2017-12-01" ], "x-ms-request-id": [ "4813d211-dc05-4f2a-b283-3a93128d09a6" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1167" ], @@ -191,10 +191,10 @@ "Content": "{\"operation\":\"UpsertElasticServer\",\"startTime\":\"2020-09-25T11:52:38.38Z\"}" } }, - "Update-AzPostgreSqlServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/4813d211-dc05-4f2a-b283-3a93128d09a6?api-version=2017-12-01+3": { + "Update-AzPostgreSqlServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/4813d211-dc05-4f2a-b283-3a93128d09a6?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/4813d211-dc05-4f2a-b283-3a93128d09a6?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/4813d211-dc05-4f2a-b283-3a93128d09a6?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "284", "285" ], @@ -231,10 +231,10 @@ "Content": "{\"name\":\"4813d211-dc05-4f2a-b283-3a93128d09a6\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:52:38.38Z\"}" } }, - "Update-AzPostgreSqlServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+4": { + "Update-AzPostgreSqlServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "284", "285", "286" ], @@ -267,7 +267,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBForPostgreSQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"postgresql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"9.6\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"postgresql-test-100.postgres.database.azure.com\",\"earliestRestoreDate\":\"2020-09-25T11:09:04.307+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100\",\"name\":\"postgresql-test-100\",\"type\":\"Microsoft.DBforPostgreSQL/servers\"}" } } } \ No newline at end of file diff --git a/src/PostgreSql/test/Update-AzPostgreSqlVirtualNetworkRule.Recording.json b/src/PostgreSql/test/Update-AzPostgreSqlVirtualNetworkRule.Recording.json index 1e5f68448ba8..f669d558c848 100644 --- a/src/PostgreSql/test/Update-AzPostgreSqlVirtualNetworkRule.Recording.json +++ b/src/PostgreSql/test/Update-AzPostgreSqlVirtualNetworkRule.Recording.json @@ -1,9 +1,9 @@ { - "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+1": { + "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/0f9f4135-7196-4df0-9d58-5b949024dee9?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/0f9f4135-7196-4df0-9d58-5b949024dee9?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/0f9f4135-7196-4df0-9d58-5b949024dee9?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0f9f4135-7196-4df0-9d58-5b949024dee9?api-version=2017-12-01" ], "x-ms-request-id": [ "0f9f4135-7196-4df0-9d58-5b949024dee9" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1166" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-09-25T11:53:40.96Z\"}" } }, - "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/0f9f4135-7196-4df0-9d58-5b949024dee9?api-version=2017-12-01+2": { + "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0f9f4135-7196-4df0-9d58-5b949024dee9?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/0f9f4135-7196-4df0-9d58-5b949024dee9?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0f9f4135-7196-4df0-9d58-5b949024dee9?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "287", "288" ], @@ -76,10 +76,10 @@ "Content": "{\"name\":\"0f9f4135-7196-4df0-9d58-5b949024dee9\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:53:40.96Z\"}" } }, - "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+3": { + "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "287", "288", "289" ], @@ -112,14 +112,14 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBForPostgreSQL/servers/virtualNetworkRules\"}" + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBforPostgreSQL/servers/virtualNetworkRules\"}" } }, - "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+4": { + "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+4": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet2\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet2\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { @@ -132,9 +132,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/0a57e192-37c3-40bf-acbc-3aca86726ce7?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/0a57e192-37c3-40bf-acbc-3aca86726ce7?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/0a57e192-37c3-40bf-acbc-3aca86726ce7?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0a57e192-37c3-40bf-acbc-3aca86726ce7?api-version=2017-12-01" ], "x-ms-request-id": [ "0a57e192-37c3-40bf-acbc-3aca86726ce7" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1165" ], @@ -152,10 +152,10 @@ "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-09-25T11:54:13.27Z\"}" } }, - "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/0a57e192-37c3-40bf-acbc-3aca86726ce7?api-version=2017-12-01+5": { + "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0a57e192-37c3-40bf-acbc-3aca86726ce7?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/0a57e192-37c3-40bf-acbc-3aca86726ce7?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0a57e192-37c3-40bf-acbc-3aca86726ce7?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "290", "291" ], @@ -192,10 +192,10 @@ "Content": "{\"name\":\"0a57e192-37c3-40bf-acbc-3aca86726ce7\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:54:13.27Z\"}" } }, - "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+6": { + "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "290", "291", "292" ], @@ -228,13 +228,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet2\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBForPostgreSQL/servers/virtualNetworkRules\"}" + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet2\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBforPostgreSQL/servers/virtualNetworkRules\"}" } }, - "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+7": { + "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+7": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "293" ], @@ -253,9 +253,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/1a308fbb-1c9e-413c-9ae2-09e5659e6d0d?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/1a308fbb-1c9e-413c-9ae2-09e5659e6d0d?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/1a308fbb-1c9e-413c-9ae2-09e5659e6d0d?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/1a308fbb-1c9e-413c-9ae2-09e5659e6d0d?api-version=2017-12-01" ], "x-ms-request-id": [ "1a308fbb-1c9e-413c-9ae2-09e5659e6d0d" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14978" ], @@ -273,10 +273,10 @@ "Content": "{\"operation\":\"DropElasticServerVnetFirewallRule\",\"startTime\":\"2020-09-25T11:54:46.27Z\"}" } }, - "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/1a308fbb-1c9e-413c-9ae2-09e5659e6d0d?api-version=2017-12-01+8": { + "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/1a308fbb-1c9e-413c-9ae2-09e5659e6d0d?api-version=2017-12-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/1a308fbb-1c9e-413c-9ae2-09e5659e6d0d?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/1a308fbb-1c9e-413c-9ae2-09e5659e6d0d?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "293", "294" ], @@ -313,10 +313,10 @@ "Content": "{\"name\":\"1a308fbb-1c9e-413c-9ae2-09e5659e6d0d\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:54:46.27Z\"}" } }, - "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/1a308fbb-1c9e-413c-9ae2-09e5659e6d0d?api-version=2017-12-01+9": { + "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/1a308fbb-1c9e-413c-9ae2-09e5659e6d0d?api-version=2017-12-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/1a308fbb-1c9e-413c-9ae2-09e5659e6d0d?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/1a308fbb-1c9e-413c-9ae2-09e5659e6d0d?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "293", "294", "295" ], @@ -351,11 +351,11 @@ "Content": null } }, - "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+1": { + "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { @@ -368,9 +368,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/9d16ebdd-72c9-4a8e-8943-fb21dec6e3bc?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/9d16ebdd-72c9-4a8e-8943-fb21dec6e3bc?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/9d16ebdd-72c9-4a8e-8943-fb21dec6e3bc?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/9d16ebdd-72c9-4a8e-8943-fb21dec6e3bc?api-version=2017-12-01" ], "x-ms-request-id": [ "9d16ebdd-72c9-4a8e-8943-fb21dec6e3bc" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1164" ], @@ -388,10 +388,10 @@ "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-09-25T11:55:03.52Z\"}" } }, - "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/9d16ebdd-72c9-4a8e-8943-fb21dec6e3bc?api-version=2017-12-01+2": { + "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/9d16ebdd-72c9-4a8e-8943-fb21dec6e3bc?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/9d16ebdd-72c9-4a8e-8943-fb21dec6e3bc?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/9d16ebdd-72c9-4a8e-8943-fb21dec6e3bc?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "296", "297" ], @@ -428,10 +428,10 @@ "Content": "{\"name\":\"9d16ebdd-72c9-4a8e-8943-fb21dec6e3bc\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:55:03.52Z\"}" } }, - "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+3": { + "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "296", "297", "298" ], @@ -464,14 +464,14 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBForPostgreSQL/servers/virtualNetworkRules\"}" + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBforPostgreSQL/servers/virtualNetworkRules\"}" } }, - "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+4": { + "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+4": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", - "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet2\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "Content": "{\r\n \"properties\": {\r\n \"virtualNetworkSubnetId\": \"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet2\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { @@ -484,9 +484,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/fd8f3120-955d-409c-a4c9-aa62c99b86bc?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/fd8f3120-955d-409c-a4c9-aa62c99b86bc?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/fd8f3120-955d-409c-a4c9-aa62c99b86bc?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/fd8f3120-955d-409c-a4c9-aa62c99b86bc?api-version=2017-12-01" ], "x-ms-request-id": [ "fd8f3120-955d-409c-a4c9-aa62c99b86bc" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1163" ], @@ -504,10 +504,10 @@ "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-09-25T11:55:35.9Z\"}" } }, - "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/fd8f3120-955d-409c-a4c9-aa62c99b86bc?api-version=2017-12-01+5": { + "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/fd8f3120-955d-409c-a4c9-aa62c99b86bc?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/fd8f3120-955d-409c-a4c9-aa62c99b86bc?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/fd8f3120-955d-409c-a4c9-aa62c99b86bc?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "299", "300" ], @@ -544,10 +544,10 @@ "Content": "{\"name\":\"fd8f3120-955d-409c-a4c9-aa62c99b86bc\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:55:35.9Z\"}" } }, - "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+6": { + "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "299", "300", "301" ], @@ -580,13 +580,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet2\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBForPostgreSQL/servers/virtualNetworkRules\"}" + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet2\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet\",\"name\":\"postgresqlvnet\",\"type\":\"Microsoft.DBforPostgreSQL/servers/virtualNetworkRules\"}" } }, - "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+7": { + "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01+7": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/PostgreSqlTest/providers/Microsoft.DBForPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/PostgreSqlTest/providers/Microsoft.DBforPostgreSQL/servers/postgresql-test-100/virtualNetworkRules/postgresqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "302" ], @@ -605,9 +605,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/7c4bd3c2-931a-4354-8f49-3f3d2887149d?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/7c4bd3c2-931a-4354-8f49-3f3d2887149d?api-version=2017-12-01" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/7c4bd3c2-931a-4354-8f49-3f3d2887149d?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/7c4bd3c2-931a-4354-8f49-3f3d2887149d?api-version=2017-12-01" ], "x-ms-request-id": [ "7c4bd3c2-931a-4354-8f49-3f3d2887149d" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14977" ], @@ -625,10 +625,10 @@ "Content": "{\"operation\":\"DropElasticServerVnetFirewallRule\",\"startTime\":\"2020-09-25T11:56:08.167Z\"}" } }, - "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/7c4bd3c2-931a-4354-8f49-3f3d2887149d?api-version=2017-12-01+8": { + "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/7c4bd3c2-931a-4354-8f49-3f3d2887149d?api-version=2017-12-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/azureAsyncOperation/7c4bd3c2-931a-4354-8f49-3f3d2887149d?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/7c4bd3c2-931a-4354-8f49-3f3d2887149d?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "302", "303" ], @@ -665,10 +665,10 @@ "Content": "{\"name\":\"7c4bd3c2-931a-4354-8f49-3f3d2887149d\",\"status\":\"Succeeded\",\"startTime\":\"2020-09-25T11:56:08.167Z\"}" } }, - "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/7c4bd3c2-931a-4354-8f49-3f3d2887149d?api-version=2017-12-01+9": { + "Update-AzPostgreSqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/7c4bd3c2-931a-4354-8f49-3f3d2887149d?api-version=2017-12-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForPostgreSQL/locations/eastus/operationResults/7c4bd3c2-931a-4354-8f49-3f3d2887149d?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/7c4bd3c2-931a-4354-8f49-3f3d2887149d?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "302", "303", "304" ], diff --git a/src/PostgreSql/test/Update-AzPostgreSqlVirtualNetworkRule.Tests.ps1 b/src/PostgreSql/test/Update-AzPostgreSqlVirtualNetworkRule.Tests.ps1 index af47df724814..e406f35e3439 100644 --- a/src/PostgreSql/test/Update-AzPostgreSqlVirtualNetworkRule.Tests.ps1 +++ b/src/PostgreSql/test/Update-AzPostgreSqlVirtualNetworkRule.Tests.ps1 @@ -25,7 +25,7 @@ Describe 'Update-AzPostgreSqlVirtualNetworkRule' { $SubnetID1 = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1" New-AzPostgreSqlVirtualNetworkRule -Name $env.VNetName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -SubnetId $SubnetID1 $SubnetID2 = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet2" - $VNetId = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForPostgreSQL/servers/$($env.serverName)/virtualNetworkRules/$($env.VNetName)" + $VNetId = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBforPostgreSQL/servers/$($env.serverName)/virtualNetworkRules/$($env.VNetName)" $rule = Update-AzPostgreSqlVirtualNetworkRule -InputObject $VNetId -SubnetId $SubnetID2 $rule.VirtualNetworkSubnetId | Should -Be $SubnetID2 Remove-AzPostgreSqlVirtualNetworkRule -Name $env.VNetName -ResourceGroupName $env.resourceGroup-ServerName $env.serverName diff --git a/src/PostgreSql/test/env.json b/src/PostgreSql/test/env.json index 15b167c16d3f..88d516128105 100644 --- a/src/PostgreSql/test/env.json +++ b/src/PostgreSql/test/env.json @@ -1,16 +1,15 @@ { - "SubscriptionId": "7fec3109-5b78-4a24-b834-5d47d63e2596", + "SubscriptionId": "9e223dbe-3399-4e19-88eb-0975f02ac87f", "resourceGroup": "PostgreSqlTest", - "serverName": "postgresql-test-100", + "serverName2": "postgresql-test-100-2", + "Sku": "GP_Gen5_4", + "restoreName2": "postgresql-test-100-restore-2", + "firewallRuleName2": "postgresqlrule02", "replicaName": "postgresql-test-100-replica", + "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", "firewallRuleName": "postgresqlrule01", - "FlexibleSku": "Standard_D2s_v3", - "restoreName": "postgresql-test-100-restore", - "restoreName2": "postgresql-test-100-restore-2", "VNetName": "postgresqlvnet", - "location": "eastus", - "serverName2": "postgresql-test-200", - "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "firewallRuleName2": "postgresqlrule02", - "Sku": "GP_Gen5_4" + "serverName": "postgresql-test-100", + "restoreName": "postgresql-test-100-restore", + "location": "eastus" } diff --git a/src/PostgreSql/test/localEnv.json b/src/PostgreSql/test/localEnv.json index 15b167c16d3f..f34828afbba7 100644 --- a/src/PostgreSql/test/localEnv.json +++ b/src/PostgreSql/test/localEnv.json @@ -1,16 +1,15 @@ { - "SubscriptionId": "7fec3109-5b78-4a24-b834-5d47d63e2596", - "resourceGroup": "PostgreSqlTest", - "serverName": "postgresql-test-100", "replicaName": "postgresql-test-100-replica", - "firewallRuleName": "postgresqlrule01", - "FlexibleSku": "Standard_D2s_v3", - "restoreName": "postgresql-test-100-restore", - "restoreName2": "postgresql-test-100-restore-2", + "Sku": "GP_Gen5_4", + "firewallRuleName2": "postgresqlrule02", "VNetName": "postgresqlvnet", + "serverName": "postgresql-test-100", + "firewallRuleName": "postgresqlrule01", "location": "eastus", - "serverName2": "postgresql-test-200", + "restoreName2": "postgresql-test-100-restore-2", + "serverName2": "postgresql-test-100-2", + "restoreName": "postgresql-test-100-restore", + "SubscriptionId": "9e223dbe-3399-4e19-88eb-0975f02ac87f", "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "firewallRuleName2": "postgresqlrule02", - "Sku": "GP_Gen5_4" + "resourceGroup": "PostgreSqlTest" } diff --git a/src/PostgreSql/test/utils.ps1 b/src/PostgreSql/test/utils.ps1 index d6567a88ca5d..255d0b26b83b 100644 --- a/src/PostgreSql/test/utils.ps1 +++ b/src/PostgreSql/test/utils.ps1 @@ -13,13 +13,13 @@ function setupEnv() { $env.SubscriptionId = (Get-AzContext).Subscription.Id $env.Tenant = (Get-AzContext).Tenant.Id # For any resources you created for test, you should add it to $env here. - $env.Add("serverName2", "postgresql-test-200") + $env.Add("serverName2", "postgresql-test-100-2") $env.Add("restoreName", "postgresql-test-100-restore") $env.Add("restoreName2", "postgresql-test-100-restore-2") $env.Add("replicaName", "postgresql-test-100-replica") $env.Add("firewallRuleName", "postgresqlrule01") $env.Add("firewallRuleName2", "postgresqlrule02") - $env.Add("VNetName", "postgresql-vnet") + $env.Add("VNetName", "postgresqlvnet") # Create the test group write-host "start to create test group." @@ -39,18 +39,12 @@ function setupEnv() { $env.Add("serverName", $serverName) $Sku = "GP_Gen5_4" $env.Add("Sku", $Sku) - $FlexibleSku = "Standard_D2s_v3" - $env.Add("FlexibleSku", $Sku) write-host (Get-AzContext | Out-String) - write-host "New-AzPostgreSqlServer -Name $serverName -ResourceGroupName $resourceGroup -Location $location -AdministratorUserName adminuser -AdministratorLoginPassword $password -Sku $Sku" - New-AzPostgreSqlServer -Name $serverName -ResourceGroupName $resourceGroup -Location $location -AdministratorUserName adminuser -AdministratorLoginPassword $password -Sku $Sku + write-host "New-AzPostgreSqlServer -Name $serverName -ResourceGroupName $resourceGroup -Location $location -AdministratorUserName postgresql_test -AdministratorLoginPassword $password -Sku $Sku" + New-AzPostgreSqlServer -Name $serverName -ResourceGroupName $resourceGroup -Location $location -AdministratorUserName postgresql_test -AdministratorLoginPassword $password -Sku $Sku - - write-host "New-AzPostgreSqlFlexibleServer -Name $serverName -ResourceGroupName $resourceGroup -AdministratorUserName adminuser -AdministratorLoginPassword $password" - New-AzPostgreSqlFlexibleServer -Name $serverName -ResourceGroupName $resourceGroup -AdministratorUserName adminuser -AdministratorLoginPassword $password - $envFile = 'env.json' if ($TestMode -eq 'live') { $envFile = 'localEnv.json' @@ -63,3 +57,4 @@ function cleanupEnv() { write-host "Clean resources you create for testing." Remove-AzResourceGroup -Name $env.resourceGroup } + From 0b0c3ce51316e8f8ed3928325cb6b885e6110425 Mon Sep 17 00:00:00 2001 From: Daeun Yim Date: Thu, 19 Nov 2020 17:44:33 -0800 Subject: [PATCH 23/51] configuration fixed --- ...ate-AzMySqlFlexibleServerConfiguration.ps1 | 13 ------ ...date-AzMySqlFlexibleServerConfiguration.md | 40 +++---------------- 2 files changed, 5 insertions(+), 48 deletions(-) diff --git a/src/MySql/custom/Update-AzMySqlFlexibleServerConfiguration.ps1 b/src/MySql/custom/Update-AzMySqlFlexibleServerConfiguration.ps1 index ac805f2225cb..336f523ce92c 100644 --- a/src/MySql/custom/Update-AzMySqlFlexibleServerConfiguration.ps1 +++ b/src/MySql/custom/Update-AzMySqlFlexibleServerConfiguration.ps1 @@ -2,7 +2,6 @@ function Update-AzMySqlFlexibleServerConfiguration { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IConfigurationAutoGenerated])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( - [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Alias('ConfigurationName')] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] @@ -10,7 +9,6 @@ param( # The name of the server configuration. ${Name}, - [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] [System.String] @@ -18,14 +16,12 @@ param( # The name is case insensitive. ${ResourceGroupName}, - [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] [System.String] # The name of the server. ${ServerName}, - [Parameter(ParameterSetName='Update')] [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] @@ -33,7 +29,6 @@ param( # The ID of the target subscription. ${SubscriptionId}, - [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity] @@ -41,14 +36,6 @@ param( # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, - [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] - [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IConfigurationAutoGenerated] - # Represents a Configuration. - # To construct, see NOTES section for PARAMETER properties and create a hash table. - ${Parameter}, - [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Parameter(HelpMessage = 'The source of the updating value. The default value is user-override')] diff --git a/src/MySql/docs/Update-AzMySqlFlexibleServerConfiguration.md b/src/MySql/docs/Update-AzMySqlFlexibleServerConfiguration.md index bec64848f539..de53355ef1b9 100644 --- a/src/MySql/docs/Update-AzMySqlFlexibleServerConfiguration.md +++ b/src/MySql/docs/Update-AzMySqlFlexibleServerConfiguration.md @@ -19,20 +19,6 @@ Update-AzMySqlFlexibleServerConfiguration -Name -ResourceGroupName ] ``` -### Update -``` -Update-AzMySqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName - -Parameter [-SubscriptionId ] [-Source ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] -``` - -### UpdateViaIdentity -``` -Update-AzMySqlFlexibleServerConfiguration -InputObject - -Parameter [-Source ] [-DefaultProfile ] [-AsJob] [-NoWait] - [-Confirm] [-WhatIf] [] -``` - ### UpdateViaIdentityExpanded ``` Update-AzMySqlFlexibleServerConfiguration -InputObject [-Source ] [-Value ] @@ -101,7 +87,7 @@ To construct, see NOTES section for INPUTOBJECT properties and create a hash tab ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity -Parameter Sets: UpdateViaIdentity, UpdateViaIdentityExpanded +Parameter Sets: UpdateViaIdentityExpanded Aliases: Required: True @@ -116,7 +102,7 @@ Accept wildcard characters: False ```yaml Type: System.String -Parameter Sets: Update, UpdateExpanded +Parameter Sets: UpdateExpanded Aliases: ConfigurationName Required: True @@ -141,28 +127,12 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Parameter -To construct, see NOTES section for PARAMETER properties and create a hash table. -To construct, see NOTES section for PARAMETER properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IConfigurationAutoGenerated -Parameter Sets: Update, UpdateViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - ### -ResourceGroupName ```yaml Type: System.String -Parameter Sets: Update, UpdateExpanded +Parameter Sets: UpdateExpanded Aliases: Required: True @@ -177,7 +147,7 @@ Accept wildcard characters: False ```yaml Type: System.String -Parameter Sets: Update, UpdateExpanded +Parameter Sets: UpdateExpanded Aliases: Required: True @@ -208,7 +178,7 @@ Accept wildcard characters: False ```yaml Type: System.String -Parameter Sets: Update, UpdateExpanded +Parameter Sets: UpdateExpanded Aliases: Required: False From 2f82ceed69cddff03302feae44ac5ee749990eba Mon Sep 17 00:00:00 2001 From: Daeun Yim Date: Mon, 23 Nov 2020 17:05:54 -0800 Subject: [PATCH 24/51] cred scan added --- src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 b/src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 index b3aa8690c365..fd5d755696c9 100644 --- a/src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 +++ b/src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 @@ -14,6 +14,7 @@ while(-not $mockingPath) { Describe 'New-AzMySqlFlexibleServer' { It 'CreateExpanded' { { + #[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] $password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force $server = New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -AdministratorUserName mysql_test -AdministratorLoginPassword $password -Sku Standard_D2ds_v4 -SkuTier GeneralPurpose -BackupRetentionDay 12 -StorageInMb 102400 -Location eastus2 $server.SkuName | Should -Be "Standard_D2ds_v4" From 90a07d9c3e14248899dbcae587f37e3028b63ad6 Mon Sep 17 00:00:00 2001 From: Daeun Yim Date: Mon, 23 Nov 2020 21:01:54 -0800 Subject: [PATCH 25/51] cred scan issue resolved --- src/MySql/test/Remove-AzMySqlFlexibleServer.Tests.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/src/MySql/test/Remove-AzMySqlFlexibleServer.Tests.ps1 b/src/MySql/test/Remove-AzMySqlFlexibleServer.Tests.ps1 index 57f13d9decb8..82768ba68e0a 100644 --- a/src/MySql/test/Remove-AzMySqlFlexibleServer.Tests.ps1 +++ b/src/MySql/test/Remove-AzMySqlFlexibleServer.Tests.ps1 @@ -14,6 +14,7 @@ while(-not $mockingPath) { Describe 'Remove-AzMySqlFlexibleServer' { It 'Delete' { { + #[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] $password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force New-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName -AdministratorUserName mysql_test -AdministratorLoginPassword $password Remove-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName2 From 19ad16d4ec584fe5791b06b57deb416bcc56dcbe Mon Sep 17 00:00:00 2001 From: msJinLei Date: Wed, 25 Nov 2020 13:51:05 +0800 Subject: [PATCH 26/51] Regenerate doc of the MySql --- src/MySql/docs/Az.MySql.md | 2 +- src/MySql/docs/Get-AzMySqlConfiguration.md | 16 ++++++---- src/MySql/docs/Get-AzMySqlConnectionString.md | 16 ++++++---- src/MySql/docs/Get-AzMySqlFirewallRule.md | 24 ++++++++------ src/MySql/docs/Get-AzMySqlFlexibleServer.md | 32 ++++++++++++------- .../Get-AzMySqlFlexibleServerConfiguration.md | 24 ++++++++------ .../docs/Get-AzMySqlFlexibleServerDatabase.md | 28 +++++++++------- .../Get-AzMySqlFlexibleServerFirewallRule.md | 24 ++++++++------ .../docs/Get-AzMySqlFlexibleServerReplica.md | 8 +++-- src/MySql/docs/Get-AzMySqlReplica.md | 8 +++-- src/MySql/docs/Get-AzMySqlServer.md | 32 ++++++++++++------- .../docs/Get-AzMySqlVirtualNetworkRule.md | 24 ++++++++------ src/MySql/docs/New-AzMySqlFirewallRule.md | 24 ++++++++------ src/MySql/docs/New-AzMySqlFlexibleServer.md | 19 +++++++---- .../docs/New-AzMySqlFlexibleServerDatabase.md | 10 +++--- .../New-AzMySqlFlexibleServerFirewallRule.md | 24 ++++++++------ .../docs/New-AzMySqlFlexibleServerReplica.md | 16 ++++++---- src/MySql/docs/New-AzMySqlReplica.md | 16 ++++++---- src/MySql/docs/New-AzMySqlServer.md | 8 +++-- .../docs/New-AzMySqlVirtualNetworkRule.md | 16 ++++++---- src/MySql/docs/Remove-AzMySqlFirewallRule.md | 14 ++++---- .../docs/Remove-AzMySqlFlexibleServer.md | 14 ++++---- .../Remove-AzMySqlFlexibleServerDatabase.md | 13 ++++---- ...emove-AzMySqlFlexibleServerFirewallRule.md | 14 ++++---- src/MySql/docs/Remove-AzMySqlServer.md | 14 ++++---- .../docs/Remove-AzMySqlVirtualNetworkRule.md | 14 ++++---- .../docs/Restart-AzMySqlFlexibleServer.md | 12 +++---- src/MySql/docs/Restart-AzMySqlServer.md | 14 ++++---- .../docs/Restore-AzMySqlFlexibleServer.md | 10 +++--- src/MySql/docs/Restore-AzMySqlServer.md | 16 ++++++---- src/MySql/docs/Start-AzMySqlFlexibleServer.md | 12 +++---- src/MySql/docs/Stop-AzMySqlFlexibleServer.md | 12 +++---- src/MySql/docs/Update-AzMySqlConfiguration.md | 16 ++++++---- src/MySql/docs/Update-AzMySqlFirewallRule.md | 24 ++++++++------ .../docs/Update-AzMySqlFlexibleServer.md | 16 ++++++---- ...date-AzMySqlFlexibleServerConfiguration.md | 27 +++++++--------- .../Update-AzMySqlFlexibleServerDatabase.md | 20 +++++++----- ...pdate-AzMySqlFlexibleServerFirewallRule.md | 16 ++++++---- src/MySql/docs/Update-AzMySqlServer.md | 16 ++++++---- .../docs/Update-AzMySqlVirtualNetworkRule.md | 16 ++++++---- 40 files changed, 409 insertions(+), 272 deletions(-) diff --git a/src/MySql/docs/Az.MySql.md b/src/MySql/docs/Az.MySql.md index 05063bbeb18d..0e6ef0286b5d 100644 --- a/src/MySql/docs/Az.MySql.md +++ b/src/MySql/docs/Az.MySql.md @@ -1,6 +1,6 @@ --- Module Name: Az.MySql -Module Guid: ff8d0adb-f9fe-4353-b9ba-b3ed0b112e2f +Module Guid: fc8b3a19-b288-4f67-a4ff-b2d82a11cd6a Download Help Link: https://docs.microsoft.com/en-us/powershell/module/az.mysql Help Version: 1.0.0.0 Locale: en-US diff --git a/src/MySql/docs/Get-AzMySqlConfiguration.md b/src/MySql/docs/Get-AzMySqlConfiguration.md index b84715b06202..e38c2f7c6429 100644 --- a/src/MySql/docs/Get-AzMySqlConfiguration.md +++ b/src/MySql/docs/Get-AzMySqlConfiguration.md @@ -34,10 +34,9 @@ Gets information about a configuration of server. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: List all configurations in specified MySql server ```powershell -Get-AzMySqlConfiguration -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -``` +PS C:\> Get-AzMySqlConfiguration -ResourceGroupName PowershellMySqlTest -ServerName mysql-test Name Type ---- ---- @@ -50,15 +49,20 @@ transaction_prealloc_size Microsoft.DBforMySQL/servers/configurat tx_isolation Microsoft.DBforMySQL/servers/configurations updatable_views_with_limit Microsoft.DBforMySQL/servers/configurations wait_timeout Microsoft.DBforMySQL/servers/configurations +``` + +This cmdlet lists all configurations in specified MySql server. -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Get specified MySql configuration by name ```powershell -Get-AzMySqlConfiguration -Name time_zone -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -``` +PS C:\> Get-AzMySqlConfiguration -Name time_zone -ResourceGroupName PowershellMySqlTest -ServerName mysql-test Name Type ---- ---- time_zone Microsoft.DBforMySQL/servers/configurations +``` + +This cmdlet gets specified MySql configuration by name. ## PARAMETERS diff --git a/src/MySql/docs/Get-AzMySqlConnectionString.md b/src/MySql/docs/Get-AzMySqlConnectionString.md index f6e1ef6f8d5e..d586aefc49ad 100644 --- a/src/MySql/docs/Get-AzMySqlConnectionString.md +++ b/src/MySql/docs/Get-AzMySqlConnectionString.md @@ -29,19 +29,23 @@ Get the connection string according to client connection provider. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Get MySql server connection string by resource group and server name ```powershell -Get-AzMySqlConnectionString -Client ADO.NET -Name mysql-test -ResourceGroupName PowershellMySqlTest -``` +PS C:\> Get-AzMySqlConnectionString -Client ADO.NET -Name mysql-test -ResourceGroupName PowershellMySqlTest Server=mysql-test.mysql.database.azure.com; Port=3306; Database={your_database}; Uid=mysql_test@mysql-test; Pwd={your_password}; +``` + +This cmdlet gets MySql server connection string by resource group and server name. -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Get MySql server connection string by identity ```powershell -Get-AzMySqlServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test | Get-AzMySqlConnectionString -Client PHP -``` +PS C:\> Get-AzMySqlServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test | Get-AzMySqlConnectionString -Client PHP $con=mysqli_init(); mysqli_real_connect($con, "mysql-test.mysql.database.azure.com", "mysql_test@mysql-test", {your_password}, {your_database}, 3306); +``` + +This cmdlet gets MySql server connection string by identity. ## PARAMETERS diff --git a/src/MySql/docs/Get-AzMySqlFirewallRule.md b/src/MySql/docs/Get-AzMySqlFirewallRule.md index ccd9d89b752a..9fa728f0c250 100644 --- a/src/MySql/docs/Get-AzMySqlFirewallRule.md +++ b/src/MySql/docs/Get-AzMySqlFirewallRule.md @@ -34,33 +34,39 @@ Gets information about a server firewall rule. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Lists all the Firewall Rules in specified MySql server ```powershell -Get-AzMySqlFirewallRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -``` +PS C:\> Get-AzMySqlFirewallRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test Name Type ---- ---- rule Microsoft.DBforMySQL/servers/firewallRules +``` + +This cmdlet lists all the Firewall Rule in specified MySql server. -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Get Firewall Rule by name ```powershell -Get-AzMySqlFirewallRule -Name rule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -``` +PS C:\> Get-AzMySqlFirewallRule -Name rule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test Name Type ---- ---- rule Microsoft.DBforMySQL/servers/firewallRules +``` -### -------------------------- EXAMPLE 3 -------------------------- +This cmdlet gets Firewall Rule by name. + +### Example 3: Get Firewall Rule by identity ```powershell -$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/firewallRules/rule" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/firewallRules/rule" PS C:\> Get-AzMySqlFirewallRule -InputObject $ID -``` Name Type ---- ---- rule Microsoft.DBforMySQL/servers/firewallRules +``` + +This cmdlet gets Firewall Rule by identity. ## PARAMETERS diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServer.md b/src/MySql/docs/Get-AzMySqlFlexibleServer.md index 2ed58b2e9333..fa0d8549a71a 100644 --- a/src/MySql/docs/Get-AzMySqlFlexibleServer.md +++ b/src/MySql/docs/Get-AzMySqlFlexibleServer.md @@ -39,43 +39,51 @@ Gets information about a server. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Get MySql server with default context ```powershell -Get-AzMySqlFlexibleServer -``` +PS C:\> Get-AzMySqlFlexibleServer Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ---- -------- ------------------ ------- ----------------------- ---------------- ------------- mysql-test-11 westus2 mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose +``` + +This cmdlet gets MySql servers with default context. -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Get MySql server by resource group and server name ```powershell -Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Name mysql-test -``` +PS C:\> Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Name mysql-test Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ---- -------- ------------------ ------- ----------------------- ---------------- ------------- mysql-test westus2 mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose +``` + +This cmdlet gets MySql servers by resource group and server name. -### -------------------------- EXAMPLE 3 -------------------------- +### Example 3: Lists all the MySql servers in specified resource group ```powershell -Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -``` +PS C:\> Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ---- -------- ------------------ ------- ----------------------- ---------------- ------------- mysql-test-11 westus2 mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose mysql-test-12 westus2 mysql_test2 5.7 5120 Standard_D2ds_v4 GeneralPurpose +``` + +This cmdlet lists all the MySql servers in the specified resource group. -### -------------------------- EXAMPLE 4 -------------------------- +### Example 4: Get MySql server by identity ```powershell -$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test" PS C:\> Get-AzMySqlFlexibleServer -InputObject $ID -``` Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ---- -------- ------------------ ------- ----------------------- ---------------- ------------- mysql-test westus2 mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose +``` + +This cmdlet lists gets MySql servers by identity. ## PARAMETERS diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServerConfiguration.md b/src/MySql/docs/Get-AzMySqlFlexibleServerConfiguration.md index ba9e1456988a..37ded752250f 100644 --- a/src/MySql/docs/Get-AzMySqlFlexibleServerConfiguration.md +++ b/src/MySql/docs/Get-AzMySqlFlexibleServerConfiguration.md @@ -35,35 +35,41 @@ Gets information about a configuration of server. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: List all configurations in specified MySql server ```powershell -Get-AzMySqlFlexibleServerConfiguration -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -``` +PS C:\> Get-AzMySqlFlexibleServerConfiguration -ResourceGroupName PowershellMySqlTest -ServerName mysql-test Name Value DefaultValue Source AllowedValues DataType ---- ------ ------------ ------- ------------- --------- archive OFF OFF system-default ON, OFF Enumeration ... wait_timeout 28800 28800 system-default 1-31536000 Integer +``` + +This cmdlet lists all configurations in specified MySql server. -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Get specified MySql configuration by name ```powershell -Get-AzMySqlFlexibleServerConfiguration -Name wait_timeout -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -``` +PS C:\> Get-AzMySqlFlexibleServerConfiguration -Name wait_timeout -ResourceGroupName PowershellMySqlTest -ServerName mysql-test Name Value DefaultValue Source AllowedValues DataType ---- ------ ------------ ------- ------------- --------- wait_timeout 28800 28800 system-default 1-31536000 Integer +``` + +This cmdlet gets specified MySql configuration by name. -### -------------------------- EXAMPLE 3 -------------------------- +### Example 3: List configuration by identity ```powershell -$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/configurations/wait_timeout" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/configurations/wait_timeout" Get-AzMySqlFlexibleServerConfiguration -Name wait_timeout -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -``` Name Value DefaultValue Source AllowedValues DataType ---- ------ ------------ ------- ------------- --------- wait_timeout 28800 28800 system-default 1-31536000 Integer +``` + +This cmdlet gets specified MySql configuration by identity. ## PARAMETERS diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServerDatabase.md b/src/MySql/docs/Get-AzMySqlFlexibleServerDatabase.md index 1f158005b410..2a415e00e5c5 100644 --- a/src/MySql/docs/Get-AzMySqlFlexibleServerDatabase.md +++ b/src/MySql/docs/Get-AzMySqlFlexibleServerDatabase.md @@ -35,35 +35,41 @@ Gets information about a database. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Get a MySql database by resource name ```powershell -Get-AzMySqlFlexibleServerDatabase -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -Name flexibleserverdb -``` +PS C:\> Get-AzMySqlFlexibleServerDatabase -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -Name flexibleserverdb Name Charset Collation ---- -------- ------------------ -flexibleserverdb latin1 latin1_swedish_ci +flexibleserverdb latin1 latin1_swedish_ci +``` + +This cmdlet gets MySql server by resource name. -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Get MySql databases by identity ```powershell -$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test" PS C:\> Get-AzMySqlFlexibleServerDatabase -InputObject $ID -``` Name Charset Collation ---- -------- ------------------ flexibleserverdb latin1 latin1_swedish_ci -performance_schema latin1 latin1_swedish_ci +performance_schema latin1 latin1_swedish_ci +``` + +This cmdlet gets a MySql server by identity. -### -------------------------- EXAMPLE 3 -------------------------- +### Example 3: Lists all the MySql databases in the specified server ```powershell -Get-AzMySqlFlexibleServerDatabase -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -``` +PS C:\> Get-AzMySqlFlexibleServerDatabase -ResourceGroupName PowershellMySqlTest -ServerName mysql-test Name Charset Collation ---- -------- ------------------ flexibleserverdb latin1 latin1_swedish_ci performance_schema latin1 latin1_swedish_ci +``` + +This cmdlet lists all the MySql servers in specified the server. ## PARAMETERS diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServerFirewallRule.md b/src/MySql/docs/Get-AzMySqlFlexibleServerFirewallRule.md index 5e3bce2f191c..06986c636935 100644 --- a/src/MySql/docs/Get-AzMySqlFlexibleServerFirewallRule.md +++ b/src/MySql/docs/Get-AzMySqlFlexibleServerFirewallRule.md @@ -35,34 +35,40 @@ Gets information about a server firewall rule. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Get firewall rules by name ```powershell -Get-AzMySqlFlexibleServerFirewallRule -Name firewallrule-test -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -``` +PS C:\> Get-AzMySqlFlexibleServerFirewallRule -Name firewallrule-test -ResourceGroupName PowershellMySqlTest -ServerName mysql-test FirewallRuleName StartIPAddress EndIPAddress ----------------- --------------- --------------- firewallrule-test 12.12.12.12 23.23.23.23 +``` + +This cmdlet gets firewall rules by name. -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Get firewall rules by identity ```powershell -$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/servers/mysql-test/firewallRules/firewallrule-test" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/servers/mysql-test/firewallRules/firewallrule-test" PS C:\> Get-AzMySqlFlexibleServerFirewallRule -InputObject $ID -``` FirewallRuleName StartIPAddress EndIPAddress ----------------- --------------- --------------- firewallrule-test 12.12.12.12 23.23.23.23 +``` -### -------------------------- EXAMPLE 3 -------------------------- +This cmdlet gets firewall rules by identity. + +### Example 3: Lists all the firewall rules in the specified MySql server ```powershell -Get-AzMySqlFlexibleServerFirewallRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -``` +PS C:\> Get-AzMySqlFlexibleServerFirewallRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test FirewallRuleName StartIPAddress EndIPAddress ----------------- --------------- --------------- firewallrule-test 12.12.12.12 23.23.23.23 firewallrule-test2 12.12.12.15 23.23.23.25 +``` + +This cmdlet lists all the firewall rule in specified MySql server. ## PARAMETERS diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServerReplica.md b/src/MySql/docs/Get-AzMySqlFlexibleServerReplica.md index e2c80cb826e9..63757da17977 100644 --- a/src/MySql/docs/Get-AzMySqlFlexibleServerReplica.md +++ b/src/MySql/docs/Get-AzMySqlFlexibleServerReplica.md @@ -22,14 +22,16 @@ List all the replicas for a given server. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Get MySql server replica by resource group and server name ```powershell -Get-AzMySqlFlexibleServerReplica -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -``` +PS C:\> Get-AzMySqlFlexibleServerReplica -ResourceGroupName PowershellMySqlTest -ServerName mysql-test Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ---- -------- ------------------ ------- ----------------------- ---------------- ------------- mysql-test westus2 mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose +``` + +This cmdlet gets MySql server replica by resource group and server name. ## PARAMETERS diff --git a/src/MySql/docs/Get-AzMySqlReplica.md b/src/MySql/docs/Get-AzMySqlReplica.md index 74fa83cc0539..26fc74aff2c8 100644 --- a/src/MySql/docs/Get-AzMySqlReplica.md +++ b/src/MySql/docs/Get-AzMySqlReplica.md @@ -22,14 +22,16 @@ List all the replicas for a given server. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Get MySql server replica by resource group and server name ```powershell -Get-AzMySqlReplica -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -``` +PS C:\> Get-AzMySqlReplica -ResourceGroupName PowershellMySqlTest -ServerName mysql-test Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement ---- -------- ------------------ ------- ----------------------- ------- ------- -------------- mysql-test-replica eastus mysql_test 5.7 10240 GP_Gen5_4 GeneralPurpose Disabled +``` + +This cmdlet gets MySql server replica by resource group and server name. ## PARAMETERS diff --git a/src/MySql/docs/Get-AzMySqlServer.md b/src/MySql/docs/Get-AzMySqlServer.md index 15f01a8546ec..0aecfacce834 100644 --- a/src/MySql/docs/Get-AzMySqlServer.md +++ b/src/MySql/docs/Get-AzMySqlServer.md @@ -39,42 +39,50 @@ Gets information about a server. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Get MySql server with default context ```powershell -Get-AzMySqlServer -``` +PS C:\> Get-AzMySqlServer Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement ---- -------- ------------------ ------- ----------------------- ------- ------- -------------- mysql-test-11 eastus mysql_test 5.7 5120 GP_Gen5_4 GeneralPurpose Enabled +``` + +This cmdlet gets MySql server with default context. -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Get MySql server by resource group and server name ```powershell -Get-AzMySqlServer -ResourceGroupName PowershellMySqlTest -Name mysql-test -``` +PS C:\> Get-AzMySqlServer -ResourceGroupName PowershellMySqlTest -Name mysql-test Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement ---- -------- ------------------ ------- ----------------------- ------- ------- -------------- mysql-test eastus mysql_test 5.7 5120 GP_Gen5_4 GeneralPurpose Enabled +``` + +This cmdlet gets MySql server by resource group and server name. -### -------------------------- EXAMPLE 3 -------------------------- +### Example 3: Lists all the MySql servers in specified resource group ```powershell -Get-AzMySqlServer -ResourceGroupName PowershellMySqlTest -``` +PS C:\> Get-AzMySqlServer -ResourceGroupName PowershellMySqlTest Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement ---- -------- ------------------ ------- ----------------------- ------- ------- ------------ mysql-test eastus mysql_test 5.7 5120 GP_Gen5_4 GeneralPurpose Enabled +``` + +This cmdlet lists all the MySql servers in specified resource group. -### -------------------------- EXAMPLE 4 -------------------------- +### Example 4: Get MySql server by identity ```powershell -$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test" PS C:\> Get-AzMySqlServer -InputObject $ID -``` Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement ---- -------- ------------------ ------- ----------------------- ------- ------- ------------ mysql-test eastus mysql_test 5.7 5120 GP_Gen5_4 GeneralPurpose Enabled +``` + +This cmdlet lists gets MySql server by identity. ## PARAMETERS diff --git a/src/MySql/docs/Get-AzMySqlVirtualNetworkRule.md b/src/MySql/docs/Get-AzMySqlVirtualNetworkRule.md index 02b7ea074d32..133da7f19ef7 100644 --- a/src/MySql/docs/Get-AzMySqlVirtualNetworkRule.md +++ b/src/MySql/docs/Get-AzMySqlVirtualNetworkRule.md @@ -35,33 +35,39 @@ Gets a virtual network rule. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Lists all the Virtual Network Rules in specified MySql server ```powershell -Get-AzMySqlVirtualNetworkRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -``` +PS C:\> Get-AzMySqlVirtualNetworkRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test Name Type ---- ---- vnet Microsoft.DBforMySQL/servers/virtualNetworkRules +``` + +This cmdlet lists all the Virtual Network Rules in specified MySql server. -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Get Virtual Network Rule by name ```powershell -Get-AzMySqlVirtualNetworkRule -Name vnet -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -``` +PS C:\> Get-AzMySqlVirtualNetworkRule -Name vnet -ResourceGroupName PowershellMySqlTest -ServerName mysql-test Name Type ---- ---- vnet Microsoft.DBforMySQL/servers/virtualNetworkRules +``` -### -------------------------- EXAMPLE 3 -------------------------- +This cmdlet gets Virtual Network Rule by name. + +### Example 3: Get Virtual Network Rule by identity ```powershell -$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/virtualNetworkRules/vnet" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/virtualNetworkRules/vnet" PS C:\> Get-AzMySqlVirtualNetworkRule -InputObject $ID -``` Name Type ---- ---- vnet Microsoft.DBforMySQL/servers/virtualNetworkRules +``` + +This cmdlet gets Virtual Network Rule by identity. ## PARAMETERS diff --git a/src/MySql/docs/New-AzMySqlFirewallRule.md b/src/MySql/docs/New-AzMySqlFirewallRule.md index cdcc314e3cf1..79ae7ecdd053 100644 --- a/src/MySql/docs/New-AzMySqlFirewallRule.md +++ b/src/MySql/docs/New-AzMySqlFirewallRule.md @@ -38,32 +38,38 @@ Creates a new firewall rule or updates an existing firewall rule. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Create a new MySql server Firewall Rule ```powershell -New-AzMySqlFirewallRule -Name rule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 -``` +PS C:\> New-AzMySqlFirewallRule -Name rule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 Name StartIPAddress EndIPAddress ---- -------------- ------------ rule 0.0.0.0 0.0.0.1 +``` + +This cmdlets create a MySql server Firewall Rule. -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Create a new MySql Firewall Rule using -ClientIPAddress. ```powershell -New-AzMySqlFirewallRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -ClientIPAddress 0.0.0.1 -``` +PS C:\> New-AzMySqlFirewallRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -ClientIPAddress 0.0.0.1 Name StartIPAddress EndIPAddress ---- -------------- ------------ ClientIPAddress_2020-08-11_18-19-27 0.0.0.1 0.0.0.1 +``` -### -------------------------- EXAMPLE 3 -------------------------- +This cmdlets create a MySql Firewall Rule using -ClientIPAddress. + +### Example 3: Create a new MySql Firewall Rule to allow all IPs ```powershell -New-AzMySqlFirewallRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -AllowAll -``` +PS C:\> New-AzMySqlFirewallRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -AllowAll Name StartIPAddress EndIPAddress ---- -------------- ------------ AllowAll_2020-08-11_18-19-27 0.0.0.0 255.255.255.255 +``` + +This cmdlets create a new MySql Firewall Rule to allow all IPs. ## PARAMETERS diff --git a/src/MySql/docs/New-AzMySqlFlexibleServer.md b/src/MySql/docs/New-AzMySqlFlexibleServer.md index 4043c69514cd..cb4af07e2305 100644 --- a/src/MySql/docs/New-AzMySqlFlexibleServer.md +++ b/src/MySql/docs/New-AzMySqlFlexibleServer.md @@ -25,27 +25,32 @@ Creates a new server. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Create a new MySql flexible server ```powershell -$password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force +PS C:\> $password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force PS C:\> New-AzMySqlFlexibleServer -Name mysql-test -ResourceGroupName PowershellMySqlTest \ -Location eastus -AdministratorUserName mysqltest -AdministratorLoginPassword $password -Sku Standard_B1ms -SkuTier Burstable -Version 12 -StorageInMb 10240 -``` Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ---- -------- ------------------ ------- ----------------------- ------------ ------------- -mysql-test WestUS 2 mysqltest 5.7 10240 Standard_B1ms Burstable +mysql-test West US 2 mysqltest 5.7 10240 Standard_B1ms Burstable +``` + + -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Create a new MySql flexible server with default setting ```powershell -$password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force +PS C:\> $password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force PS C:\> New-AzMySqlFlexibleServer -Name mysql-test -ResourceGroupName PowershellMySqlTest \ -AdministratorUserName mysqltest -AdministratorLoginPassword $password -``` Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ---- -------- ------------------ ------- ----------------------- ------------ ------------- mysql-test West US 2 mysqltest 5.7 131072 Standard_B1ms Burstable +``` + +Create MySql server with default values. +The default values of location is West US 2, Sku is Standard_B1ms, Sku tier is Burstable, and storage size is 10GiB. ## PARAMETERS diff --git a/src/MySql/docs/New-AzMySqlFlexibleServerDatabase.md b/src/MySql/docs/New-AzMySqlFlexibleServerDatabase.md index 6b11674e026b..c6ff04d467bf 100644 --- a/src/MySql/docs/New-AzMySqlFlexibleServerDatabase.md +++ b/src/MySql/docs/New-AzMySqlFlexibleServerDatabase.md @@ -30,14 +30,16 @@ Creates a new database or updates an existing database. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Create a new MySql server database ```powershell -New-AzMySqlFlexibleServerDatabase -Name databasetest -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -``` +PS C:\> New-AzMySqlFlexibleServerDatabase -Name databasetest -ResourceGroupName PowershellMySqlTest -ServerName mysql-test Name Charset Collation ---- -------- ------------------ -databasetest latin1 latin1_swedish_ci +databasetest latin1 latin1_swedish_ci +``` + +Create a database with default settings. ## PARAMETERS diff --git a/src/MySql/docs/New-AzMySqlFlexibleServerFirewallRule.md b/src/MySql/docs/New-AzMySqlFlexibleServerFirewallRule.md index 37b8088d97f6..4a337eb76ce8 100644 --- a/src/MySql/docs/New-AzMySqlFlexibleServerFirewallRule.md +++ b/src/MySql/docs/New-AzMySqlFlexibleServerFirewallRule.md @@ -38,32 +38,38 @@ Creates a new firewall rule or updates an existing firewall rule. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Create a new MySql server Firewall Rule ```powershell -New-AzMySqlFlexibleServerFirewallRule -Name firewallrule-test -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 -``` +PS C:\> New-AzMySqlFlexibleServerFirewallRule -Name firewallrule-test -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 Name StartIPAddress EndIPAddress ----------------- -------------- ------------ firewallrule-test 0.0.0.0 0.0.0.1 +``` + +This cmdlets create a MySql server Firewall Rule. -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Create a new MySql Firewall Rule using -ClientIPAddress. ```powershell -New-AzMySqlFlexibleServerFirewallRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -ClientIPAddress 0.0.0.1 -``` +PS C:\> New-AzMySqlFlexibleServerFirewallRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -ClientIPAddress 0.0.0.1 Name StartIPAddress EndIPAddress ---- -------------- ------------ ClientIPAddress_2020-08-11_18-19-27 0.0.0.1 0.0.0.1 +``` -### -------------------------- EXAMPLE 3 -------------------------- +This cmdlets create a MySql Firewall Rule using -ClientIPAddress. + +### Example 3: Create a new MySql Firewall Rule to allow all IPs ```powershell -New-AzMySqlFlexibleServerFirewallRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -AllowAll -``` +PS C:\> New-AzMySqlFlexibleServerFirewallRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -AllowAll Name StartIPAddress EndIPAddress ---- -------------- ------------ AllowAll_2020-08-11_18-19-27 0.0.0.0 255.255.255.255 +``` + +This cmdlets create a new MySql Firewall Rule to allow all IPs. ## PARAMETERS diff --git a/src/MySql/docs/New-AzMySqlFlexibleServerReplica.md b/src/MySql/docs/New-AzMySqlFlexibleServerReplica.md index 2c5faab017af..c6e6f1e80982 100644 --- a/src/MySql/docs/New-AzMySqlFlexibleServerReplica.md +++ b/src/MySql/docs/New-AzMySqlFlexibleServerReplica.md @@ -23,24 +23,28 @@ Creates a new replica from an existing database. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Create a new MySql server replica ```powershell -Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test | New-AzMySqlFlexibleServerReplica -Replica mysql-test-replica -ResourceGroupName PowershellMySqlTest -``` +PS C:\> Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test | New-AzMySqlFlexibleServerReplica -Replica mysql-test-replica -ResourceGroupName PowershellMySqlTest Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ---- -------- ------------------ ------- ----------------------- ------- ------- mysql-test-replica westus2 mysql_test 5.7 10240 Standard_B1ms Burstable +``` + +This cmdlet creates a new MySql server replica. -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Create a new MySql server replica ```powershell -$mysql = Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test +PS C:\> $mysql = Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test PS C:\> New-AzMySqlFlexibleServerReplica -Master $mysql -Replica mysql-test-replica -ResourceGroupName PowershellMySqlTest -``` Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ---- -------- ------------------ ------- ----------------------- ------- ------- mysql-test-replica westus2 mysql_test 5.7 10240 Standard_B1ms Burstable +``` + +This cmdlet with parameter master(inputobject) creates a new MySql server replica. ## PARAMETERS diff --git a/src/MySql/docs/New-AzMySqlReplica.md b/src/MySql/docs/New-AzMySqlReplica.md index 44bfdeadd23e..4d23a93185b9 100644 --- a/src/MySql/docs/New-AzMySqlReplica.md +++ b/src/MySql/docs/New-AzMySqlReplica.md @@ -23,24 +23,28 @@ Creates a new replica from an existing database. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Create a new MySql server replica ```powershell -Get-AzMySqlServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test | New-AzMySqlReplica -Replica mysql-test-replica -ResourceGroupName PowershellMySqlTest -``` +PS C:\> Get-AzMySqlServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test | New-AzMySqlReplica -Replica mysql-test-replica -ResourceGroupName PowershellMySqlTest Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement ---- -------- ------------------ ------- ----------------------- ------- ------- -------------- mysql-test-replica eastus mysql_test 5.7 10240 GP_Gen5_4 GeneralPurpose Disabled +``` + +This cmdlet creates a new MySql server replica. -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Create a new MySql server replica ```powershell -$mysql = Get-AzMySqlServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test +PS C:\> $mysql = Get-AzMySqlServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test PS C:\> New-AzMySqlReplica -Master $mysql -Replica mysql-test-replica -ResourceGroupName PowershellMySqlTest -``` Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement ---- -------- ------------------ ------- ----------------------- ------- ------- -------------- mysql-test-replica eastus mysql_test 5.7 10240 GP_Gen5_4 GeneralPurpose Disabled +``` + +This cmdlet with parameter master(inputobject) creates a new MySql server replica. ## PARAMETERS diff --git a/src/MySql/docs/New-AzMySqlServer.md b/src/MySql/docs/New-AzMySqlServer.md index b34b79bd95fd..ae4ee28f4106 100644 --- a/src/MySql/docs/New-AzMySqlServer.md +++ b/src/MySql/docs/New-AzMySqlServer.md @@ -26,14 +26,16 @@ Creates a new server. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Create a new MySql server ```powershell -New-AzMySqlServer -Name mysql-test -ResourceGroupName PowershellMySqlTest -Location eastus -AdministratorUser mysql_test -AdministratorLoginPassword $password -Sku GP_Gen5_4 -``` +PS C:\> New-AzMySqlServer -Name mysql-test -ResourceGroupName PowershellMySqlTest -Location eastus -AdministratorUser mysql_test -AdministratorLoginPassword $password -Sku GP_Gen5_4 Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement ---- -------- ------------------ ------- ----------------------- ------- ------- ------------ mysql-test eastus mysql_test 5.7 5120 GP_Gen5_4 GeneralPurpose Enabled +``` + +These cmdlets create a new MySql server. ## PARAMETERS diff --git a/src/MySql/docs/New-AzMySqlVirtualNetworkRule.md b/src/MySql/docs/New-AzMySqlVirtualNetworkRule.md index 3d3d03a34f7f..a3bec6784dc1 100644 --- a/src/MySql/docs/New-AzMySqlVirtualNetworkRule.md +++ b/src/MySql/docs/New-AzMySqlVirtualNetworkRule.md @@ -23,19 +23,23 @@ Creates or updates an existing virtual network rule. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: {{ Add title here }} ```powershell -{{ Add code here }} -``` +PS C:\> {{ Add code here }} {{ Add output here }} +``` + +{{ Add description here }} -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: {{ Add title here }} ```powershell -{{ Add code here }} -``` +PS C:\> {{ Add code here }} {{ Add output here }} +``` + +{{ Add description here }} ## PARAMETERS diff --git a/src/MySql/docs/Remove-AzMySqlFirewallRule.md b/src/MySql/docs/Remove-AzMySqlFirewallRule.md index 2ff351601a27..2a9b617e855e 100644 --- a/src/MySql/docs/Remove-AzMySqlFirewallRule.md +++ b/src/MySql/docs/Remove-AzMySqlFirewallRule.md @@ -30,20 +30,22 @@ Deletes a server firewall rule. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Remove MySql Firewall Rule by name ```powershell -Remove-AzMySqlFirewallRule -Name rule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -``` +PS C:\> Remove-AzMySqlFirewallRule -Name rule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test +``` +This cmdlet removes MySql Firewall Rule by name. -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Remove MySql Firewall Rule by identity ```powershell -$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/firewallRules/rule" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/firewallRules/rule" PS C:\> Remove-AzMySqlFirewallRule -InputObject $ID + ``` - +These cmdlets remove MySql Firewall Rule by identity. ## PARAMETERS diff --git a/src/MySql/docs/Remove-AzMySqlFlexibleServer.md b/src/MySql/docs/Remove-AzMySqlFlexibleServer.md index edac59b1810c..116ce6de47de 100644 --- a/src/MySql/docs/Remove-AzMySqlFlexibleServer.md +++ b/src/MySql/docs/Remove-AzMySqlFlexibleServer.md @@ -29,20 +29,22 @@ Deletes a server. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Remove MySql server by resourceGroup and server name ```powershell -Remove-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Name mysql-test -``` +PS C:\> Remove-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Name mysql-test +``` +This cmdlet removes MySql server by resourceGroup and server name. -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Remove MySql server by identity ```powershell -$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test" PS C:\> Remove-AzMySqlFlexibleServer -InputObject $ID + ``` - +These cmdlets remove MySql server by identity. ## PARAMETERS diff --git a/src/MySql/docs/Remove-AzMySqlFlexibleServerDatabase.md b/src/MySql/docs/Remove-AzMySqlFlexibleServerDatabase.md index bb291354b827..075dbe0b59f4 100644 --- a/src/MySql/docs/Remove-AzMySqlFlexibleServerDatabase.md +++ b/src/MySql/docs/Remove-AzMySqlFlexibleServerDatabase.md @@ -30,20 +30,21 @@ Deletes a database. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Remove MySql database by name ```powershell -Remove-AzMySqlFlexibleServerDatabase -Name databasetest -ResourceGroupName PowershellMySqlTest -ServerName mysql-test +PS C:\> Remove-AzMySqlFlexibleServerDatabase -Name databasetest -ResourceGroupName PowershellMySqlTest -ServerName mysql-test ``` +This cmdlet removes MySql database by name. - -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Remove MySql database by identity ```powershell -$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/databases/databasetest" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/databases/databasetest" PS C:\> Remove-AzMySqlFlexibleServerDatabase -InputObject $ID + ``` - +These cmdlets remove MySql database by identity. ## PARAMETERS diff --git a/src/MySql/docs/Remove-AzMySqlFlexibleServerFirewallRule.md b/src/MySql/docs/Remove-AzMySqlFlexibleServerFirewallRule.md index 73618dd9451a..0394443a21d0 100644 --- a/src/MySql/docs/Remove-AzMySqlFlexibleServerFirewallRule.md +++ b/src/MySql/docs/Remove-AzMySqlFlexibleServerFirewallRule.md @@ -30,20 +30,22 @@ Deletes a firewall rule. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Remove MySql Firewall Rule by name ```powershell -Remove-AzMySqlFlexibleServerFirewallRule -Name firewall-rule-test -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -``` +PS C:\> Remove-AzMySqlFlexibleServerFirewallRule -Name firewall-rule-test -ResourceGroupName PowershellMySqlTest -ServerName mysql-test +``` +This cmdlet removes MySql Firewall Rule by name. -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Remove MySql Firewall Rule by identity ```powershell -$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/firewallRules/firewall-rule-test" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/firewallRules/firewall-rule-test" PS C:\> Remove-AzMySqlFlexibleServerFirewallRule -InputObject $ID + ``` - +These cmdlets remove MySql Firewall Rule by identity. ## PARAMETERS diff --git a/src/MySql/docs/Remove-AzMySqlServer.md b/src/MySql/docs/Remove-AzMySqlServer.md index c1c4e25662e8..37b1679472d0 100644 --- a/src/MySql/docs/Remove-AzMySqlServer.md +++ b/src/MySql/docs/Remove-AzMySqlServer.md @@ -29,20 +29,22 @@ Deletes a server. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Remove MySql server by resourceGroup and server name ```powershell -Remove-AzMySqlServer -ResourceGroupName PowershellMySqlTest -Name mysql-test -``` +PS C:\> Remove-AzMySqlServer -ResourceGroupName PowershellMySqlTest -Name mysql-test +``` +This cmdlet removes MySql server by resourceGroup and server name. -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Remove MySql server by identity ```powershell -$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test" PS C:\> Remove-AzMySqlServer -InputObject $ID + ``` - +These cmdlets remove MySql server by identity. ## PARAMETERS diff --git a/src/MySql/docs/Remove-AzMySqlVirtualNetworkRule.md b/src/MySql/docs/Remove-AzMySqlVirtualNetworkRule.md index 884dc21d8fff..0dfe8e08b23d 100644 --- a/src/MySql/docs/Remove-AzMySqlVirtualNetworkRule.md +++ b/src/MySql/docs/Remove-AzMySqlVirtualNetworkRule.md @@ -30,20 +30,22 @@ Deletes the virtual network rule with the given name. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Remove MySql server Virtual Network Rule by name ```powershell -Remove-AzMySqlVirtualNetworkRule -Name vnet -ResourceGroupName PowershellMySqlTest-ServerName mysql-test -``` +PS C:\> Remove-AzMySqlVirtualNetworkRule -Name vnet -ResourceGroupName PowershellMySqlTest-ServerName mysql-test +``` +This cmdlet removes MySql server Virtual Network Rule by name. -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Remove MySql server Virtual Network Rule by identity ```powershell -$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/virtualNetworkRules/vnet" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/virtualNetworkRules/vnet" PS C:\> Remove-AzMySqlVirtualNetworkRule -InputObject $ID + ``` - +These cmdlets remove MySql server Virtual Network Rule by identity. ## PARAMETERS diff --git a/src/MySql/docs/Restart-AzMySqlFlexibleServer.md b/src/MySql/docs/Restart-AzMySqlFlexibleServer.md index dcec23fcfd2c..32689ea9156c 100644 --- a/src/MySql/docs/Restart-AzMySqlFlexibleServer.md +++ b/src/MySql/docs/Restart-AzMySqlFlexibleServer.md @@ -29,20 +29,20 @@ Restarts a server. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Restart the server by resource name ```powershell -Restart-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Name mysql-test +PS C:\> Restart-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Name mysql-test ``` +Restart the server by name - -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Restart the server by identity ```powershell -$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/restart" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/restart" PS C:\> Restart-AzMySqlFlexibleServer -InputObject $ID ``` - +Restart the server by identity ## PARAMETERS diff --git a/src/MySql/docs/Restart-AzMySqlServer.md b/src/MySql/docs/Restart-AzMySqlServer.md index cfded40d0535..b5f309d4a9bc 100644 --- a/src/MySql/docs/Restart-AzMySqlServer.md +++ b/src/MySql/docs/Restart-AzMySqlServer.md @@ -29,20 +29,22 @@ Restarts a server. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Restart MySql server by resource group and server name ```powershell -Restart-AzMySqlServer -ResourceGroupName PowershellMySqlTest -Name mysql-test -``` +PS C:\> Restart-AzMySqlServer -ResourceGroupName PowershellMySqlTest -Name mysql-test +``` +This cmdlet restarts MySql server by resource group and server name. -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Restart MySql server by identity ```powershell -$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/restart" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/restart" PS C:\> Restart-AzMySqlServer -InputObject $ID + ``` - +These cmdlets restart MySql server by identity. ## PARAMETERS diff --git a/src/MySql/docs/Restore-AzMySqlFlexibleServer.md b/src/MySql/docs/Restore-AzMySqlFlexibleServer.md index 66a1607de7de..b9b725c632f5 100644 --- a/src/MySql/docs/Restore-AzMySqlFlexibleServer.md +++ b/src/MySql/docs/Restore-AzMySqlFlexibleServer.md @@ -23,15 +23,17 @@ Restore a server from an existing backup ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Restore MySql server using PointInTime Restore ```powershell -$restorePointInTime = (Get-Date).AddMinutes(-10) -PS C:\> Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test | Restore-AzMySqlFlexibleServer -Name mysql-test-restore -ResourceGroupName PowershellMySqlTest -RestorePointInTime $restorePointInTime -``` +PS C:\> $restorePointInTime = (Get-Date).AddMinutes(-10) +PS C:\> Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test | Restore-AzMySqlFlexibleServer -Name mysql-test-restore -ResourceGroupName PowershellMySqlTest -RestorePointInTime $restorePointInTime Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ---- -------- ------------------ ------- ----------------------- ------- ------- mysql-test-restore eastus mysql_test 5.7 10240 Standard_D2ds_v4 GeneralPurpose +``` + +These cmdlets restore MySql server using PointInTime Restore. ## PARAMETERS diff --git a/src/MySql/docs/Restore-AzMySqlServer.md b/src/MySql/docs/Restore-AzMySqlServer.md index 2c5dd3e06a9d..c58cb2f77b2b 100644 --- a/src/MySql/docs/Restore-AzMySqlServer.md +++ b/src/MySql/docs/Restore-AzMySqlServer.md @@ -32,24 +32,28 @@ Restore a server from an existing backup ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Restore MySql server using GeoReplica Restore ```powershell -Get-AzMySqlServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test-replica | Restore-AzMySqlServer -Name mysql-test -ResourceGroupName PowershellMySqlTest -UseGeoRestore -``` +PS C:\> Get-AzMySqlServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test-replica | Restore-AzMySqlServer -Name mysql-test -ResourceGroupName PowershellMySqlTest -UseGeoRestore Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement ---- -------- ------------------ ------- ----------------------- ------- ------- -------------- mysql-test-11 eastus mysql_test 5.7 10240 GP_Gen5_4 GeneralPurpose Disabled +``` + +This cmdlet restores MySql server using GeoReplica Restore. -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Restore MySql server using PointInTime Restore ```powershell -$restorePointInTime = (Get-Date).AddMinutes(-10) +PS C:\> $restorePointInTime = (Get-Date).AddMinutes(-10) PS C:\> Get-AzMySqlServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test | Restore-AzMySqlServer -Name mysql-test-restore -ResourceGroupName PowershellMySqlTest -RestorePointInTime $restorePointInTime -UsePointInTimeRestore -``` Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement ---- -------- ------------------ ------- ----------------------- ------- ------- -------------- mysql-test-restore eastus mysql_test 5.7 10240 GP_Gen5_4 GeneralPurpose Disabled +``` + +These cmdlets restore MySql server using PointInTime Restore. ## PARAMETERS diff --git a/src/MySql/docs/Start-AzMySqlFlexibleServer.md b/src/MySql/docs/Start-AzMySqlFlexibleServer.md index 2983df4c72d6..366316fc0535 100644 --- a/src/MySql/docs/Start-AzMySqlFlexibleServer.md +++ b/src/MySql/docs/Start-AzMySqlFlexibleServer.md @@ -29,20 +29,20 @@ Starts a server. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Start the server by resource name ```powershell -Start-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Name mysql-test +PS C:\> Start-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Name mysql-test ``` +Start the server by name - -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Start the server by identity ```powershell -$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/start" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/start" PS C:\> Start-AzMySqlFlexibleServer -InputObject $ID ``` - +Start the server by identity ## PARAMETERS diff --git a/src/MySql/docs/Stop-AzMySqlFlexibleServer.md b/src/MySql/docs/Stop-AzMySqlFlexibleServer.md index 63e502dc7568..5d2ebe73959a 100644 --- a/src/MySql/docs/Stop-AzMySqlFlexibleServer.md +++ b/src/MySql/docs/Stop-AzMySqlFlexibleServer.md @@ -29,20 +29,20 @@ Stops a server. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Stop the server by resource name ```powershell -Stop-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Name mysql-test +PS C:\> Stop-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Name mysql-test ``` +Stop the server by name - -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Stop the server by identity ```powershell -$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/stop" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/stop" PS C:\> Stop-AzMySqlFlexibleServer -InputObject $ID ``` - +Stop the server by identity ## PARAMETERS diff --git a/src/MySql/docs/Update-AzMySqlConfiguration.md b/src/MySql/docs/Update-AzMySqlConfiguration.md index 4ce2fd4424d8..7203046c366a 100644 --- a/src/MySql/docs/Update-AzMySqlConfiguration.md +++ b/src/MySql/docs/Update-AzMySqlConfiguration.md @@ -32,24 +32,28 @@ Use Update-AzMySqlServer instead if you want update AdministratorLoginPassword, ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Update MySql configuration by name ```powershell -Update-AzMySqlConfiguration -Name net_retry_count -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -Value 15 -``` +PS C:\> Update-AzMySqlConfiguration -Name net_retry_count -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -Value 15 Name Value ---- ----- net_retry_count 15 +``` + +This cmdlet updates MySql configuration by name. -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Update MySql configuration by identity. ```powershell -$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/configurations/wait_timeout" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/configurations/wait_timeout" PS C:\> Update-AzMySqlConfiguration -InputObject $ID -Value 150 -``` Name Value ---- ----- wait_timeout 150 +``` + +These cmdlets update MySql configuration by identity. ## PARAMETERS diff --git a/src/MySql/docs/Update-AzMySqlFirewallRule.md b/src/MySql/docs/Update-AzMySqlFirewallRule.md index 6775aa187612..d26c38c6f3a5 100644 --- a/src/MySql/docs/Update-AzMySqlFirewallRule.md +++ b/src/MySql/docs/Update-AzMySqlFirewallRule.md @@ -43,34 +43,40 @@ Creates a new firewall rule or updates an existing firewall rule. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Update MySql Firewall Rule by name ```powershell -Update-AzMySqlFirewallRule -Name rule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 -``` +PS C:\> Update-AzMySqlFirewallRule -Name rule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 Name StartIPAddress EndIPAddress ---- -------------- ------------ rule 0.0.0.2 0.0.0.3 +``` + +This cmdlet updates MySql Firewall Rule by name. -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Update MySql Firewall Rule by identity. ```powershell -$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/firewallRules/rule" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/firewallRules/rule" PS C:\> Update-AzMySqlFirewallRule -InputObject $ID -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 -``` Name StartIPAddress EndIPAddress ---- -------------- ------------ rule 0.0.0.2 0.0.0.3 +``` -### -------------------------- EXAMPLE 3 -------------------------- +These cmdlets update MySql Firewall Rule by identity. + +### Example 3: Update MySql Firewall Rule by -ClientIPAddress. ```powershell -$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/firewallRules/rule" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/firewallRules/rule" PS C:\> Update-AzMySqlFirewallRule -InputObject $ID --ClientIPAddress 0.0.0.2 -``` Name StartIPAddress EndIPAddress ---- -------------- ------------ rule 0.0.0.2 0.0.0.2 +``` + +These cmdlets update MySql Firewall Rule by -ClientIPAddress. ## PARAMETERS diff --git a/src/MySql/docs/Update-AzMySqlFlexibleServer.md b/src/MySql/docs/Update-AzMySqlFlexibleServer.md index 751de00be4cd..0a70d8f9f25f 100644 --- a/src/MySql/docs/Update-AzMySqlFlexibleServer.md +++ b/src/MySql/docs/Update-AzMySqlFlexibleServer.md @@ -39,23 +39,27 @@ Use Update-AzMySqlConfiguration instead if you want update server parameters suc ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Update MySql server by resource group and server name ```powershell -Update-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Name mysql-test -Sku Standard_D4ds_v4 -``` +PS C:\> Update-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Name mysql-test -Sku Standard_D4ds_v4 Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ---- -------- ------------------ ------- ----------------------- ---------------- ------------- mysql-test westus2 mysql_test 5.7 5120 Standard_D4ds_v4 GeneralPurpose +``` + +This cmdlet updates MySql server by resource group and server name. -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Update MySql server by identity. ```powershell -Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test | Update-AzMySqlFlexibleServer -BackupRetentionDay 23 -StorageInMb 10240 -``` +PS C:\> Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test | Update-AzMySqlFlexibleServer -BackupRetentionDay 23 -StorageInMb 10240 Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ---- -------- ------------------ ------- ----------------------- ---------------- ------------- mysql-test westus2 mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose +``` + +This cmdlet updates MySql server by identity. ## PARAMETERS diff --git a/src/MySql/docs/Update-AzMySqlFlexibleServerConfiguration.md b/src/MySql/docs/Update-AzMySqlFlexibleServerConfiguration.md index de53355ef1b9..e70c30e42f1a 100644 --- a/src/MySql/docs/Update-AzMySqlFlexibleServerConfiguration.md +++ b/src/MySql/docs/Update-AzMySqlFlexibleServerConfiguration.md @@ -30,24 +30,28 @@ Update-AzMySqlFlexibleServerConfiguration -InputObject [-Source ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Update MySql configuration by name ```powershell -Update-AzMySqlFlexibleServer -Name net_retry_count -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -Value 15 -``` +PS C:\> Update-AzMySqlFlexibleServer -Name net_retry_count -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -Value 15 Name Value DefaultValue Source AllowedValues DataType ---- ------ ------------ ------- ------------- --------- net_retry_count 15 10 user-override 1-4294967295 Integer +``` + +This cmdlet updates MySql configuration by name. -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Update MySql configuration by identity. ```powershell -$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/configurations/wait_timeout" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/configurations/wait_timeout" PS C:\> Update-AzMySqlFlexibleServer -InputObject $ID -Value 150 -``` Name Value DefaultValue Source AllowedValues DataType ---- ------ ------------ ------- ------------- --------- wait_timeout 150 28800 system-default 1-31536000 Integer +``` + +These cmdlets update MySql configuration by identity. ## PARAMETERS @@ -83,7 +87,6 @@ Accept wildcard characters: False ### -InputObject To construct, see NOTES section for INPUTOBJECT properties and create a hash table. -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity @@ -193,7 +196,7 @@ Accept wildcard characters: False ```yaml Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded +Parameter Sets: (All) Aliases: Required: False @@ -239,8 +242,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IConfigurationAutoGenerated - ### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity ## OUTPUTS @@ -256,7 +257,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -INPUTOBJECT : To construct, see NOTES section for INPUTOBJECT properties and create a hash table. +INPUTOBJECT : - `[ConfigurationName ]`: The name of the server configuration. - `[DatabaseName ]`: The name of the database. - `[FirewallRuleName ]`: The name of the server firewall rule. @@ -269,9 +270,5 @@ INPUTOBJECT : To construct, see NOTES section for INPUTOBJECT pr - `[SubscriptionId ]`: The ID of the target subscription. - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. -PARAMETER : To construct, see NOTES section for PARAMETER properties and create a hash table. - - `[Source ]`: Source of the configuration. - - `[Value ]`: Value of the configuration. - ## RELATED LINKS diff --git a/src/MySql/docs/Update-AzMySqlFlexibleServerDatabase.md b/src/MySql/docs/Update-AzMySqlFlexibleServerDatabase.md index 025c49b2781d..8e3121154039 100644 --- a/src/MySql/docs/Update-AzMySqlFlexibleServerDatabase.md +++ b/src/MySql/docs/Update-AzMySqlFlexibleServerDatabase.md @@ -30,24 +30,28 @@ Creates a new database or updates an existing database. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Update a MySql server database by name ```powershell -Update-AzMySqlFlexibleServerDatabase -Name database-test -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -Charset utf8 -``` +PS C:\> Update-AzMySqlFlexibleServerDatabase -Name database-test -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -Charset utf8 Name Charset Collation ---- -------- ------------------ -databasetest utf8 latin1_swedish_ci +databasetest utf8 latin1_swedish_ci +``` + +Update a database by resource name. -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Update MySql database by parameter. ```powershell -$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/servers/mysql-test/databases/databasetest" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/servers/mysql-test/databases/databasetest" PS C:\> Update-AzMySqlFlexibleServerDatabase -Parameter $ID -Charset utf8 -``` Name Charset Collation ---- -------- ------------------ -databasetest utf8 latin1_swedish_ci +databasetest utf8 latin1_swedish_ci +``` + +Update a database by parameter ## PARAMETERS diff --git a/src/MySql/docs/Update-AzMySqlFlexibleServerFirewallRule.md b/src/MySql/docs/Update-AzMySqlFlexibleServerFirewallRule.md index 88e643ab630a..7d83c69a56cb 100644 --- a/src/MySql/docs/Update-AzMySqlFlexibleServerFirewallRule.md +++ b/src/MySql/docs/Update-AzMySqlFlexibleServerFirewallRule.md @@ -44,24 +44,28 @@ Creates a new firewall rule or updates an existing firewall rule. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Update MySql Firewall Rule by name ```powershell -Update-AzMySqlFlexibleServerFirewallRule -Name rule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 -``` +PS C:\> Update-AzMySqlFlexibleServerFirewallRule -Name rule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 Name StartIPAddress EndIPAddress ---- -------------- ------------ rule 0.0.0.2 0.0.0.3 +``` + +This cmdlet updates MySql Firewall Rule by name. -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Update MySql Firewall Rule by identity. ```powershell -$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/firewallRules/rule" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/firewallRules/rule" PS C:\> Update-AzMySqlFlexibleServerFirewallRule -InputObject $ID -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 -``` Name StartIPAddress EndIPAddress ---- -------------- ------------ rule 0.0.0.2 0.0.0.3 +``` + +These cmdlets update MySql Firewall Rule by identity. ## PARAMETERS diff --git a/src/MySql/docs/Update-AzMySqlServer.md b/src/MySql/docs/Update-AzMySqlServer.md index a1149926f20a..c430adbd3387 100644 --- a/src/MySql/docs/Update-AzMySqlServer.md +++ b/src/MySql/docs/Update-AzMySqlServer.md @@ -39,23 +39,27 @@ Use Update-AzMySqlConfiguration instead if you want update server parameters suc ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Update MySql server by resource group and server name ```powershell -Update-AzMySqlServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -SslEnforcement Disabled -``` +PS C:\> Update-AzMySqlServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -SslEnforcement Disabled Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement ---- -------- ------------------ ------- ----------------------- ------- ------- -------------- mysql-test eastus mysql_test 5.7 5120 GP_Gen5_4 GeneralPurpose Disabled +``` + +This cmdlet updates MySql server by resource group and server name. -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Update MySql server by identity. ```powershell -Get-AzMySqlServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test | Update-AzMySqlServer -BackupRetentionDay 23 -StorageMb 10240 -``` +PS C:\> Get-AzMySqlServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test | Update-AzMySqlServer -BackupRetentionDay 23 -StorageMb 10240 Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement ---- -------- ------------------ ------- ----------------------- ------- ------- -------------- mysql-test eastus mysql_test 5.7 10240 GP_Gen5_4 GeneralPurpose Disabled +``` + +This cmdlet updates MySql server by identity. ## PARAMETERS diff --git a/src/MySql/docs/Update-AzMySqlVirtualNetworkRule.md b/src/MySql/docs/Update-AzMySqlVirtualNetworkRule.md index 1707a0515182..72812b741b8d 100644 --- a/src/MySql/docs/Update-AzMySqlVirtualNetworkRule.md +++ b/src/MySql/docs/Update-AzMySqlVirtualNetworkRule.md @@ -31,26 +31,30 @@ Creates or updates an existing virtual network rule. ## EXAMPLES -### -------------------------- EXAMPLE 1 -------------------------- +### Example 1: Update MySql Virtual Network Rule by name ```powershell -$ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet2" +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet2" PS C:\> Update-AzMySqlVirtualNetworkRule -Name $env.VNetName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -SubnetId $ID -``` Name Type ---- ---- vnet Microsoft.DBforMySQL/servers/virtualNetworkRules +``` + +This cmdlet updates MySql Virtual Network Rule by name. -### -------------------------- EXAMPLE 2 -------------------------- +### Example 2: Update MySql Virtual Network Rule by identity. ```powershell -$SubnetID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1" +PS C:\> $SubnetID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1" PS C:\> $VNetID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/virtualNetworkRules/vnet" PS C:\> Update-AzMySqlVirtualNetworkRule -InputObject $VNetID -SubnetId $SubnetID -``` Name Type ---- ---- vnet Microsoft.DBforMySQL/servers/virtualNetworkRules +``` + +These cmdlets update MySql Virtual Network Rule by identity. ## PARAMETERS From b1929818ce74cfb3b5f7a9510e940f3a91828c43 Mon Sep 17 00:00:00 2001 From: Daeun Yim Date: Wed, 25 Nov 2020 17:26:13 -0800 Subject: [PATCH 27/51] comments resolved --- src/MySql/custom/Update-AzMySqlFlexibleServer.ps1 | 2 +- .../Update-AzMySqlFlexibleServerConfiguration.ps1 | 15 +++++++++++++++ src/MySql/test/New-AzMySqlServer.Tests.ps1 | 3 --- src/MySql/test/utils.ps1 | 3 +++ 4 files changed, 19 insertions(+), 4 deletions(-) diff --git a/src/MySql/custom/Update-AzMySqlFlexibleServer.ps1 b/src/MySql/custom/Update-AzMySqlFlexibleServer.ps1 index a263d8e94c35..33e699e24137 100644 --- a/src/MySql/custom/Update-AzMySqlFlexibleServer.ps1 +++ b/src/MySql/custom/Update-AzMySqlFlexibleServer.ps1 @@ -16,7 +16,7 @@ function Update-AzMySqlFlexibleServer { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Description('Updates an existing server. The request body can contain one to many of the properties present in the normal server definition. Use Update-AzMySqlConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Description('Updates an existing server. The request body can contain one to many of the properties present in the normal server definition. Use Update-AzMySqlFlexibleServerConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count.')] param( [Parameter(ParameterSetName='UpdateExpanded', Mandatory, HelpMessage='The name of the server.')] [Alias('ServerName')] diff --git a/src/MySql/custom/Update-AzMySqlFlexibleServerConfiguration.ps1 b/src/MySql/custom/Update-AzMySqlFlexibleServerConfiguration.ps1 index 336f523ce92c..88014b3de2a4 100644 --- a/src/MySql/custom/Update-AzMySqlFlexibleServerConfiguration.ps1 +++ b/src/MySql/custom/Update-AzMySqlFlexibleServerConfiguration.ps1 @@ -1,3 +1,18 @@ + +# ---------------------------------------------------------------------------------- +# +# Copyright Microsoft Corporation +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ---------------------------------------------------------------------------------- + function Update-AzMySqlFlexibleServerConfiguration { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IConfigurationAutoGenerated])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] diff --git a/src/MySql/test/New-AzMySqlServer.Tests.ps1 b/src/MySql/test/New-AzMySqlServer.Tests.ps1 index 81af74e19eaa..d23c7e3b880e 100644 --- a/src/MySql/test/New-AzMySqlServer.Tests.ps1 +++ b/src/MySql/test/New-AzMySqlServer.Tests.ps1 @@ -5,18 +5,15 @@ if (-Not (Test-Path -Path $loadEnvPath)) { . ($loadEnvPath) $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzMySqlServer.Recording.json' $currentPath = $PSScriptRoot -Write-Output "Inside test PS script222222" while(-not $mockingPath) { $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File $currentPath = Split-Path -Path $currentPath -Parent - Write-Output "Inside test PS script33333" } . ($mockingPath | Select-Object -First 1).FullName Describe 'New-AzMySqlServer' { It 'CreateExpanded' { { - Write-Output "Inside test PS script1111" #[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] $password = 'Pa88word!' | ConvertTo-SecureString -AsPlainText -Force $server = New-AzMySqlServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Location $env.location -AdministratorUserName pwsh -AdministratorLoginPassword $password -Sku $env.Sku diff --git a/src/MySql/test/utils.ps1 b/src/MySql/test/utils.ps1 index b6ad460c02dd..ae4880390541 100644 --- a/src/MySql/test/utils.ps1 +++ b/src/MySql/test/utils.ps1 @@ -30,6 +30,9 @@ function setupEnv() { $env.Add("location", $location) New-AzResourceGroup -Name $resourceGroup -Location $location + write-host "Deploy Vnet template" + New-AzDeployment -Mode Incremental -TemplateFile .\test\deployment-templates\virtual-network\template.json -TemplateParameterFile .\test\deployment-templates\virtual-network\parameters.json -Name vn -ResourceGroupName $resourceGroup + #[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] $password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force $serverName = "mysql-test-100" From a69a8a7573f12bca35f6479689de445d50583132 Mon Sep 17 00:00:00 2001 From: Daeun Yim Date: Mon, 30 Nov 2020 04:33:05 -0800 Subject: [PATCH 28/51] initial network commit --- .../custom/New-AzMySqlFlexibleServer.ps1 | 392 +++++- src/MySql/docs/New-AzMySqlFlexibleServer.md | 65 + src/MySql/readme.md | 2 +- src/MySql/test/Az.MySql-TestResults.xml | 398 +----- .../test/New-AzMySqlFlexibleServer.Tests.ps1 | 158 ++- ...w-AzMySqlFlexibleServerOld.Recording.json} | 0 ...ibleServerPublicAccessFirst.Recording.json | 1232 +++++++++++++++++ ...AzMySqlFlexibleServerSecond.Recording.json | 1192 ++++++++++++++++ ...-AzMySqlFlexibleServerThird.Recording.json | 717 ++++++++++ src/MySql/test/env.json | 18 +- src/MySql/test/localEnv.json | 22 +- src/MySql/test/utils.ps1 | 16 +- src/MySql/utils/FlexibleServerUtils.ps1 | 24 + src/MySql/utils/adjectives.txt | 166 +++ src/MySql/utils/nouns.txt | 138 ++ 15 files changed, 4092 insertions(+), 448 deletions(-) rename src/MySql/test/{New-AzMySqlFlexibleServer.Recording.json => New-AzMySqlFlexibleServerOld.Recording.json} (100%) create mode 100644 src/MySql/test/New-AzMySqlFlexibleServerPublicAccessFirst.Recording.json create mode 100644 src/MySql/test/New-AzMySqlFlexibleServerSecond.Recording.json create mode 100644 src/MySql/test/New-AzMySqlFlexibleServerThird.Recording.json create mode 100644 src/MySql/utils/FlexibleServerUtils.ps1 create mode 100644 src/MySql/utils/adjectives.txt create mode 100644 src/MySql/utils/nouns.txt diff --git a/src/MySql/custom/New-AzMySqlFlexibleServer.ps1 b/src/MySql/custom/New-AzMySqlFlexibleServer.ps1 index 34b9300a4013..6e75e4a5dc78 100644 --- a/src/MySql/custom/New-AzMySqlFlexibleServer.ps1 +++ b/src/MySql/custom/New-AzMySqlFlexibleServer.ps1 @@ -13,18 +13,25 @@ # limitations under the License. # ---------------------------------------------------------------------------------- +$DEFAULT_DB_NAME = 'flexibleserverdb' +$DELEGATION_SERVICE_NAME = "Microsoft.DBforMySQL/flexibleServers" +$DEFAULT_VNET_PREFIX = '10.0.0.0/16' +$DEFAULT_SUBNET_PREFIX = '10.0.0.0/24' +$AZURE_ARMNAME = '^[^<>%&:\\?/]{1,260}$' +. (Join-Path $PSScriptRoot "..\utils\FlexibleServerUtils.ps1") + function New-AzMySqlFlexibleServer { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Description('Creates a new server.')] param( - [Parameter(Mandatory, HelpMessage = 'The name of the server.')] + [Parameter(HelpMessage = 'The name of the server.')] [Alias('ServerName')] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] [System.String] ${Name}, - [Parameter(Mandatory, HelpMessage = 'The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal.')] + [Parameter(HelpMessage = 'The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal.')] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] [System.String] ${ResourceGroupName}, @@ -40,12 +47,12 @@ function New-AzMySqlFlexibleServer { [System.String] ${Location}, - [Parameter(Mandatory, HelpMessage = 'Administrator username for the server. Once set, it cannot be changed.')] + [Parameter(HelpMessage = 'Administrator username for the server. Once set, it cannot be changed.')] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] [System.String] ${AdministratorUserName}, - [Parameter(Mandatory, HelpMessage = 'The password of the administrator. Minimum 8 characters and maximum 128 characters. Password must contain characters from three of the following categories: English uppercase letters, English lowercase letters, numbers, and non-alphanumeric characters.')] + [Parameter(HelpMessage = 'The password of the administrator. Minimum 8 characters and maximum 128 characters. Password must contain characters from three of the following categories: English uppercase letters, English lowercase letters, numbers, and non-alphanumeric characters.')] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] [System.Security.SecureString] [ValidateNotNullOrEmpty()] @@ -83,6 +90,40 @@ function New-AzMySqlFlexibleServer { [Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerVersion] ${Version}, + [Parameter(HelpMessage = 'The virtual network address prefix.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + ${AddressPrefix}, + + [Parameter(HelpMessage = 'The subnet IP address prefix to use when creating a new vnet in CIDR format. Default value is 10.0.0.0/24.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + ${SubnetPrefix}, + + [Parameter(HelpMessage = 'The Name or Id of an existing Subnet or name of a new one to create. Please note that the subnet will be delegated to Microsoft.DBforMySQL/flexibleServers. After delegation, this subnet cannot be used for any other type of Azure resources.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + ${Subnet}, + + [Parameter(HelpMessage = 'The IP address prefix to use when creating a new vnet in CIDR format. Default value is 10.0.0.0/16.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + ${VnetPrefix}, + + [Parameter(HelpMessage = 'The Name or Id of an existing virtual network or name of a new one to create. The name must be between 2 to 64 characters. The name must begin with a letter or number, end with a letter, number or underscore, and may contain only letters, numbers, underscores, periods, or hyphens.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + ${Vnet}, + + [Parameter(HelpMessage = " + Determines the public access. Enter single or range of IP addresses to be + included in the allowed list of IPs. IP address ranges must be dash- + separated and not contain any spaces. Specifying 0.0.0.0 allows public + access from any resources deployed within Azure to access your server. + Specifying no IP address sets the server in public access mode but does + not create a firewall rule.")] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + ${PublicAccess}, + + [Parameter(HelpMessage = 'Enable or disable high availability feature. Default value is Disabled. Default: Disabled.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + ${HighAvailability}, + [Parameter(HelpMessage = 'The credentials, account, tenant, and subscription used for communication with Azure.')] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] @@ -141,20 +182,57 @@ function New-AzMySqlFlexibleServer { process { try { - if ($PSBoundParameters.ContainsKey('Name')) { - $PSBoundParameters.ServerName = $PSBoundParameters['Name'] - $null = $PSBoundParameters.Remove('Name') + If (!$PSBoundParameters.ContainsKey('Location')) { + $PSBoundParameters.Location = 'westus2' + } + + If (!$PSBoundParameters.ContainsKey('AdministratorLoginPassword')) { + $Password = Get-GeneratePassword + $PSBoundParameters.AdministratorLoginPassword = $Password | ConvertTo-SecureString -AsPlainText -Force + } + $PSBoundParameters.AdministratorLoginPassword = . "$PSScriptRoot/../utils/Unprotect-SecureString.ps1" $PSBoundParameters['AdministratorLoginPassword'] + + If(!$PSBoundParameters.ContainsKey('ResourceGroupName')) { + $PSBoundParameters.ResourceGroupName = Get-RandomNumbers -Prefix 'group' -Length 10 + $Msg = "Creating Resource Group {0}..." -f $PSBoundParameters.ResourceGroupName + Write-Host $Msg + If (!(Test-Path (Join-Path $PSScriptRoot '../generated/modules/Az.Resources'))){ + Find-Module -Name Az.Resources -RequiredVersion 2.0.1 -Repository 'PSGallery' | Save-Module -Path (Join-Path $PSScriptRoot '../generated/modules') + } + Import-Module -Name Az.Resources -RequiredVersion 2.0.1 + $null = New-AzResourceGroup -Name $PSBoundParameters.ResourceGroupName -Location $PSBoundParameters.Location + } + Else { + $Msg = 'Checking the existence of the resource group {0} ...' -f $PSBoundParameters.ResourceGroupName + Write-Host $Msg + Try { + $null = Get-AzResourceGroup -Name $PSBoundParameters.ResourceGroupName -ErrorAction Stop + $Msg = 'Resource group {0} exists ? : True' -f $PSBoundParameters.ResourceGroupName + Write-Host $Msg + } + Catch { + $Msg = 'Resource group {0} exists ? : False' -f $PSBoundParameters.ResourceGroupName + Write-Host $Msg + $Msg = "Creating Resource Group {0}..." -f $PSBoundParameters.ResourceGroupName + Write-Host $Msg + $null = New-AzResourceGroup -Name $PSBoundParameters.ResourceGroupName -Location $PSBoundParameters.Location + + } } - if ($PSBoundParameters.ContainsKey('Sku')) { + If (!$PSBoundParameters.ContainsKey('Name')) { + $PSBoundParameters.Name = Get-RandomNumbers -Prefix 'server' -Length 10 + } + + If ($PSBoundParameters.ContainsKey('Sku')) { $PSBoundParameters.SkuName = $PSBoundParameters['Sku'] $null = $PSBoundParameters.Remove('Sku') } - else { + Else { $PSBoundParameters.SkuName = 'Standard_B1ms' } - if ($PSBoundParameters.ContainsKey('BackupRetentionDay')) { + If ($PSBoundParameters.ContainsKey('BackupRetentionDay')) { $PSBoundParameters.StorageProfileBackupRetentionDay = $PSBoundParameters['BackupRetentionDay'] $null = $PSBoundParameters.Remove('BackupRetentionDay') } @@ -162,7 +240,7 @@ function New-AzMySqlFlexibleServer { $PSBoundParameters.StorageProfileBackupRetentionDay = 7 } - if ($PSBoundParameters.ContainsKey('StorageInMb')) { + If ($PSBoundParameters.ContainsKey('StorageInMb')) { $PSBoundParameters.StorageProfileStorageMb = $PSBoundParameters['StorageInMb'] $null = $PSBoundParameters.Remove('StorageInMb') } @@ -170,31 +248,303 @@ function New-AzMySqlFlexibleServer { $PSBoundParameters.StorageProfileStorageMb = 10240 } - if (!$PSBoundParameters.ContainsKey('Version')) { + If (!$PSBoundParameters.ContainsKey('Version')) { $PSBoundParameters.Version = '5.7' } - if (!$PSBoundParameters.ContainsKey('SkuTier')) { + If (!$PSBoundParameters.ContainsKey('SkuTier')) { $PSBoundParameters.SkuTier = 'Burstable' } - if (!$PSBoundParameters.ContainsKey('Location')) { - $PSBoundParameters.Location = 'westus2' - } - - if ($PSBoundParameters.ContainsKey('AdministratorUserName')) { + If ($PSBoundParameters.ContainsKey('AdministratorUserName')) { $PSBoundParameters.AdministratorLogin = $PSBoundParameters['AdministratorUserName'] $null = $PSBoundParameters.Remove('AdministratorUserName') } + Else { + $PSBoundParameters.AdministratorLogin = Get-RandomName + } - $PSBoundParameters.CreateMode = [Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.CreateMode]::Default - $PSBoundParameters.AdministratorLoginPassword = . "$PSScriptRoot/../utils/Unprotect-SecureString.ps1" $PSBoundParameters['AdministratorLoginPassword'] + # Handling Vnet & Subnet + $NetworkKeys = 'PublicAccess', 'Subnet', 'Vnet', 'SubnetPrefix', 'VnetPrefix' + $NetworkParameters = @{} + ForEach($Key in $NetworkKeys){ + If ($PSBoundParameters.ContainsKey($Key)){ + $NetworkParameters[$Key] = $PSBoundParameters[$Key] + $null = $PSBoundParameters.Remove($Key) + } + } + $RequiredKeys = 'SubscriptionId', 'ResourceGroupName', 'Name', 'Location' + ForEach($Key in $RequiredKeys){ $NetworkParameters[$Key] = $PSBoundParameters[$Key] } + + If(!$NetworkParameters.ContainsKey('PublicAccess')){ + $VnetSubnetParameters = CreateNetworkResource $NetworkParameters + $SubnetId = GetSubnetId $VnetSubnetParameters + $PSBoundParameters.DelegatedSubnetArgumentSubnetArmResourceId = $SubnetId + } + If ([string]::IsNullOrEmpty($PSBoundParameters.DelegatedSubnetArgumentSubnetArmResourceId)) { + $null = $PSBoundParameters.Remove('DelegatedSubnetArgumentSubnetArmResourceId') + } + + $Msg = 'Creating MySQL server {0} in group {1}...' -f $PSBoundParameters.Name, $PSBoundParameters.resourceGroupName + Write-Host $Msg + $Msg = 'Your server {0} is using sku {1} (Paid Tier). Please refer to https://aka.ms/mysql-pricing for pricing details' -f $PSBoundParameters.Name, $PSBoundParameters.SkuName + Write-Host $Msg + $null = Az.MySql.internal\New-AzMySqlFlexibleServer @PSBoundParameters + + # # Create Database + $DatabaseParameter = [Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.Database]::new() + $DatabaseParameter.Charset = "utf8" + $DatabaseParameter.Collation = "utf8_general_ci" + $Msg = 'Creating database {0}...' -f $DEFAULT_DB_NAME + Write-Host $Msg + $null = New-AzMySqlFlexibleServerDatabase -Name $DEFAULT_DB_NAME -ResourceGroupName $PSBoundParameters.ResourceGroupName -ServerName $PSBoundParameters.Name -Parameter $DatabaseParameter + + # Create Firewallrules + $FirewallRuleName = CreateFirewallRule $NetworkParameters + + $Msg = " + `"databaseName`": `"$DEFAULT_DB_NAME`", + `"id`": `"/subscriptions/$($PSBoundParameters.SubscriptionId)/resourceGroups/$($PSBoundParameters.ResourceGroupName)/providers/Microsoft.DBForMySql/flexibleServers/$($PSBoundParameters.Name)`", + `"location`": `"$($PSBoundParameters.Location)`", + `"password`": `"$($PSBoundParameters.AdministratorLoginPassword)`", + `"resourceGroup`": `"$($PSBoundParameters.ResourceGroupName)`", + `"skuname`": `"$($PSBoundParameters.SkuName)`", + `"username`": `"$($PSBoundParameters.AdministratorLogin)`", + `"version`": `"$($PSBoundParameters.Version)`" + " + If ($PSBoundParameters.ContainsKey('DelegatedSubnetArgumentSubnetArmResourceId')) { + $Msg += "`"subnetId`": `"$($PSBoundParameters.DelegatedSubnetArgumentSubnetArmResourceId)`"" + } + ElseIf (![string]::IsNullOrEmpty($FirewallRuleName)) { + $Msg += "`"firewallName`": `"$FirewallRuleName`"" + } + Write-Host $Msg - Az.MySql.internal\New-AzMySqlFlexibleServer @PSBoundParameters } catch { throw } } } +function CreateNetworkResource($Parameters) { + [OutputType([string])] + $WarningPreference = 'silentlycontinue' + If (!(Test-Path (Join-Path $PSScriptRoot '../generated/modules/Az.Network'))){ + Find-Module -Name Az.Network -RequiredVersion 3.0.0 -Repository 'PSGallery' | Save-Module -Path (Join-Path $PSScriptRoot '../generated/modules') + } + Import-Module -Name Az.Network -RequiredVersion 3.0.0 + # 1. Error Handling + # Raise error when user passes values for both parameters + if ($Parameters.Containskey('Subnet') -And $Parameters.ContainsKey('PublicAccess')) { + Write-Error "Incorrect usage : A combination of the parameters -Subnet and -PublicAccess is invalid. Use either one of them." + } + # When address space parameters are passed, the only valid combination is : --vnet, --subnet, --vnet-address-prefix, --subnet-address-prefix + if ($Parameters.ContainsKey('Vnet') -Or $Parameters.ContainsKey('Subnet')) { + if (($Parameters.ContainsKey('VnetPrefix') -And !$Parameters.ContainsKey('SubnetPrefix')) -Or + (!$Parameters.ContainsKey('VnetPrefix') -And $Parameters.ContainsKey('SubnetPrefix')) -Or + ($Parameters.ContainsKey('VnetPrefix') -And $Parameters.ContainsKey('SubnetPrefix') -And (!$Parameters.ContainsKey('Vnet') -Or !$Parameters.ContainsKey('Subnet')))){ + Write-Error "Incorrect usage : --vnet, --subnet, --vnet-address-prefix, --subnet-address-prefix must be supplied together." + } + } + + #Handle Vnet, Subnet scenario + If ($Parameters.ContainsKey('Vnet') -Or $Parameters.ContainsKey('Subnet')) { + # Only the Subnet ID provided.. + If (!$Parameters.ContainsKey('Vnet') -And $Parameters.ContainsKey('Subnet')) { + If (IsValidSubnetId $Parameters.Subnet) { + $ParsedResult = ParseResourceId $Parameters.Subnet + $Parameters.VnetName = $ParsedResult.VnetName + $Parameters.SubnetName = $ParsedResult.SubnetName + Try { # Valid Subnet ID is provided + $Subnet = Get-AzVirtualNetworkSubnetConfig -ResourceId $Parameters.Subnet -ErrorAction Stop + Try { # Valid and delegated + $Delegations = Get-AzDelegation -Subnet $Subnet + $Delegations | ForEach-Object {If ($PSItem.ServiceName -ne $DELEGATION_SERVICE_NAME) { + $Msg = "Can not use subnet with existing delegations other than {0}" -f $DELEGATION_SERVICE_NAME + Write-Error $Msg + }} + } Catch { # Valid but incorrect delegation + $null = $Subnet = Get-AzVirtualNetworkSubnetConfig -ResourceId $Parameters.Subnet + $null = $Subnet = Add-AzDelegation -Name $DELEGATION_SERVICE_NAME -ServiceName $DELEGATION_SERVICE_NAME -Subnet $Subnet + } + } + Catch { # Invalid subnet ID is provided, creating a new one. + $Subnet = CreateVnetSubnet $Parameters + } + } + Else { + Write-Error "The Subnet ID is not a valid form of resource id." + } + } + ElseIf ($Parameters.ContainsKey('Vnet') -And !$Parameters.ContainsKey('Subnet')) { + If (IsValidVnetId $Parameters.Vnet){ + Write-Host "You have supplied a vnet Id. Verifying its existence..." + IsValidRgLocation $Parameters.Vnet $Parameters + $ParsedResult = ParseResourceId $Parameters.Vnet + $Parameters.VnetName = $ParsedResult.VnetName + $Parameters.SubnetName = 'Subnet' + $Parameters.Name + $Subnet = CreateVnetSubnet $Parameters + } + ElseIf ($Parameters.Vnet -Match $AZURE_ARMNAME) { + Write-Host "You have supplied a vnet Name. Verifying its existence..." + $Parameters.VnetName = $Parameters.Vnet + $Parameters.SubnetName = 'Subnet' + $Parameters.Name + $Subnet = CreateVnetSubnet $Parameters + IsValidRgLocation $Subnet.Id $Parameters + } + Else { + Write-Error "Incorrectly formed Vnet id or Vnet name" + } + } + Else { # Both Vnet and Subnet provided + IF ($Parameters.Vnet -Match $AZURE_ARMNAME -And $Parameters.Subnet -Match $AZURE_ARMNAME) { + $Parameters.VnetName = $Parameters.Vnet + $Parameters.SubnetName = $Parameters.Subnet + $Subnet = CreateVnetSubnet $Parameters + } + Else { + If ($Parameters.ContainsKey('SubnetPrefix') -And $Parameters.ContainsKey('VnetPrefix')) { + $Msg = "If you pass an address prefix, please consider passing a name (instead of Id) for a subnet or vnet." + } + Else { $Msg = "If you pass both --vnet and --subnet, consider passing names instead of ids." } + Write-Error $Msg + } + } + } + # Handling create command without arguments + ElseIf (!$Parameters.ContainsKey('PublicAccess') -And !$Parameters.ContainsKey('Subnet') -And !$Parameters.ContainsKey('Vnet')) { + $Parameters.VnetName = 'VNET' + $Parameters.Name + $Parameters.SubnetName = 'Subnet' + $Parameters.Name + $Parameters.VnetAddrPrefix = $DEFAULT_VNET_PREFIX + $Parameters.SubnetAddrPrefix = $DEFAULT_SUBNET_PREFIX + + $Subnet = CreateVnetSubnet $Parameters + } + + return $Parameters +} + +function GetSubnetId($Parameters){ + $Vnet = Get-AzVirtualNetwork -Name $Parameters.VnetName -ResourceGroupName $Parameters.ResourceGroupName + $Subnet = Get-AzVirtualNetworkSubnetConfig -Name $Parameters.SubnetName -VirtualNetwork $Vnet + Return $Subnet.Id +} + +function CreateVnetSubnet($Parameters){ + If (!$Parameters.ContainsKey('SubnetPrefix')){$Parameters.SubnetPrefix = $DEFAULT_SUBNET_PREFIX} + If (!$Parameters.ContainsKey('VnetPrefix')){$Parameters.VnetPrefix = $DEFAULT_VNET_PREFIX} + Try { + $Vnet = Get-AzVirtualNetwork -Name $Parameters.VnetName -ResourceGroupName $Parameters.ResourceGroupName + $Msg = "The Vnet does exist. Creating new subnet {0} in resource group {1}" -f $Parameters.SubnetName, $Parameters.ResourceGroupName + Write-Host $Msg + Add-AzVirtualNetworkSubnetConfig -Name $Parameters.SubnetName -VirtualNetwork $Vnet -AddressPrefix $Parameters.SubnetPrefix | Set-AzVirtualNetwork + Get-AzVirtualNetwork -Name mysqlvnet -ResourceGroupName group4475111595 + $Subnet = Get-AzVirtualNetworkSubnetConfig -Name $Parameters.SubnetName -VirtualNetwork $Vnet + $Subnet = Add-AzDelegation -Name $DELEGATION_SERVICE_NAME -ServiceName $DELEGATION_SERVICE_NAME -Subnet $Subnet + $Vnet | Set-AzVirtualNetwork + } + Catch { + $Msg = "Creating new vnet {0} in resource group {1}" -f $Parameters.VnetName, $Parameters.ResourceGroupName + Write-Host $Msg + + $Subnet = CreateAndDelegateSubnet $Parameters + } + Return $Subnet +} + +function CreateAndDelegateSubnet($Parameters) { + $Msg = 'Creating new subnet {0} in resource group {1} and delegating it to {2}' -f $Parameters.SubnetName, $Parameters.ResourceGroupName, $DELEGATION_SERVICE_NAME + Write-Host $Msg + + $Subnet = New-AzVirtualNetworkSubnetConfig -Name $Parameters.SubnetName -AddressPrefix $Parameters.SubnetPrefix + New-AzVirtualNetwork -Name $Parameters.VnetName -ResourceGroupName $Parameters.ResourceGroupName -Location $Parameters.Location -AddressPrefix $Parameters.VnetPrefix -Subnet $Subnet + + $null = $Vnet = Get-AzVirtualNetwork -Name $Parameters.VnetName -ResourceGroupName $Parameters.ResourceGroupName + $null = $Subnet = Get-AzVirtualNetworkSubnetConfig -Name $Parameters.SubnetName -VirtualNetwork $Vnet + $null = $Subnet = Add-AzDelegation -Name $DELEGATION_SERVICE_NAME -ServiceName $DELEGATION_SERVICE_NAME -Subnet $Subnet + $null = Set-AzVirtualNetwork -VirtualNetwork $Vnet + + return $Subnet +} + +function CreateFirewallRule($Parameters) { + # # Adding firewall rule + If ($Parameters.ContainsKey('PublicAccess') -And $Parameters.PublicAccess.ToLower() -ne 'none') { + $Date = Get-Date -Format "yyyy-MM-dd_HH-mm-ss" + If ($Parameters.PublicAccess.ToLower() -eq 'all'){ + $StartIp = '0.0.0.0' + $EndIp = '255.255.255.255' + $RuleName = "AllowAll_" + $Date + $FirewallRule = New-AzMySqlFlexibleServerFirewallRule -Name $RuleName -ResourceGroupName $Parameters.ResourceGroupName -ServerName $Parameters.Name -EndIPAddress $EndIp -StartIPAddress $StartIp + } + Else { + try{ + $Parsed = $Parameters.PublicAccess -split "-" + If ($Parsed.length -eq 1) { + $StartIp = $Parsed[0] + $EndIp = $Parsed[0] + } + ElseIf ($Parsed.length -eq 2) { + $StartIp = $Parsed[0] + $EndIp = $Parsed[1] + } + Else { Write-Error "incorrect usage: --public-access. Acceptable values are \'all\', \'none\',\'\' and \'-\' where startIP and destinationIP ranges from 0.0.0.0 to 255.255.255.255" } + + If ($StartIp -eq '0.0.0.0' -And $EndIp -eq '0.0.0.0') { + $RuleName = "AllowAllAzureServicesAndResourcesWithinAzureIps_" + $Date + $Msg = 'Configuring server firewall rule to accept connections from all Azure resources...' + } + ElseIf ($StartIP -eq $EndIP) { + $Msg = 'Configuring server firewall rule to accept connections from ' + $StartIP + } + Else { + $Msg = 'Configuring server firewall rule to accept connections from {0} to {1}' -f $StartIP, $EndIp + $RuleName = "FirewallIPAddress_" + $Date + } + Write-Host $Msg + $FirewallRule = New-AzMySqlFlexibleServerFirewallRule -Name $RuleName -ResourceGroupName $Parameters.ResourceGroupName -ServerName $Parameters.Name -EndIPAddress $EndIp -StartIPAddress $StartIp + } catch { + Write-Error "incorrect usage: --public-access. Acceptable values are \'all\', \'none\',\'\' and \'-\' where startIP and destinationIP ranges from 0.0.0.0 to 255.255.255.255" + } + } + } + Return $FirewallRule.Name +} +function IsValidVnetId($Rid){ + $VnetFormat = "\/subscriptions\/[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}\/resourceGroups\/[-\w\._\(\)]+\/providers\/Microsoft.Network\/VirtualNetworks\/[^<>%&:\\?/]{1,260}$" + If ( $Rid -match $VnetFormat ) { + return $True + } + return $False +} +function IsValidSubnetId($Rid){ + $SubnetFormat = "\/subscriptions\/[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}\/resourceGroups/[-\w\._\(\)]+\/providers\/Microsoft.Network\/VirtualNetworks\/[^<>%&:\\?/]{1,260}\/subnets\/[^<>%&:\\?/]{1,260}$" + IF ( $Rid -match $SubnetFormat ) { + return $True + } + return $False +} +function ParseResourceId($Rid){ + $Splits = $Rid -split "/" + $ParsedResults = @{} + If ($Splits.length -gt 1){ + $ParsedResults["SubscriptionId"] = $Splits[2] + $ParsedResults["ResourceGroupName"] = $Splits[4] + $ParsedResults["VnetName"] = $Splits[8] + If ($Splits.length -eq 11) { + $ParsedResults["SubnetName"] = $Splits[10] + } + } + return $ParsedResults +} +function IsValidRgLocation($ResourceId, $Parameters){ + $ParsedResults = ParseResourceId $ResourceId + $Group = Get-AzResourceGroup -Name $ParsedResults["ResourceGroupName"] + $ParsedResults["Location"] = $Group.Location + + If ($Parameters.SubscriptionId -eq $ParsedResults.SubscriptionId -And $Parameters.Location -eq $ParsedResults.Location) { + Return $True + } + Write-Error "Incorrect Usage : The location and subscription of the server, Vnet and Subnet should be same." +} diff --git a/src/MySql/docs/New-AzMySqlFlexibleServer.md b/src/MySql/docs/New-AzMySqlFlexibleServer.md index cb4af07e2305..fac5fb31d647 100644 --- a/src/MySql/docs/New-AzMySqlFlexibleServer.md +++ b/src/MySql/docs/New-AzMySqlFlexibleServer.md @@ -241,6 +241,38 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -Subnet +The Name or Id of an existing Subnet or name of a new one to create. +Please note that the subnet will be delegated to Microsoft.DBforPostgreSQL/flexibleServers/Microsoft.DBforMySQL/flexibleServers.After delegation, this subnet cannot be used for any other type of Azure resources. + +```yaml +Type: System.Object +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubnetPrefix +The subnet IP address prefix to use when creating a new VNet in CIDR format. +Default value is 10.0.0.0/24. + +```yaml +Type: System.Object +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -SubscriptionId The subscription ID that identifies an Azure subscription. @@ -286,6 +318,39 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -Vnet +The Name or Id of an existing virtual network or name of a new one to create. +The name must be between 2 to 64 characters. +The name must begin with a letter or number, end with a letter, number or underscore, and may contain only letters, numbers, underscores, periods, or hyphens. + +```yaml +Type: System.Object +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VnetPrefix +The IP address prefix to use when creating a new virtual network in CIDR format. +Default value is 10.0.0.0/16. + +```yaml +Type: System.Object +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Confirm Prompts you for confirmation before running the cmdlet. diff --git a/src/MySql/readme.md b/src/MySql/readme.md index 0ef581d6ec22..0677d5ada524 100644 --- a/src/MySql/readme.md +++ b/src/MySql/readme.md @@ -89,7 +89,7 @@ directive: hide: true - where: verb: Set - subject: ^Configuration$|^FirewallRule$|^VirtualNetworkRule$|^flexibleServerDatabase|^flexibleServerFirewallRule$ + subject: ^Configuration$|^FirewallRule$|^VirtualNetworkRule$|^flexibleServerDatabase$|^flexibleServerFirewallRule$ set: verb: Update - where: diff --git a/src/MySql/test/Az.MySql-TestResults.xml b/src/MySql/test/Az.MySql-TestResults.xml index 92794ed677db..f88bff21c515 100644 --- a/src/MySql/test/Az.MySql-TestResults.xml +++ b/src/MySql/test/Az.MySql-TestResults.xml @@ -1,400 +1,14 @@  - - + + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 b/src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 index fd5d755696c9..698c231082b4 100644 --- a/src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 +++ b/src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 @@ -11,17 +11,159 @@ while(-not $mockingPath) { } . ($mockingPath | Select-Object -First 1).FullName +$DEFAULT_DB_NAME = 'flexibleserverdb' +$DELEGATION_SERVICE_NAME = "Microsoft.DBforMySQL/flexibleServers" +$DEFAULT_VNET_PREFIX = '10.0.0.0/16' +$DEFAULT_SUBNET_PREFIX = '10.0.0.0/24' + Describe 'New-AzMySqlFlexibleServer' { - It 'CreateExpanded' { + # It 'CreateExpanded' { + # { + # [SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] + # $password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force + # $server = New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -AdministratorUserName mysql_test -AdministratorLoginPassword $password -Sku Standard_D2ds_v4 -SkuTier GeneralPurpose -BackupRetentionDay 12 -StorageInMb 102400 -Location eastus2 + # $server.SkuName | Should -Be "Standard_D2ds_v4" + # $server.SkuTier | Should -Be "GeneralPurpose" + # $server.StorageProfileStorageMb | Should -Be 102400 + # $server.StorageProfileBackupRetentionDay | Should -Be 12 + + # } | Should -Not -Throw + # } + + # It 'PublicAccessScenario' { + # { + # # Public Access 0.0.0.0 + # New-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName2 -PublicAccess 0.0.0.0 + # $FirewallRules = Get-AzMySqlFlexibleServerFirewallRule -ResourceGroupName $env.resourceGroup -ServerName $env.serverName2 + # $FirewallRules[0].Name | Should -BeLike "AllowAllAzureServicesAndResourcesWithinAzureIps*" + # $FirewallRules[0].StartIPAddress | Should -Be "0.0.0.0" + # $FirewallRules[0].EndIPAddress | Should -Be "0.0.0.0" + # Remove-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName2 + + # # Public Access 10.10.10.10-10.10.10.12 + # New-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName2 -PublicAccess 10.10.10.10-10.10.10.12 + # $FirewallRules = Get-AzMySqlFlexibleServerFirewallRule -ResourceGroupName $env.resourceGroup -ServerName $env.serverName2 + # $FirewallRules[0].Name | Should -BeLike "FirewallIPAddress*" + # $FirewallRules[0].StartIPAddress | Should -Be "10.10.10.10" + # $FirewallRules[0].EndIPAddress | Should -Be "10.10.10.12" + # Remove-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName2 + + # Public Access All + # New-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName2 -PublicAccess All + # $FirewallRules = Get-AzMySqlFlexibleServerFirewallRule -ResourceGroupName $env.resourceGroup -ServerName $env.serverName2 + # $FirewallRules[0].Name | Should -BeLike "AllowAll*" + # $FirewallRules[0].StartIPAddress | Should -Be "0.0.0.0" + # $FirewallRules[0].EndIPAddress | Should -Be "255.255.255.255" + # Remove-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName2 + + # } | Should -Not -Throw + # } + + # It 'NoArgumentsScenario' { + # { + # $Server = New-AzMySqlFlexibleServer + # $Splits = $Server.Id -Split "/" + # $ResourceGroupName = $Splits[4] + + # $Subnet = Get-AzVirtualNetwork -Name Vnet + $Server.Name -ResourceGroupName $ResourceGroupName | Get-AzVirtualNetworkSubnetConfig -Name Subnet + $Server.Name + # $Delegation = Get-AzDelegation -Name Microsoft.DBforMySQL/flexibleServers -Subnet $subnet + + # $Server.SkuName | Should -Be "Standard_B1ms" + # $Server.SkuTier | Should -Be "Burstable" + # $Server.StorageProfileStorageMb | Should -Be 10240 + # $Server.StorageProfileBackupRetentionDay | Should -Be 7 + # $Server.Location | Should -Be "West US 2" + + # $Server.DelegatedSubnetArgumentsSubnetArmResourceId | Should -BeLike "\/subscriptions\/[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}\/resourceGroups/[-\w\._\(\)]+\/providers\/Microsoft.Network\/VirtualNetworks\/Vnet$([regex]::escape($Server.Name))\/subnets\/Subnet$([regex]::escape($Server.Name))$" + # $Delegation.ServiceName | Should -Be $DELEGATION_SERVICE_NAME + + # Get-AzMySqlFlexibleServerDatabase -ResourceGroupName $ResourceGroupName -Name $DEFAULT_DB_NAME -ServerName $Server.Name + # } | Should -Not -Throw + # } + + It 'VnetIdScenario' { { - #[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] - $password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force - $server = New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -AdministratorUserName mysql_test -AdministratorLoginPassword $password -Sku Standard_D2ds_v4 -SkuTier GeneralPurpose -BackupRetentionDay 12 -StorageInMb 102400 -Location eastus2 - $server.SkuName | Should -Be "Standard_D2ds_v4" - $server.SkuTier | Should -Be "GeneralPurpose" - $server.StorageProfileStorageMb | Should -Be 102400 - $server.StorageProfileBackupRetentionDay | Should -Be 12 + # valid vnet Id and the vnet exists + # New-AzMySqlFlexibleServer + # New-AzMySqlFlexibleServer -ResourceGroupName group4475111595 -Subnet /subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group4475111595/providers/Microsoft.Network/virtualNetworks/mysqlvnet2/subnets/Subnetserver8139643265 + # New-AzMySqlFlexibleServer -ResourceGroupName group4475111595 -Vnet /subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group4475111595/providers/Microsoft.Network/virtualNetworks/mysqlvnet2 + + # $Vnet = New-AzVirtualNetwork -Name mysqltestvnet3 -ResourceGroupName group4475111595 -Location $env.Location -AddressPrefix $DEFAULT_VNET_PREFIX + # New-AzMySqlFlexibleServer -ResourceGroupName group4475111595 -Vnet mysqltestvnet3 + + New-AzMySqlFlexibleServer -ResourceGroupName group4475111595 -Vnet mysqltestvnet2 -Subnet mysqltestsubnet2 -VnetPrefix 12.0.0.0/16 -SubnetPrefix 12.0.0.0/24 + + # $Vnet = New-AzVirtualNetwork -Name $env.VNetName -ResourceGroupName $env.resourceGroup -Location $env.Location -AddressPrefix $DEFAULT_VNET_PREFIX + # $Server = New-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Vnet $Vnet.Id + # $Server.DelegatedSubnetArgumentsSubnetArmResourceId | Should -BeLike "\/subscriptions\/[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}\/resourceGroups/[-\w\._\(\)]+\/providers\/Microsoft.Network\/VirtualNetworks\/Vnet$([regex]::escape($Server.Name))\/subnets\/Subnet$([regex]::escape($Server.Name))$" + # $Delegation = Get-AzDelegation -Name Microsoft.DBforMySQL/flexibleServers -Subnet $subnet + # $Delegation.ServiceName | Should -Be $DELEGATION_SERVICE_NAME + + # valid vnet Id but the vnet doesn't exist + + + # invalid vnet Id + + + } | Should -Not -Throw + } + + It 'SubnetIdScenario' { + { + # valid subnet Id and the subnet exists + + + # valid subnet Id but the subnet doesn't exist + + + # invalid subnet Id + + + + } | Should -Not -Throw + } + + It 'VnetNameScenario' { + { + # valid vnet name and the vnet exists + + + # valid vnet name but the vnet doesn't exist + + + # invalid vnet Id + + + } | Should -Not -Throw + } + + It 'SubnetNameScenario' { + { + # valid subnet name and the subnet exists + + + # valid subnet name but the subnet doesn't exist + + + # invalid subnet name + + + } | Should -Not -Throw + } + + + It 'VnetSubnetScenario' { + { + # valid subnet name and the subnet exists + + + # valid subnet name but the subnet doesn't exist + + + # invalid subnet name + } | Should -Not -Throw } + } diff --git a/src/MySql/test/New-AzMySqlFlexibleServer.Recording.json b/src/MySql/test/New-AzMySqlFlexibleServerOld.Recording.json similarity index 100% rename from src/MySql/test/New-AzMySqlFlexibleServer.Recording.json rename to src/MySql/test/New-AzMySqlFlexibleServerOld.Recording.json diff --git a/src/MySql/test/New-AzMySqlFlexibleServerPublicAccessFirst.Recording.json b/src/MySql/test/New-AzMySqlFlexibleServerPublicAccessFirst.Recording.json new file mode 100644 index 000000000000..c8c65b283bfb --- /dev/null +++ b/src/MySql/test/New-AzMySqlFlexibleServerPublicAccessFirst.Recording.json @@ -0,0 +1,1232 @@ +{ + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"administratorLogin\": \"levelMarten3\",\r\n \"administratorLoginPassword\": \"O%R?zF8)bup#+#yK\",\r\n \"version\": \"5.7\",\r\n \"createMode\": \"Default\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "369" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "4a717546-4e37-4284-94d7-fc1b625fcc2d" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "52382742-d442-4131-8481-d740538b6cef" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T001820Z:52382742-d442-4131-8481-d740538b6cef" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:18:19 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "88" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-25T00:18:20.003Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "3" ], + "x-ms-client-request-id": [ "3aad3961-261e-4bcd-aa4d-25c6f424f9d9" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "17428779-4dc0-407a-9d29-40c6fbf82e22" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-correlation-request-id": [ "9dbc8a5c-6f91-4d71-a3d8-b84d3034a3f0" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T001920Z:9dbc8a5c-6f91-4d71-a3d8-b84d3034a3f0" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:19:19 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"3c1c9f7a-7cee-4d66-9a98-07450acb8175\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:18:20.003Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "3aad3961-261e-4bcd-aa4d-25c6f424f9d9" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "a649aa51-6930-42c7-8297-064ee8ed9560" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-correlation-request-id": [ "d0ddf21f-d498-45b3-88a8-3460cf3cab91" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T002020Z:d0ddf21f-d498-45b3-88a8-3460cf3cab91" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:20:20 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"3c1c9f7a-7cee-4d66-9a98-07450acb8175\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:18:20.003Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "5" ], + "x-ms-client-request-id": [ "3aad3961-261e-4bcd-aa4d-25c6f424f9d9" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "751f95ef-e090-46de-aee8-6224e5896afe" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-correlation-request-id": [ "6c128953-0fd1-46ce-8628-92374c1e46e9" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T002120Z:6c128953-0fd1-46ce-8628-92374c1e46e9" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:21:20 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"3c1c9f7a-7cee-4d66-9a98-07450acb8175\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:18:20.003Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "6" ], + "x-ms-client-request-id": [ "3aad3961-261e-4bcd-aa4d-25c6f424f9d9" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "f9d10bfc-01c5-40fb-84ed-4ab3e612d191" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "7434055f-49e0-436b-9e97-da005e39940e" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T002220Z:7434055f-49e0-436b-9e97-da005e39940e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:22:20 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"3c1c9f7a-7cee-4d66-9a98-07450acb8175\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:18:20.003Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "7" ], + "x-ms-client-request-id": [ "3aad3961-261e-4bcd-aa4d-25c6f424f9d9" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "8335d5e1-bf53-4c68-a3db-3740ddb5228e" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-correlation-request-id": [ "354520f7-ea8c-4865-a042-bed488514301" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T002320Z:354520f7-ea8c-4865-a042-bed488514301" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:23:20 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"3c1c9f7a-7cee-4d66-9a98-07450acb8175\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:18:20.003Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "8" ], + "x-ms-client-request-id": [ "3aad3961-261e-4bcd-aa4d-25c6f424f9d9" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "20bee8a1-4842-42b5-ba0f-8cc05a20ab6b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "fc6dc0aa-e0d1-4a7b-a17d-8082718335b5" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T002421Z:fc6dc0aa-e0d1-4a7b-a17d-8082718335b5" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:24:20 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"3c1c9f7a-7cee-4d66-9a98-07450acb8175\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:18:20.003Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "9" ], + "x-ms-client-request-id": [ "3aad3961-261e-4bcd-aa4d-25c6f424f9d9" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "50a235d5-ad21-4ae8-b48b-0a1305930633" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "fceed390-46d5-455c-84a5-ea92e79ef680" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T002521Z:fceed390-46d5-455c-84a5-ea92e79ef680" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:25:20 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"3c1c9f7a-7cee-4d66-9a98-07450acb8175\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:18:20.003Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview+9": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "10" ], + "x-ms-client-request-id": [ "3aad3961-261e-4bcd-aa4d-25c6f424f9d9" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "df4934e9-1891-4f32-8988-975d974952a0" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "11528e4d-cf19-4728-bb3e-032caef18077" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T002621Z:11528e4d-cf19-4728-bb3e-032caef18077" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:26:20 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"3c1c9f7a-7cee-4d66-9a98-07450acb8175\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:18:20.003Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview+10": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "11" ], + "x-ms-client-request-id": [ "3aad3961-261e-4bcd-aa4d-25c6f424f9d9" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "7111695e-1926-46ca-afb2-3dcce9c9b703" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-correlation-request-id": [ "27c22eb3-ece7-4ea3-bd71-e579064fefd0" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T002721Z:27c22eb3-ece7-4ea3-bd71-e579064fefd0" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:27:20 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"3c1c9f7a-7cee-4d66-9a98-07450acb8175\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:18:20.003Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview+11": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "12" ], + "x-ms-client-request-id": [ "3aad3961-261e-4bcd-aa4d-25c6f424f9d9" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "672baea4-2315-44f1-92dc-3ecbba3bb4c6" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], + "x-ms-correlation-request-id": [ "4a70bf88-dceb-4599-8c39-ae89df5ad38c" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T002821Z:4a70bf88-dceb-4599-8c39-ae89df5ad38c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:28:21 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"3c1c9f7a-7cee-4d66-9a98-07450acb8175\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:18:20.003Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview+12": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "13" ], + "x-ms-client-request-id": [ "3aad3961-261e-4bcd-aa4d-25c6f424f9d9" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "968c6c7c-500c-49f6-83c6-7f7e8458e8dc" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], + "x-ms-correlation-request-id": [ "c7e5795b-d607-45e8-bd7a-17f6ff516f4b" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T002921Z:c7e5795b-d607-45e8-bd7a-17f6ff516f4b" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:29:21 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"3c1c9f7a-7cee-4d66-9a98-07450acb8175\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-25T00:18:20.003Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+13": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "14" ], + "x-ms-client-request-id": [ "3aad3961-261e-4bcd-aa4d-25c6f424f9d9" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "18e0ad9d-9232-42a4-8c5a-6b94426d6774" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], + "x-ms-correlation-request-id": [ "b19f9791-0655-4d9c-a762-b9b3f230f19c" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T002922Z:b19f9791-0655-4d9c-a762-b9b3f230f19c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:29:21 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "953" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"levelMarten3\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-25T00:29:21.9353883+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2/firewallRules?api-version=2020-07-01-preview+14": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2/firewallRules?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "18" ], + "x-ms-client-request-id": [ "2193e74f-13a9-4e9f-83be-ed6437790970" ], + "CommandName": [ "Get-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Get-AzMySqlFlexibleServerFirewallRule_List" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "cf599c66-ace0-4fc0-a8cc-bacc751884eb" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], + "x-ms-correlation-request-id": [ "d90d1423-d7ec-411a-9176-fbbfa5fc6a9f" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T003023Z:d90d1423-d7ec-411a-9176-fbbfa5fc6a9f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:30:23 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "217" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"value\":[{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.0\"},\"name\":\"AllowAllAzureServicesAndResourcesWithinAzureIps_2020-11-24_16-29-23\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}]}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+15": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "19" ], + "x-ms-client-request-id": [ "58316329-7ed6-4d49-bbbe-6afbcc2675aa" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/8514fc11-8267-4e25-9a99-50fb7f112344?api-version=2020-07-01-preview" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/8514fc11-8267-4e25-9a99-50fb7f112344?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "8514fc11-8267-4e25-9a99-50fb7f112344" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "x-ms-correlation-request-id": [ "f5aa2b80-f1f1-42ef-8e21-e638aa4fe004" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T003023Z:f5aa2b80-f1f1-42ef-8e21-e638aa4fe004" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:30:23 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "84" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropServerManagementOperation\",\"startTime\":\"2020-11-25T00:30:23.623Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/8514fc11-8267-4e25-9a99-50fb7f112344?api-version=2020-07-01-preview+16": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/8514fc11-8267-4e25-9a99-50fb7f112344?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "20" ], + "x-ms-client-request-id": [ "58316329-7ed6-4d49-bbbe-6afbcc2675aa" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "be89ef93-43ce-4a9d-a862-fadcd96cef6f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], + "x-ms-correlation-request-id": [ "220ca925-b82b-46a9-bf27-82f5fb0e69f5" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T003038Z:220ca925-b82b-46a9-bf27-82f5fb0e69f5" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:30:38 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"8514fc11-8267-4e25-9a99-50fb7f112344\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:30:23.623Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/8514fc11-8267-4e25-9a99-50fb7f112344?api-version=2020-07-01-preview+17": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/8514fc11-8267-4e25-9a99-50fb7f112344?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "21" ], + "x-ms-client-request-id": [ "58316329-7ed6-4d49-bbbe-6afbcc2675aa" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "0c818c97-8d28-46ab-9344-2a7d78d1902c" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], + "x-ms-correlation-request-id": [ "d386394d-4afb-49d4-b157-2d52654d2427" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T003053Z:d386394d-4afb-49d4-b157-2d52654d2427" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:30:53 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"8514fc11-8267-4e25-9a99-50fb7f112344\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:30:23.623Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/8514fc11-8267-4e25-9a99-50fb7f112344?api-version=2020-07-01-preview+18": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/8514fc11-8267-4e25-9a99-50fb7f112344?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "22" ], + "x-ms-client-request-id": [ "58316329-7ed6-4d49-bbbe-6afbcc2675aa" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "d5c9c7dd-13e1-46bb-bb7f-d4357f2963fb" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], + "x-ms-correlation-request-id": [ "40729346-f604-47f8-aa9f-8a7f62e87846" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T003109Z:40729346-f604-47f8-aa9f-8a7f62e87846" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:31:08 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"8514fc11-8267-4e25-9a99-50fb7f112344\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-25T00:30:23.623Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/operationResults/8514fc11-8267-4e25-9a99-50fb7f112344?api-version=2020-07-01-preview+19": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/8514fc11-8267-4e25-9a99-50fb7f112344?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "23" ], + "x-ms-client-request-id": [ "58316329-7ed6-4d49-bbbe-6afbcc2675aa" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "d3ac6848-5813-42f0-b841-575d85a733c4" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11980" ], + "x-ms-correlation-request-id": [ "3b87613c-bfb5-4b2c-a68d-966d27d6573f" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T003109Z:3b87613c-bfb5-4b2c-a68d-966d27d6573f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:31:08 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+20": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"administratorLogin\": \"shoddyAvocet4\",\r\n \"administratorLoginPassword\": \"f+Z}gp#F64?R)b!R\",\r\n \"version\": \"5.7\",\r\n \"createMode\": \"Default\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "370" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "9a394050-3eaa-42ea-a1cd-dbe4453aef00" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], + "x-ms-correlation-request-id": [ "4c9a3145-e671-4bca-847c-f02203b944b4" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T003111Z:4c9a3145-e671-4bca-847c-f02203b944b4" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:31:10 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "88" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-25T00:31:11.233Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview+21": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "26" ], + "x-ms-client-request-id": [ "2edd9fab-6145-4042-932f-5b88b02ca379" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "3f4d1430-ce8a-4a03-8f88-95c0e1ba7166" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11979" ], + "x-ms-correlation-request-id": [ "6cb898f3-e80b-4353-9eb9-cc1e03a9a31f" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T003211Z:6cb898f3-e80b-4353-9eb9-cc1e03a9a31f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:32:10 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"7fb0a393-8d53-4afa-9ac4-e8d598d153bd\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:31:11.233Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview+22": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "27" ], + "x-ms-client-request-id": [ "2edd9fab-6145-4042-932f-5b88b02ca379" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "6886b31e-3090-43f2-9a1b-3536fc1fb301" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11978" ], + "x-ms-correlation-request-id": [ "c974a299-7b8e-4352-82c6-fd10e8fe196b" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T003311Z:c974a299-7b8e-4352-82c6-fd10e8fe196b" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:33:11 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"7fb0a393-8d53-4afa-9ac4-e8d598d153bd\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:31:11.233Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview+23": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "28" ], + "x-ms-client-request-id": [ "2edd9fab-6145-4042-932f-5b88b02ca379" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "b865a5c4-cef6-4b1f-99a1-9a8f5b4bc92f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11977" ], + "x-ms-correlation-request-id": [ "6181c137-43ab-4a98-9d24-c226294352ae" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T003411Z:6181c137-43ab-4a98-9d24-c226294352ae" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:34:11 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"7fb0a393-8d53-4afa-9ac4-e8d598d153bd\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:31:11.233Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview+24": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "29" ], + "x-ms-client-request-id": [ "2edd9fab-6145-4042-932f-5b88b02ca379" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "f4a4f1d3-4176-4235-a200-16b2e6bf3d5f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11976" ], + "x-ms-correlation-request-id": [ "29c38dbd-d654-46e9-b3a4-aceb4dcf32c6" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T003511Z:29c38dbd-d654-46e9-b3a4-aceb4dcf32c6" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:35:11 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"7fb0a393-8d53-4afa-9ac4-e8d598d153bd\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:31:11.233Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview+25": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "30" ], + "x-ms-client-request-id": [ "2edd9fab-6145-4042-932f-5b88b02ca379" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "5e50a1ee-e84b-4bb6-9497-6dd3685a41bf" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11975" ], + "x-ms-correlation-request-id": [ "5c18a365-6b72-4c53-9940-67eb49e1ea9b" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T003612Z:5c18a365-6b72-4c53-9940-67eb49e1ea9b" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:36:11 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"7fb0a393-8d53-4afa-9ac4-e8d598d153bd\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:31:11.233Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview+26": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "31" ], + "x-ms-client-request-id": [ "2edd9fab-6145-4042-932f-5b88b02ca379" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "8d9a0d05-dda5-4631-9d2d-a74fe80827fa" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11974" ], + "x-ms-correlation-request-id": [ "53bba97a-1a5e-4e64-9f16-89fa3eb137ae" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T003712Z:53bba97a-1a5e-4e64-9f16-89fa3eb137ae" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:37:12 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"7fb0a393-8d53-4afa-9ac4-e8d598d153bd\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:31:11.233Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview+27": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "32" ], + "x-ms-client-request-id": [ "2edd9fab-6145-4042-932f-5b88b02ca379" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "112defe1-c3a7-4875-82dd-d461d0ab1a55" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11973" ], + "x-ms-correlation-request-id": [ "55a25d9d-e693-4c3e-b5b3-fa5fbae33780" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T003812Z:55a25d9d-e693-4c3e-b5b3-fa5fbae33780" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:38:11 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"7fb0a393-8d53-4afa-9ac4-e8d598d153bd\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:31:11.233Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview+28": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "33" ], + "x-ms-client-request-id": [ "2edd9fab-6145-4042-932f-5b88b02ca379" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "3564f5d8-6223-480c-bde3-4d5c74958482" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11972" ], + "x-ms-correlation-request-id": [ "27a7879b-8c46-49d1-86d6-38b18092fc65" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T003912Z:27a7879b-8c46-49d1-86d6-38b18092fc65" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:39:12 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"7fb0a393-8d53-4afa-9ac4-e8d598d153bd\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:31:11.233Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview+29": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "34" ], + "x-ms-client-request-id": [ "2edd9fab-6145-4042-932f-5b88b02ca379" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "5b699d02-7c0f-4e4c-a5f4-6fdb2b0dd503" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11971" ], + "x-ms-correlation-request-id": [ "81b36634-5fff-47b2-9d92-ed0798275399" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T004012Z:81b36634-5fff-47b2-9d92-ed0798275399" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:40:11 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"7fb0a393-8d53-4afa-9ac4-e8d598d153bd\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:31:11.233Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview+30": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "35" ], + "x-ms-client-request-id": [ "2edd9fab-6145-4042-932f-5b88b02ca379" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "115fd52e-d7ea-496f-aa36-e520a7a76888" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11970" ], + "x-ms-correlation-request-id": [ "d77e7379-a97c-4307-a8a9-cbbf23569810" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T004112Z:d77e7379-a97c-4307-a8a9-cbbf23569810" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:41:12 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"7fb0a393-8d53-4afa-9ac4-e8d598d153bd\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-25T00:31:11.233Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+31": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "36" ], + "x-ms-client-request-id": [ "2edd9fab-6145-4042-932f-5b88b02ca379" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 404, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-failure-cause": [ "gateway" ], + "x-ms-request-id": [ "3a2353de-34a8-4368-896e-ea1a664f41bf" ], + "x-ms-correlation-request-id": [ "3a2353de-34a8-4368-896e-ea1a664f41bf" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T004112Z:3a2353de-34a8-4368-896e-ea1a664f41bf" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Wed, 25 Nov 2020 00:41:12 GMT" ] + }, + "ContentHeaders": { + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ], + "Content-Length": [ "234" ] + }, + "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForMySql/flexibleServers/mysql-test-100-2\u0027 under resource group \u0027MySqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" + } + } +} \ No newline at end of file diff --git a/src/MySql/test/New-AzMySqlFlexibleServerSecond.Recording.json b/src/MySql/test/New-AzMySqlFlexibleServerSecond.Recording.json new file mode 100644 index 000000000000..e37a2e88387a --- /dev/null +++ b/src/MySql/test/New-AzMySqlFlexibleServerSecond.Recording.json @@ -0,0 +1,1192 @@ +{ + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"administratorLogin\": \"unrulyCod3\",\r\n \"administratorLoginPassword\": \"TDZR?B!24$)i)@Bv\",\r\n \"version\": \"5.7\",\r\n \"createMode\": \"Default\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "367" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "2b4fec3c-ecbb-4d47-8a6a-7c0a188275da" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "03d28c5c-07c4-4562-9791-a93ae6b189e0" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T005048Z:03d28c5c-07c4-4562-9791-a93ae6b189e0" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:50:48 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "88" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-25T00:50:48.667Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "3" ], + "x-ms-client-request-id": [ "c9854e85-286f-44aa-9c9f-704cdccd19f1" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "814d79a5-40c9-410e-8298-effb3962bdfd" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-correlation-request-id": [ "7b236b49-028c-407e-b638-9acb2243c09a" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T005149Z:7b236b49-028c-407e-b638-9acb2243c09a" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:51:48 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"80090f41-57e9-4f8c-8901-9978e0771356\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:50:48.667Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "c9854e85-286f-44aa-9c9f-704cdccd19f1" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "1805b859-f820-423e-9af6-9850400a7f0a" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "23e5ae15-9312-4203-b6ef-135c5b0fccbd" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T005249Z:23e5ae15-9312-4203-b6ef-135c5b0fccbd" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:52:49 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"80090f41-57e9-4f8c-8901-9978e0771356\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:50:48.667Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "5" ], + "x-ms-client-request-id": [ "c9854e85-286f-44aa-9c9f-704cdccd19f1" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "ef142442-5350-424c-b5e0-fd634813d2cf" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-correlation-request-id": [ "3eff9478-01f5-4a71-a166-30ec91ceeb85" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T005349Z:3eff9478-01f5-4a71-a166-30ec91ceeb85" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:53:49 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"80090f41-57e9-4f8c-8901-9978e0771356\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:50:48.667Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "6" ], + "x-ms-client-request-id": [ "c9854e85-286f-44aa-9c9f-704cdccd19f1" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "59819522-a46d-4a07-b9c5-72823843c325" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "4f72e26f-58b0-4c11-a482-bae98a8d21d1" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T005449Z:4f72e26f-58b0-4c11-a482-bae98a8d21d1" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:54:49 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"80090f41-57e9-4f8c-8901-9978e0771356\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:50:48.667Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "7" ], + "x-ms-client-request-id": [ "c9854e85-286f-44aa-9c9f-704cdccd19f1" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "5eac551f-5468-443f-9207-789abb931870" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "c74a3838-bddc-4877-9011-9e82f1f5adb9" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T005549Z:c74a3838-bddc-4877-9011-9e82f1f5adb9" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:55:48 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"80090f41-57e9-4f8c-8901-9978e0771356\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:50:48.667Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "8" ], + "x-ms-client-request-id": [ "c9854e85-286f-44aa-9c9f-704cdccd19f1" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "79a98451-be3c-49bb-a69c-b525de8aec62" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "72dbd2ff-4349-4352-863b-b933ff335219" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T005649Z:72dbd2ff-4349-4352-863b-b933ff335219" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:56:49 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"80090f41-57e9-4f8c-8901-9978e0771356\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:50:48.667Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "9" ], + "x-ms-client-request-id": [ "c9854e85-286f-44aa-9c9f-704cdccd19f1" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "5ce410ee-662a-45a5-aa77-bb1a8b125c66" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-correlation-request-id": [ "e6f45f2f-e101-4dee-84ad-d013f5925935" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T005749Z:e6f45f2f-e101-4dee-84ad-d013f5925935" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:57:49 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"80090f41-57e9-4f8c-8901-9978e0771356\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:50:48.667Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview+9": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "10" ], + "x-ms-client-request-id": [ "c9854e85-286f-44aa-9c9f-704cdccd19f1" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "75884ef9-0a2f-474d-b164-2640c0ea2d0e" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], + "x-ms-correlation-request-id": [ "38871004-dba0-4f2e-92c2-96f3679070ea" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T005849Z:38871004-dba0-4f2e-92c2-96f3679070ea" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:58:49 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"80090f41-57e9-4f8c-8901-9978e0771356\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:50:48.667Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview+10": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "11" ], + "x-ms-client-request-id": [ "c9854e85-286f-44aa-9c9f-704cdccd19f1" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "ae4a00fd-4ea3-4d78-9c70-2b6d146ee9e4" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], + "x-ms-correlation-request-id": [ "ac5c19f9-2c5c-4826-8626-50e4bc81e1e9" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T005950Z:ac5c19f9-2c5c-4826-8626-50e4bc81e1e9" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:59:49 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"80090f41-57e9-4f8c-8901-9978e0771356\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:50:48.667Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview+11": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "12" ], + "x-ms-client-request-id": [ "c9854e85-286f-44aa-9c9f-704cdccd19f1" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "9b34a29e-9a3a-4627-9b17-01c5520cc569" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], + "x-ms-correlation-request-id": [ "276ab4d8-8d3b-4302-bf1f-861105732a61" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T010050Z:276ab4d8-8d3b-4302-bf1f-861105732a61" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 01:00:49 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"80090f41-57e9-4f8c-8901-9978e0771356\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-25T00:50:48.667Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+12": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "13" ], + "x-ms-client-request-id": [ "c9854e85-286f-44aa-9c9f-704cdccd19f1" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "4550e9b4-f201-47c3-9641-1697ea089a23" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], + "x-ms-correlation-request-id": [ "ae4b854a-3562-4cd9-86ac-0f36a46f19c5" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T010050Z:ae4b854a-3562-4cd9-86ac-0f36a46f19c5" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 01:00:50 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "951" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"unrulyCod3\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-25T01:00:50.2289336+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2/firewallRules?api-version=2020-07-01-preview+13": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2/firewallRules?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "17" ], + "x-ms-client-request-id": [ "2c333290-fd64-4763-bf24-953932afd5da" ], + "CommandName": [ "Get-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Get-AzMySqlFlexibleServerFirewallRule_List" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "13f7efe9-a103-47f9-8915-a80c3b016b3e" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-correlation-request-id": [ "0ab85f24-e8fc-4be1-a5c6-4c8c68611455" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T013055Z:0ab85f24-e8fc-4be1-a5c6-4c8c68611455" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 01:30:54 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "195" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"value\":[{\"properties\":{\"startIpAddress\":\"10.10.10.10\",\"endIpAddress\":\"10.10.10.12\"},\"name\":\"FirewallIPAddress_2020-11-24_17-00-51\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}]}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+14": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "18" ], + "x-ms-client-request-id": [ "336fe11d-7ce7-4e87-9fad-59029e5e21e7" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/12b3c158-227b-43ad-99a0-ec7a179a7e6b?api-version=2020-07-01-preview" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/12b3c158-227b-43ad-99a0-ec7a179a7e6b?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "12b3c158-227b-43ad-99a0-ec7a179a7e6b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "x-ms-correlation-request-id": [ "b095e9b6-f870-4aa2-b763-e3389fbb5176" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T013055Z:b095e9b6-f870-4aa2-b763-e3389fbb5176" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 01:30:54 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "84" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropServerManagementOperation\",\"startTime\":\"2020-11-25T01:30:55.407Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/12b3c158-227b-43ad-99a0-ec7a179a7e6b?api-version=2020-07-01-preview+15": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/12b3c158-227b-43ad-99a0-ec7a179a7e6b?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "19" ], + "x-ms-client-request-id": [ "336fe11d-7ce7-4e87-9fad-59029e5e21e7" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "5960cefc-0fb2-4b90-93ec-b87c882b9f52" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-correlation-request-id": [ "734910f9-855c-45ba-bc57-7776a857f88b" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T013110Z:734910f9-855c-45ba-bc57-7776a857f88b" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 01:31:09 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"12b3c158-227b-43ad-99a0-ec7a179a7e6b\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T01:30:55.407Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/12b3c158-227b-43ad-99a0-ec7a179a7e6b?api-version=2020-07-01-preview+16": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/12b3c158-227b-43ad-99a0-ec7a179a7e6b?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "20" ], + "x-ms-client-request-id": [ "336fe11d-7ce7-4e87-9fad-59029e5e21e7" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "d662d610-b200-4ea3-9254-a5fcd4253d84" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "8a583102-9b95-457d-be3c-f1d9214b1d7f" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T013125Z:8a583102-9b95-457d-be3c-f1d9214b1d7f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 01:31:24 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"12b3c158-227b-43ad-99a0-ec7a179a7e6b\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T01:30:55.407Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/12b3c158-227b-43ad-99a0-ec7a179a7e6b?api-version=2020-07-01-preview+17": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/12b3c158-227b-43ad-99a0-ec7a179a7e6b?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "21" ], + "x-ms-client-request-id": [ "336fe11d-7ce7-4e87-9fad-59029e5e21e7" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "6764f0ad-1ce8-44e5-9183-50b762a65799" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-correlation-request-id": [ "b46ae9ea-84ff-4a47-83e7-5f02c7bd5a2f" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T013140Z:b46ae9ea-84ff-4a47-83e7-5f02c7bd5a2f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 01:31:40 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"12b3c158-227b-43ad-99a0-ec7a179a7e6b\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-25T01:30:55.407Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/operationResults/12b3c158-227b-43ad-99a0-ec7a179a7e6b?api-version=2020-07-01-preview+18": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/12b3c158-227b-43ad-99a0-ec7a179a7e6b?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "22" ], + "x-ms-client-request-id": [ "336fe11d-7ce7-4e87-9fad-59029e5e21e7" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "20e36bf7-be22-40e0-af93-15d23b44f115" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "49f94cc7-8a4e-457f-add2-648505937faf" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T013140Z:49f94cc7-8a4e-457f-add2-648505937faf" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 01:31:40 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+19": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"administratorLogin\": \"prudentFalcon2\",\r\n \"administratorLoginPassword\": \"3DX)}@=}gTPzAur[\",\r\n \"version\": \"5.7\",\r\n \"createMode\": \"Default\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "371" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "8f9cabae-1ab3-4af7-9213-53fd4cb48691" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-correlation-request-id": [ "61f9b87f-aa37-46c6-8bda-9151f2cab908" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T013143Z:61f9b87f-aa37-46c6-8bda-9151f2cab908" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 01:31:43 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "88" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-25T01:31:43.143Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview+20": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "25" ], + "x-ms-client-request-id": [ "5551fb55-ef05-4d47-afd2-2e7da44abb78" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "2de708aa-20fa-43bf-89dd-3a46a749b565" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "6b617d32-8a1a-4c72-b3b2-371a1abeafee" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T013243Z:6b617d32-8a1a-4c72-b3b2-371a1abeafee" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 01:32:42 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T01:31:43.143Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview+21": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "26" ], + "x-ms-client-request-id": [ "5551fb55-ef05-4d47-afd2-2e7da44abb78" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "7cdb0726-2534-4c43-9e78-9504def965c3" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "193a0776-4a9b-402b-997f-fc2f9a0211c6" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T013343Z:193a0776-4a9b-402b-997f-fc2f9a0211c6" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 01:33:43 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T01:31:43.143Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview+22": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "27" ], + "x-ms-client-request-id": [ "5551fb55-ef05-4d47-afd2-2e7da44abb78" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "974223b5-33e2-471c-9311-6fef161cc7e4" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-correlation-request-id": [ "acb343b5-37fe-4fbf-ae49-69fa04f20eb3" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T013443Z:acb343b5-37fe-4fbf-ae49-69fa04f20eb3" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 01:34:43 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T01:31:43.143Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview+23": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "28" ], + "x-ms-client-request-id": [ "5551fb55-ef05-4d47-afd2-2e7da44abb78" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "041b8766-bfaa-4394-9ecb-13b4bd8b7b15" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], + "x-ms-correlation-request-id": [ "91fa503a-6480-4ef4-9f31-3c313b2bdc83" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T013543Z:91fa503a-6480-4ef4-9f31-3c313b2bdc83" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 01:35:43 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T01:31:43.143Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview+24": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "29" ], + "x-ms-client-request-id": [ "5551fb55-ef05-4d47-afd2-2e7da44abb78" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "1601a2e4-1031-49a1-a527-65757e6272b9" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], + "x-ms-correlation-request-id": [ "41d28567-0417-48a6-948b-32fb1a354f6f" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T013643Z:41d28567-0417-48a6-948b-32fb1a354f6f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 01:36:43 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T01:31:43.143Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview+25": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "30" ], + "x-ms-client-request-id": [ "5551fb55-ef05-4d47-afd2-2e7da44abb78" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "c37befe0-2685-45a1-9d5f-e22d2d456b77" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], + "x-ms-correlation-request-id": [ "8c412c77-e428-4025-910a-cbc8aef569ee" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T013744Z:8c412c77-e428-4025-910a-cbc8aef569ee" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 01:37:44 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T01:31:43.143Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview+26": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "31" ], + "x-ms-client-request-id": [ "5551fb55-ef05-4d47-afd2-2e7da44abb78" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "e4efcac0-d973-4888-8c98-eee0a5097ecd" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], + "x-ms-correlation-request-id": [ "2b6b36fa-7559-4e94-8f3f-3d1180448795" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T013844Z:2b6b36fa-7559-4e94-8f3f-3d1180448795" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 01:38:43 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T01:31:43.143Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview+27": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "32" ], + "x-ms-client-request-id": [ "5551fb55-ef05-4d47-afd2-2e7da44abb78" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "63aeea31-a2d3-48b6-8c48-d184cb1ee661" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], + "x-ms-correlation-request-id": [ "c5cb880d-12f7-45b2-88b6-dc9af17e28de" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T013944Z:c5cb880d-12f7-45b2-88b6-dc9af17e28de" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 01:39:43 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T01:31:43.143Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview+28": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "33" ], + "x-ms-client-request-id": [ "5551fb55-ef05-4d47-afd2-2e7da44abb78" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "cff485d5-cceb-4d0e-ad0d-f4ecabc6704c" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], + "x-ms-correlation-request-id": [ "84ae0837-e869-4c0b-8e7d-da24927c858b" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T014044Z:84ae0837-e869-4c0b-8e7d-da24927c858b" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 01:40:44 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T01:31:43.143Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview+29": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "34" ], + "x-ms-client-request-id": [ "5551fb55-ef05-4d47-afd2-2e7da44abb78" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "8a44d0d4-a692-470d-8570-4d01a90c09de" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], + "x-ms-correlation-request-id": [ "fb8c4b18-d5c9-4edf-bb2e-14c25eaf1c14" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T014144Z:fb8c4b18-d5c9-4edf-bb2e-14c25eaf1c14" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 01:41:43 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-25T01:31:43.143Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+30": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "35" ], + "x-ms-client-request-id": [ "5551fb55-ef05-4d47-afd2-2e7da44abb78" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 404, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-failure-cause": [ "gateway" ], + "x-ms-request-id": [ "27fb13b6-3312-4b3b-ac8c-11e8a1dd921d" ], + "x-ms-correlation-request-id": [ "27fb13b6-3312-4b3b-ac8c-11e8a1dd921d" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T014144Z:27fb13b6-3312-4b3b-ac8c-11e8a1dd921d" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Wed, 25 Nov 2020 01:41:43 GMT" ] + }, + "ContentHeaders": { + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ], + "Content-Length": [ "234" ] + }, + "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForMySql/flexibleServers/mysql-test-100-2\u0027 under resource group \u0027MySqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" + } + } +} \ No newline at end of file diff --git a/src/MySql/test/New-AzMySqlFlexibleServerThird.Recording.json b/src/MySql/test/New-AzMySqlFlexibleServerThird.Recording.json new file mode 100644 index 000000000000..0f6db769574b --- /dev/null +++ b/src/MySql/test/New-AzMySqlFlexibleServerThird.Recording.json @@ -0,0 +1,717 @@ +{ + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"administratorLogin\": \"admiredIbis0\",\r\n \"administratorLoginPassword\": \"[bn#ObA#)[8%14Bk\",\r\n \"version\": \"5.7\",\r\n \"createMode\": \"Default\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "369" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "84bd855e-d2bd-4fbc-a8a9-3379b32fd4c7" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "dca1ba68-e4e2-428a-9e60-d88190c428f6" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T021627Z:dca1ba68-e4e2-428a-9e60-d88190c428f6" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 02:16:27 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "88" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-25T02:16:27.353Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "3" ], + "x-ms-client-request-id": [ "fa7cc640-50ae-44ab-baeb-8929e4040e27" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "ec1366d4-e0bd-4af2-a875-87f578cd5692" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-correlation-request-id": [ "780b1456-9edd-469f-9803-e86a7f3a5677" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T021727Z:780b1456-9edd-469f-9803-e86a7f3a5677" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 02:17:26 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"5fa9d139-8955-44b5-873a-7b748449200f\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T02:16:27.353Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "fa7cc640-50ae-44ab-baeb-8929e4040e27" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "21b5b430-0f99-42f1-ae69-2333cca04cfe" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-correlation-request-id": [ "4804f65e-42b4-48e6-b74e-fa3867587dc0" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T021827Z:4804f65e-42b4-48e6-b74e-fa3867587dc0" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 02:18:27 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"5fa9d139-8955-44b5-873a-7b748449200f\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T02:16:27.353Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "5" ], + "x-ms-client-request-id": [ "fa7cc640-50ae-44ab-baeb-8929e4040e27" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "fab2b885-d5ec-4cb0-9448-c7aa34b35c8f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-correlation-request-id": [ "ed6919de-8ad7-446e-80de-c5a90a4fcb3f" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T021928Z:ed6919de-8ad7-446e-80de-c5a90a4fcb3f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 02:19:27 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"5fa9d139-8955-44b5-873a-7b748449200f\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T02:16:27.353Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "6" ], + "x-ms-client-request-id": [ "fa7cc640-50ae-44ab-baeb-8929e4040e27" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "e773b8de-9447-47bd-8658-58ba1eeab17f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-correlation-request-id": [ "c5152314-7aac-4956-8017-7f0daecce839" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T022028Z:c5152314-7aac-4956-8017-7f0daecce839" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 02:20:28 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"5fa9d139-8955-44b5-873a-7b748449200f\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T02:16:27.353Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "7" ], + "x-ms-client-request-id": [ "fa7cc640-50ae-44ab-baeb-8929e4040e27" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "bc5f084d-f621-42fb-8be1-ea8da5b481f6" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "193c8fa6-d683-4880-a76e-6a2f1481a842" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T022128Z:193c8fa6-d683-4880-a76e-6a2f1481a842" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 02:21:27 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"5fa9d139-8955-44b5-873a-7b748449200f\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T02:16:27.353Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "8" ], + "x-ms-client-request-id": [ "fa7cc640-50ae-44ab-baeb-8929e4040e27" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "06a5bbff-0e32-4fba-a64b-be6ea97d32b3" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-correlation-request-id": [ "0cb1b205-4112-43c4-9c88-7c3e2d151efe" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T022228Z:0cb1b205-4112-43c4-9c88-7c3e2d151efe" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 02:22:28 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"5fa9d139-8955-44b5-873a-7b748449200f\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T02:16:27.353Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "9" ], + "x-ms-client-request-id": [ "fa7cc640-50ae-44ab-baeb-8929e4040e27" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "f20e33d7-6b27-4994-8b7b-e95e8eb81ecd" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "16270d62-1967-4d95-8de1-c595f6225e30" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T022328Z:16270d62-1967-4d95-8de1-c595f6225e30" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 02:23:27 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"5fa9d139-8955-44b5-873a-7b748449200f\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T02:16:27.353Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview+9": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "10" ], + "x-ms-client-request-id": [ "fa7cc640-50ae-44ab-baeb-8929e4040e27" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "b63c3ed9-8f0a-4743-8e4d-bbfb1aaf4fd7" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "490f59b7-f83f-4b5a-9cec-02b60accb347" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T022428Z:490f59b7-f83f-4b5a-9cec-02b60accb347" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 02:24:28 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"5fa9d139-8955-44b5-873a-7b748449200f\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T02:16:27.353Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview+10": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "11" ], + "x-ms-client-request-id": [ "fa7cc640-50ae-44ab-baeb-8929e4040e27" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "a021104f-f07e-45a2-b0c8-1f992c78aa9c" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "81578b28-40fb-487b-a2c5-dca17bcf6db8" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T022530Z:81578b28-40fb-487b-a2c5-dca17bcf6db8" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 02:25:29 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"5fa9d139-8955-44b5-873a-7b748449200f\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T02:16:27.353Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview+11": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "12" ], + "x-ms-client-request-id": [ "fa7cc640-50ae-44ab-baeb-8929e4040e27" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "4a678963-cc5e-45cb-b398-4abdfce71b46" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-correlation-request-id": [ "332d359a-9d82-4acd-bc90-3b8cd84b9119" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T022630Z:332d359a-9d82-4acd-bc90-3b8cd84b9119" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 02:26:30 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"5fa9d139-8955-44b5-873a-7b748449200f\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-25T02:16:27.353Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+12": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "13" ], + "x-ms-client-request-id": [ "fa7cc640-50ae-44ab-baeb-8929e4040e27" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "fe33c218-c5f1-489c-93c0-744c42eb3d52" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], + "x-ms-correlation-request-id": [ "93cdf376-badc-4b4a-81de-b67f119065d7" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T022630Z:93cdf376-badc-4b4a-81de-b67f119065d7" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 02:26:30 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "953" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"admiredIbis0\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-25T02:26:30.6722645+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2/firewallRules?api-version=2020-07-01-preview+13": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2/firewallRules?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "17" ], + "x-ms-client-request-id": [ "f6288685-8af7-4e96-932a-e97faba6483a" ], + "CommandName": [ "Get-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Get-AzMySqlFlexibleServerFirewallRule_List" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "8a800232-8852-4172-bc35-fb1b6ea65ccc" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], + "x-ms-correlation-request-id": [ "c24497dc-706c-46a4-88e4-8ae496b83577" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T022732Z:c24497dc-706c-46a4-88e4-8ae496b83577" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 02:27:31 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "186" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"value\":[{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"255.255.255.255\"},\"name\":\"AllowAll_2020-11-24_18-26-31\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}]}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+14": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "18" ], + "x-ms-client-request-id": [ "c9e48e1e-6a2a-4082-9d81-bdda3343281e" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/57019682-6b84-4873-b6bb-683d8efd6fa2?api-version=2020-07-01-preview" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/57019682-6b84-4873-b6bb-683d8efd6fa2?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "57019682-6b84-4873-b6bb-683d8efd6fa2" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "x-ms-correlation-request-id": [ "48c00c84-1fd6-4ab3-b221-cd495af887e6" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T022732Z:48c00c84-1fd6-4ab3-b221-cd495af887e6" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 02:27:32 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "84" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropServerManagementOperation\",\"startTime\":\"2020-11-25T02:27:32.333Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/57019682-6b84-4873-b6bb-683d8efd6fa2?api-version=2020-07-01-preview+15": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/57019682-6b84-4873-b6bb-683d8efd6fa2?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "19" ], + "x-ms-client-request-id": [ "c9e48e1e-6a2a-4082-9d81-bdda3343281e" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "97d3ca20-3efa-4f77-b87f-4bcabb15c4ba" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], + "x-ms-correlation-request-id": [ "41dacfd7-14e5-4bb6-9a3e-9326eac3c9df" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T022747Z:41dacfd7-14e5-4bb6-9a3e-9326eac3c9df" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 02:27:47 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"57019682-6b84-4873-b6bb-683d8efd6fa2\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T02:27:32.333Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/57019682-6b84-4873-b6bb-683d8efd6fa2?api-version=2020-07-01-preview+16": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/57019682-6b84-4873-b6bb-683d8efd6fa2?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "20" ], + "x-ms-client-request-id": [ "c9e48e1e-6a2a-4082-9d81-bdda3343281e" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "e89bb0ca-a96f-4387-9617-055e1cd1c026" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], + "x-ms-correlation-request-id": [ "6c9f1c83-c949-4de9-b701-b9c29f744007" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T022802Z:6c9f1c83-c949-4de9-b701-b9c29f744007" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 02:28:02 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"57019682-6b84-4873-b6bb-683d8efd6fa2\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T02:27:32.333Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/57019682-6b84-4873-b6bb-683d8efd6fa2?api-version=2020-07-01-preview+17": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/57019682-6b84-4873-b6bb-683d8efd6fa2?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "21" ], + "x-ms-client-request-id": [ "c9e48e1e-6a2a-4082-9d81-bdda3343281e" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "4bc8b95b-4f55-40f0-8046-587ea1fc9e55" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], + "x-ms-correlation-request-id": [ "facd44c4-bdda-45dc-b7e3-72e01bddc7b3" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T022817Z:facd44c4-bdda-45dc-b7e3-72e01bddc7b3" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 02:28:17 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"57019682-6b84-4873-b6bb-683d8efd6fa2\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-25T02:27:32.333Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/operationResults/57019682-6b84-4873-b6bb-683d8efd6fa2?api-version=2020-07-01-preview+18": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/57019682-6b84-4873-b6bb-683d8efd6fa2?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "22" ], + "x-ms-client-request-id": [ "c9e48e1e-6a2a-4082-9d81-bdda3343281e" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "53c435bd-6720-489d-a0d3-951333ae44e2" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], + "x-ms-correlation-request-id": [ "da3e1e84-5b6d-44c4-b21a-85f60e450fe5" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T022817Z:da3e1e84-5b6d-44c4-b21a-85f60e450fe5" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 02:28:17 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + } +} \ No newline at end of file diff --git a/src/MySql/test/env.json b/src/MySql/test/env.json index 25af8d96732e..0dd2f106c91d 100644 --- a/src/MySql/test/env.json +++ b/src/MySql/test/env.json @@ -1,17 +1,17 @@ { - "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "firewallRuleName": "mysqlrule01", "resourceGroup": "MySqlTest", - "Sku": "GP_Gen5_4", - "firewallRuleName2": "mysqlrule02", "location": "westus2", "databaseName": "mysqldb", - "serverName": "mysql-test-100", "FlexibleSku": "Standard_B1ms", - "restoreName": "mysql-test-100-restore", - "replicaName": "mysql-test-100-replica", - "SubscriptionId": "7fec3109-5b78-4a24-b834-5d47d63e2596", "restoreName2": "mysql-test-100-restore-2", + "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "firewallRuleName": "mysqlrule01", + "VNetName": "mysqlvnet", + "SubscriptionId": "7fec3109-5b78-4a24-b834-5d47d63e2596", + "restoreName": "mysql-test-100-restore", "serverName2": "mysql-test-100-2", - "VNetName": "mysqlvnet" + "replicaName": "mysql-test-100-replica", + "Sku": "GP_Gen5_4", + "firewallRuleName2": "mysqlrule02", + "serverName": "mysql-test-100" } diff --git a/src/MySql/test/localEnv.json b/src/MySql/test/localEnv.json index 25af8d96732e..94edd10d3180 100644 --- a/src/MySql/test/localEnv.json +++ b/src/MySql/test/localEnv.json @@ -1,17 +1,17 @@ { - "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "firewallRuleName": "mysqlrule01", - "resourceGroup": "MySqlTest", - "Sku": "GP_Gen5_4", - "firewallRuleName2": "mysqlrule02", - "location": "westus2", - "databaseName": "mysqldb", - "serverName": "mysql-test-100", "FlexibleSku": "Standard_B1ms", - "restoreName": "mysql-test-100-restore", + "firewallRuleName2": "mysqlrule02", + "restoreName2": "mysql-test-100-restore-2", "replicaName": "mysql-test-100-replica", + "serverName": "mysql-test-100", + "databaseName": "mysqldb", "SubscriptionId": "7fec3109-5b78-4a24-b834-5d47d63e2596", - "restoreName2": "mysql-test-100-restore-2", + "restoreName": "mysql-test-100-restore", + "firewallRuleName": "mysqlrule01", + "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", "serverName2": "mysql-test-100-2", - "VNetName": "mysqlvnet" + "VNetName": "mysqlvnet", + "resourceGroup": "MySqlTest", + "location": "westus2", + "Sku": "GP_Gen5_4" } diff --git a/src/MySql/test/utils.ps1 b/src/MySql/test/utils.ps1 index ae4880390541..2c715f98c378 100644 --- a/src/MySql/test/utils.ps1 +++ b/src/MySql/test/utils.ps1 @@ -28,7 +28,7 @@ function setupEnv() { $location = "westus2" $env.Add("resourceGroup", $resourceGroup) $env.Add("location", $location) - New-AzResourceGroup -Name $resourceGroup -Location $location + # New-AzResourceGroup -Name $resourceGroup -Location $location write-host "Deploy Vnet template" New-AzDeployment -Mode Incremental -TemplateFile .\test\deployment-templates\virtual-network\template.json -TemplateParameterFile .\test\deployment-templates\virtual-network\parameters.json -Name vn -ResourceGroupName $resourceGroup @@ -41,14 +41,18 @@ function setupEnv() { $FlexibleSku = "Standard_B1ms" $env.Add("Sku", $Sku) $env.Add("FlexibleSku", $FlexibleSku) + # Create the test Vnet + write-host "Deploy Vnet template" + # New-AzDeployment -Mode Incremental -TemplateFile .\test\deployment-templates\virtual-network\template.json -TemplateParameterFile .\test\deployment-templates\virtual-network\parameters.json -Name vn -ResourceGroupName $resourceGroup + write-host (Get-AzContext | Out-String) - write-host "New-AzMySqlServer -Name $serverName -ResourceGroupName $resourceGroup -Location $location -AdministratorUserName mysql_test -AdministratorLoginPassword $password -Sku $Sku" - New-AzMySqlServer -Name $serverName -ResourceGroupName $resourceGroup -Location $location -AdministratorUserName mysql_test -AdministratorLoginPassword $password -Sku $Sku + # write-host "New-AzMySqlServer -Name $serverName -ResourceGroupName $resourceGroup -Location $location -AdministratorUserName mysql_test -AdministratorLoginPassword $password -Sku $Sku" + # New-AzMySqlServer -Name $serverName -ResourceGroupName $resourceGroup -Location $location -AdministratorUserName mysql_test -AdministratorLoginPassword $password -Sku $Sku - write-host "New-AzMySqlFlexibleServer -Name $serverName -ResourceGroupName $resourceGroup -AdministratorUserName mysql_test -AdministratorLoginPassword $password" - New-AzMySqlFlexibleServer -Name $serverName -ResourceGroupName $resourceGroup -AdministratorUserName mysql_test -AdministratorLoginPassword $password + # write-host "New-AzMySqlFlexibleServer -Name $serverName -ResourceGroupName $resourceGroup -AdministratorUserName mysql_test -AdministratorLoginPassword $password" + # New-AzMySqlFlexibleServer -Name $serverName -ResourceGroupName $resourceGroup -AdministratorUserName mysql_test -AdministratorLoginPassword $password $envFile = 'env.json' if ($TestMode -eq 'live') { @@ -60,5 +64,5 @@ function cleanupEnv() { # Clean resources you create for testing # Removing resourcegroup will clean all the resources created for testing. write-host "Clean resources you create for testing." - Remove-AzResourceGroup -Name $env.resourceGroup + # Remove-AzResourceGroup -Name $env.resourceGroup } diff --git a/src/MySql/utils/FlexibleServerUtils.ps1 b/src/MySql/utils/FlexibleServerUtils.ps1 new file mode 100644 index 000000000000..8dbec762b3a2 --- /dev/null +++ b/src/MySql/utils/FlexibleServerUtils.ps1 @@ -0,0 +1,24 @@ +function Get-RandomNumbers($Prefix, $Length) { + $Generated = "" + for($i = 0; $i -lt $Length; $i++){ $Generated += Get-Random -Maximum 10 } + return $Prefix + $Generated +} + +function Get-RandomName() { + $Noun = Get-Content -Path "$PSScriptRoot/nouns.txt" | Get-Random + $Adjective = Get-Content -Path "$PSScriptRoot/adjectives.txt" | Get-Random + $Number = Get-Random -Maximum 10 + $RandomName = $Adjective + (Get-Culture).TextInfo.ToTitleCase($Noun) + $Number + return $RandomName + +} + +function Get-GeneratePassword() { + $Password = '' + $Chars = 'abcdefghiklmnoprstuvwxyzABCDEFGHKLMNOPRSTUVWXYZ1234567890' + $SpecialChars = '!$%&/()=?}][{@#*+' + for ($i = 0; $i -lt 10; $i++ ) { $Password += $Chars[(Get-Random -Minimum 0 -Maximum $Chars.Length)] } + for ($i = 0; $i -lt 6; $i++ ) { $Password += $SpecialChars[(Get-Random -Minimum 0 -Maximum $SpecialChars.Length)] } + $Password = ($Password -split '' | Sort-Object {Get-Random}) -join '' + return $Password +} diff --git a/src/MySql/utils/adjectives.txt b/src/MySql/utils/adjectives.txt new file mode 100644 index 000000000000..cea08ef79731 --- /dev/null +++ b/src/MySql/utils/adjectives.txt @@ -0,0 +1,166 @@ +aboard +acidic +admired +adoring +ajar +alert +amazed +amused +angry +annoyed +anxious +aquatic +ardent +ashamed +awed +best +bored +bossy +bouncy +bright +broken +bubbly +calm +cocky +cold +common +content +cranky +crass +cruel +crushed +curious +curly +cynical +dim +direful +dopey +dreary +eager +earthy +eatable +elastic +elderly +empty +enraged +entire +envious +excited +exotic +famous +fearful +fixed +fluid +formal +free +giddy +gleeful +gloomy +goofy +gross +grouchy +guilty +harsh +hateful +hopeful +hostile +hurt +impish +insane +irate +jealous +joyful +junior +kind +last +lazy +lethal +level +liquid +longing +loving +lowly +loyal +macho +mad +male +measly +medical +mellow +merry +mild +misty +moral +morbid +muddled +near +needful +needy +next +noted +obvious +overt +panicky +pensive +picky +pitiful +playful +pleased +private +prize +proud +prudent +puffy +puzzled +rabid +remote +rigid +rowdy +rundown +sad +sane +scared +seemly +selfish +serene +shocked +shoddy +shy +sincere +sinful +smug +solemn +somber +sorry +sour +speedy +starchy +stark +stingy +supreme +swanky +tenuous +third +trusty +typical +uneven +unhappy +unlined +unruly +untrue +upset +valid +venal +verdant +vibrant +violent +vulgar +wacky +weary +weekly +wistful +wornout +worried +yawning +zesty +zippy diff --git a/src/MySql/utils/nouns.txt b/src/MySql/utils/nouns.txt new file mode 100644 index 000000000000..8ea70f70f7a5 --- /dev/null +++ b/src/MySql/utils/nouns.txt @@ -0,0 +1,138 @@ +abalone +apple +auk +avocet +baboon +badger +bagels +basmati +beaver +bittern +boars +bobcat +bongo +buffalo +bustard +cake +camel +caribou +cattle +caviar +cheese +cheetah +chile +chowder +clam +cobra +coconut +cod +colt +coot +cordial +coyote +dingo +donkey +dunbird +dunnock +eagle +eggs +eland +elk +falcon +ferret +fish +garlic +gelding +gerbil +giraffe +gnat +goose +goshawk +granola +grouse +gull +hamster +hare +hawk +hinds +hoopoe +hornet +hound +hyena +ibexe +ibis +iguana +jay +jerky +kapi +kitten +lapwing +lard +linnet +lion +lizard +llama +lollies +macaw +magpie +mare +marten +mole +moth +muesli +oatmeal +oil +opossum +orange +ostrich +owl +ox +oxbird +paella +parrot +peacock +pear +penguin +pepper +pie +plover +polenta +poultry +pudding +quiche +raccoon +raisins +redwing +relish +rice +robin +roedeer +ruffs +salami +salt +sausage +seafowl +shads +shrimp +smelt +snail +snipe +sparrow +stoat +stork +syrup +tacos +tamarin +termite +thrushe +tomatoe +toucan +truffle +turtle +venison +vulture +walrus +wasp +widgeon +wigeon +wildcat \ No newline at end of file From 82a0ba67d1e0a1467ad9bd4a92e04adb1120fa69 Mon Sep 17 00:00:00 2001 From: Daeun Yim Date: Thu, 3 Dec 2020 11:03:40 -0800 Subject: [PATCH 29/51] create customization --- .../custom/New-AzMySqlFlexibleServer.ps1 | 113 +- .../custom/Update-AzMySqlFlexibleServer.ps1 | 4 + src/MySql/docs/Az.MySql.md | 4 +- src/MySql/docs/New-AzMySqlFlexibleServer.md | 226 +- .../docs/Update-AzMySqlFlexibleServer.md | 4 +- .../examples/New-AzMySqlFlexibleServer.md | 143 +- .../test/New-AzMySqlFlexibleServer.Tests.ps1 | 188 +- ...ew-AzMySqlFlexibleServerOld.Recording.json | 3097 +++++++++++++++++ ...ibleServerPublicAccessFirst.Recording.json | 1232 ------- ...AzMySqlFlexibleServerSecond.Recording.json | 1192 ------- ...-AzMySqlFlexibleServerThird.Recording.json | 717 ---- src/MySql/test/utils.ps1 | 3 +- 12 files changed, 3648 insertions(+), 3275 deletions(-) delete mode 100644 src/MySql/test/New-AzMySqlFlexibleServerPublicAccessFirst.Recording.json delete mode 100644 src/MySql/test/New-AzMySqlFlexibleServerSecond.Recording.json delete mode 100644 src/MySql/test/New-AzMySqlFlexibleServerThird.Recording.json diff --git a/src/MySql/custom/New-AzMySqlFlexibleServer.ps1 b/src/MySql/custom/New-AzMySqlFlexibleServer.ps1 index 6e75e4a5dc78..6dc13270ce9c 100644 --- a/src/MySql/custom/New-AzMySqlFlexibleServer.ps1 +++ b/src/MySql/custom/New-AzMySqlFlexibleServer.ps1 @@ -25,91 +25,116 @@ function New-AzMySqlFlexibleServer { [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Description('Creates a new server.')] param( + # [Parameter(ParameterSetName='CreateWithPrivateAccess')] + # [Parameter(ParameterSetName='CreateWithPublicAccess')] [Parameter(HelpMessage = 'The name of the server.')] [Alias('ServerName')] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] [System.String] ${Name}, + # [Parameter(ParameterSetName='CreateWithPrivateAccess')] + # [Parameter(ParameterSetName='CreateWithPublicAccess')] [Parameter(HelpMessage = 'The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal.')] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] [System.String] ${ResourceGroupName}, + # [Parameter(ParameterSetName='CreateWithPrivateAccess')] + # [Parameter(ParameterSetName='CreateWithPublicAccess')] [Parameter(HelpMessage='The subscription ID that identifies an Azure subscription.')] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] ${SubscriptionId}, + # [Parameter(ParameterSetName='CreateWithPrivateAccess')] + # [Parameter(ParameterSetName='CreateWithPublicAccess')] [Parameter(HelpMessage = 'The location the resource resides in.')] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] [System.String] ${Location}, + # [Parameter(ParameterSetName='CreateWithPrivateAccess')] + # [Parameter(ParameterSetName='CreateWithPublicAccess')] [Parameter(HelpMessage = 'Administrator username for the server. Once set, it cannot be changed.')] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] [System.String] ${AdministratorUserName}, + # [Parameter(ParameterSetName='CreateWithPrivateAccess')] + # [Parameter(ParameterSetName='CreateWithPublicAccess')] [Parameter(HelpMessage = 'The password of the administrator. Minimum 8 characters and maximum 128 characters. Password must contain characters from three of the following categories: English uppercase letters, English lowercase letters, numbers, and non-alphanumeric characters.')] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] [System.Security.SecureString] [ValidateNotNullOrEmpty()] ${AdministratorLoginPassword}, + # [Parameter(ParameterSetName='CreateWithPrivateAccess')] + # [Parameter(ParameterSetName='CreateWithPublicAccess')] [Parameter(HelpMessage = 'The name of the sku, typically, tier + family + cores, e.g. Standard_B1ms, Standard_D2ds_v4.')] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] [System.String] ${Sku}, + # [Parameter(ParameterSetName='CreateWithPrivateAccess')] + # [Parameter(ParameterSetName='CreateWithPublicAccess')] [Parameter(HelpMessage = 'Compute tier of the server. Accepted values: Burstable, GeneralPurpose, Memory Optimized. Default: Burstable.')] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] [System.String] ${SkuTier}, + # [Parameter(ParameterSetName='CreateWithPrivateAccess')] + # [Parameter(ParameterSetName='CreateWithPublicAccess')] [Parameter(HelpMessage = "Backup retention days for the server. Day count is between 7 and 35.")] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] [System.Int32] ${BackupRetentionDay}, + # [Parameter(ParameterSetName='CreateWithPrivateAccess')] + # [Parameter(ParameterSetName='CreateWithPublicAccess')] [Parameter(HelpMessage = 'Max storage allowed for a server.')] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] [System.Int32] ${StorageInMb}, + # [Parameter(ParameterSetName='CreateWithPrivateAccess')] + # [Parameter(ParameterSetName='CreateWithPublicAccess')] [Parameter(HelpMessage = 'Application-specific metadata in the form of key-value pairs.')] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateTags]))] [System.Collections.Hashtable] ${Tag}, + # [Parameter(ParameterSetName='CreateWithPrivateAccess')] + # [Parameter(ParameterSetName='CreateWithPublicAccess')] [Parameter(HelpMessage = 'Server version.')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerVersion])] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerVersion] ${Version}, - [Parameter(HelpMessage = 'The virtual network address prefix.')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] - ${AddressPrefix}, - + # [Parameter(ParameterSetName='CreateWithPrivateAccess')] [Parameter(HelpMessage = 'The subnet IP address prefix to use when creating a new vnet in CIDR format. Default value is 10.0.0.0/24.')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.String] ${SubnetPrefix}, + # [Parameter(ParameterSetName='CreateWithPrivateAccess')] [Parameter(HelpMessage = 'The Name or Id of an existing Subnet or name of a new one to create. Please note that the subnet will be delegated to Microsoft.DBforMySQL/flexibleServers. After delegation, this subnet cannot be used for any other type of Azure resources.')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.String] ${Subnet}, + # [Parameter(ParameterSetName='CreateWithPrivateAccess')] [Parameter(HelpMessage = 'The IP address prefix to use when creating a new vnet in CIDR format. Default value is 10.0.0.0/16.')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.String] ${VnetPrefix}, + # [Parameter(ParameterSetName='CreateWithPrivateAccess')] [Parameter(HelpMessage = 'The Name or Id of an existing virtual network or name of a new one to create. The name must be between 2 to 64 characters. The name must begin with a letter or number, end with a letter, number or underscore, and may contain only letters, numbers, underscores, periods, or hyphens.')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.String] ${Vnet}, + # [Parameter(ParameterSetName='CreateWithPublicAccess')] [Parameter(HelpMessage = " Determines the public access. Enter single or range of IP addresses to be included in the allowed list of IPs. IP address ranges must be dash- @@ -117,11 +142,12 @@ function New-AzMySqlFlexibleServer { access from any resources deployed within Azure to access your server. Specifying no IP address sets the server in public access mode but does not create a firewall rule.")] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.String] ${PublicAccess}, + # [Parameter(ParameterSetName='CreateWithPrivateAccess')] + # [Parameter(ParameterSetName='CreateWithPublicAccess')] [Parameter(HelpMessage = 'Enable or disable high availability feature. Default value is Disabled. Default: Disabled.')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] ${HighAvailability}, [Parameter(HelpMessage = 'The credentials, account, tenant, and subscription used for communication with Azure.')] @@ -182,6 +208,8 @@ function New-AzMySqlFlexibleServer { process { try { + Get-Module -ListAvailable + If (!$PSBoundParameters.ContainsKey('Location')) { $PSBoundParameters.Location = 'westus2' } @@ -192,6 +220,10 @@ function New-AzMySqlFlexibleServer { } $PSBoundParameters.AdministratorLoginPassword = . "$PSScriptRoot/../utils/Unprotect-SecureString.ps1" $PSBoundParameters['AdministratorLoginPassword'] + # If (!(Get-Module -ListAvailable -Name Az.Resources)) { + # Throw 'Please install Az.Resources module by entering "Install-Module -Name Az.Resources"' + # } + # Import-Module -Name Az.Resources If(!$PSBoundParameters.ContainsKey('ResourceGroupName')) { $PSBoundParameters.ResourceGroupName = Get-RandomNumbers -Prefix 'group' -Length 10 $Msg = "Creating Resource Group {0}..." -f $PSBoundParameters.ResourceGroupName @@ -200,6 +232,7 @@ function New-AzMySqlFlexibleServer { Find-Module -Name Az.Resources -RequiredVersion 2.0.1 -Repository 'PSGallery' | Save-Module -Path (Join-Path $PSScriptRoot '../generated/modules') } Import-Module -Name Az.Resources -RequiredVersion 2.0.1 + $null = New-AzResourceGroup -Name $PSBoundParameters.ResourceGroupName -Location $PSBoundParameters.Location } Else { @@ -289,7 +322,7 @@ function New-AzMySqlFlexibleServer { Write-Host $Msg $Msg = 'Your server {0} is using sku {1} (Paid Tier). Please refer to https://aka.ms/mysql-pricing for pricing details' -f $PSBoundParameters.Name, $PSBoundParameters.SkuName Write-Host $Msg - $null = Az.MySql.internal\New-AzMySqlFlexibleServer @PSBoundParameters + $Server = Az.MySql.internal\New-AzMySqlFlexibleServer @PSBoundParameters # # Create Database $DatabaseParameter = [Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.Database]::new() @@ -303,15 +336,16 @@ function New-AzMySqlFlexibleServer { $FirewallRuleName = CreateFirewallRule $NetworkParameters $Msg = " - `"databaseName`": `"$DEFAULT_DB_NAME`", - `"id`": `"/subscriptions/$($PSBoundParameters.SubscriptionId)/resourceGroups/$($PSBoundParameters.ResourceGroupName)/providers/Microsoft.DBForMySql/flexibleServers/$($PSBoundParameters.Name)`", - `"location`": `"$($PSBoundParameters.Location)`", - `"password`": `"$($PSBoundParameters.AdministratorLoginPassword)`", - `"resourceGroup`": `"$($PSBoundParameters.ResourceGroupName)`", - `"skuname`": `"$($PSBoundParameters.SkuName)`", - `"username`": `"$($PSBoundParameters.AdministratorLogin)`", - `"version`": `"$($PSBoundParameters.Version)`" - " +`"databaseName`": `"$DEFAULT_DB_NAME`", +`"id`": `"/subscriptions/$($PSBoundParameters.SubscriptionId)/resourceGroups/$($PSBoundParameters.ResourceGroupName)/providers/Microsoft.DBForMySql/flexibleServers/$($PSBoundParameters.Name)`", +`"location`": `"$($PSBoundParameters.Location)`", +`"password`": `"$($PSBoundParameters.AdministratorLoginPassword)`", +`"resourceGroup`": `"$($PSBoundParameters.ResourceGroupName)`", +`"skuname`": `"$($PSBoundParameters.SkuName)`", +`"username`": `"$($PSBoundParameters.AdministratorLogin)`", +`"version`": `"$($PSBoundParameters.Version)`" +" + If ($PSBoundParameters.ContainsKey('DelegatedSubnetArgumentSubnetArmResourceId')) { $Msg += "`"subnetId`": `"$($PSBoundParameters.DelegatedSubnetArgumentSubnetArmResourceId)`"" } @@ -320,6 +354,8 @@ function New-AzMySqlFlexibleServer { } Write-Host $Msg + return $Server + } catch { throw } @@ -328,15 +364,22 @@ function New-AzMySqlFlexibleServer { function CreateNetworkResource($Parameters) { [OutputType([string])] $WarningPreference = 'silentlycontinue' - If (!(Test-Path (Join-Path $PSScriptRoot '../generated/modules/Az.Network'))){ - Find-Module -Name Az.Network -RequiredVersion 3.0.0 -Repository 'PSGallery' | Save-Module -Path (Join-Path $PSScriptRoot '../generated/modules') + # If (!(Test-Path (Join-Path $PSScriptRoot '../generated/modules/Az.Network'))){ + # Find-Module -Name Az.Network -RequiredVersion 3.0.0 -Repository 'PSGallery' | Save-Module -Path (Join-Path $PSScriptRoot '../generated/modules') + # } + # Import-Module -Name Az.Network -RequiredVersion 3.0.0 + If (!(Get-Module -ListAvailable -Name Az.Network)) { + Throw 'Please install Az.Network module 3.0.0 by entering "Install-Module -Name Az.Network -RequiredVersion 3.0.0"' } - Import-Module -Name Az.Network -RequiredVersion 3.0.0 + Else { + Import-Module -Name Az.Network -RequiredVersion 3.0.0 + } + # 1. Error Handling # Raise error when user passes values for both parameters if ($Parameters.Containskey('Subnet') -And $Parameters.ContainsKey('PublicAccess')) { - Write-Error "Incorrect usage : A combination of the parameters -Subnet and -PublicAccess is invalid. Use either one of them." + Throw "Incorrect usage : A combination of the parameters -Subnet and -PublicAccess is invalid. Use either one of them." } # When address space parameters are passed, the only valid combination is : --vnet, --subnet, --vnet-address-prefix, --subnet-address-prefix @@ -344,7 +387,7 @@ function CreateNetworkResource($Parameters) { if (($Parameters.ContainsKey('VnetPrefix') -And !$Parameters.ContainsKey('SubnetPrefix')) -Or (!$Parameters.ContainsKey('VnetPrefix') -And $Parameters.ContainsKey('SubnetPrefix')) -Or ($Parameters.ContainsKey('VnetPrefix') -And $Parameters.ContainsKey('SubnetPrefix') -And (!$Parameters.ContainsKey('Vnet') -Or !$Parameters.ContainsKey('Subnet')))){ - Write-Error "Incorrect usage : --vnet, --subnet, --vnet-address-prefix, --subnet-address-prefix must be supplied together." + Throw "Incorrect usage : --vnet, --subnet, --vnet-address-prefix, --subnet-address-prefix must be supplied together." } } @@ -362,7 +405,7 @@ function CreateNetworkResource($Parameters) { $Delegations = Get-AzDelegation -Subnet $Subnet $Delegations | ForEach-Object {If ($PSItem.ServiceName -ne $DELEGATION_SERVICE_NAME) { $Msg = "Can not use subnet with existing delegations other than {0}" -f $DELEGATION_SERVICE_NAME - Write-Error $Msg + Throw $Msg }} } Catch { # Valid but incorrect delegation $null = $Subnet = Get-AzVirtualNetworkSubnetConfig -ResourceId $Parameters.Subnet @@ -374,7 +417,7 @@ function CreateNetworkResource($Parameters) { } } Else { - Write-Error "The Subnet ID is not a valid form of resource id." + Throw "The Subnet ID is not a valid form of resource id." } } ElseIf ($Parameters.ContainsKey('Vnet') -And !$Parameters.ContainsKey('Subnet')) { @@ -394,7 +437,7 @@ function CreateNetworkResource($Parameters) { IsValidRgLocation $Subnet.Id $Parameters } Else { - Write-Error "Incorrectly formed Vnet id or Vnet name" + Throw "Incorrectly formed Vnet id or Vnet name" } } Else { # Both Vnet and Subnet provided @@ -408,7 +451,7 @@ function CreateNetworkResource($Parameters) { $Msg = "If you pass an address prefix, please consider passing a name (instead of Id) for a subnet or vnet." } Else { $Msg = "If you pass both --vnet and --subnet, consider passing names instead of ids." } - Write-Error $Msg + Throw $Msg } } } @@ -458,7 +501,7 @@ function CreateAndDelegateSubnet($Parameters) { Write-Host $Msg $Subnet = New-AzVirtualNetworkSubnetConfig -Name $Parameters.SubnetName -AddressPrefix $Parameters.SubnetPrefix - New-AzVirtualNetwork -Name $Parameters.VnetName -ResourceGroupName $Parameters.ResourceGroupName -Location $Parameters.Location -AddressPrefix $Parameters.VnetPrefix -Subnet $Subnet + New-AzVirtualNetwork -Name $Parameters.VnetName -ResourceGroupName $Parameters.ResourceGroupName -Location $Parameters.Location -AddressPrefix $Parameters.VnetPrefix -Subnet $Subnet -Force $null = $Vnet = Get-AzVirtualNetwork -Name $Parameters.VnetName -ResourceGroupName $Parameters.ResourceGroupName $null = $Subnet = Get-AzVirtualNetworkSubnetConfig -Name $Parameters.SubnetName -VirtualNetwork $Vnet @@ -489,7 +532,7 @@ function CreateFirewallRule($Parameters) { $StartIp = $Parsed[0] $EndIp = $Parsed[1] } - Else { Write-Error "incorrect usage: --public-access. Acceptable values are \'all\', \'none\',\'\' and \'-\' where startIP and destinationIP ranges from 0.0.0.0 to 255.255.255.255" } + Else { Throw "incorrect usage: --public-access. Acceptable values are \'all\', \'none\',\'\' and \'-\' where startIP and destinationIP ranges from 0.0.0.0 to 255.255.255.255" } If ($StartIp -eq '0.0.0.0' -And $EndIp -eq '0.0.0.0') { $RuleName = "AllowAllAzureServicesAndResourcesWithinAzureIps_" + $Date @@ -505,21 +548,21 @@ function CreateFirewallRule($Parameters) { Write-Host $Msg $FirewallRule = New-AzMySqlFlexibleServerFirewallRule -Name $RuleName -ResourceGroupName $Parameters.ResourceGroupName -ServerName $Parameters.Name -EndIPAddress $EndIp -StartIPAddress $StartIp } catch { - Write-Error "incorrect usage: --public-access. Acceptable values are \'all\', \'none\',\'\' and \'-\' where startIP and destinationIP ranges from 0.0.0.0 to 255.255.255.255" + Throw "incorrect usage: --public-access. Acceptable values are \'all\', \'none\',\'\' and \'-\' where startIP and destinationIP ranges from 0.0.0.0 to 255.255.255.255" } } } Return $FirewallRule.Name } function IsValidVnetId($Rid){ - $VnetFormat = "\/subscriptions\/[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}\/resourceGroups\/[-\w\._\(\)]+\/providers\/Microsoft.Network\/VirtualNetworks\/[^<>%&:\\?/]{1,260}$" + $VnetFormat = "\/subscriptions\/[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}\/resourceGroups\/[-\w\._\(\)]+\/providers\/Microsoft.Network\/virtualNetworks\/[^<>%&:\\?/]{1,260}$" If ( $Rid -match $VnetFormat ) { return $True } return $False } function IsValidSubnetId($Rid){ - $SubnetFormat = "\/subscriptions\/[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}\/resourceGroups/[-\w\._\(\)]+\/providers\/Microsoft.Network\/VirtualNetworks\/[^<>%&:\\?/]{1,260}\/subnets\/[^<>%&:\\?/]{1,260}$" + $SubnetFormat = "\/subscriptions\/[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}\/resourceGroups/[-\w\._\(\)]+\/providers\/Microsoft.Network\/virtualNetworks\/[^<>%&:\\?/]{1,260}\/subnets\/[^<>%&:\\?/]{1,260}$" IF ( $Rid -match $SubnetFormat ) { return $True } @@ -546,5 +589,5 @@ function IsValidRgLocation($ResourceId, $Parameters){ If ($Parameters.SubscriptionId -eq $ParsedResults.SubscriptionId -And $Parameters.Location -eq $ParsedResults.Location) { Return $True } - Write-Error "Incorrect Usage : The location and subscription of the server, Vnet and Subnet should be same." + Throw "Incorrect Usage : The location and subscription of the server, Vnet and Subnet should be same." } diff --git a/src/MySql/custom/Update-AzMySqlFlexibleServer.ps1 b/src/MySql/custom/Update-AzMySqlFlexibleServer.ps1 index 33e699e24137..cb54c5cc297c 100644 --- a/src/MySql/custom/Update-AzMySqlFlexibleServer.ps1 +++ b/src/MySql/custom/Update-AzMySqlFlexibleServer.ps1 @@ -155,6 +155,10 @@ function Update-AzMySqlFlexibleServer { process { try { + if ($PSBoundParameters.ContainsKey('AdministratorLoginPassword')) { + $PSBoundParameters.AdministratorLoginPassword = . "$PSScriptRoot/../utils/Unprotect-SecureString.ps1" $PSBoundParameters['AdministratorLoginPassword'] + } + if ($PSBoundParameters.ContainsKey('StorageInMb')) { $PSBoundParameters.StorageProfileStorageMb = $PSBoundParameters['StorageInMb'] $null = $PSBoundParameters.Remove('StorageInMb') diff --git a/src/MySql/docs/Az.MySql.md b/src/MySql/docs/Az.MySql.md index 0e6ef0286b5d..e4e309ae7684 100644 --- a/src/MySql/docs/Az.MySql.md +++ b/src/MySql/docs/Az.MySql.md @@ -1,6 +1,6 @@ --- Module Name: Az.MySql -Module Guid: fc8b3a19-b288-4f67-a4ff-b2d82a11cd6a +Module Guid: 3384c227-22b0-4f4d-b069-b8dcf7a6bc74 Download Help Link: https://docs.microsoft.com/en-us/powershell/module/az.mysql Help Version: 1.0.0.0 Locale: en-US @@ -114,7 +114,7 @@ Creates a new firewall rule or updates an existing firewall rule. ### [Update-AzMySqlFlexibleServer](Update-AzMySqlFlexibleServer.md) Updates an existing server. The request body can contain one to many of the properties present in the normal server definition. -Use Update-AzMySqlConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count. +Use Update-AzMySqlFlexibleServerConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count. ### [Update-AzMySqlFlexibleServerConfiguration](Update-AzMySqlFlexibleServerConfiguration.md) diff --git a/src/MySql/docs/New-AzMySqlFlexibleServer.md b/src/MySql/docs/New-AzMySqlFlexibleServer.md index fac5fb31d647..01543410f74c 100644 --- a/src/MySql/docs/New-AzMySqlFlexibleServer.md +++ b/src/MySql/docs/New-AzMySqlFlexibleServer.md @@ -13,11 +13,12 @@ Creates a new server. ## SYNTAX ``` -New-AzMySqlFlexibleServer -Name -ResourceGroupName - -AdministratorLoginPassword -AdministratorUserName [-SubscriptionId ] - [-BackupRetentionDay ] [-Location ] [-Sku ] [-SkuTier ] [-StorageInMb ] - [-Tag ] [-Version ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] - [-WhatIf] [] +New-AzMySqlFlexibleServer [-Name ] [-ResourceGroupName ] [-SubscriptionId ] + [-AdministratorLoginPassword ] [-AdministratorUserName ] [-BackupRetentionDay ] + [-HighAvailability ] [-Location ] [-PublicAccess ] [-Sku ] + [-SkuTier ] [-StorageInMb ] [-Subnet ] [-SubnetPrefix ] [-Tag ] + [-Version ] [-Vnet ] [-VnetPrefix ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -25,11 +26,27 @@ Creates a new server. ## EXAMPLES -### Example 1: Create a new MySql flexible server +### Example 1: Create a new MySql flexible server with arguments ```powershell PS C:\> $password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force PS C:\> New-AzMySqlFlexibleServer -Name mysql-test -ResourceGroupName PowershellMySqlTest \ --Location eastus -AdministratorUserName mysqltest -AdministratorLoginPassword $password -Sku Standard_B1ms -SkuTier Burstable -Version 12 -StorageInMb 10240 +-Location eastus -AdministratorUserName mysqltest -AdministratorLoginPassword $password -Sku Standard_B1ms -SkuTier Burstable -Version 12 -StorageInMb 10240 -PublicAccess none + +Checking the existence of the resource group PowershellMySqlTest ... +Resource group PowershellMySqlTest exists ? : True +Creating MySQL server mysql-test in group MySqlTest... +Your server mysql-test is using sku Standard_B1ms (Paid Tier). Please refer to https://aka.ms/mysql-pricing for pricing details + + +"databaseName": "flexibleserverdb", +"id": "/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test", +"location": "westus2", +"password": "***************", +"resourceGroup": "MySqlTest", +"skuname": "Standard_B1ms", +"username": "mysqltest", +"version": "5.7" + Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ---- -------- ------------------ ------- ----------------------- ------------ ------------- @@ -40,18 +57,134 @@ mysql-test West US 2 mysqltest 5.7 10240 Standar ### Example 2: Create a new MySql flexible server with default setting ```powershell -PS C:\> $password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force -PS C:\> New-AzMySqlFlexibleServer -Name mysql-test -ResourceGroupName PowershellMySqlTest \ --AdministratorUserName mysqltest -AdministratorLoginPassword $password - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ------------ ------------- -mysql-test West US 2 mysqltest 5.7 131072 Standard_B1ms Burstable +PS C:\> New-AzMySqlFlexibleServer + +Creating resource group group00000000... +Creating new vnet VNETserver00000000 in resource group group00000000 +Creating new subnet Subnetserver00000000 in resource group group00000000 and delegating it to Microsoft.DBforMySQL/flexibleServers +Creating MySQL server server00000000 in group group00000000... +Your server mysql-test is using sku Standard_B1ms (Paid Tier). Please refer to https://aka.ms/mysql-pricing for pricing details +Creating database flexibleserverdb... + +"databaseName": "flexibleserverdb", +"id": "/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/group00000000/providers/Microsoft.DBForMySql/flexibleServers/server00000000", +"location": "westus2", +"password": "***************", +"resourceGroup": "group00000000", +"skuname": "Standard_B1ms", +"username": "seemlyHyena2", +"version": "5.7" ``` -Create MySql server with default values. +This cmdlet creates MySql flexible server with default parameter values and provision the server inside a new virtual network and have a subnet delegated to the server. The default values of location is West US 2, Sku is Standard_B1ms, Sku tier is Burstable, and storage size is 10GiB. +### Example 3: Create a new MySql flexible server with virtual network +```powershell +PS C:\> $Vnet = 'vnetname' +PS C:\> New-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Vnet $Vnet + +or + +PS C:\> $Vnet = '/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/PowershellMySqlTest/providers/Microsoft.Network/virtualNetworks/vnetname' +PS C:\> New-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Vnet $Vnet + +Resource group PowershellMySqlTest exists ? : True +You have supplied a vnet Id/name. Verifying its existence... +Creating new vnet vnetname in resource group PowershellMySqlTest +Creating new subnet Subnetserver00000000 in resource group PowershellMySqlTest and delegating it to Microsoft.DBforMySQL/flexibleServers +Creating MySQL server server00000000 in group PowershellMySqlTest... +Your server server00000000 is using sku Standard_B1ms (Paid Tier). Please refer to https://aka.ms/mysql-pricing for pricing details +Creating database flexibleserverdb... + +"databaseName": "flexibleserverdb", +"id": "/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test", +"location": "westus2", +"password": "***************", +"resourceGroup": "PowershellMySqlTest", +"skuname": "Standard_B1ms", +"username": "seemlyHyena2", +"version": "5.7" +"subnetId": "/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/PowershellMySqlTest/providers/Microsoft.Network/virtualNetwork/vnetname/subnets/Subnetserver00000000" + +``` + +This cmdlet creates MySql flexible server with vnet id or vnet name provided by a user. +If the virtual network doesn't exist, the cmdlet creates one. + +### Example 4: Create a new MySql flexible server with virtual network and subnet name +```powershell +PS C:\> New-AzMySqlFlexibleServer -Name mysql-test -ResourceGroupName PowershellMySqlTest -Vnet mysql-vnet -Subnet mysql-subnet -VnetPrefix 10.0.0.0/16 -SubnetPrefix 10.0.0.0/24 + +Resource group PowershellMySqlTest exists ? : True +Creating new vnet mysql-vnet in resource group PowershellMySqlTest +Creating new subnet mysql-subnet in resource group PowershellMySqlTest and delegating it to Microsoft.DBforMySQL/flexibleServers +Creating MySQL server mysql-test in group PowershellMySqlTest... +Your server mysql-test is using sku Standard_B1ms (Paid Tier). Please refer to https://aka.ms/mysql-pricing for pricing details +Creating database flexibleserverdb... + +"databaseName": "flexibleserverdb", +"id": "/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test", +"location": "westus2", +"password": "***************", +"resourceGroup": "PowershellMySqlTest", +"skuname": "Standard_B1ms", +"username": "seemlyHyena2", +"version": "5.7" +"subnetId": "/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/PowershellMySqlTest/providers/Microsoft.Network/virtualNetwork/mysql-vnet/subnets/mysql-subnet" + +``` + +This cmdlet creates MySql flexible server with vnet name, subnet name, vnet prefix, and subnet prefix. +If the virtual network and subnet don't exist, the cmdlet creates one. + +### Example 7: Create a new MySql flexible server with public access to all IPs +```powershell +PS C:\> New-AzMySqlFlexibleServer -Name mysql-test -ResourceGroupName PowershellMySqlTest -PublicAccess All + +Resource group PowershellMySqlTest exists ? : True +Creating MySQL server mysql-test in group PowershellMySqlTest... +Your server mysql-test is using sku Standard_B1ms (Paid Tier). Please refer to https://aka.ms/mysql-pricing for pricing details +Creating database flexibleserverdb... +Configuring server firewall rule to accept connections from 0.0.0.0 to 255.255.255.255 + +"databaseName": "flexibleserverdb", +"id": "/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test", +"location": "westus2", +"password": "***************", +"resourceGroup": "PowershellMySqlTest", +"skuname": "Standard_B1ms", +"username": "seemlyHyena2", +"version": "5.7" +"firewallName": "AllowAll_2020_00_00-00_00-00-00" +``` + +This cmdlet creates MySql flexible server open to all IP addresses. + +### Example 8: Create a new MySql flexible server with firewall +```powershell +PS C:\> New-AzMySqlFlexibleServer -Name mysql-test -ResourceGroupName PowershellMySqlTest -PublicAccess 10.10.10.10-10.10.10.12 + +Resource group PowershellMySqlTest exists ? : True +Creating MySQL server mysql-test in group PowershellMySqlTest... +Your server mysql-test is using sku Standard_B1ms (Paid Tier). Please refer to https://aka.ms/mysql-pricing for pricing details +Creating database flexibleserverdb... +Configuring server firewall rule to accept connections from 10.10.10.10 to 10.10.10.12 + +"databaseName": "flexibleserverdb", +"id": "/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test", +"location": "westus2", +"password": "***************", +"resourceGroup": "PowershellMySqlTest", +"skuname": "Standard_B1ms", +"username": "seemlyHyena2", +"version": "5.7" +"firewallName": "FirewallIPAddress__2020_00_00-00_00-00-00" + +``` + +This cmdlet creates MySql flexible server open to specified IP addresses. + ## PARAMETERS ### -AdministratorLoginPassword @@ -64,7 +197,7 @@ Type: System.Security.SecureString Parameter Sets: (All) Aliases: -Required: True +Required: False Position: Named Default value: None Accept pipeline input: False @@ -80,7 +213,7 @@ Type: System.String Parameter Sets: (All) Aliases: -Required: True +Required: False Position: Named Default value: None Accept pipeline input: False @@ -133,6 +266,23 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -HighAvailability +Enable or disable high availability feature. +Default value is Disabled. +Default: Disabled. + +```yaml +Type: System.Object +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Location The location the resource resides in. @@ -156,7 +306,7 @@ Type: System.String Parameter Sets: (All) Aliases: ServerName -Required: True +Required: False Position: Named Default value: None Accept pipeline input: False @@ -178,6 +328,29 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -PublicAccess +Determines the public access. +Enter single or range of IP addresses to be + included in the allowed list of IPs. +IP address ranges must be dash- + separated and not contain any spaces. +Specifying 0.0.0.0 allows public + access from any resources deployed within Azure to access your server. + Specifying no IP address sets the server in public access mode but does + not create a firewall rule. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal. @@ -186,7 +359,7 @@ Type: System.String Parameter Sets: (All) Aliases: -Required: True +Required: False Position: Named Default value: None Accept pipeline input: False @@ -243,10 +416,11 @@ Accept wildcard characters: False ### -Subnet The Name or Id of an existing Subnet or name of a new one to create. -Please note that the subnet will be delegated to Microsoft.DBforPostgreSQL/flexibleServers/Microsoft.DBforMySQL/flexibleServers.After delegation, this subnet cannot be used for any other type of Azure resources. +Please note that the subnet will be delegated to Microsoft.DBforMySQL/flexibleServers. +After delegation, this subnet cannot be used for any other type of Azure resources. ```yaml -Type: System.Object +Type: System.String Parameter Sets: (All) Aliases: @@ -258,11 +432,11 @@ Accept wildcard characters: False ``` ### -SubnetPrefix -The subnet IP address prefix to use when creating a new VNet in CIDR format. +The subnet IP address prefix to use when creating a new vnet in CIDR format. Default value is 10.0.0.0/24. ```yaml -Type: System.Object +Type: System.String Parameter Sets: (All) Aliases: @@ -324,7 +498,7 @@ The name must be between 2 to 64 characters. The name must begin with a letter or number, end with a letter, number or underscore, and may contain only letters, numbers, underscores, periods, or hyphens. ```yaml -Type: System.Object +Type: System.String Parameter Sets: (All) Aliases: @@ -336,11 +510,11 @@ Accept wildcard characters: False ``` ### -VnetPrefix -The IP address prefix to use when creating a new virtual network in CIDR format. +The IP address prefix to use when creating a new vnet in CIDR format. Default value is 10.0.0.0/16. ```yaml -Type: System.Object +Type: System.String Parameter Sets: (All) Aliases: diff --git a/src/MySql/docs/Update-AzMySqlFlexibleServer.md b/src/MySql/docs/Update-AzMySqlFlexibleServer.md index 0a70d8f9f25f..64e301cd5c2a 100644 --- a/src/MySql/docs/Update-AzMySqlFlexibleServer.md +++ b/src/MySql/docs/Update-AzMySqlFlexibleServer.md @@ -10,7 +10,7 @@ schema: 2.0.0 ## SYNOPSIS Updates an existing server. The request body can contain one to many of the properties present in the normal server definition. -Use Update-AzMySqlConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count. +Use Update-AzMySqlFlexibleServerConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count. ## SYNTAX @@ -35,7 +35,7 @@ Update-AzMySqlFlexibleServer -InputObject [-AdministratorLoginP ## DESCRIPTION Updates an existing server. The request body can contain one to many of the properties present in the normal server definition. -Use Update-AzMySqlConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count. +Use Update-AzMySqlFlexibleServerConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count. ## EXAMPLES diff --git a/src/MySql/examples/New-AzMySqlFlexibleServer.md b/src/MySql/examples/New-AzMySqlFlexibleServer.md index 5fce9bb88d4c..f6735666ad85 100644 --- a/src/MySql/examples/New-AzMySqlFlexibleServer.md +++ b/src/MySql/examples/New-AzMySqlFlexibleServer.md @@ -1,8 +1,24 @@ -### Example 1: Create a new MySql flexible server +### Example 1: Create a new MySql flexible server with arguments ```powershell PS C:\> $password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force PS C:\> New-AzMySqlFlexibleServer -Name mysql-test -ResourceGroupName PowershellMySqlTest \ --Location eastus -AdministratorUserName mysqltest -AdministratorLoginPassword $password -Sku Standard_B1ms -SkuTier Burstable -Version 12 -StorageInMb 10240 +-Location eastus -AdministratorUserName mysqltest -AdministratorLoginPassword $password -Sku Standard_B1ms -SkuTier Burstable -Version 12 -StorageInMb 10240 -PublicAccess none + +Checking the existence of the resource group PowershellMySqlTest ... +Resource group PowershellMySqlTest exists ? : True +Creating MySQL server mysql-test in group MySqlTest... +Your server mysql-test is using sku Standard_B1ms (Paid Tier). Please refer to https://aka.ms/mysql-pricing for pricing details + + +"databaseName": "flexibleserverdb", +"id": "/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test", +"location": "westus2", +"password": "***************", +"resourceGroup": "MySqlTest", +"skuname": "Standard_B1ms", +"username": "mysqltest", +"version": "5.7" + Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ---- -------- ------------------ ------- ----------------------- ------------ ------------- @@ -12,13 +28,122 @@ mysql-test West US 2 mysqltest 5.7 10240 Standar ### Example 2: Create a new MySql flexible server with default setting ```powershell -PS C:\> $password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force -PS C:\> New-AzMySqlFlexibleServer -Name mysql-test -ResourceGroupName PowershellMySqlTest \ --AdministratorUserName mysqltest -AdministratorLoginPassword $password +PS C:\> New-AzMySqlFlexibleServer + +Creating resource group group00000000... +Creating new vnet VNETserver00000000 in resource group group00000000 +Creating new subnet Subnetserver00000000 in resource group group00000000 and delegating it to Microsoft.DBforMySQL/flexibleServers +Creating MySQL server server00000000 in group group00000000... +Your server mysql-test is using sku Standard_B1ms (Paid Tier). Please refer to https://aka.ms/mysql-pricing for pricing details +Creating database flexibleserverdb... + +"databaseName": "flexibleserverdb", +"id": "/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/group00000000/providers/Microsoft.DBForMySql/flexibleServers/server00000000", +"location": "westus2", +"password": "***************", +"resourceGroup": "group00000000", +"skuname": "Standard_B1ms", +"username": "seemlyHyena2", +"version": "5.7" +``` +This cmdlet creates MySql flexible server with default parameter values and provision the server inside a new virtual network and have a subnet delegated to the server. The default values of location is West US 2, Sku is Standard_B1ms, Sku tier is Burstable, and storage size is 10GiB. + +### Example 3: Create a new MySql flexible server with virtual network +```powershell +PS C:\> $Vnet = 'vnetname' +PS C:\> New-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Vnet $Vnet + +or + +PS C:\> $Vnet = '/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/PowershellMySqlTest/providers/Microsoft.Network/virtualNetworks/vnetname' +PS C:\> New-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Vnet $Vnet + +Resource group PowershellMySqlTest exists ? : True +You have supplied a vnet Id/name. Verifying its existence... +Creating new vnet vnetname in resource group PowershellMySqlTest +Creating new subnet Subnetserver00000000 in resource group PowershellMySqlTest and delegating it to Microsoft.DBforMySQL/flexibleServers +Creating MySQL server server00000000 in group PowershellMySqlTest... +Your server server00000000 is using sku Standard_B1ms (Paid Tier). Please refer to https://aka.ms/mysql-pricing for pricing details +Creating database flexibleserverdb... + +"databaseName": "flexibleserverdb", +"id": "/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test", +"location": "westus2", +"password": "***************", +"resourceGroup": "PowershellMySqlTest", +"skuname": "Standard_B1ms", +"username": "seemlyHyena2", +"version": "5.7" +"subnetId": "/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/PowershellMySqlTest/providers/Microsoft.Network/virtualNetwork/vnetname/subnets/Subnetserver00000000" -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ------------ ------------- -mysql-test West US 2 mysqltest 5.7 131072 Standard_B1ms Burstable ``` +This cmdlet creates MySql flexible server with vnet id or vnet name provided by a user. If the virtual network doesn't exist, the cmdlet creates one. -Create MySql server with default values. The default values of location is West US 2, Sku is Standard_B1ms, Sku tier is Burstable, and storage size is 10GiB. \ No newline at end of file +### Example 4: Create a new MySql flexible server with virtual network and subnet name +```powershell +PS C:\> New-AzMySqlFlexibleServer -Name mysql-test -ResourceGroupName PowershellMySqlTest -Vnet mysql-vnet -Subnet mysql-subnet -VnetPrefix 10.0.0.0/16 -SubnetPrefix 10.0.0.0/24 + +Resource group PowershellMySqlTest exists ? : True +Creating new vnet mysql-vnet in resource group PowershellMySqlTest +Creating new subnet mysql-subnet in resource group PowershellMySqlTest and delegating it to Microsoft.DBforMySQL/flexibleServers +Creating MySQL server mysql-test in group PowershellMySqlTest... +Your server mysql-test is using sku Standard_B1ms (Paid Tier). Please refer to https://aka.ms/mysql-pricing for pricing details +Creating database flexibleserverdb... + +"databaseName": "flexibleserverdb", +"id": "/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test", +"location": "westus2", +"password": "***************", +"resourceGroup": "PowershellMySqlTest", +"skuname": "Standard_B1ms", +"username": "seemlyHyena2", +"version": "5.7" +"subnetId": "/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/PowershellMySqlTest/providers/Microsoft.Network/virtualNetwork/mysql-vnet/subnets/mysql-subnet" + +``` +This cmdlet creates MySql flexible server with vnet name, subnet name, vnet prefix, and subnet prefix. If the virtual network and subnet don't exist, the cmdlet creates one. + +### Example 7: Create a new MySql flexible server with public access to all IPs +```powershell +PS C:\> New-AzMySqlFlexibleServer -Name mysql-test -ResourceGroupName PowershellMySqlTest -PublicAccess All + +Resource group PowershellMySqlTest exists ? : True +Creating MySQL server mysql-test in group PowershellMySqlTest... +Your server mysql-test is using sku Standard_B1ms (Paid Tier). Please refer to https://aka.ms/mysql-pricing for pricing details +Creating database flexibleserverdb... +Configuring server firewall rule to accept connections from 0.0.0.0 to 255.255.255.255 + +"databaseName": "flexibleserverdb", +"id": "/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test", +"location": "westus2", +"password": "***************", +"resourceGroup": "PowershellMySqlTest", +"skuname": "Standard_B1ms", +"username": "seemlyHyena2", +"version": "5.7" +"firewallName": "AllowAll_2020_00_00-00_00-00-00" +``` +This cmdlet creates MySql flexible server open to all IP addresses. + +### Example 8: Create a new MySql flexible server with firewall +```powershell +PS C:\> New-AzMySqlFlexibleServer -Name mysql-test -ResourceGroupName PowershellMySqlTest -PublicAccess 10.10.10.10-10.10.10.12 + +Resource group PowershellMySqlTest exists ? : True +Creating MySQL server mysql-test in group PowershellMySqlTest... +Your server mysql-test is using sku Standard_B1ms (Paid Tier). Please refer to https://aka.ms/mysql-pricing for pricing details +Creating database flexibleserverdb... +Configuring server firewall rule to accept connections from 10.10.10.10 to 10.10.10.12 + +"databaseName": "flexibleserverdb", +"id": "/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test", +"location": "westus2", +"password": "***************", +"resourceGroup": "PowershellMySqlTest", +"skuname": "Standard_B1ms", +"username": "seemlyHyena2", +"version": "5.7" +"firewallName": "FirewallIPAddress__2020_00_00-00_00-00-00" + +``` +This cmdlet creates MySql flexible server open to specified IP addresses. diff --git a/src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 b/src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 index 698c231082b4..9c1812067136 100644 --- a/src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 +++ b/src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 @@ -15,8 +15,24 @@ $DEFAULT_DB_NAME = 'flexibleserverdb' $DELEGATION_SERVICE_NAME = "Microsoft.DBforMySQL/flexibleServers" $DEFAULT_VNET_PREFIX = '10.0.0.0/16' $DEFAULT_SUBNET_PREFIX = '10.0.0.0/24' +Import-Module -Name Az.Network -RequiredVersion 3.0.0 +Import-Module -Name Az.Resources -RequiredVersion 2.0.1 Describe 'New-AzMySqlFlexibleServer' { + function ValidateSubnetVnet($Server, $Subnet){ + $Server.DelegatedSubnetArgumentSubnetArmResourceId | Should -Be $Subnet.Id + $Delegation = Get-AzDelegation -Name Microsoft.DBforMySQL/flexibleServers -Subnet $Subnet + $Delegation.ServiceName | Should -Be $DELEGATION_SERVICE_NAME + } + + function RemoveServerVnet($Vnet, $Subnet){ + Remove-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName2 + Start-Sleep -Seconds 450 + $Subnet = Remove-AzDelegation -Name $DELEGATION_SERVICE_NAME -Subnet $Subnet + Set-AzVirtualNetwork -VirtualNetwork $Vnet + Remove-AzVirtualNetwork -Name $Vnet.Name -ResourceGroupName $env.resourceGroup -Force + } + # It 'CreateExpanded' { # { # [SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] @@ -65,8 +81,8 @@ Describe 'New-AzMySqlFlexibleServer' { # $Splits = $Server.Id -Split "/" # $ResourceGroupName = $Splits[4] - # $Subnet = Get-AzVirtualNetwork -Name Vnet + $Server.Name -ResourceGroupName $ResourceGroupName | Get-AzVirtualNetworkSubnetConfig -Name Subnet + $Server.Name - # $Delegation = Get-AzDelegation -Name Microsoft.DBforMySQL/flexibleServers -Subnet $subnet + # $SubnetName = 'Subnet' + $Server.Name + # $Subnet = Get-AzVirtualNetwork -Name Vnet + $Server.Name -ResourceGroupName $ResourceGroupName | Get-AzVirtualNetworkSubnetConfig -Name $SubnetName # $Server.SkuName | Should -Be "Standard_B1ms" # $Server.SkuTier | Should -Be "Burstable" @@ -74,96 +90,150 @@ Describe 'New-AzMySqlFlexibleServer' { # $Server.StorageProfileBackupRetentionDay | Should -Be 7 # $Server.Location | Should -Be "West US 2" - # $Server.DelegatedSubnetArgumentsSubnetArmResourceId | Should -BeLike "\/subscriptions\/[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}\/resourceGroups/[-\w\._\(\)]+\/providers\/Microsoft.Network\/VirtualNetworks\/Vnet$([regex]::escape($Server.Name))\/subnets\/Subnet$([regex]::escape($Server.Name))$" - # $Delegation.ServiceName | Should -Be $DELEGATION_SERVICE_NAME + # ValidateSubnetVnet $Server $Subnet + # RemoveServerVnet $Server $Vnet $Subnet - # Get-AzMySqlFlexibleServerDatabase -ResourceGroupName $ResourceGroupName -Name $DEFAULT_DB_NAME -ServerName $Server.Name # } | Should -Not -Throw # } It 'VnetIdScenario' { { - # valid vnet Id and the vnet exists - # New-AzMySqlFlexibleServer - # New-AzMySqlFlexibleServer -ResourceGroupName group4475111595 -Subnet /subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group4475111595/providers/Microsoft.Network/virtualNetworks/mysqlvnet2/subnets/Subnetserver8139643265 - # New-AzMySqlFlexibleServer -ResourceGroupName group4475111595 -Vnet /subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group4475111595/providers/Microsoft.Network/virtualNetworks/mysqlvnet2 + # valid vnet Id and the vnet exists (subnet does not exist) + # $Vnet = New-AzVirtualNetwork -Name $env.VNetName -ResourceGroupName $env.resourceGroup -Location $env.Location -AddressPrefix $DEFAULT_VNET_PREFIX -Force + # New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Vnet $Vnet.Id + # $Subnet = Get-AzVirtualNetworkSubnetConfig -ResourceId "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.Network/virtualNetworks/$($env.VNetName)/subnets/Subnet$($env.serverName2)" + # $Server = Get-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup - # $Vnet = New-AzVirtualNetwork -Name mysqltestvnet3 -ResourceGroupName group4475111595 -Location $env.Location -AddressPrefix $DEFAULT_VNET_PREFIX - # New-AzMySqlFlexibleServer -ResourceGroupName group4475111595 -Vnet mysqltestvnet3 + # ValidateSubnetVnet $Server $Subnet + # RemoveServerVnet $Vnet $Subnet - New-AzMySqlFlexibleServer -ResourceGroupName group4475111595 -Vnet mysqltestvnet2 -Subnet mysqltestsubnet2 -VnetPrefix 12.0.0.0/16 -SubnetPrefix 12.0.0.0/24 + # valid vnet Id but the vnet doesn't exist => Re Record + $VnetId = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.Network/virtualNetworks/nonexistingvnetforpowershelltest" + New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Vnet $VnetId + $Server = Get-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup + + $Vnet = Get-AzVirtualNetwork -Name $env.VNetName -ResourceGroupName $env.resourceGroup + $SubnetId = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.Network/virtualNetworks/nonexistingvnetforpowershelltest" + "/subnets/Subnet$($env.serverName2)" + $Subnet = Get-AzVirtualNetworkSubnetConfig -ResourceId $SubnetId - # $Vnet = New-AzVirtualNetwork -Name $env.VNetName -ResourceGroupName $env.resourceGroup -Location $env.Location -AddressPrefix $DEFAULT_VNET_PREFIX - # $Server = New-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Vnet $Vnet.Id - # $Server.DelegatedSubnetArgumentsSubnetArmResourceId | Should -BeLike "\/subscriptions\/[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}\/resourceGroups/[-\w\._\(\)]+\/providers\/Microsoft.Network\/VirtualNetworks\/Vnet$([regex]::escape($Server.Name))\/subnets\/Subnet$([regex]::escape($Server.Name))$" - # $Delegation = Get-AzDelegation -Name Microsoft.DBforMySQL/flexibleServers -Subnet $subnet - # $Delegation.ServiceName | Should -Be $DELEGATION_SERVICE_NAME - - # valid vnet Id but the vnet doesn't exist - - - # invalid vnet Id - + ValidateSubnetVnet $Server $Subnet + RemoveServerVnet $Vnet $Subnet } | Should -Not -Throw + { + # invalid vnet Id + $VnetId = "/subscriptions/00000-000-000000000000/resourceGroups/providers/Microsoft.Network/virtualNetworks/Vnet/Wrong/Vnet/itis" + New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Vnet $VnetId + } | Should -Throw } It 'SubnetIdScenario' { { - # valid subnet Id and the subnet exists - + # valid subnet Id and the subnet exists without delegation + $Subnet = New-AzVirtualNetworkSubnetConfig -Name $env.SubnetName -AddressPrefix $DEFAULT_SUBNET_PREFIX + $Vnet = New-AzVirtualNetwork -Name $env.VNetName -ResourceGroupName $env.resourceGroup -Location $env.location -AddressPrefix $DEFAULT_VNET_PREFIX -Subnet $Subnet -Force + New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Subnet $Subnet.Id + $Server = Get-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup + $Subnet = Get-AzVirtualNetworkSubnetConfig -Name $env.SubnetName -VirtualNetwork $Vnet + + ValidateSubnetVnet $Server $Subnet + RemoveServerVnet $Vnet $Subnet + + # valid subnet Id and the subnet exists without delegation, different resource group + $Subnet = New-AzVirtualNetworkSubnetConfig -Name $env.SubnetName -AddressPrefix $DEFAULT_SUBNET_PREFIX + $Vnet = New-AzVirtualNetwork -Name $env.VNetName -ResourceGroupName MySqlTest2 -Location $env.location -AddressPrefix $DEFAULT_VNET_PREFIX -Subnet $Subnet -Force + New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Vnet $Vnet.Id + $Server = Get-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup + $Subnet = Get-AzVirtualNetworkSubnetConfig -Name $env.SubnetName -VirtualNetwork $Vnet + + ValidateSubnetVnet $Server $Subnet + RemoveServerVnet $Vnet $Subnet + + # valid subnet Id and the subnet exists with delegation + $Subnet = New-AzVirtualNetworkSubnetConfig -Name $env.SubnetName -AddressPrefix $DEFAULT_SUBNET_PREFIX + $Vnet = New-AzVirtualNetwork -Name $env.VNetName -ResourceGroupName $env.resourceGroup -Location $env.location -AddressPrefix $DEFAULT_VNET_PREFIX -Subnet $Subnet -Force + $Subnet = Add-AzDelegation -Name $DELEGATION_SERVICE_NAME -ServiceName $DELEGATION_SERVICE_NAME -Subnet $Subnet -Force + Set-AzVirtualNetwork -VirtualNetwork $Vnet + New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Subnet $Subnet.Id + $Server = Get-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup + $Subnet = Get-AzVirtualNetworkSubnetConfig -Name $env.SubnetName -VirtualNetwork $Vnet + + ValidateSubnetVnet $Server $Subnet + RemoveServerVnet $Vnet $Subnet # valid subnet Id but the subnet doesn't exist + $SubnetId = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.Network/virtualNetworks\nonexistingvnetforpowershelltest/subnets/nonexistingsubnetforpowershelltest" + New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Subnet $SubnetId + $Subnet = Get-AzVirtualNetworkSubnetConfig -ResourceId $SubnetId + $Server = Get-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup - + ValidateSubnetVnet $Server $Subnet + RemoveServerVnet $Vnet $Subnet + } | Should -Not -Throw + { # invalid subnet Id + $SubnetId = "/subscriptions/00000-000-000000000000/resourceGroups/providers/Microsoft.Network/VirtualNetworks/Wrong/subnetss/wrong" + New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Subnet $SubnetId - - - } | Should -Not -Throw + } | Should -Throw + { + # invalid delegation on the subnet + $Subnet = New-AzVirtualNetworkSubnetConfig -Name $env.SubnetName -AddressPrefix $DEFAULT_SUBNET_PREFIX + $Vnet = New-AzVirtualNetwork -Name $env.VNetName -ResourceGroupName $env.resourceGroup -Location $env.location -AddressPrefix $DEFAULT_VNET_PREFIX -Subnet $Subnet -Force + $Subnet = Add-AzDelegation -Name "faultydelegation" -ServiceName "Microsoft.Sql/servers" -Subnet $Subnet + Set-AzVirtualNetwork -VirtualNetwork $Vnet + New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Subnet $Subnet.Id + } | Should -Throw + $Subnet = Remove-AzDelegation -Name "faultydelegation" -Subnet $Subnet + Set-AzVirtualNetwork $Vnet + Remove-AzVirtualNetwork -Name $Vnet.Name -ResourceGroupName $env.resourceGroup } It 'VnetNameScenario' { { # valid vnet name and the vnet exists - + $Vnet = New-AzVirtualNetwork -Name $env.VNetName -ResourceGroupName $env.resourceGroup -Location $env.location -AddressPrefix $DEFAULT_VNET_PREFIX -Force + New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Vnet $Vnet.Name + $Server = Get-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup + + $Subnet = Get-AzVirtualNetworkSubnetConfig -ResourceId "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.Network/virtualNetworks/$($env.VNetName)/subnets/Subnet$($env.serverName2)" + ValidateSubnetVnet $Server $Subnet + RemoveServerVnet $Vnet $Subnet # valid vnet name but the vnet doesn't exist - - - # invalid vnet Id - - + New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Vnet nonexistingvnetforpowershelltest + $Subnet = Get-AzVirtualNetworkSubnetConfig -ResourceId "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.Network/virtualNetworks/nonexistingvnetforpowershelltest/subnets/Subnet$($env.serverName2)" + $Server = Get-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup + + ValidateSubnetVnet $Server $Subnet + RemoveServerVnet $Vnet $Subnet } | Should -Not -Throw - } - - It 'SubnetNameScenario' { { - # valid subnet name and the subnet exists - - - # valid subnet name but the subnet doesn't exist - - - # invalid subnet name - - - } | Should -Not -Throw + # invalid vnet name + $InvalidName = "hi/df!@$@#$@" + New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Vnet $InvalidName + } | Should -Throw } - It 'VnetSubnetScenario' { { - # valid subnet name and the subnet exists - - - # valid subnet name but the subnet doesn't exist - - - # invalid subnet name - - + # vnet name and subnet name resource do not exist + New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Vnet $env.VNetName -Subnet $env.SubnetName -VnetPrefix $DEFAULT_VNET_PREFIX -SubnetPrefix $DEFAULT_SUBNET_PREFIX + $Vnet = Get-AzVirtualNetwork -Name $env.VNetName -ResourceGroupName $env.resourceGroup + $Subnet = Get-AzVirtualNetworkSubnetConfig -Name $env.SubnetName -VirtualNetwork $Vnet + $Server = Get-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup + + ValidateSubnetVnet $Server $Subnet + Remove-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName2 + + # vnet name and subnet name, resource exist + New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Vnet $env.VNetName -Subnet $env.SubnetName -VnetPrefix $DEFAULT_VNET_PREFIX -SubnetPrefix $DEFAULT_SUBNET_PREFIX + $Server = Get-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup + + ValidateSubnetVnet $Server $Subnet + RemoveServerVnet $Vnet $Subnet } | Should -Not -Throw } - } + + diff --git a/src/MySql/test/New-AzMySqlFlexibleServerOld.Recording.json b/src/MySql/test/New-AzMySqlFlexibleServerOld.Recording.json index 23c4bfc405c6..943645f577ef 100644 --- a/src/MySql/test/New-AzMySqlFlexibleServerOld.Recording.json +++ b/src/MySql/test/New-AzMySqlFlexibleServerOld.Recording.json @@ -395,4 +395,3101 @@ "Content": "{\"sku\":{\"name\":\"Standard_D2ds_v4\",\"tier\":\"GeneralPurpose\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":102400,\"storageIops\":0,\"backupRetentionDays\":12,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T20:49:33.3741322+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } } + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"administratorLogin\": \"unrulyCod3\",\r\n \"administratorLoginPassword\": \"TDZR?B!24$)i)@Bv\",\r\n \"version\": \"5.7\",\r\n \"createMode\": \"Default\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "367" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "2b4fec3c-ecbb-4d47-8a6a-7c0a188275da" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "03d28c5c-07c4-4562-9791-a93ae6b189e0" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T005048Z:03d28c5c-07c4-4562-9791-a93ae6b189e0" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:50:48 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "88" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-25T00:50:48.667Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "3" ], + "x-ms-client-request-id": [ "c9854e85-286f-44aa-9c9f-704cdccd19f1" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "814d79a5-40c9-410e-8298-effb3962bdfd" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-correlation-request-id": [ "7b236b49-028c-407e-b638-9acb2243c09a" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T005149Z:7b236b49-028c-407e-b638-9acb2243c09a" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:51:48 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"80090f41-57e9-4f8c-8901-9978e0771356\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:50:48.667Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "c9854e85-286f-44aa-9c9f-704cdccd19f1" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "1805b859-f820-423e-9af6-9850400a7f0a" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "23e5ae15-9312-4203-b6ef-135c5b0fccbd" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T005249Z:23e5ae15-9312-4203-b6ef-135c5b0fccbd" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:52:49 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"80090f41-57e9-4f8c-8901-9978e0771356\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:50:48.667Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "5" ], + "x-ms-client-request-id": [ "c9854e85-286f-44aa-9c9f-704cdccd19f1" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "ef142442-5350-424c-b5e0-fd634813d2cf" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-correlation-request-id": [ "3eff9478-01f5-4a71-a166-30ec91ceeb85" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T005349Z:3eff9478-01f5-4a71-a166-30ec91ceeb85" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:53:49 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"80090f41-57e9-4f8c-8901-9978e0771356\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:50:48.667Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "6" ], + "x-ms-client-request-id": [ "c9854e85-286f-44aa-9c9f-704cdccd19f1" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "59819522-a46d-4a07-b9c5-72823843c325" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "4f72e26f-58b0-4c11-a482-bae98a8d21d1" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T005449Z:4f72e26f-58b0-4c11-a482-bae98a8d21d1" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:54:49 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"80090f41-57e9-4f8c-8901-9978e0771356\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:50:48.667Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "7" ], + "x-ms-client-request-id": [ "c9854e85-286f-44aa-9c9f-704cdccd19f1" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "5eac551f-5468-443f-9207-789abb931870" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "c74a3838-bddc-4877-9011-9e82f1f5adb9" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T005549Z:c74a3838-bddc-4877-9011-9e82f1f5adb9" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:55:48 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"80090f41-57e9-4f8c-8901-9978e0771356\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:50:48.667Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "8" ], + "x-ms-client-request-id": [ "c9854e85-286f-44aa-9c9f-704cdccd19f1" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "79a98451-be3c-49bb-a69c-b525de8aec62" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "72dbd2ff-4349-4352-863b-b933ff335219" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T005649Z:72dbd2ff-4349-4352-863b-b933ff335219" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:56:49 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"80090f41-57e9-4f8c-8901-9978e0771356\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:50:48.667Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "9" ], + "x-ms-client-request-id": [ "c9854e85-286f-44aa-9c9f-704cdccd19f1" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "5ce410ee-662a-45a5-aa77-bb1a8b125c66" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-correlation-request-id": [ "e6f45f2f-e101-4dee-84ad-d013f5925935" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T005749Z:e6f45f2f-e101-4dee-84ad-d013f5925935" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:57:49 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"80090f41-57e9-4f8c-8901-9978e0771356\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:50:48.667Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview+9": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "10" ], + "x-ms-client-request-id": [ "c9854e85-286f-44aa-9c9f-704cdccd19f1" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "75884ef9-0a2f-474d-b164-2640c0ea2d0e" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], + "x-ms-correlation-request-id": [ "38871004-dba0-4f2e-92c2-96f3679070ea" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T005849Z:38871004-dba0-4f2e-92c2-96f3679070ea" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:58:49 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"80090f41-57e9-4f8c-8901-9978e0771356\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:50:48.667Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview+10": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "11" ], + "x-ms-client-request-id": [ "c9854e85-286f-44aa-9c9f-704cdccd19f1" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "ae4a00fd-4ea3-4d78-9c70-2b6d146ee9e4" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], + "x-ms-correlation-request-id": [ "ac5c19f9-2c5c-4826-8626-50e4bc81e1e9" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T005950Z:ac5c19f9-2c5c-4826-8626-50e4bc81e1e9" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:59:49 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"80090f41-57e9-4f8c-8901-9978e0771356\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:50:48.667Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview+11": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "12" ], + "x-ms-client-request-id": [ "c9854e85-286f-44aa-9c9f-704cdccd19f1" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "9b34a29e-9a3a-4627-9b17-01c5520cc569" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], + "x-ms-correlation-request-id": [ "276ab4d8-8d3b-4302-bf1f-861105732a61" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T010050Z:276ab4d8-8d3b-4302-bf1f-861105732a61" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 01:00:49 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"80090f41-57e9-4f8c-8901-9978e0771356\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-25T00:50:48.667Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+12": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "13" ], + "x-ms-client-request-id": [ "c9854e85-286f-44aa-9c9f-704cdccd19f1" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "4550e9b4-f201-47c3-9641-1697ea089a23" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], + "x-ms-correlation-request-id": [ "ae4b854a-3562-4cd9-86ac-0f36a46f19c5" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T010050Z:ae4b854a-3562-4cd9-86ac-0f36a46f19c5" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 01:00:50 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "951" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"unrulyCod3\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-25T01:00:50.2289336+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2/firewallRules?api-version=2020-07-01-preview+13": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2/firewallRules?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "17" ], + "x-ms-client-request-id": [ "2c333290-fd64-4763-bf24-953932afd5da" ], + "CommandName": [ "Get-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Get-AzMySqlFlexibleServerFirewallRule_List" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "13f7efe9-a103-47f9-8915-a80c3b016b3e" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-correlation-request-id": [ "0ab85f24-e8fc-4be1-a5c6-4c8c68611455" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T013055Z:0ab85f24-e8fc-4be1-a5c6-4c8c68611455" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 01:30:54 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "195" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"value\":[{\"properties\":{\"startIpAddress\":\"10.10.10.10\",\"endIpAddress\":\"10.10.10.12\"},\"name\":\"FirewallIPAddress_2020-11-24_17-00-51\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}]}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+14": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "18" ], + "x-ms-client-request-id": [ "336fe11d-7ce7-4e87-9fad-59029e5e21e7" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/12b3c158-227b-43ad-99a0-ec7a179a7e6b?api-version=2020-07-01-preview" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/12b3c158-227b-43ad-99a0-ec7a179a7e6b?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "12b3c158-227b-43ad-99a0-ec7a179a7e6b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "x-ms-correlation-request-id": [ "b095e9b6-f870-4aa2-b763-e3389fbb5176" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T013055Z:b095e9b6-f870-4aa2-b763-e3389fbb5176" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 01:30:54 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "84" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropServerManagementOperation\",\"startTime\":\"2020-11-25T01:30:55.407Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/12b3c158-227b-43ad-99a0-ec7a179a7e6b?api-version=2020-07-01-preview+15": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/12b3c158-227b-43ad-99a0-ec7a179a7e6b?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "19" ], + "x-ms-client-request-id": [ "336fe11d-7ce7-4e87-9fad-59029e5e21e7" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "5960cefc-0fb2-4b90-93ec-b87c882b9f52" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-correlation-request-id": [ "734910f9-855c-45ba-bc57-7776a857f88b" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T013110Z:734910f9-855c-45ba-bc57-7776a857f88b" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 01:31:09 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"12b3c158-227b-43ad-99a0-ec7a179a7e6b\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T01:30:55.407Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/12b3c158-227b-43ad-99a0-ec7a179a7e6b?api-version=2020-07-01-preview+16": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/12b3c158-227b-43ad-99a0-ec7a179a7e6b?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "20" ], + "x-ms-client-request-id": [ "336fe11d-7ce7-4e87-9fad-59029e5e21e7" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "d662d610-b200-4ea3-9254-a5fcd4253d84" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "8a583102-9b95-457d-be3c-f1d9214b1d7f" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T013125Z:8a583102-9b95-457d-be3c-f1d9214b1d7f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 01:31:24 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"12b3c158-227b-43ad-99a0-ec7a179a7e6b\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T01:30:55.407Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/12b3c158-227b-43ad-99a0-ec7a179a7e6b?api-version=2020-07-01-preview+17": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/12b3c158-227b-43ad-99a0-ec7a179a7e6b?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "21" ], + "x-ms-client-request-id": [ "336fe11d-7ce7-4e87-9fad-59029e5e21e7" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "6764f0ad-1ce8-44e5-9183-50b762a65799" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-correlation-request-id": [ "b46ae9ea-84ff-4a47-83e7-5f02c7bd5a2f" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T013140Z:b46ae9ea-84ff-4a47-83e7-5f02c7bd5a2f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 01:31:40 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"12b3c158-227b-43ad-99a0-ec7a179a7e6b\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-25T01:30:55.407Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/operationResults/12b3c158-227b-43ad-99a0-ec7a179a7e6b?api-version=2020-07-01-preview+18": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/12b3c158-227b-43ad-99a0-ec7a179a7e6b?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "22" ], + "x-ms-client-request-id": [ "336fe11d-7ce7-4e87-9fad-59029e5e21e7" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "20e36bf7-be22-40e0-af93-15d23b44f115" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "49f94cc7-8a4e-457f-add2-648505937faf" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T013140Z:49f94cc7-8a4e-457f-add2-648505937faf" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 01:31:40 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+19": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"administratorLogin\": \"prudentFalcon2\",\r\n \"administratorLoginPassword\": \"3DX)}@=}gTPzAur[\",\r\n \"version\": \"5.7\",\r\n \"createMode\": \"Default\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "371" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "8f9cabae-1ab3-4af7-9213-53fd4cb48691" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-correlation-request-id": [ "61f9b87f-aa37-46c6-8bda-9151f2cab908" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T013143Z:61f9b87f-aa37-46c6-8bda-9151f2cab908" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 01:31:43 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "88" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-25T01:31:43.143Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview+20": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "25" ], + "x-ms-client-request-id": [ "5551fb55-ef05-4d47-afd2-2e7da44abb78" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "2de708aa-20fa-43bf-89dd-3a46a749b565" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "6b617d32-8a1a-4c72-b3b2-371a1abeafee" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T013243Z:6b617d32-8a1a-4c72-b3b2-371a1abeafee" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 01:32:42 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T01:31:43.143Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview+21": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "26" ], + "x-ms-client-request-id": [ "5551fb55-ef05-4d47-afd2-2e7da44abb78" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "7cdb0726-2534-4c43-9e78-9504def965c3" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "193a0776-4a9b-402b-997f-fc2f9a0211c6" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T013343Z:193a0776-4a9b-402b-997f-fc2f9a0211c6" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 01:33:43 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T01:31:43.143Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview+22": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "27" ], + "x-ms-client-request-id": [ "5551fb55-ef05-4d47-afd2-2e7da44abb78" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "974223b5-33e2-471c-9311-6fef161cc7e4" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-correlation-request-id": [ "acb343b5-37fe-4fbf-ae49-69fa04f20eb3" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T013443Z:acb343b5-37fe-4fbf-ae49-69fa04f20eb3" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 01:34:43 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T01:31:43.143Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview+23": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "28" ], + "x-ms-client-request-id": [ "5551fb55-ef05-4d47-afd2-2e7da44abb78" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "041b8766-bfaa-4394-9ecb-13b4bd8b7b15" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], + "x-ms-correlation-request-id": [ "91fa503a-6480-4ef4-9f31-3c313b2bdc83" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T013543Z:91fa503a-6480-4ef4-9f31-3c313b2bdc83" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 01:35:43 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T01:31:43.143Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview+24": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "29" ], + "x-ms-client-request-id": [ "5551fb55-ef05-4d47-afd2-2e7da44abb78" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "1601a2e4-1031-49a1-a527-65757e6272b9" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], + "x-ms-correlation-request-id": [ "41d28567-0417-48a6-948b-32fb1a354f6f" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T013643Z:41d28567-0417-48a6-948b-32fb1a354f6f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 01:36:43 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T01:31:43.143Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview+25": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "30" ], + "x-ms-client-request-id": [ "5551fb55-ef05-4d47-afd2-2e7da44abb78" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "c37befe0-2685-45a1-9d5f-e22d2d456b77" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], + "x-ms-correlation-request-id": [ "8c412c77-e428-4025-910a-cbc8aef569ee" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T013744Z:8c412c77-e428-4025-910a-cbc8aef569ee" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 01:37:44 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T01:31:43.143Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview+26": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "31" ], + "x-ms-client-request-id": [ "5551fb55-ef05-4d47-afd2-2e7da44abb78" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "e4efcac0-d973-4888-8c98-eee0a5097ecd" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], + "x-ms-correlation-request-id": [ "2b6b36fa-7559-4e94-8f3f-3d1180448795" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T013844Z:2b6b36fa-7559-4e94-8f3f-3d1180448795" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 01:38:43 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T01:31:43.143Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview+27": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "32" ], + "x-ms-client-request-id": [ "5551fb55-ef05-4d47-afd2-2e7da44abb78" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "63aeea31-a2d3-48b6-8c48-d184cb1ee661" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], + "x-ms-correlation-request-id": [ "c5cb880d-12f7-45b2-88b6-dc9af17e28de" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T013944Z:c5cb880d-12f7-45b2-88b6-dc9af17e28de" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 01:39:43 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T01:31:43.143Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview+28": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "33" ], + "x-ms-client-request-id": [ "5551fb55-ef05-4d47-afd2-2e7da44abb78" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "cff485d5-cceb-4d0e-ad0d-f4ecabc6704c" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], + "x-ms-correlation-request-id": [ "84ae0837-e869-4c0b-8e7d-da24927c858b" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T014044Z:84ae0837-e869-4c0b-8e7d-da24927c858b" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 01:40:44 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T01:31:43.143Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview+29": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "34" ], + "x-ms-client-request-id": [ "5551fb55-ef05-4d47-afd2-2e7da44abb78" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "8a44d0d4-a692-470d-8570-4d01a90c09de" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], + "x-ms-correlation-request-id": [ "fb8c4b18-d5c9-4edf-bb2e-14c25eaf1c14" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T014144Z:fb8c4b18-d5c9-4edf-bb2e-14c25eaf1c14" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 01:41:43 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-25T01:31:43.143Z\"}" + } + } + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"administratorLogin\": \"admiredIbis0\",\r\n \"administratorLoginPassword\": \"[bn#ObA#)[8%14Bk\",\r\n \"version\": \"5.7\",\r\n \"createMode\": \"Default\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "369" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "84bd855e-d2bd-4fbc-a8a9-3379b32fd4c7" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "dca1ba68-e4e2-428a-9e60-d88190c428f6" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T021627Z:dca1ba68-e4e2-428a-9e60-d88190c428f6" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 02:16:27 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "88" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-25T02:16:27.353Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "3" ], + "x-ms-client-request-id": [ "fa7cc640-50ae-44ab-baeb-8929e4040e27" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "ec1366d4-e0bd-4af2-a875-87f578cd5692" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-correlation-request-id": [ "780b1456-9edd-469f-9803-e86a7f3a5677" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T021727Z:780b1456-9edd-469f-9803-e86a7f3a5677" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 02:17:26 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"5fa9d139-8955-44b5-873a-7b748449200f\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T02:16:27.353Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "fa7cc640-50ae-44ab-baeb-8929e4040e27" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "21b5b430-0f99-42f1-ae69-2333cca04cfe" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-correlation-request-id": [ "4804f65e-42b4-48e6-b74e-fa3867587dc0" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T021827Z:4804f65e-42b4-48e6-b74e-fa3867587dc0" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 02:18:27 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"5fa9d139-8955-44b5-873a-7b748449200f\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T02:16:27.353Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "5" ], + "x-ms-client-request-id": [ "fa7cc640-50ae-44ab-baeb-8929e4040e27" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "fab2b885-d5ec-4cb0-9448-c7aa34b35c8f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-correlation-request-id": [ "ed6919de-8ad7-446e-80de-c5a90a4fcb3f" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T021928Z:ed6919de-8ad7-446e-80de-c5a90a4fcb3f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 02:19:27 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"5fa9d139-8955-44b5-873a-7b748449200f\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T02:16:27.353Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "6" ], + "x-ms-client-request-id": [ "fa7cc640-50ae-44ab-baeb-8929e4040e27" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "e773b8de-9447-47bd-8658-58ba1eeab17f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-correlation-request-id": [ "c5152314-7aac-4956-8017-7f0daecce839" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T022028Z:c5152314-7aac-4956-8017-7f0daecce839" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 02:20:28 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"5fa9d139-8955-44b5-873a-7b748449200f\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T02:16:27.353Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "7" ], + "x-ms-client-request-id": [ "fa7cc640-50ae-44ab-baeb-8929e4040e27" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "bc5f084d-f621-42fb-8be1-ea8da5b481f6" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "193c8fa6-d683-4880-a76e-6a2f1481a842" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T022128Z:193c8fa6-d683-4880-a76e-6a2f1481a842" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 02:21:27 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"5fa9d139-8955-44b5-873a-7b748449200f\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T02:16:27.353Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "8" ], + "x-ms-client-request-id": [ "fa7cc640-50ae-44ab-baeb-8929e4040e27" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "06a5bbff-0e32-4fba-a64b-be6ea97d32b3" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-correlation-request-id": [ "0cb1b205-4112-43c4-9c88-7c3e2d151efe" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T022228Z:0cb1b205-4112-43c4-9c88-7c3e2d151efe" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 02:22:28 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"5fa9d139-8955-44b5-873a-7b748449200f\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T02:16:27.353Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "9" ], + "x-ms-client-request-id": [ "fa7cc640-50ae-44ab-baeb-8929e4040e27" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "f20e33d7-6b27-4994-8b7b-e95e8eb81ecd" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "16270d62-1967-4d95-8de1-c595f6225e30" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T022328Z:16270d62-1967-4d95-8de1-c595f6225e30" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 02:23:27 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"5fa9d139-8955-44b5-873a-7b748449200f\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T02:16:27.353Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview+9": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "10" ], + "x-ms-client-request-id": [ "fa7cc640-50ae-44ab-baeb-8929e4040e27" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "b63c3ed9-8f0a-4743-8e4d-bbfb1aaf4fd7" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "490f59b7-f83f-4b5a-9cec-02b60accb347" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T022428Z:490f59b7-f83f-4b5a-9cec-02b60accb347" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 02:24:28 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"5fa9d139-8955-44b5-873a-7b748449200f\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T02:16:27.353Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview+10": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "11" ], + "x-ms-client-request-id": [ "fa7cc640-50ae-44ab-baeb-8929e4040e27" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "a021104f-f07e-45a2-b0c8-1f992c78aa9c" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "81578b28-40fb-487b-a2c5-dca17bcf6db8" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T022530Z:81578b28-40fb-487b-a2c5-dca17bcf6db8" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 02:25:29 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"5fa9d139-8955-44b5-873a-7b748449200f\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T02:16:27.353Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview+11": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "12" ], + "x-ms-client-request-id": [ "fa7cc640-50ae-44ab-baeb-8929e4040e27" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "4a678963-cc5e-45cb-b398-4abdfce71b46" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-correlation-request-id": [ "332d359a-9d82-4acd-bc90-3b8cd84b9119" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T022630Z:332d359a-9d82-4acd-bc90-3b8cd84b9119" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 02:26:30 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"5fa9d139-8955-44b5-873a-7b748449200f\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-25T02:16:27.353Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+12": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "13" ], + "x-ms-client-request-id": [ "fa7cc640-50ae-44ab-baeb-8929e4040e27" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "fe33c218-c5f1-489c-93c0-744c42eb3d52" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], + "x-ms-correlation-request-id": [ "93cdf376-badc-4b4a-81de-b67f119065d7" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T022630Z:93cdf376-badc-4b4a-81de-b67f119065d7" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 02:26:30 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "953" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"admiredIbis0\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-25T02:26:30.6722645+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2/firewallRules?api-version=2020-07-01-preview+13": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2/firewallRules?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "17" ], + "x-ms-client-request-id": [ "f6288685-8af7-4e96-932a-e97faba6483a" ], + "CommandName": [ "Get-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Get-AzMySqlFlexibleServerFirewallRule_List" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "8a800232-8852-4172-bc35-fb1b6ea65ccc" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], + "x-ms-correlation-request-id": [ "c24497dc-706c-46a4-88e4-8ae496b83577" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T022732Z:c24497dc-706c-46a4-88e4-8ae496b83577" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 02:27:31 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "186" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"value\":[{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"255.255.255.255\"},\"name\":\"AllowAll_2020-11-24_18-26-31\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}]}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+14": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "18" ], + "x-ms-client-request-id": [ "c9e48e1e-6a2a-4082-9d81-bdda3343281e" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/57019682-6b84-4873-b6bb-683d8efd6fa2?api-version=2020-07-01-preview" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/57019682-6b84-4873-b6bb-683d8efd6fa2?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "57019682-6b84-4873-b6bb-683d8efd6fa2" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "x-ms-correlation-request-id": [ "48c00c84-1fd6-4ab3-b221-cd495af887e6" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T022732Z:48c00c84-1fd6-4ab3-b221-cd495af887e6" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 02:27:32 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "84" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropServerManagementOperation\",\"startTime\":\"2020-11-25T02:27:32.333Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/57019682-6b84-4873-b6bb-683d8efd6fa2?api-version=2020-07-01-preview+15": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/57019682-6b84-4873-b6bb-683d8efd6fa2?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "19" ], + "x-ms-client-request-id": [ "c9e48e1e-6a2a-4082-9d81-bdda3343281e" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "97d3ca20-3efa-4f77-b87f-4bcabb15c4ba" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], + "x-ms-correlation-request-id": [ "41dacfd7-14e5-4bb6-9a3e-9326eac3c9df" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T022747Z:41dacfd7-14e5-4bb6-9a3e-9326eac3c9df" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 02:27:47 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"57019682-6b84-4873-b6bb-683d8efd6fa2\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T02:27:32.333Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/57019682-6b84-4873-b6bb-683d8efd6fa2?api-version=2020-07-01-preview+16": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/57019682-6b84-4873-b6bb-683d8efd6fa2?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "20" ], + "x-ms-client-request-id": [ "c9e48e1e-6a2a-4082-9d81-bdda3343281e" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "e89bb0ca-a96f-4387-9617-055e1cd1c026" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], + "x-ms-correlation-request-id": [ "6c9f1c83-c949-4de9-b701-b9c29f744007" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T022802Z:6c9f1c83-c949-4de9-b701-b9c29f744007" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 02:28:02 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"57019682-6b84-4873-b6bb-683d8efd6fa2\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T02:27:32.333Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/57019682-6b84-4873-b6bb-683d8efd6fa2?api-version=2020-07-01-preview+17": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/57019682-6b84-4873-b6bb-683d8efd6fa2?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "21" ], + "x-ms-client-request-id": [ "c9e48e1e-6a2a-4082-9d81-bdda3343281e" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "4bc8b95b-4f55-40f0-8046-587ea1fc9e55" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], + "x-ms-correlation-request-id": [ "facd44c4-bdda-45dc-b7e3-72e01bddc7b3" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T022817Z:facd44c4-bdda-45dc-b7e3-72e01bddc7b3" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 02:28:17 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"57019682-6b84-4873-b6bb-683d8efd6fa2\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-25T02:27:32.333Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/operationResults/57019682-6b84-4873-b6bb-683d8efd6fa2?api-version=2020-07-01-preview+18": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/57019682-6b84-4873-b6bb-683d8efd6fa2?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "22" ], + "x-ms-client-request-id": [ "c9e48e1e-6a2a-4082-9d81-bdda3343281e" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "53c435bd-6720-489d-a0d3-951333ae44e2" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], + "x-ms-correlation-request-id": [ "da3e1e84-5b6d-44c4-b21a-85f60e450fe5" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T022817Z:da3e1e84-5b6d-44c4-b21a-85f60e450fe5" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 02:28:17 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + } + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"administratorLogin\": \"levelMarten3\",\r\n \"administratorLoginPassword\": \"O%R?zF8)bup#+#yK\",\r\n \"version\": \"5.7\",\r\n \"createMode\": \"Default\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "369" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "4a717546-4e37-4284-94d7-fc1b625fcc2d" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "52382742-d442-4131-8481-d740538b6cef" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T001820Z:52382742-d442-4131-8481-d740538b6cef" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:18:19 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "88" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-25T00:18:20.003Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "3" ], + "x-ms-client-request-id": [ "3aad3961-261e-4bcd-aa4d-25c6f424f9d9" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "17428779-4dc0-407a-9d29-40c6fbf82e22" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-correlation-request-id": [ "9dbc8a5c-6f91-4d71-a3d8-b84d3034a3f0" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T001920Z:9dbc8a5c-6f91-4d71-a3d8-b84d3034a3f0" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:19:19 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"3c1c9f7a-7cee-4d66-9a98-07450acb8175\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:18:20.003Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "3aad3961-261e-4bcd-aa4d-25c6f424f9d9" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "a649aa51-6930-42c7-8297-064ee8ed9560" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-correlation-request-id": [ "d0ddf21f-d498-45b3-88a8-3460cf3cab91" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T002020Z:d0ddf21f-d498-45b3-88a8-3460cf3cab91" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:20:20 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"3c1c9f7a-7cee-4d66-9a98-07450acb8175\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:18:20.003Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "5" ], + "x-ms-client-request-id": [ "3aad3961-261e-4bcd-aa4d-25c6f424f9d9" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "751f95ef-e090-46de-aee8-6224e5896afe" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-correlation-request-id": [ "6c128953-0fd1-46ce-8628-92374c1e46e9" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T002120Z:6c128953-0fd1-46ce-8628-92374c1e46e9" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:21:20 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"3c1c9f7a-7cee-4d66-9a98-07450acb8175\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:18:20.003Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "6" ], + "x-ms-client-request-id": [ "3aad3961-261e-4bcd-aa4d-25c6f424f9d9" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "f9d10bfc-01c5-40fb-84ed-4ab3e612d191" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "7434055f-49e0-436b-9e97-da005e39940e" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T002220Z:7434055f-49e0-436b-9e97-da005e39940e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:22:20 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"3c1c9f7a-7cee-4d66-9a98-07450acb8175\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:18:20.003Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "7" ], + "x-ms-client-request-id": [ "3aad3961-261e-4bcd-aa4d-25c6f424f9d9" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "8335d5e1-bf53-4c68-a3db-3740ddb5228e" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-correlation-request-id": [ "354520f7-ea8c-4865-a042-bed488514301" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T002320Z:354520f7-ea8c-4865-a042-bed488514301" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:23:20 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"3c1c9f7a-7cee-4d66-9a98-07450acb8175\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:18:20.003Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "8" ], + "x-ms-client-request-id": [ "3aad3961-261e-4bcd-aa4d-25c6f424f9d9" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "20bee8a1-4842-42b5-ba0f-8cc05a20ab6b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "fc6dc0aa-e0d1-4a7b-a17d-8082718335b5" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T002421Z:fc6dc0aa-e0d1-4a7b-a17d-8082718335b5" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:24:20 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"3c1c9f7a-7cee-4d66-9a98-07450acb8175\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:18:20.003Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "9" ], + "x-ms-client-request-id": [ "3aad3961-261e-4bcd-aa4d-25c6f424f9d9" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "50a235d5-ad21-4ae8-b48b-0a1305930633" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "fceed390-46d5-455c-84a5-ea92e79ef680" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T002521Z:fceed390-46d5-455c-84a5-ea92e79ef680" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:25:20 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"3c1c9f7a-7cee-4d66-9a98-07450acb8175\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:18:20.003Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview+9": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "10" ], + "x-ms-client-request-id": [ "3aad3961-261e-4bcd-aa4d-25c6f424f9d9" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "df4934e9-1891-4f32-8988-975d974952a0" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "11528e4d-cf19-4728-bb3e-032caef18077" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T002621Z:11528e4d-cf19-4728-bb3e-032caef18077" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:26:20 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"3c1c9f7a-7cee-4d66-9a98-07450acb8175\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:18:20.003Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview+10": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "11" ], + "x-ms-client-request-id": [ "3aad3961-261e-4bcd-aa4d-25c6f424f9d9" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "7111695e-1926-46ca-afb2-3dcce9c9b703" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-correlation-request-id": [ "27c22eb3-ece7-4ea3-bd71-e579064fefd0" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T002721Z:27c22eb3-ece7-4ea3-bd71-e579064fefd0" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:27:20 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"3c1c9f7a-7cee-4d66-9a98-07450acb8175\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:18:20.003Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview+11": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "12" ], + "x-ms-client-request-id": [ "3aad3961-261e-4bcd-aa4d-25c6f424f9d9" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "672baea4-2315-44f1-92dc-3ecbba3bb4c6" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], + "x-ms-correlation-request-id": [ "4a70bf88-dceb-4599-8c39-ae89df5ad38c" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T002821Z:4a70bf88-dceb-4599-8c39-ae89df5ad38c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:28:21 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"3c1c9f7a-7cee-4d66-9a98-07450acb8175\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:18:20.003Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview+12": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "13" ], + "x-ms-client-request-id": [ "3aad3961-261e-4bcd-aa4d-25c6f424f9d9" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "968c6c7c-500c-49f6-83c6-7f7e8458e8dc" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], + "x-ms-correlation-request-id": [ "c7e5795b-d607-45e8-bd7a-17f6ff516f4b" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T002921Z:c7e5795b-d607-45e8-bd7a-17f6ff516f4b" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:29:21 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"3c1c9f7a-7cee-4d66-9a98-07450acb8175\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-25T00:18:20.003Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+13": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "14" ], + "x-ms-client-request-id": [ "3aad3961-261e-4bcd-aa4d-25c6f424f9d9" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "18e0ad9d-9232-42a4-8c5a-6b94426d6774" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], + "x-ms-correlation-request-id": [ "b19f9791-0655-4d9c-a762-b9b3f230f19c" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T002922Z:b19f9791-0655-4d9c-a762-b9b3f230f19c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:29:21 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "953" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"levelMarten3\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-25T00:29:21.9353883+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2/firewallRules?api-version=2020-07-01-preview+14": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2/firewallRules?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "18" ], + "x-ms-client-request-id": [ "2193e74f-13a9-4e9f-83be-ed6437790970" ], + "CommandName": [ "Get-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Get-AzMySqlFlexibleServerFirewallRule_List" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "cf599c66-ace0-4fc0-a8cc-bacc751884eb" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], + "x-ms-correlation-request-id": [ "d90d1423-d7ec-411a-9176-fbbfa5fc6a9f" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T003023Z:d90d1423-d7ec-411a-9176-fbbfa5fc6a9f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:30:23 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "217" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"value\":[{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.0\"},\"name\":\"AllowAllAzureServicesAndResourcesWithinAzureIps_2020-11-24_16-29-23\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}]}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+15": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "19" ], + "x-ms-client-request-id": [ "58316329-7ed6-4d49-bbbe-6afbcc2675aa" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/8514fc11-8267-4e25-9a99-50fb7f112344?api-version=2020-07-01-preview" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/8514fc11-8267-4e25-9a99-50fb7f112344?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "8514fc11-8267-4e25-9a99-50fb7f112344" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "x-ms-correlation-request-id": [ "f5aa2b80-f1f1-42ef-8e21-e638aa4fe004" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T003023Z:f5aa2b80-f1f1-42ef-8e21-e638aa4fe004" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:30:23 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "84" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropServerManagementOperation\",\"startTime\":\"2020-11-25T00:30:23.623Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/8514fc11-8267-4e25-9a99-50fb7f112344?api-version=2020-07-01-preview+16": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/8514fc11-8267-4e25-9a99-50fb7f112344?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "20" ], + "x-ms-client-request-id": [ "58316329-7ed6-4d49-bbbe-6afbcc2675aa" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "be89ef93-43ce-4a9d-a862-fadcd96cef6f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], + "x-ms-correlation-request-id": [ "220ca925-b82b-46a9-bf27-82f5fb0e69f5" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T003038Z:220ca925-b82b-46a9-bf27-82f5fb0e69f5" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:30:38 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"8514fc11-8267-4e25-9a99-50fb7f112344\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:30:23.623Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/8514fc11-8267-4e25-9a99-50fb7f112344?api-version=2020-07-01-preview+17": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/8514fc11-8267-4e25-9a99-50fb7f112344?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "21" ], + "x-ms-client-request-id": [ "58316329-7ed6-4d49-bbbe-6afbcc2675aa" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "0c818c97-8d28-46ab-9344-2a7d78d1902c" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], + "x-ms-correlation-request-id": [ "d386394d-4afb-49d4-b157-2d52654d2427" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T003053Z:d386394d-4afb-49d4-b157-2d52654d2427" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:30:53 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"8514fc11-8267-4e25-9a99-50fb7f112344\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:30:23.623Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/8514fc11-8267-4e25-9a99-50fb7f112344?api-version=2020-07-01-preview+18": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/8514fc11-8267-4e25-9a99-50fb7f112344?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "22" ], + "x-ms-client-request-id": [ "58316329-7ed6-4d49-bbbe-6afbcc2675aa" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "d5c9c7dd-13e1-46bb-bb7f-d4357f2963fb" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], + "x-ms-correlation-request-id": [ "40729346-f604-47f8-aa9f-8a7f62e87846" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T003109Z:40729346-f604-47f8-aa9f-8a7f62e87846" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:31:08 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"8514fc11-8267-4e25-9a99-50fb7f112344\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-25T00:30:23.623Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/operationResults/8514fc11-8267-4e25-9a99-50fb7f112344?api-version=2020-07-01-preview+19": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/8514fc11-8267-4e25-9a99-50fb7f112344?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "23" ], + "x-ms-client-request-id": [ "58316329-7ed6-4d49-bbbe-6afbcc2675aa" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "d3ac6848-5813-42f0-b841-575d85a733c4" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11980" ], + "x-ms-correlation-request-id": [ "3b87613c-bfb5-4b2c-a68d-966d27d6573f" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T003109Z:3b87613c-bfb5-4b2c-a68d-966d27d6573f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:31:08 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+20": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"administratorLogin\": \"shoddyAvocet4\",\r\n \"administratorLoginPassword\": \"f+Z}gp#F64?R)b!R\",\r\n \"version\": \"5.7\",\r\n \"createMode\": \"Default\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "370" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "9a394050-3eaa-42ea-a1cd-dbe4453aef00" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], + "x-ms-correlation-request-id": [ "4c9a3145-e671-4bca-847c-f02203b944b4" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T003111Z:4c9a3145-e671-4bca-847c-f02203b944b4" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:31:10 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "88" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-25T00:31:11.233Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview+21": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "26" ], + "x-ms-client-request-id": [ "2edd9fab-6145-4042-932f-5b88b02ca379" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "3f4d1430-ce8a-4a03-8f88-95c0e1ba7166" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11979" ], + "x-ms-correlation-request-id": [ "6cb898f3-e80b-4353-9eb9-cc1e03a9a31f" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T003211Z:6cb898f3-e80b-4353-9eb9-cc1e03a9a31f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:32:10 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"7fb0a393-8d53-4afa-9ac4-e8d598d153bd\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:31:11.233Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview+22": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "27" ], + "x-ms-client-request-id": [ "2edd9fab-6145-4042-932f-5b88b02ca379" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "6886b31e-3090-43f2-9a1b-3536fc1fb301" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11978" ], + "x-ms-correlation-request-id": [ "c974a299-7b8e-4352-82c6-fd10e8fe196b" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T003311Z:c974a299-7b8e-4352-82c6-fd10e8fe196b" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:33:11 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"7fb0a393-8d53-4afa-9ac4-e8d598d153bd\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:31:11.233Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview+23": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "28" ], + "x-ms-client-request-id": [ "2edd9fab-6145-4042-932f-5b88b02ca379" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "b865a5c4-cef6-4b1f-99a1-9a8f5b4bc92f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11977" ], + "x-ms-correlation-request-id": [ "6181c137-43ab-4a98-9d24-c226294352ae" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T003411Z:6181c137-43ab-4a98-9d24-c226294352ae" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:34:11 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"7fb0a393-8d53-4afa-9ac4-e8d598d153bd\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:31:11.233Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview+24": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "29" ], + "x-ms-client-request-id": [ "2edd9fab-6145-4042-932f-5b88b02ca379" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "f4a4f1d3-4176-4235-a200-16b2e6bf3d5f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11976" ], + "x-ms-correlation-request-id": [ "29c38dbd-d654-46e9-b3a4-aceb4dcf32c6" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T003511Z:29c38dbd-d654-46e9-b3a4-aceb4dcf32c6" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:35:11 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"7fb0a393-8d53-4afa-9ac4-e8d598d153bd\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:31:11.233Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview+25": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "30" ], + "x-ms-client-request-id": [ "2edd9fab-6145-4042-932f-5b88b02ca379" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "5e50a1ee-e84b-4bb6-9497-6dd3685a41bf" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11975" ], + "x-ms-correlation-request-id": [ "5c18a365-6b72-4c53-9940-67eb49e1ea9b" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T003612Z:5c18a365-6b72-4c53-9940-67eb49e1ea9b" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:36:11 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"7fb0a393-8d53-4afa-9ac4-e8d598d153bd\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:31:11.233Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview+26": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "31" ], + "x-ms-client-request-id": [ "2edd9fab-6145-4042-932f-5b88b02ca379" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "8d9a0d05-dda5-4631-9d2d-a74fe80827fa" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11974" ], + "x-ms-correlation-request-id": [ "53bba97a-1a5e-4e64-9f16-89fa3eb137ae" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T003712Z:53bba97a-1a5e-4e64-9f16-89fa3eb137ae" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:37:12 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"7fb0a393-8d53-4afa-9ac4-e8d598d153bd\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:31:11.233Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview+27": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "32" ], + "x-ms-client-request-id": [ "2edd9fab-6145-4042-932f-5b88b02ca379" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "112defe1-c3a7-4875-82dd-d461d0ab1a55" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11973" ], + "x-ms-correlation-request-id": [ "55a25d9d-e693-4c3e-b5b3-fa5fbae33780" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T003812Z:55a25d9d-e693-4c3e-b5b3-fa5fbae33780" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:38:11 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"7fb0a393-8d53-4afa-9ac4-e8d598d153bd\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:31:11.233Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview+28": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "33" ], + "x-ms-client-request-id": [ "2edd9fab-6145-4042-932f-5b88b02ca379" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "3564f5d8-6223-480c-bde3-4d5c74958482" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11972" ], + "x-ms-correlation-request-id": [ "27a7879b-8c46-49d1-86d6-38b18092fc65" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T003912Z:27a7879b-8c46-49d1-86d6-38b18092fc65" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:39:12 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"7fb0a393-8d53-4afa-9ac4-e8d598d153bd\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:31:11.233Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview+29": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "34" ], + "x-ms-client-request-id": [ "2edd9fab-6145-4042-932f-5b88b02ca379" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "5b699d02-7c0f-4e4c-a5f4-6fdb2b0dd503" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11971" ], + "x-ms-correlation-request-id": [ "81b36634-5fff-47b2-9d92-ed0798275399" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T004012Z:81b36634-5fff-47b2-9d92-ed0798275399" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:40:11 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"7fb0a393-8d53-4afa-9ac4-e8d598d153bd\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:31:11.233Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview+30": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "35" ], + "x-ms-client-request-id": [ "2edd9fab-6145-4042-932f-5b88b02ca379" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "115fd52e-d7ea-496f-aa36-e520a7a76888" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11970" ], + "x-ms-correlation-request-id": [ "d77e7379-a97c-4307-a8a9-cbbf23569810" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T004112Z:d77e7379-a97c-4307-a8a9-cbbf23569810" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 25 Nov 2020 00:41:12 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"7fb0a393-8d53-4afa-9ac4-e8d598d153bd\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-25T00:31:11.233Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+31": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "36" ], + "x-ms-client-request-id": [ "2edd9fab-6145-4042-932f-5b88b02ca379" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 404, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-failure-cause": [ "gateway" ], + "x-ms-request-id": [ "3a2353de-34a8-4368-896e-ea1a664f41bf" ], + "x-ms-correlation-request-id": [ "3a2353de-34a8-4368-896e-ea1a664f41bf" ], + "x-ms-routing-request-id": [ "WESTUS2:20201125T004112Z:3a2353de-34a8-4368-896e-ea1a664f41bf" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Wed, 25 Nov 2020 00:41:12 GMT" ] + }, + "ContentHeaders": { + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ], + "Content-Length": [ "234" ] + }, + "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForMySql/flexibleServers/mysql-test-100-2\u0027 under resource group \u0027MySqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" + } + } } \ No newline at end of file diff --git a/src/MySql/test/New-AzMySqlFlexibleServerPublicAccessFirst.Recording.json b/src/MySql/test/New-AzMySqlFlexibleServerPublicAccessFirst.Recording.json deleted file mode 100644 index c8c65b283bfb..000000000000 --- a/src/MySql/test/New-AzMySqlFlexibleServerPublicAccessFirst.Recording.json +++ /dev/null @@ -1,1232 +0,0 @@ -{ - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+1": { - "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", - "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"administratorLogin\": \"levelMarten3\",\r\n \"administratorLoginPassword\": \"O%R?zF8)bup#+#yK\",\r\n \"version\": \"5.7\",\r\n \"createMode\": \"Default\"\r\n }\r\n}", - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "369" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview" ], - "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "4a717546-4e37-4284-94d7-fc1b625fcc2d" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-correlation-request-id": [ "52382742-d442-4131-8481-d740538b6cef" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T001820Z:52382742-d442-4131-8481-d740538b6cef" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:18:19 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "88" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-25T00:18:20.003Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "3aad3961-261e-4bcd-aa4d-25c6f424f9d9" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "17428779-4dc0-407a-9d29-40c6fbf82e22" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], - "x-ms-correlation-request-id": [ "9dbc8a5c-6f91-4d71-a3d8-b84d3034a3f0" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T001920Z:9dbc8a5c-6f91-4d71-a3d8-b84d3034a3f0" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:19:19 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"3c1c9f7a-7cee-4d66-9a98-07450acb8175\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:18:20.003Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "3aad3961-261e-4bcd-aa4d-25c6f424f9d9" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "a649aa51-6930-42c7-8297-064ee8ed9560" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], - "x-ms-correlation-request-id": [ "d0ddf21f-d498-45b3-88a8-3460cf3cab91" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T002020Z:d0ddf21f-d498-45b3-88a8-3460cf3cab91" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:20:20 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"3c1c9f7a-7cee-4d66-9a98-07450acb8175\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:18:20.003Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview+4": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "5" ], - "x-ms-client-request-id": [ "3aad3961-261e-4bcd-aa4d-25c6f424f9d9" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "751f95ef-e090-46de-aee8-6224e5896afe" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], - "x-ms-correlation-request-id": [ "6c128953-0fd1-46ce-8628-92374c1e46e9" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T002120Z:6c128953-0fd1-46ce-8628-92374c1e46e9" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:21:20 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"3c1c9f7a-7cee-4d66-9a98-07450acb8175\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:18:20.003Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview+5": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "6" ], - "x-ms-client-request-id": [ "3aad3961-261e-4bcd-aa4d-25c6f424f9d9" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "f9d10bfc-01c5-40fb-84ed-4ab3e612d191" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], - "x-ms-correlation-request-id": [ "7434055f-49e0-436b-9e97-da005e39940e" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T002220Z:7434055f-49e0-436b-9e97-da005e39940e" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:22:20 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"3c1c9f7a-7cee-4d66-9a98-07450acb8175\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:18:20.003Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "7" ], - "x-ms-client-request-id": [ "3aad3961-261e-4bcd-aa4d-25c6f424f9d9" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "8335d5e1-bf53-4c68-a3db-3740ddb5228e" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], - "x-ms-correlation-request-id": [ "354520f7-ea8c-4865-a042-bed488514301" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T002320Z:354520f7-ea8c-4865-a042-bed488514301" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:23:20 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"3c1c9f7a-7cee-4d66-9a98-07450acb8175\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:18:20.003Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview+7": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "8" ], - "x-ms-client-request-id": [ "3aad3961-261e-4bcd-aa4d-25c6f424f9d9" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "20bee8a1-4842-42b5-ba0f-8cc05a20ab6b" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], - "x-ms-correlation-request-id": [ "fc6dc0aa-e0d1-4a7b-a17d-8082718335b5" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T002421Z:fc6dc0aa-e0d1-4a7b-a17d-8082718335b5" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:24:20 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"3c1c9f7a-7cee-4d66-9a98-07450acb8175\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:18:20.003Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview+8": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "9" ], - "x-ms-client-request-id": [ "3aad3961-261e-4bcd-aa4d-25c6f424f9d9" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "50a235d5-ad21-4ae8-b48b-0a1305930633" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], - "x-ms-correlation-request-id": [ "fceed390-46d5-455c-84a5-ea92e79ef680" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T002521Z:fceed390-46d5-455c-84a5-ea92e79ef680" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:25:20 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"3c1c9f7a-7cee-4d66-9a98-07450acb8175\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:18:20.003Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview+9": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "10" ], - "x-ms-client-request-id": [ "3aad3961-261e-4bcd-aa4d-25c6f424f9d9" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "df4934e9-1891-4f32-8988-975d974952a0" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], - "x-ms-correlation-request-id": [ "11528e4d-cf19-4728-bb3e-032caef18077" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T002621Z:11528e4d-cf19-4728-bb3e-032caef18077" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:26:20 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"3c1c9f7a-7cee-4d66-9a98-07450acb8175\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:18:20.003Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview+10": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "11" ], - "x-ms-client-request-id": [ "3aad3961-261e-4bcd-aa4d-25c6f424f9d9" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "7111695e-1926-46ca-afb2-3dcce9c9b703" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], - "x-ms-correlation-request-id": [ "27c22eb3-ece7-4ea3-bd71-e579064fefd0" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T002721Z:27c22eb3-ece7-4ea3-bd71-e579064fefd0" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:27:20 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"3c1c9f7a-7cee-4d66-9a98-07450acb8175\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:18:20.003Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview+11": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "12" ], - "x-ms-client-request-id": [ "3aad3961-261e-4bcd-aa4d-25c6f424f9d9" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "672baea4-2315-44f1-92dc-3ecbba3bb4c6" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], - "x-ms-correlation-request-id": [ "4a70bf88-dceb-4599-8c39-ae89df5ad38c" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T002821Z:4a70bf88-dceb-4599-8c39-ae89df5ad38c" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:28:21 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"3c1c9f7a-7cee-4d66-9a98-07450acb8175\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:18:20.003Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview+12": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "13" ], - "x-ms-client-request-id": [ "3aad3961-261e-4bcd-aa4d-25c6f424f9d9" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "968c6c7c-500c-49f6-83c6-7f7e8458e8dc" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], - "x-ms-correlation-request-id": [ "c7e5795b-d607-45e8-bd7a-17f6ff516f4b" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T002921Z:c7e5795b-d607-45e8-bd7a-17f6ff516f4b" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:29:21 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"3c1c9f7a-7cee-4d66-9a98-07450acb8175\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-25T00:18:20.003Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+13": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "14" ], - "x-ms-client-request-id": [ "3aad3961-261e-4bcd-aa4d-25c6f424f9d9" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "18e0ad9d-9232-42a4-8c5a-6b94426d6774" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], - "x-ms-correlation-request-id": [ "b19f9791-0655-4d9c-a762-b9b3f230f19c" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T002922Z:b19f9791-0655-4d9c-a762-b9b3f230f19c" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:29:21 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "953" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"levelMarten3\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-25T00:29:21.9353883+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2/firewallRules?api-version=2020-07-01-preview+14": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2/firewallRules?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "18" ], - "x-ms-client-request-id": [ "2193e74f-13a9-4e9f-83be-ed6437790970" ], - "CommandName": [ "Get-AzMySqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "Get-AzMySqlFlexibleServerFirewallRule_List" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "cf599c66-ace0-4fc0-a8cc-bacc751884eb" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], - "x-ms-correlation-request-id": [ "d90d1423-d7ec-411a-9176-fbbfa5fc6a9f" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T003023Z:d90d1423-d7ec-411a-9176-fbbfa5fc6a9f" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:30:23 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "217" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"value\":[{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.0\"},\"name\":\"AllowAllAzureServicesAndResourcesWithinAzureIps_2020-11-24_16-29-23\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}]}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+15": { - "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "19" ], - "x-ms-client-request-id": [ "58316329-7ed6-4d49-bbbe-6afbcc2675aa" ], - "CommandName": [ "Remove-AzMySqlFlexibleServer" ], - "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/8514fc11-8267-4e25-9a99-50fb7f112344?api-version=2020-07-01-preview" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/8514fc11-8267-4e25-9a99-50fb7f112344?api-version=2020-07-01-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "8514fc11-8267-4e25-9a99-50fb7f112344" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], - "x-ms-correlation-request-id": [ "f5aa2b80-f1f1-42ef-8e21-e638aa4fe004" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T003023Z:f5aa2b80-f1f1-42ef-8e21-e638aa4fe004" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:30:23 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "84" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"DropServerManagementOperation\",\"startTime\":\"2020-11-25T00:30:23.623Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/8514fc11-8267-4e25-9a99-50fb7f112344?api-version=2020-07-01-preview+16": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/8514fc11-8267-4e25-9a99-50fb7f112344?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "20" ], - "x-ms-client-request-id": [ "58316329-7ed6-4d49-bbbe-6afbcc2675aa" ], - "CommandName": [ "Remove-AzMySqlFlexibleServer" ], - "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "be89ef93-43ce-4a9d-a862-fadcd96cef6f" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], - "x-ms-correlation-request-id": [ "220ca925-b82b-46a9-bf27-82f5fb0e69f5" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T003038Z:220ca925-b82b-46a9-bf27-82f5fb0e69f5" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:30:38 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"8514fc11-8267-4e25-9a99-50fb7f112344\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:30:23.623Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/8514fc11-8267-4e25-9a99-50fb7f112344?api-version=2020-07-01-preview+17": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/8514fc11-8267-4e25-9a99-50fb7f112344?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "21" ], - "x-ms-client-request-id": [ "58316329-7ed6-4d49-bbbe-6afbcc2675aa" ], - "CommandName": [ "Remove-AzMySqlFlexibleServer" ], - "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "0c818c97-8d28-46ab-9344-2a7d78d1902c" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], - "x-ms-correlation-request-id": [ "d386394d-4afb-49d4-b157-2d52654d2427" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T003053Z:d386394d-4afb-49d4-b157-2d52654d2427" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:30:53 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"8514fc11-8267-4e25-9a99-50fb7f112344\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:30:23.623Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/8514fc11-8267-4e25-9a99-50fb7f112344?api-version=2020-07-01-preview+18": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/8514fc11-8267-4e25-9a99-50fb7f112344?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "22" ], - "x-ms-client-request-id": [ "58316329-7ed6-4d49-bbbe-6afbcc2675aa" ], - "CommandName": [ "Remove-AzMySqlFlexibleServer" ], - "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "d5c9c7dd-13e1-46bb-bb7f-d4357f2963fb" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], - "x-ms-correlation-request-id": [ "40729346-f604-47f8-aa9f-8a7f62e87846" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T003109Z:40729346-f604-47f8-aa9f-8a7f62e87846" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:31:08 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"8514fc11-8267-4e25-9a99-50fb7f112344\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-25T00:30:23.623Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/operationResults/8514fc11-8267-4e25-9a99-50fb7f112344?api-version=2020-07-01-preview+19": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/8514fc11-8267-4e25-9a99-50fb7f112344?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "23" ], - "x-ms-client-request-id": [ "58316329-7ed6-4d49-bbbe-6afbcc2675aa" ], - "CommandName": [ "Remove-AzMySqlFlexibleServer" ], - "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "d3ac6848-5813-42f0-b841-575d85a733c4" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11980" ], - "x-ms-correlation-request-id": [ "3b87613c-bfb5-4b2c-a68d-966d27d6573f" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T003109Z:3b87613c-bfb5-4b2c-a68d-966d27d6573f" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:31:08 GMT" ] - }, - "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] - }, - "Content": null - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+20": { - "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", - "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"administratorLogin\": \"shoddyAvocet4\",\r\n \"administratorLoginPassword\": \"f+Z}gp#F64?R)b!R\",\r\n \"version\": \"5.7\",\r\n \"createMode\": \"Default\"\r\n }\r\n}", - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "370" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview" ], - "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "9a394050-3eaa-42ea-a1cd-dbe4453aef00" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], - "x-ms-correlation-request-id": [ "4c9a3145-e671-4bca-847c-f02203b944b4" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T003111Z:4c9a3145-e671-4bca-847c-f02203b944b4" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:31:10 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "88" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-25T00:31:11.233Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview+21": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "26" ], - "x-ms-client-request-id": [ "2edd9fab-6145-4042-932f-5b88b02ca379" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "3f4d1430-ce8a-4a03-8f88-95c0e1ba7166" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11979" ], - "x-ms-correlation-request-id": [ "6cb898f3-e80b-4353-9eb9-cc1e03a9a31f" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T003211Z:6cb898f3-e80b-4353-9eb9-cc1e03a9a31f" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:32:10 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"7fb0a393-8d53-4afa-9ac4-e8d598d153bd\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:31:11.233Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview+22": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "27" ], - "x-ms-client-request-id": [ "2edd9fab-6145-4042-932f-5b88b02ca379" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "6886b31e-3090-43f2-9a1b-3536fc1fb301" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11978" ], - "x-ms-correlation-request-id": [ "c974a299-7b8e-4352-82c6-fd10e8fe196b" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T003311Z:c974a299-7b8e-4352-82c6-fd10e8fe196b" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:33:11 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"7fb0a393-8d53-4afa-9ac4-e8d598d153bd\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:31:11.233Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview+23": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "28" ], - "x-ms-client-request-id": [ "2edd9fab-6145-4042-932f-5b88b02ca379" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "b865a5c4-cef6-4b1f-99a1-9a8f5b4bc92f" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11977" ], - "x-ms-correlation-request-id": [ "6181c137-43ab-4a98-9d24-c226294352ae" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T003411Z:6181c137-43ab-4a98-9d24-c226294352ae" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:34:11 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"7fb0a393-8d53-4afa-9ac4-e8d598d153bd\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:31:11.233Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview+24": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "29" ], - "x-ms-client-request-id": [ "2edd9fab-6145-4042-932f-5b88b02ca379" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "f4a4f1d3-4176-4235-a200-16b2e6bf3d5f" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11976" ], - "x-ms-correlation-request-id": [ "29c38dbd-d654-46e9-b3a4-aceb4dcf32c6" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T003511Z:29c38dbd-d654-46e9-b3a4-aceb4dcf32c6" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:35:11 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"7fb0a393-8d53-4afa-9ac4-e8d598d153bd\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:31:11.233Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview+25": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "30" ], - "x-ms-client-request-id": [ "2edd9fab-6145-4042-932f-5b88b02ca379" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "5e50a1ee-e84b-4bb6-9497-6dd3685a41bf" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11975" ], - "x-ms-correlation-request-id": [ "5c18a365-6b72-4c53-9940-67eb49e1ea9b" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T003612Z:5c18a365-6b72-4c53-9940-67eb49e1ea9b" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:36:11 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"7fb0a393-8d53-4afa-9ac4-e8d598d153bd\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:31:11.233Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview+26": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "31" ], - "x-ms-client-request-id": [ "2edd9fab-6145-4042-932f-5b88b02ca379" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "8d9a0d05-dda5-4631-9d2d-a74fe80827fa" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11974" ], - "x-ms-correlation-request-id": [ "53bba97a-1a5e-4e64-9f16-89fa3eb137ae" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T003712Z:53bba97a-1a5e-4e64-9f16-89fa3eb137ae" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:37:12 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"7fb0a393-8d53-4afa-9ac4-e8d598d153bd\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:31:11.233Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview+27": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "32" ], - "x-ms-client-request-id": [ "2edd9fab-6145-4042-932f-5b88b02ca379" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "112defe1-c3a7-4875-82dd-d461d0ab1a55" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11973" ], - "x-ms-correlation-request-id": [ "55a25d9d-e693-4c3e-b5b3-fa5fbae33780" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T003812Z:55a25d9d-e693-4c3e-b5b3-fa5fbae33780" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:38:11 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"7fb0a393-8d53-4afa-9ac4-e8d598d153bd\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:31:11.233Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview+28": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "33" ], - "x-ms-client-request-id": [ "2edd9fab-6145-4042-932f-5b88b02ca379" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "3564f5d8-6223-480c-bde3-4d5c74958482" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11972" ], - "x-ms-correlation-request-id": [ "27a7879b-8c46-49d1-86d6-38b18092fc65" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T003912Z:27a7879b-8c46-49d1-86d6-38b18092fc65" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:39:12 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"7fb0a393-8d53-4afa-9ac4-e8d598d153bd\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:31:11.233Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview+29": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "34" ], - "x-ms-client-request-id": [ "2edd9fab-6145-4042-932f-5b88b02ca379" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "5b699d02-7c0f-4e4c-a5f4-6fdb2b0dd503" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11971" ], - "x-ms-correlation-request-id": [ "81b36634-5fff-47b2-9d92-ed0798275399" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T004012Z:81b36634-5fff-47b2-9d92-ed0798275399" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:40:11 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"7fb0a393-8d53-4afa-9ac4-e8d598d153bd\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:31:11.233Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview+30": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "35" ], - "x-ms-client-request-id": [ "2edd9fab-6145-4042-932f-5b88b02ca379" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "115fd52e-d7ea-496f-aa36-e520a7a76888" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11970" ], - "x-ms-correlation-request-id": [ "d77e7379-a97c-4307-a8a9-cbbf23569810" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T004112Z:d77e7379-a97c-4307-a8a9-cbbf23569810" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:41:12 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"7fb0a393-8d53-4afa-9ac4-e8d598d153bd\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-25T00:31:11.233Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+31": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "36" ], - "x-ms-client-request-id": [ "2edd9fab-6145-4042-932f-5b88b02ca379" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 404, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ "gateway" ], - "x-ms-request-id": [ "3a2353de-34a8-4368-896e-ea1a664f41bf" ], - "x-ms-correlation-request-id": [ "3a2353de-34a8-4368-896e-ea1a664f41bf" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T004112Z:3a2353de-34a8-4368-896e-ea1a664f41bf" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Wed, 25 Nov 2020 00:41:12 GMT" ] - }, - "ContentHeaders": { - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ], - "Content-Length": [ "234" ] - }, - "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForMySql/flexibleServers/mysql-test-100-2\u0027 under resource group \u0027MySqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" - } - } -} \ No newline at end of file diff --git a/src/MySql/test/New-AzMySqlFlexibleServerSecond.Recording.json b/src/MySql/test/New-AzMySqlFlexibleServerSecond.Recording.json deleted file mode 100644 index e37a2e88387a..000000000000 --- a/src/MySql/test/New-AzMySqlFlexibleServerSecond.Recording.json +++ /dev/null @@ -1,1192 +0,0 @@ -{ - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+1": { - "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", - "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"administratorLogin\": \"unrulyCod3\",\r\n \"administratorLoginPassword\": \"TDZR?B!24$)i)@Bv\",\r\n \"version\": \"5.7\",\r\n \"createMode\": \"Default\"\r\n }\r\n}", - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "367" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview" ], - "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "2b4fec3c-ecbb-4d47-8a6a-7c0a188275da" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-correlation-request-id": [ "03d28c5c-07c4-4562-9791-a93ae6b189e0" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T005048Z:03d28c5c-07c4-4562-9791-a93ae6b189e0" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:50:48 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "88" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-25T00:50:48.667Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "c9854e85-286f-44aa-9c9f-704cdccd19f1" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "814d79a5-40c9-410e-8298-effb3962bdfd" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], - "x-ms-correlation-request-id": [ "7b236b49-028c-407e-b638-9acb2243c09a" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T005149Z:7b236b49-028c-407e-b638-9acb2243c09a" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:51:48 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"80090f41-57e9-4f8c-8901-9978e0771356\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:50:48.667Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "c9854e85-286f-44aa-9c9f-704cdccd19f1" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "1805b859-f820-423e-9af6-9850400a7f0a" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], - "x-ms-correlation-request-id": [ "23e5ae15-9312-4203-b6ef-135c5b0fccbd" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T005249Z:23e5ae15-9312-4203-b6ef-135c5b0fccbd" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:52:49 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"80090f41-57e9-4f8c-8901-9978e0771356\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:50:48.667Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview+4": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "5" ], - "x-ms-client-request-id": [ "c9854e85-286f-44aa-9c9f-704cdccd19f1" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "ef142442-5350-424c-b5e0-fd634813d2cf" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], - "x-ms-correlation-request-id": [ "3eff9478-01f5-4a71-a166-30ec91ceeb85" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T005349Z:3eff9478-01f5-4a71-a166-30ec91ceeb85" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:53:49 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"80090f41-57e9-4f8c-8901-9978e0771356\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:50:48.667Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview+5": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "6" ], - "x-ms-client-request-id": [ "c9854e85-286f-44aa-9c9f-704cdccd19f1" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "59819522-a46d-4a07-b9c5-72823843c325" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], - "x-ms-correlation-request-id": [ "4f72e26f-58b0-4c11-a482-bae98a8d21d1" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T005449Z:4f72e26f-58b0-4c11-a482-bae98a8d21d1" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:54:49 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"80090f41-57e9-4f8c-8901-9978e0771356\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:50:48.667Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "7" ], - "x-ms-client-request-id": [ "c9854e85-286f-44aa-9c9f-704cdccd19f1" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "5eac551f-5468-443f-9207-789abb931870" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], - "x-ms-correlation-request-id": [ "c74a3838-bddc-4877-9011-9e82f1f5adb9" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T005549Z:c74a3838-bddc-4877-9011-9e82f1f5adb9" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:55:48 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"80090f41-57e9-4f8c-8901-9978e0771356\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:50:48.667Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview+7": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "8" ], - "x-ms-client-request-id": [ "c9854e85-286f-44aa-9c9f-704cdccd19f1" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "79a98451-be3c-49bb-a69c-b525de8aec62" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], - "x-ms-correlation-request-id": [ "72dbd2ff-4349-4352-863b-b933ff335219" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T005649Z:72dbd2ff-4349-4352-863b-b933ff335219" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:56:49 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"80090f41-57e9-4f8c-8901-9978e0771356\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:50:48.667Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview+8": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "9" ], - "x-ms-client-request-id": [ "c9854e85-286f-44aa-9c9f-704cdccd19f1" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "5ce410ee-662a-45a5-aa77-bb1a8b125c66" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], - "x-ms-correlation-request-id": [ "e6f45f2f-e101-4dee-84ad-d013f5925935" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T005749Z:e6f45f2f-e101-4dee-84ad-d013f5925935" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:57:49 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"80090f41-57e9-4f8c-8901-9978e0771356\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:50:48.667Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview+9": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "10" ], - "x-ms-client-request-id": [ "c9854e85-286f-44aa-9c9f-704cdccd19f1" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "75884ef9-0a2f-474d-b164-2640c0ea2d0e" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], - "x-ms-correlation-request-id": [ "38871004-dba0-4f2e-92c2-96f3679070ea" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T005849Z:38871004-dba0-4f2e-92c2-96f3679070ea" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:58:49 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"80090f41-57e9-4f8c-8901-9978e0771356\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:50:48.667Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview+10": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "11" ], - "x-ms-client-request-id": [ "c9854e85-286f-44aa-9c9f-704cdccd19f1" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "ae4a00fd-4ea3-4d78-9c70-2b6d146ee9e4" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], - "x-ms-correlation-request-id": [ "ac5c19f9-2c5c-4826-8626-50e4bc81e1e9" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T005950Z:ac5c19f9-2c5c-4826-8626-50e4bc81e1e9" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:59:49 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"80090f41-57e9-4f8c-8901-9978e0771356\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:50:48.667Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview+11": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "12" ], - "x-ms-client-request-id": [ "c9854e85-286f-44aa-9c9f-704cdccd19f1" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "9b34a29e-9a3a-4627-9b17-01c5520cc569" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], - "x-ms-correlation-request-id": [ "276ab4d8-8d3b-4302-bf1f-861105732a61" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T010050Z:276ab4d8-8d3b-4302-bf1f-861105732a61" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 01:00:49 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"80090f41-57e9-4f8c-8901-9978e0771356\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-25T00:50:48.667Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+12": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "13" ], - "x-ms-client-request-id": [ "c9854e85-286f-44aa-9c9f-704cdccd19f1" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "4550e9b4-f201-47c3-9641-1697ea089a23" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], - "x-ms-correlation-request-id": [ "ae4b854a-3562-4cd9-86ac-0f36a46f19c5" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T010050Z:ae4b854a-3562-4cd9-86ac-0f36a46f19c5" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 01:00:50 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "951" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"unrulyCod3\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-25T01:00:50.2289336+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2/firewallRules?api-version=2020-07-01-preview+13": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2/firewallRules?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "17" ], - "x-ms-client-request-id": [ "2c333290-fd64-4763-bf24-953932afd5da" ], - "CommandName": [ "Get-AzMySqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "Get-AzMySqlFlexibleServerFirewallRule_List" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "13f7efe9-a103-47f9-8915-a80c3b016b3e" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], - "x-ms-correlation-request-id": [ "0ab85f24-e8fc-4be1-a5c6-4c8c68611455" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T013055Z:0ab85f24-e8fc-4be1-a5c6-4c8c68611455" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 01:30:54 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "195" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"value\":[{\"properties\":{\"startIpAddress\":\"10.10.10.10\",\"endIpAddress\":\"10.10.10.12\"},\"name\":\"FirewallIPAddress_2020-11-24_17-00-51\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}]}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+14": { - "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "18" ], - "x-ms-client-request-id": [ "336fe11d-7ce7-4e87-9fad-59029e5e21e7" ], - "CommandName": [ "Remove-AzMySqlFlexibleServer" ], - "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/12b3c158-227b-43ad-99a0-ec7a179a7e6b?api-version=2020-07-01-preview" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/12b3c158-227b-43ad-99a0-ec7a179a7e6b?api-version=2020-07-01-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "12b3c158-227b-43ad-99a0-ec7a179a7e6b" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], - "x-ms-correlation-request-id": [ "b095e9b6-f870-4aa2-b763-e3389fbb5176" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T013055Z:b095e9b6-f870-4aa2-b763-e3389fbb5176" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 01:30:54 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "84" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"DropServerManagementOperation\",\"startTime\":\"2020-11-25T01:30:55.407Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/12b3c158-227b-43ad-99a0-ec7a179a7e6b?api-version=2020-07-01-preview+15": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/12b3c158-227b-43ad-99a0-ec7a179a7e6b?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "19" ], - "x-ms-client-request-id": [ "336fe11d-7ce7-4e87-9fad-59029e5e21e7" ], - "CommandName": [ "Remove-AzMySqlFlexibleServer" ], - "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "5960cefc-0fb2-4b90-93ec-b87c882b9f52" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], - "x-ms-correlation-request-id": [ "734910f9-855c-45ba-bc57-7776a857f88b" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T013110Z:734910f9-855c-45ba-bc57-7776a857f88b" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 01:31:09 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"12b3c158-227b-43ad-99a0-ec7a179a7e6b\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T01:30:55.407Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/12b3c158-227b-43ad-99a0-ec7a179a7e6b?api-version=2020-07-01-preview+16": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/12b3c158-227b-43ad-99a0-ec7a179a7e6b?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "20" ], - "x-ms-client-request-id": [ "336fe11d-7ce7-4e87-9fad-59029e5e21e7" ], - "CommandName": [ "Remove-AzMySqlFlexibleServer" ], - "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "d662d610-b200-4ea3-9254-a5fcd4253d84" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], - "x-ms-correlation-request-id": [ "8a583102-9b95-457d-be3c-f1d9214b1d7f" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T013125Z:8a583102-9b95-457d-be3c-f1d9214b1d7f" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 01:31:24 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"12b3c158-227b-43ad-99a0-ec7a179a7e6b\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T01:30:55.407Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/12b3c158-227b-43ad-99a0-ec7a179a7e6b?api-version=2020-07-01-preview+17": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/12b3c158-227b-43ad-99a0-ec7a179a7e6b?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "21" ], - "x-ms-client-request-id": [ "336fe11d-7ce7-4e87-9fad-59029e5e21e7" ], - "CommandName": [ "Remove-AzMySqlFlexibleServer" ], - "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "6764f0ad-1ce8-44e5-9183-50b762a65799" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], - "x-ms-correlation-request-id": [ "b46ae9ea-84ff-4a47-83e7-5f02c7bd5a2f" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T013140Z:b46ae9ea-84ff-4a47-83e7-5f02c7bd5a2f" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 01:31:40 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"12b3c158-227b-43ad-99a0-ec7a179a7e6b\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-25T01:30:55.407Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/operationResults/12b3c158-227b-43ad-99a0-ec7a179a7e6b?api-version=2020-07-01-preview+18": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/12b3c158-227b-43ad-99a0-ec7a179a7e6b?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "22" ], - "x-ms-client-request-id": [ "336fe11d-7ce7-4e87-9fad-59029e5e21e7" ], - "CommandName": [ "Remove-AzMySqlFlexibleServer" ], - "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "20e36bf7-be22-40e0-af93-15d23b44f115" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], - "x-ms-correlation-request-id": [ "49f94cc7-8a4e-457f-add2-648505937faf" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T013140Z:49f94cc7-8a4e-457f-add2-648505937faf" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 01:31:40 GMT" ] - }, - "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] - }, - "Content": null - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+19": { - "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", - "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"administratorLogin\": \"prudentFalcon2\",\r\n \"administratorLoginPassword\": \"3DX)}@=}gTPzAur[\",\r\n \"version\": \"5.7\",\r\n \"createMode\": \"Default\"\r\n }\r\n}", - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "371" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview" ], - "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "8f9cabae-1ab3-4af7-9213-53fd4cb48691" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], - "x-ms-correlation-request-id": [ "61f9b87f-aa37-46c6-8bda-9151f2cab908" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T013143Z:61f9b87f-aa37-46c6-8bda-9151f2cab908" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 01:31:43 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "88" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-25T01:31:43.143Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview+20": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "25" ], - "x-ms-client-request-id": [ "5551fb55-ef05-4d47-afd2-2e7da44abb78" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "2de708aa-20fa-43bf-89dd-3a46a749b565" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], - "x-ms-correlation-request-id": [ "6b617d32-8a1a-4c72-b3b2-371a1abeafee" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T013243Z:6b617d32-8a1a-4c72-b3b2-371a1abeafee" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 01:32:42 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T01:31:43.143Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview+21": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "26" ], - "x-ms-client-request-id": [ "5551fb55-ef05-4d47-afd2-2e7da44abb78" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "7cdb0726-2534-4c43-9e78-9504def965c3" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], - "x-ms-correlation-request-id": [ "193a0776-4a9b-402b-997f-fc2f9a0211c6" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T013343Z:193a0776-4a9b-402b-997f-fc2f9a0211c6" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 01:33:43 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T01:31:43.143Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview+22": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "27" ], - "x-ms-client-request-id": [ "5551fb55-ef05-4d47-afd2-2e7da44abb78" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "974223b5-33e2-471c-9311-6fef161cc7e4" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], - "x-ms-correlation-request-id": [ "acb343b5-37fe-4fbf-ae49-69fa04f20eb3" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T013443Z:acb343b5-37fe-4fbf-ae49-69fa04f20eb3" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 01:34:43 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T01:31:43.143Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview+23": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "28" ], - "x-ms-client-request-id": [ "5551fb55-ef05-4d47-afd2-2e7da44abb78" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "041b8766-bfaa-4394-9ecb-13b4bd8b7b15" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], - "x-ms-correlation-request-id": [ "91fa503a-6480-4ef4-9f31-3c313b2bdc83" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T013543Z:91fa503a-6480-4ef4-9f31-3c313b2bdc83" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 01:35:43 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T01:31:43.143Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview+24": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "29" ], - "x-ms-client-request-id": [ "5551fb55-ef05-4d47-afd2-2e7da44abb78" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "1601a2e4-1031-49a1-a527-65757e6272b9" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], - "x-ms-correlation-request-id": [ "41d28567-0417-48a6-948b-32fb1a354f6f" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T013643Z:41d28567-0417-48a6-948b-32fb1a354f6f" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 01:36:43 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T01:31:43.143Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview+25": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "30" ], - "x-ms-client-request-id": [ "5551fb55-ef05-4d47-afd2-2e7da44abb78" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "c37befe0-2685-45a1-9d5f-e22d2d456b77" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], - "x-ms-correlation-request-id": [ "8c412c77-e428-4025-910a-cbc8aef569ee" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T013744Z:8c412c77-e428-4025-910a-cbc8aef569ee" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 01:37:44 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T01:31:43.143Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview+26": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "31" ], - "x-ms-client-request-id": [ "5551fb55-ef05-4d47-afd2-2e7da44abb78" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "e4efcac0-d973-4888-8c98-eee0a5097ecd" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], - "x-ms-correlation-request-id": [ "2b6b36fa-7559-4e94-8f3f-3d1180448795" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T013844Z:2b6b36fa-7559-4e94-8f3f-3d1180448795" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 01:38:43 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T01:31:43.143Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview+27": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "32" ], - "x-ms-client-request-id": [ "5551fb55-ef05-4d47-afd2-2e7da44abb78" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "63aeea31-a2d3-48b6-8c48-d184cb1ee661" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], - "x-ms-correlation-request-id": [ "c5cb880d-12f7-45b2-88b6-dc9af17e28de" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T013944Z:c5cb880d-12f7-45b2-88b6-dc9af17e28de" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 01:39:43 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T01:31:43.143Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview+28": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "33" ], - "x-ms-client-request-id": [ "5551fb55-ef05-4d47-afd2-2e7da44abb78" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "cff485d5-cceb-4d0e-ad0d-f4ecabc6704c" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], - "x-ms-correlation-request-id": [ "84ae0837-e869-4c0b-8e7d-da24927c858b" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T014044Z:84ae0837-e869-4c0b-8e7d-da24927c858b" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 01:40:44 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T01:31:43.143Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview+29": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "34" ], - "x-ms-client-request-id": [ "5551fb55-ef05-4d47-afd2-2e7da44abb78" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "8a44d0d4-a692-470d-8570-4d01a90c09de" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], - "x-ms-correlation-request-id": [ "fb8c4b18-d5c9-4edf-bb2e-14c25eaf1c14" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T014144Z:fb8c4b18-d5c9-4edf-bb2e-14c25eaf1c14" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 01:41:43 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-25T01:31:43.143Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+30": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "35" ], - "x-ms-client-request-id": [ "5551fb55-ef05-4d47-afd2-2e7da44abb78" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 404, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ "gateway" ], - "x-ms-request-id": [ "27fb13b6-3312-4b3b-ac8c-11e8a1dd921d" ], - "x-ms-correlation-request-id": [ "27fb13b6-3312-4b3b-ac8c-11e8a1dd921d" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T014144Z:27fb13b6-3312-4b3b-ac8c-11e8a1dd921d" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Wed, 25 Nov 2020 01:41:43 GMT" ] - }, - "ContentHeaders": { - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ], - "Content-Length": [ "234" ] - }, - "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForMySql/flexibleServers/mysql-test-100-2\u0027 under resource group \u0027MySqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" - } - } -} \ No newline at end of file diff --git a/src/MySql/test/New-AzMySqlFlexibleServerThird.Recording.json b/src/MySql/test/New-AzMySqlFlexibleServerThird.Recording.json deleted file mode 100644 index 0f6db769574b..000000000000 --- a/src/MySql/test/New-AzMySqlFlexibleServerThird.Recording.json +++ /dev/null @@ -1,717 +0,0 @@ -{ - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+1": { - "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", - "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"administratorLogin\": \"admiredIbis0\",\r\n \"administratorLoginPassword\": \"[bn#ObA#)[8%14Bk\",\r\n \"version\": \"5.7\",\r\n \"createMode\": \"Default\"\r\n }\r\n}", - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "369" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview" ], - "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "84bd855e-d2bd-4fbc-a8a9-3379b32fd4c7" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-correlation-request-id": [ "dca1ba68-e4e2-428a-9e60-d88190c428f6" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T021627Z:dca1ba68-e4e2-428a-9e60-d88190c428f6" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 02:16:27 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "88" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-25T02:16:27.353Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "fa7cc640-50ae-44ab-baeb-8929e4040e27" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "ec1366d4-e0bd-4af2-a875-87f578cd5692" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], - "x-ms-correlation-request-id": [ "780b1456-9edd-469f-9803-e86a7f3a5677" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T021727Z:780b1456-9edd-469f-9803-e86a7f3a5677" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 02:17:26 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"5fa9d139-8955-44b5-873a-7b748449200f\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T02:16:27.353Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "fa7cc640-50ae-44ab-baeb-8929e4040e27" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "21b5b430-0f99-42f1-ae69-2333cca04cfe" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], - "x-ms-correlation-request-id": [ "4804f65e-42b4-48e6-b74e-fa3867587dc0" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T021827Z:4804f65e-42b4-48e6-b74e-fa3867587dc0" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 02:18:27 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"5fa9d139-8955-44b5-873a-7b748449200f\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T02:16:27.353Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview+4": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "5" ], - "x-ms-client-request-id": [ "fa7cc640-50ae-44ab-baeb-8929e4040e27" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "fab2b885-d5ec-4cb0-9448-c7aa34b35c8f" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], - "x-ms-correlation-request-id": [ "ed6919de-8ad7-446e-80de-c5a90a4fcb3f" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T021928Z:ed6919de-8ad7-446e-80de-c5a90a4fcb3f" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 02:19:27 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"5fa9d139-8955-44b5-873a-7b748449200f\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T02:16:27.353Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview+5": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "6" ], - "x-ms-client-request-id": [ "fa7cc640-50ae-44ab-baeb-8929e4040e27" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "e773b8de-9447-47bd-8658-58ba1eeab17f" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], - "x-ms-correlation-request-id": [ "c5152314-7aac-4956-8017-7f0daecce839" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T022028Z:c5152314-7aac-4956-8017-7f0daecce839" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 02:20:28 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"5fa9d139-8955-44b5-873a-7b748449200f\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T02:16:27.353Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "7" ], - "x-ms-client-request-id": [ "fa7cc640-50ae-44ab-baeb-8929e4040e27" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "bc5f084d-f621-42fb-8be1-ea8da5b481f6" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], - "x-ms-correlation-request-id": [ "193c8fa6-d683-4880-a76e-6a2f1481a842" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T022128Z:193c8fa6-d683-4880-a76e-6a2f1481a842" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 02:21:27 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"5fa9d139-8955-44b5-873a-7b748449200f\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T02:16:27.353Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview+7": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "8" ], - "x-ms-client-request-id": [ "fa7cc640-50ae-44ab-baeb-8929e4040e27" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "06a5bbff-0e32-4fba-a64b-be6ea97d32b3" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], - "x-ms-correlation-request-id": [ "0cb1b205-4112-43c4-9c88-7c3e2d151efe" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T022228Z:0cb1b205-4112-43c4-9c88-7c3e2d151efe" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 02:22:28 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"5fa9d139-8955-44b5-873a-7b748449200f\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T02:16:27.353Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview+8": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "9" ], - "x-ms-client-request-id": [ "fa7cc640-50ae-44ab-baeb-8929e4040e27" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "f20e33d7-6b27-4994-8b7b-e95e8eb81ecd" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], - "x-ms-correlation-request-id": [ "16270d62-1967-4d95-8de1-c595f6225e30" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T022328Z:16270d62-1967-4d95-8de1-c595f6225e30" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 02:23:27 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"5fa9d139-8955-44b5-873a-7b748449200f\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T02:16:27.353Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview+9": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "10" ], - "x-ms-client-request-id": [ "fa7cc640-50ae-44ab-baeb-8929e4040e27" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "b63c3ed9-8f0a-4743-8e4d-bbfb1aaf4fd7" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], - "x-ms-correlation-request-id": [ "490f59b7-f83f-4b5a-9cec-02b60accb347" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T022428Z:490f59b7-f83f-4b5a-9cec-02b60accb347" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 02:24:28 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"5fa9d139-8955-44b5-873a-7b748449200f\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T02:16:27.353Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview+10": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "11" ], - "x-ms-client-request-id": [ "fa7cc640-50ae-44ab-baeb-8929e4040e27" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "a021104f-f07e-45a2-b0c8-1f992c78aa9c" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], - "x-ms-correlation-request-id": [ "81578b28-40fb-487b-a2c5-dca17bcf6db8" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T022530Z:81578b28-40fb-487b-a2c5-dca17bcf6db8" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 02:25:29 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"5fa9d139-8955-44b5-873a-7b748449200f\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T02:16:27.353Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview+11": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "12" ], - "x-ms-client-request-id": [ "fa7cc640-50ae-44ab-baeb-8929e4040e27" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "4a678963-cc5e-45cb-b398-4abdfce71b46" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], - "x-ms-correlation-request-id": [ "332d359a-9d82-4acd-bc90-3b8cd84b9119" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T022630Z:332d359a-9d82-4acd-bc90-3b8cd84b9119" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 02:26:30 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"5fa9d139-8955-44b5-873a-7b748449200f\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-25T02:16:27.353Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+12": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "13" ], - "x-ms-client-request-id": [ "fa7cc640-50ae-44ab-baeb-8929e4040e27" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "fe33c218-c5f1-489c-93c0-744c42eb3d52" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], - "x-ms-correlation-request-id": [ "93cdf376-badc-4b4a-81de-b67f119065d7" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T022630Z:93cdf376-badc-4b4a-81de-b67f119065d7" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 02:26:30 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "953" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"admiredIbis0\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-25T02:26:30.6722645+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2/firewallRules?api-version=2020-07-01-preview+13": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2/firewallRules?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "17" ], - "x-ms-client-request-id": [ "f6288685-8af7-4e96-932a-e97faba6483a" ], - "CommandName": [ "Get-AzMySqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "Get-AzMySqlFlexibleServerFirewallRule_List" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "8a800232-8852-4172-bc35-fb1b6ea65ccc" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], - "x-ms-correlation-request-id": [ "c24497dc-706c-46a4-88e4-8ae496b83577" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T022732Z:c24497dc-706c-46a4-88e4-8ae496b83577" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 02:27:31 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "186" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"value\":[{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"255.255.255.255\"},\"name\":\"AllowAll_2020-11-24_18-26-31\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}]}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+14": { - "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "18" ], - "x-ms-client-request-id": [ "c9e48e1e-6a2a-4082-9d81-bdda3343281e" ], - "CommandName": [ "Remove-AzMySqlFlexibleServer" ], - "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/57019682-6b84-4873-b6bb-683d8efd6fa2?api-version=2020-07-01-preview" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/57019682-6b84-4873-b6bb-683d8efd6fa2?api-version=2020-07-01-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "57019682-6b84-4873-b6bb-683d8efd6fa2" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], - "x-ms-correlation-request-id": [ "48c00c84-1fd6-4ab3-b221-cd495af887e6" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T022732Z:48c00c84-1fd6-4ab3-b221-cd495af887e6" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 02:27:32 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "84" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"DropServerManagementOperation\",\"startTime\":\"2020-11-25T02:27:32.333Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/57019682-6b84-4873-b6bb-683d8efd6fa2?api-version=2020-07-01-preview+15": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/57019682-6b84-4873-b6bb-683d8efd6fa2?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "19" ], - "x-ms-client-request-id": [ "c9e48e1e-6a2a-4082-9d81-bdda3343281e" ], - "CommandName": [ "Remove-AzMySqlFlexibleServer" ], - "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "97d3ca20-3efa-4f77-b87f-4bcabb15c4ba" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], - "x-ms-correlation-request-id": [ "41dacfd7-14e5-4bb6-9a3e-9326eac3c9df" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T022747Z:41dacfd7-14e5-4bb6-9a3e-9326eac3c9df" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 02:27:47 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"57019682-6b84-4873-b6bb-683d8efd6fa2\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T02:27:32.333Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/57019682-6b84-4873-b6bb-683d8efd6fa2?api-version=2020-07-01-preview+16": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/57019682-6b84-4873-b6bb-683d8efd6fa2?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "20" ], - "x-ms-client-request-id": [ "c9e48e1e-6a2a-4082-9d81-bdda3343281e" ], - "CommandName": [ "Remove-AzMySqlFlexibleServer" ], - "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "e89bb0ca-a96f-4387-9617-055e1cd1c026" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], - "x-ms-correlation-request-id": [ "6c9f1c83-c949-4de9-b701-b9c29f744007" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T022802Z:6c9f1c83-c949-4de9-b701-b9c29f744007" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 02:28:02 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"57019682-6b84-4873-b6bb-683d8efd6fa2\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T02:27:32.333Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/57019682-6b84-4873-b6bb-683d8efd6fa2?api-version=2020-07-01-preview+17": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/57019682-6b84-4873-b6bb-683d8efd6fa2?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "21" ], - "x-ms-client-request-id": [ "c9e48e1e-6a2a-4082-9d81-bdda3343281e" ], - "CommandName": [ "Remove-AzMySqlFlexibleServer" ], - "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "4bc8b95b-4f55-40f0-8046-587ea1fc9e55" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], - "x-ms-correlation-request-id": [ "facd44c4-bdda-45dc-b7e3-72e01bddc7b3" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T022817Z:facd44c4-bdda-45dc-b7e3-72e01bddc7b3" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 02:28:17 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"57019682-6b84-4873-b6bb-683d8efd6fa2\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-25T02:27:32.333Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/operationResults/57019682-6b84-4873-b6bb-683d8efd6fa2?api-version=2020-07-01-preview+18": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/57019682-6b84-4873-b6bb-683d8efd6fa2?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "22" ], - "x-ms-client-request-id": [ "c9e48e1e-6a2a-4082-9d81-bdda3343281e" ], - "CommandName": [ "Remove-AzMySqlFlexibleServer" ], - "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "53c435bd-6720-489d-a0d3-951333ae44e2" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], - "x-ms-correlation-request-id": [ "da3e1e84-5b6d-44c4-b21a-85f60e450fe5" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T022817Z:da3e1e84-5b6d-44c4-b21a-85f60e450fe5" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 02:28:17 GMT" ] - }, - "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] - }, - "Content": null - } - } -} \ No newline at end of file diff --git a/src/MySql/test/utils.ps1 b/src/MySql/test/utils.ps1 index 2c715f98c378..fda19739467d 100644 --- a/src/MySql/test/utils.ps1 +++ b/src/MySql/test/utils.ps1 @@ -20,7 +20,8 @@ function setupEnv() { $env.Add("firewallRuleName", "mysqlrule01") $env.Add("firewallRuleName2", "mysqlrule02") $env.Add("databaseName", "mysqldb") - $env.Add("VNetName", "mysqlvnet") + $env.Add("VNetName", "mysql-test-vnet") + $env.Add("SubnetName", "mysql-test-subnet") # Create the test group write-host "start to create test group." From a95fd1432e7fadc4f4ecea8bb104257efc9c24cd Mon Sep 17 00:00:00 2001 From: Daeun Yim Date: Fri, 11 Dec 2020 01:04:01 -0800 Subject: [PATCH 30/51] test record --- ...-AzMySqlFlexibleServerConnectionString.ps1 | 139 + ...lFlexibleServerLocationBasedCapability.ps1 | 122 + .../custom/New-AzMySqlFlexibleServer.ps1 | 243 +- src/MySql/custom/test.ps1 | 0 src/MySql/docs/Az.MySql.md | 6 + ...t-AzMySqlFlexibleServerConnectionString.md | 125 + ...qlFlexibleServerLocationBasedCapability.md | 112 + ...t-AzMySqlFlexibleServerConnectionString.md | 8 + ...qlFlexibleServerLocationBasedCapability.md | 27 + src/MySql/readme.md | 6 + ...xibleServerConnectionString.Recording.json | 236 + ...qlFlexibleServerConnectionString.Tests.ps1 | 40 + ...rverLocationBasedCapability.Recording.json | 41 + ...bleServerLocationBasedCapability.Tests.ps1 | 21 + .../New-AzMySqlFlexibleServer.Recording.json | 11296 ++++++++++++++++ .../test/New-AzMySqlFlexibleServer.Tests.ps1 | 420 +- src/MySql/test/env.json | 20 +- src/MySql/test/utils.ps1 | 17 +- 18 files changed, 12578 insertions(+), 301 deletions(-) create mode 100644 src/MySql/custom/Get-AzMySqlFlexibleServerConnectionString.ps1 create mode 100644 src/MySql/custom/Get-AzMySqlFlexibleServerLocationBasedCapability.ps1 create mode 100644 src/MySql/custom/test.ps1 create mode 100644 src/MySql/docs/Get-AzMySqlFlexibleServerConnectionString.md create mode 100644 src/MySql/docs/Get-AzMySqlFlexibleServerLocationBasedCapability.md create mode 100644 src/MySql/examples/Get-AzMySqlFlexibleServerConnectionString.md create mode 100644 src/MySql/examples/Get-AzMySqlFlexibleServerLocationBasedCapability.md create mode 100644 src/MySql/test/Get-AzMySqlFlexibleServerConnectionString.Recording.json create mode 100644 src/MySql/test/Get-AzMySqlFlexibleServerConnectionString.Tests.ps1 create mode 100644 src/MySql/test/Get-AzMySqlFlexibleServerLocationBasedCapability.Recording.json create mode 100644 src/MySql/test/Get-AzMySqlFlexibleServerLocationBasedCapability.Tests.ps1 create mode 100644 src/MySql/test/New-AzMySqlFlexibleServer.Recording.json diff --git a/src/MySql/custom/Get-AzMySqlFlexibleServerConnectionString.ps1 b/src/MySql/custom/Get-AzMySqlFlexibleServerConnectionString.ps1 new file mode 100644 index 000000000000..feec47466a67 --- /dev/null +++ b/src/MySql/custom/Get-AzMySqlFlexibleServerConnectionString.ps1 @@ -0,0 +1,139 @@ +# ---------------------------------------------------------------------------------- +# +# Copyright Microsoft Corporation +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ---------------------------------------------------------------------------------- + +<# +.Synopsis +Get the connection string according to client connection provider. +.Description +Get the connection string according to client connection provider. +#> + +function Get-AzMySqlFlexibleServerConnectionString { + [OutputType([System.String])] + [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Description('Get the connection string according to client connection provider.')] + param( + [Parameter(ParameterSetName='Get', Mandatory, HelpMessage = 'The name of the server.')] + [Alias('ServerName')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [System.String] + ${Name}, + + [Parameter(ParameterSetName='Get', Mandatory, HelpMessage = 'The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [System.String] + ${ResourceGroupName}, + + [Parameter(ParameterSetName='Get', HelpMessage='The subscription ID that identifies an Azure subscription.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String] + ${SubscriptionId}, + + [Parameter(Mandatory, HelpMessage = 'Client connection provider.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [Validateset('ADO.NET', 'JDBC', 'Node.js', 'PHP', 'Python', 'Ruby', 'WebApp')] + [System.String] + ${Client}, + + [Parameter(HelpMessage = 'The credentials, account, tenant, and subscription used for communication with Azure.')] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Azure')] + [System.Management.Automation.PSObject] + ${DefaultProfile}, + + [Parameter(DontShow, HelpMessage = 'Wait for .NET debugger to attach.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline. + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline. + ${HttpPipelinePrepend}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use. + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call. + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy. + ${ProxyUseDefaultCredentials} + ) + + process { + function GetConnectionStringSslPart { + param( + [Parameter()] + [string] + ${Client}, + [Parameter()] + [string] + ${SslEnforcement} + ) + $SslEnforcementTemplateMap = @{ + 'ADO.NET' = 'SslMode=MySqlSslMode.Required;SslCa="{ca-cert filename}"' + 'JDBC' = '?useSSL=true' + 'Node.js' = ', ssl:{ca:fs.readFileSync({ca-cert filename})}' + 'PHP' = 'mysqli_ssl_set($con, NULL, NULL, {ca-cert filename}, NULL, NULL);' + 'Python' = ', ssl_ca={ca-cert filename}, ssl_verify_cert=true' + 'Ruby' = ', sslca:{ca-cert filename}, sslverify:false, sslcipher:"AES256-SHA"' + 'WebApp' = '' + } + if ($SslEnforcement -eq 'Enabled') { + return $SslEnforcementTemplateMap[$Client] + } + return '' + } + + $clientConnection = $PSBoundParameters['Client'] + $null = $PSBoundParameters.Remove('Client') + $mySqlServer = Az.MySql\Get-AzMySqlFlexibleServer @PSBoundParameters + $DBHost = $mySqlServer.FullyQualifiedDomainName + $DBPort = 3306 + $adminName = $mySqlServer.AdministratorLogin + $SslConnectionString = GetConnectionStringSslPart -Client $clientConnection -SslEnforcement $mySqlServer.SslEnforcement + $ConnectionStringMap = @{ + 'ADO.NET' = "Server=${DBHost}; Port=${DBPort}; Database={your_database}; UserID=${adminName}; Password={your_password}; $SslConnectionString" + 'JDBC' = "String url =`"jdbc:mysql://${DBHost}:${DBPort}/{your_database}$SslConnectionString`"; myDbConn = DriverManager.getConnection(url, `"${adminName}`", {your_password});" + 'Node.js' = "var conn = mysql.createConnection({host: `"${DBHost}`", user: `"${adminName}`", password: {your_password}, database: {your_database}, port: ${DBPort}$SslConnectionString});" + 'PHP' = "`$con=mysqli_init();$SslConnectionString mysqli_real_connect(`$con, `"${DBHost}`", `"${adminName}`", {your_password}, {your_database}, ${DBPort});" + 'Python' = "cnx = mysql.connector.connect(user=`"${adminName}`", password={your_password}, host=`"${DBHost}`", port=${DBPort}, database={your_database}$SslConnectionString)" + 'Ruby' = "client = Mysql2::Client.new(username: `"${adminName}`", password: {your_password}, database: {your_database}, host: `"${DBHost}`", port: ${DBPort}$SslConnectionString)" + } + return $ConnectionStringMap[$Client] + } +} + diff --git a/src/MySql/custom/Get-AzMySqlFlexibleServerLocationBasedCapability.ps1 b/src/MySql/custom/Get-AzMySqlFlexibleServerLocationBasedCapability.ps1 new file mode 100644 index 000000000000..fa3473eb55de --- /dev/null +++ b/src/MySql/custom/Get-AzMySqlFlexibleServerLocationBasedCapability.ps1 @@ -0,0 +1,122 @@ +# ---------------------------------------------------------------------------------- +# +# Copyright Microsoft Corporation +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ---------------------------------------------------------------------------------- + +<# +.Synopsis +Get the available SKU information for the location +.Description +Get the available SKU information for the location +#> + +function Get-AzMySqlFlexibleServerLocationBasedCapability { + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ICapabilityProperties])] + [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] + param( + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [System.String] + # The name of the location. + ${Location}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String[]] + # The ID of the target subscription. + ${SubscriptionId}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Azure')] + [System.Management.Automation.PSObject] + # The credentials, account, tenant, and subscription used for communication with Azure. + ${DefaultProfile}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} + ) + + process { + try { + $PSBoundParameters.LocationName = $PSBoundParameters['Location'] + $null = $PSBoundParameters.Remove('Location') + + $Result = Az.MySql.internal\Get-AzMySqlFlexibleServerLocationBasedCapability @PSBoundParameters + Write-Host "Please refer to https://aka.ms/mysql-pricing for pricing details" + $SkusTiers = $Result[0].SupportedFlexibleServerEdition + $TableResult = @() + + ForEach ($Skus in $SkusTiers) { + $TierName = $Skus.Name + Try { + $Keys = $Skus.SupportedServerVersion[0].SupportedVcore + + ForEach ($Key in $Keys) { + $NewEntry = @{} + $NewEntry.SKU = $Key.Name + $NewEntry.Tier = $TierName + $NewEntry.vCore = $Key.Vcore + $NewEntry.Memory = $Key.SupportedMemoryPerVcoreMb + $TableResult += $NewEntry + } + } + Catch { + Throw "No SKU info for this location" + } + } + $TableResult | ForEach-Object {[PSCustomObject]$_} | Format-Table 'SKU', 'Tier', 'Memory', 'vCore' -AutoSize + + + } catch { + throw + } + } +} \ No newline at end of file diff --git a/src/MySql/custom/New-AzMySqlFlexibleServer.ps1 b/src/MySql/custom/New-AzMySqlFlexibleServer.ps1 index 6dc13270ce9c..379219d92d83 100644 --- a/src/MySql/custom/New-AzMySqlFlexibleServer.ps1 +++ b/src/MySql/custom/New-AzMySqlFlexibleServer.ps1 @@ -208,8 +208,6 @@ function New-AzMySqlFlexibleServer { process { try { - Get-Module -ListAvailable - If (!$PSBoundParameters.ContainsKey('Location')) { $PSBoundParameters.Location = 'westus2' } @@ -220,19 +218,12 @@ function New-AzMySqlFlexibleServer { } $PSBoundParameters.AdministratorLoginPassword = . "$PSScriptRoot/../utils/Unprotect-SecureString.ps1" $PSBoundParameters['AdministratorLoginPassword'] - # If (!(Get-Module -ListAvailable -Name Az.Resources)) { - # Throw 'Please install Az.Resources module by entering "Install-Module -Name Az.Resources"' - # } - # Import-Module -Name Az.Resources + If (!(Get-Module -ListAvailable -Name Az.Resources)) { Throw 'Please install Az.Resources module by entering "Install-Module -Name Az.Resources"'} + Else { Import-Module -Name Az.Resources } If(!$PSBoundParameters.ContainsKey('ResourceGroupName')) { $PSBoundParameters.ResourceGroupName = Get-RandomNumbers -Prefix 'group' -Length 10 $Msg = "Creating Resource Group {0}..." -f $PSBoundParameters.ResourceGroupName Write-Host $Msg - If (!(Test-Path (Join-Path $PSScriptRoot '../generated/modules/Az.Resources'))){ - Find-Module -Name Az.Resources -RequiredVersion 2.0.1 -Repository 'PSGallery' | Save-Module -Path (Join-Path $PSScriptRoot '../generated/modules') - } - Import-Module -Name Az.Resources -RequiredVersion 2.0.1 - $null = New-AzResourceGroup -Name $PSBoundParameters.ResourceGroupName -Location $PSBoundParameters.Location } Else { @@ -311,7 +302,7 @@ function New-AzMySqlFlexibleServer { If(!$NetworkParameters.ContainsKey('PublicAccess')){ $VnetSubnetParameters = CreateNetworkResource $NetworkParameters - $SubnetId = GetSubnetId $VnetSubnetParameters + $SubnetId = GetSubnetId $VnetSubnetParameters.ResourceGroupName $VnetSubnetParameters.VnetName $VnetSubnetParameters.SubnetName $PSBoundParameters.DelegatedSubnetArgumentSubnetArmResourceId = $SubnetId } If ([string]::IsNullOrEmpty($PSBoundParameters.DelegatedSubnetArgumentSubnetArmResourceId)) { @@ -361,93 +352,95 @@ function New-AzMySqlFlexibleServer { } } } -function CreateNetworkResource($Parameters) { - [OutputType([string])] +function CreateNetworkResource($NetworkParameters) { + [OutputType([hashtable])] $WarningPreference = 'silentlycontinue' - # If (!(Test-Path (Join-Path $PSScriptRoot '../generated/modules/Az.Network'))){ - # Find-Module -Name Az.Network -RequiredVersion 3.0.0 -Repository 'PSGallery' | Save-Module -Path (Join-Path $PSScriptRoot '../generated/modules') - # } - # Import-Module -Name Az.Network -RequiredVersion 3.0.0 - If (!(Get-Module -ListAvailable -Name Az.Network)) { - Throw 'Please install Az.Network module 3.0.0 by entering "Install-Module -Name Az.Network -RequiredVersion 3.0.0"' - } - Else { - Import-Module -Name Az.Network -RequiredVersion 3.0.0 - } - + If (!(Get-Module -ListAvailable -Name Az.Network)) { Throw 'Please install Az.Network module by entering "Install-Module -Name Az.Network"' } + Else { Import-Module -Name Az.Network } # 1. Error Handling # Raise error when user passes values for both parameters - if ($Parameters.Containskey('Subnet') -And $Parameters.ContainsKey('PublicAccess')) { + if ($NetworkParameters.Containskey('Subnet') -And $NetworkParameters.ContainsKey('PublicAccess')) { Throw "Incorrect usage : A combination of the parameters -Subnet and -PublicAccess is invalid. Use either one of them." } # When address space parameters are passed, the only valid combination is : --vnet, --subnet, --vnet-address-prefix, --subnet-address-prefix - if ($Parameters.ContainsKey('Vnet') -Or $Parameters.ContainsKey('Subnet')) { - if (($Parameters.ContainsKey('VnetPrefix') -And !$Parameters.ContainsKey('SubnetPrefix')) -Or - (!$Parameters.ContainsKey('VnetPrefix') -And $Parameters.ContainsKey('SubnetPrefix')) -Or - ($Parameters.ContainsKey('VnetPrefix') -And $Parameters.ContainsKey('SubnetPrefix') -And (!$Parameters.ContainsKey('Vnet') -Or !$Parameters.ContainsKey('Subnet')))){ + if ($NetworkParameters.ContainsKey('Vnet') -Or $NetworkParameters.ContainsKey('Subnet')) { + if (($NetworkParameters.ContainsKey('VnetPrefix') -And !$NetworkParameters.ContainsKey('SubnetPrefix')) -Or + (!$NetworkParameters.ContainsKey('VnetPrefix') -And $NetworkParameters.ContainsKey('SubnetPrefix')) -Or + ($NetworkParameters.ContainsKey('VnetPrefix') -And $NetworkParameters.ContainsKey('SubnetPrefix') -And (!$NetworkParameters.ContainsKey('Vnet') -Or !$NetworkParameters.ContainsKey('Subnet')))){ Throw "Incorrect usage : --vnet, --subnet, --vnet-address-prefix, --subnet-address-prefix must be supplied together." } } #Handle Vnet, Subnet scenario - If ($Parameters.ContainsKey('Vnet') -Or $Parameters.ContainsKey('Subnet')) { + If ($NetworkParameters.ContainsKey('Vnet') -Or $NetworkParameters.ContainsKey('Subnet')) { # Only the Subnet ID provided.. - If (!$Parameters.ContainsKey('Vnet') -And $Parameters.ContainsKey('Subnet')) { - If (IsValidSubnetId $Parameters.Subnet) { - $ParsedResult = ParseResourceId $Parameters.Subnet - $Parameters.VnetName = $ParsedResult.VnetName - $Parameters.SubnetName = $ParsedResult.SubnetName + If (!$NetworkParameters.ContainsKey('Vnet') -And $NetworkParameters.ContainsKey('Subnet')) { + If (IsValidSubnetId $NetworkParameters.Subnet) { + Write-Host "You have supplied a subnet Id. Verifying its existence..." + $ParsedResult = ParseResourceId $NetworkParameters.Subnet + $NetworkParameters.VnetName = $ParsedResult.VnetName + $NetworkParameters.SubnetName = $ParsedResult.SubnetName + $NetworkParameters.ResourceGroupName = $ParsedResult.ResourceGroupName + $SubnetFlag = $true Try { # Valid Subnet ID is provided - $Subnet = Get-AzVirtualNetworkSubnetConfig -ResourceId $Parameters.Subnet -ErrorAction Stop - Try { # Valid and delegated - $Delegations = Get-AzDelegation -Subnet $Subnet + $Subnet = Get-AzVirtualNetworkSubnetConfig -ResourceId $NetworkParameters.Subnet -ErrorAction Stop + } + Catch { # Invalid subnet ID is provided, creating a new one. + $SubnetFlag = $false + Write-Host "The subnet doesn't exist. Creating the subnet" + $Subnet = CreateVnetSubnet $NetworkParameters + } + + If ($SubnetFlag){ + $Delegations = Get-AzDelegation -Subnet $Subnet + If ($null -ne $Delegations){ # Valid but incorrect delegation $Delegations | ForEach-Object {If ($PSItem.ServiceName -ne $DELEGATION_SERVICE_NAME) { $Msg = "Can not use subnet with existing delegations other than {0}" -f $DELEGATION_SERVICE_NAME Throw $Msg }} - } Catch { # Valid but incorrect delegation - $null = $Subnet = Get-AzVirtualNetworkSubnetConfig -ResourceId $Parameters.Subnet - $null = $Subnet = Add-AzDelegation -Name $DELEGATION_SERVICE_NAME -ServiceName $DELEGATION_SERVICE_NAME -Subnet $Subnet } - } - Catch { # Invalid subnet ID is provided, creating a new one. - $Subnet = CreateVnetSubnet $Parameters + Else { # Valid but no delegation + $Vnet = Get-AzVirtualNetwork -ResourceGroupName $NetworkParameters.ResourceGroupName -Name $NetworkParameters.VnetName + $Subnet = Get-AzVirtualNetworkSubnetConfig -Name $NetworkParameters.SubnetName -VirtualNetwork $Vnet + $Subnet = Add-AzDelegation -Name $DELEGATION_SERVICE_NAME -ServiceName $DELEGATION_SERVICE_NAME -Subnet $Subnet + $Vnet | Set-AzVirtualNetwork + } } } Else { Throw "The Subnet ID is not a valid form of resource id." } } - ElseIf ($Parameters.ContainsKey('Vnet') -And !$Parameters.ContainsKey('Subnet')) { - If (IsValidVnetId $Parameters.Vnet){ + ElseIf ($NetworkParameters.ContainsKey('Vnet') -And !$NetworkParameters.ContainsKey('Subnet')) { + If (IsValidVnetId $NetworkParameters.Vnet){ Write-Host "You have supplied a vnet Id. Verifying its existence..." - IsValidRgLocation $Parameters.Vnet $Parameters - $ParsedResult = ParseResourceId $Parameters.Vnet - $Parameters.VnetName = $ParsedResult.VnetName - $Parameters.SubnetName = 'Subnet' + $Parameters.Name - $Subnet = CreateVnetSubnet $Parameters + IsValidRgLocation $NetworkParameters.Vnet $NetworkParameters + $ParsedResult = ParseResourceId $NetworkParameters.Vnet + $NetworkParameters.VnetName = $ParsedResult.VnetName + $NetworkParameters.SubnetName = 'Subnet' + $NetworkParameters.Name + $Subnet = CreateVnetSubnet $NetworkParameters } - ElseIf ($Parameters.Vnet -Match $AZURE_ARMNAME) { + ElseIf ($NetworkParameters.Vnet -Match $AZURE_ARMNAME) { Write-Host "You have supplied a vnet Name. Verifying its existence..." - $Parameters.VnetName = $Parameters.Vnet - $Parameters.SubnetName = 'Subnet' + $Parameters.Name - $Subnet = CreateVnetSubnet $Parameters - IsValidRgLocation $Subnet.Id $Parameters + $NetworkParameters.VnetName = $NetworkParameters.Vnet + $NetworkParameters.SubnetName = 'Subnet' + $NetworkParameters.Name + $Subnet = CreateVnetSubnet $NetworkParameters + IsValidRgLocation $Subnet.Id $NetworkParameters } Else { Throw "Incorrectly formed Vnet id or Vnet name" } } Else { # Both Vnet and Subnet provided - IF ($Parameters.Vnet -Match $AZURE_ARMNAME -And $Parameters.Subnet -Match $AZURE_ARMNAME) { - $Parameters.VnetName = $Parameters.Vnet - $Parameters.SubnetName = $Parameters.Subnet - $Subnet = CreateVnetSubnet $Parameters + IF ($NetworkParameters.Vnet -Match $AZURE_ARMNAME -And $NetworkParameters.Subnet -Match $AZURE_ARMNAME) { + $NetworkParameters.VnetName = $NetworkParameters.Vnet + $NetworkParameters.SubnetName = $NetworkParameters.Subnet + $Subnet = CreateVnetSubnet $NetworkParameters } Else { - If ($Parameters.ContainsKey('SubnetPrefix') -And $Parameters.ContainsKey('VnetPrefix')) { + If ($NetworkParameters.ContainsKey('SubnetPrefix') -And $NetworkParameters.ContainsKey('VnetPrefix')) { $Msg = "If you pass an address prefix, please consider passing a name (instead of Id) for a subnet or vnet." } Else { $Msg = "If you pass both --vnet and --subnet, consider passing names instead of ids." } @@ -456,57 +449,75 @@ function CreateNetworkResource($Parameters) { } } # Handling create command without arguments - ElseIf (!$Parameters.ContainsKey('PublicAccess') -And !$Parameters.ContainsKey('Subnet') -And !$Parameters.ContainsKey('Vnet')) { - $Parameters.VnetName = 'VNET' + $Parameters.Name - $Parameters.SubnetName = 'Subnet' + $Parameters.Name - $Parameters.VnetAddrPrefix = $DEFAULT_VNET_PREFIX - $Parameters.SubnetAddrPrefix = $DEFAULT_SUBNET_PREFIX + ElseIf (!$NetworkParameters.ContainsKey('PublicAccess') -And !$NetworkParameters.ContainsKey('Subnet') -And !$NetworkParameters.ContainsKey('Vnet')) { + $NetworkParameters.VnetName = 'VNET' + $NetworkParameters.Name + $NetworkParameters.SubnetName = 'Subnet' + $NetworkParameters.Name + $NetworkParameters.VnetPrefix = $DEFAULT_VNET_PREFIX + $NetworkParameters.SubnetPrefix = $DEFAULT_SUBNET_PREFIX - $Subnet = CreateVnetSubnet $Parameters + $Subnet = CreateVnetSubnet $NetworkParameters } - - return $Parameters + return $NetworkParameters } -function GetSubnetId($Parameters){ - $Vnet = Get-AzVirtualNetwork -Name $Parameters.VnetName -ResourceGroupName $Parameters.ResourceGroupName - $Subnet = Get-AzVirtualNetworkSubnetConfig -Name $Parameters.SubnetName -VirtualNetwork $Vnet +function GetSubnetId($ResourceGroupName, $VnetName, $SubnetName){ + If (!($ResourceGroupName -is [String])){ $ResourceGroupName = $ResourceGroupName[0]} + $Vnet = Get-AzVirtualNetwork -Name $VnetName -ResourceGroupName $ResourceGroupName + $Subnet = Get-AzVirtualNetworkSubnetConfig -Name $SubnetName -VirtualNetwork $Vnet Return $Subnet.Id } function CreateVnetSubnet($Parameters){ If (!$Parameters.ContainsKey('SubnetPrefix')){$Parameters.SubnetPrefix = $DEFAULT_SUBNET_PREFIX} If (!$Parameters.ContainsKey('VnetPrefix')){$Parameters.VnetPrefix = $DEFAULT_VNET_PREFIX} + Try { - $Vnet = Get-AzVirtualNetwork -Name $Parameters.VnetName -ResourceGroupName $Parameters.ResourceGroupName - $Msg = "The Vnet does exist. Creating new subnet {0} in resource group {1}" -f $Parameters.SubnetName, $Parameters.ResourceGroupName + Get-AzVirtualNetwork -Name $Parameters.VnetName -ResourceGroupName $Parameters.ResourceGroupName -ErrorAction Stop + $Msg = "The provided vnet does exist." Write-Host $Msg - Add-AzVirtualNetworkSubnetConfig -Name $Parameters.SubnetName -VirtualNetwork $Vnet -AddressPrefix $Parameters.SubnetPrefix | Set-AzVirtualNetwork - Get-AzVirtualNetwork -Name mysqlvnet -ResourceGroupName group4475111595 - $Subnet = Get-AzVirtualNetworkSubnetConfig -Name $Parameters.SubnetName -VirtualNetwork $Vnet - $Subnet = Add-AzDelegation -Name $DELEGATION_SERVICE_NAME -ServiceName $DELEGATION_SERVICE_NAME -Subnet $Subnet - $Vnet | Set-AzVirtualNetwork } Catch { $Msg = "Creating new vnet {0} in resource group {1}" -f $Parameters.VnetName, $Parameters.ResourceGroupName Write-Host $Msg - - $Subnet = CreateAndDelegateSubnet $Parameters + New-AzVirtualNetwork -Name $Parameters.VnetName -ResourceGroupName $Parameters.ResourceGroupName -Location $Parameters.Location -AddressPrefix $Parameters.VnetPrefix -Force } + + $Subnet = CreateAndDelegateSubnet $Parameters + Return $Subnet } function CreateAndDelegateSubnet($Parameters) { - $Msg = 'Creating new subnet {0} in resource group {1} and delegating it to {2}' -f $Parameters.SubnetName, $Parameters.ResourceGroupName, $DELEGATION_SERVICE_NAME - Write-Host $Msg - - $Subnet = New-AzVirtualNetworkSubnetConfig -Name $Parameters.SubnetName -AddressPrefix $Parameters.SubnetPrefix - New-AzVirtualNetwork -Name $Parameters.VnetName -ResourceGroupName $Parameters.ResourceGroupName -Location $Parameters.Location -AddressPrefix $Parameters.VnetPrefix -Subnet $Subnet -Force + $SubnetFlag = $true + $Vnet = Get-AzVirtualNetwork -Name $Parameters.VnetName -ResourceGroupName $Parameters.ResourceGroupName -ErrorAction Stop + Try { + $Subnet = Get-AzVirtualNetworkSubnetConfig -VirtualNetwork $Vnet -Name $Parameters.SubnetName -ErrorAction Stop + $Msg = "The provided subnet does exist." + Write-Host $Msg + } + Catch { + $SubnetFlag = $false + $Msg = 'Creating new subnet {0} in resource group {1} and delegating it to {2}' -f $Parameters.SubnetName, $Parameters.ResourceGroupName, $DELEGATION_SERVICE_NAME + Write-Host $Msg + } - $null = $Vnet = Get-AzVirtualNetwork -Name $Parameters.VnetName -ResourceGroupName $Parameters.ResourceGroupName - $null = $Subnet = Get-AzVirtualNetworkSubnetConfig -Name $Parameters.SubnetName -VirtualNetwork $Vnet - $null = $Subnet = Add-AzDelegation -Name $DELEGATION_SERVICE_NAME -ServiceName $DELEGATION_SERVICE_NAME -Subnet $Subnet - $null = Set-AzVirtualNetwork -VirtualNetwork $Vnet + If (!$SubnetFlag) { + $Delegation = New-AzDelegation -Name $DELEGATION_SERVICE_NAME -ServiceName $DELEGATION_SERVICE_NAME + Add-AzVirtualNetworkSubnetConfig -Name $Parameters.SubnetName -VirtualNetwork $Vnet -AddressPrefix $Parameters.SubnetPrefix -Delegation $Delegation | Set-AzVirtualNetwork + } + Else { # check if existing subnet is delegated + $Delegations = Get-AzDelegation -Subnet $Subnet + If ($null -ne $Delegations){ + $Delegations | ForEach-Object {If ($PSItem.ServiceName -ne $DELEGATION_SERVICE_NAME) { + $Msg = "Can not use subnet with existing delegations other than {0}" -f $DELEGATION_SERVICE_NAME + Throw $Msg + }} + } + Else { # Valid but no delegation + $Subnet = Add-AzDelegation -Name $DELEGATION_SERVICE_NAME -ServiceName $DELEGATION_SERVICE_NAME -Subnet $Subnet + $Vnet | Set-AzVirtualNetwork + } + } return $Subnet } @@ -522,34 +533,30 @@ function CreateFirewallRule($Parameters) { $FirewallRule = New-AzMySqlFlexibleServerFirewallRule -Name $RuleName -ResourceGroupName $Parameters.ResourceGroupName -ServerName $Parameters.Name -EndIPAddress $EndIp -StartIPAddress $StartIp } Else { - try{ - $Parsed = $Parameters.PublicAccess -split "-" - If ($Parsed.length -eq 1) { - $StartIp = $Parsed[0] - $EndIp = $Parsed[0] - } - ElseIf ($Parsed.length -eq 2) { - $StartIp = $Parsed[0] - $EndIp = $Parsed[1] - } - Else { Throw "incorrect usage: --public-access. Acceptable values are \'all\', \'none\',\'\' and \'-\' where startIP and destinationIP ranges from 0.0.0.0 to 255.255.255.255" } - - If ($StartIp -eq '0.0.0.0' -And $EndIp -eq '0.0.0.0') { - $RuleName = "AllowAllAzureServicesAndResourcesWithinAzureIps_" + $Date - $Msg = 'Configuring server firewall rule to accept connections from all Azure resources...' - } - ElseIf ($StartIP -eq $EndIP) { - $Msg = 'Configuring server firewall rule to accept connections from ' + $StartIP - } - Else { - $Msg = 'Configuring server firewall rule to accept connections from {0} to {1}' -f $StartIP, $EndIp - $RuleName = "FirewallIPAddress_" + $Date - } - Write-Host $Msg - $FirewallRule = New-AzMySqlFlexibleServerFirewallRule -Name $RuleName -ResourceGroupName $Parameters.ResourceGroupName -ServerName $Parameters.Name -EndIPAddress $EndIp -StartIPAddress $StartIp - } catch { - Throw "incorrect usage: --public-access. Acceptable values are \'all\', \'none\',\'\' and \'-\' where startIP and destinationIP ranges from 0.0.0.0 to 255.255.255.255" + $Parsed = $Parameters.PublicAccess -split "-" + If ($Parsed.length -eq 1) { + $StartIp = $Parsed[0] + $EndIp = $Parsed[0] + } + ElseIf ($Parsed.length -eq 2) { + $StartIp = $Parsed[0] + $EndIp = $Parsed[1] + } + Else { Throw "incorrect usage: --public-access. Acceptable values are \'all\', \'none\',\'\' and \'-\' where startIP and destinationIP ranges from 0.0.0.0 to 255.255.255.255" } + + If ($StartIp -eq '0.0.0.0' -And $EndIp -eq '0.0.0.0') { + $RuleName = "AllowAllAzureServicesAndResourcesWithinAzureIps_" + $Date + $Msg = 'Configuring server firewall rule to accept connections from all Azure resources...' + } + ElseIf ($StartIP -eq $EndIP) { + $Msg = 'Configuring server firewall rule to accept connections from ' + $StartIP + } + Else { + $Msg = 'Configuring server firewall rule to accept connections from {0} to {1}' -f $StartIP, $EndIp + $RuleName = "FirewallIPAddress_" + $Date } + Write-Host $Msg + $FirewallRule = New-AzMySqlFlexibleServerFirewallRule -Name $RuleName -ResourceGroupName $Parameters.ResourceGroupName -ServerName $Parameters.Name -EndIPAddress $EndIp -StartIPAddress $StartIp } } Return $FirewallRule.Name diff --git a/src/MySql/custom/test.ps1 b/src/MySql/custom/test.ps1 new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/src/MySql/docs/Az.MySql.md b/src/MySql/docs/Az.MySql.md index e4e309ae7684..432c54ec3e14 100644 --- a/src/MySql/docs/Az.MySql.md +++ b/src/MySql/docs/Az.MySql.md @@ -26,12 +26,18 @@ Gets information about a server. ### [Get-AzMySqlFlexibleServerConfiguration](Get-AzMySqlFlexibleServerConfiguration.md) Gets information about a configuration of server. +### [Get-AzMySqlFlexibleServerConnectionString](Get-AzMySqlFlexibleServerConnectionString.md) +Get the connection string according to client connection provider. + ### [Get-AzMySqlFlexibleServerDatabase](Get-AzMySqlFlexibleServerDatabase.md) Gets information about a database. ### [Get-AzMySqlFlexibleServerFirewallRule](Get-AzMySqlFlexibleServerFirewallRule.md) Gets information about a server firewall rule. +### [Get-AzMySqlFlexibleServerLocationBasedCapability](Get-AzMySqlFlexibleServerLocationBasedCapability.md) +Get the available SKU information for the location + ### [Get-AzMySqlFlexibleServerReplica](Get-AzMySqlFlexibleServerReplica.md) List all the replicas for a given server. diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServerConnectionString.md b/src/MySql/docs/Get-AzMySqlFlexibleServerConnectionString.md new file mode 100644 index 000000000000..f20b290db3e3 --- /dev/null +++ b/src/MySql/docs/Get-AzMySqlFlexibleServerConnectionString.md @@ -0,0 +1,125 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserverconnectionstring +schema: 2.0.0 +--- + +# Get-AzMySqlFlexibleServerConnectionString + +## SYNOPSIS +Get the connection string according to client connection provider. + +## SYNTAX + +``` +Get-AzMySqlFlexibleServerConnectionString -Client -Name -ResourceGroupName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +## DESCRIPTION +Get the connection string according to client connection provider. + +## EXAMPLES + +### Example 1: Get connection string by name +```powershell +PS C:\> Get-AzMySqlFlexibleServerConnectionString -Client Python -ResourceGroupName PowershellMySqlTest -Name mysql-test + +cnx = mysql.connector.connect(user=mysql_user, password="{your_password}", host="mysql-test.mysql.database.azure.com", port=3306, database="{your_database}", ssl_ca="{ca-cert filename}", ssl_disabled=False) +``` + +This cmdlet shows connection string of a client by server name. + +## PARAMETERS + +### -Client +Client connection provider. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The subscription ID that identifies an Azure subscription. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +## OUTPUTS + +### System.String + +## NOTES + +ALIASES + +## RELATED LINKS + diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServerLocationBasedCapability.md b/src/MySql/docs/Get-AzMySqlFlexibleServerLocationBasedCapability.md new file mode 100644 index 000000000000..215ec804a43d --- /dev/null +++ b/src/MySql/docs/Get-AzMySqlFlexibleServerLocationBasedCapability.md @@ -0,0 +1,112 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserverlocationbasedcapability +schema: 2.0.0 +--- + +# Get-AzMySqlFlexibleServerLocationBasedCapability + +## SYNOPSIS +Get the available SKU information for the location + +## SYNTAX + +``` +Get-AzMySqlFlexibleServerLocationBasedCapability -Location [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +## DESCRIPTION +Get the available SKU information for the location + +## EXAMPLES + +### Example 1: Get location capabilities by location name +```powershell +PS C:\> Get-AzMySqlFlexibleServerLocationBasedCapability -Location eastus + +SKU Tier Memory vCore +--- ---- ------ ----- +Standard_B1ms Burstable 2048 1 +Standard_B2s Burstable 2048 2 +Standard_D2s_v3 GeneralPurpose 4096 2 +Standard_D4s_v3 GeneralPurpose 4096 4 +Standard_D8s_v3 GeneralPurpose 4096 8 +Standard_D16s_v3 GeneralPurpose 4096 16 +Standard_D32s_v3 GeneralPurpose 4096 32 +Standard_D48s_v3 GeneralPurpose 4096 48 +Standard_D64s_v3 GeneralPurpose 4096 64 +Standard_E2s_v3 MemoryOptimized 8192 2 +Standard_E4s_v3 MemoryOptimized 8192 4 +Standard_E8s_v3 MemoryOptimized 8192 8 +Standard_E16s_v3 MemoryOptimized 8192 16 +Standard_E32s_v3 MemoryOptimized 8192 32 +Standard_E48s_v3 MemoryOptimized 8192 48 +Standard_E64s_v3 MemoryOptimized 6912 64 +``` + +This cmdlet shows basic sku information of the provided location. + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Location +The name of the location. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ICapabilityProperties + +## NOTES + +ALIASES + +## RELATED LINKS + diff --git a/src/MySql/examples/Get-AzMySqlFlexibleServerConnectionString.md b/src/MySql/examples/Get-AzMySqlFlexibleServerConnectionString.md new file mode 100644 index 000000000000..61a450a8e71c --- /dev/null +++ b/src/MySql/examples/Get-AzMySqlFlexibleServerConnectionString.md @@ -0,0 +1,8 @@ +### Example 1: Get connection string by name +```powershell +PS C:\> Get-AzMySqlFlexibleServerConnectionString -Client Python -ResourceGroupName PowershellMySqlTest -Name mysql-test + +cnx = mysql.connector.connect(user=mysql_user, password="{your_password}", host="mysql-test.mysql.database.azure.com", port=3306, database="{your_database}", ssl_ca="{ca-cert filename}", ssl_disabled=False) +``` +This cmdlet shows connection string of a client by server name. + diff --git a/src/MySql/examples/Get-AzMySqlFlexibleServerLocationBasedCapability.md b/src/MySql/examples/Get-AzMySqlFlexibleServerLocationBasedCapability.md new file mode 100644 index 000000000000..9bfa66347ba5 --- /dev/null +++ b/src/MySql/examples/Get-AzMySqlFlexibleServerLocationBasedCapability.md @@ -0,0 +1,27 @@ +### Example 1: Get location capabilities by location name +```powershell +PS C:\> Get-AzMySqlFlexibleServerLocationBasedCapability -Location westus2 +"Please refer to https://aka.ms/mysql-pricing for pricing details" + +SKU Tier Memory vCore +--- ---- ------ ----- +Standard_B1s Burstable 1024 1 +Standard_B1ms Burstable 2048 1 +Standard_B2s Burstable 2048 2 +Standard_D2ds_v4 GeneralPurpose 4096 2 +Standard_D4ds_v4 GeneralPurpose 4096 4 +Standard_D8ds_v4 GeneralPurpose 4096 8 +Standard_D16ds_v4 GeneralPurpose 4096 16 +Standard_D32ds_v4 GeneralPurpose 4096 32 +Standard_D48ds_v4 GeneralPurpose 4096 48 +Standard_D64ds_v4 GeneralPurpose 4096 64 +Standard_E2ds_v4 MemoryOptimized 8192 2 +Standard_E4ds_v4 MemoryOptimized 8192 4 +Standard_E8ds_v4 MemoryOptimized 8192 8 +Standard_E16ds_v4 MemoryOptimized 8192 16 +Standard_E32ds_v4 MemoryOptimized 8192 32 +Standard_E48ds_v4 MemoryOptimized 8192 48 +Standard_E64ds_v4 MemoryOptimized 8192 64 + +``` +This cmdlet shows basic sku information of the provided location. \ No newline at end of file diff --git a/src/MySql/readme.md b/src/MySql/readme.md index 0677d5ada524..14932a00350c 100644 --- a/src/MySql/readme.md +++ b/src/MySql/readme.md @@ -203,6 +203,12 @@ directive: set: parameter-name: Name alias: ConfigurationName + - where: + subject: ^CapabilityProperty$ + parameter-name: LocationName + set: + parameter-name: Location + alias: LocationName - where: parameter-name: StorageProfileBackupRetentionDay subject: Server diff --git a/src/MySql/test/Get-AzMySqlFlexibleServerConnectionString.Recording.json b/src/MySql/test/Get-AzMySqlFlexibleServerConnectionString.Recording.json new file mode 100644 index 000000000000..b8fb03eb21db --- /dev/null +++ b/src/MySql/test/Get-AzMySqlFlexibleServerConnectionString.Recording.json @@ -0,0 +1,236 @@ +{ + "Get-AzMySqlFlexibleServerConnectionString+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2" ], + "x-ms-client-request-id": [ "c75b0008-9695-4b92-b8de-3f53651f27f0" ], + "CommandName": [ "Get-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Get-AzMySqlFlexibleServer_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "82ca106e-1c62-4c12-8754-f6c7a86549fe" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-correlation-request-id": [ "1579df2f-2813-4d93-b932-7d72edbfd533" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064350Z:1579df2f-2813-4d93-b932-7d72edbfd533" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:43:49 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "937" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + } + }, + "Get-AzMySqlFlexibleServerConnectionString+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2" ], + "x-ms-client-request-id": [ "c75b0008-9695-4b92-b8de-3f53651f27f0" ], + "CommandName": [ "Get-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Get-AzMySqlFlexibleServer_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "82ca106e-1c62-4c12-8754-f6c7a86549fe" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-correlation-request-id": [ "1579df2f-2813-4d93-b932-7d72edbfd533" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064350Z:1579df2f-2813-4d93-b932-7d72edbfd533" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:43:49 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "937" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + } + }, + "Get-AzMySqlFlexibleServerConnectionString+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2" ], + "x-ms-client-request-id": [ "c75b0008-9695-4b92-b8de-3f53651f27f0" ], + "CommandName": [ "Get-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Get-AzMySqlFlexibleServer_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "82ca106e-1c62-4c12-8754-f6c7a86549fe" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-correlation-request-id": [ "1579df2f-2813-4d93-b932-7d72edbfd533" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064350Z:1579df2f-2813-4d93-b932-7d72edbfd533" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:43:49 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "937" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + } + }, + "Get-AzMySqlFlexibleServerConnectionString+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2" ], + "x-ms-client-request-id": [ "c75b0008-9695-4b92-b8de-3f53651f27f0" ], + "CommandName": [ "Get-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Get-AzMySqlFlexibleServer_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "82ca106e-1c62-4c12-8754-f6c7a86549fe" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-correlation-request-id": [ "1579df2f-2813-4d93-b932-7d72edbfd533" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064350Z:1579df2f-2813-4d93-b932-7d72edbfd533" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:43:49 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "937" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + } + }, + "Get-AzMySqlFlexibleServerConnectionString+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2" ], + "x-ms-client-request-id": [ "c75b0008-9695-4b92-b8de-3f53651f27f0" ], + "CommandName": [ "Get-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Get-AzMySqlFlexibleServer_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "82ca106e-1c62-4c12-8754-f6c7a86549fe" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-correlation-request-id": [ "1579df2f-2813-4d93-b932-7d72edbfd533" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064350Z:1579df2f-2813-4d93-b932-7d72edbfd533" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:43:49 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "937" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + } + }, + "Get-AzMySqlFlexibleServerConnectionString+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2" ], + "x-ms-client-request-id": [ "c75b0008-9695-4b92-b8de-3f53651f27f0" ], + "CommandName": [ "Get-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Get-AzMySqlFlexibleServer_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "82ca106e-1c62-4c12-8754-f6c7a86549fe" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-correlation-request-id": [ "1579df2f-2813-4d93-b932-7d72edbfd533" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T064350Z:1579df2f-2813-4d93-b932-7d72edbfd533" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:43:49 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "937" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + } + } + } \ No newline at end of file diff --git a/src/MySql/test/Get-AzMySqlFlexibleServerConnectionString.Tests.ps1 b/src/MySql/test/Get-AzMySqlFlexibleServerConnectionString.Tests.ps1 new file mode 100644 index 000000000000..fed288ee8cf6 --- /dev/null +++ b/src/MySql/test/Get-AzMySqlFlexibleServerConnectionString.Tests.ps1 @@ -0,0 +1,40 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzMySqlFlexibleServerConnectionString.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'Get-AzMySqlFlexibleServerConnectionString' { + It 'Get' { + $connectionString = Get-AzMySqlFlexibleServerConnectionString -Client ADO.NET -Name $env.serverName -ResourceGroupName $env.resourceGroup + $ADOExpect = 'Server=' + $env.serverName + '.mysql.database.azure.com; Port=3306; Database={your_database}; UserID=mysql_test; Password={your_password}; ' + $connectionString | Should -Be $ADOExpect + + $PHPConnectionString = Get-AzMySqlFlexibleServerConnectionString -Client PHP -Name $env.serverName -ResourceGroupName $env.resourceGroup + $PHPExpect = '$con=mysqli_init(); mysqli_real_connect($con, "' + $env.serverName + '.mysql.database.azure.com", "mysql_test", {your_password}, {your_database}, 3306);' + $PHPConnectionString | Should -Be $PHPExpect + + $JDBCConnectionString = Get-AzMySqlFlexibleServerConnectionString -Client JDBC -Name $env.serverName -ResourceGroupName $env.resourceGroup + $JDBCExpect = 'String url ="jdbc:mysql://'+ $env.serverName + '.mysql.database.azure.com:3306/{your_database}"; myDbConn = DriverManager.getConnection(url, "mysql_test", {your_password});' + $JDBCConnectionString | Should -Be $JDBCExpect + + $NodeConnectionString = Get-AzMySqlFlexibleServerConnectionString -Client Node.js -Name $env.serverName -ResourceGroupName $env.resourceGroup + $NodeExpect = 'var conn = mysql.createConnection({host: "' + $env.serverName + '.mysql.database.azure.com", user: "mysql_test", password: {your_password}, database: {your_database}, port: 3306});' + $NodeConnectionString | Should -Be $NodeExpect + + $PythonConnectionString = Get-AzMySqlFlexibleServerConnectionString -Client Python -Name $env.serverName -ResourceGroupName $env.resourceGroup + $PythonExpect = 'cnx = mysql.connector.connect(user="mysql_test", password={your_password}, host="' + $env.serverName +'.mysql.database.azure.com", port=3306, database={your_database})' + $PythonConnectionString | Should -Be $PythonExpect + + $RubyConnectionString = Get-AzMySqlFlexibleServerConnectionString -Client Ruby -Name $env.serverName -ResourceGroupName $env.resourceGroup + $RubyExpect = 'client = Mysql2::Client.new(username: "mysql_test", password: {your_password}, database: {your_database}, host: "' + $env.serverName + '.mysql.database.azure.com", port: 3306)' + $RubyConnectionString | Should -Be $RubyExpect + } +} diff --git a/src/MySql/test/Get-AzMySqlFlexibleServerLocationBasedCapability.Recording.json b/src/MySql/test/Get-AzMySqlFlexibleServerLocationBasedCapability.Recording.json new file mode 100644 index 000000000000..fd0b8858900f --- /dev/null +++ b/src/MySql/test/Get-AzMySqlFlexibleServerLocationBasedCapability.Recording.json @@ -0,0 +1,41 @@ +{ + "Get-AzMySqlFlexibleServerLocationBasedCapability+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySql/locations/westus2/capabilities?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBForMySql/locations/westus2/capabilities?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1" ], + "x-ms-client-request-id": [ "4e423199-4bab-46d3-b296-e076733b710f" ], + "CommandName": [ "Az.MySql.internal\\Get-AzMySqlFlexibleServerLocationBasedCapability" ], + "FullCommandName": [ "Get-AzMySqlFlexibleServerLocationBasedCapability_List" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "0f69fe65-9a15-48f9-964a-1c8846676587" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-correlation-request-id": [ "b1aff467-d77f-41e9-b4ff-5049e18d3804" ], + "x-ms-routing-request-id": [ "WESTUS2:20201211T080303Z:b1aff467-d77f-41e9-b4ff-5049e18d3804" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Fri, 11 Dec 2020 08:03:02 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "12872" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"value\":[{\"zone\":\"none\",\"supportedFlexibleServerEditions\":[{\"name\":\"Burstable\",\"supportedStorageEditions\":[{\"name\":\"PremiumFileShare\",\"minStorageSize\":{\"name\":\"5120\",\"storageSizeMB\":5120},\"maxStorageSize\":{\"name\":\"16777216\",\"storageSizeMB\":16777216},\"minBackupRetentionDays\":7,\"maxBackupRetentionDays\":35,\"supportedStorageMB\":[],\"status\":\"Default\"}],\"supportedServerVersions\":[{\"name\":\"5.7\",\"supportedVcores\":[{\"name\":\"Standard_B1s\",\"vCores\":1,\"supportedIOPS\":320,\"supportedMemoryPerVcoreMB\":1024,\"status\":\"Available\"},{\"name\":\"Standard_B1ms\",\"vCores\":1,\"supportedIOPS\":640,\"supportedMemoryPerVcoreMB\":2048,\"status\":\"Available\"},{\"name\":\"Standard_B2s\",\"vCores\":2,\"supportedIOPS\":1280,\"supportedMemoryPerVcoreMB\":2048,\"status\":\"Available\"}],\"status\":\"Default\"}],\"status\":\"Available\"},{\"name\":\"GeneralPurpose\",\"supportedStorageEditions\":[{\"name\":\"PremiumFileShare\",\"minStorageSize\":{\"name\":\"5120\",\"storageSizeMB\":5120},\"maxStorageSize\":{\"name\":\"16777216\",\"storageSizeMB\":16777216},\"minBackupRetentionDays\":7,\"maxBackupRetentionDays\":35,\"supportedStorageMB\":[],\"status\":\"Default\"}],\"supportedServerVersions\":[{\"name\":\"5.7\",\"supportedVcores\":[{\"name\":\"Standard_D2ds_v4\",\"vCores\":2,\"supportedIOPS\":3200,\"supportedMemoryPerVcoreMB\":4096,\"status\":\"Available\"},{\"name\":\"Standard_D4ds_v4\",\"vCores\":4,\"supportedIOPS\":6400,\"supportedMemoryPerVcoreMB\":4096,\"status\":\"Available\"},{\"name\":\"Standard_D8ds_v4\",\"vCores\":8,\"supportedIOPS\":12800,\"supportedMemoryPerVcoreMB\":4096,\"status\":\"Available\"},{\"name\":\"Standard_D16ds_v4\",\"vCores\":16,\"supportedIOPS\":20000,\"supportedMemoryPerVcoreMB\":4096,\"status\":\"Available\"},{\"name\":\"Standard_D32ds_v4\",\"vCores\":32,\"supportedIOPS\":20000,\"supportedMemoryPerVcoreMB\":4096,\"status\":\"Available\"},{\"name\":\"Standard_D48ds_v4\",\"vCores\":48,\"supportedIOPS\":20000,\"supportedMemoryPerVcoreMB\":4096,\"status\":\"Available\"},{\"name\":\"Standard_D64ds_v4\",\"vCores\":64,\"supportedIOPS\":20000,\"supportedMemoryPerVcoreMB\":4096,\"status\":\"Available\"}],\"status\":\"Default\"}],\"status\":\"Default\"},{\"name\":\"MemoryOptimized\",\"supportedStorageEditions\":[{\"name\":\"PremiumFileShare\",\"minStorageSize\":{\"name\":\"5120\",\"storageSizeMB\":5120},\"maxStorageSize\":{\"name\":\"16777216\",\"storageSizeMB\":16777216},\"minBackupRetentionDays\":7,\"maxBackupRetentionDays\":35,\"supportedStorageMB\":[],\"status\":\"Default\"}],\"supportedServerVersions\":[{\"name\":\"5.7\",\"supportedVcores\":[{\"name\":\"Standard_E2ds_v4\",\"vCores\":2,\"supportedIOPS\":3200,\"supportedMemoryPerVcoreMB\":8192,\"status\":\"Available\"},{\"name\":\"Standard_E4ds_v4\",\"vCores\":4,\"supportedIOPS\":6400,\"supportedMemoryPerVcoreMB\":8192,\"status\":\"Available\"},{\"name\":\"Standard_E8ds_v4\",\"vCores\":8,\"supportedIOPS\":12800,\"supportedMemoryPerVcoreMB\":8192,\"status\":\"Available\"},{\"name\":\"Standard_E16ds_v4\",\"vCores\":16,\"supportedIOPS\":20000,\"supportedMemoryPerVcoreMB\":8192,\"status\":\"Available\"},{\"name\":\"Standard_E32ds_v4\",\"vCores\":32,\"supportedIOPS\":20000,\"supportedMemoryPerVcoreMB\":8192,\"status\":\"Available\"},{\"name\":\"Standard_E48ds_v4\",\"vCores\":48,\"supportedIOPS\":20000,\"supportedMemoryPerVcoreMB\":8192,\"status\":\"Available\"},{\"name\":\"Standard_E64ds_v4\",\"vCores\":64,\"supportedIOPS\":20000,\"supportedMemoryPerVcoreMB\":8192,\"status\":\"Available\"}],\"status\":\"Default\"}],\"status\":\"Available\"}],\"status\":\"Default\"},{\"zone\":\"1\",\"supportedFlexibleServerEditions\":[{\"name\":\"Burstable\",\"supportedStorageEditions\":[{\"name\":\"PremiumFileShare\",\"minStorageSize\":{\"name\":\"5120\",\"storageSizeMB\":5120},\"maxStorageSize\":{\"name\":\"16777216\",\"storageSizeMB\":16777216},\"minBackupRetentionDays\":7,\"maxBackupRetentionDays\":35,\"supportedStorageMB\":[],\"status\":\"Default\"}],\"supportedServerVersions\":[{\"name\":\"5.7\",\"supportedVcores\":[{\"name\":\"Standard_B1s\",\"vCores\":1,\"supportedIOPS\":320,\"supportedMemoryPerVcoreMB\":1024,\"status\":\"Available\"},{\"name\":\"Standard_B1ms\",\"vCores\":1,\"supportedIOPS\":640,\"supportedMemoryPerVcoreMB\":2048,\"status\":\"Available\"},{\"name\":\"Standard_B2s\",\"vCores\":2,\"supportedIOPS\":1280,\"supportedMemoryPerVcoreMB\":2048,\"status\":\"Available\"}],\"status\":\"Default\"}],\"status\":\"Available\"},{\"name\":\"GeneralPurpose\",\"supportedStorageEditions\":[{\"name\":\"PremiumFileShare\",\"minStorageSize\":{\"name\":\"5120\",\"storageSizeMB\":5120},\"maxStorageSize\":{\"name\":\"16777216\",\"storageSizeMB\":16777216},\"minBackupRetentionDays\":7,\"maxBackupRetentionDays\":35,\"supportedStorageMB\":[],\"status\":\"Default\"}],\"supportedServerVersions\":[{\"name\":\"5.7\",\"supportedVcores\":[{\"name\":\"Standard_D2ds_v4\",\"vCores\":2,\"supportedIOPS\":3200,\"supportedMemoryPerVcoreMB\":4096,\"status\":\"Available\"},{\"name\":\"Standard_D4ds_v4\",\"vCores\":4,\"supportedIOPS\":6400,\"supportedMemoryPerVcoreMB\":4096,\"status\":\"Available\"},{\"name\":\"Standard_D8ds_v4\",\"vCores\":8,\"supportedIOPS\":12800,\"supportedMemoryPerVcoreMB\":4096,\"status\":\"Available\"},{\"name\":\"Standard_D16ds_v4\",\"vCores\":16,\"supportedIOPS\":20000,\"supportedMemoryPerVcoreMB\":4096,\"status\":\"Available\"},{\"name\":\"Standard_D32ds_v4\",\"vCores\":32,\"supportedIOPS\":20000,\"supportedMemoryPerVcoreMB\":4096,\"status\":\"Available\"},{\"name\":\"Standard_D48ds_v4\",\"vCores\":48,\"supportedIOPS\":20000,\"supportedMemoryPerVcoreMB\":4096,\"status\":\"Available\"},{\"name\":\"Standard_D64ds_v4\",\"vCores\":64,\"supportedIOPS\":20000,\"supportedMemoryPerVcoreMB\":4096,\"status\":\"Available\"}],\"status\":\"Default\"}],\"status\":\"Default\"},{\"name\":\"MemoryOptimized\",\"supportedStorageEditions\":[{\"name\":\"PremiumFileShare\",\"minStorageSize\":{\"name\":\"5120\",\"storageSizeMB\":5120},\"maxStorageSize\":{\"name\":\"16777216\",\"storageSizeMB\":16777216},\"minBackupRetentionDays\":7,\"maxBackupRetentionDays\":35,\"supportedStorageMB\":[],\"status\":\"Default\"}],\"supportedServerVersions\":[{\"name\":\"5.7\",\"supportedVcores\":[{\"name\":\"Standard_E2ds_v4\",\"vCores\":2,\"supportedIOPS\":3200,\"supportedMemoryPerVcoreMB\":8192,\"status\":\"Available\"},{\"name\":\"Standard_E4ds_v4\",\"vCores\":4,\"supportedIOPS\":6400,\"supportedMemoryPerVcoreMB\":8192,\"status\":\"Available\"},{\"name\":\"Standard_E8ds_v4\",\"vCores\":8,\"supportedIOPS\":12800,\"supportedMemoryPerVcoreMB\":8192,\"status\":\"Available\"},{\"name\":\"Standard_E16ds_v4\",\"vCores\":16,\"supportedIOPS\":20000,\"supportedMemoryPerVcoreMB\":8192,\"status\":\"Available\"},{\"name\":\"Standard_E32ds_v4\",\"vCores\":32,\"supportedIOPS\":20000,\"supportedMemoryPerVcoreMB\":8192,\"status\":\"Available\"},{\"name\":\"Standard_E48ds_v4\",\"vCores\":48,\"supportedIOPS\":20000,\"supportedMemoryPerVcoreMB\":8192,\"status\":\"Available\"},{\"name\":\"Standard_E64ds_v4\",\"vCores\":64,\"supportedIOPS\":20000,\"supportedMemoryPerVcoreMB\":8192,\"status\":\"Available\"}],\"status\":\"Default\"}],\"status\":\"Available\"}],\"status\":\"Available\"},{\"zone\":\"2\",\"supportedFlexibleServerEditions\":[{\"name\":\"Burstable\",\"supportedStorageEditions\":[{\"name\":\"PremiumFileShare\",\"minStorageSize\":{\"name\":\"5120\",\"storageSizeMB\":5120},\"maxStorageSize\":{\"name\":\"16777216\",\"storageSizeMB\":16777216},\"minBackupRetentionDays\":7,\"maxBackupRetentionDays\":35,\"supportedStorageMB\":[],\"status\":\"Default\"}],\"supportedServerVersions\":[{\"name\":\"5.7\",\"supportedVcores\":[{\"name\":\"Standard_B1s\",\"vCores\":1,\"supportedIOPS\":320,\"supportedMemoryPerVcoreMB\":1024,\"status\":\"Available\"},{\"name\":\"Standard_B1ms\",\"vCores\":1,\"supportedIOPS\":640,\"supportedMemoryPerVcoreMB\":2048,\"status\":\"Available\"},{\"name\":\"Standard_B2s\",\"vCores\":2,\"supportedIOPS\":1280,\"supportedMemoryPerVcoreMB\":2048,\"status\":\"Available\"}],\"status\":\"Default\"}],\"status\":\"Available\"},{\"name\":\"GeneralPurpose\",\"supportedStorageEditions\":[{\"name\":\"PremiumFileShare\",\"minStorageSize\":{\"name\":\"5120\",\"storageSizeMB\":5120},\"maxStorageSize\":{\"name\":\"16777216\",\"storageSizeMB\":16777216},\"minBackupRetentionDays\":7,\"maxBackupRetentionDays\":35,\"supportedStorageMB\":[],\"status\":\"Default\"}],\"supportedServerVersions\":[{\"name\":\"5.7\",\"supportedVcores\":[{\"name\":\"Standard_D2ds_v4\",\"vCores\":2,\"supportedIOPS\":3200,\"supportedMemoryPerVcoreMB\":4096,\"status\":\"Available\"},{\"name\":\"Standard_D4ds_v4\",\"vCores\":4,\"supportedIOPS\":6400,\"supportedMemoryPerVcoreMB\":4096,\"status\":\"Available\"},{\"name\":\"Standard_D8ds_v4\",\"vCores\":8,\"supportedIOPS\":12800,\"supportedMemoryPerVcoreMB\":4096,\"status\":\"Available\"},{\"name\":\"Standard_D16ds_v4\",\"vCores\":16,\"supportedIOPS\":20000,\"supportedMemoryPerVcoreMB\":4096,\"status\":\"Available\"},{\"name\":\"Standard_D32ds_v4\",\"vCores\":32,\"supportedIOPS\":20000,\"supportedMemoryPerVcoreMB\":4096,\"status\":\"Available\"},{\"name\":\"Standard_D48ds_v4\",\"vCores\":48,\"supportedIOPS\":20000,\"supportedMemoryPerVcoreMB\":4096,\"status\":\"Available\"},{\"name\":\"Standard_D64ds_v4\",\"vCores\":64,\"supportedIOPS\":20000,\"supportedMemoryPerVcoreMB\":4096,\"status\":\"Available\"}],\"status\":\"Default\"}],\"status\":\"Default\"},{\"name\":\"MemoryOptimized\",\"supportedStorageEditions\":[{\"name\":\"PremiumFileShare\",\"minStorageSize\":{\"name\":\"5120\",\"storageSizeMB\":5120},\"maxStorageSize\":{\"name\":\"16777216\",\"storageSizeMB\":16777216},\"minBackupRetentionDays\":7,\"maxBackupRetentionDays\":35,\"supportedStorageMB\":[],\"status\":\"Default\"}],\"supportedServerVersions\":[{\"name\":\"5.7\",\"supportedVcores\":[{\"name\":\"Standard_E2ds_v4\",\"vCores\":2,\"supportedIOPS\":3200,\"supportedMemoryPerVcoreMB\":8192,\"status\":\"Available\"},{\"name\":\"Standard_E4ds_v4\",\"vCores\":4,\"supportedIOPS\":6400,\"supportedMemoryPerVcoreMB\":8192,\"status\":\"Available\"},{\"name\":\"Standard_E8ds_v4\",\"vCores\":8,\"supportedIOPS\":12800,\"supportedMemoryPerVcoreMB\":8192,\"status\":\"Available\"},{\"name\":\"Standard_E16ds_v4\",\"vCores\":16,\"supportedIOPS\":20000,\"supportedMemoryPerVcoreMB\":8192,\"status\":\"Available\"},{\"name\":\"Standard_E32ds_v4\",\"vCores\":32,\"supportedIOPS\":20000,\"supportedMemoryPerVcoreMB\":8192,\"status\":\"Available\"},{\"name\":\"Standard_E48ds_v4\",\"vCores\":48,\"supportedIOPS\":20000,\"supportedMemoryPerVcoreMB\":8192,\"status\":\"Available\"},{\"name\":\"Standard_E64ds_v4\",\"vCores\":64,\"supportedIOPS\":20000,\"supportedMemoryPerVcoreMB\":8192,\"status\":\"Available\"}],\"status\":\"Default\"}],\"status\":\"Available\"}],\"status\":\"Available\"},{\"zone\":\"3\",\"supportedFlexibleServerEditions\":[{\"name\":\"Burstable\",\"supportedStorageEditions\":[{\"name\":\"PremiumFileShare\",\"minStorageSize\":{\"name\":\"5120\",\"storageSizeMB\":5120},\"maxStorageSize\":{\"name\":\"16777216\",\"storageSizeMB\":16777216},\"minBackupRetentionDays\":7,\"maxBackupRetentionDays\":35,\"supportedStorageMB\":[],\"status\":\"Default\"}],\"supportedServerVersions\":[{\"name\":\"5.7\",\"supportedVcores\":[{\"name\":\"Standard_B1s\",\"vCores\":1,\"supportedIOPS\":320,\"supportedMemoryPerVcoreMB\":1024,\"status\":\"Available\"},{\"name\":\"Standard_B1ms\",\"vCores\":1,\"supportedIOPS\":640,\"supportedMemoryPerVcoreMB\":2048,\"status\":\"Available\"},{\"name\":\"Standard_B2s\",\"vCores\":2,\"supportedIOPS\":1280,\"supportedMemoryPerVcoreMB\":2048,\"status\":\"Available\"}],\"status\":\"Default\"}],\"status\":\"Available\"},{\"name\":\"GeneralPurpose\",\"supportedStorageEditions\":[{\"name\":\"PremiumFileShare\",\"minStorageSize\":{\"name\":\"5120\",\"storageSizeMB\":5120},\"maxStorageSize\":{\"name\":\"16777216\",\"storageSizeMB\":16777216},\"minBackupRetentionDays\":7,\"maxBackupRetentionDays\":35,\"supportedStorageMB\":[],\"status\":\"Default\"}],\"supportedServerVersions\":[{\"name\":\"5.7\",\"supportedVcores\":[{\"name\":\"Standard_D2ds_v4\",\"vCores\":2,\"supportedIOPS\":3200,\"supportedMemoryPerVcoreMB\":4096,\"status\":\"Available\"},{\"name\":\"Standard_D4ds_v4\",\"vCores\":4,\"supportedIOPS\":6400,\"supportedMemoryPerVcoreMB\":4096,\"status\":\"Available\"},{\"name\":\"Standard_D8ds_v4\",\"vCores\":8,\"supportedIOPS\":12800,\"supportedMemoryPerVcoreMB\":4096,\"status\":\"Available\"},{\"name\":\"Standard_D16ds_v4\",\"vCores\":16,\"supportedIOPS\":20000,\"supportedMemoryPerVcoreMB\":4096,\"status\":\"Available\"},{\"name\":\"Standard_D32ds_v4\",\"vCores\":32,\"supportedIOPS\":20000,\"supportedMemoryPerVcoreMB\":4096,\"status\":\"Available\"},{\"name\":\"Standard_D48ds_v4\",\"vCores\":48,\"supportedIOPS\":20000,\"supportedMemoryPerVcoreMB\":4096,\"status\":\"Available\"},{\"name\":\"Standard_D64ds_v4\",\"vCores\":64,\"supportedIOPS\":20000,\"supportedMemoryPerVcoreMB\":4096,\"status\":\"Available\"}],\"status\":\"Default\"}],\"status\":\"Default\"},{\"name\":\"MemoryOptimized\",\"supportedStorageEditions\":[{\"name\":\"PremiumFileShare\",\"minStorageSize\":{\"name\":\"5120\",\"storageSizeMB\":5120},\"maxStorageSize\":{\"name\":\"16777216\",\"storageSizeMB\":16777216},\"minBackupRetentionDays\":7,\"maxBackupRetentionDays\":35,\"supportedStorageMB\":[],\"status\":\"Default\"}],\"supportedServerVersions\":[{\"name\":\"5.7\",\"supportedVcores\":[{\"name\":\"Standard_E2ds_v4\",\"vCores\":2,\"supportedIOPS\":3200,\"supportedMemoryPerVcoreMB\":8192,\"status\":\"Available\"},{\"name\":\"Standard_E4ds_v4\",\"vCores\":4,\"supportedIOPS\":6400,\"supportedMemoryPerVcoreMB\":8192,\"status\":\"Available\"},{\"name\":\"Standard_E8ds_v4\",\"vCores\":8,\"supportedIOPS\":12800,\"supportedMemoryPerVcoreMB\":8192,\"status\":\"Available\"},{\"name\":\"Standard_E16ds_v4\",\"vCores\":16,\"supportedIOPS\":20000,\"supportedMemoryPerVcoreMB\":8192,\"status\":\"Available\"},{\"name\":\"Standard_E32ds_v4\",\"vCores\":32,\"supportedIOPS\":20000,\"supportedMemoryPerVcoreMB\":8192,\"status\":\"Available\"},{\"name\":\"Standard_E48ds_v4\",\"vCores\":48,\"supportedIOPS\":20000,\"supportedMemoryPerVcoreMB\":8192,\"status\":\"Available\"},{\"name\":\"Standard_E64ds_v4\",\"vCores\":64,\"supportedIOPS\":20000,\"supportedMemoryPerVcoreMB\":8192,\"status\":\"Available\"}],\"status\":\"Default\"}],\"status\":\"Available\"}],\"status\":\"Available\"}]}" + } + } +} \ No newline at end of file diff --git a/src/MySql/test/Get-AzMySqlFlexibleServerLocationBasedCapability.Tests.ps1 b/src/MySql/test/Get-AzMySqlFlexibleServerLocationBasedCapability.Tests.ps1 new file mode 100644 index 000000000000..3734b6a6e89c --- /dev/null +++ b/src/MySql/test/Get-AzMySqlFlexibleServerLocationBasedCapability.Tests.ps1 @@ -0,0 +1,21 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzMySqlFlexibleServerLocationBasedCapability.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'Get-AzMySqlFlexibleServerLocationBasedCapability' { + It 'Get' { + { + $Result = Get-AzMySqlFlexibleServerLocationBasedCapability -Location westus2 + $Result.Length | Should -BeGreaterThan 0 + } | Should -Not -Throw + } +} diff --git a/src/MySql/test/New-AzMySqlFlexibleServer.Recording.json b/src/MySql/test/New-AzMySqlFlexibleServer.Recording.json new file mode 100644 index 000000000000..7ca357285dc3 --- /dev/null +++ b/src/MySql/test/New-AzMySqlFlexibleServer.Recording.json @@ -0,0 +1,11296 @@ +{ + "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": "{\r\n \"location\": \"eastus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_D2ds_v4\",\r\n \"tier\": \"GeneralPurpose\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 12,\r\n \"storageMB\": 102400\r\n },\r\n \"administratorLogin\": \"mysql_test\",\r\n \"administratorLoginPassword\": \"Pasword01!!2020\",\r\n \"version\": \"5.7\",\r\n \"createMode\": \"Default\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "376" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/operationResults/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "667dafb6-209c-483f-b69f-39484b76f3c2" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "9b6cf422-9f80-4be2-9549-78dc2fdcd41e" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T204129Z:9b6cf422-9f80-4be2-9549-78dc2fdcd41e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 20:41:28 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "88" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-11T20:41:29.477Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "2" ], + "x-ms-client-request-id": [ "3164a413-75ae-4a59-9b0d-8326ce5bdd04" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "a2c60699-415c-47d9-bd41-93c53a0726e5" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-correlation-request-id": [ "d29ae1ab-3d5b-4752-80b6-9dc03a6923eb" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T204230Z:d29ae1ab-3d5b-4752-80b6-9dc03a6923eb" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 20:42:29 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"46a5c82d-e040-419c-a08f-c771c5b4af8d\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T20:41:29.477Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "3" ], + "x-ms-client-request-id": [ "3164a413-75ae-4a59-9b0d-8326ce5bdd04" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "daf365e5-4c61-41aa-964b-4e9a928949be" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-correlation-request-id": [ "d74864f5-76d5-4ba6-a54d-02f5ad1c2c1c" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T204330Z:d74864f5-76d5-4ba6-a54d-02f5ad1c2c1c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 20:43:29 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"46a5c82d-e040-419c-a08f-c771c5b4af8d\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T20:41:29.477Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "3164a413-75ae-4a59-9b0d-8326ce5bdd04" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "298a5a86-ef50-4d77-9e9f-83bc882726df" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-correlation-request-id": [ "900cd2b1-93a5-45d9-8136-a84315fdcb92" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T204430Z:900cd2b1-93a5-45d9-8136-a84315fdcb92" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 20:44:30 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"46a5c82d-e040-419c-a08f-c771c5b4af8d\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T20:41:29.477Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "5" ], + "x-ms-client-request-id": [ "3164a413-75ae-4a59-9b0d-8326ce5bdd04" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "af39c4fb-1f6c-47c9-957d-cb3e16960ce0" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "271b6a24-f082-4559-9015-4d81e1d629c1" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T204531Z:271b6a24-f082-4559-9015-4d81e1d629c1" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 20:45:30 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"46a5c82d-e040-419c-a08f-c771c5b4af8d\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T20:41:29.477Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "6" ], + "x-ms-client-request-id": [ "3164a413-75ae-4a59-9b0d-8326ce5bdd04" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "b635cabe-f384-40a4-8119-30f690e402f2" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-correlation-request-id": [ "19ff368f-70ce-4ad0-abff-3b507751fc1e" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T204632Z:19ff368f-70ce-4ad0-abff-3b507751fc1e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 20:46:31 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"46a5c82d-e040-419c-a08f-c771c5b4af8d\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T20:41:29.477Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "7" ], + "x-ms-client-request-id": [ "3164a413-75ae-4a59-9b0d-8326ce5bdd04" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "c6803031-4c07-429c-bd01-c473f5072fec" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "ce62fa1d-2f5b-4331-987d-5693956176eb" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T204732Z:ce62fa1d-2f5b-4331-987d-5693956176eb" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 20:47:32 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"46a5c82d-e040-419c-a08f-c771c5b4af8d\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T20:41:29.477Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "8" ], + "x-ms-client-request-id": [ "3164a413-75ae-4a59-9b0d-8326ce5bdd04" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "886fdc7c-493a-4dfc-a82a-b4bc6728c7e8" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "eb2dace3-c78b-4854-a75d-28547d87ad5d" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T204832Z:eb2dace3-c78b-4854-a75d-28547d87ad5d" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 20:48:31 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"46a5c82d-e040-419c-a08f-c771c5b4af8d\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T20:41:29.477Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview+9": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "9" ], + "x-ms-client-request-id": [ "3164a413-75ae-4a59-9b0d-8326ce5bdd04" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "80d5c056-b086-45f0-b142-bf1f8ed98d61" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "cf74a88a-89a7-435c-88f1-ca560274e1c9" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T204933Z:cf74a88a-89a7-435c-88f1-ca560274e1c9" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 20:49:33 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"46a5c82d-e040-419c-a08f-c771c5b4af8d\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T20:41:29.477Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+10": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "10" ], + "x-ms-client-request-id": [ "3164a413-75ae-4a59-9b0d-8326ce5bdd04" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "40d55e84-8cb6-4c3a-9496-fbc94ad2ab92" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-correlation-request-id": [ "efa7eda6-33e9-48ab-a389-6d21f220d52c" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T204933Z:efa7eda6-33e9-48ab-a389-6d21f220d52c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 20:49:33 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "961" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard_D2ds_v4\",\"tier\":\"GeneralPurpose\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":102400,\"storageIops\":0,\"backupRetentionDays\":12,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T20:49:33.3741322+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-AllAzure+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"administratorLogin\": \"gleefulRaisins2\",\r\n \"administratorLoginPassword\": \"[H))p3{XBo]=PCov\",\r\n \"version\": \"5.7\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "342" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/00e985ee-47ea-4e62-ad62-21a6f6b4f83e?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/00e985ee-47ea-4e62-ad62-21a6f6b4f83e?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "f7230bc7-09a8-49a3-9f8f-a17c09f959bd" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "ac418e30-6512-4114-8400-a578174484a0" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T171212Z:ac418e30-6512-4114-8400-a578174484a0" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 17:12:11 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "88" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-12-10T17:12:12.477Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-AllAzure+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/00e985ee-47ea-4e62-ad62-21a6f6b4f83e?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/00e985ee-47ea-4e62-ad62-21a6f6b4f83e?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "3" ], + "x-ms-client-request-id": [ "58ae551e-5c19-4de4-9259-8fcd430f8bcb" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "78362efc-e4cb-4b15-bccc-1b90ed20f25d" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-correlation-request-id": [ "932336f5-6da2-4ea0-b1e1-2460b6983fb8" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T171312Z:932336f5-6da2-4ea0-b1e1-2460b6983fb8" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 17:13:12 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"00e985ee-47ea-4e62-ad62-21a6f6b4f83e\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T17:12:12.477Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-AllAzure+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/00e985ee-47ea-4e62-ad62-21a6f6b4f83e?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/00e985ee-47ea-4e62-ad62-21a6f6b4f83e?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "58ae551e-5c19-4de4-9259-8fcd430f8bcb" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "d4845b34-c588-43f1-9276-6e13f349c33d" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-correlation-request-id": [ "a6524401-bd43-4cd5-9bb5-83e730a3e997" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T171412Z:a6524401-bd43-4cd5-9bb5-83e730a3e997" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 17:14:12 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"00e985ee-47ea-4e62-ad62-21a6f6b4f83e\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T17:12:12.477Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-AllAzure+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/00e985ee-47ea-4e62-ad62-21a6f6b4f83e?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/00e985ee-47ea-4e62-ad62-21a6f6b4f83e?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "5" ], + "x-ms-client-request-id": [ "58ae551e-5c19-4de4-9259-8fcd430f8bcb" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "2ad413ae-096c-4f5f-8813-b07b763d96ac" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-correlation-request-id": [ "42bbcf6e-5038-4acf-a861-8a81b161d886" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T171512Z:42bbcf6e-5038-4acf-a861-8a81b161d886" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 17:15:12 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"00e985ee-47ea-4e62-ad62-21a6f6b4f83e\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T17:12:12.477Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-AllAzure+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/00e985ee-47ea-4e62-ad62-21a6f6b4f83e?api-version=2020-07-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/00e985ee-47ea-4e62-ad62-21a6f6b4f83e?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "6" ], + "x-ms-client-request-id": [ "58ae551e-5c19-4de4-9259-8fcd430f8bcb" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "76015626-671d-4841-afaf-32f8295e7cfd" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-correlation-request-id": [ "71a03196-d1de-4299-b45e-8d39602947e0" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T171613Z:71a03196-d1de-4299-b45e-8d39602947e0" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 17:16:13 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"00e985ee-47ea-4e62-ad62-21a6f6b4f83e\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T17:12:12.477Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-AllAzure+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/00e985ee-47ea-4e62-ad62-21a6f6b4f83e?api-version=2020-07-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/00e985ee-47ea-4e62-ad62-21a6f6b4f83e?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "7" ], + "x-ms-client-request-id": [ "58ae551e-5c19-4de4-9259-8fcd430f8bcb" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "f0b28eb8-5918-4eb5-8569-f634a2367dc6" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "a1e7a431-0929-41ef-a7b2-134d17861bd0" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T171713Z:a1e7a431-0929-41ef-a7b2-134d17861bd0" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 17:17:12 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"00e985ee-47ea-4e62-ad62-21a6f6b4f83e\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T17:12:12.477Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-AllAzure+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/00e985ee-47ea-4e62-ad62-21a6f6b4f83e?api-version=2020-07-01-preview+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/00e985ee-47ea-4e62-ad62-21a6f6b4f83e?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "8" ], + "x-ms-client-request-id": [ "58ae551e-5c19-4de4-9259-8fcd430f8bcb" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "6c27abd5-f1e2-4f45-89bb-367a6329a93c" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-correlation-request-id": [ "b156a680-3f85-460b-b448-cf816bad230e" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T171813Z:b156a680-3f85-460b-b448-cf816bad230e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 17:18:12 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"00e985ee-47ea-4e62-ad62-21a6f6b4f83e\",\"status\":\"Succeeded\",\"startTime\":\"2020-12-10T17:12:12.477Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-AllAzure+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "9" ], + "x-ms-client-request-id": [ "58ae551e-5c19-4de4-9259-8fcd430f8bcb" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "9d90b9cb-c807-4d94-a2bb-f7513f1ca673" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "c37a5452-04a0-46d1-a1b2-7012daf748fd" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T171813Z:c37a5452-04a0-46d1-a1b2-7012daf748fd" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 17:18:13 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "956" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"gleefulRaisins2\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-10T17:18:13.4574098+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-AllAzure+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2/firewallRules?api-version=2020-07-01-preview+9": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2/firewallRules?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "16" ], + "x-ms-client-request-id": [ "df13186a-ebc9-4644-9ac3-0482b75df96c" ], + "CommandName": [ "Get-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Get-AzMySqlFlexibleServerFirewallRule_List" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "5815b00d-cd8b-474c-a889-0e810ff1b339" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], + "x-ms-correlation-request-id": [ "a7f1a895-b0fe-485b-bdcf-09434f082426" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T171930Z:a7f1a895-b0fe-485b-bdcf-09434f082426" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 17:19:30 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "217" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"value\":[{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.0\"},\"name\":\"AllowAllAzureServicesAndResourcesWithinAzureIps_2020-12-10_09-18-31\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}]}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-AllAzure+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+10": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "17" ], + "x-ms-client-request-id": [ "c5569dc9-6c19-464e-b626-0ef5ad3ea47c" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/ebafb486-8cdb-4e99-b5a1-4ac0950e6bb8?api-version=2020-07-01-preview" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/ebafb486-8cdb-4e99-b5a1-4ac0950e6bb8?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "ebafb486-8cdb-4e99-b5a1-4ac0950e6bb8" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "x-ms-correlation-request-id": [ "070132ea-7519-449e-9644-ffee22952a5b" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T171931Z:070132ea-7519-449e-9644-ffee22952a5b" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 17:19:31 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "84" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropServerManagementOperation\",\"startTime\":\"2020-12-10T17:19:31.047Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-AllAzure+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/ebafb486-8cdb-4e99-b5a1-4ac0950e6bb8?api-version=2020-07-01-preview+11": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/ebafb486-8cdb-4e99-b5a1-4ac0950e6bb8?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "18" ], + "x-ms-client-request-id": [ "c5569dc9-6c19-464e-b626-0ef5ad3ea47c" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "ec6fe801-5292-42ba-8a16-d7ac1395363d" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], + "x-ms-correlation-request-id": [ "d59e191c-7a95-4cc7-ad5d-5b23eaf20861" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T171946Z:d59e191c-7a95-4cc7-ad5d-5b23eaf20861" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 17:19:45 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ebafb486-8cdb-4e99-b5a1-4ac0950e6bb8\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T17:19:31.047Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-AllAzure+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/ebafb486-8cdb-4e99-b5a1-4ac0950e6bb8?api-version=2020-07-01-preview+12": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/ebafb486-8cdb-4e99-b5a1-4ac0950e6bb8?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "19" ], + "x-ms-client-request-id": [ "c5569dc9-6c19-464e-b626-0ef5ad3ea47c" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "eb71afab-ab72-482d-a831-7251e9560acd" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], + "x-ms-correlation-request-id": [ "a97fe72a-e958-4882-9952-21944a48d114" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T172001Z:a97fe72a-e958-4882-9952-21944a48d114" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 17:20:00 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ebafb486-8cdb-4e99-b5a1-4ac0950e6bb8\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T17:19:31.047Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-AllAzure+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/ebafb486-8cdb-4e99-b5a1-4ac0950e6bb8?api-version=2020-07-01-preview+13": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/ebafb486-8cdb-4e99-b5a1-4ac0950e6bb8?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "20" ], + "x-ms-client-request-id": [ "c5569dc9-6c19-464e-b626-0ef5ad3ea47c" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "0dbd51b5-549e-4c3d-b8fa-49f241e5c2e3" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], + "x-ms-correlation-request-id": [ "0d863849-3f95-4c7e-ad7b-cfdf5cd966d5" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T172016Z:0d863849-3f95-4c7e-ad7b-cfdf5cd966d5" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 17:20:15 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ebafb486-8cdb-4e99-b5a1-4ac0950e6bb8\",\"status\":\"Succeeded\",\"startTime\":\"2020-12-10T17:19:31.047Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-AllAzure+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/operationResults/ebafb486-8cdb-4e99-b5a1-4ac0950e6bb8?api-version=2020-07-01-preview+14": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/ebafb486-8cdb-4e99-b5a1-4ac0950e6bb8?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "21" ], + "x-ms-client-request-id": [ "c5569dc9-6c19-464e-b626-0ef5ad3ea47c" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "39979f90-88c4-4d23-a820-999ab29c70e6" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], + "x-ms-correlation-request-id": [ "1bf184ca-214e-40c8-b1d4-b8745d06974c" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T172016Z:1bf184ca-214e-40c8-b1d4-b8745d06974c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 17:20:15 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-FirewallRule+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", + "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"administratorLogin\": \"wornoutFalcon0\",\r\n \"administratorLoginPassword\": \"$)AZ/G4}dwk5h*T$\",\r\n \"version\": \"5.7\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "341" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/349feb74-6c8e-47d5-ba1e-930b7b171fab?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/349feb74-6c8e-47d5-ba1e-930b7b171fab?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "01429c23-071c-4e69-bee8-306e5f55cf67" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "39aaa9e3-2b7e-43a3-8cbd-4a1d31b1a3d9" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T172749Z:39aaa9e3-2b7e-43a3-8cbd-4a1d31b1a3d9" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 17:27:48 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "88" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-12-10T17:27:48.943Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-FirewallRule+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/349feb74-6c8e-47d5-ba1e-930b7b171fab?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/349feb74-6c8e-47d5-ba1e-930b7b171fab?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "24" ], + "x-ms-client-request-id": [ "b22afeac-e571-485c-ad8c-b5ba0069fb30" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "bedff193-148d-4ffe-b91e-159acefa1747" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-correlation-request-id": [ "443ef07d-37ce-4275-8a0c-7862ad9ef61c" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T172849Z:443ef07d-37ce-4275-8a0c-7862ad9ef61c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 17:28:48 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"349feb74-6c8e-47d5-ba1e-930b7b171fab\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T17:27:48.943Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-FirewallRule+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/349feb74-6c8e-47d5-ba1e-930b7b171fab?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/349feb74-6c8e-47d5-ba1e-930b7b171fab?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "25" ], + "x-ms-client-request-id": [ "b22afeac-e571-485c-ad8c-b5ba0069fb30" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "f016e6cf-04d3-4fc2-b341-917d45aa402f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-correlation-request-id": [ "b3cc014b-5175-4f5a-a990-9d9c29a31c5e" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T172949Z:b3cc014b-5175-4f5a-a990-9d9c29a31c5e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 17:29:49 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"349feb74-6c8e-47d5-ba1e-930b7b171fab\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T17:27:48.943Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-FirewallRule+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/349feb74-6c8e-47d5-ba1e-930b7b171fab?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/349feb74-6c8e-47d5-ba1e-930b7b171fab?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "26" ], + "x-ms-client-request-id": [ "b22afeac-e571-485c-ad8c-b5ba0069fb30" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "a0cff669-92c4-47f8-8e0e-2508cb07cafe" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-correlation-request-id": [ "2597a31b-f0ad-4428-89b0-b6bef470ea6b" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T173049Z:2597a31b-f0ad-4428-89b0-b6bef470ea6b" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 17:30:48 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"349feb74-6c8e-47d5-ba1e-930b7b171fab\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T17:27:48.943Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-FirewallRule+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/349feb74-6c8e-47d5-ba1e-930b7b171fab?api-version=2020-07-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/349feb74-6c8e-47d5-ba1e-930b7b171fab?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "27" ], + "x-ms-client-request-id": [ "b22afeac-e571-485c-ad8c-b5ba0069fb30" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "5636be4f-4592-4aa4-b5c1-e9f7a2637d31" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-correlation-request-id": [ "0315aca2-e61a-4f71-af55-79505aa44e5a" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T173149Z:0315aca2-e61a-4f71-af55-79505aa44e5a" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 17:31:49 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"349feb74-6c8e-47d5-ba1e-930b7b171fab\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T17:27:48.943Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-FirewallRule+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/349feb74-6c8e-47d5-ba1e-930b7b171fab?api-version=2020-07-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/349feb74-6c8e-47d5-ba1e-930b7b171fab?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "28" ], + "x-ms-client-request-id": [ "b22afeac-e571-485c-ad8c-b5ba0069fb30" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "a3392300-c995-45fe-b6c8-d93ce4f10006" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "4886c2ab-3277-48d5-a728-7f5dcc747f22" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T173249Z:4886c2ab-3277-48d5-a728-7f5dcc747f22" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 17:32:49 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"349feb74-6c8e-47d5-ba1e-930b7b171fab\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T17:27:48.943Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-FirewallRule+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/349feb74-6c8e-47d5-ba1e-930b7b171fab?api-version=2020-07-01-preview+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/349feb74-6c8e-47d5-ba1e-930b7b171fab?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "29" ], + "x-ms-client-request-id": [ "b22afeac-e571-485c-ad8c-b5ba0069fb30" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "0e58ec5d-5640-4e19-be73-cbf768c8dd64" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-correlation-request-id": [ "99af97a6-0712-4a33-9d20-9984bfca9040" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T173349Z:99af97a6-0712-4a33-9d20-9984bfca9040" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 17:33:48 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"349feb74-6c8e-47d5-ba1e-930b7b171fab\",\"status\":\"Succeeded\",\"startTime\":\"2020-12-10T17:27:48.943Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-FirewallRule+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "30" ], + "x-ms-client-request-id": [ "b22afeac-e571-485c-ad8c-b5ba0069fb30" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "846d0602-24df-4d31-8dce-ef136a87aa26" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "8d3b1f82-028b-42a9-a1a9-2e5950653bd7" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T173350Z:8d3b1f82-028b-42a9-a1a9-2e5950653bd7" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 17:33:49 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "955" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"wornoutFalcon0\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-3.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-10T17:33:49.9577256+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-3\",\"name\":\"mysql-test-100-3\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-FirewallRule+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3/firewallRules?api-version=2020-07-01-preview+9": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3/firewallRules?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "37" ], + "x-ms-client-request-id": [ "2d71d74e-a1a6-4472-9197-f27814a7a611" ], + "CommandName": [ "Get-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Get-AzMySqlFlexibleServerFirewallRule_List" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "528e8925-0ef8-4199-9ee6-f57f142f4d21" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], + "x-ms-correlation-request-id": [ "341de177-9c25-483a-b342-994ff922aac1" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T173510Z:341de177-9c25-483a-b342-994ff922aac1" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 17:35:09 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "195" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"value\":[{\"properties\":{\"startIpAddress\":\"10.10.10.10\",\"endIpAddress\":\"10.10.10.12\"},\"name\":\"FirewallIPAddress_2020-12-10_09-34-07\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}]}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-FirewallRule+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+10": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "38" ], + "x-ms-client-request-id": [ "d650221c-d138-4440-a0a4-e1a470f8f2d6" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/19f5d348-0a16-44d7-99a8-fde3bc437112?api-version=2020-07-01-preview" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/19f5d348-0a16-44d7-99a8-fde3bc437112?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "19f5d348-0a16-44d7-99a8-fde3bc437112" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "x-ms-correlation-request-id": [ "00dd1070-8c4a-4f1c-91ec-870757996044" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T173510Z:00dd1070-8c4a-4f1c-91ec-870757996044" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 17:35:09 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "84" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropServerManagementOperation\",\"startTime\":\"2020-12-10T17:35:10.163Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-FirewallRule+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/19f5d348-0a16-44d7-99a8-fde3bc437112?api-version=2020-07-01-preview+11": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/19f5d348-0a16-44d7-99a8-fde3bc437112?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "39" ], + "x-ms-client-request-id": [ "d650221c-d138-4440-a0a4-e1a470f8f2d6" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "5bae3943-c77e-4703-9ad1-9db0bac68c04" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], + "x-ms-correlation-request-id": [ "04f5a56e-ee1e-4b4a-98ed-10ad3de28571" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T173525Z:04f5a56e-ee1e-4b4a-98ed-10ad3de28571" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 17:35:24 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"19f5d348-0a16-44d7-99a8-fde3bc437112\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T17:35:10.163Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-FirewallRule+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/19f5d348-0a16-44d7-99a8-fde3bc437112?api-version=2020-07-01-preview+12": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/19f5d348-0a16-44d7-99a8-fde3bc437112?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "40" ], + "x-ms-client-request-id": [ "d650221c-d138-4440-a0a4-e1a470f8f2d6" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "5ca96d92-9e3a-42f3-a13a-d626379a2678" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], + "x-ms-correlation-request-id": [ "9fb9dfaa-d3ca-45ce-a059-77e41fd7228c" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T173540Z:9fb9dfaa-d3ca-45ce-a059-77e41fd7228c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 17:35:39 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"19f5d348-0a16-44d7-99a8-fde3bc437112\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T17:35:10.163Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-FirewallRule+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/19f5d348-0a16-44d7-99a8-fde3bc437112?api-version=2020-07-01-preview+13": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/19f5d348-0a16-44d7-99a8-fde3bc437112?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "41" ], + "x-ms-client-request-id": [ "d650221c-d138-4440-a0a4-e1a470f8f2d6" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "8c13ce69-6629-4de5-973e-b9bb1c66ae43" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], + "x-ms-correlation-request-id": [ "c9655114-aa68-42b7-940c-b2e2b4083622" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T173555Z:c9655114-aa68-42b7-940c-b2e2b4083622" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 17:35:55 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"19f5d348-0a16-44d7-99a8-fde3bc437112\",\"status\":\"Succeeded\",\"startTime\":\"2020-12-10T17:35:10.163Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-FirewallRule+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/operationResults/19f5d348-0a16-44d7-99a8-fde3bc437112?api-version=2020-07-01-preview+14": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/19f5d348-0a16-44d7-99a8-fde3bc437112?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "42" ], + "x-ms-client-request-id": [ "d650221c-d138-4440-a0a4-e1a470f8f2d6" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "a5b59d31-c022-4367-8282-58c4b4084f0f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], + "x-ms-correlation-request-id": [ "8f84136a-2716-4790-bfc7-2ecc483018b1" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T173555Z:8f84136a-2716-4790-bfc7-2ecc483018b1" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 17:35:55 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-AllowAll+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"administratorLogin\": \"vibrantFerret1\",\r\n \"administratorLoginPassword\": \"T[aH8)xv%b@AS][y\",\r\n \"version\": \"5.7\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "341" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/2927c68b-93ef-4c14-84b1-a57f6dfdc2f3?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/2927c68b-93ef-4c14-84b1-a57f6dfdc2f3?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "57c68028-fab0-41d2-b352-b77f394de349" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], + "x-ms-correlation-request-id": [ "d5d958a8-08fa-4a8d-be5f-1a46456686d1" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T174327Z:d5d958a8-08fa-4a8d-be5f-1a46456686d1" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 17:43:26 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "88" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-12-10T17:43:27.277Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/2927c68b-93ef-4c14-84b1-a57f6dfdc2f3?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/2927c68b-93ef-4c14-84b1-a57f6dfdc2f3?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "45" ], + "x-ms-client-request-id": [ "8275ca9d-e260-4cf3-ad7c-46098b8c97e8" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "1b42e159-1401-4f4c-9b18-405b8dd6d879" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], + "x-ms-correlation-request-id": [ "6f85db73-7d8c-4931-b33b-27d514bf8532" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T174427Z:6f85db73-7d8c-4931-b33b-27d514bf8532" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 17:44:27 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"2927c68b-93ef-4c14-84b1-a57f6dfdc2f3\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T17:43:27.277Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/2927c68b-93ef-4c14-84b1-a57f6dfdc2f3?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/2927c68b-93ef-4c14-84b1-a57f6dfdc2f3?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "46" ], + "x-ms-client-request-id": [ "8275ca9d-e260-4cf3-ad7c-46098b8c97e8" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "35a018e2-93c1-4efb-ba3b-09681695674e" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], + "x-ms-correlation-request-id": [ "f260f978-1b5d-4e21-9b28-31a6bcc4325b" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T174527Z:f260f978-1b5d-4e21-9b28-31a6bcc4325b" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 17:45:26 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"2927c68b-93ef-4c14-84b1-a57f6dfdc2f3\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T17:43:27.277Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/2927c68b-93ef-4c14-84b1-a57f6dfdc2f3?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/2927c68b-93ef-4c14-84b1-a57f6dfdc2f3?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "47" ], + "x-ms-client-request-id": [ "8275ca9d-e260-4cf3-ad7c-46098b8c97e8" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "3555c24a-cc7c-41e6-a341-25d8fb8b261c" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], + "x-ms-correlation-request-id": [ "5e2bbc9a-be0c-4022-a0b8-91893e7019a0" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T174627Z:5e2bbc9a-be0c-4022-a0b8-91893e7019a0" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 17:46:27 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"2927c68b-93ef-4c14-84b1-a57f6dfdc2f3\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T17:43:27.277Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/2927c68b-93ef-4c14-84b1-a57f6dfdc2f3?api-version=2020-07-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/2927c68b-93ef-4c14-84b1-a57f6dfdc2f3?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "48" ], + "x-ms-client-request-id": [ "8275ca9d-e260-4cf3-ad7c-46098b8c97e8" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "b78f1837-d6f8-454c-b305-6635a4f6ff2d" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11980" ], + "x-ms-correlation-request-id": [ "6de781f8-c147-46da-8ef5-15ee78b5d37f" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T174727Z:6de781f8-c147-46da-8ef5-15ee78b5d37f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 17:47:27 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"2927c68b-93ef-4c14-84b1-a57f6dfdc2f3\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T17:43:27.277Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/2927c68b-93ef-4c14-84b1-a57f6dfdc2f3?api-version=2020-07-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/2927c68b-93ef-4c14-84b1-a57f6dfdc2f3?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "49" ], + "x-ms-client-request-id": [ "8275ca9d-e260-4cf3-ad7c-46098b8c97e8" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "3e3591d8-f2ff-4875-93f7-33a7bee7e8c9" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11979" ], + "x-ms-correlation-request-id": [ "0ac8976d-4b26-459e-ae80-80f04b589bb4" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T174828Z:0ac8976d-4b26-459e-ae80-80f04b589bb4" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 17:48:28 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"2927c68b-93ef-4c14-84b1-a57f6dfdc2f3\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T17:43:27.277Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/2927c68b-93ef-4c14-84b1-a57f6dfdc2f3?api-version=2020-07-01-preview+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/2927c68b-93ef-4c14-84b1-a57f6dfdc2f3?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "50" ], + "x-ms-client-request-id": [ "8275ca9d-e260-4cf3-ad7c-46098b8c97e8" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "eb631a86-3694-4291-8b53-7a1eb35c8b93" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11978" ], + "x-ms-correlation-request-id": [ "ab343afe-eedf-4766-bc15-41f1ac386d28" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T174928Z:ab343afe-eedf-4766-bc15-41f1ac386d28" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 17:49:27 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"2927c68b-93ef-4c14-84b1-a57f6dfdc2f3\",\"status\":\"Succeeded\",\"startTime\":\"2020-12-10T17:43:27.277Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "51" ], + "x-ms-client-request-id": [ "8275ca9d-e260-4cf3-ad7c-46098b8c97e8" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "9b81a421-5543-42c7-9553-47dd6501fa5a" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11977" ], + "x-ms-correlation-request-id": [ "aca96948-1b99-48f0-8630-c2a9d9f83821" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T174928Z:aca96948-1b99-48f0-8630-c2a9d9f83821" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 17:49:27 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "955" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"vibrantFerret1\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-10T17:49:28.2061324+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2/firewallRules?api-version=2020-07-01-preview+9": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2/firewallRules?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "58" ], + "x-ms-client-request-id": [ "e4fc6016-a631-469c-a712-b033a222407a" ], + "CommandName": [ "Get-AzMySqlFlexibleServerFirewallRule" ], + "FullCommandName": [ "Get-AzMySqlFlexibleServerFirewallRule_List" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "6eb31b5d-9b27-452f-b1b8-7311b55c6cb3" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11972" ], + "x-ms-correlation-request-id": [ "fe23b8f2-668b-4b95-9f12-620a39ab5c03" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T175045Z:fe23b8f2-668b-4b95-9f12-620a39ab5c03" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 17:50:44 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "186" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"value\":[{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"255.255.255.255\"},\"name\":\"AllowAll_2020-12-10_09-49-45\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}]}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-AllowAll+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+10": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "59" ], + "x-ms-client-request-id": [ "6ec97bdb-648c-42cc-a0f8-029271d4a75a" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/907bb1bf-f211-4291-8824-873fac1c9048?api-version=2020-07-01-preview" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/907bb1bf-f211-4291-8824-873fac1c9048?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "907bb1bf-f211-4291-8824-873fac1c9048" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14998" ], + "x-ms-correlation-request-id": [ "ca9d9205-4ee5-4bc0-8180-9ee90c125082" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T175045Z:ca9d9205-4ee5-4bc0-8180-9ee90c125082" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 17:50:44 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "84" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropServerManagementOperation\",\"startTime\":\"2020-12-10T17:50:45.137Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/907bb1bf-f211-4291-8824-873fac1c9048?api-version=2020-07-01-preview+11": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/907bb1bf-f211-4291-8824-873fac1c9048?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "60" ], + "x-ms-client-request-id": [ "6ec97bdb-648c-42cc-a0f8-029271d4a75a" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "a4f7cf3d-cb91-497e-a04d-da7400b03fe0" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11971" ], + "x-ms-correlation-request-id": [ "d6ac85b6-3163-495c-97b3-da04b37a6d4a" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T175100Z:d6ac85b6-3163-495c-97b3-da04b37a6d4a" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 17:50:59 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"907bb1bf-f211-4291-8824-873fac1c9048\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T17:50:45.137Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/907bb1bf-f211-4291-8824-873fac1c9048?api-version=2020-07-01-preview+12": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/907bb1bf-f211-4291-8824-873fac1c9048?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "61" ], + "x-ms-client-request-id": [ "6ec97bdb-648c-42cc-a0f8-029271d4a75a" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "f2a7dc71-c177-49a3-8e09-bf812aaabfb7" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11970" ], + "x-ms-correlation-request-id": [ "597b5461-d16a-43e6-b44b-8def9e1ad444" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T175115Z:597b5461-d16a-43e6-b44b-8def9e1ad444" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 17:51:14 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"907bb1bf-f211-4291-8824-873fac1c9048\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T17:50:45.137Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/907bb1bf-f211-4291-8824-873fac1c9048?api-version=2020-07-01-preview+13": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/907bb1bf-f211-4291-8824-873fac1c9048?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "62" ], + "x-ms-client-request-id": [ "6ec97bdb-648c-42cc-a0f8-029271d4a75a" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "d1d8f072-4830-4e1e-8b53-387f6e08ea7d" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11969" ], + "x-ms-correlation-request-id": [ "8e16ea9a-b066-419d-9c02-743d28bc8352" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T175130Z:8e16ea9a-b066-419d-9c02-743d28bc8352" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 17:51:30 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"907bb1bf-f211-4291-8824-873fac1c9048\",\"status\":\"Succeeded\",\"startTime\":\"2020-12-10T17:50:45.137Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/operationResults/907bb1bf-f211-4291-8824-873fac1c9048?api-version=2020-07-01-preview+14": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/907bb1bf-f211-4291-8824-873fac1c9048?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "63" ], + "x-ms-client-request-id": [ "6ec97bdb-648c-42cc-a0f8-029271d4a75a" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "b92732a3-2cf6-4ad3-82a5-ff08b8e8aab6" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11968" ], + "x-ms-correlation-request-id": [ "1f4e91b1-91a1-4fef-98bd-7f431ea7e9db" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T175130Z:1f4e91b1-91a1-4fef-98bd-7f431ea7e9db" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 17:51:30 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+NoArgumentsScenario+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group4698477837/providers/Microsoft.DBForMySql/flexibleServers/server2733559001?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group4698477837/providers/Microsoft.DBForMySql/flexibleServers/server2733559001?api-version=2020-07-01-preview", + "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"delegatedSubnetArguments\": {\r\n \"subnetArmResourceId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group4698477837/providers/Microsoft.Network/virtualNetworks/VNETserver2733559001/subnets/Subnetserver2733559001\"\r\n },\r\n \"administratorLogin\": \"violentRaccoon9\",\r\n \"administratorLoginPassword\": \"*Gb\\u0026(RvVgCnz$7@?\",\r\n \"version\": \"5.7\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "601" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/0f33f80a-1d8b-4d33-a823-3b3437a2e9c7?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/0f33f80a-1d8b-4d33-a823-3b3437a2e9c7?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "d8e24b86-8c91-465a-a830-abc3c9deb4e3" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-correlation-request-id": [ "68bf5216-11ac-426c-b92f-733f4b9a5492" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T175917Z:68bf5216-11ac-426c-b92f-733f4b9a5492" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 17:59:17 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "88" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-12-10T17:59:17.683Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+NoArgumentsScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/0f33f80a-1d8b-4d33-a823-3b3437a2e9c7?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/0f33f80a-1d8b-4d33-a823-3b3437a2e9c7?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "66" ], + "x-ms-client-request-id": [ "617c05e0-63b0-47dd-99ba-f4fe17d6c3ff" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "eb6baea2-3e83-4813-acf3-4cbf9e885a76" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-correlation-request-id": [ "1aae66ea-37f3-45bd-b5f2-0d3c3b4c4c36" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T180017Z:1aae66ea-37f3-45bd-b5f2-0d3c3b4c4c36" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:00:17 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"0f33f80a-1d8b-4d33-a823-3b3437a2e9c7\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T17:59:17.683Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+NoArgumentsScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/0f33f80a-1d8b-4d33-a823-3b3437a2e9c7?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/0f33f80a-1d8b-4d33-a823-3b3437a2e9c7?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "67" ], + "x-ms-client-request-id": [ "617c05e0-63b0-47dd-99ba-f4fe17d6c3ff" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "ee47b31c-16ab-4df8-9e21-b25afb124e53" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "9909e0ab-1e16-4a7d-81cb-d82a031fe9f7" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T180118Z:9909e0ab-1e16-4a7d-81cb-d82a031fe9f7" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:01:17 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"0f33f80a-1d8b-4d33-a823-3b3437a2e9c7\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T17:59:17.683Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+NoArgumentsScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/0f33f80a-1d8b-4d33-a823-3b3437a2e9c7?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/0f33f80a-1d8b-4d33-a823-3b3437a2e9c7?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "68" ], + "x-ms-client-request-id": [ "617c05e0-63b0-47dd-99ba-f4fe17d6c3ff" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "b018f4ac-aa00-4513-bfa2-ee2c1a2f68b5" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "efc54304-baa2-4fd4-887f-5f80eef7a017" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T180218Z:efc54304-baa2-4fd4-887f-5f80eef7a017" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:02:17 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"0f33f80a-1d8b-4d33-a823-3b3437a2e9c7\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T17:59:17.683Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+NoArgumentsScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/0f33f80a-1d8b-4d33-a823-3b3437a2e9c7?api-version=2020-07-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/0f33f80a-1d8b-4d33-a823-3b3437a2e9c7?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "69" ], + "x-ms-client-request-id": [ "617c05e0-63b0-47dd-99ba-f4fe17d6c3ff" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "c744fee7-6e6f-449d-89f5-10e2f2eaed84" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "b06d9180-0c11-461c-98b4-32f9210559c8" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T180318Z:b06d9180-0c11-461c-98b4-32f9210559c8" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:03:17 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"0f33f80a-1d8b-4d33-a823-3b3437a2e9c7\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T17:59:17.683Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+NoArgumentsScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/0f33f80a-1d8b-4d33-a823-3b3437a2e9c7?api-version=2020-07-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/0f33f80a-1d8b-4d33-a823-3b3437a2e9c7?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "70" ], + "x-ms-client-request-id": [ "617c05e0-63b0-47dd-99ba-f4fe17d6c3ff" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "60d4fb98-10a4-4c1b-a223-00f4170fc8fd" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-correlation-request-id": [ "7bb7df98-6643-4798-a9b1-21a8aca88d05" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T180418Z:7bb7df98-6643-4798-a9b1-21a8aca88d05" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:04:18 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"0f33f80a-1d8b-4d33-a823-3b3437a2e9c7\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T17:59:17.683Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+NoArgumentsScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/0f33f80a-1d8b-4d33-a823-3b3437a2e9c7?api-version=2020-07-01-preview+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/0f33f80a-1d8b-4d33-a823-3b3437a2e9c7?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "71" ], + "x-ms-client-request-id": [ "617c05e0-63b0-47dd-99ba-f4fe17d6c3ff" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "1781b8df-796f-47ba-9784-770b8cf1e076" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], + "x-ms-correlation-request-id": [ "6fb8c4ef-3db2-4273-b199-f2bffb163217" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T180518Z:6fb8c4ef-3db2-4273-b199-f2bffb163217" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:05:17 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"0f33f80a-1d8b-4d33-a823-3b3437a2e9c7\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T17:59:17.683Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+NoArgumentsScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/0f33f80a-1d8b-4d33-a823-3b3437a2e9c7?api-version=2020-07-01-preview+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/0f33f80a-1d8b-4d33-a823-3b3437a2e9c7?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "72" ], + "x-ms-client-request-id": [ "617c05e0-63b0-47dd-99ba-f4fe17d6c3ff" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "3161d709-e490-4d58-999b-98cdf2763e94" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], + "x-ms-correlation-request-id": [ "98e194ff-9ba9-4c84-b94f-c1b56b45283a" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T180618Z:98e194ff-9ba9-4c84-b94f-c1b56b45283a" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:06:18 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"0f33f80a-1d8b-4d33-a823-3b3437a2e9c7\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T17:59:17.683Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+NoArgumentsScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/0f33f80a-1d8b-4d33-a823-3b3437a2e9c7?api-version=2020-07-01-preview+9": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/0f33f80a-1d8b-4d33-a823-3b3437a2e9c7?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "73" ], + "x-ms-client-request-id": [ "617c05e0-63b0-47dd-99ba-f4fe17d6c3ff" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "e6ab11b3-ce2b-4fdf-bfe6-f114bad5782e" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], + "x-ms-correlation-request-id": [ "70c14cb7-a96c-4057-a81c-cc8c6ff531de" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T180718Z:70c14cb7-a96c-4057-a81c-cc8c6ff531de" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:07:17 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"0f33f80a-1d8b-4d33-a823-3b3437a2e9c7\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T17:59:17.683Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+NoArgumentsScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/0f33f80a-1d8b-4d33-a823-3b3437a2e9c7?api-version=2020-07-01-preview+10": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/0f33f80a-1d8b-4d33-a823-3b3437a2e9c7?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "74" ], + "x-ms-client-request-id": [ "617c05e0-63b0-47dd-99ba-f4fe17d6c3ff" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "79488340-7b3c-4dc0-a8d3-d66dd85630f3" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], + "x-ms-correlation-request-id": [ "7f32990e-1027-4aa9-b470-6b443fdc5c60" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T180818Z:7f32990e-1027-4aa9-b470-6b443fdc5c60" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:08:18 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"0f33f80a-1d8b-4d33-a823-3b3437a2e9c7\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T17:59:17.683Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+NoArgumentsScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/0f33f80a-1d8b-4d33-a823-3b3437a2e9c7?api-version=2020-07-01-preview+11": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/0f33f80a-1d8b-4d33-a823-3b3437a2e9c7?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "75" ], + "x-ms-client-request-id": [ "617c05e0-63b0-47dd-99ba-f4fe17d6c3ff" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "6f728dfd-3d78-4558-9764-52505b31942b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], + "x-ms-correlation-request-id": [ "6b9328ce-1b35-414f-93a8-ab479a7c2107" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T180918Z:6b9328ce-1b35-414f-93a8-ab479a7c2107" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:09:18 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"0f33f80a-1d8b-4d33-a823-3b3437a2e9c7\",\"status\":\"Succeeded\",\"startTime\":\"2020-12-10T17:59:17.683Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+NoArgumentsScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group4698477837/providers/Microsoft.DBForMySql/flexibleServers/server2733559001?api-version=2020-07-01-preview+12": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group4698477837/providers/Microsoft.DBForMySql/flexibleServers/server2733559001?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "76" ], + "x-ms-client-request-id": [ "617c05e0-63b0-47dd-99ba-f4fe17d6c3ff" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "7e3aa815-af21-4dc5-90ac-05af82161021" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], + "x-ms-correlation-request-id": [ "ca67d055-f1f6-4ebf-af72-044590decec0" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T180918Z:ca67d055-f1f6-4ebf-af72-044590decec0" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:09:18 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1195" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"violentRaccoon9\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"server2733559001.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-10T18:09:18.8093995+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group4698477837/providers/Microsoft.Network/virtualNetworks/VNETserver2733559001/subnets/Subnetserver2733559001\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group4698477837/providers/Microsoft.DBforMySQL/flexibleServers/server2733559001\",\"name\":\"server2733559001\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+NoArgumentsScenario+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group4698477837/providers/Microsoft.DBForMySql/flexibleServers/server2733559001?api-version=2020-07-01-preview+13": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group4698477837/providers/Microsoft.DBForMySql/flexibleServers/server2733559001?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "80" ], + "x-ms-client-request-id": [ "0482b3f9-68f4-4d92-befc-110bbd214bd3" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/47144d36-1476-4c26-a654-c5312c3d8ff9?api-version=2020-07-01-preview" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/47144d36-1476-4c26-a654-c5312c3d8ff9?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "47144d36-1476-4c26-a654-c5312c3d8ff9" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "x-ms-correlation-request-id": [ "34a4a39a-c8bd-49aa-bf5f-2c84d97bb9c8" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T180938Z:34a4a39a-c8bd-49aa-bf5f-2c84d97bb9c8" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:09:38 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "83" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropServerManagementOperation\",\"startTime\":\"2020-12-10T18:09:38.87Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+NoArgumentsScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/47144d36-1476-4c26-a654-c5312c3d8ff9?api-version=2020-07-01-preview+14": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/47144d36-1476-4c26-a654-c5312c3d8ff9?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "81" ], + "x-ms-client-request-id": [ "0482b3f9-68f4-4d92-befc-110bbd214bd3" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "96a28219-a185-4a70-984a-f0e31e3f216b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], + "x-ms-correlation-request-id": [ "5b2fc461-6761-4bcc-8591-9125164701c8" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T180954Z:5b2fc461-6761-4bcc-8591-9125164701c8" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:09:53 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"47144d36-1476-4c26-a654-c5312c3d8ff9\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T18:09:38.87Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+NoArgumentsScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/47144d36-1476-4c26-a654-c5312c3d8ff9?api-version=2020-07-01-preview+15": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/47144d36-1476-4c26-a654-c5312c3d8ff9?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "82" ], + "x-ms-client-request-id": [ "0482b3f9-68f4-4d92-befc-110bbd214bd3" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "11b36343-a5d9-4c28-90a7-26b1e3c5a766" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11980" ], + "x-ms-correlation-request-id": [ "8592a80b-905d-4a57-82b0-8fd656c5e1a9" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T181009Z:8592a80b-905d-4a57-82b0-8fd656c5e1a9" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:10:08 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"47144d36-1476-4c26-a654-c5312c3d8ff9\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T18:09:38.87Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+NoArgumentsScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/47144d36-1476-4c26-a654-c5312c3d8ff9?api-version=2020-07-01-preview+16": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/47144d36-1476-4c26-a654-c5312c3d8ff9?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "83" ], + "x-ms-client-request-id": [ "0482b3f9-68f4-4d92-befc-110bbd214bd3" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "0a115fad-f6e8-4663-be4c-f2c61320c148" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11979" ], + "x-ms-correlation-request-id": [ "fe609999-23d5-4dbb-9d12-33371e0e9b0b" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T181024Z:fe609999-23d5-4dbb-9d12-33371e0e9b0b" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:10:23 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"47144d36-1476-4c26-a654-c5312c3d8ff9\",\"status\":\"Succeeded\",\"startTime\":\"2020-12-10T18:09:38.87Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+NoArgumentsScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/operationResults/47144d36-1476-4c26-a654-c5312c3d8ff9?api-version=2020-07-01-preview+17": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/47144d36-1476-4c26-a654-c5312c3d8ff9?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "84" ], + "x-ms-client-request-id": [ "0482b3f9-68f4-4d92-befc-110bbd214bd3" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "fa753ff7-9696-48c8-83c5-9fbcb77c2f46" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11978" ], + "x-ms-correlation-request-id": [ "4a32a2b7-83cf-4525-804e-1571e9ba506e" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T181024Z:4a32a2b7-83cf-4525-804e-1571e9ba506e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:10:23 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnet+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"delegatedSubnetArguments\": {\r\n \"subnetArmResourceId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/mysqlvnet/subnets/Subnetmysql-test-100-2\"\r\n },\r\n \"administratorLogin\": \"starchyGerbil2\",\r\n \"administratorLoginPassword\": \"bt}?fKf(oV\\u0026%V#PK\",\r\n \"version\": \"5.7\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "589" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/55da5e84-6c55-47b9-be20-d8937251b51f?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/55da5e84-6c55-47b9-be20-d8937251b51f?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "c0c8a657-bba5-4964-97b0-ab26acf7bff0" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "8881177d-cb78-4a15-81c2-0515cab5786f" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T181915Z:8881177d-cb78-4a15-81c2-0515cab5786f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:19:15 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "87" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-12-10T18:19:15.79Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/55da5e84-6c55-47b9-be20-d8937251b51f?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/55da5e84-6c55-47b9-be20-d8937251b51f?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "93" ], + "x-ms-client-request-id": [ "2a127410-5544-4cec-9392-f2e8226f39ca" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "33511a91-588f-4485-8f5d-9153970794a4" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-correlation-request-id": [ "5e2328ea-b12f-4af5-846c-f3950c444c7d" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T182016Z:5e2328ea-b12f-4af5-846c-f3950c444c7d" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:20:16 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"55da5e84-6c55-47b9-be20-d8937251b51f\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T18:19:15.79Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/55da5e84-6c55-47b9-be20-d8937251b51f?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/55da5e84-6c55-47b9-be20-d8937251b51f?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "94" ], + "x-ms-client-request-id": [ "2a127410-5544-4cec-9392-f2e8226f39ca" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "59316c6d-2b9a-4960-90e0-8b795b71366c" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-correlation-request-id": [ "817520eb-097f-42d3-ad7e-7fbc5a6d58f8" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T182116Z:817520eb-097f-42d3-ad7e-7fbc5a6d58f8" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:21:15 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"55da5e84-6c55-47b9-be20-d8937251b51f\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T18:19:15.79Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/55da5e84-6c55-47b9-be20-d8937251b51f?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/55da5e84-6c55-47b9-be20-d8937251b51f?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "95" ], + "x-ms-client-request-id": [ "2a127410-5544-4cec-9392-f2e8226f39ca" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "56301748-69a9-4571-bf2d-a12217ba4541" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-correlation-request-id": [ "e7ae6083-dbae-4da1-81f3-ecae000d50e9" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T182216Z:e7ae6083-dbae-4da1-81f3-ecae000d50e9" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:22:16 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"55da5e84-6c55-47b9-be20-d8937251b51f\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T18:19:15.79Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/55da5e84-6c55-47b9-be20-d8937251b51f?api-version=2020-07-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/55da5e84-6c55-47b9-be20-d8937251b51f?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "96" ], + "x-ms-client-request-id": [ "2a127410-5544-4cec-9392-f2e8226f39ca" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "f3252605-6064-4b0f-b3de-282af1e67dcf" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-correlation-request-id": [ "d48fde09-1eb6-4883-9c78-fa760444eca6" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T182316Z:d48fde09-1eb6-4883-9c78-fa760444eca6" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:23:15 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"55da5e84-6c55-47b9-be20-d8937251b51f\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T18:19:15.79Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/55da5e84-6c55-47b9-be20-d8937251b51f?api-version=2020-07-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/55da5e84-6c55-47b9-be20-d8937251b51f?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "97" ], + "x-ms-client-request-id": [ "2a127410-5544-4cec-9392-f2e8226f39ca" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "043d3b0a-c966-4b46-a2d0-df48a699b673" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "e4fdd01c-77c2-4cf2-9cd6-900f98012c36" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T182416Z:e4fdd01c-77c2-4cf2-9cd6-900f98012c36" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:24:16 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"55da5e84-6c55-47b9-be20-d8937251b51f\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T18:19:15.79Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/55da5e84-6c55-47b9-be20-d8937251b51f?api-version=2020-07-01-preview+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/55da5e84-6c55-47b9-be20-d8937251b51f?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "98" ], + "x-ms-client-request-id": [ "2a127410-5544-4cec-9392-f2e8226f39ca" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "c803023f-efbb-44cb-8fde-29bdeb922578" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-correlation-request-id": [ "c337e485-0c21-414e-8d35-835fdfd5e51c" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T182516Z:c337e485-0c21-414e-8d35-835fdfd5e51c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:25:16 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"55da5e84-6c55-47b9-be20-d8937251b51f\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T18:19:15.79Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/55da5e84-6c55-47b9-be20-d8937251b51f?api-version=2020-07-01-preview+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/55da5e84-6c55-47b9-be20-d8937251b51f?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "99" ], + "x-ms-client-request-id": [ "2a127410-5544-4cec-9392-f2e8226f39ca" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "5385c904-d3a7-4404-8820-452b1876e0a5" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "c78cc347-046c-495d-9dd7-4515a87a5b05" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T182616Z:c78cc347-046c-495d-9dd7-4515a87a5b05" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:26:16 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"55da5e84-6c55-47b9-be20-d8937251b51f\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T18:19:15.79Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/55da5e84-6c55-47b9-be20-d8937251b51f?api-version=2020-07-01-preview+9": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/55da5e84-6c55-47b9-be20-d8937251b51f?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "100" ], + "x-ms-client-request-id": [ "2a127410-5544-4cec-9392-f2e8226f39ca" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "69959a96-42b4-4f49-80ec-caf03a7dd148" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "1a0e4301-1027-499d-a91d-0e7ae96381ae" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T182716Z:1a0e4301-1027-499d-a91d-0e7ae96381ae" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:27:16 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"55da5e84-6c55-47b9-be20-d8937251b51f\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T18:19:15.79Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/55da5e84-6c55-47b9-be20-d8937251b51f?api-version=2020-07-01-preview+10": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/55da5e84-6c55-47b9-be20-d8937251b51f?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "101" ], + "x-ms-client-request-id": [ "2a127410-5544-4cec-9392-f2e8226f39ca" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "ad4aec72-1f88-4464-8df5-d36cbfa44184" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "36207b20-5cb4-4204-8528-42309f8341f1" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T182817Z:36207b20-5cb4-4204-8528-42309f8341f1" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:28:16 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"55da5e84-6c55-47b9-be20-d8937251b51f\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T18:19:15.79Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/55da5e84-6c55-47b9-be20-d8937251b51f?api-version=2020-07-01-preview+11": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/55da5e84-6c55-47b9-be20-d8937251b51f?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "102" ], + "x-ms-client-request-id": [ "2a127410-5544-4cec-9392-f2e8226f39ca" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "55aec679-a642-466d-9918-9417897a3d5b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-correlation-request-id": [ "edf8b018-0e75-47a6-af95-5ce0e4c16f63" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T182917Z:edf8b018-0e75-47a6-af95-5ce0e4c16f63" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:29:16 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"55da5e84-6c55-47b9-be20-d8937251b51f\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T18:19:15.79Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/55da5e84-6c55-47b9-be20-d8937251b51f?api-version=2020-07-01-preview+12": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/55da5e84-6c55-47b9-be20-d8937251b51f?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "103" ], + "x-ms-client-request-id": [ "2a127410-5544-4cec-9392-f2e8226f39ca" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "49255215-d2b2-4d75-99fe-4972d5d4bb02" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], + "x-ms-correlation-request-id": [ "c07f5b65-3b52-497f-af58-eb59bede9aa9" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T183017Z:c07f5b65-3b52-497f-af58-eb59bede9aa9" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:30:16 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"55da5e84-6c55-47b9-be20-d8937251b51f\",\"status\":\"Succeeded\",\"startTime\":\"2020-12-10T18:19:15.79Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+13": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "104" ], + "x-ms-client-request-id": [ "2a127410-5544-4cec-9392-f2e8226f39ca" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "c39d57f2-cb37-4899-9d62-1cee6d823331" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], + "x-ms-correlation-request-id": [ "0e245b61-bf20-455e-860f-e22cb6ef9973" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T183017Z:0e245b61-bf20-455e-860f-e22cb6ef9973" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:30:17 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1177" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"starchyGerbil2\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-10T18:30:17.4498227+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/mysqlvnet/subnets/Subnetmysql-test-100-2\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnet+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+14": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "108" ], + "x-ms-client-request-id": [ "e56d78b6-c748-4f84-b9dd-e45aa222e584" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/4b72993f-4e16-40a7-8a77-1264e6ebd106?api-version=2020-07-01-preview" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/4b72993f-4e16-40a7-8a77-1264e6ebd106?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "4b72993f-4e16-40a7-8a77-1264e6ebd106" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "x-ms-correlation-request-id": [ "79f67379-a0c7-4b9e-8477-e39dd396c621" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T183037Z:79f67379-a0c7-4b9e-8477-e39dd396c621" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:30:36 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "84" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropServerManagementOperation\",\"startTime\":\"2020-12-10T18:30:37.263Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/4b72993f-4e16-40a7-8a77-1264e6ebd106?api-version=2020-07-01-preview+15": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/4b72993f-4e16-40a7-8a77-1264e6ebd106?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "109" ], + "x-ms-client-request-id": [ "e56d78b6-c748-4f84-b9dd-e45aa222e584" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "7565a49c-f8e8-4348-9425-922c77e0a9f3" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], + "x-ms-correlation-request-id": [ "96d94b0c-1ccf-44b8-b13e-a623e59c38ef" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T183052Z:96d94b0c-1ccf-44b8-b13e-a623e59c38ef" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:30:51 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"4b72993f-4e16-40a7-8a77-1264e6ebd106\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T18:30:37.263Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/4b72993f-4e16-40a7-8a77-1264e6ebd106?api-version=2020-07-01-preview+16": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/4b72993f-4e16-40a7-8a77-1264e6ebd106?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "110" ], + "x-ms-client-request-id": [ "e56d78b6-c748-4f84-b9dd-e45aa222e584" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "a5730607-0d3c-4523-bd59-86a8c4392bb0" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], + "x-ms-correlation-request-id": [ "fc0e384a-1ce8-4cca-8700-f184164f526f" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T183107Z:fc0e384a-1ce8-4cca-8700-f184164f526f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:31:06 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"4b72993f-4e16-40a7-8a77-1264e6ebd106\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T18:30:37.263Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/4b72993f-4e16-40a7-8a77-1264e6ebd106?api-version=2020-07-01-preview+17": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/4b72993f-4e16-40a7-8a77-1264e6ebd106?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "111" ], + "x-ms-client-request-id": [ "e56d78b6-c748-4f84-b9dd-e45aa222e584" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "862d32e6-bb7f-40a4-aa87-e119c003bc22" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], + "x-ms-correlation-request-id": [ "a0d66f2b-712b-43bd-ad4c-886a848c9f81" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T183122Z:a0d66f2b-712b-43bd-ad4c-886a848c9f81" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:31:21 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"4b72993f-4e16-40a7-8a77-1264e6ebd106\",\"status\":\"Succeeded\",\"startTime\":\"2020-12-10T18:30:37.263Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/operationResults/4b72993f-4e16-40a7-8a77-1264e6ebd106?api-version=2020-07-01-preview+18": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/4b72993f-4e16-40a7-8a77-1264e6ebd106?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "112" ], + "x-ms-client-request-id": [ "e56d78b6-c748-4f84-b9dd-e45aa222e584" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "89f50840-1266-4f3b-9e7f-e5d0aa0e5b80" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], + "x-ms-correlation-request-id": [ "c1a3c8c1-6dc6-4755-8e3f-08ecd46734a7" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T183122Z:c1a3c8c1-6dc6-4755-8e3f-08ecd46734a7" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:31:21 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnetNotExist+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", + "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"delegatedSubnetArguments\": {\r\n \"subnetArmResourceId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/nonexistingvnetforpowershelltest/subnets/Subnetmysql-test-100-3\"\r\n },\r\n \"administratorLogin\": \"amusedStork9\",\r\n \"administratorLoginPassword\": \"*/KH%8/UgA@M@lbt\",\r\n \"version\": \"5.7\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "599" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/f2590f2b-9744-4dfb-8ebe-b7de4c3629cd?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f2590f2b-9744-4dfb-8ebe-b7de4c3629cd?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "3f06e5d3-da1e-4fe2-a520-e7cd1fb881b0" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "79894c81-f033-4fa8-a251-58122aaad1ca" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T183957Z:79894c81-f033-4fa8-a251-58122aaad1ca" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:39:57 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "88" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-12-10T18:39:57.793Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f2590f2b-9744-4dfb-8ebe-b7de4c3629cd?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f2590f2b-9744-4dfb-8ebe-b7de4c3629cd?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "116" ], + "x-ms-client-request-id": [ "0b40d551-d84d-4e89-a59f-4276459f952c" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "1ce081c1-b02e-4194-9a86-18e24f983702" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-correlation-request-id": [ "d1f3b363-f708-4c2a-924e-49edcb3677be" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T184058Z:d1f3b363-f708-4c2a-924e-49edcb3677be" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:40:57 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"f2590f2b-9744-4dfb-8ebe-b7de4c3629cd\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T18:39:57.793Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f2590f2b-9744-4dfb-8ebe-b7de4c3629cd?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f2590f2b-9744-4dfb-8ebe-b7de4c3629cd?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "117" ], + "x-ms-client-request-id": [ "0b40d551-d84d-4e89-a59f-4276459f952c" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "5ee8f449-e0b4-49a8-8035-11257149011c" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-correlation-request-id": [ "cdc6d7c1-e411-4398-ae20-9d5c9bc2d973" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T184158Z:cdc6d7c1-e411-4398-ae20-9d5c9bc2d973" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:41:57 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"f2590f2b-9744-4dfb-8ebe-b7de4c3629cd\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T18:39:57.793Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f2590f2b-9744-4dfb-8ebe-b7de4c3629cd?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f2590f2b-9744-4dfb-8ebe-b7de4c3629cd?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "118" ], + "x-ms-client-request-id": [ "0b40d551-d84d-4e89-a59f-4276459f952c" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "e819e741-ffc1-47c9-ae62-2db1dffa969d" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-correlation-request-id": [ "049287c9-17ea-47d9-9250-4fd47ddf1069" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T184258Z:049287c9-17ea-47d9-9250-4fd47ddf1069" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:42:58 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"f2590f2b-9744-4dfb-8ebe-b7de4c3629cd\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T18:39:57.793Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f2590f2b-9744-4dfb-8ebe-b7de4c3629cd?api-version=2020-07-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f2590f2b-9744-4dfb-8ebe-b7de4c3629cd?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "119" ], + "x-ms-client-request-id": [ "0b40d551-d84d-4e89-a59f-4276459f952c" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "341eef54-c856-4391-8ad9-cfc915915adb" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-correlation-request-id": [ "f8045682-9eba-42ae-ae51-105d75fdd7cc" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T184358Z:f8045682-9eba-42ae-ae51-105d75fdd7cc" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:43:57 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"f2590f2b-9744-4dfb-8ebe-b7de4c3629cd\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T18:39:57.793Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f2590f2b-9744-4dfb-8ebe-b7de4c3629cd?api-version=2020-07-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f2590f2b-9744-4dfb-8ebe-b7de4c3629cd?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "120" ], + "x-ms-client-request-id": [ "0b40d551-d84d-4e89-a59f-4276459f952c" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "53f78252-5160-430f-9179-982512c34a38" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "2a76c261-2e0c-4596-b4d3-ce675b01476b" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T184458Z:2a76c261-2e0c-4596-b4d3-ce675b01476b" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:44:58 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"f2590f2b-9744-4dfb-8ebe-b7de4c3629cd\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T18:39:57.793Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f2590f2b-9744-4dfb-8ebe-b7de4c3629cd?api-version=2020-07-01-preview+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f2590f2b-9744-4dfb-8ebe-b7de4c3629cd?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "121" ], + "x-ms-client-request-id": [ "0b40d551-d84d-4e89-a59f-4276459f952c" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "68fec9e4-817c-4f9f-aa45-60b1c6adc539" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-correlation-request-id": [ "f56a9334-7ea3-4321-a6b1-fbfbd3aaa4fa" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T184558Z:f56a9334-7ea3-4321-a6b1-fbfbd3aaa4fa" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:45:57 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"f2590f2b-9744-4dfb-8ebe-b7de4c3629cd\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T18:39:57.793Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f2590f2b-9744-4dfb-8ebe-b7de4c3629cd?api-version=2020-07-01-preview+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f2590f2b-9744-4dfb-8ebe-b7de4c3629cd?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "122" ], + "x-ms-client-request-id": [ "0b40d551-d84d-4e89-a59f-4276459f952c" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "c5eec08f-d8b6-40c3-bb70-4556e9f2ece5" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "6b45467f-3d79-4cd6-a25d-e7d986fcb124" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T184658Z:6b45467f-3d79-4cd6-a25d-e7d986fcb124" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:46:58 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"f2590f2b-9744-4dfb-8ebe-b7de4c3629cd\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T18:39:57.793Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f2590f2b-9744-4dfb-8ebe-b7de4c3629cd?api-version=2020-07-01-preview+9": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f2590f2b-9744-4dfb-8ebe-b7de4c3629cd?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "123" ], + "x-ms-client-request-id": [ "0b40d551-d84d-4e89-a59f-4276459f952c" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "d0f27209-182e-4e19-9f6b-e91eca29c488" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "b6c7a256-f7cb-4968-a348-9b18c4ec595f" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T184758Z:b6c7a256-f7cb-4968-a348-9b18c4ec595f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:47:58 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"f2590f2b-9744-4dfb-8ebe-b7de4c3629cd\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T18:39:57.793Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f2590f2b-9744-4dfb-8ebe-b7de4c3629cd?api-version=2020-07-01-preview+10": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f2590f2b-9744-4dfb-8ebe-b7de4c3629cd?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "124" ], + "x-ms-client-request-id": [ "0b40d551-d84d-4e89-a59f-4276459f952c" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "6e3d1130-eb36-476b-90d3-36a84d2f66b8" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "cdb12ffb-a771-45cc-b1a1-b68dea43adb8" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T184859Z:cdb12ffb-a771-45cc-b1a1-b68dea43adb8" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:48:58 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"f2590f2b-9744-4dfb-8ebe-b7de4c3629cd\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T18:39:57.793Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f2590f2b-9744-4dfb-8ebe-b7de4c3629cd?api-version=2020-07-01-preview+11": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f2590f2b-9744-4dfb-8ebe-b7de4c3629cd?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "125" ], + "x-ms-client-request-id": [ "0b40d551-d84d-4e89-a59f-4276459f952c" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "784472a9-e879-4312-a19a-0646cfaed615" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-correlation-request-id": [ "c19ba8a3-7068-467f-bece-270162b3743c" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T184959Z:c19ba8a3-7068-467f-bece-270162b3743c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:49:59 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"f2590f2b-9744-4dfb-8ebe-b7de4c3629cd\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T18:39:57.793Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f2590f2b-9744-4dfb-8ebe-b7de4c3629cd?api-version=2020-07-01-preview+12": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f2590f2b-9744-4dfb-8ebe-b7de4c3629cd?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "126" ], + "x-ms-client-request-id": [ "0b40d551-d84d-4e89-a59f-4276459f952c" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "29a4ce5c-669c-42bf-9729-39941a5a03fa" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], + "x-ms-correlation-request-id": [ "fa38af4f-5ebe-4d5d-beb9-3e010e8156ae" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T185059Z:fa38af4f-5ebe-4d5d-beb9-3e010e8156ae" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:50:58 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"f2590f2b-9744-4dfb-8ebe-b7de4c3629cd\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T18:39:57.793Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f2590f2b-9744-4dfb-8ebe-b7de4c3629cd?api-version=2020-07-01-preview+13": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f2590f2b-9744-4dfb-8ebe-b7de4c3629cd?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "127" ], + "x-ms-client-request-id": [ "0b40d551-d84d-4e89-a59f-4276459f952c" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "b1a3144c-644b-4acf-b6e9-759d2ee0d9bf" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], + "x-ms-correlation-request-id": [ "718b5de4-6b3f-4713-a31c-d23e129f0da6" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T185159Z:718b5de4-6b3f-4713-a31c-d23e129f0da6" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:51:58 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"f2590f2b-9744-4dfb-8ebe-b7de4c3629cd\",\"status\":\"Succeeded\",\"startTime\":\"2020-12-10T18:39:57.793Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+14": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "128" ], + "x-ms-client-request-id": [ "0b40d551-d84d-4e89-a59f-4276459f952c" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "119a5ebd-7204-4b07-a99a-a50925692d3d" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], + "x-ms-correlation-request-id": [ "ab572cc5-f827-4dd5-94dd-d5e7c87615a1" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T185159Z:ab572cc5-f827-4dd5-94dd-d5e7c87615a1" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:51:58 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1192" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"amusedStork9\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-3.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-10T18:51:59.4816441+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/nonexistingvnetforpowershelltest/subnets/Subnetmysql-test-100-3\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-3\",\"name\":\"mysql-test-100-3\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnetNotExist+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+15": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "132" ], + "x-ms-client-request-id": [ "81c22432-6528-41d3-af76-b099a0e30cc2" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/a5d24f6f-21b1-4544-80a4-4ff2782d6bb6?api-version=2020-07-01-preview" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/a5d24f6f-21b1-4544-80a4-4ff2782d6bb6?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "a5d24f6f-21b1-4544-80a4-4ff2782d6bb6" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "x-ms-correlation-request-id": [ "d0f22a01-c181-4f3c-9550-3d3b20632e61" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T185218Z:d0f22a01-c181-4f3c-9550-3d3b20632e61" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:52:18 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "83" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropServerManagementOperation\",\"startTime\":\"2020-12-10T18:52:18.81Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/a5d24f6f-21b1-4544-80a4-4ff2782d6bb6?api-version=2020-07-01-preview+16": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/a5d24f6f-21b1-4544-80a4-4ff2782d6bb6?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "133" ], + "x-ms-client-request-id": [ "81c22432-6528-41d3-af76-b099a0e30cc2" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "886655a2-fdad-441a-b2e8-c27a0537349a" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], + "x-ms-correlation-request-id": [ "86c61773-3a7e-4c7e-907c-bfb9bdadd844" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T185233Z:86c61773-3a7e-4c7e-907c-bfb9bdadd844" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:52:33 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"a5d24f6f-21b1-4544-80a4-4ff2782d6bb6\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T18:52:18.81Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/a5d24f6f-21b1-4544-80a4-4ff2782d6bb6?api-version=2020-07-01-preview+17": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/a5d24f6f-21b1-4544-80a4-4ff2782d6bb6?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "134" ], + "x-ms-client-request-id": [ "81c22432-6528-41d3-af76-b099a0e30cc2" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "4cfc509d-c51b-4f5c-9d44-a137cdb0d2f9" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], + "x-ms-correlation-request-id": [ "e5d09f17-d677-47ec-83da-36153b1596f3" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T185249Z:e5d09f17-d677-47ec-83da-36153b1596f3" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:52:48 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"a5d24f6f-21b1-4544-80a4-4ff2782d6bb6\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T18:52:18.81Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/a5d24f6f-21b1-4544-80a4-4ff2782d6bb6?api-version=2020-07-01-preview+18": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/a5d24f6f-21b1-4544-80a4-4ff2782d6bb6?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "135" ], + "x-ms-client-request-id": [ "81c22432-6528-41d3-af76-b099a0e30cc2" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "4422cc9a-24c9-440d-ba81-40613883706f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], + "x-ms-correlation-request-id": [ "cb4ddf23-77ac-4ed9-bb39-e74fe6f943bf" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T185304Z:cb4ddf23-77ac-4ed9-bb39-e74fe6f943bf" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:53:03 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"a5d24f6f-21b1-4544-80a4-4ff2782d6bb6\",\"status\":\"Succeeded\",\"startTime\":\"2020-12-10T18:52:18.81Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/operationResults/a5d24f6f-21b1-4544-80a4-4ff2782d6bb6?api-version=2020-07-01-preview+19": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/a5d24f6f-21b1-4544-80a4-4ff2782d6bb6?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "136" ], + "x-ms-client-request-id": [ "81c22432-6528-41d3-af76-b099a0e30cc2" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "76270623-aaaa-4665-b964-f406c4962d50" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], + "x-ms-correlation-request-id": [ "4faadbdf-68f9-4032-8036-6f68c13bd932" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T185304Z:4faadbdf-68f9-4032-8036-6f68c13bd932" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 18:53:03 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetIdScenario-ValidVnet+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"delegatedSubnetArguments\": {\r\n \"subnetArmResourceId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/nonexistingvnetforpowershelltest/subnets/Subnetmysql-test-100-2\"\r\n },\r\n \"administratorLogin\": \"aboardHyena4\",\r\n \"administratorLoginPassword\": \"a$zs2)@M[%61L9=a\",\r\n \"version\": \"5.7\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "599" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/d7ea8409-3d50-439f-93a1-3ce13331b417?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d7ea8409-3d50-439f-93a1-3ce13331b417?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "4769109f-235e-4d9e-bee7-2d19a1d50cbd" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "27008a08-2dda-418d-805c-af40be80b6d3" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T190108Z:27008a08-2dda-418d-805c-af40be80b6d3" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 19:01:07 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "88" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-12-10T19:01:08.583Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetIdScenario-ValidVnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d7ea8409-3d50-439f-93a1-3ce13331b417?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d7ea8409-3d50-439f-93a1-3ce13331b417?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "141" ], + "x-ms-client-request-id": [ "7674efc7-438a-448b-8de2-ea988cbd0226" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "0c126dd9-b77d-44ad-b08d-c126b33cfb2f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-correlation-request-id": [ "958126d9-df82-40fa-9454-57f323fd4810" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T190208Z:958126d9-df82-40fa-9454-57f323fd4810" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 19:02:08 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d7ea8409-3d50-439f-93a1-3ce13331b417\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T19:01:08.583Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetIdScenario-ValidVnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d7ea8409-3d50-439f-93a1-3ce13331b417?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d7ea8409-3d50-439f-93a1-3ce13331b417?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "142" ], + "x-ms-client-request-id": [ "7674efc7-438a-448b-8de2-ea988cbd0226" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "c0ab120c-6344-4a50-bcb6-e28014ffef86" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-correlation-request-id": [ "5b9797c4-96f4-4ece-aa04-42483a1d6680" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T190309Z:5b9797c4-96f4-4ece-aa04-42483a1d6680" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 19:03:08 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d7ea8409-3d50-439f-93a1-3ce13331b417\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T19:01:08.583Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetIdScenario-ValidVnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d7ea8409-3d50-439f-93a1-3ce13331b417?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d7ea8409-3d50-439f-93a1-3ce13331b417?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "143" ], + "x-ms-client-request-id": [ "7674efc7-438a-448b-8de2-ea988cbd0226" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "7f304a69-9c96-46e5-ba38-1d86b7231d99" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "56047577-347a-43cc-8bbc-35af3ff45ea8" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T190409Z:56047577-347a-43cc-8bbc-35af3ff45ea8" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 19:04:08 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d7ea8409-3d50-439f-93a1-3ce13331b417\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T19:01:08.583Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetIdScenario-ValidVnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d7ea8409-3d50-439f-93a1-3ce13331b417?api-version=2020-07-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d7ea8409-3d50-439f-93a1-3ce13331b417?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "144" ], + "x-ms-client-request-id": [ "7674efc7-438a-448b-8de2-ea988cbd0226" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "59a5d233-934a-498a-b522-4bbd6fd703b9" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "ad26065f-c413-4c03-ae24-304e8d5e1268" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T190509Z:ad26065f-c413-4c03-ae24-304e8d5e1268" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 19:05:08 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d7ea8409-3d50-439f-93a1-3ce13331b417\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T19:01:08.583Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetIdScenario-ValidVnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d7ea8409-3d50-439f-93a1-3ce13331b417?api-version=2020-07-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d7ea8409-3d50-439f-93a1-3ce13331b417?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "145" ], + "x-ms-client-request-id": [ "7674efc7-438a-448b-8de2-ea988cbd0226" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "85ee5ecd-8d58-4f03-ae6d-474caacb42cd" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-correlation-request-id": [ "5d156df1-a66d-4744-b3a9-7346a9a664c4" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T190609Z:5d156df1-a66d-4744-b3a9-7346a9a664c4" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 19:06:09 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d7ea8409-3d50-439f-93a1-3ce13331b417\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T19:01:08.583Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetIdScenario-ValidVnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d7ea8409-3d50-439f-93a1-3ce13331b417?api-version=2020-07-01-preview+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d7ea8409-3d50-439f-93a1-3ce13331b417?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "146" ], + "x-ms-client-request-id": [ "7674efc7-438a-448b-8de2-ea988cbd0226" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "99c65e31-96f5-48b6-86d6-3b8961dbffb1" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "2157fb6e-42d5-4723-9dc7-f8b4ddd5f603" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T190709Z:2157fb6e-42d5-4723-9dc7-f8b4ddd5f603" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 19:07:08 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d7ea8409-3d50-439f-93a1-3ce13331b417\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T19:01:08.583Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetIdScenario-ValidVnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d7ea8409-3d50-439f-93a1-3ce13331b417?api-version=2020-07-01-preview+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d7ea8409-3d50-439f-93a1-3ce13331b417?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "147" ], + "x-ms-client-request-id": [ "7674efc7-438a-448b-8de2-ea988cbd0226" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "be7045ae-42d1-4a8d-9920-84d6cd5066f5" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "7b1078bb-909c-4fcc-b47c-2b9c5f488212" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T190809Z:7b1078bb-909c-4fcc-b47c-2b9c5f488212" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 19:08:09 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d7ea8409-3d50-439f-93a1-3ce13331b417\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T19:01:08.583Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetIdScenario-ValidVnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d7ea8409-3d50-439f-93a1-3ce13331b417?api-version=2020-07-01-preview+9": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d7ea8409-3d50-439f-93a1-3ce13331b417?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "148" ], + "x-ms-client-request-id": [ "7674efc7-438a-448b-8de2-ea988cbd0226" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "a6fd70fe-74b1-4eff-b5bf-1f28c163f98a" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-correlation-request-id": [ "ea111f0f-4eb1-4d8f-82bc-bdebcae952c1" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T190910Z:ea111f0f-4eb1-4d8f-82bc-bdebcae952c1" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 19:09:09 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d7ea8409-3d50-439f-93a1-3ce13331b417\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T19:01:08.583Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetIdScenario-ValidVnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d7ea8409-3d50-439f-93a1-3ce13331b417?api-version=2020-07-01-preview+10": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d7ea8409-3d50-439f-93a1-3ce13331b417?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "149" ], + "x-ms-client-request-id": [ "7674efc7-438a-448b-8de2-ea988cbd0226" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "92b2796c-197e-4caf-a7a1-4a078cbbcbda" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], + "x-ms-correlation-request-id": [ "94a9fc7b-12fc-4dd2-b2ca-b71ac5bfc59d" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T191010Z:94a9fc7b-12fc-4dd2-b2ca-b71ac5bfc59d" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 19:10:09 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d7ea8409-3d50-439f-93a1-3ce13331b417\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T19:01:08.583Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetIdScenario-ValidVnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d7ea8409-3d50-439f-93a1-3ce13331b417?api-version=2020-07-01-preview+11": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d7ea8409-3d50-439f-93a1-3ce13331b417?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "150" ], + "x-ms-client-request-id": [ "7674efc7-438a-448b-8de2-ea988cbd0226" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "277f9afc-a948-48cc-b323-9f6a167f1156" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], + "x-ms-correlation-request-id": [ "826c3084-c0dc-46f2-9c9b-dd8d09a9a875" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T191110Z:826c3084-c0dc-46f2-9c9b-dd8d09a9a875" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 19:11:09 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d7ea8409-3d50-439f-93a1-3ce13331b417\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T19:01:08.583Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetIdScenario-ValidVnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d7ea8409-3d50-439f-93a1-3ce13331b417?api-version=2020-07-01-preview+12": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d7ea8409-3d50-439f-93a1-3ce13331b417?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "151" ], + "x-ms-client-request-id": [ "7674efc7-438a-448b-8de2-ea988cbd0226" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "3ed8005b-98c3-42cb-8f11-41721f161a7e" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], + "x-ms-correlation-request-id": [ "6feca3a6-4c41-43f6-ad62-49ebb2e7370e" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T191210Z:6feca3a6-4c41-43f6-ad62-49ebb2e7370e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 19:12:09 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d7ea8409-3d50-439f-93a1-3ce13331b417\",\"status\":\"Succeeded\",\"startTime\":\"2020-12-10T19:01:08.583Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetIdScenario-ValidVnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+13": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "152" ], + "x-ms-client-request-id": [ "7674efc7-438a-448b-8de2-ea988cbd0226" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "080cfdf8-d3a1-4d4a-b555-4db176154765" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], + "x-ms-correlation-request-id": [ "d1c83a74-dc96-41c6-82d6-1ca3815d4d5a" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T191210Z:d1c83a74-dc96-41c6-82d6-1ca3815d4d5a" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 19:12:09 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1192" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"aboardHyena4\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-10T19:12:10.6964326+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/nonexistingvnetforpowershelltest/subnets/Subnetmysql-test-100-2\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetIdScenario-ValidVnet+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+14": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "156" ], + "x-ms-client-request-id": [ "9ee0de9a-5181-4619-8351-71d71edc6dfd" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/ea937383-30d8-40e8-a3e5-d29c81387333?api-version=2020-07-01-preview" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/ea937383-30d8-40e8-a3e5-d29c81387333?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "ea937383-30d8-40e8-a3e5-d29c81387333" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "x-ms-correlation-request-id": [ "95383108-daed-49fc-a66a-e54ca3f50f95" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T191231Z:95383108-daed-49fc-a66a-e54ca3f50f95" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 19:12:31 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "84" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropServerManagementOperation\",\"startTime\":\"2020-12-10T19:12:31.633Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetIdScenario-ValidVnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/ea937383-30d8-40e8-a3e5-d29c81387333?api-version=2020-07-01-preview+15": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/ea937383-30d8-40e8-a3e5-d29c81387333?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "157" ], + "x-ms-client-request-id": [ "9ee0de9a-5181-4619-8351-71d71edc6dfd" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "0dfe34a5-39fe-4aa7-92e8-6ea11c5bf4cb" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], + "x-ms-correlation-request-id": [ "6e1924cf-5d1d-4269-8df2-d90e3214353f" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T191246Z:6e1924cf-5d1d-4269-8df2-d90e3214353f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 19:12:46 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ea937383-30d8-40e8-a3e5-d29c81387333\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T19:12:31.633Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetIdScenario-ValidVnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/ea937383-30d8-40e8-a3e5-d29c81387333?api-version=2020-07-01-preview+16": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/ea937383-30d8-40e8-a3e5-d29c81387333?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "158" ], + "x-ms-client-request-id": [ "9ee0de9a-5181-4619-8351-71d71edc6dfd" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "4f938757-307e-42b8-aa47-970b07c90761" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], + "x-ms-correlation-request-id": [ "75fbc8cf-eb0c-4deb-bab9-b19acf381618" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T191302Z:75fbc8cf-eb0c-4deb-bab9-b19acf381618" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 19:13:01 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ea937383-30d8-40e8-a3e5-d29c81387333\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T19:12:31.633Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetIdScenario-ValidVnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/ea937383-30d8-40e8-a3e5-d29c81387333?api-version=2020-07-01-preview+17": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/ea937383-30d8-40e8-a3e5-d29c81387333?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "159" ], + "x-ms-client-request-id": [ "9ee0de9a-5181-4619-8351-71d71edc6dfd" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "e7af48af-cd52-473b-9cf8-27eeae7cc814" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], + "x-ms-correlation-request-id": [ "e5adb9b2-b2de-4c2c-b76c-9ab8edac396f" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T191317Z:e5adb9b2-b2de-4c2c-b76c-9ab8edac396f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 19:13:16 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ea937383-30d8-40e8-a3e5-d29c81387333\",\"status\":\"Succeeded\",\"startTime\":\"2020-12-10T19:12:31.633Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetIdScenario-ValidVnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/operationResults/ea937383-30d8-40e8-a3e5-d29c81387333?api-version=2020-07-01-preview+18": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/ea937383-30d8-40e8-a3e5-d29c81387333?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "160" ], + "x-ms-client-request-id": [ "9ee0de9a-5181-4619-8351-71d71edc6dfd" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "cba6b156-b79c-45a8-b07a-6802113da165" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11980" ], + "x-ms-correlation-request-id": [ "7d6d59d9-5dc2-4cdf-9a0d-7d420262bd16" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T191317Z:7d6d59d9-5dc2-4cdf-9a0d-7d420262bd16" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 19:13:16 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetIdScenario-ValidVnetNotExist+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", + "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"delegatedSubnetArguments\": {\r\n \"subnetArmResourceId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/mysqlvnet/subnets/Subnetmysql-test-100-3\"\r\n },\r\n \"administratorLogin\": \"ajarBustard9\",\r\n \"administratorLoginPassword\": \"Z*=LuT+ysU$b(*8T\",\r\n \"version\": \"5.7\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "582" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/a204228e-f626-4473-bc66-dd96bae5b939?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/a204228e-f626-4473-bc66-dd96bae5b939?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "cd5bd62b-ffbf-43b1-8d77-d21efe762179" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "aadc7a9b-c28b-4e3c-a69c-a917cabbbefd" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T192121Z:aadc7a9b-c28b-4e3c-a69c-a917cabbbefd" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 19:21:20 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "88" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-12-10T19:21:21.743Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetIdScenario-ValidVnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/a204228e-f626-4473-bc66-dd96bae5b939?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/a204228e-f626-4473-bc66-dd96bae5b939?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "164" ], + "x-ms-client-request-id": [ "0d6a5974-d95c-45f2-9c78-298af935bf2b" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "819ec3c6-3830-4038-9adf-85b706503c8e" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-correlation-request-id": [ "35c61c08-ca0c-4693-8904-59814db5e99a" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T192222Z:35c61c08-ca0c-4693-8904-59814db5e99a" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 19:22:21 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"a204228e-f626-4473-bc66-dd96bae5b939\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T19:21:21.743Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetIdScenario-ValidVnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/a204228e-f626-4473-bc66-dd96bae5b939?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/a204228e-f626-4473-bc66-dd96bae5b939?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "165" ], + "x-ms-client-request-id": [ "0d6a5974-d95c-45f2-9c78-298af935bf2b" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "36381f3e-21e6-4586-be64-b3be73e05921" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-correlation-request-id": [ "94985b14-6f4f-49ec-ba71-23d910408674" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T192322Z:94985b14-6f4f-49ec-ba71-23d910408674" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 19:23:21 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"a204228e-f626-4473-bc66-dd96bae5b939\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T19:21:21.743Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetIdScenario-ValidVnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/a204228e-f626-4473-bc66-dd96bae5b939?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/a204228e-f626-4473-bc66-dd96bae5b939?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "166" ], + "x-ms-client-request-id": [ "0d6a5974-d95c-45f2-9c78-298af935bf2b" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "1433297e-73af-43b0-8a69-8192890240e3" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-correlation-request-id": [ "6f8737c5-949e-4b67-919c-1f29dad74d35" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T192422Z:6f8737c5-949e-4b67-919c-1f29dad74d35" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 19:24:22 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"a204228e-f626-4473-bc66-dd96bae5b939\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T19:21:21.743Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetIdScenario-ValidVnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/a204228e-f626-4473-bc66-dd96bae5b939?api-version=2020-07-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/a204228e-f626-4473-bc66-dd96bae5b939?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "167" ], + "x-ms-client-request-id": [ "0d6a5974-d95c-45f2-9c78-298af935bf2b" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "b5ae14aa-ed48-40fd-91d0-2353e1728e1b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-correlation-request-id": [ "1936ec8a-1479-4dd0-a48e-f0706dea93a6" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T192522Z:1936ec8a-1479-4dd0-a48e-f0706dea93a6" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 19:25:21 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"a204228e-f626-4473-bc66-dd96bae5b939\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T19:21:21.743Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetIdScenario-ValidVnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/a204228e-f626-4473-bc66-dd96bae5b939?api-version=2020-07-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/a204228e-f626-4473-bc66-dd96bae5b939?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "168" ], + "x-ms-client-request-id": [ "0d6a5974-d95c-45f2-9c78-298af935bf2b" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "3485a38c-29ac-4fd2-b6c4-4454d3a703f7" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "0c9a365f-2494-41a8-9dd8-7403ce6ea117" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T192622Z:0c9a365f-2494-41a8-9dd8-7403ce6ea117" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 19:26:22 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"a204228e-f626-4473-bc66-dd96bae5b939\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T19:21:21.743Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetIdScenario-ValidVnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/a204228e-f626-4473-bc66-dd96bae5b939?api-version=2020-07-01-preview+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/a204228e-f626-4473-bc66-dd96bae5b939?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "169" ], + "x-ms-client-request-id": [ "0d6a5974-d95c-45f2-9c78-298af935bf2b" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "d75574bd-7778-4d5d-a7bc-2e20578f021e" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-correlation-request-id": [ "0c5a1aa5-d417-46ad-bb45-758f6efdc31e" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T192722Z:0c5a1aa5-d417-46ad-bb45-758f6efdc31e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 19:27:22 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"a204228e-f626-4473-bc66-dd96bae5b939\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T19:21:21.743Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetIdScenario-ValidVnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/a204228e-f626-4473-bc66-dd96bae5b939?api-version=2020-07-01-preview+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/a204228e-f626-4473-bc66-dd96bae5b939?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "170" ], + "x-ms-client-request-id": [ "0d6a5974-d95c-45f2-9c78-298af935bf2b" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "a111d486-9fff-43c3-9035-9e47c869debc" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "4ebbc4bc-30ec-456a-9244-40b7aeb3bac2" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T192823Z:4ebbc4bc-30ec-456a-9244-40b7aeb3bac2" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 19:28:22 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"a204228e-f626-4473-bc66-dd96bae5b939\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T19:21:21.743Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetIdScenario-ValidVnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/a204228e-f626-4473-bc66-dd96bae5b939?api-version=2020-07-01-preview+9": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/a204228e-f626-4473-bc66-dd96bae5b939?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "171" ], + "x-ms-client-request-id": [ "0d6a5974-d95c-45f2-9c78-298af935bf2b" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "8fdc8197-a87c-4daa-9cee-3fe716963fa5" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "41d41a08-61ef-482c-b0a4-18f5eb1fd717" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T192923Z:41d41a08-61ef-482c-b0a4-18f5eb1fd717" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 19:29:22 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"a204228e-f626-4473-bc66-dd96bae5b939\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T19:21:21.743Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetIdScenario-ValidVnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/a204228e-f626-4473-bc66-dd96bae5b939?api-version=2020-07-01-preview+10": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/a204228e-f626-4473-bc66-dd96bae5b939?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "172" ], + "x-ms-client-request-id": [ "0d6a5974-d95c-45f2-9c78-298af935bf2b" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "4dd6382c-62e3-4e0a-877c-5d939d603267" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "8b3c6935-523e-482a-9513-da253862444b" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T193023Z:8b3c6935-523e-482a-9513-da253862444b" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 19:30:23 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"a204228e-f626-4473-bc66-dd96bae5b939\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T19:21:21.743Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetIdScenario-ValidVnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/a204228e-f626-4473-bc66-dd96bae5b939?api-version=2020-07-01-preview+11": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/a204228e-f626-4473-bc66-dd96bae5b939?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "173" ], + "x-ms-client-request-id": [ "0d6a5974-d95c-45f2-9c78-298af935bf2b" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "e8a3fa19-aef7-4d39-9310-1e3699f2bd45" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-correlation-request-id": [ "96f941a4-04c2-44e8-a5f4-d816a9db976e" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T193123Z:96f941a4-04c2-44e8-a5f4-d816a9db976e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 19:31:22 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"a204228e-f626-4473-bc66-dd96bae5b939\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T19:21:21.743Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetIdScenario-ValidVnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/a204228e-f626-4473-bc66-dd96bae5b939?api-version=2020-07-01-preview+12": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/a204228e-f626-4473-bc66-dd96bae5b939?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "174" ], + "x-ms-client-request-id": [ "0d6a5974-d95c-45f2-9c78-298af935bf2b" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "77159bcd-abf1-429a-963f-105df7526148" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], + "x-ms-correlation-request-id": [ "8166d0c7-36c3-48b9-8b82-cf1578b21f9f" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T193223Z:8166d0c7-36c3-48b9-8b82-cf1578b21f9f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 19:32:23 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"a204228e-f626-4473-bc66-dd96bae5b939\",\"status\":\"Succeeded\",\"startTime\":\"2020-12-10T19:21:21.743Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetIdScenario-ValidVnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+13": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "175" ], + "x-ms-client-request-id": [ "0d6a5974-d95c-45f2-9c78-298af935bf2b" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "175ad2e8-f8be-4e14-8aeb-bedafc0d92ca" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], + "x-ms-correlation-request-id": [ "991c1556-09d1-4bfb-9625-724bc28aa30c" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T193223Z:991c1556-09d1-4bfb-9625-724bc28aa30c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 19:32:23 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1175" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"ajarBustard9\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-3.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-10T19:32:23.9299229+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/mysqlvnet/subnets/Subnetmysql-test-100-3\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-3\",\"name\":\"mysql-test-100-3\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetIdScenario-ValidVnetNotExist+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+14": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "179" ], + "x-ms-client-request-id": [ "eeeecf14-ca8f-49dc-8155-3c32c8659ff1" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/b514ea02-b49f-4b5a-90d6-bdf402b04aa6?api-version=2020-07-01-preview" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/b514ea02-b49f-4b5a-90d6-bdf402b04aa6?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "b514ea02-b49f-4b5a-90d6-bdf402b04aa6" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "x-ms-correlation-request-id": [ "8ba36a10-cbba-45fa-b944-315a981ed0b3" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T194814Z:8ba36a10-cbba-45fa-b944-315a981ed0b3" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 19:48:14 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "82" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropServerManagementOperation\",\"startTime\":\"2020-12-10T19:48:14.9Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetIdScenario-ValidVnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/b514ea02-b49f-4b5a-90d6-bdf402b04aa6?api-version=2020-07-01-preview+15": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/b514ea02-b49f-4b5a-90d6-bdf402b04aa6?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "180" ], + "x-ms-client-request-id": [ "eeeecf14-ca8f-49dc-8155-3c32c8659ff1" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "3a76a5ca-4308-44f1-b5d8-e47a261b6474" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-correlation-request-id": [ "2a862aba-39c9-40b0-b30d-b5683461585f" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T194830Z:2a862aba-39c9-40b0-b30d-b5683461585f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 19:48:30 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"b514ea02-b49f-4b5a-90d6-bdf402b04aa6\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T19:48:14.9Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetIdScenario-ValidVnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/b514ea02-b49f-4b5a-90d6-bdf402b04aa6?api-version=2020-07-01-preview+16": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/b514ea02-b49f-4b5a-90d6-bdf402b04aa6?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "181" ], + "x-ms-client-request-id": [ "eeeecf14-ca8f-49dc-8155-3c32c8659ff1" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "953a4d3d-28bd-4858-a4d9-1be5a07b38f1" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "decb21b8-670f-41f6-bb7c-aefe026be756" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T194845Z:decb21b8-670f-41f6-bb7c-aefe026be756" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 19:48:45 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"b514ea02-b49f-4b5a-90d6-bdf402b04aa6\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T19:48:14.9Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetIdScenario-ValidVnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/b514ea02-b49f-4b5a-90d6-bdf402b04aa6?api-version=2020-07-01-preview+17": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/b514ea02-b49f-4b5a-90d6-bdf402b04aa6?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "182" ], + "x-ms-client-request-id": [ "eeeecf14-ca8f-49dc-8155-3c32c8659ff1" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "8c98081c-ac92-4986-8d97-58911af385e1" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "5da90bb1-23e5-41f3-acf2-7798ba3a6c08" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T194900Z:5da90bb1-23e5-41f3-acf2-7798ba3a6c08" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 19:49:00 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "105" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"b514ea02-b49f-4b5a-90d6-bdf402b04aa6\",\"status\":\"Succeeded\",\"startTime\":\"2020-12-10T19:48:14.9Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetIdScenario-ValidVnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/operationResults/b514ea02-b49f-4b5a-90d6-bdf402b04aa6?api-version=2020-07-01-preview+18": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/b514ea02-b49f-4b5a-90d6-bdf402b04aa6?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "183" ], + "x-ms-client-request-id": [ "eeeecf14-ca8f-49dc-8155-3c32c8659ff1" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "1e46945b-3cd5-44ad-b07d-27ab7c03e45b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "13181d47-b5fe-4dba-91ae-0735d1951bb8" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T194900Z:13181d47-b5fe-4dba-91ae-0735d1951bb8" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 19:49:00 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnet+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"delegatedSubnetArguments\": {\r\n \"subnetArmResourceId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/mysqlvnet/subnets/mysql-test-subnet\"\r\n },\r\n \"administratorLogin\": \"emptyPlover3\",\r\n \"administratorLoginPassword\": \"0t3]pDh}=H%Y*wh]\",\r\n \"version\": \"5.7\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "577" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/c5e16c96-7352-482f-a057-e11ff5486cb3?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c5e16c96-7352-482f-a057-e11ff5486cb3?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "ccfb2c4d-be33-46bc-b4f1-034ff8a35115" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-correlation-request-id": [ "0fe76a0d-950e-4b73-9970-5df1a9eae0d3" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T195706Z:0fe76a0d-950e-4b73-9970-5df1a9eae0d3" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 19:57:06 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "88" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-12-10T19:57:06.507Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c5e16c96-7352-482f-a057-e11ff5486cb3?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c5e16c96-7352-482f-a057-e11ff5486cb3?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "187" ], + "x-ms-client-request-id": [ "0d29874c-04a4-41d0-8444-268f72adf46c" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "9f731e91-758f-44a4-80c6-89d6fadc8f74" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-correlation-request-id": [ "0ca8f8bd-2374-4af7-9b7a-47eb00878eb8" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T195808Z:0ca8f8bd-2374-4af7-9b7a-47eb00878eb8" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 19:58:07 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"c5e16c96-7352-482f-a057-e11ff5486cb3\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T19:57:06.507Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c5e16c96-7352-482f-a057-e11ff5486cb3?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c5e16c96-7352-482f-a057-e11ff5486cb3?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "188" ], + "x-ms-client-request-id": [ "0d29874c-04a4-41d0-8444-268f72adf46c" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "cb0be259-77bb-41c5-bc4e-718a8712c990" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "78c4bb2c-eda4-4202-a19f-6e308b455572" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T195908Z:78c4bb2c-eda4-4202-a19f-6e308b455572" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 19:59:08 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"c5e16c96-7352-482f-a057-e11ff5486cb3\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T19:57:06.507Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c5e16c96-7352-482f-a057-e11ff5486cb3?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c5e16c96-7352-482f-a057-e11ff5486cb3?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "189" ], + "x-ms-client-request-id": [ "0d29874c-04a4-41d0-8444-268f72adf46c" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "f26c90da-b006-4947-b1b2-324fffcc42c5" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "0434d775-6651-4b69-a2f0-461f820ef790" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T200008Z:0434d775-6651-4b69-a2f0-461f820ef790" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:00:07 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"c5e16c96-7352-482f-a057-e11ff5486cb3\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T19:57:06.507Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c5e16c96-7352-482f-a057-e11ff5486cb3?api-version=2020-07-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c5e16c96-7352-482f-a057-e11ff5486cb3?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "190" ], + "x-ms-client-request-id": [ "0d29874c-04a4-41d0-8444-268f72adf46c" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "bd9a8ca2-ba28-4db0-adbd-a7d0738211cd" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "a88de6a1-1b67-48ba-a089-5255fce58ab7" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T200108Z:a88de6a1-1b67-48ba-a089-5255fce58ab7" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:01:08 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"c5e16c96-7352-482f-a057-e11ff5486cb3\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T19:57:06.507Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c5e16c96-7352-482f-a057-e11ff5486cb3?api-version=2020-07-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c5e16c96-7352-482f-a057-e11ff5486cb3?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "191" ], + "x-ms-client-request-id": [ "0d29874c-04a4-41d0-8444-268f72adf46c" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "6d51666d-67e8-48f9-bd5b-0e6a953100b7" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-correlation-request-id": [ "6e0241b3-e8b4-4482-9889-991e99ae6221" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T200209Z:6e0241b3-e8b4-4482-9889-991e99ae6221" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:02:08 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"c5e16c96-7352-482f-a057-e11ff5486cb3\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T19:57:06.507Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c5e16c96-7352-482f-a057-e11ff5486cb3?api-version=2020-07-01-preview+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c5e16c96-7352-482f-a057-e11ff5486cb3?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "192" ], + "x-ms-client-request-id": [ "0d29874c-04a4-41d0-8444-268f72adf46c" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "6f77753a-ee05-4bae-b673-672ba01a9863" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], + "x-ms-correlation-request-id": [ "80b11d7b-1263-4ee2-b94a-aad2b411a332" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T200309Z:80b11d7b-1263-4ee2-b94a-aad2b411a332" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:03:08 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"c5e16c96-7352-482f-a057-e11ff5486cb3\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T19:57:06.507Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c5e16c96-7352-482f-a057-e11ff5486cb3?api-version=2020-07-01-preview+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c5e16c96-7352-482f-a057-e11ff5486cb3?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "193" ], + "x-ms-client-request-id": [ "0d29874c-04a4-41d0-8444-268f72adf46c" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "1c6c7dfc-990e-48e6-862a-41d95cf76731" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], + "x-ms-correlation-request-id": [ "0cc3a04b-bfed-4260-a15c-c46dd498749a" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T200409Z:0cc3a04b-bfed-4260-a15c-c46dd498749a" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:04:09 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"c5e16c96-7352-482f-a057-e11ff5486cb3\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T19:57:06.507Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c5e16c96-7352-482f-a057-e11ff5486cb3?api-version=2020-07-01-preview+9": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c5e16c96-7352-482f-a057-e11ff5486cb3?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "194" ], + "x-ms-client-request-id": [ "0d29874c-04a4-41d0-8444-268f72adf46c" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "e1b99192-13eb-4161-9b1d-b5a0628d0487" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], + "x-ms-correlation-request-id": [ "bfca92c8-97d8-433f-be5c-338359c06f12" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T200509Z:bfca92c8-97d8-433f-be5c-338359c06f12" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:05:08 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"c5e16c96-7352-482f-a057-e11ff5486cb3\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T19:57:06.507Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c5e16c96-7352-482f-a057-e11ff5486cb3?api-version=2020-07-01-preview+10": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c5e16c96-7352-482f-a057-e11ff5486cb3?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "195" ], + "x-ms-client-request-id": [ "0d29874c-04a4-41d0-8444-268f72adf46c" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "9ce0ec6f-26a8-47a1-b45a-458f3ded8c14" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], + "x-ms-correlation-request-id": [ "13a58c76-03f8-4d49-a186-7d5bf0f22fc5" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T200609Z:13a58c76-03f8-4d49-a186-7d5bf0f22fc5" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:06:09 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"c5e16c96-7352-482f-a057-e11ff5486cb3\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T19:57:06.507Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c5e16c96-7352-482f-a057-e11ff5486cb3?api-version=2020-07-01-preview+11": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c5e16c96-7352-482f-a057-e11ff5486cb3?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "196" ], + "x-ms-client-request-id": [ "0d29874c-04a4-41d0-8444-268f72adf46c" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "347bf32d-7701-423a-9ebb-1c83b16417cf" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], + "x-ms-correlation-request-id": [ "5f61f89b-5938-428f-8b62-f0dc9c12b2fa" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T200709Z:5f61f89b-5938-428f-8b62-f0dc9c12b2fa" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:07:09 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"c5e16c96-7352-482f-a057-e11ff5486cb3\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T19:57:06.507Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c5e16c96-7352-482f-a057-e11ff5486cb3?api-version=2020-07-01-preview+12": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c5e16c96-7352-482f-a057-e11ff5486cb3?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "197" ], + "x-ms-client-request-id": [ "0d29874c-04a4-41d0-8444-268f72adf46c" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "990bab66-0bd3-48aa-b91f-ce134f77edfb" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], + "x-ms-correlation-request-id": [ "e41e204e-e772-4be0-9b6d-14651493798e" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T200810Z:e41e204e-e772-4be0-9b6d-14651493798e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:08:09 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"c5e16c96-7352-482f-a057-e11ff5486cb3\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T19:57:06.507Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c5e16c96-7352-482f-a057-e11ff5486cb3?api-version=2020-07-01-preview+13": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c5e16c96-7352-482f-a057-e11ff5486cb3?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "198" ], + "x-ms-client-request-id": [ "0d29874c-04a4-41d0-8444-268f72adf46c" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "e186f4f8-8f84-4080-9157-90bd5505c32b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], + "x-ms-correlation-request-id": [ "27f5e614-f976-400c-b356-7307bb9e0f7f" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T200910Z:27f5e614-f976-400c-b356-7307bb9e0f7f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:09:09 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"c5e16c96-7352-482f-a057-e11ff5486cb3\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T19:57:06.507Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c5e16c96-7352-482f-a057-e11ff5486cb3?api-version=2020-07-01-preview+14": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c5e16c96-7352-482f-a057-e11ff5486cb3?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "199" ], + "x-ms-client-request-id": [ "0d29874c-04a4-41d0-8444-268f72adf46c" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "e7c302a7-9ae8-48f6-ba7f-95f475ae6728" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], + "x-ms-correlation-request-id": [ "fc57eaf8-516b-4690-91fd-29f44d2c7e29" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T201010Z:fc57eaf8-516b-4690-91fd-29f44d2c7e29" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:10:09 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"c5e16c96-7352-482f-a057-e11ff5486cb3\",\"status\":\"Succeeded\",\"startTime\":\"2020-12-10T19:57:06.507Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+15": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "200" ], + "x-ms-client-request-id": [ "0d29874c-04a4-41d0-8444-268f72adf46c" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "286aa0cc-beed-4d90-92e7-d12348707a27" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], + "x-ms-correlation-request-id": [ "8a2b8b98-2d4e-4a3c-9e60-45a0e1715c1c" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T201010Z:8a2b8b98-2d4e-4a3c-9e60-45a0e1715c1c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:10:10 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1170" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"emptyPlover3\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-10T20:10:10.5088206+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/mysqlvnet/subnets/mysql-test-subnet\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnet+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+16": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "204" ], + "x-ms-client-request-id": [ "6f0f4544-52d5-4776-94ce-bb938d303c17" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/c66bb5e5-51f9-47f9-8428-908c4007e099?api-version=2020-07-01-preview" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/c66bb5e5-51f9-47f9-8428-908c4007e099?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "c66bb5e5-51f9-47f9-8428-908c4007e099" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "x-ms-correlation-request-id": [ "81e583a0-0961-4350-b4a0-10542b5cb06c" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T201030Z:81e583a0-0961-4350-b4a0-10542b5cb06c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:10:30 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "83" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropServerManagementOperation\",\"startTime\":\"2020-12-10T20:10:30.65Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/c66bb5e5-51f9-47f9-8428-908c4007e099?api-version=2020-07-01-preview+17": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/c66bb5e5-51f9-47f9-8428-908c4007e099?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "205" ], + "x-ms-client-request-id": [ "6f0f4544-52d5-4776-94ce-bb938d303c17" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "6fb121f6-e487-4cbc-bf6f-85cccd44be5e" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11978" ], + "x-ms-correlation-request-id": [ "dda98934-6528-4ed8-8116-35c087f83ce6" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T201045Z:dda98934-6528-4ed8-8116-35c087f83ce6" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:10:45 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"c66bb5e5-51f9-47f9-8428-908c4007e099\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T20:10:30.65Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/c66bb5e5-51f9-47f9-8428-908c4007e099?api-version=2020-07-01-preview+18": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/c66bb5e5-51f9-47f9-8428-908c4007e099?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "206" ], + "x-ms-client-request-id": [ "6f0f4544-52d5-4776-94ce-bb938d303c17" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "cdd7eafa-9b0b-42fe-b078-b3effb442cf0" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11977" ], + "x-ms-correlation-request-id": [ "8b2a186d-e0b0-4a1b-9e30-40bdfa471c20" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T201101Z:8b2a186d-e0b0-4a1b-9e30-40bdfa471c20" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:11:00 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"c66bb5e5-51f9-47f9-8428-908c4007e099\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T20:10:30.65Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/c66bb5e5-51f9-47f9-8428-908c4007e099?api-version=2020-07-01-preview+19": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/c66bb5e5-51f9-47f9-8428-908c4007e099?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "207" ], + "x-ms-client-request-id": [ "6f0f4544-52d5-4776-94ce-bb938d303c17" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "dd80e9c2-cb7c-4b5a-a067-5dc5cea48ba3" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11976" ], + "x-ms-correlation-request-id": [ "df3fa239-7c67-4d3a-85f2-8e45b77348b7" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T201116Z:df3fa239-7c67-4d3a-85f2-8e45b77348b7" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:11:15 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"c66bb5e5-51f9-47f9-8428-908c4007e099\",\"status\":\"Succeeded\",\"startTime\":\"2020-12-10T20:10:30.65Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/operationResults/c66bb5e5-51f9-47f9-8428-908c4007e099?api-version=2020-07-01-preview+20": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/c66bb5e5-51f9-47f9-8428-908c4007e099?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "208" ], + "x-ms-client-request-id": [ "6f0f4544-52d5-4776-94ce-bb938d303c17" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "06723301-0b33-4c10-ad69-35a211a528ba" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11975" ], + "x-ms-correlation-request-id": [ "0f9a7599-7ab3-418f-b21d-85687ea2ba7a" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T201116Z:0f9a7599-7ab3-418f-b21d-85687ea2ba7a" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:11:15 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetDifferentRg+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", + "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"delegatedSubnetArguments\": {\r\n \"subnetArmResourceId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest2/providers/Microsoft.Network/virtualNetworks/mysqlvnet/subnets/mysql-test-subnet\"\r\n },\r\n \"administratorLogin\": \"pensiveLollies1\",\r\n \"administratorLoginPassword\": \"p0lVSe*[@{Aru#=8\",\r\n \"version\": \"5.7\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "581" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/c0dffba5-d7a6-47b8-8923-3e7b9981d951?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c0dffba5-d7a6-47b8-8923-3e7b9981d951?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "fddd6140-62b1-4434-be27-dc3c6152a412" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "22a3b556-c286-450f-9a10-51ae330f89e0" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T201921Z:22a3b556-c286-450f-9a10-51ae330f89e0" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:19:20 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "88" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-12-10T20:19:21.483Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetDifferentRg+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c0dffba5-d7a6-47b8-8923-3e7b9981d951?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c0dffba5-d7a6-47b8-8923-3e7b9981d951?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "212" ], + "x-ms-client-request-id": [ "c5685318-8067-4860-90f3-849aa3718437" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "53da40b8-1627-4d71-8e56-1ec6950a8a35" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "f9b07e49-4db2-4c67-88b3-55da35b82194" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T202021Z:f9b07e49-4db2-4c67-88b3-55da35b82194" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:20:21 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"c0dffba5-d7a6-47b8-8923-3e7b9981d951\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T20:19:21.483Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetDifferentRg+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c0dffba5-d7a6-47b8-8923-3e7b9981d951?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c0dffba5-d7a6-47b8-8923-3e7b9981d951?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "213" ], + "x-ms-client-request-id": [ "c5685318-8067-4860-90f3-849aa3718437" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "f0d747db-7be5-4e2f-ac3d-0eac2d494c86" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-correlation-request-id": [ "c97af43c-2f1b-452b-b84a-6352a4c0ceee" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T202121Z:c97af43c-2f1b-452b-b84a-6352a4c0ceee" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:21:21 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"c0dffba5-d7a6-47b8-8923-3e7b9981d951\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T20:19:21.483Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetDifferentRg+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c0dffba5-d7a6-47b8-8923-3e7b9981d951?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c0dffba5-d7a6-47b8-8923-3e7b9981d951?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "214" ], + "x-ms-client-request-id": [ "c5685318-8067-4860-90f3-849aa3718437" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "9514b77f-584d-4ef5-889b-b79c666549f1" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "385d46a0-343b-4d78-a5ff-9fb81cff3dba" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T202222Z:385d46a0-343b-4d78-a5ff-9fb81cff3dba" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:22:21 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"c0dffba5-d7a6-47b8-8923-3e7b9981d951\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T20:19:21.483Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetDifferentRg+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c0dffba5-d7a6-47b8-8923-3e7b9981d951?api-version=2020-07-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c0dffba5-d7a6-47b8-8923-3e7b9981d951?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "215" ], + "x-ms-client-request-id": [ "c5685318-8067-4860-90f3-849aa3718437" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "85ca1ed2-72aa-4f29-b506-4e6bf57fd9d0" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "6c843d2a-57a4-4191-bf92-3f42de4e27c0" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T202322Z:6c843d2a-57a4-4191-bf92-3f42de4e27c0" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:23:21 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"c0dffba5-d7a6-47b8-8923-3e7b9981d951\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T20:19:21.483Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetDifferentRg+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c0dffba5-d7a6-47b8-8923-3e7b9981d951?api-version=2020-07-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c0dffba5-d7a6-47b8-8923-3e7b9981d951?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "216" ], + "x-ms-client-request-id": [ "c5685318-8067-4860-90f3-849aa3718437" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "c46870a1-d177-4b58-a759-2b2ab0df3635" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "ae042f46-0a2d-4079-9f04-9a844535d09f" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T202422Z:ae042f46-0a2d-4079-9f04-9a844535d09f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:24:22 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"c0dffba5-d7a6-47b8-8923-3e7b9981d951\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T20:19:21.483Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetDifferentRg+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c0dffba5-d7a6-47b8-8923-3e7b9981d951?api-version=2020-07-01-preview+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c0dffba5-d7a6-47b8-8923-3e7b9981d951?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "217" ], + "x-ms-client-request-id": [ "c5685318-8067-4860-90f3-849aa3718437" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "ba53ffd5-5c47-424d-ae56-0178cd2b0ff6" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "db549827-1449-4d86-b077-d195a24592a2" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T202522Z:db549827-1449-4d86-b077-d195a24592a2" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:25:21 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"c0dffba5-d7a6-47b8-8923-3e7b9981d951\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T20:19:21.483Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetDifferentRg+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c0dffba5-d7a6-47b8-8923-3e7b9981d951?api-version=2020-07-01-preview+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c0dffba5-d7a6-47b8-8923-3e7b9981d951?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "218" ], + "x-ms-client-request-id": [ "c5685318-8067-4860-90f3-849aa3718437" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "9f3282fa-d60e-4ab8-b7e8-157e2db463a9" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-correlation-request-id": [ "539d2295-8377-4a76-8734-05db0ced4115" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T202622Z:539d2295-8377-4a76-8734-05db0ced4115" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:26:22 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"c0dffba5-d7a6-47b8-8923-3e7b9981d951\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T20:19:21.483Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetDifferentRg+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c0dffba5-d7a6-47b8-8923-3e7b9981d951?api-version=2020-07-01-preview+9": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c0dffba5-d7a6-47b8-8923-3e7b9981d951?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "219" ], + "x-ms-client-request-id": [ "c5685318-8067-4860-90f3-849aa3718437" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "df34bd55-a321-45ee-bb90-735db1d1274c" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], + "x-ms-correlation-request-id": [ "27aeef3d-fd46-47ef-a0ba-e097deb8456a" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T202722Z:27aeef3d-fd46-47ef-a0ba-e097deb8456a" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:27:22 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"c0dffba5-d7a6-47b8-8923-3e7b9981d951\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T20:19:21.483Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetDifferentRg+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c0dffba5-d7a6-47b8-8923-3e7b9981d951?api-version=2020-07-01-preview+10": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c0dffba5-d7a6-47b8-8923-3e7b9981d951?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "220" ], + "x-ms-client-request-id": [ "c5685318-8067-4860-90f3-849aa3718437" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "9e95bab4-04ef-4d08-9080-eff18cdacb7a" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], + "x-ms-correlation-request-id": [ "6cb9cad4-3149-4134-a2f1-100330cfecbc" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T202823Z:6cb9cad4-3149-4134-a2f1-100330cfecbc" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:28:22 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"c0dffba5-d7a6-47b8-8923-3e7b9981d951\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T20:19:21.483Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetDifferentRg+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c0dffba5-d7a6-47b8-8923-3e7b9981d951?api-version=2020-07-01-preview+11": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c0dffba5-d7a6-47b8-8923-3e7b9981d951?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "221" ], + "x-ms-client-request-id": [ "c5685318-8067-4860-90f3-849aa3718437" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "2904e5d3-03f1-4450-b62b-c0c4bf5a36bd" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], + "x-ms-correlation-request-id": [ "7733dbcd-0bfa-4b3f-ba30-921cacc77bcc" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T202923Z:7733dbcd-0bfa-4b3f-ba30-921cacc77bcc" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:29:23 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"c0dffba5-d7a6-47b8-8923-3e7b9981d951\",\"status\":\"Succeeded\",\"startTime\":\"2020-12-10T20:19:21.483Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetDifferentRg+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+12": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "222" ], + "x-ms-client-request-id": [ "c5685318-8067-4860-90f3-849aa3718437" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "df9babd9-4d63-469a-89e4-afe996ab2bb1" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], + "x-ms-correlation-request-id": [ "df492539-bad2-4f8e-b5d4-b8bd4f8998eb" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T202923Z:df492539-bad2-4f8e-b5d4-b8bd4f8998eb" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:29:23 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1174" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"pensiveLollies1\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-3.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-10T20:29:23.5471033+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest2/providers/Microsoft.Network/virtualNetworks/mysqlvnet/subnets/mysql-test-subnet\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-3\",\"name\":\"mysql-test-100-3\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetDifferentRg+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+13": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "226" ], + "x-ms-client-request-id": [ "13318860-166f-4eec-878e-b076df039151" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/bbe8cadf-e645-4093-960b-7a35b31623fb?api-version=2020-07-01-preview" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/bbe8cadf-e645-4093-960b-7a35b31623fb?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "bbe8cadf-e645-4093-960b-7a35b31623fb" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "x-ms-correlation-request-id": [ "2aabc9ef-9655-4c0c-8f55-3be6f2b1bb97" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T202947Z:2aabc9ef-9655-4c0c-8f55-3be6f2b1bb97" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:29:46 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "84" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropServerManagementOperation\",\"startTime\":\"2020-12-10T20:29:47.093Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetDifferentRg+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/bbe8cadf-e645-4093-960b-7a35b31623fb?api-version=2020-07-01-preview+14": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/bbe8cadf-e645-4093-960b-7a35b31623fb?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "227" ], + "x-ms-client-request-id": [ "13318860-166f-4eec-878e-b076df039151" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "ab4f7dec-f433-4732-98a5-554f0101a489" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], + "x-ms-correlation-request-id": [ "f5a4cd4e-5aa2-4c5e-a7ae-a86a87eb87ae" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T203002Z:f5a4cd4e-5aa2-4c5e-a7ae-a86a87eb87ae" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:30:01 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"bbe8cadf-e645-4093-960b-7a35b31623fb\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T20:29:47.093Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetDifferentRg+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/bbe8cadf-e645-4093-960b-7a35b31623fb?api-version=2020-07-01-preview+15": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/bbe8cadf-e645-4093-960b-7a35b31623fb?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "228" ], + "x-ms-client-request-id": [ "13318860-166f-4eec-878e-b076df039151" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "300e0450-641f-4df4-a3f6-52ffaf198358" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], + "x-ms-correlation-request-id": [ "cea4c9bf-327d-4a65-ad20-478f6135183a" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T203017Z:cea4c9bf-327d-4a65-ad20-478f6135183a" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:30:16 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"bbe8cadf-e645-4093-960b-7a35b31623fb\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T20:29:47.093Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetDifferentRg+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/bbe8cadf-e645-4093-960b-7a35b31623fb?api-version=2020-07-01-preview+16": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/bbe8cadf-e645-4093-960b-7a35b31623fb?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "229" ], + "x-ms-client-request-id": [ "13318860-166f-4eec-878e-b076df039151" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "440e6363-22ec-4b85-a103-2c9b0939cb21" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], + "x-ms-correlation-request-id": [ "061c802f-4fef-499b-b8b3-dba78514ee63" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T203032Z:061c802f-4fef-499b-b8b3-dba78514ee63" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:30:31 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"bbe8cadf-e645-4093-960b-7a35b31623fb\",\"status\":\"Succeeded\",\"startTime\":\"2020-12-10T20:29:47.093Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetDifferentRg+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/operationResults/bbe8cadf-e645-4093-960b-7a35b31623fb?api-version=2020-07-01-preview+17": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/bbe8cadf-e645-4093-960b-7a35b31623fb?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "230" ], + "x-ms-client-request-id": [ "13318860-166f-4eec-878e-b076df039151" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "0fee5a60-0405-420f-9ac9-8c3a7fe66164" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11980" ], + "x-ms-correlation-request-id": [ "b49f070e-f2de-4401-bff4-3d9d70ab1e27" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T203032Z:b49f070e-f2de-4401-bff4-3d9d70ab1e27" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:30:32 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetDelegation+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"delegatedSubnetArguments\": {\r\n \"subnetArmResourceId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/mysqlvnet/subnets/mysql-test-subnet\"\r\n },\r\n \"administratorLogin\": \"adoringSnipe1\",\r\n \"administratorLoginPassword\": \"vw@7!#\\u0026O4@61aL5*\",\r\n \"version\": \"5.7\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "583" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/3e687c6b-f9a4-48b6-9a8f-19694cb532ea?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3e687c6b-f9a4-48b6-9a8f-19694cb532ea?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "5e3b6150-c0f9-4106-8150-ca3d808e7aab" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-correlation-request-id": [ "f3fe139a-dd69-46bb-914e-9245405611eb" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T203843Z:f3fe139a-dd69-46bb-914e-9245405611eb" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:38:43 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "88" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-12-10T20:38:43.163Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetDelegation+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3e687c6b-f9a4-48b6-9a8f-19694cb532ea?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3e687c6b-f9a4-48b6-9a8f-19694cb532ea?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "233" ], + "x-ms-client-request-id": [ "e2747c2a-7c44-4338-a09b-61a43c910309" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "ad4a4a54-3d00-4c23-8593-d9cb6066ea2f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "e17ab9f5-8ebc-4294-a8d6-52ffc0d1c927" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T203943Z:e17ab9f5-8ebc-4294-a8d6-52ffc0d1c927" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:39:42 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"3e687c6b-f9a4-48b6-9a8f-19694cb532ea\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T20:38:43.163Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetDelegation+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3e687c6b-f9a4-48b6-9a8f-19694cb532ea?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3e687c6b-f9a4-48b6-9a8f-19694cb532ea?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "234" ], + "x-ms-client-request-id": [ "e2747c2a-7c44-4338-a09b-61a43c910309" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "b0c61acc-6a33-4a48-b260-cc1612684758" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-correlation-request-id": [ "421ea175-07b9-486b-98ff-ba1ba9d93d0d" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T204043Z:421ea175-07b9-486b-98ff-ba1ba9d93d0d" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:40:43 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"3e687c6b-f9a4-48b6-9a8f-19694cb532ea\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T20:38:43.163Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetDelegation+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3e687c6b-f9a4-48b6-9a8f-19694cb532ea?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3e687c6b-f9a4-48b6-9a8f-19694cb532ea?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "235" ], + "x-ms-client-request-id": [ "e2747c2a-7c44-4338-a09b-61a43c910309" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "c0e0d2d8-6524-4aa5-84eb-3896c0c36ba1" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "12151f65-f4d6-42ae-b12e-c7130ab43cf0" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T204143Z:12151f65-f4d6-42ae-b12e-c7130ab43cf0" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:41:43 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"3e687c6b-f9a4-48b6-9a8f-19694cb532ea\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T20:38:43.163Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetDelegation+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3e687c6b-f9a4-48b6-9a8f-19694cb532ea?api-version=2020-07-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3e687c6b-f9a4-48b6-9a8f-19694cb532ea?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "236" ], + "x-ms-client-request-id": [ "e2747c2a-7c44-4338-a09b-61a43c910309" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "9013d6b8-ffd0-475d-8f52-a391f346061e" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "4bbb1e50-5810-4c71-8dd0-c0fb48287f32" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T204244Z:4bbb1e50-5810-4c71-8dd0-c0fb48287f32" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:42:43 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"3e687c6b-f9a4-48b6-9a8f-19694cb532ea\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T20:38:43.163Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetDelegation+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3e687c6b-f9a4-48b6-9a8f-19694cb532ea?api-version=2020-07-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3e687c6b-f9a4-48b6-9a8f-19694cb532ea?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "237" ], + "x-ms-client-request-id": [ "e2747c2a-7c44-4338-a09b-61a43c910309" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "25458e90-bd16-4b07-97f9-cc28f5a69c84" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "f5587174-afd1-4f86-9c30-18785951315d" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T204344Z:f5587174-afd1-4f86-9c30-18785951315d" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:43:44 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"3e687c6b-f9a4-48b6-9a8f-19694cb532ea\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T20:38:43.163Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetDelegation+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3e687c6b-f9a4-48b6-9a8f-19694cb532ea?api-version=2020-07-01-preview+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3e687c6b-f9a4-48b6-9a8f-19694cb532ea?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "238" ], + "x-ms-client-request-id": [ "e2747c2a-7c44-4338-a09b-61a43c910309" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "4b100d17-6025-4513-bdba-22640fd146a8" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-correlation-request-id": [ "e132e1be-b0a1-4859-ab71-08fb1bf3702d" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T204444Z:e132e1be-b0a1-4859-ab71-08fb1bf3702d" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:44:43 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"3e687c6b-f9a4-48b6-9a8f-19694cb532ea\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T20:38:43.163Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetDelegation+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3e687c6b-f9a4-48b6-9a8f-19694cb532ea?api-version=2020-07-01-preview+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3e687c6b-f9a4-48b6-9a8f-19694cb532ea?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "239" ], + "x-ms-client-request-id": [ "e2747c2a-7c44-4338-a09b-61a43c910309" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "5202fb56-93c2-491f-bd1c-a3cdb3c301b9" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], + "x-ms-correlation-request-id": [ "4c1f77b7-184c-4e82-8137-f12da3c0bdba" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T204544Z:4c1f77b7-184c-4e82-8137-f12da3c0bdba" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:45:44 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"3e687c6b-f9a4-48b6-9a8f-19694cb532ea\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T20:38:43.163Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetDelegation+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3e687c6b-f9a4-48b6-9a8f-19694cb532ea?api-version=2020-07-01-preview+9": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3e687c6b-f9a4-48b6-9a8f-19694cb532ea?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "240" ], + "x-ms-client-request-id": [ "e2747c2a-7c44-4338-a09b-61a43c910309" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "05a2883c-cc24-4784-b30e-160ca4d07aad" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], + "x-ms-correlation-request-id": [ "ac6a794d-3c46-4d92-a728-15ba27cb723a" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T204644Z:ac6a794d-3c46-4d92-a728-15ba27cb723a" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:46:43 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"3e687c6b-f9a4-48b6-9a8f-19694cb532ea\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T20:38:43.163Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetDelegation+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3e687c6b-f9a4-48b6-9a8f-19694cb532ea?api-version=2020-07-01-preview+10": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3e687c6b-f9a4-48b6-9a8f-19694cb532ea?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "241" ], + "x-ms-client-request-id": [ "e2747c2a-7c44-4338-a09b-61a43c910309" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "05063f64-69bb-457d-bf7b-d163af3a880f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], + "x-ms-correlation-request-id": [ "848e74a6-1b89-40f3-8792-26b6572a168b" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T204745Z:848e74a6-1b89-40f3-8792-26b6572a168b" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:47:44 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"3e687c6b-f9a4-48b6-9a8f-19694cb532ea\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T20:38:43.163Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetDelegation+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3e687c6b-f9a4-48b6-9a8f-19694cb532ea?api-version=2020-07-01-preview+11": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3e687c6b-f9a4-48b6-9a8f-19694cb532ea?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "242" ], + "x-ms-client-request-id": [ "e2747c2a-7c44-4338-a09b-61a43c910309" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "4c73e83f-853c-4cdc-b6e5-903de01cdc10" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], + "x-ms-correlation-request-id": [ "7bb30b01-aa78-422f-a9e5-c9f78db3b15b" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T204845Z:7bb30b01-aa78-422f-a9e5-c9f78db3b15b" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:48:45 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"3e687c6b-f9a4-48b6-9a8f-19694cb532ea\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T20:38:43.163Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetDelegation+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3e687c6b-f9a4-48b6-9a8f-19694cb532ea?api-version=2020-07-01-preview+12": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3e687c6b-f9a4-48b6-9a8f-19694cb532ea?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "243" ], + "x-ms-client-request-id": [ "e2747c2a-7c44-4338-a09b-61a43c910309" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "400e5d98-785a-4388-951f-2acff461a58f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], + "x-ms-correlation-request-id": [ "17faf73f-589a-46b2-8fbc-0be9bb67ae4f" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T204945Z:17faf73f-589a-46b2-8fbc-0be9bb67ae4f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:49:44 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"3e687c6b-f9a4-48b6-9a8f-19694cb532ea\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T20:38:43.163Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetDelegation+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3e687c6b-f9a4-48b6-9a8f-19694cb532ea?api-version=2020-07-01-preview+13": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3e687c6b-f9a4-48b6-9a8f-19694cb532ea?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "244" ], + "x-ms-client-request-id": [ "e2747c2a-7c44-4338-a09b-61a43c910309" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "f6794eed-04fe-4f06-956d-ef1c5788132c" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], + "x-ms-correlation-request-id": [ "5bc2a48f-5bca-4713-8f8d-06e4db422783" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T205045Z:5bc2a48f-5bca-4713-8f8d-06e4db422783" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:50:45 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"3e687c6b-f9a4-48b6-9a8f-19694cb532ea\",\"status\":\"Succeeded\",\"startTime\":\"2020-12-10T20:38:43.163Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetDelegation+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+14": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "245" ], + "x-ms-client-request-id": [ "e2747c2a-7c44-4338-a09b-61a43c910309" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "29e9d195-7101-4829-89b7-22f9a8dd8925" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], + "x-ms-correlation-request-id": [ "3bca11fc-334f-4e85-80c5-81608e8ea4a5" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T205045Z:3bca11fc-334f-4e85-80c5-81608e8ea4a5" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:50:45 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1171" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"adoringSnipe1\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-10T20:50:45.8541144+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/mysqlvnet/subnets/mysql-test-subnet\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetDelegation+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+15": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "249" ], + "x-ms-client-request-id": [ "302b85f6-8952-4590-be79-2887fadf5ac9" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/baa2fb1a-9b91-406e-b149-67f34b905061?api-version=2020-07-01-preview" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/baa2fb1a-9b91-406e-b149-67f34b905061?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "baa2fb1a-9b91-406e-b149-67f34b905061" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "x-ms-correlation-request-id": [ "df0898a5-7226-4314-9b2d-dd68bdb14522" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T205105Z:df0898a5-7226-4314-9b2d-dd68bdb14522" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:51:04 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "84" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropServerManagementOperation\",\"startTime\":\"2020-12-10T20:51:05.447Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetDelegation+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/baa2fb1a-9b91-406e-b149-67f34b905061?api-version=2020-07-01-preview+16": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/baa2fb1a-9b91-406e-b149-67f34b905061?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "250" ], + "x-ms-client-request-id": [ "302b85f6-8952-4590-be79-2887fadf5ac9" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "45da0f55-0322-4144-a06a-9b4f60b7d125" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11980" ], + "x-ms-correlation-request-id": [ "2d523258-c4fb-43dc-af94-ba29ee9b08cc" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T205120Z:2d523258-c4fb-43dc-af94-ba29ee9b08cc" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:51:19 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"baa2fb1a-9b91-406e-b149-67f34b905061\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T20:51:05.447Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetDelegation+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/baa2fb1a-9b91-406e-b149-67f34b905061?api-version=2020-07-01-preview+17": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/baa2fb1a-9b91-406e-b149-67f34b905061?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "251" ], + "x-ms-client-request-id": [ "302b85f6-8952-4590-be79-2887fadf5ac9" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "f7fab937-942b-4dc9-9aa4-847078495f24" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11979" ], + "x-ms-correlation-request-id": [ "155a66b1-314a-4b27-92fc-c780ab277027" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T205135Z:155a66b1-314a-4b27-92fc-c780ab277027" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:51:35 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"baa2fb1a-9b91-406e-b149-67f34b905061\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T20:51:05.447Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetDelegation+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/baa2fb1a-9b91-406e-b149-67f34b905061?api-version=2020-07-01-preview+18": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/baa2fb1a-9b91-406e-b149-67f34b905061?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "252" ], + "x-ms-client-request-id": [ "302b85f6-8952-4590-be79-2887fadf5ac9" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "12d7dd1d-fabb-4f5f-91f6-405e02428462" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11978" ], + "x-ms-correlation-request-id": [ "1d823053-b697-48e7-90a1-3c1cb64819ae" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T205150Z:1d823053-b697-48e7-90a1-3c1cb64819ae" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:51:50 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"baa2fb1a-9b91-406e-b149-67f34b905061\",\"status\":\"Succeeded\",\"startTime\":\"2020-12-10T20:51:05.447Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetDelegation+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/operationResults/baa2fb1a-9b91-406e-b149-67f34b905061?api-version=2020-07-01-preview+19": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/baa2fb1a-9b91-406e-b149-67f34b905061?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "253" ], + "x-ms-client-request-id": [ "302b85f6-8952-4590-be79-2887fadf5ac9" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "d6eb43ec-772c-4a20-86ae-3e3a531bcc60" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11977" ], + "x-ms-correlation-request-id": [ "02242b43-ff53-4ae3-9364-c6edc40f5091" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T205151Z:02242b43-ff53-4ae3-9364-c6edc40f5091" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:51:50 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetNotExist+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", + "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"delegatedSubnetArguments\": {\r\n \"subnetArmResourceId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/nonexistingvnetforpowershelltest/subnets/nonexistingsubnetforpowershelltest\"\r\n },\r\n \"administratorLogin\": \"machoBaboon3\",\r\n \"administratorLoginPassword\": \"H9mrz?}!07hb@$]8\",\r\n \"version\": \"5.7\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "611" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/1240290d-20c3-4177-a597-da4d67bfd4cd?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/1240290d-20c3-4177-a597-da4d67bfd4cd?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "2b661ab3-c9bc-4b98-8d81-56bd483db7ea" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-correlation-request-id": [ "fa47abe8-a262-43fe-a12a-b6be05766808" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T210000Z:fa47abe8-a262-43fe-a12a-b6be05766808" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 20:59:59 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "87" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-12-10T20:59:59.84Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/1240290d-20c3-4177-a597-da4d67bfd4cd?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/1240290d-20c3-4177-a597-da4d67bfd4cd?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "256" ], + "x-ms-client-request-id": [ "1141a932-055c-45c7-8a59-6252978dbf0f" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "4862efab-c544-43d9-8a29-4a653d674b73" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "a67cac48-818e-4e9a-832d-5386eba85d63" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T210100Z:a67cac48-818e-4e9a-832d-5386eba85d63" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:00:59 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"1240290d-20c3-4177-a597-da4d67bfd4cd\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T20:59:59.84Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/1240290d-20c3-4177-a597-da4d67bfd4cd?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/1240290d-20c3-4177-a597-da4d67bfd4cd?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "257" ], + "x-ms-client-request-id": [ "1141a932-055c-45c7-8a59-6252978dbf0f" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "038118b9-4276-4f38-82e7-bab0ed784668" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "5216619a-791a-4274-8de0-270abad1a818" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T210200Z:5216619a-791a-4274-8de0-270abad1a818" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:02:00 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"1240290d-20c3-4177-a597-da4d67bfd4cd\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T20:59:59.84Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/1240290d-20c3-4177-a597-da4d67bfd4cd?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/1240290d-20c3-4177-a597-da4d67bfd4cd?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "258" ], + "x-ms-client-request-id": [ "1141a932-055c-45c7-8a59-6252978dbf0f" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "46c171c7-9b36-4057-92c7-87330d158f27" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "3653bf12-b77d-4d06-ac26-d949ae7c6371" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T210300Z:3653bf12-b77d-4d06-ac26-d949ae7c6371" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:03:00 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"1240290d-20c3-4177-a597-da4d67bfd4cd\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T20:59:59.84Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/1240290d-20c3-4177-a597-da4d67bfd4cd?api-version=2020-07-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/1240290d-20c3-4177-a597-da4d67bfd4cd?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "259" ], + "x-ms-client-request-id": [ "1141a932-055c-45c7-8a59-6252978dbf0f" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "5e3dc1a7-d513-48b3-8379-9aee90e860bf" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-correlation-request-id": [ "6923ab47-0d0f-4327-944f-f3c7663abf1c" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T210400Z:6923ab47-0d0f-4327-944f-f3c7663abf1c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:04:00 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"1240290d-20c3-4177-a597-da4d67bfd4cd\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T20:59:59.84Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/1240290d-20c3-4177-a597-da4d67bfd4cd?api-version=2020-07-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/1240290d-20c3-4177-a597-da4d67bfd4cd?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "260" ], + "x-ms-client-request-id": [ "1141a932-055c-45c7-8a59-6252978dbf0f" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "b16fc639-1b24-46a7-82ff-84596a05df58" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-correlation-request-id": [ "5b84973a-40e3-49e4-8cd7-1ba9c9fe5bf1" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T210501Z:5b84973a-40e3-49e4-8cd7-1ba9c9fe5bf1" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:05:00 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"1240290d-20c3-4177-a597-da4d67bfd4cd\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T20:59:59.84Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/1240290d-20c3-4177-a597-da4d67bfd4cd?api-version=2020-07-01-preview+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/1240290d-20c3-4177-a597-da4d67bfd4cd?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "261" ], + "x-ms-client-request-id": [ "1141a932-055c-45c7-8a59-6252978dbf0f" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "79f2eb2a-2d8c-42c3-a789-d71509fd19d5" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], + "x-ms-correlation-request-id": [ "25447ea8-e468-412b-82ac-38787be60c17" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T210601Z:25447ea8-e468-412b-82ac-38787be60c17" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:06:01 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"1240290d-20c3-4177-a597-da4d67bfd4cd\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T20:59:59.84Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/1240290d-20c3-4177-a597-da4d67bfd4cd?api-version=2020-07-01-preview+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/1240290d-20c3-4177-a597-da4d67bfd4cd?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "262" ], + "x-ms-client-request-id": [ "1141a932-055c-45c7-8a59-6252978dbf0f" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "33b7283a-2e7b-42c1-86a3-ae3896812d1f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], + "x-ms-correlation-request-id": [ "210352fb-9965-4a11-91dc-70c8c30d3358" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T210701Z:210352fb-9965-4a11-91dc-70c8c30d3358" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:07:00 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"1240290d-20c3-4177-a597-da4d67bfd4cd\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T20:59:59.84Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/1240290d-20c3-4177-a597-da4d67bfd4cd?api-version=2020-07-01-preview+9": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/1240290d-20c3-4177-a597-da4d67bfd4cd?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "263" ], + "x-ms-client-request-id": [ "1141a932-055c-45c7-8a59-6252978dbf0f" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "34098d2c-d356-4142-ad60-71c599136557" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], + "x-ms-correlation-request-id": [ "c804b85b-61ea-4af6-8f03-81c9814d8d25" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T210801Z:c804b85b-61ea-4af6-8f03-81c9814d8d25" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:08:01 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"1240290d-20c3-4177-a597-da4d67bfd4cd\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T20:59:59.84Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/1240290d-20c3-4177-a597-da4d67bfd4cd?api-version=2020-07-01-preview+10": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/1240290d-20c3-4177-a597-da4d67bfd4cd?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "264" ], + "x-ms-client-request-id": [ "1141a932-055c-45c7-8a59-6252978dbf0f" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "7cd61a41-6a97-4ebd-9fdf-f4d64f35702e" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], + "x-ms-correlation-request-id": [ "118b2fab-2146-497b-a90c-5ccd561d538b" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T210901Z:118b2fab-2146-497b-a90c-5ccd561d538b" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:09:01 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"1240290d-20c3-4177-a597-da4d67bfd4cd\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T20:59:59.84Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/1240290d-20c3-4177-a597-da4d67bfd4cd?api-version=2020-07-01-preview+11": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/1240290d-20c3-4177-a597-da4d67bfd4cd?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "265" ], + "x-ms-client-request-id": [ "1141a932-055c-45c7-8a59-6252978dbf0f" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "443aba82-3a6a-4854-94bb-edddc31d8594" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], + "x-ms-correlation-request-id": [ "d44e1a27-6a01-4483-92d6-7c9110ff5d01" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T211002Z:d44e1a27-6a01-4483-92d6-7c9110ff5d01" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:10:01 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"1240290d-20c3-4177-a597-da4d67bfd4cd\",\"status\":\"Succeeded\",\"startTime\":\"2020-12-10T20:59:59.84Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+12": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "266" ], + "x-ms-client-request-id": [ "1141a932-055c-45c7-8a59-6252978dbf0f" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "21a7e84d-a381-4dff-bf7f-d977b36967ab" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], + "x-ms-correlation-request-id": [ "0a42c493-1624-429b-b2f5-fd849768c6f1" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T211002Z:0a42c493-1624-429b-b2f5-fd849768c6f1" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:10:01 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1204" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"machoBaboon3\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-3.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-10T21:10:02.5102491+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/nonexistingvnetforpowershelltest/subnets/nonexistingsubnetforpowershelltest\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-3\",\"name\":\"mysql-test-100-3\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetNotExist+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+13": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "270" ], + "x-ms-client-request-id": [ "fc36b678-bb81-4a02-a14f-7fbcaa53a168" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/13aae25b-ea2e-4035-9a5b-ccc134656328?api-version=2020-07-01-preview" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/13aae25b-ea2e-4035-9a5b-ccc134656328?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "13aae25b-ea2e-4035-9a5b-ccc134656328" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "x-ms-correlation-request-id": [ "96e54b61-9f09-4d8e-a283-4fffb3d666ce" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T211023Z:96e54b61-9f09-4d8e-a283-4fffb3d666ce" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:10:23 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "83" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropServerManagementOperation\",\"startTime\":\"2020-12-10T21:10:23.34Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/13aae25b-ea2e-4035-9a5b-ccc134656328?api-version=2020-07-01-preview+14": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/13aae25b-ea2e-4035-9a5b-ccc134656328?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "271" ], + "x-ms-client-request-id": [ "fc36b678-bb81-4a02-a14f-7fbcaa53a168" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "43f116ab-22d0-4303-a27d-b4587018e6f6" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], + "x-ms-correlation-request-id": [ "fb984b21-2bce-4c47-ac25-5aef43ffec99" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T211038Z:fb984b21-2bce-4c47-ac25-5aef43ffec99" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:10:38 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"13aae25b-ea2e-4035-9a5b-ccc134656328\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T21:10:23.34Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/13aae25b-ea2e-4035-9a5b-ccc134656328?api-version=2020-07-01-preview+15": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/13aae25b-ea2e-4035-9a5b-ccc134656328?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "272" ], + "x-ms-client-request-id": [ "fc36b678-bb81-4a02-a14f-7fbcaa53a168" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "7114b4f2-a9cb-4b6a-bfe7-e625578375fc" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11980" ], + "x-ms-correlation-request-id": [ "288016a9-51f2-4e58-90e0-8284a254a986" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T211053Z:288016a9-51f2-4e58-90e0-8284a254a986" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:10:53 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"13aae25b-ea2e-4035-9a5b-ccc134656328\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T21:10:23.34Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/13aae25b-ea2e-4035-9a5b-ccc134656328?api-version=2020-07-01-preview+16": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/13aae25b-ea2e-4035-9a5b-ccc134656328?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "273" ], + "x-ms-client-request-id": [ "fc36b678-bb81-4a02-a14f-7fbcaa53a168" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "b758a454-87c1-41f7-80e1-16043340400b" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11979" ], + "x-ms-correlation-request-id": [ "64f4f619-36ff-418d-a6fe-037e266ad86a" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T211108Z:64f4f619-36ff-418d-a6fe-037e266ad86a" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:11:08 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"13aae25b-ea2e-4035-9a5b-ccc134656328\",\"status\":\"Succeeded\",\"startTime\":\"2020-12-10T21:10:23.34Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/operationResults/13aae25b-ea2e-4035-9a5b-ccc134656328?api-version=2020-07-01-preview+17": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/13aae25b-ea2e-4035-9a5b-ccc134656328?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "274" ], + "x-ms-client-request-id": [ "fc36b678-bb81-4a02-a14f-7fbcaa53a168" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "1bd971ad-2574-4bd2-a143-fa2f7bcaedff" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11978" ], + "x-ms-correlation-request-id": [ "9d50180d-0a35-4e6d-9473-6a56b954e2c1" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T211109Z:9d50180d-0a35-4e6d-9473-6a56b954e2c1" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:11:08 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnetNotExist+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", + "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"delegatedSubnetArguments\": {\r\n \"subnetArmResourceId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/mysqlvnet/subnets/mysql-test-subnet\"\r\n },\r\n \"administratorLogin\": \"playfulCheetah5\",\r\n \"administratorLoginPassword\": \"pyZ%P@emO(\\u0026v?SE#\",\r\n \"version\": \"5.7\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "585" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/60c7412f-d36d-4799-96af-4aa3e16efcd8?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/60c7412f-d36d-4799-96af-4aa3e16efcd8?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "b154ee22-1a33-42a8-8342-8a6c2840da9a" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "49e74edd-193e-4b96-a476-904ebfe16beb" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T211917Z:49e74edd-193e-4b96-a476-904ebfe16beb" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:19:16 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "87" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-12-10T21:19:16.98Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/60c7412f-d36d-4799-96af-4aa3e16efcd8?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/60c7412f-d36d-4799-96af-4aa3e16efcd8?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "278" ], + "x-ms-client-request-id": [ "2828bce5-1f25-4d5b-aa92-33996b0a9e1b" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "0a1b7228-c411-4393-a642-aea339d0e5c1" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-correlation-request-id": [ "4a8faef2-eea0-4279-b3d0-9cb4c7a8258e" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T212017Z:4a8faef2-eea0-4279-b3d0-9cb4c7a8258e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:20:17 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"60c7412f-d36d-4799-96af-4aa3e16efcd8\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T21:19:16.98Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/60c7412f-d36d-4799-96af-4aa3e16efcd8?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/60c7412f-d36d-4799-96af-4aa3e16efcd8?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "279" ], + "x-ms-client-request-id": [ "2828bce5-1f25-4d5b-aa92-33996b0a9e1b" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "629d48e6-554e-4979-a8ee-ecad207b2e24" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-correlation-request-id": [ "b172cedc-46e2-47f7-b640-6d780f6b68c4" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T212118Z:b172cedc-46e2-47f7-b640-6d780f6b68c4" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:21:17 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"60c7412f-d36d-4799-96af-4aa3e16efcd8\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T21:19:16.98Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/60c7412f-d36d-4799-96af-4aa3e16efcd8?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/60c7412f-d36d-4799-96af-4aa3e16efcd8?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "280" ], + "x-ms-client-request-id": [ "2828bce5-1f25-4d5b-aa92-33996b0a9e1b" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "df90237e-f4a3-49ac-abc1-b97f3de0ea05" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-correlation-request-id": [ "1a7fbec0-d340-4fd2-8dcb-1f0275a1d088" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T212218Z:1a7fbec0-d340-4fd2-8dcb-1f0275a1d088" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:22:18 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"60c7412f-d36d-4799-96af-4aa3e16efcd8\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T21:19:16.98Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/60c7412f-d36d-4799-96af-4aa3e16efcd8?api-version=2020-07-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/60c7412f-d36d-4799-96af-4aa3e16efcd8?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "281" ], + "x-ms-client-request-id": [ "2828bce5-1f25-4d5b-aa92-33996b0a9e1b" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "e3696758-42ca-4ffc-8a85-2347a638d739" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-correlation-request-id": [ "b29e1cea-79b1-4524-9e0d-85ff7d9e8a5c" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T212318Z:b29e1cea-79b1-4524-9e0d-85ff7d9e8a5c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:23:17 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"60c7412f-d36d-4799-96af-4aa3e16efcd8\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T21:19:16.98Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/60c7412f-d36d-4799-96af-4aa3e16efcd8?api-version=2020-07-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/60c7412f-d36d-4799-96af-4aa3e16efcd8?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "282" ], + "x-ms-client-request-id": [ "2828bce5-1f25-4d5b-aa92-33996b0a9e1b" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "23ff4bd5-b9ff-42d3-86f4-f3de9b1dc322" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "6f0202fd-63ce-479e-bda0-22bdbdf71794" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T212418Z:6f0202fd-63ce-479e-bda0-22bdbdf71794" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:24:18 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"60c7412f-d36d-4799-96af-4aa3e16efcd8\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T21:19:16.98Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/60c7412f-d36d-4799-96af-4aa3e16efcd8?api-version=2020-07-01-preview+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/60c7412f-d36d-4799-96af-4aa3e16efcd8?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "283" ], + "x-ms-client-request-id": [ "2828bce5-1f25-4d5b-aa92-33996b0a9e1b" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "94d490df-0547-4fc4-b47a-e772861c3b4f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-correlation-request-id": [ "9b351b6b-7fb9-4d9c-85a4-9c18f0724f66" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T212518Z:9b351b6b-7fb9-4d9c-85a4-9c18f0724f66" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:25:18 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"60c7412f-d36d-4799-96af-4aa3e16efcd8\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T21:19:16.98Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/60c7412f-d36d-4799-96af-4aa3e16efcd8?api-version=2020-07-01-preview+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/60c7412f-d36d-4799-96af-4aa3e16efcd8?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "284" ], + "x-ms-client-request-id": [ "2828bce5-1f25-4d5b-aa92-33996b0a9e1b" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "abd7816f-e319-46e7-8826-410309b522cc" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "15c7eff1-a565-4560-a267-8220ef3413e2" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T212618Z:15c7eff1-a565-4560-a267-8220ef3413e2" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:26:18 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"60c7412f-d36d-4799-96af-4aa3e16efcd8\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T21:19:16.98Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/60c7412f-d36d-4799-96af-4aa3e16efcd8?api-version=2020-07-01-preview+9": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/60c7412f-d36d-4799-96af-4aa3e16efcd8?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "285" ], + "x-ms-client-request-id": [ "2828bce5-1f25-4d5b-aa92-33996b0a9e1b" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "b9c698e5-2618-4cd7-b33c-3c684a845185" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "ad7b7beb-a882-48f6-938c-c783387efafe" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T212719Z:ad7b7beb-a882-48f6-938c-c783387efafe" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:27:18 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"60c7412f-d36d-4799-96af-4aa3e16efcd8\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T21:19:16.98Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/60c7412f-d36d-4799-96af-4aa3e16efcd8?api-version=2020-07-01-preview+10": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/60c7412f-d36d-4799-96af-4aa3e16efcd8?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "286" ], + "x-ms-client-request-id": [ "2828bce5-1f25-4d5b-aa92-33996b0a9e1b" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "cbce4677-c728-4580-9386-9aae18894e96" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "944c40cf-3e33-4107-9ba6-ef95a5a5bad6" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T212819Z:944c40cf-3e33-4107-9ba6-ef95a5a5bad6" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:28:19 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"60c7412f-d36d-4799-96af-4aa3e16efcd8\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T21:19:16.98Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/60c7412f-d36d-4799-96af-4aa3e16efcd8?api-version=2020-07-01-preview+11": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/60c7412f-d36d-4799-96af-4aa3e16efcd8?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "287" ], + "x-ms-client-request-id": [ "2828bce5-1f25-4d5b-aa92-33996b0a9e1b" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "7b969ee2-d10b-4c70-9f23-5e5316b5711a" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-correlation-request-id": [ "067af70b-6f7a-4e74-aacd-cad9a49f206f" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T212919Z:067af70b-6f7a-4e74-aacd-cad9a49f206f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:29:18 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "106" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"60c7412f-d36d-4799-96af-4aa3e16efcd8\",\"status\":\"Succeeded\",\"startTime\":\"2020-12-10T21:19:16.98Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+12": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "288" ], + "x-ms-client-request-id": [ "2828bce5-1f25-4d5b-aa92-33996b0a9e1b" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "479fec57-0509-44c9-99df-cbe4aefb85a9" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], + "x-ms-correlation-request-id": [ "d7e2e5ad-a952-44bc-bcdc-5fe02ac1e6bf" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T212920Z:d7e2e5ad-a952-44bc-bcdc-5fe02ac1e6bf" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:29:19 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1173" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"playfulCheetah5\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-3.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-10T21:29:20.1336367+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/mysqlvnet/subnets/mysql-test-subnet\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-3\",\"name\":\"mysql-test-100-3\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnetNotExist+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+13": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "292" ], + "x-ms-client-request-id": [ "d20deb02-fc08-42ba-802d-14512625ec2c" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/45965e9e-1f03-4369-8e84-3f35bfcf1472?api-version=2020-07-01-preview" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/45965e9e-1f03-4369-8e84-3f35bfcf1472?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "45965e9e-1f03-4369-8e84-3f35bfcf1472" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "x-ms-correlation-request-id": [ "b9b3a4a5-5690-4de4-b9c0-777dc1770f57" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T212939Z:b9b3a4a5-5690-4de4-b9c0-777dc1770f57" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:29:39 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "84" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropServerManagementOperation\",\"startTime\":\"2020-12-10T21:29:39.853Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/45965e9e-1f03-4369-8e84-3f35bfcf1472?api-version=2020-07-01-preview+14": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/45965e9e-1f03-4369-8e84-3f35bfcf1472?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "293" ], + "x-ms-client-request-id": [ "d20deb02-fc08-42ba-802d-14512625ec2c" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "905096fc-5631-4273-a0ff-0e8e62ab7d93" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], + "x-ms-correlation-request-id": [ "9a99f37f-1880-4bbb-ab3c-6c63d8fdd43c" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T212955Z:9a99f37f-1880-4bbb-ab3c-6c63d8fdd43c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:29:54 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"45965e9e-1f03-4369-8e84-3f35bfcf1472\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T21:29:39.853Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/45965e9e-1f03-4369-8e84-3f35bfcf1472?api-version=2020-07-01-preview+15": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/45965e9e-1f03-4369-8e84-3f35bfcf1472?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "294" ], + "x-ms-client-request-id": [ "d20deb02-fc08-42ba-802d-14512625ec2c" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "6cf6e02a-7726-447d-bc18-f9c88981efb1" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], + "x-ms-correlation-request-id": [ "6267d422-34b1-48c8-a4b8-3af195e1fc0b" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T213010Z:6267d422-34b1-48c8-a4b8-3af195e1fc0b" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:30:10 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"45965e9e-1f03-4369-8e84-3f35bfcf1472\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T21:29:39.853Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/45965e9e-1f03-4369-8e84-3f35bfcf1472?api-version=2020-07-01-preview+16": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/45965e9e-1f03-4369-8e84-3f35bfcf1472?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "295" ], + "x-ms-client-request-id": [ "d20deb02-fc08-42ba-802d-14512625ec2c" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "7af2ab19-40cc-4098-b8a2-ef5d67609a5e" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], + "x-ms-correlation-request-id": [ "e66e6a14-647c-4117-b06d-fc81f51cbe1b" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T213027Z:e66e6a14-647c-4117-b06d-fc81f51cbe1b" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:30:26 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"45965e9e-1f03-4369-8e84-3f35bfcf1472\",\"status\":\"Succeeded\",\"startTime\":\"2020-12-10T21:29:39.853Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/operationResults/45965e9e-1f03-4369-8e84-3f35bfcf1472?api-version=2020-07-01-preview+17": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/45965e9e-1f03-4369-8e84-3f35bfcf1472?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "296" ], + "x-ms-client-request-id": [ "d20deb02-fc08-42ba-802d-14512625ec2c" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "df90460e-e3cc-4aef-a81d-4280c9ccd1da" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], + "x-ms-correlation-request-id": [ "0bb68add-bcab-4104-bac6-b83593b0c24c" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T213027Z:0bb68add-bcab-4104-bac6-b83593b0c24c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:30:26 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"delegatedSubnetArguments\": {\r\n \"subnetArmResourceId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/mysqlvnet/subnets/mysql-test-subnet\"\r\n },\r\n \"administratorLogin\": \"solemnAuk3\",\r\n \"administratorLoginPassword\": \"FnH+y{HG!Y5%a*{w\",\r\n \"version\": \"5.7\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "575" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "c9bd258b-ccc1-415c-8585-170a78865882" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], + "x-ms-correlation-request-id": [ "d0ce33d2-1f2b-4fac-8295-71324c9681cf" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T213033Z:d0ce33d2-1f2b-4fac-8295-71324c9681cf" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:30:32 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "87" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-12-10T21:30:33.07Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "299" ], + "x-ms-client-request-id": [ "b062474a-31ea-451b-bb45-a718c75079b7" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "b98ca950-2674-4060-8d33-633d04ec8260" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], + "x-ms-correlation-request-id": [ "fe4caa11-d2f8-4b34-945e-66f5de757586" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T213133Z:fe4caa11-d2f8-4b34-945e-66f5de757586" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:31:33 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ab2d83cc-9ed8-4a42-9791-0a1231703d31\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T21:30:33.07Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "300" ], + "x-ms-client-request-id": [ "b062474a-31ea-451b-bb45-a718c75079b7" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "50aeeef3-58ed-44df-bfe7-c606ad035c9f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], + "x-ms-correlation-request-id": [ "a706ad91-ef3a-4a67-a093-952503a32fcb" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T213233Z:a706ad91-ef3a-4a67-a093-952503a32fcb" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:32:32 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ab2d83cc-9ed8-4a42-9791-0a1231703d31\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T21:30:33.07Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "301" ], + "x-ms-client-request-id": [ "b062474a-31ea-451b-bb45-a718c75079b7" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "88737025-9135-4077-b5dc-6498b4edf709" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11980" ], + "x-ms-correlation-request-id": [ "85a29b3b-9d2f-48bc-85ab-3a70e17ae704" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T213333Z:85a29b3b-9d2f-48bc-85ab-3a70e17ae704" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:33:33 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ab2d83cc-9ed8-4a42-9791-0a1231703d31\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T21:30:33.07Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "302" ], + "x-ms-client-request-id": [ "b062474a-31ea-451b-bb45-a718c75079b7" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "17e0dc72-232d-47b4-9cc8-b783c4317d74" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11979" ], + "x-ms-correlation-request-id": [ "7ef9320b-46a2-4eee-b991-c8d72ccdac65" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T213433Z:7ef9320b-46a2-4eee-b991-c8d72ccdac65" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:34:33 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ab2d83cc-9ed8-4a42-9791-0a1231703d31\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T21:30:33.07Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "303" ], + "x-ms-client-request-id": [ "b062474a-31ea-451b-bb45-a718c75079b7" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "72d6b5dc-e571-4c09-a714-2a9fdc6b2ff6" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11978" ], + "x-ms-correlation-request-id": [ "dbd16c37-908b-4db9-ab29-a12010de2639" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T213534Z:dbd16c37-908b-4db9-ab29-a12010de2639" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:35:33 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ab2d83cc-9ed8-4a42-9791-0a1231703d31\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T21:30:33.07Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "304" ], + "x-ms-client-request-id": [ "b062474a-31ea-451b-bb45-a718c75079b7" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "3efa7369-79ff-4f2f-b434-ad6dfb3e766a" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11977" ], + "x-ms-correlation-request-id": [ "d9ecfc9e-218c-4837-b2dc-61f430f5c8fa" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T213634Z:d9ecfc9e-218c-4837-b2dc-61f430f5c8fa" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:36:33 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ab2d83cc-9ed8-4a42-9791-0a1231703d31\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T21:30:33.07Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "305" ], + "x-ms-client-request-id": [ "b062474a-31ea-451b-bb45-a718c75079b7" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "69684571-f34a-4e0c-9b2d-fc1b82426553" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11976" ], + "x-ms-correlation-request-id": [ "29ed5c36-b229-4039-81f2-d7c2d6e4cd86" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T213734Z:29ed5c36-b229-4039-81f2-d7c2d6e4cd86" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:37:34 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ab2d83cc-9ed8-4a42-9791-0a1231703d31\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T21:30:33.07Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview+9": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "306" ], + "x-ms-client-request-id": [ "b062474a-31ea-451b-bb45-a718c75079b7" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "a8bda2e9-b612-4f8f-bf0b-73db35e84d24" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11975" ], + "x-ms-correlation-request-id": [ "74edf234-0e92-4efe-a935-3f252f635e53" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T213834Z:74edf234-0e92-4efe-a935-3f252f635e53" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:38:34 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ab2d83cc-9ed8-4a42-9791-0a1231703d31\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T21:30:33.07Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview+10": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "307" ], + "x-ms-client-request-id": [ "b062474a-31ea-451b-bb45-a718c75079b7" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "42625728-2d55-486a-8de3-c9a666886474" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11974" ], + "x-ms-correlation-request-id": [ "edb8070b-a873-4b8c-b384-55dfbc210ab7" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T213935Z:edb8070b-a873-4b8c-b384-55dfbc210ab7" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:39:34 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ab2d83cc-9ed8-4a42-9791-0a1231703d31\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T21:30:33.07Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview+11": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "308" ], + "x-ms-client-request-id": [ "b062474a-31ea-451b-bb45-a718c75079b7" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "f175dbf1-be9a-4060-9cef-ff2da0b1bf77" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11973" ], + "x-ms-correlation-request-id": [ "8b5dea1a-7b6b-4de8-9bae-1a793854765f" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T214035Z:8b5dea1a-7b6b-4de8-9bae-1a793854765f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:40:34 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ab2d83cc-9ed8-4a42-9791-0a1231703d31\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T21:30:33.07Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview+12": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "309" ], + "x-ms-client-request-id": [ "b062474a-31ea-451b-bb45-a718c75079b7" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "cf174d0e-ac7d-441d-85a6-50378ea60812" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11972" ], + "x-ms-correlation-request-id": [ "aafcadc8-87ea-4358-af0c-9051ca0ee5d3" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T214135Z:aafcadc8-87ea-4358-af0c-9051ca0ee5d3" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:41:34 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ab2d83cc-9ed8-4a42-9791-0a1231703d31\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T21:30:33.07Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview+13": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "310" ], + "x-ms-client-request-id": [ "b062474a-31ea-451b-bb45-a718c75079b7" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "d875b0cc-3d8e-44c2-960a-7f266cc9896a" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11971" ], + "x-ms-correlation-request-id": [ "b87911f6-5a3f-41bd-af83-4025acc666d7" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T214235Z:b87911f6-5a3f-41bd-af83-4025acc666d7" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:42:35 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ab2d83cc-9ed8-4a42-9791-0a1231703d31\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T21:30:33.07Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview+14": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "311" ], + "x-ms-client-request-id": [ "b062474a-31ea-451b-bb45-a718c75079b7" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "c7ca4aeb-3532-4594-af60-f2233eb3ffaa" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11970" ], + "x-ms-correlation-request-id": [ "09e005d3-720a-482b-a8cc-63faf9a50b67" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T214335Z:09e005d3-720a-482b-a8cc-63faf9a50b67" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:43:35 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ab2d83cc-9ed8-4a42-9791-0a1231703d31\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T21:30:33.07Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview+15": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "312" ], + "x-ms-client-request-id": [ "b062474a-31ea-451b-bb45-a718c75079b7" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "7c2b9e56-5798-44b5-9ea6-8ea5f08651e1" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11969" ], + "x-ms-correlation-request-id": [ "0a7edbc9-ce83-4a9d-a9b8-c01a29d4c35b" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T214436Z:0a7edbc9-ce83-4a9d-a9b8-c01a29d4c35b" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:44:36 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ab2d83cc-9ed8-4a42-9791-0a1231703d31\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T21:30:33.07Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview+16": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "313" ], + "x-ms-client-request-id": [ "b062474a-31ea-451b-bb45-a718c75079b7" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "ef43f94a-0144-417c-a6a0-52ddcd48fcf1" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11968" ], + "x-ms-correlation-request-id": [ "fb165850-3366-45c9-b5a9-167630c77880" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T214536Z:fb165850-3366-45c9-b5a9-167630c77880" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:45:35 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ab2d83cc-9ed8-4a42-9791-0a1231703d31\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T21:30:33.07Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview+17": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "314" ], + "x-ms-client-request-id": [ "b062474a-31ea-451b-bb45-a718c75079b7" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "8738c3ae-2d15-417a-a432-383e9a32f893" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11967" ], + "x-ms-correlation-request-id": [ "c6cd1215-11f1-4906-9906-225a55a764e3" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T214636Z:c6cd1215-11f1-4906-9906-225a55a764e3" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:46:36 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ab2d83cc-9ed8-4a42-9791-0a1231703d31\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T21:30:33.07Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview+18": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "315" ], + "x-ms-client-request-id": [ "b062474a-31ea-451b-bb45-a718c75079b7" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "7d445b56-9720-435c-b3d9-30ebc7ad941f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11966" ], + "x-ms-correlation-request-id": [ "ce0c7443-3047-47a8-b645-fbb255da9cc2" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T214736Z:ce0c7443-3047-47a8-b645-fbb255da9cc2" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:47:35 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ab2d83cc-9ed8-4a42-9791-0a1231703d31\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T21:30:33.07Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview+19": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "316" ], + "x-ms-client-request-id": [ "b062474a-31ea-451b-bb45-a718c75079b7" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "cff4391c-f24e-41cd-9a22-1fcd31cef0f9" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11965" ], + "x-ms-correlation-request-id": [ "14a0537a-4a52-4360-8ced-5536db312add" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T214837Z:14a0537a-4a52-4360-8ced-5536db312add" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:48:36 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ab2d83cc-9ed8-4a42-9791-0a1231703d31\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T21:30:33.07Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview+20": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "317" ], + "x-ms-client-request-id": [ "b062474a-31ea-451b-bb45-a718c75079b7" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "2f17385f-f252-4fe6-9739-605b4ada635e" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11964" ], + "x-ms-correlation-request-id": [ "c7ba603d-d838-4e33-ba46-3c63c6902118" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T214937Z:c7ba603d-d838-4e33-ba46-3c63c6902118" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:49:36 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ab2d83cc-9ed8-4a42-9791-0a1231703d31\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T21:30:33.07Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview+21": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "318" ], + "x-ms-client-request-id": [ "b062474a-31ea-451b-bb45-a718c75079b7" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "be6eb234-38c2-4f2a-8a08-b26faa9f35d2" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11963" ], + "x-ms-correlation-request-id": [ "8837a650-5677-4928-9e55-b08bfa65152e" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T215037Z:8837a650-5677-4928-9e55-b08bfa65152e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:50:37 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ab2d83cc-9ed8-4a42-9791-0a1231703d31\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T21:30:33.07Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview+22": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "319" ], + "x-ms-client-request-id": [ "b062474a-31ea-451b-bb45-a718c75079b7" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "14b8361f-69dd-413e-9d86-7811d0b7ca25" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11962" ], + "x-ms-correlation-request-id": [ "3727370a-e78d-4957-a71b-fa69f1278254" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T215137Z:3727370a-e78d-4957-a71b-fa69f1278254" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:51:36 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ab2d83cc-9ed8-4a42-9791-0a1231703d31\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T21:30:33.07Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview+23": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "320" ], + "x-ms-client-request-id": [ "b062474a-31ea-451b-bb45-a718c75079b7" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "08e63ae5-9f58-41fb-9e4e-71396edc7a26" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11961" ], + "x-ms-correlation-request-id": [ "29a79c4d-1391-4117-9242-2429eb70f556" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T215237Z:29a79c4d-1391-4117-9242-2429eb70f556" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:52:37 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ab2d83cc-9ed8-4a42-9791-0a1231703d31\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T21:30:33.07Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview+24": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "321" ], + "x-ms-client-request-id": [ "b062474a-31ea-451b-bb45-a718c75079b7" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "a2a3aec2-4bd1-42ec-9577-e548de1f2735" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11960" ], + "x-ms-correlation-request-id": [ "645468cb-88e9-4168-a4b9-25a0fc2639c3" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T215337Z:645468cb-88e9-4168-a4b9-25a0fc2639c3" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:53:37 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ab2d83cc-9ed8-4a42-9791-0a1231703d31\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T21:30:33.07Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview+25": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "322" ], + "x-ms-client-request-id": [ "b062474a-31ea-451b-bb45-a718c75079b7" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "af053352-443f-484b-ae4f-d919a2dbeccd" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11959" ], + "x-ms-correlation-request-id": [ "dcb79caf-12c3-46f2-b35e-7b5a7a182668" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T215439Z:dcb79caf-12c3-46f2-b35e-7b5a7a182668" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:54:38 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ab2d83cc-9ed8-4a42-9791-0a1231703d31\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T21:30:33.07Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview+26": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "323" ], + "x-ms-client-request-id": [ "b062474a-31ea-451b-bb45-a718c75079b7" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "1610125b-3b6a-40d2-ad18-b8680feaba4c" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11958" ], + "x-ms-correlation-request-id": [ "96a0cab5-4ba4-4ce5-aeae-847a3435e5e8" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T215539Z:96a0cab5-4ba4-4ce5-aeae-847a3435e5e8" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:55:39 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ab2d83cc-9ed8-4a42-9791-0a1231703d31\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T21:30:33.07Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview+27": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "324" ], + "x-ms-client-request-id": [ "b062474a-31ea-451b-bb45-a718c75079b7" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "f25277ab-8f85-45c6-aae1-f4febe18dd4d" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11957" ], + "x-ms-correlation-request-id": [ "025f345d-50b0-47f2-b0dd-ce96f48d168e" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T215639Z:025f345d-50b0-47f2-b0dd-ce96f48d168e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:56:38 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ab2d83cc-9ed8-4a42-9791-0a1231703d31\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T21:30:33.07Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview+28": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "325" ], + "x-ms-client-request-id": [ "b062474a-31ea-451b-bb45-a718c75079b7" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "3410dd24-23e1-47c1-bd1f-0d766643aab5" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11956" ], + "x-ms-correlation-request-id": [ "25d9919b-0140-4e9a-a725-8fceefed947d" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T215739Z:25d9919b-0140-4e9a-a725-8fceefed947d" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:57:39 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ab2d83cc-9ed8-4a42-9791-0a1231703d31\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T21:30:33.07Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview+29": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "326" ], + "x-ms-client-request-id": [ "b062474a-31ea-451b-bb45-a718c75079b7" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "68d982ea-f6e1-4fc0-9239-f1271905e076" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11955" ], + "x-ms-correlation-request-id": [ "43adfbdd-25c7-4672-9c6f-8fd02255dbe8" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T215839Z:43adfbdd-25c7-4672-9c6f-8fd02255dbe8" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:58:39 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ab2d83cc-9ed8-4a42-9791-0a1231703d31\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T21:30:33.07Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview+30": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "327" ], + "x-ms-client-request-id": [ "b062474a-31ea-451b-bb45-a718c75079b7" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "ad5ae297-2808-48f4-99d6-d24d0a81e999" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11954" ], + "x-ms-correlation-request-id": [ "1c4c7bfa-441e-4013-a24c-6fcbb9932076" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T215939Z:1c4c7bfa-441e-4013-a24c-6fcbb9932076" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 21:59:39 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ab2d83cc-9ed8-4a42-9791-0a1231703d31\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T21:30:33.07Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview+31": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "328" ], + "x-ms-client-request-id": [ "b062474a-31ea-451b-bb45-a718c75079b7" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "b2368d20-f5a6-4784-a165-4e122cb9415e" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11953" ], + "x-ms-correlation-request-id": [ "9bfd940f-afa4-4531-820b-a4daf0da40c1" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T220040Z:9bfd940f-afa4-4531-820b-a4daf0da40c1" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 22:00:39 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ab2d83cc-9ed8-4a42-9791-0a1231703d31\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T21:30:33.07Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview+32": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "329" ], + "x-ms-client-request-id": [ "b062474a-31ea-451b-bb45-a718c75079b7" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "762c7208-889c-4700-b646-d8c393e61406" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11952" ], + "x-ms-correlation-request-id": [ "a3da7883-e3ec-481d-9d38-7c0ff3248e7a" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T220140Z:a3da7883-e3ec-481d-9d38-7c0ff3248e7a" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 22:01:40 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ab2d83cc-9ed8-4a42-9791-0a1231703d31\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T21:30:33.07Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview+33": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "330" ], + "x-ms-client-request-id": [ "b062474a-31ea-451b-bb45-a718c75079b7" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "762f1384-0f60-4e2e-ae41-d65956dcdf0a" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11951" ], + "x-ms-correlation-request-id": [ "a6eba76f-5f17-4696-932e-919a9a6d12bc" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T220240Z:a6eba76f-5f17-4696-932e-919a9a6d12bc" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 22:02:39 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ab2d83cc-9ed8-4a42-9791-0a1231703d31\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T21:30:33.07Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview+34": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ab2d83cc-9ed8-4a42-9791-0a1231703d31?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "331" ], + "x-ms-client-request-id": [ "b062474a-31ea-451b-bb45-a718c75079b7" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "ee78dd47-eaa9-43a5-b0cc-1d504d2b8b6c" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11950" ], + "x-ms-correlation-request-id": [ "5847f352-5a33-42cd-b786-648e0226cdc4" ], + "x-ms-routing-request-id": [ "WESTUS2:20201210T220340Z:5847f352-5a33-42cd-b786-648e0226cdc4" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 22:03:40 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"ab2d83cc-9ed8-4a42-9791-0a1231703d31\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T21:30:33.07Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2222?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2222?api-version=2020-07-01-preview", + "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"delegatedSubnetArguments\": {\r\n \"subnetArmResourceId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/mysqlvnet/subnets/mysql-test-subnet\"\r\n },\r\n \"administratorLogin\": \"untrueDonkey7\",\r\n \"administratorLoginPassword\": \"rvS}C/[CdGBTo[{=\",\r\n \"version\": \"5.7\"\r\n }\r\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "578" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/b6f01090-de61-4d65-8212-6d6286635176?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/b6f01090-de61-4d65-8212-6d6286635176?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "7c0ad063-a693-4276-99ab-d58f25dcd7ba" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "39c0e80c-e7df-4347-97f1-c087a10243a4" ], + "x-ms-routing-request-id": [ "WESTUS:20201210T225903Z:39c0e80c-e7df-4347-97f1-c087a10243a4" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 22:59:02 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "88" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-12-10T22:59:03.657Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/b6f01090-de61-4d65-8212-6d6286635176?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/b6f01090-de61-4d65-8212-6d6286635176?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "3" ], + "x-ms-client-request-id": [ "a89888ed-b9e9-45f8-8900-615d56a31705" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "e8dc04f9-c4cb-4b5b-b29b-61ec2de5ef77" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-correlation-request-id": [ "0088f14d-88ca-4850-a811-a908ec9451b6" ], + "x-ms-routing-request-id": [ "WESTUS:20201210T230004Z:0088f14d-88ca-4850-a811-a908ec9451b6" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 23:00:03 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"b6f01090-de61-4d65-8212-6d6286635176\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T22:59:03.657Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/b6f01090-de61-4d65-8212-6d6286635176?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/b6f01090-de61-4d65-8212-6d6286635176?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "a89888ed-b9e9-45f8-8900-615d56a31705" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "500624b6-995c-47df-9d47-01ae65cfcd4e" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-correlation-request-id": [ "474d0a15-8142-4691-a5f6-38352e690470" ], + "x-ms-routing-request-id": [ "WESTUS:20201210T230104Z:474d0a15-8142-4691-a5f6-38352e690470" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 23:01:03 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"b6f01090-de61-4d65-8212-6d6286635176\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T22:59:03.657Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/b6f01090-de61-4d65-8212-6d6286635176?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/b6f01090-de61-4d65-8212-6d6286635176?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "5" ], + "x-ms-client-request-id": [ "a89888ed-b9e9-45f8-8900-615d56a31705" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "5c1475fa-2630-4121-b05e-7adae3864246" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-correlation-request-id": [ "3c2127fd-22cf-4813-9281-f4e888fd3509" ], + "x-ms-routing-request-id": [ "WESTUS:20201210T230204Z:3c2127fd-22cf-4813-9281-f4e888fd3509" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 23:02:03 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"b6f01090-de61-4d65-8212-6d6286635176\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T22:59:03.657Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/b6f01090-de61-4d65-8212-6d6286635176?api-version=2020-07-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/b6f01090-de61-4d65-8212-6d6286635176?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "6" ], + "x-ms-client-request-id": [ "a89888ed-b9e9-45f8-8900-615d56a31705" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "176b0291-054b-4ac5-8c6c-982d394196b1" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "ce23513c-d98a-44dd-aeae-cc3f88b6ba23" ], + "x-ms-routing-request-id": [ "WESTUS:20201210T230304Z:ce23513c-d98a-44dd-aeae-cc3f88b6ba23" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 23:03:04 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"b6f01090-de61-4d65-8212-6d6286635176\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T22:59:03.657Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/b6f01090-de61-4d65-8212-6d6286635176?api-version=2020-07-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/b6f01090-de61-4d65-8212-6d6286635176?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "7" ], + "x-ms-client-request-id": [ "a89888ed-b9e9-45f8-8900-615d56a31705" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "78dee032-af38-42c5-9c9e-ed6130acf33a" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-correlation-request-id": [ "41e95dec-7895-4626-afb4-11c6c81b6352" ], + "x-ms-routing-request-id": [ "WESTUS:20201210T230404Z:41e95dec-7895-4626-afb4-11c6c81b6352" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 23:04:04 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"b6f01090-de61-4d65-8212-6d6286635176\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T22:59:03.657Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/b6f01090-de61-4d65-8212-6d6286635176?api-version=2020-07-01-preview+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/b6f01090-de61-4d65-8212-6d6286635176?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "8" ], + "x-ms-client-request-id": [ "a89888ed-b9e9-45f8-8900-615d56a31705" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "3d942726-cb9e-429f-832c-92dac613709d" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "4ff0fd9b-adba-4f2f-b179-08efb905c79d" ], + "x-ms-routing-request-id": [ "WESTUS:20201210T230504Z:4ff0fd9b-adba-4f2f-b179-08efb905c79d" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 23:05:04 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"b6f01090-de61-4d65-8212-6d6286635176\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T22:59:03.657Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/b6f01090-de61-4d65-8212-6d6286635176?api-version=2020-07-01-preview+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/b6f01090-de61-4d65-8212-6d6286635176?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "9" ], + "x-ms-client-request-id": [ "a89888ed-b9e9-45f8-8900-615d56a31705" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "59c8a352-4f03-488a-a295-55643ff90319" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "972c956f-0972-4186-9006-2091eff949d8" ], + "x-ms-routing-request-id": [ "WESTUS:20201210T230605Z:972c956f-0972-4186-9006-2091eff949d8" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 23:06:04 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"b6f01090-de61-4d65-8212-6d6286635176\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T22:59:03.657Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/b6f01090-de61-4d65-8212-6d6286635176?api-version=2020-07-01-preview+9": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/b6f01090-de61-4d65-8212-6d6286635176?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "10" ], + "x-ms-client-request-id": [ "a89888ed-b9e9-45f8-8900-615d56a31705" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "f9543da6-ba6b-4810-897f-2591aeb47ddb" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "6f8108c0-ddcb-4045-b56e-842f0ac7ff2a" ], + "x-ms-routing-request-id": [ "WESTUS:20201210T230705Z:6f8108c0-ddcb-4045-b56e-842f0ac7ff2a" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 23:07:04 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"b6f01090-de61-4d65-8212-6d6286635176\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T22:59:03.657Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/b6f01090-de61-4d65-8212-6d6286635176?api-version=2020-07-01-preview+10": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/b6f01090-de61-4d65-8212-6d6286635176?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "11" ], + "x-ms-client-request-id": [ "a89888ed-b9e9-45f8-8900-615d56a31705" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "0b90a2d9-d36d-4fa0-b0a9-bdfafec8674e" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-correlation-request-id": [ "c12b8a61-5917-417d-8bf9-59afc4f69579" ], + "x-ms-routing-request-id": [ "WESTUS:20201210T230805Z:c12b8a61-5917-417d-8bf9-59afc4f69579" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 23:08:05 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"b6f01090-de61-4d65-8212-6d6286635176\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T22:59:03.657Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/b6f01090-de61-4d65-8212-6d6286635176?api-version=2020-07-01-preview+11": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/b6f01090-de61-4d65-8212-6d6286635176?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "12" ], + "x-ms-client-request-id": [ "a89888ed-b9e9-45f8-8900-615d56a31705" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "3d60164d-8ba4-430c-b7d5-78766e3fefbb" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], + "x-ms-correlation-request-id": [ "97465847-8239-47fc-aab8-eb9058d32ed4" ], + "x-ms-routing-request-id": [ "WESTUS:20201210T230905Z:97465847-8239-47fc-aab8-eb9058d32ed4" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 23:09:05 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"b6f01090-de61-4d65-8212-6d6286635176\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T22:59:03.657Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/b6f01090-de61-4d65-8212-6d6286635176?api-version=2020-07-01-preview+12": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/b6f01090-de61-4d65-8212-6d6286635176?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "13" ], + "x-ms-client-request-id": [ "a89888ed-b9e9-45f8-8900-615d56a31705" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "1852d5c8-901b-457b-ad73-b1cac8df0e6c" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-correlation-request-id": [ "dfef90c9-beec-423e-80ad-4804c7d1217c" ], + "x-ms-routing-request-id": [ "WESTUS:20201210T231025Z:dfef90c9-beec-423e-80ad-4804c7d1217c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 23:10:24 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"b6f01090-de61-4d65-8212-6d6286635176\",\"status\":\"Succeeded\",\"startTime\":\"2020-12-10T22:59:03.657Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2222?api-version=2020-07-01-preview+13": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2222?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "14" ], + "x-ms-client-request-id": [ "a89888ed-b9e9-45f8-8900-615d56a31705" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "e5c496a1-386b-4729-b2f4-b9efe94f07a7" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-correlation-request-id": [ "7a6b5f29-9f99-4265-9780-8122bdb69421" ], + "x-ms-routing-request-id": [ "WESTUS:20201210T231025Z:7a6b5f29-9f99-4265-9780-8122bdb69421" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 23:10:24 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1180" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"untrueDonkey7\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-2222.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-10T23:10:25.6015349+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/mysqlvnet/subnets/mysql-test-subnet\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-2222\",\"name\":\"mysql-test-100-2222\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2222?api-version=2020-07-01-preview+14": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2222?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "18" ], + "x-ms-client-request-id": [ "e288adba-4a88-4d70-8f9e-a9b265df82b7" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/e4ce4e47-f4ab-401d-ac72-8a94035eaad6?api-version=2020-07-01-preview" ], + "Retry-After": [ "15" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/e4ce4e47-f4ab-401d-ac72-8a94035eaad6?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "e4ce4e47-f4ab-401d-ac72-8a94035eaad6" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "x-ms-correlation-request-id": [ "cc8d96bd-7b23-4a5a-ab0c-0a4cf4205bca" ], + "x-ms-routing-request-id": [ "WESTUS:20201210T233121Z:cc8d96bd-7b23-4a5a-ab0c-0a4cf4205bca" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 23:31:20 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "84" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"DropServerManagementOperation\",\"startTime\":\"2020-12-10T23:31:21.367Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/e4ce4e47-f4ab-401d-ac72-8a94035eaad6?api-version=2020-07-01-preview+15": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/e4ce4e47-f4ab-401d-ac72-8a94035eaad6?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "19" ], + "x-ms-client-request-id": [ "e288adba-4a88-4d70-8f9e-a9b265df82b7" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "80d4fe57-7ee8-46af-885f-dd4d0a7501f2" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "414472c1-0ada-4a4e-954a-e42ac9380db7" ], + "x-ms-routing-request-id": [ "WESTUS:20201210T233136Z:414472c1-0ada-4a4e-954a-e42ac9380db7" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 23:31:35 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"e4ce4e47-f4ab-401d-ac72-8a94035eaad6\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T23:31:21.367Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/e4ce4e47-f4ab-401d-ac72-8a94035eaad6?api-version=2020-07-01-preview+16": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/e4ce4e47-f4ab-401d-ac72-8a94035eaad6?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "20" ], + "x-ms-client-request-id": [ "e288adba-4a88-4d70-8f9e-a9b265df82b7" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "585827e1-3a7b-444b-b3d6-7b2a9eda5284" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "b9d3661e-9e6b-4a0a-b494-f42b301075d4" ], + "x-ms-routing-request-id": [ "WESTUS:20201210T233151Z:b9d3661e-9e6b-4a0a-b494-f42b301075d4" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 23:31:51 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"e4ce4e47-f4ab-401d-ac72-8a94035eaad6\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T23:31:21.367Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/e4ce4e47-f4ab-401d-ac72-8a94035eaad6?api-version=2020-07-01-preview+17": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/e4ce4e47-f4ab-401d-ac72-8a94035eaad6?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "21" ], + "x-ms-client-request-id": [ "e288adba-4a88-4d70-8f9e-a9b265df82b7" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "4647fa4d-d853-46ab-a086-f7ae80b2b892" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-correlation-request-id": [ "7d57f533-ec31-4786-89e1-9873f85191b8" ], + "x-ms-routing-request-id": [ "WESTUS:20201210T233206Z:7d57f533-ec31-4786-89e1-9873f85191b8" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 23:32:06 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"e4ce4e47-f4ab-401d-ac72-8a94035eaad6\",\"status\":\"Succeeded\",\"startTime\":\"2020-12-10T23:31:21.367Z\"}" + } + }, + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/operationResults/e4ce4e47-f4ab-401d-ac72-8a94035eaad6?api-version=2020-07-01-preview+18": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/e4ce4e47-f4ab-401d-ac72-8a94035eaad6?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "22" ], + "x-ms-client-request-id": [ "e288adba-4a88-4d70-8f9e-a9b265df82b7" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "b6115a81-6768-40d8-be31-b1e4b7097fff" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], + "x-ms-correlation-request-id": [ "d8050187-e1f2-430f-aac9-ad4baa1da3db" ], + "x-ms-routing-request-id": [ "WESTUS:20201210T233206Z:d8050187-e1f2-430f-aac9-ad4baa1da3db" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Thu, 10 Dec 2020 23:32:06 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + } +} \ No newline at end of file diff --git a/src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 b/src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 index 9c1812067136..3264927da684 100644 --- a/src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 +++ b/src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 @@ -15,166 +15,275 @@ $DEFAULT_DB_NAME = 'flexibleserverdb' $DELEGATION_SERVICE_NAME = "Microsoft.DBforMySQL/flexibleServers" $DEFAULT_VNET_PREFIX = '10.0.0.0/16' $DEFAULT_SUBNET_PREFIX = '10.0.0.0/24' -Import-Module -Name Az.Network -RequiredVersion 3.0.0 -Import-Module -Name Az.Resources -RequiredVersion 2.0.1 +Import-Module -Name Az.Network +Import-Module -Name Az.Resources Describe 'New-AzMySqlFlexibleServer' { - function ValidateSubnetVnet($Server, $Subnet){ + function WaitServerDelete(){ + If ($TestMode -eq 'live' -or $TestMode -eq 'record') { + Start-Sleep -Seconds 450 + } + } + function ValidateSubnetVnet($Server, $VnetName, $SubnetName){ + $Vnet = Get-AzVirtualNetwork -Name $VNetName -ResourceGroupName $env.resourceGroup + $Subnet = Get-AzVirtualNetworkSubnetConfig -Name $SubnetName -VirtualNetwork $Vnet + $Server.DelegatedSubnetArgumentSubnetArmResourceId | Should -Be $Subnet.Id $Delegation = Get-AzDelegation -Name Microsoft.DBforMySQL/flexibleServers -Subnet $Subnet $Delegation.ServiceName | Should -Be $DELEGATION_SERVICE_NAME } - function RemoveServerVnet($Vnet, $Subnet){ - Remove-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName2 - Start-Sleep -Seconds 450 + function RemoveServerVnet($ServerName, $VnetName, $SubnetName){ + $Vnet = Get-AzVirtualNetwork -Name $VNetName -ResourceGroupName $env.resourceGroup + $Subnet = Get-AzVirtualNetworkSubnetConfig -Name $SubnetName -VirtualNetwork $Vnet + + Remove-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $ServerName + WaitServerDelete $Subnet = Remove-AzDelegation -Name $DELEGATION_SERVICE_NAME -Subnet $Subnet Set-AzVirtualNetwork -VirtualNetwork $Vnet Remove-AzVirtualNetwork -Name $Vnet.Name -ResourceGroupName $env.resourceGroup -Force } - # It 'CreateExpanded' { - # { - # [SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] - # $password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force - # $server = New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -AdministratorUserName mysql_test -AdministratorLoginPassword $password -Sku Standard_D2ds_v4 -SkuTier GeneralPurpose -BackupRetentionDay 12 -StorageInMb 102400 -Location eastus2 - # $server.SkuName | Should -Be "Standard_D2ds_v4" - # $server.SkuTier | Should -Be "GeneralPurpose" - # $server.StorageProfileStorageMb | Should -Be 102400 - # $server.StorageProfileBackupRetentionDay | Should -Be 12 - - # } | Should -Not -Throw - # } - - # It 'PublicAccessScenario' { - # { - # # Public Access 0.0.0.0 - # New-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName2 -PublicAccess 0.0.0.0 - # $FirewallRules = Get-AzMySqlFlexibleServerFirewallRule -ResourceGroupName $env.resourceGroup -ServerName $env.serverName2 - # $FirewallRules[0].Name | Should -BeLike "AllowAllAzureServicesAndResourcesWithinAzureIps*" - # $FirewallRules[0].StartIPAddress | Should -Be "0.0.0.0" - # $FirewallRules[0].EndIPAddress | Should -Be "0.0.0.0" - # Remove-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName2 - - # # Public Access 10.10.10.10-10.10.10.12 - # New-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName2 -PublicAccess 10.10.10.10-10.10.10.12 - # $FirewallRules = Get-AzMySqlFlexibleServerFirewallRule -ResourceGroupName $env.resourceGroup -ServerName $env.serverName2 - # $FirewallRules[0].Name | Should -BeLike "FirewallIPAddress*" - # $FirewallRules[0].StartIPAddress | Should -Be "10.10.10.10" - # $FirewallRules[0].EndIPAddress | Should -Be "10.10.10.12" - # Remove-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName2 - - # Public Access All - # New-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName2 -PublicAccess All - # $FirewallRules = Get-AzMySqlFlexibleServerFirewallRule -ResourceGroupName $env.resourceGroup -ServerName $env.serverName2 - # $FirewallRules[0].Name | Should -BeLike "AllowAll*" - # $FirewallRules[0].StartIPAddress | Should -Be "0.0.0.0" - # $FirewallRules[0].EndIPAddress | Should -Be "255.255.255.255" - # Remove-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName2 - - # } | Should -Not -Throw - # } - - # It 'NoArgumentsScenario' { - # { - # $Server = New-AzMySqlFlexibleServer - # $Splits = $Server.Id -Split "/" - # $ResourceGroupName = $Splits[4] - - # $SubnetName = 'Subnet' + $Server.Name - # $Subnet = Get-AzVirtualNetwork -Name Vnet + $Server.Name -ResourceGroupName $ResourceGroupName | Get-AzVirtualNetworkSubnetConfig -Name $SubnetName + It 'CreateExpanded' { + { + If ($TestMode -eq 'live' -or $TestMode -eq 'record') { + # [SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] + $password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force + $server = New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -AdministratorUserName mysql_test -AdministratorLoginPassword $password -Sku Standard_D2ds_v4 -SkuTier GeneralPurpose -BackupRetentionDay 12 -StorageInMb 102400 -Location eastus2 + $server.SkuName | Should -Be "Standard_D2ds_v4" + $server.SkuTier | Should -Be "GeneralPurpose" + $server.StorageProfileStorageMb | Should -Be 102400 + $server.StorageProfileBackupRetentionDay | Should -Be 12 + } + } | Should -Not -Throw + } - # $Server.SkuName | Should -Be "Standard_B1ms" - # $Server.SkuTier | Should -Be "Burstable" - # $Server.StorageProfileStorageMb | Should -Be 10240 - # $Server.StorageProfileBackupRetentionDay | Should -Be 7 - # $Server.Location | Should -Be "West US 2" + It 'PublicAccessScenario-AllAzure' { + { + If ($TestMode -eq 'live' -or $TestMode -eq 'record') { + # Public Access 0.0.0.0 + New-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName2 -PublicAccess 0.0.0.0 + $FirewallRules = Get-AzMySqlFlexibleServerFirewallRule -ResourceGroupName $env.resourceGroup -ServerName $env.serverName2 + $FirewallRules[0].Name | Should -BeLike "AllowAllAzureServicesAndResourcesWithinAzureIps*" + $FirewallRules[0].StartIPAddress | Should -Be "0.0.0.0" + $FirewallRules[0].EndIPAddress | Should -Be "0.0.0.0" + Remove-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName2 + WaitServerDelete + } + } | Should -Not -Throw + } - # ValidateSubnetVnet $Server $Subnet - # RemoveServerVnet $Server $Vnet $Subnet + It 'PublicAccessScenario-FirewallRule' { + { + If ($TestMode -eq 'live' -or $TestMode -eq 'record') { + # Public Access 10.10.10.10-10.10.10.12 + New-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName3 -PublicAccess 10.10.10.10-10.10.10.12 + $FirewallRules = Get-AzMySqlFlexibleServerFirewallRule -ResourceGroupName $env.resourceGroup -ServerName $env.serverName3 + $FirewallRules[0].Name | Should -BeLike "FirewallIPAddress*" + $FirewallRules[0].StartIPAddress | Should -Be "10.10.10.10" + $FirewallRules[0].EndIPAddress | Should -Be "10.10.10.12" + Remove-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName3 + WaitServerDelete + } + } | Should -Not -Throw + } - # } | Should -Not -Throw - # } + It 'PublicAccessScenario-AllowAll' { + { + If ($TestMode -eq 'live' -or $TestMode -eq 'record') { + # Public Access All + New-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName2 -PublicAccess All + $FirewallRules = Get-AzMySqlFlexibleServerFirewallRule -ResourceGroupName $env.resourceGroup -ServerName $env.serverName2 + $FirewallRules[0].Name | Should -BeLike "AllowAll*" + $FirewallRules[0].StartIPAddress | Should -Be "0.0.0.0" + $FirewallRules[0].EndIPAddress | Should -Be "255.255.255.255" + Remove-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName2 + WaitServerDelete + } + } | Should -Not -Throw + } - It 'VnetIdScenario' { + It 'NoArgumentsScenario' { { - # valid vnet Id and the vnet exists (subnet does not exist) - # $Vnet = New-AzVirtualNetwork -Name $env.VNetName -ResourceGroupName $env.resourceGroup -Location $env.Location -AddressPrefix $DEFAULT_VNET_PREFIX -Force - # New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Vnet $Vnet.Id - # $Subnet = Get-AzVirtualNetworkSubnetConfig -ResourceId "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.Network/virtualNetworks/$($env.VNetName)/subnets/Subnet$($env.serverName2)" - # $Server = Get-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup - - # ValidateSubnetVnet $Server $Subnet - # RemoveServerVnet $Vnet $Subnet - - # valid vnet Id but the vnet doesn't exist => Re Record - $VnetId = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.Network/virtualNetworks/nonexistingvnetforpowershelltest" - New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Vnet $VnetId - $Server = Get-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup + If ($TestMode -eq 'live' -or $TestMode -eq 'record') { + $Server = New-AzMySqlFlexibleServer + $Splits = $Server.Id -Split "/" + $ResourceGroupName = $Splits[4] + $SubnetName = 'Subnet' + $Server.Name + $VnetName = 'VNET' + $Server.Name + $Vnet = Get-AzVirtualNetwork -Name $VnetName -ResourceGroupName $ResourceGroupName + $Subnet = Get-AzVirtualNetworkSubnetConfig -Name $SubnetName -VirtualNetwork $Vnet - $Vnet = Get-AzVirtualNetwork -Name $env.VNetName -ResourceGroupName $env.resourceGroup - $SubnetId = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.Network/virtualNetworks/nonexistingvnetforpowershelltest" + "/subnets/Subnet$($env.serverName2)" - $Subnet = Get-AzVirtualNetworkSubnetConfig -ResourceId $SubnetId - - ValidateSubnetVnet $Server $Subnet - RemoveServerVnet $Vnet $Subnet + $Server.SkuName | Should -Be "Standard_B1ms" + $Server.SkuTier | Should -Be "Burstable" + $Server.StorageProfileStorageMb | Should -Be 10240 + $Server.StorageProfileBackupRetentionDay | Should -Be 7 + $Server.Location | Should -Be "West US 2" + $Vnet = Get-AzVirtualNetwork -Name $VNetName -ResourceGroupName $ResourceGroupName + $Subnet = Get-AzVirtualNetworkSubnetConfig -Name $SubnetName -VirtualNetwork $Vnet + + $Server.DelegatedSubnetArgumentSubnetArmResourceId | Should -Be $Subnet.Id + $Delegation = Get-AzDelegation -Name Microsoft.DBforMySQL/flexibleServers -Subnet $Subnet + $Delegation.ServiceName | Should -Be $DELEGATION_SERVICE_NAME + + Remove-AzMySqlFlexibleServer -ResourceGroupName $ResourceGroupName -Name $Server.Name + WaitServerDelete + $Subnet = Remove-AzDelegation -Name $DELEGATION_SERVICE_NAME -Subnet $Subnet + Set-AzVirtualNetwork -VirtualNetwork $Vnet + Remove-AzVirtualNetwork -Name $Vnet.Name -ResourceGroupName $ResourceGroupName -Force + Remove-AzResourceGroup -Name $ResourceGroupName + } } | Should -Not -Throw + } + + It 'VnetNameScenario-ValidVnet' { { - # invalid vnet Id - $VnetId = "/subscriptions/00000-000-000000000000/resourceGroups/providers/Microsoft.Network/virtualNetworks/Vnet/Wrong/Vnet/itis" - New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Vnet $VnetId - } | Should -Throw + If ($TestMode -eq 'live' -or $TestMode -eq 'record') { + # valid vnet name and the vnet exists + $Vnet = New-AzVirtualNetwork -Name $env.VNetName -ResourceGroupName $env.resourceGroup -Location $env.location -AddressPrefix $DEFAULT_VNET_PREFIX -Force + $Server = New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Vnet $Vnet.Name + + $SubnetName = 'Subnet' + $Server.Name + ValidateSubnetVnet $Server $env.VNetName $SubnetName + RemoveServerVnet $env.serverName2 $env.VNetName $SubnetName + } + } | Should -Not -Throw } - It 'SubnetIdScenario' { + It 'VnetNameScenario-ValidVnetNotExist' { { - # valid subnet Id and the subnet exists without delegation - $Subnet = New-AzVirtualNetworkSubnetConfig -Name $env.SubnetName -AddressPrefix $DEFAULT_SUBNET_PREFIX - $Vnet = New-AzVirtualNetwork -Name $env.VNetName -ResourceGroupName $env.resourceGroup -Location $env.location -AddressPrefix $DEFAULT_VNET_PREFIX -Subnet $Subnet -Force - New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Subnet $Subnet.Id - $Server = Get-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup - $Subnet = Get-AzVirtualNetworkSubnetConfig -Name $env.SubnetName -VirtualNetwork $Vnet + If ($TestMode -eq 'live' -or $TestMode -eq 'record') { + # valid vnet name but the vnet doesn't exist + $Server = New-AzMySqlFlexibleServer -Name $env.serverName3 -ResourceGroupName $env.resourceGroup -Vnet nonexistingvnetforpowershelltest + + $SubnetName = 'Subnet' + $Server.Name + ValidateSubnetVnet $Server nonexistingvnetforpowershelltest $SubnetName + RemoveServerVnet $env.serverName3 nonexistingvnetforpowershelltest $SubnetName + } + } | Should -Not -Throw + } - ValidateSubnetVnet $Server $Subnet - RemoveServerVnet $Vnet $Subnet + It 'VnetNameScenario-InvalidVnet' { + { + # invalid vnet name + $InvalidName = "hi/df!@$@#$@" + New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Vnet $InvalidName + } | Should -Throw + } - # valid subnet Id and the subnet exists without delegation, different resource group - $Subnet = New-AzVirtualNetworkSubnetConfig -Name $env.SubnetName -AddressPrefix $DEFAULT_SUBNET_PREFIX - $Vnet = New-AzVirtualNetwork -Name $env.VNetName -ResourceGroupName MySqlTest2 -Location $env.location -AddressPrefix $DEFAULT_VNET_PREFIX -Subnet $Subnet -Force - New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Vnet $Vnet.Id - $Server = Get-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup - $Subnet = Get-AzVirtualNetworkSubnetConfig -Name $env.SubnetName -VirtualNetwork $Vnet + It 'VnetIdScenario-ValidVnet' { + { + If ($TestMode -eq 'live' -or $TestMode -eq 'record') { + # valid vnet Id but the vnet doesn't exist + $VnetId = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.Network/virtualNetworks/nonexistingvnetforpowershelltest" + $Server = New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Vnet $VnetId - ValidateSubnetVnet $Server $Subnet - RemoveServerVnet $Vnet $Subnet + $SubnetName = 'Subnet' + $Server.Name + ValidateSubnetVnet $Server nonexistingvnetforpowershelltest $SubnetName + RemoveServerVnet $env.serverName2 nonexistingvnetforpowershelltest $SubnetName + } + } | Should -Not -Throw + } - # valid subnet Id and the subnet exists with delegation - $Subnet = New-AzVirtualNetworkSubnetConfig -Name $env.SubnetName -AddressPrefix $DEFAULT_SUBNET_PREFIX - $Vnet = New-AzVirtualNetwork -Name $env.VNetName -ResourceGroupName $env.resourceGroup -Location $env.location -AddressPrefix $DEFAULT_VNET_PREFIX -Subnet $Subnet -Force - $Subnet = Add-AzDelegation -Name $DELEGATION_SERVICE_NAME -ServiceName $DELEGATION_SERVICE_NAME -Subnet $Subnet -Force - Set-AzVirtualNetwork -VirtualNetwork $Vnet - New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Subnet $Subnet.Id - $Server = Get-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup - $Subnet = Get-AzVirtualNetworkSubnetConfig -Name $env.SubnetName -VirtualNetwork $Vnet + It 'VnetIdScenario-ValidVnetNotExist' { + { + If ($TestMode -eq 'live' -or $TestMode -eq 'record') { + # valid vnet Id and the vnet exists (subnet does not exist) + $Vnet = New-AzVirtualNetwork -Name $env.VNetName -ResourceGroupName $env.resourceGroup -Location $env.Location -AddressPrefix $DEFAULT_VNET_PREFIX -Force + $Server = New-AzMySqlFlexibleServer -Name $env.serverName3 -ResourceGroupName $env.resourceGroup -Vnet $Vnet.Id + + $SubnetName = 'Subnet' + $Server.Name + ValidateSubnetVnet $Server $env.VNetName $SubnetName + RemoveServerVnet $env.serverName3 $env.VNetName $SubnetName + } + } | Should -Not -Throw + } - ValidateSubnetVnet $Server $Subnet - RemoveServerVnet $Vnet $Subnet + It 'VnetIdScenario-InvalidVnet' { + { + # invalid vnet Id + $VnetId = "/subscriptions/00000-000-000000000000/resourceGroups/providers/Microsoft.Network/virtualNetworks/Vnet/Wrong/Vnet/itis" + New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Vnet $VnetId + } | Should -Throw + } + + It 'SubnetIdScenario-ValidSubnet' { + { + If ($TestMode -eq 'live' -or $TestMode -eq 'record') { + # valid subnet Id and the subnet exists without delegation + $Subnet = New-AzVirtualNetworkSubnetConfig -Name $env.SubnetName -AddressPrefix $DEFAULT_SUBNET_PREFIX + New-AzVirtualNetwork -Name $env.VNetName -ResourceGroupName $env.resourceGroup -Location $env.location -AddressPrefix $DEFAULT_VNET_PREFIX -Subnet $Subnet -Force + $SubnetId = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.Network/virtualNetworks/$($env.VNetName)" + "/subnets/$($env.SubnetName)" + $Server = New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Subnet $SubnetId + + ValidateSubnetVnet $Server $env.VNetName $env.SubnetName + RemoveServerVnet $env.serverName2 $env.VNetName $env.SubnetName + } + } | Should -Not -Throw + } - # valid subnet Id but the subnet doesn't exist - $SubnetId = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.Network/virtualNetworks\nonexistingvnetforpowershelltest/subnets/nonexistingsubnetforpowershelltest" - New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Subnet $SubnetId - $Subnet = Get-AzVirtualNetworkSubnetConfig -ResourceId $SubnetId - $Server = Get-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup + It 'SubnetIdScenario-ValidSubnetDifferentRg' { + { + If ($TestMode -eq 'live' -or $TestMode -eq 'record') { + # valid subnet Id and the subnet exists without delegation, different resource group + New-AzResourceGroup -Name MySqlTest2 -Location $env.location + $Subnet = New-AzVirtualNetworkSubnetConfig -Name $env.SubnetName -AddressPrefix $DEFAULT_SUBNET_PREFIX + $Vnet = New-AzVirtualNetwork -Name $env.VNetName -ResourceGroupName MySqlTest2 -Location $env.location -AddressPrefix $DEFAULT_VNET_PREFIX -Subnet $Subnet -Force + $Subnet = Get-AzVirtualNetworkSubnetConfig -Name $env.SubnetName -VirtualNetwork $Vnet + $Server = New-AzMySqlFlexibleServer -Name $env.serverName3 -ResourceGroupName $env.resourceGroup -Subnet $Subnet.Id + + $Vnet = Get-AzVirtualNetwork -Name $env.VNetName -ResourceGroupName MySqlTest2 + $Subnet = Get-AzVirtualNetworkSubnetConfig -Name $env.SubnetName -VirtualNetwork $Vnet + + $Server.DelegatedSubnetArgumentSubnetArmResourceId | Should -Be $Subnet.Id + $Delegation = Get-AzDelegation -Name Microsoft.DBforMySQL/flexibleServers -Subnet $Subnet + $Delegation.ServiceName | Should -Be $DELEGATION_SERVICE_NAME + + Remove-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName3 + WaitServerDelete + $Subnet = Remove-AzDelegation -Name $DELEGATION_SERVICE_NAME -Subnet $Subnet + Set-AzVirtualNetwork -VirtualNetwork $Vnet + Remove-AzVirtualNetwork -Name $Vnet.Name -ResourceGroupName MySqlTest2 -Force + } + } | Should -Not -Throw + } - ValidateSubnetVnet $Server $Subnet - RemoveServerVnet $Vnet $Subnet + It 'SubnetIdScenario-ValidSubnetDelegation' { + { + If ($TestMode -eq 'live' -or $TestMode -eq 'record') { + # valid subnet Id and the subnet exists with delegation + $Subnet = New-AzVirtualNetworkSubnetConfig -Name $env.SubnetName -AddressPrefix $DEFAULT_SUBNET_PREFIX + $Vnet = New-AzVirtualNetwork -Name $env.VNetName -ResourceGroupName $env.resourceGroup -Location $env.location -AddressPrefix $DEFAULT_VNET_PREFIX -Subnet $Subnet -Force + $Subnet = Add-AzDelegation -Name $DELEGATION_SERVICE_NAME -ServiceName $DELEGATION_SERVICE_NAME -Subnet $Subnet + $Vnet | Set-AzVirtualNetwork + $Subnet = Get-AzVirtualNetworkSubnetConfig -Name $env.SubnetName -VirtualNetwork $Vnet + $Server = New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Subnet $Subnet.Id + + ValidateSubnetVnet $Server $env.VNetName $env.SubnetName + RemoveServerVnet $env.serverName2 $env.VNetName $env.SubnetName + } } | Should -Not -Throw + } + + It 'SubnetIdScenario-ValidSubnetNotExist' { + { + If ($TestMode -eq 'live' -or $TestMode -eq 'record') { + # valid subnet Id but the subnet doesn't exist + $SubnetId = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.Network/virtualNetworks/nonexistingvnetforpowershelltest/subnets/nonexistingsubnetforpowershelltest" + $Server = New-AzMySqlFlexibleServer -Name $env.serverName3 -ResourceGroupName $env.resourceGroup -Subnet $SubnetId + + ValidateSubnetVnet $Server nonexistingvnetforpowershelltest nonexistingsubnetforpowershelltest + RemoveServerVnet $env.serverName3 nonexistingvnetforpowershelltest nonexistingsubnetforpowershelltest + } + } | Should -Not -Throw + } + + It 'SubnetIdScenario-InvalidSubnet' { { # invalid subnet Id $SubnetId = "/subscriptions/00000-000-000000000000/resourceGroups/providers/Microsoft.Network/VirtualNetworks/Wrong/subnetss/wrong" New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Subnet $SubnetId - } | Should -Throw { # invalid delegation on the subnet @@ -182,56 +291,35 @@ Describe 'New-AzMySqlFlexibleServer' { $Vnet = New-AzVirtualNetwork -Name $env.VNetName -ResourceGroupName $env.resourceGroup -Location $env.location -AddressPrefix $DEFAULT_VNET_PREFIX -Subnet $Subnet -Force $Subnet = Add-AzDelegation -Name "faultydelegation" -ServiceName "Microsoft.Sql/servers" -Subnet $Subnet Set-AzVirtualNetwork -VirtualNetwork $Vnet - New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Subnet $Subnet.Id - } | Should -Throw - $Subnet = Remove-AzDelegation -Name "faultydelegation" -Subnet $Subnet - Set-AzVirtualNetwork $Vnet - Remove-AzVirtualNetwork -Name $Vnet.Name -ResourceGroupName $env.resourceGroup + $Subnet = Get-AzVirtualNetworkSubnetConfig -Name $env.SubnetName -VirtualNetwork $Vnet + New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Subnet $Subnet.Id | Should -Throw + Remove-AzDelegation -Name "faultydelegation" -Subnet $Subnet + Set-AzVirtualNetwork $Vnet + Remove-AzVirtualNetwork -Name $Vnet.Name -ResourceGroupName $env.resourceGroup + } } - It 'VnetNameScenario' { + It 'VnetSubnetScenario-ValidVnetSubnetNotExist' { { - # valid vnet name and the vnet exists - $Vnet = New-AzVirtualNetwork -Name $env.VNetName -ResourceGroupName $env.resourceGroup -Location $env.location -AddressPrefix $DEFAULT_VNET_PREFIX -Force - New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Vnet $Vnet.Name - $Server = Get-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup - - $Subnet = Get-AzVirtualNetworkSubnetConfig -ResourceId "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.Network/virtualNetworks/$($env.VNetName)/subnets/Subnet$($env.serverName2)" - ValidateSubnetVnet $Server $Subnet - RemoveServerVnet $Vnet $Subnet - - # valid vnet name but the vnet doesn't exist - New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Vnet nonexistingvnetforpowershelltest - $Subnet = Get-AzVirtualNetworkSubnetConfig -ResourceId "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.Network/virtualNetworks/nonexistingvnetforpowershelltest/subnets/Subnet$($env.serverName2)" - $Server = Get-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup - - ValidateSubnetVnet $Server $Subnet - RemoveServerVnet $Vnet $Subnet + If ($TestMode -eq 'live' -or $TestMode -eq 'record') { + # vnet name and subnet name resource do not exist + $Server = New-AzMySqlFlexibleServer -Name $env.serverName3 -ResourceGroupName $env.resourceGroup -Vnet $env.VNetName -Subnet $env.SubnetName -VnetPrefix $DEFAULT_VNET_PREFIX -SubnetPrefix $DEFAULT_SUBNET_PREFIX + + ValidateSubnetVnet $Server $env.VNetName $env.SubnetName + Remove-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName3 + } } | Should -Not -Throw - { - # invalid vnet name - $InvalidName = "hi/df!@$@#$@" - New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Vnet $InvalidName - } | Should -Throw } - It 'VnetSubnetScenario' { + It 'VnetSubnetScenario-ValidVnetSubnet' { { - # vnet name and subnet name resource do not exist - New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Vnet $env.VNetName -Subnet $env.SubnetName -VnetPrefix $DEFAULT_VNET_PREFIX -SubnetPrefix $DEFAULT_SUBNET_PREFIX - $Vnet = Get-AzVirtualNetwork -Name $env.VNetName -ResourceGroupName $env.resourceGroup - $Subnet = Get-AzVirtualNetworkSubnetConfig -Name $env.SubnetName -VirtualNetwork $Vnet - $Server = Get-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup - - ValidateSubnetVnet $Server $Subnet - Remove-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName2 - - # vnet name and subnet name, resource exist - New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Vnet $env.VNetName -Subnet $env.SubnetName -VnetPrefix $DEFAULT_VNET_PREFIX -SubnetPrefix $DEFAULT_SUBNET_PREFIX - $Server = Get-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup + If ($TestMode -eq 'live' -or $TestMode -eq 'record') { + # vnet name and subnet name, resource exist + $Server = New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Vnet $env.VNetName -Subnet $env.SubnetName - ValidateSubnetVnet $Server $Subnet - RemoveServerVnet $Vnet $Subnet + ValidateSubnetVnet $Server $env.VNetName $env.SubnetName + RemoveServerVnet $env.serverName2 $env.VNetName $env.SubnetName + } } | Should -Not -Throw } } diff --git a/src/MySql/test/env.json b/src/MySql/test/env.json index 0dd2f106c91d..c1e9fc13eabd 100644 --- a/src/MySql/test/env.json +++ b/src/MySql/test/env.json @@ -1,17 +1,19 @@ { + "SubnetName": "mysql-test-subnet", + "FlexibleSku": "Standard_B1ms", + "serverName": "mysql-test-100", "resourceGroup": "MySqlTest", "location": "westus2", - "databaseName": "mysqldb", - "FlexibleSku": "Standard_B1ms", + "firewallRuleName": "mysqlrule01", + "serverName3": "mysql-test-100-3", + "replicaName": "mysql-test-100-replica", + "serverName2": "mysql-test-100-2", "restoreName2": "mysql-test-100-restore-2", + "databaseName": "mysqldb", + "restoreName": "mysql-test-100-restore", "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "firewallRuleName": "mysqlrule01", - "VNetName": "mysqlvnet", + "firewallRuleName2": "mysqlrule02", "SubscriptionId": "7fec3109-5b78-4a24-b834-5d47d63e2596", - "restoreName": "mysql-test-100-restore", - "serverName2": "mysql-test-100-2", - "replicaName": "mysql-test-100-replica", "Sku": "GP_Gen5_4", - "firewallRuleName2": "mysqlrule02", - "serverName": "mysql-test-100" + "VNetName": "mysqlvnet" } diff --git a/src/MySql/test/utils.ps1 b/src/MySql/test/utils.ps1 index fda19739467d..429202ecd567 100644 --- a/src/MySql/test/utils.ps1 +++ b/src/MySql/test/utils.ps1 @@ -14,13 +14,14 @@ function setupEnv() { $env.Tenant = (Get-AzContext).Tenant.Id # For any resources you created for test, you should add it to $env here. $env.Add("serverName2", "mysql-test-100-2") + $env.Add("serverName3", "mysql-test-100-3") $env.Add("restoreName", "mysql-test-100-restore") $env.Add("restoreName2", "mysql-test-100-restore-2") $env.Add("replicaName", "mysql-test-100-replica") $env.Add("firewallRuleName", "mysqlrule01") $env.Add("firewallRuleName2", "mysqlrule02") $env.Add("databaseName", "mysqldb") - $env.Add("VNetName", "mysql-test-vnet") + $env.Add("VNetName", "mysqlvnet") $env.Add("SubnetName", "mysql-test-subnet") # Create the test group @@ -29,7 +30,7 @@ function setupEnv() { $location = "westus2" $env.Add("resourceGroup", $resourceGroup) $env.Add("location", $location) - # New-AzResourceGroup -Name $resourceGroup -Location $location + New-AzResourceGroup -Name $resourceGroup -Location $location write-host "Deploy Vnet template" New-AzDeployment -Mode Incremental -TemplateFile .\test\deployment-templates\virtual-network\template.json -TemplateParameterFile .\test\deployment-templates\virtual-network\parameters.json -Name vn -ResourceGroupName $resourceGroup @@ -44,16 +45,16 @@ function setupEnv() { $env.Add("FlexibleSku", $FlexibleSku) # Create the test Vnet write-host "Deploy Vnet template" - # New-AzDeployment -Mode Incremental -TemplateFile .\test\deployment-templates\virtual-network\template.json -TemplateParameterFile .\test\deployment-templates\virtual-network\parameters.json -Name vn -ResourceGroupName $resourceGroup + New-AzDeployment -Mode Incremental -TemplateFile .\test\deployment-templates\virtual-network\template.json -TemplateParameterFile .\test\deployment-templates\virtual-network\parameters.json -Name vn -ResourceGroupName $resourceGroup write-host (Get-AzContext | Out-String) - # write-host "New-AzMySqlServer -Name $serverName -ResourceGroupName $resourceGroup -Location $location -AdministratorUserName mysql_test -AdministratorLoginPassword $password -Sku $Sku" - # New-AzMySqlServer -Name $serverName -ResourceGroupName $resourceGroup -Location $location -AdministratorUserName mysql_test -AdministratorLoginPassword $password -Sku $Sku + write-host "New-AzMySqlServer -Name $serverName -ResourceGroupName $resourceGroup -Location $location -AdministratorUserName mysql_test -AdministratorLoginPassword $password -Sku $Sku" + New-AzMySqlServer -Name $serverName -ResourceGroupName $resourceGroup -Location $location -AdministratorUserName mysql_test -AdministratorLoginPassword $password -Sku $Sku - # write-host "New-AzMySqlFlexibleServer -Name $serverName -ResourceGroupName $resourceGroup -AdministratorUserName mysql_test -AdministratorLoginPassword $password" - # New-AzMySqlFlexibleServer -Name $serverName -ResourceGroupName $resourceGroup -AdministratorUserName mysql_test -AdministratorLoginPassword $password + write-host "New-AzMySqlFlexibleServer -Name $serverName -ResourceGroupName $resourceGroup -AdministratorUserName mysql_test -AdministratorLoginPassword $password" + New-AzMySqlFlexibleServer -Name $serverName -ResourceGroupName $resourceGroup -AdministratorUserName mysql_test -AdministratorLoginPassword $password $envFile = 'env.json' if ($TestMode -eq 'live') { @@ -65,5 +66,5 @@ function cleanupEnv() { # Clean resources you create for testing # Removing resourcegroup will clean all the resources created for testing. write-host "Clean resources you create for testing." - # Remove-AzResourceGroup -Name $env.resourceGroup + Remove-AzResourceGroup -Name $env.resourceGroup } From a199dec43748ba40c30357967adf2920d15377d7 Mon Sep 17 00:00:00 2001 From: Daeun Yim Date: Fri, 11 Dec 2020 13:48:31 -0800 Subject: [PATCH 31/51] utils issue fixed --- .../custom/New-AzMySqlFlexibleServer.ps1 | 26 +- .../New-AzMySqlFlexibleServerFirewallRule.ps1 | 234 +++---- .../custom/Update-AzMySqlFlexibleServer.ps1 | 3 - src/MySql/docs/Az.MySql.md | 141 +++++ src/MySql/docs/Get-AzMySqlConfiguration.md | 195 ++++++ src/MySql/docs/Get-AzMySqlConnectionString.md | 191 ++++++ src/MySql/docs/Get-AzMySqlFirewallRule.md | 199 ++++++ src/MySql/docs/Get-AzMySqlFlexibleServer.md | 201 ++++++ .../Get-AzMySqlFlexibleServerConfiguration.md | 202 ++++++ ...t-AzMySqlFlexibleServerConnectionString.md | 125 ++++ .../docs/Get-AzMySqlFlexibleServerDatabase.md | 202 ++++++ .../Get-AzMySqlFlexibleServerFirewallRule.md | 201 ++++++ ...qlFlexibleServerLocationBasedCapability.md | 115 ++++ .../docs/Get-AzMySqlFlexibleServerReplica.md | 113 ++++ src/MySql/docs/Get-AzMySqlReplica.md | 113 ++++ src/MySql/docs/Get-AzMySqlServer.md | 200 ++++++ .../docs/Get-AzMySqlVirtualNetworkRule.md | 215 +++++++ src/MySql/docs/New-AzMySqlFirewallRule.md | 292 +++++++++ src/MySql/docs/New-AzMySqlFlexibleServer.md | 573 ++++++++++++++++++ .../docs/New-AzMySqlFlexibleServerDatabase.md | 263 ++++++++ .../New-AzMySqlFlexibleServerFirewallRule.md | 292 +++++++++ .../docs/New-AzMySqlFlexibleServerReplica.md | 239 ++++++++ src/MySql/docs/New-AzMySqlReplica.md | 267 ++++++++ src/MySql/docs/New-AzMySqlServer.md | 347 +++++++++++ .../docs/New-AzMySqlVirtualNetworkRule.md | 242 ++++++++ src/MySql/docs/Remove-AzMySqlFirewallRule.md | 254 ++++++++ .../docs/Remove-AzMySqlFlexibleServer.md | 238 ++++++++ .../Remove-AzMySqlFlexibleServerDatabase.md | 253 ++++++++ ...emove-AzMySqlFlexibleServerFirewallRule.md | 254 ++++++++ src/MySql/docs/Remove-AzMySqlServer.md | 238 ++++++++ .../docs/Remove-AzMySqlVirtualNetworkRule.md | 254 ++++++++ .../docs/Restart-AzMySqlFlexibleServer.md | 236 ++++++++ src/MySql/docs/Restart-AzMySqlServer.md | 238 ++++++++ .../docs/Restore-AzMySqlFlexibleServer.md | 258 ++++++++ src/MySql/docs/Restore-AzMySqlServer.md | 336 ++++++++++ src/MySql/docs/Start-AzMySqlFlexibleServer.md | 236 ++++++++ src/MySql/docs/Stop-AzMySqlFlexibleServer.md | 236 ++++++++ src/MySql/docs/Update-AzMySqlConfiguration.md | 277 +++++++++ src/MySql/docs/Update-AzMySqlFirewallRule.md | 318 ++++++++++ .../docs/Update-AzMySqlFlexibleServer.md | 391 ++++++++++++ ...date-AzMySqlFlexibleServerConfiguration.md | 276 +++++++++ .../Update-AzMySqlFlexibleServerDatabase.md | 275 +++++++++ ...pdate-AzMySqlFlexibleServerFirewallRule.md | 307 ++++++++++ src/MySql/docs/Update-AzMySqlServer.md | 406 +++++++++++++ .../docs/Update-AzMySqlVirtualNetworkRule.md | 293 +++++++++ src/MySql/utils/FlexibleServerUtils.ps1 | 24 - 46 files changed, 10644 insertions(+), 145 deletions(-) create mode 100644 src/MySql/docs/Az.MySql.md create mode 100644 src/MySql/docs/Get-AzMySqlConfiguration.md create mode 100644 src/MySql/docs/Get-AzMySqlConnectionString.md create mode 100644 src/MySql/docs/Get-AzMySqlFirewallRule.md create mode 100644 src/MySql/docs/Get-AzMySqlFlexibleServer.md create mode 100644 src/MySql/docs/Get-AzMySqlFlexibleServerConfiguration.md create mode 100644 src/MySql/docs/Get-AzMySqlFlexibleServerConnectionString.md create mode 100644 src/MySql/docs/Get-AzMySqlFlexibleServerDatabase.md create mode 100644 src/MySql/docs/Get-AzMySqlFlexibleServerFirewallRule.md create mode 100644 src/MySql/docs/Get-AzMySqlFlexibleServerLocationBasedCapability.md create mode 100644 src/MySql/docs/Get-AzMySqlFlexibleServerReplica.md create mode 100644 src/MySql/docs/Get-AzMySqlReplica.md create mode 100644 src/MySql/docs/Get-AzMySqlServer.md create mode 100644 src/MySql/docs/Get-AzMySqlVirtualNetworkRule.md create mode 100644 src/MySql/docs/New-AzMySqlFirewallRule.md create mode 100644 src/MySql/docs/New-AzMySqlFlexibleServer.md create mode 100644 src/MySql/docs/New-AzMySqlFlexibleServerDatabase.md create mode 100644 src/MySql/docs/New-AzMySqlFlexibleServerFirewallRule.md create mode 100644 src/MySql/docs/New-AzMySqlFlexibleServerReplica.md create mode 100644 src/MySql/docs/New-AzMySqlReplica.md create mode 100644 src/MySql/docs/New-AzMySqlServer.md create mode 100644 src/MySql/docs/New-AzMySqlVirtualNetworkRule.md create mode 100644 src/MySql/docs/Remove-AzMySqlFirewallRule.md create mode 100644 src/MySql/docs/Remove-AzMySqlFlexibleServer.md create mode 100644 src/MySql/docs/Remove-AzMySqlFlexibleServerDatabase.md create mode 100644 src/MySql/docs/Remove-AzMySqlFlexibleServerFirewallRule.md create mode 100644 src/MySql/docs/Remove-AzMySqlServer.md create mode 100644 src/MySql/docs/Remove-AzMySqlVirtualNetworkRule.md create mode 100644 src/MySql/docs/Restart-AzMySqlFlexibleServer.md create mode 100644 src/MySql/docs/Restart-AzMySqlServer.md create mode 100644 src/MySql/docs/Restore-AzMySqlFlexibleServer.md create mode 100644 src/MySql/docs/Restore-AzMySqlServer.md create mode 100644 src/MySql/docs/Start-AzMySqlFlexibleServer.md create mode 100644 src/MySql/docs/Stop-AzMySqlFlexibleServer.md create mode 100644 src/MySql/docs/Update-AzMySqlConfiguration.md create mode 100644 src/MySql/docs/Update-AzMySqlFirewallRule.md create mode 100644 src/MySql/docs/Update-AzMySqlFlexibleServer.md create mode 100644 src/MySql/docs/Update-AzMySqlFlexibleServerConfiguration.md create mode 100644 src/MySql/docs/Update-AzMySqlFlexibleServerDatabase.md create mode 100644 src/MySql/docs/Update-AzMySqlFlexibleServerFirewallRule.md create mode 100644 src/MySql/docs/Update-AzMySqlServer.md create mode 100644 src/MySql/docs/Update-AzMySqlVirtualNetworkRule.md delete mode 100644 src/MySql/utils/FlexibleServerUtils.ps1 diff --git a/src/MySql/custom/New-AzMySqlFlexibleServer.ps1 b/src/MySql/custom/New-AzMySqlFlexibleServer.ps1 index 8c7395ea7fe9..92ba28c8d12b 100644 --- a/src/MySql/custom/New-AzMySqlFlexibleServer.ps1 +++ b/src/MySql/custom/New-AzMySqlFlexibleServer.ps1 @@ -25,7 +25,6 @@ $DELEGATION_SERVICE_NAME = "Microsoft.DBforMySQL/flexibleServers" $DEFAULT_VNET_PREFIX = '10.0.0.0/16' $DEFAULT_SUBNET_PREFIX = '10.0.0.0/24' $AZURE_ARMNAME = '^[^<>%&:\\?/]{1,260}$' -. (Join-Path $PSScriptRoot "..\utils\FlexibleServerUtils.ps1") function New-AzMySqlFlexibleServer { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated])] @@ -574,3 +573,28 @@ function IsValidRgLocation($ResourceId, $Parameters){ } Throw "Incorrect Usage : The location and subscription of the server, Vnet and Subnet should be same." } + +function Get-RandomNumbers($Prefix, $Length) { + $Generated = "" + for($i = 0; $i -lt $Length; $i++){ $Generated += Get-Random -Maximum 10 } + return $Prefix + $Generated +} + +function Get-RandomName() { + $Noun = Get-Content -Path (Join-Path $PSScriptRoot "..\utils\nouns.txt") | Get-Random + $Adjective = Get-Content -Path (Join-Path $PSScriptRoot "..\utils\adjectives.txt") | Get-Random + $Number = Get-Random -Maximum 10 + $RandomName = $Adjective + (Get-Culture).TextInfo.ToTitleCase($Noun) + $Number + return $RandomName + +} + +function Get-GeneratePassword() { + $Password = '' + $Chars = 'abcdefghiklmnoprstuvwxyzABCDEFGHKLMNOPRSTUVWXYZ1234567890' + $SpecialChars = '!$%&/()=?}][{@#*+' + for ($i = 0; $i -lt 10; $i++ ) { $Password += $Chars[(Get-Random -Minimum 0 -Maximum $Chars.Length)] } + for ($i = 0; $i -lt 6; $i++ ) { $Password += $SpecialChars[(Get-Random -Minimum 0 -Maximum $SpecialChars.Length)] } + $Password = ($Password -split '' | Sort-Object {Get-Random}) -join '' + return $Password +} diff --git a/src/MySql/custom/New-AzMySqlFlexibleServerFirewallRule.ps1 b/src/MySql/custom/New-AzMySqlFlexibleServerFirewallRule.ps1 index 67286a45cbae..6a8695dd9414 100644 --- a/src/MySql/custom/New-AzMySqlFlexibleServerFirewallRule.ps1 +++ b/src/MySql/custom/New-AzMySqlFlexibleServerFirewallRule.ps1 @@ -21,123 +21,123 @@ Creates a new firewall rule for MySQL flexible server #> function New-AzMySqlFlexibleServerFirewallRule { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule])] -[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] -param( - [Parameter()] - [Alias('FirewallRuleName')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] - [System.String] - # The name of the server firewall rule. - # If not specified, the default is undefined. - # If AllowAll is present, the default name is AllowAll_yyyy-MM-dd_HH-mm-ss. - ${Name}, - - [Parameter(Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] - [System.String] - # The name of the resource group. - # The name is case insensitive. - ${ResourceGroupName}, - - [Parameter(Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] - [System.String] - # The name of the server. - ${ServerName}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] - [System.String] - # The ID of the target subscription. - ${SubscriptionId}, - - [Parameter(ParameterSetName='CreateExpanded', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] - [System.String] - # The end IP address of the server firewall rule. - # Must be IPv4 format. - ${EndIPAddress}, - - [Parameter(ParameterSetName='CreateExpanded', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] - [System.String] - # The start IP address of the server firewall rule. - # Must be IPv4 format. - ${StartIPAddress}, - - [Parameter(ParameterSetName='ClientIPAddress', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] - [System.String] - # Client specified single IP of the server firewall rule. - # Must be IPv4 format. - ${ClientIPAddress}, - - [Parameter(ParameterSetName='AllowAll', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] - [System.Management.Automation.SwitchParameter] - # Present to allow all range IPs, from 0.0.0.0 to 255.255.255.255. - ${AllowAll}, - - [Parameter()] - [Alias('AzureRMContext', 'AzureCredential')] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Azure')] - [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. - ${DefaultProfile}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Run the command as a job - ${AsJob}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Wait for .NET debugger to attach - ${Break}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be appended to the front of the pipeline - ${HttpPipelineAppend}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be prepended to the front of the pipeline - ${HttpPipelinePrepend}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Run the command asynchronously - ${NoWait}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] - [System.Uri] - # The URI for the proxy server to use - ${Proxy}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] - [System.Management.Automation.PSCredential] - # Credentials for a proxy server to use for the remote call - ${ProxyCredential}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Use the default credentials for the proxy - ${ProxyUseDefaultCredentials} + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule])] + [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] + param( + [Parameter()] + [Alias('FirewallRuleName')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [System.String] + # The name of the server firewall rule. + # If not specified, the default is undefined. + # If AllowAll is present, the default name is AllowAll_yyyy-MM-dd_HH-mm-ss. + ${Name}, + + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [System.String] + # The name of the resource group. + # The name is case insensitive. + ${ResourceGroupName}, + + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [System.String] + # The name of the server. + ${ServerName}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String] + # The ID of the target subscription. + ${SubscriptionId}, + + [Parameter(ParameterSetName='CreateExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.String] + # The end IP address of the server firewall rule. + # Must be IPv4 format. + ${EndIPAddress}, + + [Parameter(ParameterSetName='CreateExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.String] + # The start IP address of the server firewall rule. + # Must be IPv4 format. + ${StartIPAddress}, + + [Parameter(ParameterSetName='ClientIPAddress', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.String] + # Client specified single IP of the server firewall rule. + # Must be IPv4 format. + ${ClientIPAddress}, + + [Parameter(ParameterSetName='AllowAll', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Present to allow all range IPs, from 0.0.0.0 to 255.255.255.255. + ${AllowAll}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Azure')] + [System.Management.Automation.PSObject] + # The credentials, account, tenant, and subscription used for communication with Azure. + ${DefaultProfile}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command as a job + ${AsJob}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command asynchronously + ${NoWait}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} ) process { diff --git a/src/MySql/custom/Update-AzMySqlFlexibleServer.ps1 b/src/MySql/custom/Update-AzMySqlFlexibleServer.ps1 index 0adc52d2b0ee..c59a4264336a 100644 --- a/src/MySql/custom/Update-AzMySqlFlexibleServer.ps1 +++ b/src/MySql/custom/Update-AzMySqlFlexibleServer.ps1 @@ -161,13 +161,10 @@ function Update-AzMySqlFlexibleServer { process { try { -<<<<<<< HEAD if ($PSBoundParameters.ContainsKey('AdministratorLoginPassword')) { $PSBoundParameters.AdministratorLoginPassword = . "$PSScriptRoot/../utils/Unprotect-SecureString.ps1" $PSBoundParameters['AdministratorLoginPassword'] } -======= ->>>>>>> cbe554e98f94b399a80e365ee778fba7e0afe8db if ($PSBoundParameters.ContainsKey('StorageInMb')) { $PSBoundParameters.StorageProfileStorageMb = $PSBoundParameters['StorageInMb'] $null = $PSBoundParameters.Remove('StorageInMb') diff --git a/src/MySql/docs/Az.MySql.md b/src/MySql/docs/Az.MySql.md new file mode 100644 index 000000000000..ec7163293478 --- /dev/null +++ b/src/MySql/docs/Az.MySql.md @@ -0,0 +1,141 @@ +--- +Module Name: Az.MySql +Module Guid: 3384c227-22b0-4f4d-b069-b8dcf7a6bc74 +Download Help Link: https://docs.microsoft.com/en-us/powershell/module/az.mysql +Help Version: 1.0.0.0 +Locale: en-US +--- + +# Az.MySql Module +## Description +Microsoft Azure PowerShell: MySql cmdlets + +## Az.MySql Cmdlets +### [Get-AzMySqlConfiguration](Get-AzMySqlConfiguration.md) +Gets information about a configuration of server. + +### [Get-AzMySqlConnectionString](Get-AzMySqlConnectionString.md) +Get the connection string according to client connection provider. + +### [Get-AzMySqlFirewallRule](Get-AzMySqlFirewallRule.md) +Gets information about a server firewall rule. + +### [Get-AzMySqlFlexibleServer](Get-AzMySqlFlexibleServer.md) +Gets information about a server. + +### [Get-AzMySqlFlexibleServerConfiguration](Get-AzMySqlFlexibleServerConfiguration.md) +Gets information about a configuration of server. + +### [Get-AzMySqlFlexibleServerConnectionString](Get-AzMySqlFlexibleServerConnectionString.md) +Get the connection string according to client connection provider. + +### [Get-AzMySqlFlexibleServerDatabase](Get-AzMySqlFlexibleServerDatabase.md) +Gets information about a database. + +### [Get-AzMySqlFlexibleServerFirewallRule](Get-AzMySqlFlexibleServerFirewallRule.md) +Gets information about a server firewall rule. + +### [Get-AzMySqlFlexibleServerLocationBasedCapability](Get-AzMySqlFlexibleServerLocationBasedCapability.md) +Get the available SKU information for the location + +### [Get-AzMySqlFlexibleServerReplica](Get-AzMySqlFlexibleServerReplica.md) +List all the replicas for a given server. + +### [Get-AzMySqlReplica](Get-AzMySqlReplica.md) +List all the replicas for a given server. + +### [Get-AzMySqlServer](Get-AzMySqlServer.md) +Gets information about a server. + +### [Get-AzMySqlVirtualNetworkRule](Get-AzMySqlVirtualNetworkRule.md) +Gets a virtual network rule. + +### [New-AzMySqlFirewallRule](New-AzMySqlFirewallRule.md) +Creates a new firewall rule or updates an existing firewall rule. + +### [New-AzMySqlFlexibleServer](New-AzMySqlFlexibleServer.md) +Creates a new server. + +### [New-AzMySqlFlexibleServerDatabase](New-AzMySqlFlexibleServerDatabase.md) +Creates a new database or updates an existing database. + +### [New-AzMySqlFlexibleServerFirewallRule](New-AzMySqlFlexibleServerFirewallRule.md) +Creates a new firewall rule for MySQL flexible server + +### [New-AzMySqlFlexibleServerReplica](New-AzMySqlFlexibleServerReplica.md) +Creates a new replica from an existing database. + +### [New-AzMySqlReplica](New-AzMySqlReplica.md) +Creates a new replica from an existing database. + +### [New-AzMySqlServer](New-AzMySqlServer.md) +Creates a new server. + +### [New-AzMySqlVirtualNetworkRule](New-AzMySqlVirtualNetworkRule.md) +Creates or updates an existing virtual network rule. + +### [Remove-AzMySqlFirewallRule](Remove-AzMySqlFirewallRule.md) +Deletes a server firewall rule. + +### [Remove-AzMySqlFlexibleServer](Remove-AzMySqlFlexibleServer.md) +Deletes a server. + +### [Remove-AzMySqlFlexibleServerDatabase](Remove-AzMySqlFlexibleServerDatabase.md) +Deletes a database. + +### [Remove-AzMySqlFlexibleServerFirewallRule](Remove-AzMySqlFlexibleServerFirewallRule.md) +Deletes a firewall rule. + +### [Remove-AzMySqlServer](Remove-AzMySqlServer.md) +Deletes a server. + +### [Remove-AzMySqlVirtualNetworkRule](Remove-AzMySqlVirtualNetworkRule.md) +Deletes the virtual network rule with the given name. + +### [Restart-AzMySqlFlexibleServer](Restart-AzMySqlFlexibleServer.md) +Restarts a server. + +### [Restart-AzMySqlServer](Restart-AzMySqlServer.md) +Restarts a server. + +### [Restore-AzMySqlFlexibleServer](Restore-AzMySqlFlexibleServer.md) +Restore a server from an existing backup + +### [Restore-AzMySqlServer](Restore-AzMySqlServer.md) +Restore a server from an existing backup + +### [Start-AzMySqlFlexibleServer](Start-AzMySqlFlexibleServer.md) +Starts a server. + +### [Stop-AzMySqlFlexibleServer](Stop-AzMySqlFlexibleServer.md) +Stops a server. + +### [Update-AzMySqlConfiguration](Update-AzMySqlConfiguration.md) +Updates a configuration of a server. +Use Update-AzMySqlServer instead if you want update AdministratorLoginPassword, sku, etc. + +### [Update-AzMySqlFirewallRule](Update-AzMySqlFirewallRule.md) +Creates a new firewall rule or updates an existing firewall rule. + +### [Update-AzMySqlFlexibleServer](Update-AzMySqlFlexibleServer.md) +Updates an existing MySQL flexible server. +The request body can contain one to many of the properties present in the normal server definition. +Use Update-AzMySqlFlexibleServerConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count. + +### [Update-AzMySqlFlexibleServerConfiguration](Update-AzMySqlFlexibleServerConfiguration.md) +Updates information about a configuration of a MySQL flexible server. + +### [Update-AzMySqlFlexibleServerDatabase](Update-AzMySqlFlexibleServerDatabase.md) +Creates a new database or updates an existing database. + +### [Update-AzMySqlFlexibleServerFirewallRule](Update-AzMySqlFlexibleServerFirewallRule.md) +Updates an existing firewall rule. + +### [Update-AzMySqlServer](Update-AzMySqlServer.md) +Updates an existing server. +The request body can contain one to many of the properties present in the normal server definition. +Use Update-AzMySqlConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count. + +### [Update-AzMySqlVirtualNetworkRule](Update-AzMySqlVirtualNetworkRule.md) +Creates or updates an existing virtual network rule. + diff --git a/src/MySql/docs/Get-AzMySqlConfiguration.md b/src/MySql/docs/Get-AzMySqlConfiguration.md new file mode 100644 index 000000000000..e38c2f7c6429 --- /dev/null +++ b/src/MySql/docs/Get-AzMySqlConfiguration.md @@ -0,0 +1,195 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlconfiguration +schema: 2.0.0 +--- + +# Get-AzMySqlConfiguration + +## SYNOPSIS +Gets information about a configuration of server. + +## SYNTAX + +### List (Default) +``` +Get-AzMySqlConfiguration -ResourceGroupName -ServerName [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzMySqlConfiguration -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzMySqlConfiguration -InputObject [-DefaultProfile ] [] +``` + +## DESCRIPTION +Gets information about a configuration of server. + +## EXAMPLES + +### Example 1: List all configurations in specified MySql server +```powershell +PS C:\> Get-AzMySqlConfiguration -ResourceGroupName PowershellMySqlTest -ServerName mysql-test + +Name Type +---- ---- +audit_log_enabled Microsoft.DBforMySQL/servers/configurations +audit_log_events Microsoft.DBforMySQL/servers/configurations +audit_log_exclude_users Microsoft.DBforMySQL/servers/configurations +audit_log_include_users Microsoft.DBforMySQL/servers/configurations +... +transaction_prealloc_size Microsoft.DBforMySQL/servers/configurations +tx_isolation Microsoft.DBforMySQL/servers/configurations +updatable_views_with_limit Microsoft.DBforMySQL/servers/configurations +wait_timeout Microsoft.DBforMySQL/servers/configurations +``` + +This cmdlet lists all configurations in specified MySql server. + +### Example 2: Get specified MySql configuration by name +```powershell +PS C:\> Get-AzMySqlConfiguration -Name time_zone -ResourceGroupName PowershellMySqlTest -ServerName mysql-test + +Name Type +---- ---- +time_zone Microsoft.DBforMySQL/servers/configurations +``` + +This cmdlet gets specified MySql configuration by name. + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server configuration. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: ConfigurationName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IConfiguration + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Get-AzMySqlConnectionString.md b/src/MySql/docs/Get-AzMySqlConnectionString.md new file mode 100644 index 000000000000..d586aefc49ad --- /dev/null +++ b/src/MySql/docs/Get-AzMySqlConnectionString.md @@ -0,0 +1,191 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlconnectionstring +schema: 2.0.0 +--- + +# Get-AzMySqlConnectionString + +## SYNOPSIS +Get the connection string according to client connection provider. + +## SYNTAX + +### Get (Default) +``` +Get-AzMySqlConnectionString -Client -Name -ResourceGroupName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzMySqlConnectionString -Client -InputObject [-DefaultProfile ] + [] +``` + +## DESCRIPTION +Get the connection string according to client connection provider. + +## EXAMPLES + +### Example 1: Get MySql server connection string by resource group and server name +```powershell +PS C:\> Get-AzMySqlConnectionString -Client ADO.NET -Name mysql-test -ResourceGroupName PowershellMySqlTest + +Server=mysql-test.mysql.database.azure.com; Port=3306; Database={your_database}; Uid=mysql_test@mysql-test; Pwd={your_password}; +``` + +This cmdlet gets MySql server connection string by resource group and server name. + +### Example 2: Get MySql server connection string by identity +```powershell +PS C:\> Get-AzMySqlServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test | Get-AzMySqlConnectionString -Client PHP + +$con=mysqli_init(); mysqli_real_connect($con, "mysql-test.mysql.database.azure.com", "mysql_test@mysql-test", {your_password}, {your_database}, 3306); +``` + +This cmdlet gets MySql server connection string by identity. + +## PARAMETERS + +### -Client +Client connection provider. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +The source server object to create replica from. +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The subscription ID that identifies an Azure subscription. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer + +## OUTPUTS + +### System.String + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : The source server object to create replica from. + - `Location `: The geo-location where the resource lives + - `SkuName `: The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. + - `[Tag ]`: Resource tags. + - `[(Any) ]`: This indicates any property can be added to this object. + - `[AdministratorLogin ]`: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). + - `[EarliestRestoreDate ]`: Earliest restore point creation time (ISO8601 format) + - `[FullyQualifiedDomainName ]`: The fully qualified domain name of a server. + - `[IdentityType ]`: The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. + - `[InfrastructureEncryption ]`: Status showing whether the server enabled infrastructure encryption. + - `[MasterServerId ]`: The master server id of a replica server. + - `[MinimalTlsVersion ]`: Enforce a minimal Tls version for the server. + - `[PublicNetworkAccess ]`: Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' + - `[ReplicaCapacity ]`: The maximum number of replicas that a master server can have. + - `[ReplicationRole ]`: The replication role of the server. + - `[SkuCapacity ]`: The scale up/out capacity, representing server's compute units. + - `[SkuFamily ]`: The family of hardware. + - `[SkuSize ]`: The size code, to be interpreted by resource as appropriate. + - `[SkuTier ]`: The tier of the particular SKU, e.g. Basic. + - `[SslEnforcement ]`: Enable ssl enforcement or not when connect to server. + - `[StorageProfileBackupRetentionDay ]`: Backup retention days for the server. + - `[StorageProfileGeoRedundantBackup ]`: Enable Geo-redundant or not for server backup. + - `[StorageProfileStorageAutogrow ]`: Enable Storage Auto Grow. + - `[StorageProfileStorageMb ]`: Max storage allowed for a server. + - `[UserVisibleState ]`: A state of a server that is visible to user. + - `[Version ]`: Server version. + +## RELATED LINKS + diff --git a/src/MySql/docs/Get-AzMySqlFirewallRule.md b/src/MySql/docs/Get-AzMySqlFirewallRule.md new file mode 100644 index 000000000000..9fa728f0c250 --- /dev/null +++ b/src/MySql/docs/Get-AzMySqlFirewallRule.md @@ -0,0 +1,199 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlfirewallrule +schema: 2.0.0 +--- + +# Get-AzMySqlFirewallRule + +## SYNOPSIS +Gets information about a server firewall rule. + +## SYNTAX + +### List (Default) +``` +Get-AzMySqlFirewallRule -ResourceGroupName -ServerName [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzMySqlFirewallRule -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzMySqlFirewallRule -InputObject [-DefaultProfile ] [] +``` + +## DESCRIPTION +Gets information about a server firewall rule. + +## EXAMPLES + +### Example 1: Lists all the Firewall Rules in specified MySql server +```powershell +PS C:\> Get-AzMySqlFirewallRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test + +Name Type +---- ---- +rule Microsoft.DBforMySQL/servers/firewallRules +``` + +This cmdlet lists all the Firewall Rule in specified MySql server. + +### Example 2: Get Firewall Rule by name +```powershell +PS C:\> Get-AzMySqlFirewallRule -Name rule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test + +Name Type +---- ---- +rule Microsoft.DBforMySQL/servers/firewallRules +``` + +This cmdlet gets Firewall Rule by name. + +### Example 3: Get Firewall Rule by identity +```powershell +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/firewallRules/rule" +PS C:\> Get-AzMySqlFirewallRule -InputObject $ID + +Name Type +---- ---- +rule Microsoft.DBforMySQL/servers/firewallRules +``` + +This cmdlet gets Firewall Rule by identity. + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server firewall rule. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: FirewallRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServer.md b/src/MySql/docs/Get-AzMySqlFlexibleServer.md new file mode 100644 index 000000000000..fa0d8549a71a --- /dev/null +++ b/src/MySql/docs/Get-AzMySqlFlexibleServer.md @@ -0,0 +1,201 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserver +schema: 2.0.0 +--- + +# Get-AzMySqlFlexibleServer + +## SYNOPSIS +Gets information about a server. + +## SYNTAX + +### List1 (Default) +``` +Get-AzMySqlFlexibleServer [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzMySqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzMySqlFlexibleServer -InputObject [-DefaultProfile ] [] +``` + +### List +``` +Get-AzMySqlFlexibleServer -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +## DESCRIPTION +Gets information about a server. + +## EXAMPLES + +### Example 1: Get MySql server with default context +```powershell +PS C:\> Get-AzMySqlFlexibleServer + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +mysql-test-11 westus2 mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose +``` + +This cmdlet gets MySql servers with default context. + +### Example 2: Get MySql server by resource group and server name +```powershell +PS C:\> Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Name mysql-test + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +mysql-test westus2 mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose +``` + +This cmdlet gets MySql servers by resource group and server name. + +### Example 3: Lists all the MySql servers in specified resource group +```powershell +PS C:\> Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +mysql-test-11 westus2 mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose +mysql-test-12 westus2 mysql_test2 5.7 5120 Standard_D2ds_v4 GeneralPurpose +``` + +This cmdlet lists all the MySql servers in the specified resource group. + +### Example 4: Get MySql server by identity +```powershell +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test" +PS C:\> Get-AzMySqlFlexibleServer -InputObject $ID + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +mysql-test westus2 mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose +``` + +This cmdlet lists gets MySql servers by identity. + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: Get, List, List1 +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServerConfiguration.md b/src/MySql/docs/Get-AzMySqlFlexibleServerConfiguration.md new file mode 100644 index 000000000000..37ded752250f --- /dev/null +++ b/src/MySql/docs/Get-AzMySqlFlexibleServerConfiguration.md @@ -0,0 +1,202 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserverconfiguration +schema: 2.0.0 +--- + +# Get-AzMySqlFlexibleServerConfiguration + +## SYNOPSIS +Gets information about a configuration of server. + +## SYNTAX + +### List (Default) +``` +Get-AzMySqlFlexibleServerConfiguration -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzMySqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzMySqlFlexibleServerConfiguration -InputObject [-DefaultProfile ] + [] +``` + +## DESCRIPTION +Gets information about a configuration of server. + +## EXAMPLES + +### Example 1: List all configurations in specified MySql server +```powershell +PS C:\> Get-AzMySqlFlexibleServerConfiguration -ResourceGroupName PowershellMySqlTest -ServerName mysql-test + +Name Value DefaultValue Source AllowedValues DataType +---- ------ ------------ ------- ------------- --------- +archive OFF OFF system-default ON, OFF Enumeration +... +wait_timeout 28800 28800 system-default 1-31536000 Integer +``` + +This cmdlet lists all configurations in specified MySql server. + +### Example 2: Get specified MySql configuration by name +```powershell +PS C:\> Get-AzMySqlFlexibleServerConfiguration -Name wait_timeout -ResourceGroupName PowershellMySqlTest -ServerName mysql-test + +Name Value DefaultValue Source AllowedValues DataType +---- ------ ------------ ------- ------------- --------- +wait_timeout 28800 28800 system-default 1-31536000 Integer +``` + +This cmdlet gets specified MySql configuration by name. + +### Example 3: List configuration by identity +```powershell +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/configurations/wait_timeout" +Get-AzMySqlFlexibleServerConfiguration -Name wait_timeout -ResourceGroupName PowershellMySqlTest -ServerName mysql-test + +Name Value DefaultValue Source AllowedValues DataType +---- ------ ------------ ------- ------------- --------- +wait_timeout 28800 28800 system-default 1-31536000 Integer +``` + +This cmdlet gets specified MySql configuration by identity. + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server configuration. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: ConfigurationName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IConfigurationAutoGenerated + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServerConnectionString.md b/src/MySql/docs/Get-AzMySqlFlexibleServerConnectionString.md new file mode 100644 index 000000000000..f20b290db3e3 --- /dev/null +++ b/src/MySql/docs/Get-AzMySqlFlexibleServerConnectionString.md @@ -0,0 +1,125 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserverconnectionstring +schema: 2.0.0 +--- + +# Get-AzMySqlFlexibleServerConnectionString + +## SYNOPSIS +Get the connection string according to client connection provider. + +## SYNTAX + +``` +Get-AzMySqlFlexibleServerConnectionString -Client -Name -ResourceGroupName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +## DESCRIPTION +Get the connection string according to client connection provider. + +## EXAMPLES + +### Example 1: Get connection string by name +```powershell +PS C:\> Get-AzMySqlFlexibleServerConnectionString -Client Python -ResourceGroupName PowershellMySqlTest -Name mysql-test + +cnx = mysql.connector.connect(user=mysql_user, password="{your_password}", host="mysql-test.mysql.database.azure.com", port=3306, database="{your_database}", ssl_ca="{ca-cert filename}", ssl_disabled=False) +``` + +This cmdlet shows connection string of a client by server name. + +## PARAMETERS + +### -Client +Client connection provider. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The subscription ID that identifies an Azure subscription. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +## OUTPUTS + +### System.String + +## NOTES + +ALIASES + +## RELATED LINKS + diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServerDatabase.md b/src/MySql/docs/Get-AzMySqlFlexibleServerDatabase.md new file mode 100644 index 000000000000..2a415e00e5c5 --- /dev/null +++ b/src/MySql/docs/Get-AzMySqlFlexibleServerDatabase.md @@ -0,0 +1,202 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserverdatabase +schema: 2.0.0 +--- + +# Get-AzMySqlFlexibleServerDatabase + +## SYNOPSIS +Gets information about a database. + +## SYNTAX + +### List (Default) +``` +Get-AzMySqlFlexibleServerDatabase -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzMySqlFlexibleServerDatabase -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzMySqlFlexibleServerDatabase -InputObject [-DefaultProfile ] + [] +``` + +## DESCRIPTION +Gets information about a database. + +## EXAMPLES + +### Example 1: Get a MySql database by resource name +```powershell +PS C:\> Get-AzMySqlFlexibleServerDatabase -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -Name flexibleserverdb + +Name Charset Collation +---- -------- ------------------ +flexibleserverdb latin1 latin1_swedish_ci +``` + +This cmdlet gets MySql server by resource name. + +### Example 2: Get MySql databases by identity +```powershell +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test" +PS C:\> Get-AzMySqlFlexibleServerDatabase -InputObject $ID + +Name Charset Collation +---- -------- ------------------ +flexibleserverdb latin1 latin1_swedish_ci +performance_schema latin1 latin1_swedish_ci +``` + +This cmdlet gets a MySql server by identity. + +### Example 3: Lists all the MySql databases in the specified server +```powershell +PS C:\> Get-AzMySqlFlexibleServerDatabase -ResourceGroupName PowershellMySqlTest -ServerName mysql-test + +Name Charset Collation +---- -------- ------------------ +flexibleserverdb latin1 latin1_swedish_ci +performance_schema latin1 latin1_swedish_ci +``` + +This cmdlet lists all the MySql servers in specified the server. + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the database. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: DatabaseName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IDatabase + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServerFirewallRule.md b/src/MySql/docs/Get-AzMySqlFlexibleServerFirewallRule.md new file mode 100644 index 000000000000..06986c636935 --- /dev/null +++ b/src/MySql/docs/Get-AzMySqlFlexibleServerFirewallRule.md @@ -0,0 +1,201 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserverfirewallrule +schema: 2.0.0 +--- + +# Get-AzMySqlFlexibleServerFirewallRule + +## SYNOPSIS +Gets information about a server firewall rule. + +## SYNTAX + +### List (Default) +``` +Get-AzMySqlFlexibleServerFirewallRule -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzMySqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzMySqlFlexibleServerFirewallRule -InputObject [-DefaultProfile ] + [] +``` + +## DESCRIPTION +Gets information about a server firewall rule. + +## EXAMPLES + +### Example 1: Get firewall rules by name +```powershell +PS C:\> Get-AzMySqlFlexibleServerFirewallRule -Name firewallrule-test -ResourceGroupName PowershellMySqlTest -ServerName mysql-test + +FirewallRuleName StartIPAddress EndIPAddress +----------------- --------------- --------------- +firewallrule-test 12.12.12.12 23.23.23.23 +``` + +This cmdlet gets firewall rules by name. + +### Example 2: Get firewall rules by identity +```powershell +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/servers/mysql-test/firewallRules/firewallrule-test" +PS C:\> Get-AzMySqlFlexibleServerFirewallRule -InputObject $ID + +FirewallRuleName StartIPAddress EndIPAddress +----------------- --------------- --------------- +firewallrule-test 12.12.12.12 23.23.23.23 +``` + +This cmdlet gets firewall rules by identity. + +### Example 3: Lists all the firewall rules in the specified MySql server +```powershell +PS C:\> Get-AzMySqlFlexibleServerFirewallRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test + +FirewallRuleName StartIPAddress EndIPAddress +----------------- --------------- --------------- +firewallrule-test 12.12.12.12 23.23.23.23 +firewallrule-test2 12.12.12.15 23.23.23.25 +``` + +This cmdlet lists all the firewall rule in specified MySql server. + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server firewall rule. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: FirewallRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServerLocationBasedCapability.md b/src/MySql/docs/Get-AzMySqlFlexibleServerLocationBasedCapability.md new file mode 100644 index 000000000000..9ef6410dd0a9 --- /dev/null +++ b/src/MySql/docs/Get-AzMySqlFlexibleServerLocationBasedCapability.md @@ -0,0 +1,115 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserverlocationbasedcapability +schema: 2.0.0 +--- + +# Get-AzMySqlFlexibleServerLocationBasedCapability + +## SYNOPSIS +Get the available SKU information for the location + +## SYNTAX + +``` +Get-AzMySqlFlexibleServerLocationBasedCapability -Location [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +## DESCRIPTION +Get the available SKU information for the location + +## EXAMPLES + +### Example 1: Get location capabilities by location name +```powershell +PS C:\> Get-AzMySqlFlexibleServerLocationBasedCapability -Location westus2 +"Please refer to https://aka.ms/mysql-pricing for pricing details" + +SKU Tier Memory vCore +--- ---- ------ ----- +Standard_B1s Burstable 1024 1 +Standard_B1ms Burstable 2048 1 +Standard_B2s Burstable 2048 2 +Standard_D2ds_v4 GeneralPurpose 4096 2 +Standard_D4ds_v4 GeneralPurpose 4096 4 +Standard_D8ds_v4 GeneralPurpose 4096 8 +Standard_D16ds_v4 GeneralPurpose 4096 16 +Standard_D32ds_v4 GeneralPurpose 4096 32 +Standard_D48ds_v4 GeneralPurpose 4096 48 +Standard_D64ds_v4 GeneralPurpose 4096 64 +Standard_E2ds_v4 MemoryOptimized 8192 2 +Standard_E4ds_v4 MemoryOptimized 8192 4 +Standard_E8ds_v4 MemoryOptimized 8192 8 +Standard_E16ds_v4 MemoryOptimized 8192 16 +Standard_E32ds_v4 MemoryOptimized 8192 32 +Standard_E48ds_v4 MemoryOptimized 8192 48 +Standard_E64ds_v4 MemoryOptimized 8192 64 + +``` + +This cmdlet shows basic sku information of the provided location. + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Location +The name of the location. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ICapabilityProperties + +## NOTES + +ALIASES + +## RELATED LINKS + diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServerReplica.md b/src/MySql/docs/Get-AzMySqlFlexibleServerReplica.md new file mode 100644 index 000000000000..63757da17977 --- /dev/null +++ b/src/MySql/docs/Get-AzMySqlFlexibleServerReplica.md @@ -0,0 +1,113 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlflexibleserverreplica +schema: 2.0.0 +--- + +# Get-AzMySqlFlexibleServerReplica + +## SYNOPSIS +List all the replicas for a given server. + +## SYNTAX + +``` +Get-AzMySqlFlexibleServerReplica -ResourceGroupName -ServerName [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +## DESCRIPTION +List all the replicas for a given server. + +## EXAMPLES + +### Example 1: Get MySql server replica by resource group and server name +```powershell +PS C:\> Get-AzMySqlFlexibleServerReplica -ResourceGroupName PowershellMySqlTest -ServerName mysql-test + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +mysql-test westus2 mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose +``` + +This cmdlet gets MySql server replica by resource group and server name. + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated + +## NOTES + +ALIASES + +## RELATED LINKS + diff --git a/src/MySql/docs/Get-AzMySqlReplica.md b/src/MySql/docs/Get-AzMySqlReplica.md new file mode 100644 index 000000000000..26fc74aff2c8 --- /dev/null +++ b/src/MySql/docs/Get-AzMySqlReplica.md @@ -0,0 +1,113 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlreplica +schema: 2.0.0 +--- + +# Get-AzMySqlReplica + +## SYNOPSIS +List all the replicas for a given server. + +## SYNTAX + +``` +Get-AzMySqlReplica -ResourceGroupName -ServerName [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +## DESCRIPTION +List all the replicas for a given server. + +## EXAMPLES + +### Example 1: Get MySql server replica by resource group and server name +```powershell +PS C:\> Get-AzMySqlReplica -ResourceGroupName PowershellMySqlTest -ServerName mysql-test + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement +---- -------- ------------------ ------- ----------------------- ------- ------- -------------- +mysql-test-replica eastus mysql_test 5.7 10240 GP_Gen5_4 GeneralPurpose Disabled +``` + +This cmdlet gets MySql server replica by resource group and server name. + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer + +## NOTES + +ALIASES + +## RELATED LINKS + diff --git a/src/MySql/docs/Get-AzMySqlServer.md b/src/MySql/docs/Get-AzMySqlServer.md new file mode 100644 index 000000000000..0aecfacce834 --- /dev/null +++ b/src/MySql/docs/Get-AzMySqlServer.md @@ -0,0 +1,200 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlserver +schema: 2.0.0 +--- + +# Get-AzMySqlServer + +## SYNOPSIS +Gets information about a server. + +## SYNTAX + +### List1 (Default) +``` +Get-AzMySqlServer [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzMySqlServer -Name -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzMySqlServer -InputObject [-DefaultProfile ] [] +``` + +### List +``` +Get-AzMySqlServer -ResourceGroupName [-SubscriptionId ] [-DefaultProfile ] + [] +``` + +## DESCRIPTION +Gets information about a server. + +## EXAMPLES + +### Example 1: Get MySql server with default context +```powershell +PS C:\> Get-AzMySqlServer + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement +---- -------- ------------------ ------- ----------------------- ------- ------- -------------- +mysql-test-11 eastus mysql_test 5.7 5120 GP_Gen5_4 GeneralPurpose Enabled +``` + +This cmdlet gets MySql server with default context. + +### Example 2: Get MySql server by resource group and server name +```powershell +PS C:\> Get-AzMySqlServer -ResourceGroupName PowershellMySqlTest -Name mysql-test + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement +---- -------- ------------------ ------- ----------------------- ------- ------- -------------- +mysql-test eastus mysql_test 5.7 5120 GP_Gen5_4 GeneralPurpose Enabled +``` + +This cmdlet gets MySql server by resource group and server name. + +### Example 3: Lists all the MySql servers in specified resource group +```powershell +PS C:\> Get-AzMySqlServer -ResourceGroupName PowershellMySqlTest + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement +---- -------- ------------------ ------- ----------------------- ------- ------- ------------ +mysql-test eastus mysql_test 5.7 5120 GP_Gen5_4 GeneralPurpose Enabled +``` + +This cmdlet lists all the MySql servers in specified resource group. + +### Example 4: Get MySql server by identity +```powershell +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test" +PS C:\> Get-AzMySqlServer -InputObject $ID + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement +---- -------- ------------------ ------- ----------------------- ------- ------- ------------ +mysql-test eastus mysql_test 5.7 5120 GP_Gen5_4 GeneralPurpose Enabled +``` + +This cmdlet lists gets MySql server by identity. + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: Get, List, List1 +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Get-AzMySqlVirtualNetworkRule.md b/src/MySql/docs/Get-AzMySqlVirtualNetworkRule.md new file mode 100644 index 000000000000..133da7f19ef7 --- /dev/null +++ b/src/MySql/docs/Get-AzMySqlVirtualNetworkRule.md @@ -0,0 +1,215 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/get-azmysqlvirtualnetworkrule +schema: 2.0.0 +--- + +# Get-AzMySqlVirtualNetworkRule + +## SYNOPSIS +Gets a virtual network rule. + +## SYNTAX + +### List (Default) +``` +Get-AzMySqlVirtualNetworkRule -ResourceGroupName -ServerName [-SubscriptionId ] + [-DefaultProfile ] [-PassThru] [] +``` + +### Get +``` +Get-AzMySqlVirtualNetworkRule -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-PassThru] [] +``` + +### GetViaIdentity +``` +Get-AzMySqlVirtualNetworkRule -InputObject [-DefaultProfile ] [-PassThru] + [] +``` + +## DESCRIPTION +Gets a virtual network rule. + +## EXAMPLES + +### Example 1: Lists all the Virtual Network Rules in specified MySql server +```powershell +PS C:\> Get-AzMySqlVirtualNetworkRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test + +Name Type +---- ---- +vnet Microsoft.DBforMySQL/servers/virtualNetworkRules +``` + +This cmdlet lists all the Virtual Network Rules in specified MySql server. + +### Example 2: Get Virtual Network Rule by name +```powershell +PS C:\> Get-AzMySqlVirtualNetworkRule -Name vnet -ResourceGroupName PowershellMySqlTest -ServerName mysql-test + +Name Type +---- ---- +vnet Microsoft.DBforMySQL/servers/virtualNetworkRules +``` + +This cmdlet gets Virtual Network Rule by name. + +### Example 3: Get Virtual Network Rule by identity +```powershell +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/virtualNetworkRules/vnet" +PS C:\> Get-AzMySqlVirtualNetworkRule -InputObject $ID + +Name Type +---- ---- +vnet Microsoft.DBforMySQL/servers/virtualNetworkRules +``` + +This cmdlet gets Virtual Network Rule by identity. + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the virtual network rule. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: VirtualNetworkRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IVirtualNetworkRule + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/New-AzMySqlFirewallRule.md b/src/MySql/docs/New-AzMySqlFirewallRule.md new file mode 100644 index 000000000000..79ae7ecdd053 --- /dev/null +++ b/src/MySql/docs/New-AzMySqlFirewallRule.md @@ -0,0 +1,292 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlfirewallrule +schema: 2.0.0 +--- + +# New-AzMySqlFirewallRule + +## SYNOPSIS +Creates a new firewall rule or updates an existing firewall rule. + +## SYNTAX + +### CreateExpanded (Default) +``` +New-AzMySqlFirewallRule -ResourceGroupName -ServerName -EndIPAddress + -StartIPAddress [-Name ] [-SubscriptionId ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### AllowAll +``` +New-AzMySqlFirewallRule -ResourceGroupName -ServerName -AllowAll [-Name ] + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### ClientIPAddress +``` +New-AzMySqlFirewallRule -ResourceGroupName -ServerName -ClientIPAddress + [-Name ] [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Creates a new firewall rule or updates an existing firewall rule. + +## EXAMPLES + +### Example 1: Create a new MySql server Firewall Rule +```powershell +PS C:\> New-AzMySqlFirewallRule -Name rule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 + +Name StartIPAddress EndIPAddress +---- -------------- ------------ +rule 0.0.0.0 0.0.0.1 +``` + +This cmdlets create a MySql server Firewall Rule. + +### Example 2: Create a new MySql Firewall Rule using -ClientIPAddress. +```powershell +PS C:\> New-AzMySqlFirewallRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -ClientIPAddress 0.0.0.1 + +Name StartIPAddress EndIPAddress +---- -------------- ------------ +ClientIPAddress_2020-08-11_18-19-27 0.0.0.1 0.0.0.1 +``` + +This cmdlets create a MySql Firewall Rule using -ClientIPAddress. + +### Example 3: Create a new MySql Firewall Rule to allow all IPs +```powershell +PS C:\> New-AzMySqlFirewallRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -AllowAll + +Name StartIPAddress EndIPAddress +---- -------------- ------------ +AllowAll_2020-08-11_18-19-27 0.0.0.0 255.255.255.255 +``` + +This cmdlets create a new MySql Firewall Rule to allow all IPs. + +## PARAMETERS + +### -AllowAll +Present to allow all range IPs, from 0.0.0.0 to 255.255.255.255. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: AllowAll +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClientIPAddress +Client specified single IP of the server firewall rule. +Must be IPv4 format. + +```yaml +Type: System.String +Parameter Sets: ClientIPAddress +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EndIPAddress +The end IP address of the server firewall rule. +Must be IPv4 format. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the server firewall rule. +If not specified, the default is undefined. +If AllowAll is present, the default name is AllowAll_yyyy-MM-dd_HH-mm-ss. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: FirewallRuleName + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StartIPAddress +The start IP address of the server firewall rule. +Must be IPv4 format. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule + +## NOTES + +ALIASES + +## RELATED LINKS + diff --git a/src/MySql/docs/New-AzMySqlFlexibleServer.md b/src/MySql/docs/New-AzMySqlFlexibleServer.md new file mode 100644 index 000000000000..01543410f74c --- /dev/null +++ b/src/MySql/docs/New-AzMySqlFlexibleServer.md @@ -0,0 +1,573 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlflexibleserver +schema: 2.0.0 +--- + +# New-AzMySqlFlexibleServer + +## SYNOPSIS +Creates a new server. + +## SYNTAX + +``` +New-AzMySqlFlexibleServer [-Name ] [-ResourceGroupName ] [-SubscriptionId ] + [-AdministratorLoginPassword ] [-AdministratorUserName ] [-BackupRetentionDay ] + [-HighAvailability ] [-Location ] [-PublicAccess ] [-Sku ] + [-SkuTier ] [-StorageInMb ] [-Subnet ] [-SubnetPrefix ] [-Tag ] + [-Version ] [-Vnet ] [-VnetPrefix ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Creates a new server. + +## EXAMPLES + +### Example 1: Create a new MySql flexible server with arguments +```powershell +PS C:\> $password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force +PS C:\> New-AzMySqlFlexibleServer -Name mysql-test -ResourceGroupName PowershellMySqlTest \ +-Location eastus -AdministratorUserName mysqltest -AdministratorLoginPassword $password -Sku Standard_B1ms -SkuTier Burstable -Version 12 -StorageInMb 10240 -PublicAccess none + +Checking the existence of the resource group PowershellMySqlTest ... +Resource group PowershellMySqlTest exists ? : True +Creating MySQL server mysql-test in group MySqlTest... +Your server mysql-test is using sku Standard_B1ms (Paid Tier). Please refer to https://aka.ms/mysql-pricing for pricing details + + +"databaseName": "flexibleserverdb", +"id": "/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test", +"location": "westus2", +"password": "***************", +"resourceGroup": "MySqlTest", +"skuname": "Standard_B1ms", +"username": "mysqltest", +"version": "5.7" + + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ------------ ------------- +mysql-test West US 2 mysqltest 5.7 10240 Standard_B1ms Burstable +``` + + + +### Example 2: Create a new MySql flexible server with default setting +```powershell +PS C:\> New-AzMySqlFlexibleServer + +Creating resource group group00000000... +Creating new vnet VNETserver00000000 in resource group group00000000 +Creating new subnet Subnetserver00000000 in resource group group00000000 and delegating it to Microsoft.DBforMySQL/flexibleServers +Creating MySQL server server00000000 in group group00000000... +Your server mysql-test is using sku Standard_B1ms (Paid Tier). Please refer to https://aka.ms/mysql-pricing for pricing details +Creating database flexibleserverdb... + +"databaseName": "flexibleserverdb", +"id": "/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/group00000000/providers/Microsoft.DBForMySql/flexibleServers/server00000000", +"location": "westus2", +"password": "***************", +"resourceGroup": "group00000000", +"skuname": "Standard_B1ms", +"username": "seemlyHyena2", +"version": "5.7" +``` + +This cmdlet creates MySql flexible server with default parameter values and provision the server inside a new virtual network and have a subnet delegated to the server. +The default values of location is West US 2, Sku is Standard_B1ms, Sku tier is Burstable, and storage size is 10GiB. + +### Example 3: Create a new MySql flexible server with virtual network +```powershell +PS C:\> $Vnet = 'vnetname' +PS C:\> New-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Vnet $Vnet + +or + +PS C:\> $Vnet = '/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/PowershellMySqlTest/providers/Microsoft.Network/virtualNetworks/vnetname' +PS C:\> New-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Vnet $Vnet + +Resource group PowershellMySqlTest exists ? : True +You have supplied a vnet Id/name. Verifying its existence... +Creating new vnet vnetname in resource group PowershellMySqlTest +Creating new subnet Subnetserver00000000 in resource group PowershellMySqlTest and delegating it to Microsoft.DBforMySQL/flexibleServers +Creating MySQL server server00000000 in group PowershellMySqlTest... +Your server server00000000 is using sku Standard_B1ms (Paid Tier). Please refer to https://aka.ms/mysql-pricing for pricing details +Creating database flexibleserverdb... + +"databaseName": "flexibleserverdb", +"id": "/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test", +"location": "westus2", +"password": "***************", +"resourceGroup": "PowershellMySqlTest", +"skuname": "Standard_B1ms", +"username": "seemlyHyena2", +"version": "5.7" +"subnetId": "/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/PowershellMySqlTest/providers/Microsoft.Network/virtualNetwork/vnetname/subnets/Subnetserver00000000" + +``` + +This cmdlet creates MySql flexible server with vnet id or vnet name provided by a user. +If the virtual network doesn't exist, the cmdlet creates one. + +### Example 4: Create a new MySql flexible server with virtual network and subnet name +```powershell +PS C:\> New-AzMySqlFlexibleServer -Name mysql-test -ResourceGroupName PowershellMySqlTest -Vnet mysql-vnet -Subnet mysql-subnet -VnetPrefix 10.0.0.0/16 -SubnetPrefix 10.0.0.0/24 + +Resource group PowershellMySqlTest exists ? : True +Creating new vnet mysql-vnet in resource group PowershellMySqlTest +Creating new subnet mysql-subnet in resource group PowershellMySqlTest and delegating it to Microsoft.DBforMySQL/flexibleServers +Creating MySQL server mysql-test in group PowershellMySqlTest... +Your server mysql-test is using sku Standard_B1ms (Paid Tier). Please refer to https://aka.ms/mysql-pricing for pricing details +Creating database flexibleserverdb... + +"databaseName": "flexibleserverdb", +"id": "/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test", +"location": "westus2", +"password": "***************", +"resourceGroup": "PowershellMySqlTest", +"skuname": "Standard_B1ms", +"username": "seemlyHyena2", +"version": "5.7" +"subnetId": "/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/PowershellMySqlTest/providers/Microsoft.Network/virtualNetwork/mysql-vnet/subnets/mysql-subnet" + +``` + +This cmdlet creates MySql flexible server with vnet name, subnet name, vnet prefix, and subnet prefix. +If the virtual network and subnet don't exist, the cmdlet creates one. + +### Example 7: Create a new MySql flexible server with public access to all IPs +```powershell +PS C:\> New-AzMySqlFlexibleServer -Name mysql-test -ResourceGroupName PowershellMySqlTest -PublicAccess All + +Resource group PowershellMySqlTest exists ? : True +Creating MySQL server mysql-test in group PowershellMySqlTest... +Your server mysql-test is using sku Standard_B1ms (Paid Tier). Please refer to https://aka.ms/mysql-pricing for pricing details +Creating database flexibleserverdb... +Configuring server firewall rule to accept connections from 0.0.0.0 to 255.255.255.255 + +"databaseName": "flexibleserverdb", +"id": "/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test", +"location": "westus2", +"password": "***************", +"resourceGroup": "PowershellMySqlTest", +"skuname": "Standard_B1ms", +"username": "seemlyHyena2", +"version": "5.7" +"firewallName": "AllowAll_2020_00_00-00_00-00-00" +``` + +This cmdlet creates MySql flexible server open to all IP addresses. + +### Example 8: Create a new MySql flexible server with firewall +```powershell +PS C:\> New-AzMySqlFlexibleServer -Name mysql-test -ResourceGroupName PowershellMySqlTest -PublicAccess 10.10.10.10-10.10.10.12 + +Resource group PowershellMySqlTest exists ? : True +Creating MySQL server mysql-test in group PowershellMySqlTest... +Your server mysql-test is using sku Standard_B1ms (Paid Tier). Please refer to https://aka.ms/mysql-pricing for pricing details +Creating database flexibleserverdb... +Configuring server firewall rule to accept connections from 10.10.10.10 to 10.10.10.12 + +"databaseName": "flexibleserverdb", +"id": "/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test", +"location": "westus2", +"password": "***************", +"resourceGroup": "PowershellMySqlTest", +"skuname": "Standard_B1ms", +"username": "seemlyHyena2", +"version": "5.7" +"firewallName": "FirewallIPAddress__2020_00_00-00_00-00-00" + +``` + +This cmdlet creates MySql flexible server open to specified IP addresses. + +## PARAMETERS + +### -AdministratorLoginPassword +The password of the administrator. +Minimum 8 characters and maximum 128 characters. +Password must contain characters from three of the following categories: English uppercase letters, English lowercase letters, numbers, and non-alphanumeric characters. + +```yaml +Type: System.Security.SecureString +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AdministratorUserName +Administrator username for the server. +Once set, it cannot be changed. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -BackupRetentionDay +Backup retention days for the server. +Day count is between 7 and 35. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -HighAvailability +Enable or disable high availability feature. +Default value is Disabled. +Default: Disabled. + +```yaml +Type: System.Object +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Location +The location the resource resides in. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: ServerName + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PublicAccess +Determines the public access. +Enter single or range of IP addresses to be + included in the allowed list of IPs. +IP address ranges must be dash- + separated and not contain any spaces. +Specifying 0.0.0.0 allows public + access from any resources deployed within Azure to access your server. + Specifying no IP address sets the server in public access mode but does + not create a firewall rule. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Sku +The name of the sku, typically, tier + family + cores, e.g. +Standard_B1ms, Standard_D2ds_v4. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkuTier +Compute tier of the server. +Accepted values: Burstable, GeneralPurpose, Memory Optimized. +Default: Burstable. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageInMb +Max storage allowed for a server. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Subnet +The Name or Id of an existing Subnet or name of a new one to create. +Please note that the subnet will be delegated to Microsoft.DBforMySQL/flexibleServers. +After delegation, this subnet cannot be used for any other type of Azure resources. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubnetPrefix +The subnet IP address prefix to use when creating a new vnet in CIDR format. +Default value is 10.0.0.0/24. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The subscription ID that identifies an Azure subscription. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tag +Application-specific metadata in the form of key-value pairs. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Version +Server version. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerVersion +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Vnet +The Name or Id of an existing virtual network or name of a new one to create. +The name must be between 2 to 64 characters. +The name must begin with a letter or number, end with a letter, number or underscore, and may contain only letters, numbers, underscores, periods, or hyphens. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VnetPrefix +The IP address prefix to use when creating a new vnet in CIDR format. +Default value is 10.0.0.0/16. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated + +## NOTES + +ALIASES + +## RELATED LINKS + diff --git a/src/MySql/docs/New-AzMySqlFlexibleServerDatabase.md b/src/MySql/docs/New-AzMySqlFlexibleServerDatabase.md new file mode 100644 index 000000000000..c6ff04d467bf --- /dev/null +++ b/src/MySql/docs/New-AzMySqlFlexibleServerDatabase.md @@ -0,0 +1,263 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlflexibleserverdatabase +schema: 2.0.0 +--- + +# New-AzMySqlFlexibleServerDatabase + +## SYNOPSIS +Creates a new database or updates an existing database. + +## SYNTAX + +### CreateExpanded (Default) +``` +New-AzMySqlFlexibleServerDatabase -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-Charset ] [-Collation ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CreateViaIdentityExpanded +``` +New-AzMySqlFlexibleServerDatabase -InputObject [-Charset ] [-Collation ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Creates a new database or updates an existing database. + +## EXAMPLES + +### Example 1: Create a new MySql server database +```powershell +PS C:\> New-AzMySqlFlexibleServerDatabase -Name databasetest -ResourceGroupName PowershellMySqlTest -ServerName mysql-test + +Name Charset Collation +---- -------- ------------------ +databasetest latin1 latin1_swedish_ci +``` + +Create a database with default settings. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Charset +The charset of the database. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Collation +The collation of the database. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: CreateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the database. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: DatabaseName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IDatabase + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/New-AzMySqlFlexibleServerFirewallRule.md b/src/MySql/docs/New-AzMySqlFlexibleServerFirewallRule.md new file mode 100644 index 000000000000..942359119206 --- /dev/null +++ b/src/MySql/docs/New-AzMySqlFlexibleServerFirewallRule.md @@ -0,0 +1,292 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlflexibleserverfirewallrule +schema: 2.0.0 +--- + +# New-AzMySqlFlexibleServerFirewallRule + +## SYNOPSIS +Creates a new firewall rule for MySQL flexible server + +## SYNTAX + +### CreateExpanded (Default) +``` +New-AzMySqlFlexibleServerFirewallRule -ResourceGroupName -ServerName -EndIPAddress + -StartIPAddress [-Name ] [-SubscriptionId ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### AllowAll +``` +New-AzMySqlFlexibleServerFirewallRule -ResourceGroupName -ServerName -AllowAll + [-Name ] [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### ClientIPAddress +``` +New-AzMySqlFlexibleServerFirewallRule -ResourceGroupName -ServerName + -ClientIPAddress [-Name ] [-SubscriptionId ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Creates a new firewall rule for MySQL flexible server + +## EXAMPLES + +### Example 1: Create a new MySql server Firewall Rule +```powershell +PS C:\> New-AzMySqlFlexibleServerFirewallRule -Name firewallrule-test -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 + +Name StartIPAddress EndIPAddress +----------------- -------------- ------------ +firewallrule-test 0.0.0.0 0.0.0.1 +``` + +This cmdlets create a MySql server Firewall Rule. + +### Example 2: Create a new MySql Firewall Rule using -ClientIPAddress. +```powershell +PS C:\> New-AzMySqlFlexibleServerFirewallRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -ClientIPAddress 0.0.0.1 + +Name StartIPAddress EndIPAddress +---- -------------- ------------ +ClientIPAddress_2020-08-11_18-19-27 0.0.0.1 0.0.0.1 +``` + +This cmdlets create a MySql Firewall Rule using -ClientIPAddress. + +### Example 3: Create a new MySql Firewall Rule to allow all IPs +```powershell +PS C:\> New-AzMySqlFlexibleServerFirewallRule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -AllowAll + +Name StartIPAddress EndIPAddress +---- -------------- ------------ +AllowAll_2020-08-11_18-19-27 0.0.0.0 255.255.255.255 +``` + +This cmdlets create a new MySql Firewall Rule to allow all IPs. + +## PARAMETERS + +### -AllowAll +Present to allow all range IPs, from 0.0.0.0 to 255.255.255.255. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: AllowAll +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClientIPAddress +Client specified single IP of the server firewall rule. +Must be IPv4 format. + +```yaml +Type: System.String +Parameter Sets: ClientIPAddress +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EndIPAddress +The end IP address of the server firewall rule. +Must be IPv4 format. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the server firewall rule. +If not specified, the default is undefined. +If AllowAll is present, the default name is AllowAll_yyyy-MM-dd_HH-mm-ss. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: FirewallRuleName + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StartIPAddress +The start IP address of the server firewall rule. +Must be IPv4 format. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule + +## NOTES + +ALIASES + +## RELATED LINKS + diff --git a/src/MySql/docs/New-AzMySqlFlexibleServerReplica.md b/src/MySql/docs/New-AzMySqlFlexibleServerReplica.md new file mode 100644 index 000000000000..28a1fa98eeac --- /dev/null +++ b/src/MySql/docs/New-AzMySqlFlexibleServerReplica.md @@ -0,0 +1,239 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlflexibleserverreplica +schema: 2.0.0 +--- + +# New-AzMySqlFlexibleServerReplica + +## SYNOPSIS +Creates a replica server for a MySQL flexible server + +## SYNTAX + +``` +New-AzMySqlFlexibleServerReplica -Replica -ResourceGroupName -Master + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Creates a new replica from an existing database. + +## EXAMPLES + +### Example 1: Create a new MySql server replica +```powershell +PS C:\> Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test | New-AzMySqlFlexibleServerReplica -Replica mysql-test-replica -ResourceGroupName PowershellMySqlTest + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ------- ------- +mysql-test-replica westus2 mysql_test 5.7 10240 Standard_B1ms Burstable +``` + +This cmdlet creates a new MySql server replica. + +### Example 2: Create a new MySql server replica +```powershell +PS C:\> $mysql = Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test +PS C:\> New-AzMySqlFlexibleServerReplica -Master $mysql -Replica mysql-test-replica -ResourceGroupName PowershellMySqlTest + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ------- ------- +mysql-test-replica westus2 mysql_test 5.7 10240 Standard_B1ms Burstable +``` + +This cmdlet with parameter master(inputobject) creates a new MySql server replica. + +## PARAMETERS + +### -AsJob +Run the command as a job. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Master +The source server object to create replica from. +To construct, see NOTES section for MASTER properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated +Parameter Sets: (All) +Aliases: InputObject + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Replica +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: ReplicaServerName, Name + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The subscription ID that identifies an Azure subscription. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +MASTER : The source server object to create replica from. + - `Location `: The geo-location where the resource lives + - `SkuName `: The name of the sku, e.g. Standard_D32s_v3. + - `SkuTier `: The tier of the particular SKU, e.g. GeneralPurpose. + - `[Tag ]`: Resource tags. + - `[(Any) ]`: This indicates any property can be added to this object. + - `[AdministratorLogin ]`: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). + - `[AdministratorLoginPassword ]`: The password of the administrator login (required for server creation). + - `[AvailabilityZone ]`: availability Zone information of the server. + - `[CreateMode ]`: The mode to create a new MySQL server. + - `[DelegatedSubnetArgumentSubnetArmResourceId ]`: delegated subnet arm resource id. + - `[HaEnabled ]`: Enable HA or not for a server. + - `[IdentityType ]`: The identity type. + - `[InfrastructureEncryption ]`: Status showing whether the server enabled infrastructure encryption. + - `[MaintenanceWindowCustomWindow ]`: indicates whether custom window is enabled or disabled + - `[MaintenanceWindowDayOfWeek ]`: day of week for maintenance window + - `[MaintenanceWindowStartHour ]`: start hour for maintenance window + - `[MaintenanceWindowStartMinute ]`: start minute for maintenance window + - `[PropertiesTag ]`: Application-specific metadata in the form of key-value pairs. + - `[(Any) ]`: This indicates any property can be added to this object. + - `[ReplicationRole ]`: The replication role. + - `[RestorePointInTime ]`: Restore point creation time (ISO8601 format), specifying the time to restore from. + - `[SourceServerId ]`: The source MySQL server id. + - `[SslEnforcement ]`: Enable ssl enforcement or not when connect to server. + - `[StorageProfileBackupRetentionDay ]`: Backup retention days for the server. + - `[StorageProfileStorageAutogrow ]`: Enable Storage Auto Grow. + - `[StorageProfileStorageIop ]`: Storage IOPS for a server. + - `[StorageProfileStorageMb ]`: Max storage allowed for a server. + - `[Version ]`: Server version. + +## RELATED LINKS + diff --git a/src/MySql/docs/New-AzMySqlReplica.md b/src/MySql/docs/New-AzMySqlReplica.md new file mode 100644 index 000000000000..4d23a93185b9 --- /dev/null +++ b/src/MySql/docs/New-AzMySqlReplica.md @@ -0,0 +1,267 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlreplica +schema: 2.0.0 +--- + +# New-AzMySqlReplica + +## SYNOPSIS +Creates a new replica from an existing database. + +## SYNTAX + +``` +New-AzMySqlReplica -Replica -ResourceGroupName -Master [-SubscriptionId ] + [-Location ] [-Sku ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Creates a new replica from an existing database. + +## EXAMPLES + +### Example 1: Create a new MySql server replica +```powershell +PS C:\> Get-AzMySqlServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test | New-AzMySqlReplica -Replica mysql-test-replica -ResourceGroupName PowershellMySqlTest + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement +---- -------- ------------------ ------- ----------------------- ------- ------- -------------- +mysql-test-replica eastus mysql_test 5.7 10240 GP_Gen5_4 GeneralPurpose Disabled +``` + +This cmdlet creates a new MySql server replica. + +### Example 2: Create a new MySql server replica +```powershell +PS C:\> $mysql = Get-AzMySqlServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test +PS C:\> New-AzMySqlReplica -Master $mysql -Replica mysql-test-replica -ResourceGroupName PowershellMySqlTest + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement +---- -------- ------------------ ------- ----------------------- ------- ------- -------------- +mysql-test-replica eastus mysql_test 5.7 10240 GP_Gen5_4 GeneralPurpose Disabled +``` + +This cmdlet with parameter master(inputobject) creates a new MySql server replica. + +## PARAMETERS + +### -AsJob +Run the command as a job. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Location +The location the resource resides in. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Master +The source server object to create replica from. +To construct, see NOTES section for MASTER properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer +Parameter Sets: (All) +Aliases: InputObject + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Replica +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: ReplicaServerName, Name + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Sku +The name of the sku, typically, tier + family + cores, e.g. +B_Gen4_1, GP_Gen5_8. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The subscription ID that identifies an Azure subscription. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +MASTER : The source server object to create replica from. + - `Location `: The geo-location where the resource lives + - `SkuName `: The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. + - `[Tag ]`: Resource tags. + - `[(Any) ]`: This indicates any property can be added to this object. + - `[AdministratorLogin ]`: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). + - `[EarliestRestoreDate ]`: Earliest restore point creation time (ISO8601 format) + - `[FullyQualifiedDomainName ]`: The fully qualified domain name of a server. + - `[IdentityType ]`: The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. + - `[InfrastructureEncryption ]`: Status showing whether the server enabled infrastructure encryption. + - `[MasterServerId ]`: The master server id of a replica server. + - `[MinimalTlsVersion ]`: Enforce a minimal Tls version for the server. + - `[PublicNetworkAccess ]`: Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' + - `[ReplicaCapacity ]`: The maximum number of replicas that a master server can have. + - `[ReplicationRole ]`: The replication role of the server. + - `[SkuCapacity ]`: The scale up/out capacity, representing server's compute units. + - `[SkuFamily ]`: The family of hardware. + - `[SkuSize ]`: The size code, to be interpreted by resource as appropriate. + - `[SkuTier ]`: The tier of the particular SKU, e.g. Basic. + - `[SslEnforcement ]`: Enable ssl enforcement or not when connect to server. + - `[StorageProfileBackupRetentionDay ]`: Backup retention days for the server. + - `[StorageProfileGeoRedundantBackup ]`: Enable Geo-redundant or not for server backup. + - `[StorageProfileStorageAutogrow ]`: Enable Storage Auto Grow. + - `[StorageProfileStorageMb ]`: Max storage allowed for a server. + - `[UserVisibleState ]`: A state of a server that is visible to user. + - `[Version ]`: Server version. + +## RELATED LINKS + diff --git a/src/MySql/docs/New-AzMySqlServer.md b/src/MySql/docs/New-AzMySqlServer.md new file mode 100644 index 000000000000..ae4ee28f4106 --- /dev/null +++ b/src/MySql/docs/New-AzMySqlServer.md @@ -0,0 +1,347 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlserver +schema: 2.0.0 +--- + +# New-AzMySqlServer + +## SYNOPSIS +Creates a new server. + +## SYNTAX + +``` +New-AzMySqlServer -Name -ResourceGroupName -AdministratorLoginPassword + -AdministratorUserName -Location -Sku [-SubscriptionId ] + [-BackupRetentionDay ] [-GeoRedundantBackup ] + [-SslEnforcement ] [-StorageAutogrow ] [-StorageInMb ] + [-Tag ] [-Version ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Creates a new server. + +## EXAMPLES + +### Example 1: Create a new MySql server +```powershell +PS C:\> New-AzMySqlServer -Name mysql-test -ResourceGroupName PowershellMySqlTest -Location eastus -AdministratorUser mysql_test -AdministratorLoginPassword $password -Sku GP_Gen5_4 + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement +---- -------- ------------------ ------- ----------------------- ------- ------- ------------ +mysql-test eastus mysql_test 5.7 5120 GP_Gen5_4 GeneralPurpose Enabled +``` + +These cmdlets create a new MySql server. + +## PARAMETERS + +### -AdministratorLoginPassword +The password of the administrator. +Minimum 8 characters and maximum 128 characters. +Password must contain characters from three of the following categories: English uppercase letters, English lowercase letters, numbers, and non-alphanumeric characters. + +```yaml +Type: System.Security.SecureString +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AdministratorUserName +Administrator username for the server. +Once set, it cannot be changed. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -BackupRetentionDay +Backup retention days for the server. +Day count is between 7 and 35. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GeoRedundantBackup +Enable Geo-redundant or not for server backup. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.GeoRedundantBackup +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Location +The location the resource resides in. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Sku +The name of the sku, typically, tier + family + cores, e.g. +B_Gen4_1, GP_Gen5_8. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SslEnforcement +Enable ssl enforcement or not when connect to server. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SslEnforcementEnum +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageAutogrow +Enable Storage Auto Grow. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageInMb +Max storage allowed for a server. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The subscription ID that identifies an Azure subscription. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tag +Application-specific metadata in the form of key-value pairs. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Version +Server version. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerVersion +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer + +## NOTES + +ALIASES + +## RELATED LINKS + diff --git a/src/MySql/docs/New-AzMySqlVirtualNetworkRule.md b/src/MySql/docs/New-AzMySqlVirtualNetworkRule.md new file mode 100644 index 000000000000..a3bec6784dc1 --- /dev/null +++ b/src/MySql/docs/New-AzMySqlVirtualNetworkRule.md @@ -0,0 +1,242 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/new-azmysqlvirtualnetworkrule +schema: 2.0.0 +--- + +# New-AzMySqlVirtualNetworkRule + +## SYNOPSIS +Creates or updates an existing virtual network rule. + +## SYNTAX + +``` +New-AzMySqlVirtualNetworkRule -Name -ResourceGroupName -ServerName + -SubnetId [-SubscriptionId ] [-IgnoreMissingVnetServiceEndpoint] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Creates or updates an existing virtual network rule. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +PS C:\> {{ Add code here }} + +{{ Add output here }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IgnoreMissingVnetServiceEndpoint +Create firewall rule before the virtual network has vnet service endpoint enabled. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the virtual network rule. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: VirtualNetworkRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubnetId +The ARM resource id of the virtual network subnet. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IVirtualNetworkRule + +## NOTES + +ALIASES + +## RELATED LINKS + diff --git a/src/MySql/docs/Remove-AzMySqlFirewallRule.md b/src/MySql/docs/Remove-AzMySqlFirewallRule.md new file mode 100644 index 000000000000..2a9b617e855e --- /dev/null +++ b/src/MySql/docs/Remove-AzMySqlFirewallRule.md @@ -0,0 +1,254 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/remove-azmysqlfirewallrule +schema: 2.0.0 +--- + +# Remove-AzMySqlFirewallRule + +## SYNOPSIS +Deletes a server firewall rule. + +## SYNTAX + +### Delete (Default) +``` +Remove-AzMySqlFirewallRule -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +### DeleteViaIdentity +``` +Remove-AzMySqlFirewallRule -InputObject [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Deletes a server firewall rule. + +## EXAMPLES + +### Example 1: Remove MySql Firewall Rule by name +```powershell +PS C:\> Remove-AzMySqlFirewallRule -Name rule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test + +``` + +This cmdlet removes MySql Firewall Rule by name. + +### Example 2: Remove MySql Firewall Rule by identity +```powershell +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/firewallRules/rule" +PS C:\> Remove-AzMySqlFirewallRule -InputObject $ID + +``` + +These cmdlets remove MySql Firewall Rule by identity. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server firewall rule. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: FirewallRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Remove-AzMySqlFlexibleServer.md b/src/MySql/docs/Remove-AzMySqlFlexibleServer.md new file mode 100644 index 000000000000..116ce6de47de --- /dev/null +++ b/src/MySql/docs/Remove-AzMySqlFlexibleServer.md @@ -0,0 +1,238 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/remove-azmysqlflexibleserver +schema: 2.0.0 +--- + +# Remove-AzMySqlFlexibleServer + +## SYNOPSIS +Deletes a server. + +## SYNTAX + +### Delete (Default) +``` +Remove-AzMySqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentity +``` +Remove-AzMySqlFlexibleServer -InputObject [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Deletes a server. + +## EXAMPLES + +### Example 1: Remove MySql server by resourceGroup and server name +```powershell +PS C:\> Remove-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Name mysql-test + +``` + +This cmdlet removes MySql server by resourceGroup and server name. + +### Example 2: Remove MySql server by identity +```powershell +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test" +PS C:\> Remove-AzMySqlFlexibleServer -InputObject $ID + +``` + +These cmdlets remove MySql server by identity. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Remove-AzMySqlFlexibleServerDatabase.md b/src/MySql/docs/Remove-AzMySqlFlexibleServerDatabase.md new file mode 100644 index 000000000000..075dbe0b59f4 --- /dev/null +++ b/src/MySql/docs/Remove-AzMySqlFlexibleServerDatabase.md @@ -0,0 +1,253 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/remove-azmysqlflexibleserverdatabase +schema: 2.0.0 +--- + +# Remove-AzMySqlFlexibleServerDatabase + +## SYNOPSIS +Deletes a database. + +## SYNTAX + +### Delete (Default) +``` +Remove-AzMySqlFlexibleServerDatabase -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +### DeleteViaIdentity +``` +Remove-AzMySqlFlexibleServerDatabase -InputObject [-DefaultProfile ] [-AsJob] + [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Deletes a database. + +## EXAMPLES + +### Example 1: Remove MySql database by name +```powershell +PS C:\> Remove-AzMySqlFlexibleServerDatabase -Name databasetest -ResourceGroupName PowershellMySqlTest -ServerName mysql-test +``` + +This cmdlet removes MySql database by name. + +### Example 2: Remove MySql database by identity +```powershell +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/databases/databasetest" +PS C:\> Remove-AzMySqlFlexibleServerDatabase -InputObject $ID + +``` + +These cmdlets remove MySql database by identity. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the database. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: DatabaseName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Remove-AzMySqlFlexibleServerFirewallRule.md b/src/MySql/docs/Remove-AzMySqlFlexibleServerFirewallRule.md new file mode 100644 index 000000000000..0394443a21d0 --- /dev/null +++ b/src/MySql/docs/Remove-AzMySqlFlexibleServerFirewallRule.md @@ -0,0 +1,254 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/remove-azmysqlflexibleserverfirewallrule +schema: 2.0.0 +--- + +# Remove-AzMySqlFlexibleServerFirewallRule + +## SYNOPSIS +Deletes a firewall rule. + +## SYNTAX + +### Delete (Default) +``` +Remove-AzMySqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +### DeleteViaIdentity +``` +Remove-AzMySqlFlexibleServerFirewallRule -InputObject [-DefaultProfile ] [-AsJob] + [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Deletes a firewall rule. + +## EXAMPLES + +### Example 1: Remove MySql Firewall Rule by name +```powershell +PS C:\> Remove-AzMySqlFlexibleServerFirewallRule -Name firewall-rule-test -ResourceGroupName PowershellMySqlTest -ServerName mysql-test + +``` + +This cmdlet removes MySql Firewall Rule by name. + +### Example 2: Remove MySql Firewall Rule by identity +```powershell +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/firewallRules/firewall-rule-test" +PS C:\> Remove-AzMySqlFlexibleServerFirewallRule -InputObject $ID + +``` + +These cmdlets remove MySql Firewall Rule by identity. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server firewall rule. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: FirewallRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Remove-AzMySqlServer.md b/src/MySql/docs/Remove-AzMySqlServer.md new file mode 100644 index 000000000000..37b1679472d0 --- /dev/null +++ b/src/MySql/docs/Remove-AzMySqlServer.md @@ -0,0 +1,238 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/remove-azmysqlserver +schema: 2.0.0 +--- + +# Remove-AzMySqlServer + +## SYNOPSIS +Deletes a server. + +## SYNTAX + +### Delete (Default) +``` +Remove-AzMySqlServer -Name -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentity +``` +Remove-AzMySqlServer -InputObject [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Deletes a server. + +## EXAMPLES + +### Example 1: Remove MySql server by resourceGroup and server name +```powershell +PS C:\> Remove-AzMySqlServer -ResourceGroupName PowershellMySqlTest -Name mysql-test + +``` + +This cmdlet removes MySql server by resourceGroup and server name. + +### Example 2: Remove MySql server by identity +```powershell +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test" +PS C:\> Remove-AzMySqlServer -InputObject $ID + +``` + +These cmdlets remove MySql server by identity. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Remove-AzMySqlVirtualNetworkRule.md b/src/MySql/docs/Remove-AzMySqlVirtualNetworkRule.md new file mode 100644 index 000000000000..0dfe8e08b23d --- /dev/null +++ b/src/MySql/docs/Remove-AzMySqlVirtualNetworkRule.md @@ -0,0 +1,254 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/remove-azmysqlvirtualnetworkrule +schema: 2.0.0 +--- + +# Remove-AzMySqlVirtualNetworkRule + +## SYNOPSIS +Deletes the virtual network rule with the given name. + +## SYNTAX + +### Delete (Default) +``` +Remove-AzMySqlVirtualNetworkRule -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +### DeleteViaIdentity +``` +Remove-AzMySqlVirtualNetworkRule -InputObject [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Deletes the virtual network rule with the given name. + +## EXAMPLES + +### Example 1: Remove MySql server Virtual Network Rule by name +```powershell +PS C:\> Remove-AzMySqlVirtualNetworkRule -Name vnet -ResourceGroupName PowershellMySqlTest-ServerName mysql-test + +``` + +This cmdlet removes MySql server Virtual Network Rule by name. + +### Example 2: Remove MySql server Virtual Network Rule by identity +```powershell +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/virtualNetworkRules/vnet" +PS C:\> Remove-AzMySqlVirtualNetworkRule -InputObject $ID + +``` + +These cmdlets remove MySql server Virtual Network Rule by identity. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the virtual network rule. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: VirtualNetworkRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Restart-AzMySqlFlexibleServer.md b/src/MySql/docs/Restart-AzMySqlFlexibleServer.md new file mode 100644 index 000000000000..32689ea9156c --- /dev/null +++ b/src/MySql/docs/Restart-AzMySqlFlexibleServer.md @@ -0,0 +1,236 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/restart-azmysqlflexibleserver +schema: 2.0.0 +--- + +# Restart-AzMySqlFlexibleServer + +## SYNOPSIS +Restarts a server. + +## SYNTAX + +### Restart (Default) +``` +Restart-AzMySqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### RestartViaIdentity +``` +Restart-AzMySqlFlexibleServer -InputObject [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Restarts a server. + +## EXAMPLES + +### Example 1: Restart the server by resource name +```powershell +PS C:\> Restart-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Name mysql-test +``` + +Restart the server by name + +### Example 2: Restart the server by identity +```powershell +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/restart" +PS C:\> Restart-AzMySqlFlexibleServer -InputObject $ID +``` + +Restart the server by identity + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: RestartViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Restart +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Restart +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: Restart +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Restart-AzMySqlServer.md b/src/MySql/docs/Restart-AzMySqlServer.md new file mode 100644 index 000000000000..b5f309d4a9bc --- /dev/null +++ b/src/MySql/docs/Restart-AzMySqlServer.md @@ -0,0 +1,238 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/restart-azmysqlserver +schema: 2.0.0 +--- + +# Restart-AzMySqlServer + +## SYNOPSIS +Restarts a server. + +## SYNTAX + +### Restart (Default) +``` +Restart-AzMySqlServer -Name -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### RestartViaIdentity +``` +Restart-AzMySqlServer -InputObject [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Restarts a server. + +## EXAMPLES + +### Example 1: Restart MySql server by resource group and server name +```powershell +PS C:\> Restart-AzMySqlServer -ResourceGroupName PowershellMySqlTest -Name mysql-test + +``` + +This cmdlet restarts MySql server by resource group and server name. + +### Example 2: Restart MySql server by identity +```powershell +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/restart" +PS C:\> Restart-AzMySqlServer -InputObject $ID + +``` + +These cmdlets restart MySql server by identity. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: RestartViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Restart +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Restart +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: Restart +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Restore-AzMySqlFlexibleServer.md b/src/MySql/docs/Restore-AzMySqlFlexibleServer.md new file mode 100644 index 000000000000..b9b725c632f5 --- /dev/null +++ b/src/MySql/docs/Restore-AzMySqlFlexibleServer.md @@ -0,0 +1,258 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/restore-azmysqlflexibleserver +schema: 2.0.0 +--- + +# Restore-AzMySqlFlexibleServer + +## SYNOPSIS +Restore a server from an existing backup + +## SYNTAX + +``` +Restore-AzMySqlFlexibleServer -Name -ResourceGroupName -InputObject + -RestorePointInTime [-SubscriptionId ] [-Sku ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Restore a server from an existing backup + +## EXAMPLES + +### Example 1: Restore MySql server using PointInTime Restore +```powershell +PS C:\> $restorePointInTime = (Get-Date).AddMinutes(-10) +PS C:\> Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test | Restore-AzMySqlFlexibleServer -Name mysql-test-restore -ResourceGroupName PowershellMySqlTest -RestorePointInTime $restorePointInTime + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ------- ------- +mysql-test-restore eastus mysql_test 5.7 10240 Standard_D2ds_v4 GeneralPurpose +``` + +These cmdlets restore MySql server using PointInTime Restore. + +## PARAMETERS + +### -AsJob +Run the command as a job. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +The source server object to restore from. +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RestorePointInTime +The location the resource resides in. + +```yaml +Type: System.DateTime +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Sku +The name of the sku, e.g., Standard_D2ds_v4, Standard_B1ms + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The subscription ID that identifies an Azure subscription. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : The source server object to restore from. + - `Location `: The geo-location where the resource lives + - `SkuName `: The name of the sku, e.g. Standard_D32s_v3. + - `SkuTier `: The tier of the particular SKU, e.g. GeneralPurpose. + - `[Tag ]`: Resource tags. + - `[(Any) ]`: This indicates any property can be added to this object. + - `[AdministratorLogin ]`: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). + - `[AdministratorLoginPassword ]`: The password of the administrator login (required for server creation). + - `[AvailabilityZone ]`: availability Zone information of the server. + - `[CreateMode ]`: The mode to create a new MySQL server. + - `[DelegatedSubnetArgumentSubnetArmResourceId ]`: delegated subnet arm resource id. + - `[HaEnabled ]`: Enable HA or not for a server. + - `[IdentityType ]`: The identity type. + - `[InfrastructureEncryption ]`: Status showing whether the server enabled infrastructure encryption. + - `[MaintenanceWindowCustomWindow ]`: indicates whether custom window is enabled or disabled + - `[MaintenanceWindowDayOfWeek ]`: day of week for maintenance window + - `[MaintenanceWindowStartHour ]`: start hour for maintenance window + - `[MaintenanceWindowStartMinute ]`: start minute for maintenance window + - `[PropertiesTag ]`: Application-specific metadata in the form of key-value pairs. + - `[(Any) ]`: This indicates any property can be added to this object. + - `[ReplicationRole ]`: The replication role. + - `[RestorePointInTime ]`: Restore point creation time (ISO8601 format), specifying the time to restore from. + - `[SourceServerId ]`: The source MySQL server id. + - `[SslEnforcement ]`: Enable ssl enforcement or not when connect to server. + - `[StorageProfileBackupRetentionDay ]`: Backup retention days for the server. + - `[StorageProfileStorageAutogrow ]`: Enable Storage Auto Grow. + - `[StorageProfileStorageIop ]`: Storage IOPS for a server. + - `[StorageProfileStorageMb ]`: Max storage allowed for a server. + - `[Version ]`: Server version. + +## RELATED LINKS + diff --git a/src/MySql/docs/Restore-AzMySqlServer.md b/src/MySql/docs/Restore-AzMySqlServer.md new file mode 100644 index 000000000000..c58cb2f77b2b --- /dev/null +++ b/src/MySql/docs/Restore-AzMySqlServer.md @@ -0,0 +1,336 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/restore-azmysqlserver +schema: 2.0.0 +--- + +# Restore-AzMySqlServer + +## SYNOPSIS +Restore a server from an existing backup + +## SYNTAX + +### GeoRestore (Default) +``` +Restore-AzMySqlServer -Name -ResourceGroupName -InputObject -UseGeoRestore + [-SubscriptionId ] [-Location ] [-Sku ] [-Tag ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### PointInTimeRestore +``` +Restore-AzMySqlServer -Name -ResourceGroupName -InputObject + -RestorePointInTime -UsePointInTimeRestore [-SubscriptionId ] [-Location ] + [-Sku ] [-Tag ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Restore a server from an existing backup + +## EXAMPLES + +### Example 1: Restore MySql server using GeoReplica Restore +```powershell +PS C:\> Get-AzMySqlServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test-replica | Restore-AzMySqlServer -Name mysql-test -ResourceGroupName PowershellMySqlTest -UseGeoRestore + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement +---- -------- ------------------ ------- ----------------------- ------- ------- -------------- +mysql-test-11 eastus mysql_test 5.7 10240 GP_Gen5_4 GeneralPurpose Disabled +``` + +This cmdlet restores MySql server using GeoReplica Restore. + +### Example 2: Restore MySql server using PointInTime Restore +```powershell +PS C:\> $restorePointInTime = (Get-Date).AddMinutes(-10) +PS C:\> Get-AzMySqlServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test | Restore-AzMySqlServer -Name mysql-test-restore -ResourceGroupName PowershellMySqlTest -RestorePointInTime $restorePointInTime -UsePointInTimeRestore + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement +---- -------- ------------------ ------- ----------------------- ------- ------- -------------- +mysql-test-restore eastus mysql_test 5.7 10240 GP_Gen5_4 GeneralPurpose Disabled +``` + +These cmdlets restore MySql server using PointInTime Restore. + +## PARAMETERS + +### -AsJob +Run the command as a job. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +The source server object to restore from. +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Location +The location the resource resides in. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RestorePointInTime +The location the resource resides in. + +```yaml +Type: System.DateTime +Parameter Sets: PointInTimeRestore +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Sku +The name of the sku, typically, tier + family + cores, e.g. +B_Gen4_1, GP_Gen5_8. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The subscription ID that identifies an Azure subscription. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tag +Application-specific metadata in the form of key-value pairs. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UseGeoRestore +Use Geo mode to restore + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: GeoRestore +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UsePointInTimeRestore +Use PointInTime mode to restore + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: PointInTimeRestore +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : The source server object to restore from. + - `Location `: The geo-location where the resource lives + - `SkuName `: The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. + - `[Tag ]`: Resource tags. + - `[(Any) ]`: This indicates any property can be added to this object. + - `[AdministratorLogin ]`: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). + - `[EarliestRestoreDate ]`: Earliest restore point creation time (ISO8601 format) + - `[FullyQualifiedDomainName ]`: The fully qualified domain name of a server. + - `[IdentityType ]`: The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. + - `[InfrastructureEncryption ]`: Status showing whether the server enabled infrastructure encryption. + - `[MasterServerId ]`: The master server id of a replica server. + - `[MinimalTlsVersion ]`: Enforce a minimal Tls version for the server. + - `[PublicNetworkAccess ]`: Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' + - `[ReplicaCapacity ]`: The maximum number of replicas that a master server can have. + - `[ReplicationRole ]`: The replication role of the server. + - `[SkuCapacity ]`: The scale up/out capacity, representing server's compute units. + - `[SkuFamily ]`: The family of hardware. + - `[SkuSize ]`: The size code, to be interpreted by resource as appropriate. + - `[SkuTier ]`: The tier of the particular SKU, e.g. Basic. + - `[SslEnforcement ]`: Enable ssl enforcement or not when connect to server. + - `[StorageProfileBackupRetentionDay ]`: Backup retention days for the server. + - `[StorageProfileGeoRedundantBackup ]`: Enable Geo-redundant or not for server backup. + - `[StorageProfileStorageAutogrow ]`: Enable Storage Auto Grow. + - `[StorageProfileStorageMb ]`: Max storage allowed for a server. + - `[UserVisibleState ]`: A state of a server that is visible to user. + - `[Version ]`: Server version. + +## RELATED LINKS + diff --git a/src/MySql/docs/Start-AzMySqlFlexibleServer.md b/src/MySql/docs/Start-AzMySqlFlexibleServer.md new file mode 100644 index 000000000000..366316fc0535 --- /dev/null +++ b/src/MySql/docs/Start-AzMySqlFlexibleServer.md @@ -0,0 +1,236 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/start-azmysqlflexibleserver +schema: 2.0.0 +--- + +# Start-AzMySqlFlexibleServer + +## SYNOPSIS +Starts a server. + +## SYNTAX + +### Start (Default) +``` +Start-AzMySqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### StartViaIdentity +``` +Start-AzMySqlFlexibleServer -InputObject [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Starts a server. + +## EXAMPLES + +### Example 1: Start the server by resource name +```powershell +PS C:\> Start-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Name mysql-test +``` + +Start the server by name + +### Example 2: Start the server by identity +```powershell +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/start" +PS C:\> Start-AzMySqlFlexibleServer -InputObject $ID +``` + +Start the server by identity + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: StartViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Start +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Start +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: Start +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Stop-AzMySqlFlexibleServer.md b/src/MySql/docs/Stop-AzMySqlFlexibleServer.md new file mode 100644 index 000000000000..5d2ebe73959a --- /dev/null +++ b/src/MySql/docs/Stop-AzMySqlFlexibleServer.md @@ -0,0 +1,236 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/stop-azmysqlflexibleserver +schema: 2.0.0 +--- + +# Stop-AzMySqlFlexibleServer + +## SYNOPSIS +Stops a server. + +## SYNTAX + +### Stop (Default) +``` +Stop-AzMySqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### StopViaIdentity +``` +Stop-AzMySqlFlexibleServer -InputObject [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Stops a server. + +## EXAMPLES + +### Example 1: Stop the server by resource name +```powershell +PS C:\> Stop-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Name mysql-test +``` + +Stop the server by name + +### Example 2: Stop the server by identity +```powershell +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/stop" +PS C:\> Stop-AzMySqlFlexibleServer -InputObject $ID +``` + +Stop the server by identity + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: StopViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Stop +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Stop +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: Stop +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Update-AzMySqlConfiguration.md b/src/MySql/docs/Update-AzMySqlConfiguration.md new file mode 100644 index 000000000000..7203046c366a --- /dev/null +++ b/src/MySql/docs/Update-AzMySqlConfiguration.md @@ -0,0 +1,277 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/update-azmysqlconfiguration +schema: 2.0.0 +--- + +# Update-AzMySqlConfiguration + +## SYNOPSIS +Updates a configuration of a server. +Use Update-AzMySqlServer instead if you want update AdministratorLoginPassword, sku, etc. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzMySqlConfiguration -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-Source ] [-Value ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzMySqlConfiguration -InputObject [-Source ] [-Value ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Updates a configuration of a server. +Use Update-AzMySqlServer instead if you want update AdministratorLoginPassword, sku, etc. + +## EXAMPLES + +### Example 1: Update MySql configuration by name +```powershell +PS C:\> Update-AzMySqlConfiguration -Name net_retry_count -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -Value 15 + +Name Value +---- ----- +net_retry_count 15 +``` + +This cmdlet updates MySql configuration by name. + +### Example 2: Update MySql configuration by identity. +```powershell +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/configurations/wait_timeout" +PS C:\> Update-AzMySqlConfiguration -InputObject $ID -Value 150 + +Name Value +---- ----- +wait_timeout 150 +``` + +These cmdlets update MySql configuration by identity. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter. +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server configuration. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: ConfigurationName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Source +Source of the configuration. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Value +Value of the configuration. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IConfiguration + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter. + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Update-AzMySqlFirewallRule.md b/src/MySql/docs/Update-AzMySqlFirewallRule.md new file mode 100644 index 000000000000..d26c38c6f3a5 --- /dev/null +++ b/src/MySql/docs/Update-AzMySqlFirewallRule.md @@ -0,0 +1,318 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/update-azmysqlfirewallrule +schema: 2.0.0 +--- + +# Update-AzMySqlFirewallRule + +## SYNOPSIS +Creates a new firewall rule or updates an existing firewall rule. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzMySqlFirewallRule -Name -ResourceGroupName -ServerName + -EndIPAddress -StartIPAddress [-SubscriptionId ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### ClientIPAddress +``` +Update-AzMySqlFirewallRule -Name -ResourceGroupName -ServerName + -ClientIPAddress [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### ClientIPAddressViaIdentity +``` +Update-AzMySqlFirewallRule -InputObject -ClientIPAddress + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzMySqlFirewallRule -InputObject -EndIPAddress -StartIPAddress + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Creates a new firewall rule or updates an existing firewall rule. + +## EXAMPLES + +### Example 1: Update MySql Firewall Rule by name +```powershell +PS C:\> Update-AzMySqlFirewallRule -Name rule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 + +Name StartIPAddress EndIPAddress +---- -------------- ------------ +rule 0.0.0.2 0.0.0.3 +``` + +This cmdlet updates MySql Firewall Rule by name. + +### Example 2: Update MySql Firewall Rule by identity. +```powershell +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/firewallRules/rule" +PS C:\> Update-AzMySqlFirewallRule -InputObject $ID -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 + +Name StartIPAddress EndIPAddress +---- -------------- ------------ +rule 0.0.0.2 0.0.0.3 +``` + +These cmdlets update MySql Firewall Rule by identity. + +### Example 3: Update MySql Firewall Rule by -ClientIPAddress. +```powershell +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/firewallRules/rule" +PS C:\> Update-AzMySqlFirewallRule -InputObject $ID --ClientIPAddress 0.0.0.2 + +Name StartIPAddress EndIPAddress +---- -------------- ------------ +rule 0.0.0.2 0.0.0.2 +``` + +These cmdlets update MySql Firewall Rule by -ClientIPAddress. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClientIPAddress +Client specified single IP of the server firewall rule. +Must be IPv4 format. + +```yaml +Type: System.String +Parameter Sets: ClientIPAddress, ClientIPAddressViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EndIPAddress +The end IP address of the server firewall rule. +Must be IPv4 format. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: ClientIPAddressViaIdentity, UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server firewall rule. + +```yaml +Type: System.String +Parameter Sets: ClientIPAddress, UpdateExpanded +Aliases: FirewallRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: ClientIPAddress, UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: ClientIPAddress, UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StartIPAddress +The start IP address of the server firewall rule. +Must be IPv4 format. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: ClientIPAddress, UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Update-AzMySqlFlexibleServer.md b/src/MySql/docs/Update-AzMySqlFlexibleServer.md new file mode 100644 index 000000000000..7288b6a7ab1c --- /dev/null +++ b/src/MySql/docs/Update-AzMySqlFlexibleServer.md @@ -0,0 +1,391 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/update-azmysqlflexibleserver +schema: 2.0.0 +--- + +# Update-AzMySqlFlexibleServer + +## SYNOPSIS +Updates an existing MySQL flexible server. +The request body can contain one to many of the properties present in the normal server definition. +Use Update-AzMySqlFlexibleServerConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzMySqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + [-AdministratorLoginPassword ] [-BackupRetentionDay ] [-HaEnabled ] + [-ReplicationRole ] [-Sku ] [-SkuTier ] [-SslEnforcement ] + [-StorageAutogrow ] [-StorageInMb ] [-Tag ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzMySqlFlexibleServer -InputObject [-AdministratorLoginPassword ] + [-BackupRetentionDay ] [-HaEnabled ] [-ReplicationRole ] [-Sku ] + [-SkuTier ] [-SslEnforcement ] [-StorageAutogrow ] + [-StorageInMb ] [-Tag ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Updates an existing MySQL flexible server. +The request body can contain one to many of the properties present in the normal server definition. +Use Update-AzMySqlFlexibleServerConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count. + +## EXAMPLES + +### Example 1: Update MySql server by resource group and server name +```powershell +PS C:\> Update-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -Name mysql-test -Sku Standard_D4ds_v4 + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +mysql-test westus2 mysql_test 5.7 5120 Standard_D4ds_v4 GeneralPurpose +``` + +This cmdlet updates MySql server by resource group and server name. + +### Example 2: Update MySql server by identity. +```powershell +PS C:\> Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test | Update-AzMySqlFlexibleServer -BackupRetentionDay 23 -StorageInMb 10240 + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier +---- -------- ------------------ ------- ----------------------- ---------------- ------------- +mysql-test westus2 mysql_test 5.7 5120 Standard_D2ds_v4 GeneralPurpose +``` + +This cmdlet updates MySql server by identity. + +## PARAMETERS + +### -AdministratorLoginPassword +The password of the administrator login. + +```yaml +Type: System.Security.SecureString +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -BackupRetentionDay +Backup retention days for the server. +Day count is between 7 and 35. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -HaEnabled +Enable or disable high availability feature. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.HaEnabledEnum +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter. +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReplicationRole +The replication role of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group that contains the resource. +You can obtain this value from the Azure Resource Manager API or the portal. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Sku +The name of the sku, typically, tier + family + cores, e.g. +B_Gen4_1, GP_Gen5_8. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkuTier +The tier of the particular SKU, e.g. +Basic. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SslEnforcement +Enable ssl enforcement or not when connect to server. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SslEnforcementEnum +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageAutogrow +Enable Storage Auto Grow. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageInMb +Max storage allowed for a server. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The subscription ID that identifies an Azure subscription. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tag +Application-specific metadata in the form of key-value pairs. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter. + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Update-AzMySqlFlexibleServerConfiguration.md b/src/MySql/docs/Update-AzMySqlFlexibleServerConfiguration.md new file mode 100644 index 000000000000..263d9da398e9 --- /dev/null +++ b/src/MySql/docs/Update-AzMySqlFlexibleServerConfiguration.md @@ -0,0 +1,276 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/update-azmysqlflexibleserverconfiguration +schema: 2.0.0 +--- + +# Update-AzMySqlFlexibleServerConfiguration + +## SYNOPSIS +Updates information about a configuration of a MySQL flexible server. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzMySqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-Source ] [-Value ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzMySqlFlexibleServerConfiguration -InputObject [-Source ] [-Value ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Updates information about a configuration of a MySQL flexible server. + +## EXAMPLES + +### Example 1: Update MySql configuration by name +```powershell +PS C:\> Update-AzMySqlFlexibleServer -Name net_retry_count -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -Value 15 + +Name Value DefaultValue Source AllowedValues DataType +---- ------ ------------ ------- ------------- --------- +net_retry_count 15 10 user-override 1-4294967295 Integer +``` + +This cmdlet updates MySql configuration by name. + +### Example 2: Update MySql configuration by identity. +```powershell +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/configurations/wait_timeout" +PS C:\> Update-AzMySqlFlexibleServer -InputObject $ID -Value 150 + +Name Value DefaultValue Source AllowedValues DataType +---- ------ ------------ ------- ------------- --------- +wait_timeout 150 28800 system-default 1-31536000 Integer +``` + +These cmdlets update MySql configuration by identity. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server configuration. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: ConfigurationName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Source +The source of the updating value. +The default value is user-override + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Value +Value of the configuration. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IConfigurationAutoGenerated + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Update-AzMySqlFlexibleServerDatabase.md b/src/MySql/docs/Update-AzMySqlFlexibleServerDatabase.md new file mode 100644 index 000000000000..8e3121154039 --- /dev/null +++ b/src/MySql/docs/Update-AzMySqlFlexibleServerDatabase.md @@ -0,0 +1,275 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/update-azmysqlflexibleserverdatabase +schema: 2.0.0 +--- + +# Update-AzMySqlFlexibleServerDatabase + +## SYNOPSIS +Creates a new database or updates an existing database. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzMySqlFlexibleServerDatabase -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-Charset ] [-Collation ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzMySqlFlexibleServerDatabase -InputObject [-Charset ] [-Collation ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Creates a new database or updates an existing database. + +## EXAMPLES + +### Example 1: Update a MySql server database by name +```powershell +PS C:\> Update-AzMySqlFlexibleServerDatabase -Name database-test -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -Charset utf8 + +Name Charset Collation +---- -------- ------------------ +databasetest utf8 latin1_swedish_ci +``` + +Update a database by resource name. + +### Example 2: Update MySql database by parameter. +```powershell +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/servers/mysql-test/databases/databasetest" +PS C:\> Update-AzMySqlFlexibleServerDatabase -Parameter $ID -Charset utf8 + +Name Charset Collation +---- -------- ------------------ +databasetest utf8 latin1_swedish_ci +``` + +Update a database by parameter + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Charset +The charset of the database. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Collation +The collation of the database. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the database. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: DatabaseName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IDatabase + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Update-AzMySqlFlexibleServerFirewallRule.md b/src/MySql/docs/Update-AzMySqlFlexibleServerFirewallRule.md new file mode 100644 index 000000000000..ad043dede440 --- /dev/null +++ b/src/MySql/docs/Update-AzMySqlFlexibleServerFirewallRule.md @@ -0,0 +1,307 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/update-azmysqlflexibleserverfirewallrule +schema: 2.0.0 +--- + +# Update-AzMySqlFlexibleServerFirewallRule + +## SYNOPSIS +Updates an existing firewall rule. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzMySqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName + -EndIPAddress -StartIPAddress [-SubscriptionId ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### ClientIPAddress +``` +Update-AzMySqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName + -ClientIPAddress [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### ClientIPAddressViaIdentity +``` +Update-AzMySqlFlexibleServerFirewallRule -InputObject -ClientIPAddress + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzMySqlFlexibleServerFirewallRule -InputObject -EndIPAddress + -StartIPAddress [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Updates an existing firewall rule. + +## EXAMPLES + +### Example 1: Update MySql Firewall Rule by name +```powershell +PS C:\> Update-AzMySqlFlexibleServerFirewallRule -Name rule -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 + +Name StartIPAddress EndIPAddress +---- -------------- ------------ +rule 0.0.0.2 0.0.0.3 +``` + +This cmdlet updates MySql Firewall Rule by name. + +### Example 2: Update MySql Firewall Rule by identity. +```powershell +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test/firewallRules/rule" +PS C:\> Update-AzMySqlFlexibleServerFirewallRule -InputObject $ID -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 + +Name StartIPAddress EndIPAddress +---- -------------- ------------ +rule 0.0.0.2 0.0.0.3 +``` + +These cmdlets update MySql Firewall Rule by identity. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClientIPAddress +Client specified single IP of the server firewall rule. +Must be IPv4 format. + +```yaml +Type: System.String +Parameter Sets: ClientIPAddress, ClientIPAddressViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EndIPAddress +The end IP address of the server firewall rule. +Must be IPv4 format. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: ClientIPAddressViaIdentity, UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server firewall rule. + +```yaml +Type: System.String +Parameter Sets: ClientIPAddress, UpdateExpanded +Aliases: FirewallRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: ClientIPAddress, UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: ClientIPAddress, UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StartIPAddress +The start IP address of the server firewall rule. +Must be IPv4 format. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: ClientIPAddress, UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Update-AzMySqlServer.md b/src/MySql/docs/Update-AzMySqlServer.md new file mode 100644 index 000000000000..c430adbd3387 --- /dev/null +++ b/src/MySql/docs/Update-AzMySqlServer.md @@ -0,0 +1,406 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/update-azmysqlserver +schema: 2.0.0 +--- + +# Update-AzMySqlServer + +## SYNOPSIS +Updates an existing server. +The request body can contain one to many of the properties present in the normal server definition. +Use Update-AzMySqlConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzMySqlServer -Name -ResourceGroupName [-SubscriptionId ] + [-AdministratorLoginPassword ] [-BackupRetentionDay ] [-ReplicationRole ] + [-Sku ] [-SkuCapacity ] [-SkuFamily ] [-SkuTier ] + [-SslEnforcement ] [-StorageAutogrow ] [-StorageInMb ] + [-Tag ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzMySqlServer -InputObject [-AdministratorLoginPassword ] + [-BackupRetentionDay ] [-ReplicationRole ] [-Sku ] [-SkuCapacity ] + [-SkuFamily ] [-SkuTier ] [-SslEnforcement ] + [-StorageAutogrow ] [-StorageInMb ] [-Tag ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Updates an existing server. +The request body can contain one to many of the properties present in the normal server definition. +Use Update-AzMySqlConfiguration instead if you want update server parameters such as wait_timeout or net_retry_count. + +## EXAMPLES + +### Example 1: Update MySql server by resource group and server name +```powershell +PS C:\> Update-AzMySqlServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -SslEnforcement Disabled + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement +---- -------- ------------------ ------- ----------------------- ------- ------- -------------- +mysql-test eastus mysql_test 5.7 5120 GP_Gen5_4 GeneralPurpose Disabled +``` + +This cmdlet updates MySql server by resource group and server name. + +### Example 2: Update MySql server by identity. +```powershell +PS C:\> Get-AzMySqlServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test | Update-AzMySqlServer -BackupRetentionDay 23 -StorageMb 10240 + +Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier SslEnforcement +---- -------- ------------------ ------- ----------------------- ------- ------- -------------- +mysql-test eastus mysql_test 5.7 10240 GP_Gen5_4 GeneralPurpose Disabled +``` + +This cmdlet updates MySql server by identity. + +## PARAMETERS + +### -AdministratorLoginPassword +The password of the administrator login. + +```yaml +Type: System.Security.SecureString +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -BackupRetentionDay +Backup retention days for the server. +Day count is between 7 and 35. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter. +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReplicationRole +The replication role of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group that contains the resource. +You can obtain this value from the Azure Resource Manager API or the portal. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Sku +The name of the sku, typically, tier + family + cores, e.g. +B_Gen4_1, GP_Gen5_8. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkuCapacity +The scale up/out capacity, representing server's compute units. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkuFamily +The family of hardware. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkuTier +The tier of the particular SKU, e.g. +Basic. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SkuTier +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SslEnforcement +Enable ssl enforcement or not when connect to server. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.SslEnforcementEnum +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageAutogrow +Enable Storage Auto Grow. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.StorageAutogrow +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageInMb +Max storage allowed for a server. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The subscription ID that identifies an Azure subscription. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tag +Application-specific metadata in the form of key-value pairs. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter. + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/docs/Update-AzMySqlVirtualNetworkRule.md b/src/MySql/docs/Update-AzMySqlVirtualNetworkRule.md new file mode 100644 index 000000000000..72812b741b8d --- /dev/null +++ b/src/MySql/docs/Update-AzMySqlVirtualNetworkRule.md @@ -0,0 +1,293 @@ +--- +external help file: +Module Name: Az.MySql +online version: https://docs.microsoft.com/en-us/powershell/module/az.mysql/update-azmysqlvirtualnetworkrule +schema: 2.0.0 +--- + +# Update-AzMySqlVirtualNetworkRule + +## SYNOPSIS +Creates or updates an existing virtual network rule. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzMySqlVirtualNetworkRule -Name -ResourceGroupName -ServerName + -SubnetId [-SubscriptionId ] [-IgnoreMissingVnetServiceEndpoint] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzMySqlVirtualNetworkRule -InputObject -SubnetId + [-IgnoreMissingVnetServiceEndpoint] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Creates or updates an existing virtual network rule. + +## EXAMPLES + +### Example 1: Update MySql Virtual Network Rule by name +```powershell +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet2" +PS C:\> Update-AzMySqlVirtualNetworkRule -Name $env.VNetName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -SubnetId $ID + +Name Type +---- ---- +vnet Microsoft.DBforMySQL/servers/virtualNetworkRules +``` + +This cmdlet updates MySql Virtual Network Rule by name. + +### Example 2: Update MySql Virtual Network Rule by identity. +```powershell +PS C:\> $SubnetID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1" +PS C:\> $VNetID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.DBforMySQL/servers/mysql-test/virtualNetworkRules/vnet" +PS C:\> Update-AzMySqlVirtualNetworkRule -InputObject $VNetID -SubnetId $SubnetID + +Name Type +---- ---- +vnet Microsoft.DBforMySQL/servers/virtualNetworkRules +``` + +These cmdlets update MySql Virtual Network Rule by identity. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IgnoreMissingVnetServiceEndpoint +Create firewall rule before the virtual network has vnet service endpoint enabled. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the virtual network rule. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: VirtualNetworkRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubnetId +The ARM resource id of the virtual network subnet. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +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). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IVirtualNetworkRule + +## NOTES + +ALIASES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Identity Parameter + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. + +## RELATED LINKS + diff --git a/src/MySql/utils/FlexibleServerUtils.ps1 b/src/MySql/utils/FlexibleServerUtils.ps1 deleted file mode 100644 index 8dbec762b3a2..000000000000 --- a/src/MySql/utils/FlexibleServerUtils.ps1 +++ /dev/null @@ -1,24 +0,0 @@ -function Get-RandomNumbers($Prefix, $Length) { - $Generated = "" - for($i = 0; $i -lt $Length; $i++){ $Generated += Get-Random -Maximum 10 } - return $Prefix + $Generated -} - -function Get-RandomName() { - $Noun = Get-Content -Path "$PSScriptRoot/nouns.txt" | Get-Random - $Adjective = Get-Content -Path "$PSScriptRoot/adjectives.txt" | Get-Random - $Number = Get-Random -Maximum 10 - $RandomName = $Adjective + (Get-Culture).TextInfo.ToTitleCase($Noun) + $Number - return $RandomName - -} - -function Get-GeneratePassword() { - $Password = '' - $Chars = 'abcdefghiklmnoprstuvwxyzABCDEFGHKLMNOPRSTUVWXYZ1234567890' - $SpecialChars = '!$%&/()=?}][{@#*+' - for ($i = 0; $i -lt 10; $i++ ) { $Password += $Chars[(Get-Random -Minimum 0 -Maximum $Chars.Length)] } - for ($i = 0; $i -lt 6; $i++ ) { $Password += $SpecialChars[(Get-Random -Minimum 0 -Maximum $SpecialChars.Length)] } - $Password = ($Password -split '' | Sort-Object {Get-Random}) -join '' - return $Password -} From 82c4deb3e81cc6860ee844dd7a74a9dae0ba109e Mon Sep 17 00:00:00 2001 From: Daeun Yim Date: Fri, 11 Dec 2020 13:57:30 -0800 Subject: [PATCH 32/51] test ci fix --- src/MySql/test/Az.MySql-TestResults.xml | 363 +++++++++++++----------- src/MySql/test/utils.ps1 | 3 - 2 files changed, 199 insertions(+), 167 deletions(-) diff --git a/src/MySql/test/Az.MySql-TestResults.xml b/src/MySql/test/Az.MySql-TestResults.xml index 92794ed677db..b078c7070c36 100644 --- a/src/MySql/test/Az.MySql-TestResults.xml +++ b/src/MySql/test/Az.MySql-TestResults.xml @@ -1,400 +1,435 @@  - - + + - + - + - + - - - + + + - + - + - - + + - + - + - - - + + + - + - + - - - - + + + + - + - + - - - + + + - + - + - - - + - + - + - - - + + + - + - + - + + + - + - + - + - + - + - - - - + - + - + - - - + - + - + - - - + + + + - + - + - + + + - + - + - + + + - + - + - - - + + + + + + + + + + + + + + + + + + - + - + - + - + - + - + + + - + - + - + - + - + - + - + - + - - + - + - + - - + - + - + - - + + - + - + - - + + - + - + - - + + - + - + - - + + - + - + - - + + - + - + - - + + - + - + - + + - + - + - - + + - + - + - - + - + - + - - + + - + - + - - + + - + - + - - + + - + - + - - + + - + - + - - + + - + - + - - + + - + - + - - - - + + - + - + - - + + - + - + - - + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/MySql/test/utils.ps1 b/src/MySql/test/utils.ps1 index 6133d00e7184..429202ecd567 100644 --- a/src/MySql/test/utils.ps1 +++ b/src/MySql/test/utils.ps1 @@ -43,13 +43,10 @@ function setupEnv() { $FlexibleSku = "Standard_B1ms" $env.Add("Sku", $Sku) $env.Add("FlexibleSku", $FlexibleSku) -<<<<<<< HEAD # Create the test Vnet write-host "Deploy Vnet template" New-AzDeployment -Mode Incremental -TemplateFile .\test\deployment-templates\virtual-network\template.json -TemplateParameterFile .\test\deployment-templates\virtual-network\parameters.json -Name vn -ResourceGroupName $resourceGroup -======= ->>>>>>> cbe554e98f94b399a80e365ee778fba7e0afe8db write-host (Get-AzContext | Out-String) From bdfaf15513f846f2fa1f20bb6ceb48338ddf0e55 Mon Sep 17 00:00:00 2001 From: Daeun Yim Date: Fri, 11 Dec 2020 14:37:18 -0800 Subject: [PATCH 33/51] CI failure fix --- src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 b/src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 index 3264927da684..41d11acdca42 100644 --- a/src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 +++ b/src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 @@ -15,8 +15,9 @@ $DEFAULT_DB_NAME = 'flexibleserverdb' $DELEGATION_SERVICE_NAME = "Microsoft.DBforMySQL/flexibleServers" $DEFAULT_VNET_PREFIX = '10.0.0.0/16' $DEFAULT_SUBNET_PREFIX = '10.0.0.0/24' + +If (!(Get-Module -ListAvailable -Name Az.Network)) { Install-Module -Name Az.Network } Import-Module -Name Az.Network -Import-Module -Name Az.Resources Describe 'New-AzMySqlFlexibleServer' { function WaitServerDelete(){ From 5c9e71e61eca76672ce5983ce17c63aa460c385b Mon Sep 17 00:00:00 2001 From: Daeun Yim Date: Fri, 11 Dec 2020 15:22:48 -0800 Subject: [PATCH 34/51] testing CI fix --- src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 b/src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 index 41d11acdca42..98c8e835c07c 100644 --- a/src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 +++ b/src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 @@ -16,8 +16,10 @@ $DELEGATION_SERVICE_NAME = "Microsoft.DBforMySQL/flexibleServers" $DEFAULT_VNET_PREFIX = '10.0.0.0/16' $DEFAULT_SUBNET_PREFIX = '10.0.0.0/24' -If (!(Get-Module -ListAvailable -Name Az.Network)) { Install-Module -Name Az.Network } -Import-Module -Name Az.Network +If ($TestMode -eq 'live' -or $TestMode -eq 'record') { + If (!(Get-Module -ListAvailable -Name Az.Network)) { Install-Module -Name Az.Network } + Import-Module -Name Az.Network +} Describe 'New-AzMySqlFlexibleServer' { function WaitServerDelete(){ From 88aefad35a0daa9b01eaeb60d43ebdd5ec40c4b1 Mon Sep 17 00:00:00 2001 From: Daeun Yim Date: Fri, 11 Dec 2020 15:51:03 -0800 Subject: [PATCH 35/51] CI test faliure fixing --- src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 | 5 ++++- src/MySql/test/Remove-AzMySqlFlexibleServer.Tests.ps1 | 8 +++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 b/src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 index 98c8e835c07c..c56376009202 100644 --- a/src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 +++ b/src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 @@ -17,7 +17,10 @@ $DEFAULT_VNET_PREFIX = '10.0.0.0/16' $DEFAULT_SUBNET_PREFIX = '10.0.0.0/24' If ($TestMode -eq 'live' -or $TestMode -eq 'record') { - If (!(Get-Module -ListAvailable -Name Az.Network)) { Install-Module -Name Az.Network } + If (!(Get-Module -ListAvailable -Name Az.Network)) { + Write-Host "Installing the network module to resolve any dependency issue." + Install-Module -Name Az.Network + } Import-Module -Name Az.Network } diff --git a/src/MySql/test/Remove-AzMySqlFlexibleServer.Tests.ps1 b/src/MySql/test/Remove-AzMySqlFlexibleServer.Tests.ps1 index 82768ba68e0a..faa99acfb884 100644 --- a/src/MySql/test/Remove-AzMySqlFlexibleServer.Tests.ps1 +++ b/src/MySql/test/Remove-AzMySqlFlexibleServer.Tests.ps1 @@ -14,9 +14,11 @@ while(-not $mockingPath) { Describe 'Remove-AzMySqlFlexibleServer' { It 'Delete' { { - #[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] - $password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force - New-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName -AdministratorUserName mysql_test -AdministratorLoginPassword $password + If ($TestMode -eq 'live' -or $TestMode -eq 'record') { + #[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] + $password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force + New-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName -AdministratorUserName mysql_test -AdministratorLoginPassword $password + } Remove-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName2 } | Should -Not -Throw } From 756e598b609b09316169c7ad54f6186a6d33bbb4 Mon Sep 17 00:00:00 2001 From: Daeun Yim Date: Fri, 11 Dec 2020 16:32:00 -0800 Subject: [PATCH 36/51] CI test fix final --- .../test/New-AzMySqlFlexibleServer.Tests.ps1 | 59 ++++--- ...emove-AzMySqlFlexibleServer.Recording.json | 162 +++++++++++++++++- .../Remove-AzMySqlFlexibleServer.Tests.ps1 | 2 +- 3 files changed, 195 insertions(+), 28 deletions(-) diff --git a/src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 b/src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 index c56376009202..25e5dd11b0aa 100644 --- a/src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 +++ b/src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 @@ -171,11 +171,14 @@ Describe 'New-AzMySqlFlexibleServer' { } It 'VnetNameScenario-InvalidVnet' { - { - # invalid vnet name - $InvalidName = "hi/df!@$@#$@" - New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Vnet $InvalidName - } | Should -Throw + If ($TestMode -eq 'live' -or $TestMode -eq 'record') { + { + # invalid vnet name + $InvalidName = "hi/df!@$@#$@" + New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Vnet $InvalidName + + } | Should -Throw + } } It 'VnetIdScenario-ValidVnet' { @@ -207,11 +210,13 @@ Describe 'New-AzMySqlFlexibleServer' { } It 'VnetIdScenario-InvalidVnet' { - { - # invalid vnet Id - $VnetId = "/subscriptions/00000-000-000000000000/resourceGroups/providers/Microsoft.Network/virtualNetworks/Vnet/Wrong/Vnet/itis" - New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Vnet $VnetId - } | Should -Throw + If ($TestMode -eq 'live' -or $TestMode -eq 'record') { + { + # invalid vnet Id + $VnetId = "/subscriptions/00000-000-000000000000/resourceGroups/providers/Microsoft.Network/virtualNetworks/Vnet/Wrong/Vnet/itis" + New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Vnet $VnetId + } | Should -Throw + } } It 'SubnetIdScenario-ValidSubnet' { @@ -286,22 +291,24 @@ Describe 'New-AzMySqlFlexibleServer' { } It 'SubnetIdScenario-InvalidSubnet' { - { - # invalid subnet Id - $SubnetId = "/subscriptions/00000-000-000000000000/resourceGroups/providers/Microsoft.Network/VirtualNetworks/Wrong/subnetss/wrong" - New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Subnet $SubnetId - } | Should -Throw - { - # invalid delegation on the subnet - $Subnet = New-AzVirtualNetworkSubnetConfig -Name $env.SubnetName -AddressPrefix $DEFAULT_SUBNET_PREFIX - $Vnet = New-AzVirtualNetwork -Name $env.VNetName -ResourceGroupName $env.resourceGroup -Location $env.location -AddressPrefix $DEFAULT_VNET_PREFIX -Subnet $Subnet -Force - $Subnet = Add-AzDelegation -Name "faultydelegation" -ServiceName "Microsoft.Sql/servers" -Subnet $Subnet - Set-AzVirtualNetwork -VirtualNetwork $Vnet - $Subnet = Get-AzVirtualNetworkSubnetConfig -Name $env.SubnetName -VirtualNetwork $Vnet - New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Subnet $Subnet.Id | Should -Throw - Remove-AzDelegation -Name "faultydelegation" -Subnet $Subnet - Set-AzVirtualNetwork $Vnet - Remove-AzVirtualNetwork -Name $Vnet.Name -ResourceGroupName $env.resourceGroup + If ($TestMode -eq 'live' -or $TestMode -eq 'record') { + { + # invalid subnet Id + $SubnetId = "/subscriptions/00000-000-000000000000/resourceGroups/providers/Microsoft.Network/VirtualNetworks/Wrong/subnetss/wrong" + New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Subnet $SubnetId + } | Should -Throw + { + # invalid delegation on the subnet + $Subnet = New-AzVirtualNetworkSubnetConfig -Name $env.SubnetName -AddressPrefix $DEFAULT_SUBNET_PREFIX + $Vnet = New-AzVirtualNetwork -Name $env.VNetName -ResourceGroupName $env.resourceGroup -Location $env.location -AddressPrefix $DEFAULT_VNET_PREFIX -Subnet $Subnet -Force + $Subnet = Add-AzDelegation -Name "faultydelegation" -ServiceName "Microsoft.Sql/servers" -Subnet $Subnet + Set-AzVirtualNetwork -VirtualNetwork $Vnet + $Subnet = Get-AzVirtualNetworkSubnetConfig -Name $env.SubnetName -VirtualNetwork $Vnet + New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Subnet $Subnet.Id | Should -Throw + Remove-AzDelegation -Name "faultydelegation" -Subnet $Subnet + Set-AzVirtualNetwork $Vnet + Remove-AzVirtualNetwork -Name $Vnet.Name -ResourceGroupName $env.resourceGroup + } } } diff --git a/src/MySql/test/Remove-AzMySqlFlexibleServer.Recording.json b/src/MySql/test/Remove-AzMySqlFlexibleServer.Recording.json index 0adb7870accd..6d8237f6b673 100644 --- a/src/MySql/test/Remove-AzMySqlFlexibleServer.Recording.json +++ b/src/MySql/test/Remove-AzMySqlFlexibleServer.Recording.json @@ -115,7 +115,7 @@ "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } }, - "Remove-AzMySqlFlexibleServer+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+4": { + "Remove-AzMySqlFlexibleServer+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+1": { "Request": { "Method": "DELETE", "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", @@ -157,6 +157,166 @@ "Content": "{\"operation\":\"DropServerManagementOperation\",\"startTime\":\"2020-11-11T06:52:56.89Z\"}" } }, + "Remove-AzMySqlFlexibleServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/East US 2/azureAsyncOperation/4d556b7e-3b98-42e7-a094-37b3014fc819?api-version=2020-07-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/East%20US%202/azureAsyncOperation/4d556b7e-3b98-42e7-a094-37b3014fc819?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "19" ], + "x-ms-client-request-id": [ "ec002b21-df4d-4531-a3e7-7f5df9e1d653" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "16e8a091-be1f-465c-b0aa-93a0ba012d00" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], + "x-ms-correlation-request-id": [ "3818c338-f36a-4152-89d4-d9b2b6889ce4" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065312Z:3818c338-f36a-4152-89d4-d9b2b6889ce4" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:53:12 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"4d556b7e-3b98-42e7-a094-37b3014fc819\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T06:52:56.89Z\"}" + } + }, + "Remove-AzMySqlFlexibleServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/East US 2/azureAsyncOperation/4d556b7e-3b98-42e7-a094-37b3014fc819?api-version=2020-07-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/East%20US%202/azureAsyncOperation/4d556b7e-3b98-42e7-a094-37b3014fc819?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "19" ], + "x-ms-client-request-id": [ "ec002b21-df4d-4531-a3e7-7f5df9e1d653" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "16e8a091-be1f-465c-b0aa-93a0ba012d00" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], + "x-ms-correlation-request-id": [ "3818c338-f36a-4152-89d4-d9b2b6889ce4" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065312Z:3818c338-f36a-4152-89d4-d9b2b6889ce4" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:53:12 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"4d556b7e-3b98-42e7-a094-37b3014fc819\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T06:52:56.89Z\"}" + } + }, + "Remove-AzMySqlFlexibleServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/East US 2/azureAsyncOperation/4d556b7e-3b98-42e7-a094-37b3014fc819?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/East%20US%202/azureAsyncOperation/4d556b7e-3b98-42e7-a094-37b3014fc819?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "19" ], + "x-ms-client-request-id": [ "ec002b21-df4d-4531-a3e7-7f5df9e1d653" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "16e8a091-be1f-465c-b0aa-93a0ba012d00" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], + "x-ms-correlation-request-id": [ "3818c338-f36a-4152-89d4-d9b2b6889ce4" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065312Z:3818c338-f36a-4152-89d4-d9b2b6889ce4" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:53:12 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"4d556b7e-3b98-42e7-a094-37b3014fc819\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T06:52:56.89Z\"}" + } + }, + "Remove-AzMySqlFlexibleServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/East US 2/azureAsyncOperation/4d556b7e-3b98-42e7-a094-37b3014fc819?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/East%20US%202/azureAsyncOperation/4d556b7e-3b98-42e7-a094-37b3014fc819?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "19" ], + "x-ms-client-request-id": [ "ec002b21-df4d-4531-a3e7-7f5df9e1d653" ], + "CommandName": [ "Remove-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "15" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "16e8a091-be1f-465c-b0aa-93a0ba012d00" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], + "x-ms-correlation-request-id": [ "3818c338-f36a-4152-89d4-d9b2b6889ce4" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T065312Z:3818c338-f36a-4152-89d4-d9b2b6889ce4" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 06:53:12 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"4d556b7e-3b98-42e7-a094-37b3014fc819\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T06:52:56.89Z\"}" + } + }, "Remove-AzMySqlFlexibleServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/East US 2/azureAsyncOperation/4d556b7e-3b98-42e7-a094-37b3014fc819?api-version=2020-07-01-preview+5": { "Request": { "Method": "GET", diff --git a/src/MySql/test/Remove-AzMySqlFlexibleServer.Tests.ps1 b/src/MySql/test/Remove-AzMySqlFlexibleServer.Tests.ps1 index faa99acfb884..6d92832f4fe2 100644 --- a/src/MySql/test/Remove-AzMySqlFlexibleServer.Tests.ps1 +++ b/src/MySql/test/Remove-AzMySqlFlexibleServer.Tests.ps1 @@ -17,7 +17,7 @@ Describe 'Remove-AzMySqlFlexibleServer' { If ($TestMode -eq 'live' -or $TestMode -eq 'record') { #[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] $password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force - New-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName -AdministratorUserName mysql_test -AdministratorLoginPassword $password + New-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName2 -AdministratorUserName mysql_test -AdministratorLoginPassword $password } Remove-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName2 } | Should -Not -Throw From bbb8d733010ffc3b62bcb3b5d14eac882b5cc6af Mon Sep 17 00:00:00 2001 From: Daeun Yim Date: Sun, 13 Dec 2020 19:18:27 -0800 Subject: [PATCH 37/51] new server doc fix --- src/MySql/docs/New-AzMySqlFlexibleServer.md | 5 ----- src/MySql/examples/New-AzMySqlFlexibleServer.md | 5 ----- 2 files changed, 10 deletions(-) diff --git a/src/MySql/docs/New-AzMySqlFlexibleServer.md b/src/MySql/docs/New-AzMySqlFlexibleServer.md index 01543410f74c..d9108a845384 100644 --- a/src/MySql/docs/New-AzMySqlFlexibleServer.md +++ b/src/MySql/docs/New-AzMySqlFlexibleServer.md @@ -28,7 +28,6 @@ Creates a new server. ### Example 1: Create a new MySql flexible server with arguments ```powershell -PS C:\> $password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force PS C:\> New-AzMySqlFlexibleServer -Name mysql-test -ResourceGroupName PowershellMySqlTest \ -Location eastus -AdministratorUserName mysqltest -AdministratorLoginPassword $password -Sku Standard_B1ms -SkuTier Burstable -Version 12 -StorageInMb 10240 -PublicAccess none @@ -47,10 +46,6 @@ Your server mysql-test is using sku Standard_B1ms (Paid Tier). Please refer to h "username": "mysqltest", "version": "5.7" - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ------------ ------------- -mysql-test West US 2 mysqltest 5.7 10240 Standard_B1ms Burstable ``` diff --git a/src/MySql/examples/New-AzMySqlFlexibleServer.md b/src/MySql/examples/New-AzMySqlFlexibleServer.md index f6735666ad85..5498dd490ea8 100644 --- a/src/MySql/examples/New-AzMySqlFlexibleServer.md +++ b/src/MySql/examples/New-AzMySqlFlexibleServer.md @@ -1,6 +1,5 @@ ### Example 1: Create a new MySql flexible server with arguments ```powershell -PS C:\> $password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force PS C:\> New-AzMySqlFlexibleServer -Name mysql-test -ResourceGroupName PowershellMySqlTest \ -Location eastus -AdministratorUserName mysqltest -AdministratorLoginPassword $password -Sku Standard_B1ms -SkuTier Burstable -Version 12 -StorageInMb 10240 -PublicAccess none @@ -19,10 +18,6 @@ Your server mysql-test is using sku Standard_B1ms (Paid Tier). Please refer to h "username": "mysqltest", "version": "5.7" - -Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuTier ----- -------- ------------------ ------- ----------------------- ------------ ------------- -mysql-test West US 2 mysqltest 5.7 10240 Standard_B1ms Burstable ``` From 857c504f66ba1fd8fbab3ce0b927a6d6db631327 Mon Sep 17 00:00:00 2001 From: Daeun Yim Date: Sun, 20 Dec 2020 16:02:01 -0800 Subject: [PATCH 38/51] mysql comments resolved --- .../custom/Get-AzMySqlConnectionString.ps1 | 2 +- ...-AzMySqlFlexibleServerConnectionString.ps1 | 5 ++ ...lFlexibleServerLocationBasedCapability.ps1 | 9 +-- .../custom/New-AzMySqlFlexibleServer.ps1 | 33 ++++---- src/MySql/custom/readme.md | 8 +- src/MySql/docs/Az.MySql.md | 2 +- src/MySql/docs/Get-AzMySqlConnectionString.md | 4 +- ...t-AzMySqlFlexibleServerConnectionString.md | 75 ++++++++++++++++++- .../docs/New-AzMySqlVirtualNetworkRule.md | 20 ++--- ...t-AzMySqlFlexibleServerConnectionString.md | 8 ++ .../examples/New-AzMySqlVirtualNetworkRule.md | 21 ++---- 11 files changed, 130 insertions(+), 57 deletions(-) diff --git a/src/MySql/custom/Get-AzMySqlConnectionString.ps1 b/src/MySql/custom/Get-AzMySqlConnectionString.ps1 index d10be97099a0..7be347e497f9 100644 --- a/src/MySql/custom/Get-AzMySqlConnectionString.ps1 +++ b/src/MySql/custom/Get-AzMySqlConnectionString.ps1 @@ -34,7 +34,7 @@ function Get-AzMySqlConnectionString { [System.String] ${SubscriptionId}, - [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline, HelpMessage = 'The source server object to create replica from.')] + [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline, HelpMessage = 'Name of the server')] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServer] ${InputObject}, diff --git a/src/MySql/custom/Get-AzMySqlFlexibleServerConnectionString.ps1 b/src/MySql/custom/Get-AzMySqlFlexibleServerConnectionString.ps1 index feec47466a67..6ceb7e3d0181 100644 --- a/src/MySql/custom/Get-AzMySqlFlexibleServerConnectionString.ps1 +++ b/src/MySql/custom/Get-AzMySqlFlexibleServerConnectionString.ps1 @@ -47,6 +47,11 @@ function Get-AzMySqlFlexibleServerConnectionString { [System.String] ${Client}, + [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline, HelpMessage = 'Name of the server')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated] + ${InputObject}, + [Parameter(HelpMessage = 'The credentials, account, tenant, and subscription used for communication with Azure.')] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] diff --git a/src/MySql/custom/Get-AzMySqlFlexibleServerLocationBasedCapability.ps1 b/src/MySql/custom/Get-AzMySqlFlexibleServerLocationBasedCapability.ps1 index fa3473eb55de..b78a36f24e70 100644 --- a/src/MySql/custom/Get-AzMySqlFlexibleServerLocationBasedCapability.ps1 +++ b/src/MySql/custom/Get-AzMySqlFlexibleServerLocationBasedCapability.ps1 @@ -100,11 +100,7 @@ function Get-AzMySqlFlexibleServerLocationBasedCapability { $Keys = $Skus.SupportedServerVersion[0].SupportedVcore ForEach ($Key in $Keys) { - $NewEntry = @{} - $NewEntry.SKU = $Key.Name - $NewEntry.Tier = $TierName - $NewEntry.vCore = $Key.Vcore - $NewEntry.Memory = $Key.SupportedMemoryPerVcoreMb + New-Object -TypeName PSCustomObject -Property @{SKU=$Key.Name; Tier=$TierName; vCore=$Key.Vcore; Memory=$Key.SupportedMemoryPerVcoreMb} $TableResult += $NewEntry } } @@ -112,7 +108,8 @@ function Get-AzMySqlFlexibleServerLocationBasedCapability { Throw "No SKU info for this location" } } - $TableResult | ForEach-Object {[PSCustomObject]$_} | Format-Table 'SKU', 'Tier', 'Memory', 'vCore' -AutoSize + + return $TableResult } catch { diff --git a/src/MySql/custom/New-AzMySqlFlexibleServer.ps1 b/src/MySql/custom/New-AzMySqlFlexibleServer.ps1 index 92ba28c8d12b..43ff7509e793 100644 --- a/src/MySql/custom/New-AzMySqlFlexibleServer.ps1 +++ b/src/MySql/custom/New-AzMySqlFlexibleServer.ps1 @@ -193,13 +193,14 @@ function New-AzMySqlFlexibleServer { } $PSBoundParameters.AdministratorLoginPassword = . "$PSScriptRoot/../utils/Unprotect-SecureString.ps1" $PSBoundParameters['AdministratorLoginPassword'] - If (!(Get-Module -ListAvailable -Name Az.Resources)) { Throw 'Please install Az.Resources module by entering "Install-Module -Name Az.Resources"'} - Else { Import-Module -Name Az.Resources } + Import-Module -Name Az.Resources If(!$PSBoundParameters.ContainsKey('ResourceGroupName')) { $PSBoundParameters.ResourceGroupName = Get-RandomNumbers -Prefix 'group' -Length 10 $Msg = "Creating Resource Group {0}..." -f $PSBoundParameters.ResourceGroupName Write-Host $Msg - $null = New-AzResourceGroup -Name $PSBoundParameters.ResourceGroupName -Location $PSBoundParameters.Location + if($PSCmdlet.ShouldProcess($PSBoundParameters.ResourceGroupName)) { + $null = New-AzResourceGroup -Name $PSBoundParameters.ResourceGroupName -Location $PSBoundParameters.Location -Force + } } Else { $Msg = 'Checking the existence of the resource group {0} ...' -f $PSBoundParameters.ResourceGroupName @@ -214,7 +215,9 @@ function New-AzMySqlFlexibleServer { Write-Host $Msg $Msg = "Creating Resource Group {0}..." -f $PSBoundParameters.ResourceGroupName Write-Host $Msg - $null = New-AzResourceGroup -Name $PSBoundParameters.ResourceGroupName -Location $PSBoundParameters.Location + if($PSCmdlet.ShouldProcess($PSBoundParameters.ResourceGroupName)) { + $null = New-AzResourceGroup -Name $PSBoundParameters.ResourceGroupName -Location $PSBoundParameters.Location -Force + } } } @@ -279,9 +282,9 @@ function New-AzMySqlFlexibleServer { $VnetSubnetParameters = CreateNetworkResource $NetworkParameters $SubnetId = GetSubnetId $VnetSubnetParameters.ResourceGroupName $VnetSubnetParameters.VnetName $VnetSubnetParameters.SubnetName $PSBoundParameters.DelegatedSubnetArgumentSubnetArmResourceId = $SubnetId - } - If ([string]::IsNullOrEmpty($PSBoundParameters.DelegatedSubnetArgumentSubnetArmResourceId)) { - $null = $PSBoundParameters.Remove('DelegatedSubnetArgumentSubnetArmResourceId') + If ([string]::IsNullOrEmpty($PSBoundParameters.DelegatedSubnetArgumentSubnetArmResourceId)) { + $null = $PSBoundParameters.Remove('DelegatedSubnetArgumentSubnetArmResourceId') + } } $Msg = 'Creating MySQL server {0} in group {1}...' -f $PSBoundParameters.Name, $PSBoundParameters.resourceGroupName @@ -330,8 +333,7 @@ function New-AzMySqlFlexibleServer { function CreateNetworkResource($NetworkParameters) { [OutputType([hashtable])] $WarningPreference = 'silentlycontinue' - If (!(Get-Module -ListAvailable -Name Az.Network)) { Throw 'Please install Az.Network module by entering "Install-Module -Name Az.Network"' } - Else { Import-Module -Name Az.Network } + Import-Module -Name Az.Network # 1. Error Handling # Raise error when user passes values for both parameters @@ -344,7 +346,7 @@ function CreateNetworkResource($NetworkParameters) { if (($NetworkParameters.ContainsKey('VnetPrefix') -And !$NetworkParameters.ContainsKey('SubnetPrefix')) -Or (!$NetworkParameters.ContainsKey('VnetPrefix') -And $NetworkParameters.ContainsKey('SubnetPrefix')) -Or ($NetworkParameters.ContainsKey('VnetPrefix') -And $NetworkParameters.ContainsKey('SubnetPrefix') -And (!$NetworkParameters.ContainsKey('Vnet') -Or !$NetworkParameters.ContainsKey('Subnet')))){ - Throw "Incorrect usage : --vnet, --subnet, --vnet-address-prefix, --subnet-address-prefix must be supplied together." + Throw "Incorrect usage : -Vnet, -Subnet, -VnetPrefix, -SubnetPrefix must be supplied together." } } @@ -442,7 +444,7 @@ function GetSubnetId($ResourceGroupName, $VnetName, $SubnetName){ Return $Subnet.Id } -function CreateVnetSubnet($Parameters){ +function CreateVnetSubnet($Parameters) { If (!$Parameters.ContainsKey('SubnetPrefix')){$Parameters.SubnetPrefix = $DEFAULT_SUBNET_PREFIX} If (!$Parameters.ContainsKey('VnetPrefix')){$Parameters.VnetPrefix = $DEFAULT_VNET_PREFIX} @@ -454,7 +456,9 @@ function CreateVnetSubnet($Parameters){ Catch { $Msg = "Creating new vnet {0} in resource group {1}" -f $Parameters.VnetName, $Parameters.ResourceGroupName Write-Host $Msg - New-AzVirtualNetwork -Name $Parameters.VnetName -ResourceGroupName $Parameters.ResourceGroupName -Location $Parameters.Location -AddressPrefix $Parameters.VnetPrefix -Force + if($PSCmdlet.ShouldProcess($Parameters.VnetName)) { + New-AzVirtualNetwork -Name $Parameters.VnetName -ResourceGroupName $Parameters.ResourceGroupName -Location $Parameters.Location -AddressPrefix $Parameters.VnetPrefix -Force + } } $Subnet = CreateAndDelegateSubnet $Parameters @@ -533,8 +537,11 @@ function CreateFirewallRule($Parameters) { Write-Host $Msg $FirewallRule = New-AzMySqlFlexibleServerFirewallRule -Name $RuleName -ResourceGroupName $Parameters.ResourceGroupName -ServerName $Parameters.Name -EndIPAddress $EndIp -StartIPAddress $StartIp } + Return $FirewallRule.Name + } + ElseIf ($Parameters.ContainsKey('PublicAccess') -And $Parameters.PublicAccess.ToLower() -ne 'none') { + Write-Host "No firewall rule was set" } - Return $FirewallRule.Name } function IsValidVnetId($Rid){ $VnetFormat = "\/subscriptions\/[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}\/resourceGroups\/[-\w\._\(\)]+\/providers\/Microsoft.Network\/virtualNetworks\/[^<>%&:\\?/]{1,260}$" diff --git a/src/MySql/custom/readme.md b/src/MySql/custom/readme.md index f8336dda153d..3a9f91659ff3 100644 --- a/src/MySql/custom/readme.md +++ b/src/MySql/custom/readme.md @@ -31,11 +31,11 @@ These provide functionality to our HTTP pipeline and other useful features. In s ### Attributes For processing the cmdlets, we've created some additional attributes: -- `Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.DescriptionAttribute` +- `Microsoft.Azure.PowerShell.Cmdlets.MySql.DescriptionAttribute` - Used in C# cmdlets to provide a high-level description of the cmdlet. This is propegated to reference documentation via [help comments](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_comment_based_help) in the exported scripts. -- `Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.DoNotExportAttribute` +- `Microsoft.Azure.PowerShell.Cmdlets.MySql.DoNotExportAttribute` - Used in C# and script cmdlets to suppress creating an exported cmdlet at build-time. These cmdlets will *not be exposed* by `Az.MySql`. -- `Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.InternalExportAttribute` +- `Microsoft.Azure.PowerShell.Cmdlets.MySql.InternalExportAttribute` - Used in C# cmdlets to route exported cmdlets to the `..\internal`, which are *not exposed* by `Az.MySql`. For more information, see [readme.md](..\internal/readme.md) in the `..\internal` folder. -- `Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.ProfileAttribute` +- `Microsoft.Azure.PowerShell.Cmdlets.MySql.ProfileAttribute` - Used in C# and script cmdlets to define which Azure profiles the cmdlet supports. This is only supported for Azure (`--azure`) modules. \ No newline at end of file diff --git a/src/MySql/docs/Az.MySql.md b/src/MySql/docs/Az.MySql.md index ec7163293478..673e0fb0962b 100644 --- a/src/MySql/docs/Az.MySql.md +++ b/src/MySql/docs/Az.MySql.md @@ -1,6 +1,6 @@ --- Module Name: Az.MySql -Module Guid: 3384c227-22b0-4f4d-b069-b8dcf7a6bc74 +Module Guid: 8c7c6fcd-a96f-460b-89e2-ff822a3246c8 Download Help Link: https://docs.microsoft.com/en-us/powershell/module/az.mysql Help Version: 1.0.0.0 Locale: en-US diff --git a/src/MySql/docs/Get-AzMySqlConnectionString.md b/src/MySql/docs/Get-AzMySqlConnectionString.md index d586aefc49ad..ee1ecaf4ce97 100644 --- a/src/MySql/docs/Get-AzMySqlConnectionString.md +++ b/src/MySql/docs/Get-AzMySqlConnectionString.md @@ -80,7 +80,7 @@ Accept wildcard characters: False ``` ### -InputObject -The source server object to create replica from. +Name of the server To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml @@ -160,7 +160,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -INPUTOBJECT : The source server object to create replica from. +INPUTOBJECT : Name of the server - `Location `: The geo-location where the resource lives - `SkuName `: The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8. - `[Tag ]`: Resource tags. diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServerConnectionString.md b/src/MySql/docs/Get-AzMySqlFlexibleServerConnectionString.md index f20b290db3e3..b18fdfd615fc 100644 --- a/src/MySql/docs/Get-AzMySqlFlexibleServerConnectionString.md +++ b/src/MySql/docs/Get-AzMySqlFlexibleServerConnectionString.md @@ -12,11 +12,18 @@ Get the connection string according to client connection provider. ## SYNTAX +### Get (Default) ``` Get-AzMySqlFlexibleServerConnectionString -Client -Name -ResourceGroupName [-SubscriptionId ] [-DefaultProfile ] [] ``` +### GetViaIdentity +``` +Get-AzMySqlFlexibleServerConnectionString -Client -InputObject + [-DefaultProfile ] [] +``` + ## DESCRIPTION Get the connection string according to client connection provider. @@ -31,6 +38,15 @@ cnx = mysql.connector.connect(user=mysql_user, password="{your_password}", host= This cmdlet shows connection string of a client by server name. +### Example 2: Get MySql server connection string by identity +```powershell +PS C:\> Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test | Get-AzMySqlFlexibleServerConnectionString -Client PHP + +$con=mysqli_init(); mysqli_real_connect($con, "mysql-test.mysql.database.azure.com", "mysql_test", {your_password}, {your_database}, 3306); +``` + +This cmdlet gets MySql server connection string by identity. + ## PARAMETERS ### -Client @@ -63,12 +79,28 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -InputObject +Name of the server +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -Name The name of the server. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: Get Aliases: ServerName Required: True @@ -83,7 +115,7 @@ The name of the resource group that contains the resource, You can obtain this v ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: Get Aliases: Required: True @@ -98,7 +130,7 @@ The subscription ID that identifies an Azure subscription. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: Get Aliases: Required: False @@ -113,6 +145,8 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated + ## OUTPUTS ### System.String @@ -121,5 +155,40 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ALIASES +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +INPUTOBJECT : Name of the server + - `Location `: The geo-location where the resource lives + - `SkuName `: The name of the sku, e.g. Standard_D32s_v3. + - `SkuTier `: The tier of the particular SKU, e.g. GeneralPurpose. + - `[Tag ]`: Resource tags. + - `[(Any) ]`: This indicates any property can be added to this object. + - `[AdministratorLogin ]`: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). + - `[AdministratorLoginPassword ]`: The password of the administrator login (required for server creation). + - `[AvailabilityZone ]`: availability Zone information of the server. + - `[CreateMode ]`: The mode to create a new MySQL server. + - `[DelegatedSubnetArgumentSubnetArmResourceId ]`: delegated subnet arm resource id. + - `[HaEnabled ]`: Enable HA or not for a server. + - `[IdentityType ]`: The identity type. + - `[InfrastructureEncryption ]`: Status showing whether the server enabled infrastructure encryption. + - `[MaintenanceWindowCustomWindow ]`: indicates whether custom window is enabled or disabled + - `[MaintenanceWindowDayOfWeek ]`: day of week for maintenance window + - `[MaintenanceWindowStartHour ]`: start hour for maintenance window + - `[MaintenanceWindowStartMinute ]`: start minute for maintenance window + - `[PropertiesTag ]`: Application-specific metadata in the form of key-value pairs. + - `[(Any) ]`: This indicates any property can be added to this object. + - `[ReplicationRole ]`: The replication role. + - `[RestorePointInTime ]`: Restore point creation time (ISO8601 format), specifying the time to restore from. + - `[SourceServerId ]`: The source MySQL server id. + - `[SslEnforcement ]`: Enable ssl enforcement or not when connect to server. + - `[StorageProfileBackupRetentionDay ]`: Backup retention days for the server. + - `[StorageProfileStorageAutogrow ]`: Enable Storage Auto Grow. + - `[StorageProfileStorageIop ]`: Storage IOPS for a server. + - `[StorageProfileStorageMb ]`: Max storage allowed for a server. + - `[Version ]`: Server version. + ## RELATED LINKS diff --git a/src/MySql/docs/New-AzMySqlVirtualNetworkRule.md b/src/MySql/docs/New-AzMySqlVirtualNetworkRule.md index a3bec6784dc1..047983425161 100644 --- a/src/MySql/docs/New-AzMySqlVirtualNetworkRule.md +++ b/src/MySql/docs/New-AzMySqlVirtualNetworkRule.md @@ -23,23 +23,17 @@ Creates or updates an existing virtual network rule. ## EXAMPLES -### Example 1: {{ Add title here }} +### Example 1: Create a new MySql server Virtual Network Rule ```powershell -PS C:\> {{ Add code here }} +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1" +PS C:\> New-AzMySqlVirtualNetworkRule -Name vnet -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -SubnetId $ID -{{ Add output here }} +Name Type +---- ---- +vnet Microsoft.DBforMySQL/servers/virtualNetworkRules ``` -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} +These cmdlets create a MySql server Virtual Network Rule. ## PARAMETERS diff --git a/src/MySql/examples/Get-AzMySqlFlexibleServerConnectionString.md b/src/MySql/examples/Get-AzMySqlFlexibleServerConnectionString.md index 61a450a8e71c..06d3d41411ff 100644 --- a/src/MySql/examples/Get-AzMySqlFlexibleServerConnectionString.md +++ b/src/MySql/examples/Get-AzMySqlFlexibleServerConnectionString.md @@ -6,3 +6,11 @@ cnx = mysql.connector.connect(user=mysql_user, password="{your_password}", host= ``` This cmdlet shows connection string of a client by server name. +### Example 2: Get MySql server connection string by identity +```powershell +PS C:\> Get-AzMySqlFlexibleServer -ResourceGroupName PowershellMySqlTest -ServerName mysql-test | Get-AzMySqlFlexibleServerConnectionString -Client PHP + +$con=mysqli_init(); mysqli_real_connect($con, "mysql-test.mysql.database.azure.com", "mysql_test", {your_password}, {your_database}, 3306); +``` + +This cmdlet gets MySql server connection string by identity. diff --git a/src/MySql/examples/New-AzMySqlVirtualNetworkRule.md b/src/MySql/examples/New-AzMySqlVirtualNetworkRule.md index 093355d11d50..9b5f3354f121 100644 --- a/src/MySql/examples/New-AzMySqlVirtualNetworkRule.md +++ b/src/MySql/examples/New-AzMySqlVirtualNetworkRule.md @@ -1,18 +1,11 @@ -### Example 1: {{ Add title here }} +### Example 1: Create a new MySql server Virtual Network Rule ```powershell -PS C:\> {{ Add code here }} +PS C:\> $ID = "/subscriptions//resourceGroups/PowershellMySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1" +PS C:\> New-AzMySqlVirtualNetworkRule -Name vnet -ResourceGroupName PowershellMySqlTest -ServerName mysql-test -SubnetId $ID -{{ Add output here }} +Name Type +---- ---- +vnet Microsoft.DBforMySQL/servers/virtualNetworkRules ``` -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -PS C:\> {{ Add code here }} - -{{ Add output here }} -``` - -{{ Add description here }} - +These cmdlets create a MySql server Virtual Network Rule. \ No newline at end of file From 201a9abdebf5590dc2477d91d307bf7c10520059 Mon Sep 17 00:00:00 2001 From: Daeun Yim Date: Mon, 21 Dec 2020 13:34:44 -0800 Subject: [PATCH 39/51] comments resolved --- ...-AzMySqlFlexibleServerConnectionString.ps1 | 2 +- ...lFlexibleServerLocationBasedCapability.ps1 | 180 +++--- .../custom/New-AzMySqlFlexibleServer.ps1 | 534 +++++++++--------- .../New-AzMySqlFlexibleServerFirewallRule.ps1 | 234 ++++---- .../New-AzMySqlFlexibleServerReplica.ps1 | 202 +++---- src/MySql/custom/test.ps1 | 0 6 files changed, 576 insertions(+), 576 deletions(-) delete mode 100644 src/MySql/custom/test.ps1 diff --git a/src/MySql/custom/Get-AzMySqlFlexibleServerConnectionString.ps1 b/src/MySql/custom/Get-AzMySqlFlexibleServerConnectionString.ps1 index 6ceb7e3d0181..a05f9d15a6d3 100644 --- a/src/MySql/custom/Get-AzMySqlFlexibleServerConnectionString.ps1 +++ b/src/MySql/custom/Get-AzMySqlFlexibleServerConnectionString.ps1 @@ -49,7 +49,7 @@ function Get-AzMySqlFlexibleServerConnectionString { [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline, HelpMessage = 'Name of the server')] [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity] ${InputObject}, [Parameter(HelpMessage = 'The credentials, account, tenant, and subscription used for communication with Azure.')] diff --git a/src/MySql/custom/Get-AzMySqlFlexibleServerLocationBasedCapability.ps1 b/src/MySql/custom/Get-AzMySqlFlexibleServerLocationBasedCapability.ps1 index b78a36f24e70..fe5009fa089c 100644 --- a/src/MySql/custom/Get-AzMySqlFlexibleServerLocationBasedCapability.ps1 +++ b/src/MySql/custom/Get-AzMySqlFlexibleServerLocationBasedCapability.ps1 @@ -20,100 +20,100 @@ Get the available SKU information for the location #> function Get-AzMySqlFlexibleServerLocationBasedCapability { - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ICapabilityProperties])] - [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] - param( - [Parameter(Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] - [System.String] - # The name of the location. - ${Location}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] - [System.String[]] - # The ID of the target subscription. - ${SubscriptionId}, - - [Parameter()] - [Alias('AzureRMContext', 'AzureCredential')] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Azure')] - [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. - ${DefaultProfile}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Wait for .NET debugger to attach - ${Break}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be appended to the front of the pipeline - ${HttpPipelineAppend}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be prepended to the front of the pipeline - ${HttpPipelinePrepend}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] - [System.Uri] - # The URI for the proxy server to use - ${Proxy}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] - [System.Management.Automation.PSCredential] - # Credentials for a proxy server to use for the remote call - ${ProxyCredential}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Use the default credentials for the proxy - ${ProxyUseDefaultCredentials} - ) - - process { - try { - $PSBoundParameters.LocationName = $PSBoundParameters['Location'] - $null = $PSBoundParameters.Remove('Location') +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.ICapabilityProperties])] +[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] +param( + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [System.String] + # The name of the location. + ${Location}, - $Result = Az.MySql.internal\Get-AzMySqlFlexibleServerLocationBasedCapability @PSBoundParameters - Write-Host "Please refer to https://aka.ms/mysql-pricing for pricing details" - $SkusTiers = $Result[0].SupportedFlexibleServerEdition - $TableResult = @() + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String[]] + # The ID of the target subscription. + ${SubscriptionId}, - ForEach ($Skus in $SkusTiers) { - $TierName = $Skus.Name - Try { - $Keys = $Skus.SupportedServerVersion[0].SupportedVcore - - ForEach ($Key in $Keys) { - New-Object -TypeName PSCustomObject -Property @{SKU=$Key.Name; Tier=$TierName; vCore=$Key.Vcore; Memory=$Key.SupportedMemoryPerVcoreMb} - $TableResult += $NewEntry - } - } - Catch { - Throw "No SKU info for this location" + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Azure')] + [System.Management.Automation.PSObject] + # The credentials, account, tenant, and subscription used for communication with Azure. + ${DefaultProfile}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} +) + +process { + try { + $PSBoundParameters.LocationName = $PSBoundParameters['Location'] + $null = $PSBoundParameters.Remove('Location') + + $Result = Az.MySql.internal\Get-AzMySqlFlexibleServerLocationBasedCapability @PSBoundParameters + Write-Host "Please refer to https://aka.ms/mysql-pricing for pricing details" + $SkusTiers = $Result[0].SupportedFlexibleServerEdition + $TableResult = @() + + ForEach ($Skus in $SkusTiers) { + $TierName = $Skus.Name + Try { + $Keys = $Skus.SupportedServerVersion[0].SupportedVcore + + ForEach ($Key in $Keys) { + $NewEntry = New-Object -TypeName PSCustomObject -Property @{SKU=$Key.Name; Tier=$TierName; vCore=$Key.Vcore; Memory=$Key.SupportedMemoryPerVcoreMb} + $TableResult += $NewEntry } } - - return $TableResult - - - } catch { - throw + Catch { + Throw "No SKU info for this location" + } } + + return $TableResult + + + } catch { + throw } +} } \ No newline at end of file diff --git a/src/MySql/custom/New-AzMySqlFlexibleServer.ps1 b/src/MySql/custom/New-AzMySqlFlexibleServer.ps1 index 43ff7509e793..b621e2fe64ce 100644 --- a/src/MySql/custom/New-AzMySqlFlexibleServer.ps1 +++ b/src/MySql/custom/New-AzMySqlFlexibleServer.ps1 @@ -27,284 +27,284 @@ $DEFAULT_SUBNET_PREFIX = '10.0.0.0/24' $AZURE_ARMNAME = '^[^<>%&:\\?/]{1,260}$' function New-AzMySqlFlexibleServer { - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated])] - [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Description('Creates a new server.')] - param( - [Parameter(HelpMessage = 'The name of the server.')] - [Alias('ServerName')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] - [System.String] - ${Name}, - - [Parameter(HelpMessage = 'The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal.')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] - [System.String] - ${ResourceGroupName}, - - [Parameter(HelpMessage='The subscription ID that identifies an Azure subscription.')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] - [System.String] - ${SubscriptionId}, - - [Parameter(HelpMessage = 'The location the resource resides in.')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] - [System.String] - ${Location}, - - [Parameter(HelpMessage = 'Administrator username for the server. Once set, it cannot be changed.')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] - [System.String] - ${AdministratorUserName}, - - [Parameter(HelpMessage = 'The password of the administrator. Minimum 8 characters and maximum 128 characters. Password must contain characters from three of the following categories: English uppercase letters, English lowercase letters, numbers, and non-alphanumeric characters.')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] - [System.Security.SecureString] - [ValidateNotNullOrEmpty()] - ${AdministratorLoginPassword}, - - [Parameter(HelpMessage = 'The name of the sku, typically, tier + family + cores, e.g. Standard_B1ms, Standard_D2ds_v4.')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] - [System.String] - ${Sku}, - - [Parameter(HelpMessage = 'Compute tier of the server. Accepted values: Burstable, GeneralPurpose, Memory Optimized. Default: Burstable.')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] - [System.String] - ${SkuTier}, - - [Parameter(HelpMessage = "Backup retention days for the server. Day count is between 7 and 35.")] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] - [System.Int32] - ${BackupRetentionDay}, - - [Parameter(HelpMessage = 'Max storage allowed for a server.')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] - [System.Int32] - ${StorageInMb}, - - [Parameter(HelpMessage = 'Application-specific metadata in the form of key-value pairs.')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateTags]))] - [System.Collections.Hashtable] - ${Tag}, - - [Parameter(HelpMessage = 'Server version.')] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerVersion])] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerVersion] - ${Version}, - - [Parameter(HelpMessage = 'The subnet IP address prefix to use when creating a new vnet in CIDR format. Default value is 10.0.0.0/24.')] - [System.String] - ${SubnetPrefix}, - - [Parameter(HelpMessage = 'The Name or Id of an existing Subnet or name of a new one to create. Please note that the subnet will be delegated to Microsoft.DBforMySQL/flexibleServers. After delegation, this subnet cannot be used for any other type of Azure resources.')] - [System.String] - ${Subnet}, - - [Parameter(HelpMessage = 'The IP address prefix to use when creating a new vnet in CIDR format. Default value is 10.0.0.0/16.')] - [System.String] - ${VnetPrefix}, - - [Parameter(HelpMessage = 'The Name or Id of an existing virtual network or name of a new one to create. The name must be between 2 to 64 characters. The name must begin with a letter or number, end with a letter, number or underscore, and may contain only letters, numbers, underscores, periods, or hyphens.')] - [System.String] - ${Vnet}, - - [Parameter(HelpMessage = " - Determines the public access. Enter single or range of IP addresses to be - included in the allowed list of IPs. IP address ranges must be dash- - separated and not contain any spaces. Specifying 0.0.0.0 allows public - access from any resources deployed within Azure to access your server. - Specifying no IP address sets the server in public access mode but does - not create a firewall rule.")] - [System.String] - ${PublicAccess}, - - [Parameter(HelpMessage = 'Enable or disable high availability feature. Default value is Disabled. Default: Disabled.')] - ${HighAvailability}, - - [Parameter(HelpMessage = 'The credentials, account, tenant, and subscription used for communication with Azure.')] - [Alias('AzureRMContext', 'AzureCredential')] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Azure')] - [System.Management.Automation.PSObject] - ${DefaultProfile}, - - [Parameter(HelpMessage = 'Run the command as a job.')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - ${AsJob}, - - [Parameter(DontShow, HelpMessage = 'Wait for .NET debugger to attach.')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - ${Break}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be appended to the front of the pipeline. - ${HttpPipelineAppend}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be prepended to the front of the pipeline. - ${HttpPipelinePrepend}, - - [Parameter(HelpMessage = 'Run the command asynchronously.')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - ${NoWait}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] - [System.Uri] - # The URI for the proxy server to use. - ${Proxy}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] - [System.Management.Automation.PSCredential] - # Credentials for a proxy server to use for the remote call. - ${ProxyCredential}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Use the default credentials for the proxy. - ${ProxyUseDefaultCredentials} - ) - - process { - try { - If (!$PSBoundParameters.ContainsKey('Location')) { - $PSBoundParameters.Location = 'westus2' - } +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated])] +[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +[Microsoft.Azure.PowerShell.Cmdlets.MySql.Description('Creates a new server.')] +param( + [Parameter(HelpMessage = 'The name of the server.')] + [Alias('ServerName')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [System.String] + ${Name}, + + [Parameter(HelpMessage = 'The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [System.String] + ${ResourceGroupName}, + + [Parameter(HelpMessage='The subscription ID that identifies an Azure subscription.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String] + ${SubscriptionId}, + + [Parameter(HelpMessage = 'The location the resource resides in.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.String] + ${Location}, + + [Parameter(HelpMessage = 'Administrator username for the server. Once set, it cannot be changed.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.String] + ${AdministratorUserName}, + + [Parameter(HelpMessage = 'The password of the administrator. Minimum 8 characters and maximum 128 characters. Password must contain characters from three of the following categories: English uppercase letters, English lowercase letters, numbers, and non-alphanumeric characters.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.Security.SecureString] + [ValidateNotNullOrEmpty()] + ${AdministratorLoginPassword}, + + [Parameter(HelpMessage = 'The name of the sku, typically, tier + family + cores, e.g. Standard_B1ms, Standard_D2ds_v4.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.String] + ${Sku}, + + [Parameter(HelpMessage = 'Compute tier of the server. Accepted values: Burstable, GeneralPurpose, Memory Optimized. Default: Burstable.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.String] + ${SkuTier}, + + [Parameter(HelpMessage = "Backup retention days for the server. Day count is between 7 and 35.")] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.Int32] + ${BackupRetentionDay}, + + [Parameter(HelpMessage = 'Max storage allowed for a server.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.Int32] + ${StorageInMb}, + + [Parameter(HelpMessage = 'Application-specific metadata in the form of key-value pairs.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IServerForCreateTags]))] + [System.Collections.Hashtable] + ${Tag}, + + [Parameter(HelpMessage = 'Server version.')] + [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerVersion])] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.ServerVersion] + ${Version}, + + [Parameter(HelpMessage = 'The subnet IP address prefix to use when creating a new vnet in CIDR format. Default value is 10.0.0.0/24.')] + [System.String] + ${SubnetPrefix}, + + [Parameter(HelpMessage = 'The Name or Id of an existing Subnet or name of a new one to create. Please note that the subnet will be delegated to Microsoft.DBforMySQL/flexibleServers. After delegation, this subnet cannot be used for any other type of Azure resources.')] + [System.String] + ${Subnet}, + + [Parameter(HelpMessage = 'The IP address prefix to use when creating a new vnet in CIDR format. Default value is 10.0.0.0/16.')] + [System.String] + ${VnetPrefix}, + + [Parameter(HelpMessage = 'The Name or Id of an existing virtual network or name of a new one to create. The name must be between 2 to 64 characters. The name must begin with a letter or number, end with a letter, number or underscore, and may contain only letters, numbers, underscores, periods, or hyphens.')] + [System.String] + ${Vnet}, + + [Parameter(HelpMessage = " + Determines the public access. Enter single or range of IP addresses to be + included in the allowed list of IPs. IP address ranges must be dash- + separated and not contain any spaces. Specifying 0.0.0.0 allows public + access from any resources deployed within Azure to access your server. + Specifying no IP address sets the server in public access mode but does + not create a firewall rule.")] + [System.String] + ${PublicAccess}, + + [Parameter(HelpMessage = 'Enable or disable high availability feature. Default value is Disabled. Default: Disabled.')] + ${HighAvailability}, + + [Parameter(HelpMessage = 'The credentials, account, tenant, and subscription used for communication with Azure.')] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Azure')] + [System.Management.Automation.PSObject] + ${DefaultProfile}, + + [Parameter(HelpMessage = 'Run the command as a job.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + ${AsJob}, + + [Parameter(DontShow, HelpMessage = 'Wait for .NET debugger to attach.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline. + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline. + ${HttpPipelinePrepend}, + + [Parameter(HelpMessage = 'Run the command asynchronously.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + ${NoWait}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use. + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call. + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy. + ${ProxyUseDefaultCredentials} +) + +process { + try { + If (!$PSBoundParameters.ContainsKey('Location')) { + $PSBoundParameters.Location = 'westus2' + } - If (!$PSBoundParameters.ContainsKey('AdministratorLoginPassword')) { - $Password = Get-GeneratePassword - $PSBoundParameters.AdministratorLoginPassword = $Password | ConvertTo-SecureString -AsPlainText -Force - } - $PSBoundParameters.AdministratorLoginPassword = . "$PSScriptRoot/../utils/Unprotect-SecureString.ps1" $PSBoundParameters['AdministratorLoginPassword'] + If (!$PSBoundParameters.ContainsKey('AdministratorLoginPassword')) { + $Password = Get-GeneratePassword + $PSBoundParameters.AdministratorLoginPassword = $Password | ConvertTo-SecureString -AsPlainText -Force + } + $PSBoundParameters.AdministratorLoginPassword = . "$PSScriptRoot/../utils/Unprotect-SecureString.ps1" $PSBoundParameters['AdministratorLoginPassword'] - Import-Module -Name Az.Resources - If(!$PSBoundParameters.ContainsKey('ResourceGroupName')) { - $PSBoundParameters.ResourceGroupName = Get-RandomNumbers -Prefix 'group' -Length 10 + Import-Module -Name Az.Resources + If(!$PSBoundParameters.ContainsKey('ResourceGroupName')) { + $PSBoundParameters.ResourceGroupName = Get-RandomNumbers -Prefix 'group' -Length 10 + $Msg = "Creating Resource Group {0}..." -f $PSBoundParameters.ResourceGroupName + Write-Host $Msg + if($PSCmdlet.ShouldProcess($PSBoundParameters.ResourceGroupName)) { + $null = New-AzResourceGroup -Name $PSBoundParameters.ResourceGroupName -Location $PSBoundParameters.Location -Force + } + } + Else { + $Msg = 'Checking the existence of the resource group {0} ...' -f $PSBoundParameters.ResourceGroupName + Write-Host $Msg + Try { + $null = Get-AzResourceGroup -Name $PSBoundParameters.ResourceGroupName -ErrorAction Stop + $Msg = 'Resource group {0} exists ? : True' -f $PSBoundParameters.ResourceGroupName + Write-Host $Msg + } + Catch { + $Msg = 'Resource group {0} exists ? : False' -f $PSBoundParameters.ResourceGroupName + Write-Host $Msg $Msg = "Creating Resource Group {0}..." -f $PSBoundParameters.ResourceGroupName Write-Host $Msg if($PSCmdlet.ShouldProcess($PSBoundParameters.ResourceGroupName)) { $null = New-AzResourceGroup -Name $PSBoundParameters.ResourceGroupName -Location $PSBoundParameters.Location -Force } - } - Else { - $Msg = 'Checking the existence of the resource group {0} ...' -f $PSBoundParameters.ResourceGroupName - Write-Host $Msg - Try { - $null = Get-AzResourceGroup -Name $PSBoundParameters.ResourceGroupName -ErrorAction Stop - $Msg = 'Resource group {0} exists ? : True' -f $PSBoundParameters.ResourceGroupName - Write-Host $Msg - } - Catch { - $Msg = 'Resource group {0} exists ? : False' -f $PSBoundParameters.ResourceGroupName - Write-Host $Msg - $Msg = "Creating Resource Group {0}..." -f $PSBoundParameters.ResourceGroupName - Write-Host $Msg - if($PSCmdlet.ShouldProcess($PSBoundParameters.ResourceGroupName)) { - $null = New-AzResourceGroup -Name $PSBoundParameters.ResourceGroupName -Location $PSBoundParameters.Location -Force - } - } } + } - If (!$PSBoundParameters.ContainsKey('Name')) { - $PSBoundParameters.Name = Get-RandomNumbers -Prefix 'server' -Length 10 - } + If (!$PSBoundParameters.ContainsKey('Name')) { + $PSBoundParameters.Name = Get-RandomNumbers -Prefix 'server' -Length 10 + } - If ($PSBoundParameters.ContainsKey('Sku')) { - $PSBoundParameters.SkuName = $PSBoundParameters['Sku'] - $null = $PSBoundParameters.Remove('Sku') - } - Else { - $PSBoundParameters.SkuName = 'Standard_B1ms' - } + If ($PSBoundParameters.ContainsKey('Sku')) { + $PSBoundParameters.SkuName = $PSBoundParameters['Sku'] + $null = $PSBoundParameters.Remove('Sku') + } + Else { + $PSBoundParameters.SkuName = 'Standard_B1ms' + } - If ($PSBoundParameters.ContainsKey('BackupRetentionDay')) { - $PSBoundParameters.StorageProfileBackupRetentionDay = $PSBoundParameters['BackupRetentionDay'] - $null = $PSBoundParameters.Remove('BackupRetentionDay') - } - else { - $PSBoundParameters.StorageProfileBackupRetentionDay = 7 - } + If ($PSBoundParameters.ContainsKey('BackupRetentionDay')) { + $PSBoundParameters.StorageProfileBackupRetentionDay = $PSBoundParameters['BackupRetentionDay'] + $null = $PSBoundParameters.Remove('BackupRetentionDay') + } + else { + $PSBoundParameters.StorageProfileBackupRetentionDay = 7 + } - If ($PSBoundParameters.ContainsKey('StorageInMb')) { - $PSBoundParameters.StorageProfileStorageMb = $PSBoundParameters['StorageInMb'] - $null = $PSBoundParameters.Remove('StorageInMb') - } - else { - $PSBoundParameters.StorageProfileStorageMb = 10240 - } + If ($PSBoundParameters.ContainsKey('StorageInMb')) { + $PSBoundParameters.StorageProfileStorageMb = $PSBoundParameters['StorageInMb'] + $null = $PSBoundParameters.Remove('StorageInMb') + } + else { + $PSBoundParameters.StorageProfileStorageMb = 10240 + } - If (!$PSBoundParameters.ContainsKey('Version')) { - $PSBoundParameters.Version = '5.7' - } + If (!$PSBoundParameters.ContainsKey('Version')) { + $PSBoundParameters.Version = '5.7' + } - If (!$PSBoundParameters.ContainsKey('SkuTier')) { - $PSBoundParameters.SkuTier = 'Burstable' - } + If (!$PSBoundParameters.ContainsKey('SkuTier')) { + $PSBoundParameters.SkuTier = 'Burstable' + } - If ($PSBoundParameters.ContainsKey('AdministratorUserName')) { - $PSBoundParameters.AdministratorLogin = $PSBoundParameters['AdministratorUserName'] - $null = $PSBoundParameters.Remove('AdministratorUserName') - } - Else { - $PSBoundParameters.AdministratorLogin = Get-RandomName - } + If ($PSBoundParameters.ContainsKey('AdministratorUserName')) { + $PSBoundParameters.AdministratorLogin = $PSBoundParameters['AdministratorUserName'] + $null = $PSBoundParameters.Remove('AdministratorUserName') + } + Else { + $PSBoundParameters.AdministratorLogin = Get-RandomName + } - # Handling Vnet & Subnet - $NetworkKeys = 'PublicAccess', 'Subnet', 'Vnet', 'SubnetPrefix', 'VnetPrefix' - $NetworkParameters = @{} - ForEach($Key in $NetworkKeys){ - If ($PSBoundParameters.ContainsKey($Key)){ - $NetworkParameters[$Key] = $PSBoundParameters[$Key] - $null = $PSBoundParameters.Remove($Key) - } + # Handling Vnet & Subnet + $NetworkKeys = 'PublicAccess', 'Subnet', 'Vnet', 'SubnetPrefix', 'VnetPrefix' + $NetworkParameters = @{} + ForEach($Key in $NetworkKeys){ + If ($PSBoundParameters.ContainsKey($Key)){ + $NetworkParameters[$Key] = $PSBoundParameters[$Key] + $null = $PSBoundParameters.Remove($Key) } - $RequiredKeys = 'SubscriptionId', 'ResourceGroupName', 'Name', 'Location' - ForEach($Key in $RequiredKeys){ $NetworkParameters[$Key] = $PSBoundParameters[$Key] } - - If(!$NetworkParameters.ContainsKey('PublicAccess')){ - $VnetSubnetParameters = CreateNetworkResource $NetworkParameters - $SubnetId = GetSubnetId $VnetSubnetParameters.ResourceGroupName $VnetSubnetParameters.VnetName $VnetSubnetParameters.SubnetName - $PSBoundParameters.DelegatedSubnetArgumentSubnetArmResourceId = $SubnetId - If ([string]::IsNullOrEmpty($PSBoundParameters.DelegatedSubnetArgumentSubnetArmResourceId)) { - $null = $PSBoundParameters.Remove('DelegatedSubnetArgumentSubnetArmResourceId') - } + } + $RequiredKeys = 'SubscriptionId', 'ResourceGroupName', 'Name', 'Location' + ForEach($Key in $RequiredKeys){ $NetworkParameters[$Key] = $PSBoundParameters[$Key] } + + If(!$NetworkParameters.ContainsKey('PublicAccess')){ + $VnetSubnetParameters = CreateNetworkResource $NetworkParameters + $SubnetId = GetSubnetId $VnetSubnetParameters.ResourceGroupName $VnetSubnetParameters.VnetName $VnetSubnetParameters.SubnetName + $PSBoundParameters.DelegatedSubnetArgumentSubnetArmResourceId = $SubnetId + If ([string]::IsNullOrEmpty($PSBoundParameters.DelegatedSubnetArgumentSubnetArmResourceId)) { + $null = $PSBoundParameters.Remove('DelegatedSubnetArgumentSubnetArmResourceId') } + } - $Msg = 'Creating MySQL server {0} in group {1}...' -f $PSBoundParameters.Name, $PSBoundParameters.resourceGroupName - Write-Host $Msg - $Msg = 'Your server {0} is using sku {1} (Paid Tier). Please refer to https://aka.ms/mysql-pricing for pricing details' -f $PSBoundParameters.Name, $PSBoundParameters.SkuName - Write-Host $Msg - $Server = Az.MySql.internal\New-AzMySqlFlexibleServer @PSBoundParameters + $Msg = 'Creating MySQL server {0} in group {1}...' -f $PSBoundParameters.Name, $PSBoundParameters.resourceGroupName + Write-Host $Msg + $Msg = 'Your server {0} is using sku {1} (Paid Tier). Please refer to https://aka.ms/mysql-pricing for pricing details' -f $PSBoundParameters.Name, $PSBoundParameters.SkuName + Write-Host $Msg + $Server = Az.MySql.internal\New-AzMySqlFlexibleServer @PSBoundParameters - # # Create Database - $DatabaseParameter = [Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.Database]::new() - $DatabaseParameter.Charset = "utf8" - $DatabaseParameter.Collation = "utf8_general_ci" - $Msg = 'Creating database {0}...' -f $DEFAULT_DB_NAME - Write-Host $Msg - $null = New-AzMySqlFlexibleServerDatabase -Name $DEFAULT_DB_NAME -ResourceGroupName $PSBoundParameters.ResourceGroupName -ServerName $PSBoundParameters.Name -Parameter $DatabaseParameter - - # Create Firewallrules - $FirewallRuleName = CreateFirewallRule $NetworkParameters + # # Create Database + $DatabaseParameter = [Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.Database]::new() + $DatabaseParameter.Charset = "utf8" + $DatabaseParameter.Collation = "utf8_general_ci" + $Msg = 'Creating database {0}...' -f $DEFAULT_DB_NAME + Write-Host $Msg + $null = New-AzMySqlFlexibleServerDatabase -Name $DEFAULT_DB_NAME -ResourceGroupName $PSBoundParameters.ResourceGroupName -ServerName $PSBoundParameters.Name -Parameter $DatabaseParameter + + # Create Firewallrules + $FirewallRuleName = CreateFirewallRule $NetworkParameters - $Msg = " + $Msg = " `"databaseName`": `"$DEFAULT_DB_NAME`", `"id`": `"/subscriptions/$($PSBoundParameters.SubscriptionId)/resourceGroups/$($PSBoundParameters.ResourceGroupName)/providers/Microsoft.DBForMySql/flexibleServers/$($PSBoundParameters.Name)`", `"location`": `"$($PSBoundParameters.Location)`", @@ -315,21 +315,21 @@ function New-AzMySqlFlexibleServer { `"version`": `"$($PSBoundParameters.Version)`" " - If ($PSBoundParameters.ContainsKey('DelegatedSubnetArgumentSubnetArmResourceId')) { - $Msg += "`"subnetId`": `"$($PSBoundParameters.DelegatedSubnetArgumentSubnetArmResourceId)`"" - } - ElseIf (![string]::IsNullOrEmpty($FirewallRuleName)) { - $Msg += "`"firewallName`": `"$FirewallRuleName`"" - } - Write-Host $Msg + If ($PSBoundParameters.ContainsKey('DelegatedSubnetArgumentSubnetArmResourceId')) { + $Msg += "`"subnetId`": `"$($PSBoundParameters.DelegatedSubnetArgumentSubnetArmResourceId)`"" + } + ElseIf (![string]::IsNullOrEmpty($FirewallRuleName)) { + $Msg += "`"firewallName`": `"$FirewallRuleName`"" + } + Write-Host $Msg - return $Server + return $Server - } catch { - throw - } + } catch { + throw } } +} function CreateNetworkResource($NetworkParameters) { [OutputType([hashtable])] $WarningPreference = 'silentlycontinue' diff --git a/src/MySql/custom/New-AzMySqlFlexibleServerFirewallRule.ps1 b/src/MySql/custom/New-AzMySqlFlexibleServerFirewallRule.ps1 index 6a8695dd9414..67286a45cbae 100644 --- a/src/MySql/custom/New-AzMySqlFlexibleServerFirewallRule.ps1 +++ b/src/MySql/custom/New-AzMySqlFlexibleServerFirewallRule.ps1 @@ -21,123 +21,123 @@ Creates a new firewall rule for MySQL flexible server #> function New-AzMySqlFlexibleServerFirewallRule { - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule])] - [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] - param( - [Parameter()] - [Alias('FirewallRuleName')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] - [System.String] - # The name of the server firewall rule. - # If not specified, the default is undefined. - # If AllowAll is present, the default name is AllowAll_yyyy-MM-dd_HH-mm-ss. - ${Name}, - - [Parameter(Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] - [System.String] - # The name of the resource group. - # The name is case insensitive. - ${ResourceGroupName}, - - [Parameter(Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] - [System.String] - # The name of the server. - ${ServerName}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] - [System.String] - # The ID of the target subscription. - ${SubscriptionId}, - - [Parameter(ParameterSetName='CreateExpanded', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] - [System.String] - # The end IP address of the server firewall rule. - # Must be IPv4 format. - ${EndIPAddress}, - - [Parameter(ParameterSetName='CreateExpanded', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] - [System.String] - # The start IP address of the server firewall rule. - # Must be IPv4 format. - ${StartIPAddress}, - - [Parameter(ParameterSetName='ClientIPAddress', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] - [System.String] - # Client specified single IP of the server firewall rule. - # Must be IPv4 format. - ${ClientIPAddress}, - - [Parameter(ParameterSetName='AllowAll', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] - [System.Management.Automation.SwitchParameter] - # Present to allow all range IPs, from 0.0.0.0 to 255.255.255.255. - ${AllowAll}, - - [Parameter()] - [Alias('AzureRMContext', 'AzureCredential')] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Azure')] - [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. - ${DefaultProfile}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Run the command as a job - ${AsJob}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Wait for .NET debugger to attach - ${Break}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be appended to the front of the pipeline - ${HttpPipelineAppend}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be prepended to the front of the pipeline - ${HttpPipelinePrepend}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Run the command asynchronously - ${NoWait}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] - [System.Uri] - # The URI for the proxy server to use - ${Proxy}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] - [System.Management.Automation.PSCredential] - # Credentials for a proxy server to use for the remote call - ${ProxyCredential}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Use the default credentials for the proxy - ${ProxyUseDefaultCredentials} +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.IFirewallRule])] +[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +param( + [Parameter()] + [Alias('FirewallRuleName')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [System.String] + # The name of the server firewall rule. + # If not specified, the default is undefined. + # If AllowAll is present, the default name is AllowAll_yyyy-MM-dd_HH-mm-ss. + ${Name}, + + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [System.String] + # The name of the resource group. + # The name is case insensitive. + ${ResourceGroupName}, + + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [System.String] + # The name of the server. + ${ServerName}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String] + # The ID of the target subscription. + ${SubscriptionId}, + + [Parameter(ParameterSetName='CreateExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.String] + # The end IP address of the server firewall rule. + # Must be IPv4 format. + ${EndIPAddress}, + + [Parameter(ParameterSetName='CreateExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.String] + # The start IP address of the server firewall rule. + # Must be IPv4 format. + ${StartIPAddress}, + + [Parameter(ParameterSetName='ClientIPAddress', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.String] + # Client specified single IP of the server firewall rule. + # Must be IPv4 format. + ${ClientIPAddress}, + + [Parameter(ParameterSetName='AllowAll', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Present to allow all range IPs, from 0.0.0.0 to 255.255.255.255. + ${AllowAll}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Azure')] + [System.Management.Automation.PSObject] + # The credentials, account, tenant, and subscription used for communication with Azure. + ${DefaultProfile}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command as a job + ${AsJob}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command asynchronously + ${NoWait}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} ) process { diff --git a/src/MySql/custom/New-AzMySqlFlexibleServerReplica.ps1 b/src/MySql/custom/New-AzMySqlFlexibleServerReplica.ps1 index 731b910d1b57..c68a9d215d34 100644 --- a/src/MySql/custom/New-AzMySqlFlexibleServerReplica.ps1 +++ b/src/MySql/custom/New-AzMySqlFlexibleServerReplica.ps1 @@ -21,109 +21,109 @@ Creates a replica server for a MySQL flexible server #> function New-AzMySqlFlexibleServerReplica { - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated])] - [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Description('Creates a new replica from an existing database.')] - param( - [Parameter(Mandatory, HelpMessage = 'The name of the server.')] - [Alias('ReplicaServerName', 'Name')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] - [System.String] - ${Replica}, - - [Parameter(Mandatory, HelpMessage = 'The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal.')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] - [System.String] - ${ResourceGroupName}, - - [Parameter(HelpMessage='The subscription ID that identifies an Azure subscription.')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] - [System.String] - ${SubscriptionId}, - - [Parameter(Mandatory, ValueFromPipeline, HelpMessage = 'The source server object to create replica from.')] - [Alias('InputObject')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated] - ${Master}, - - [Parameter(HelpMessage = 'The credentials, account, tenant, and subscription used for communication with Azure.')] - [Alias('AzureRMContext', 'AzureCredential')] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Azure')] - [System.Management.Automation.PSObject] - ${DefaultProfile}, - - [Parameter(HelpMessage = 'Run the command as a job.')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - ${AsJob}, - - [Parameter(DontShow, HelpMessage = 'Wait for .NET debugger to attach.')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - ${Break}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be appended to the front of the pipeline. - ${HttpPipelineAppend}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be prepended to the front of the pipeline. - ${HttpPipelinePrepend}, - - [Parameter(HelpMessage = 'Run the command asynchronously.')] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - ${NoWait}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] - [System.Uri] - # The URI for the proxy server to use. - ${Proxy}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] - [System.Management.Automation.PSCredential] - # Credentials for a proxy server to use for the remote call. - ${ProxyCredential}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Use the default credentials for the proxy. - ${ProxyUseDefaultCredentials} - ) - - process { - try { - $PSBoundParameters.CreateMode = [Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.CreateMode]::Replica - - $server = $PSBoundParameters['Master'] - $PSBoundParameters.SourceServerId = $server.Id - $PSBoundParameters.Location = $server.Location - $null = $PSBoundParameters.Remove('Master') - - if ($PSBoundParameters.ContainsKey('Replica')) - { - $PSBoundParameters['ServerName'] = $PSBoundParameters['Replica'] - $null = $PSBoundParameters.Remove('Replica') - } - - Az.MySql.internal\New-AzMySqlFlexibleServer @PSBoundParameters - } catch { - throw +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated])] +[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +[Microsoft.Azure.PowerShell.Cmdlets.MySql.Description('Creates a new replica from an existing database.')] +param( + [Parameter(Mandatory, HelpMessage = 'The name of the server.')] + [Alias('ReplicaServerName', 'Name')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [System.String] + ${Replica}, + + [Parameter(Mandatory, HelpMessage = 'The name of the resource group that contains the resource, You can obtain this value from the Azure Resource Manager API or the portal.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [System.String] + ${ResourceGroupName}, + + [Parameter(HelpMessage='The subscription ID that identifies an Azure subscription.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String] + ${SubscriptionId}, + + [Parameter(Mandatory, ValueFromPipeline, HelpMessage = 'The source server object to create replica from.')] + [Alias('InputObject')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated] + ${Master}, + + [Parameter(HelpMessage = 'The credentials, account, tenant, and subscription used for communication with Azure.')] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Azure')] + [System.Management.Automation.PSObject] + ${DefaultProfile}, + + [Parameter(HelpMessage = 'Run the command as a job.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + ${AsJob}, + + [Parameter(DontShow, HelpMessage = 'Wait for .NET debugger to attach.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline. + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline. + ${HttpPipelinePrepend}, + + [Parameter(HelpMessage = 'Run the command asynchronously.')] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + ${NoWait}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use. + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call. + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy. + ${ProxyUseDefaultCredentials} +) + +process { + try { + $PSBoundParameters.CreateMode = [Microsoft.Azure.PowerShell.Cmdlets.MySql.Support.CreateMode]::Replica + + $server = $PSBoundParameters['Master'] + $PSBoundParameters.SourceServerId = $server.Id + $PSBoundParameters.Location = $server.Location + $null = $PSBoundParameters.Remove('Master') + + if ($PSBoundParameters.ContainsKey('Replica')) + { + $PSBoundParameters['ServerName'] = $PSBoundParameters['Replica'] + $null = $PSBoundParameters.Remove('Replica') } + + Az.MySql.internal\New-AzMySqlFlexibleServer @PSBoundParameters + } catch { + throw } } +} diff --git a/src/MySql/custom/test.ps1 b/src/MySql/custom/test.ps1 deleted file mode 100644 index e69de29bb2d1..000000000000 From ef97b8f737ea50a0c5d13abe7944dd9e1ab7c0d7 Mon Sep 17 00:00:00 2001 From: Daeun Yim Date: Mon, 21 Dec 2020 22:02:56 -0800 Subject: [PATCH 40/51] CI test fixed --- ...t-AzMySqlFlexibleServerConnectionString.md | 47 +- src/MySql/docs/New-AzMySqlFlexibleServer.md | 10 +- ...zMySqlFlexibleServerReplica.Recording.json | 617 +++++++++++++++--- ...Get-AzMySqlFlexibleServerReplica.Tests.ps1 | 3 +- ...zMySqlFlexibleServerReplica.Recording.json | 570 +++++++++++++--- .../test/Restore-AzMySqlServer.Recording.json | 3 +- src/MySql/test/utils.ps1 | 3 - 7 files changed, 1037 insertions(+), 216 deletions(-) diff --git a/src/MySql/docs/Get-AzMySqlFlexibleServerConnectionString.md b/src/MySql/docs/Get-AzMySqlFlexibleServerConnectionString.md index b18fdfd615fc..e5af446e5e16 100644 --- a/src/MySql/docs/Get-AzMySqlFlexibleServerConnectionString.md +++ b/src/MySql/docs/Get-AzMySqlFlexibleServerConnectionString.md @@ -20,7 +20,7 @@ Get-AzMySqlFlexibleServerConnectionString -Client -Name -Resou ### GetViaIdentity ``` -Get-AzMySqlFlexibleServerConnectionString -Client -InputObject +Get-AzMySqlFlexibleServerConnectionString -Client -InputObject [-DefaultProfile ] [] ``` @@ -84,7 +84,7 @@ Name of the server To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated +Type: Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity Parameter Sets: GetViaIdentity Aliases: @@ -145,7 +145,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview.IServerAutoGenerated +### Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.IMySqlIdentity ## OUTPUTS @@ -160,35 +160,18 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -INPUTOBJECT : Name of the server - - `Location `: The geo-location where the resource lives - - `SkuName `: The name of the sku, e.g. Standard_D32s_v3. - - `SkuTier `: The tier of the particular SKU, e.g. GeneralPurpose. - - `[Tag ]`: Resource tags. - - `[(Any) ]`: This indicates any property can be added to this object. - - `[AdministratorLogin ]`: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). - - `[AdministratorLoginPassword ]`: The password of the administrator login (required for server creation). - - `[AvailabilityZone ]`: availability Zone information of the server. - - `[CreateMode ]`: The mode to create a new MySQL server. - - `[DelegatedSubnetArgumentSubnetArmResourceId ]`: delegated subnet arm resource id. - - `[HaEnabled ]`: Enable HA or not for a server. - - `[IdentityType ]`: The identity type. - - `[InfrastructureEncryption ]`: Status showing whether the server enabled infrastructure encryption. - - `[MaintenanceWindowCustomWindow ]`: indicates whether custom window is enabled or disabled - - `[MaintenanceWindowDayOfWeek ]`: day of week for maintenance window - - `[MaintenanceWindowStartHour ]`: start hour for maintenance window - - `[MaintenanceWindowStartMinute ]`: start minute for maintenance window - - `[PropertiesTag ]`: Application-specific metadata in the form of key-value pairs. - - `[(Any) ]`: This indicates any property can be added to this object. - - `[ReplicationRole ]`: The replication role. - - `[RestorePointInTime ]`: Restore point creation time (ISO8601 format), specifying the time to restore from. - - `[SourceServerId ]`: The source MySQL server id. - - `[SslEnforcement ]`: Enable ssl enforcement or not when connect to server. - - `[StorageProfileBackupRetentionDay ]`: Backup retention days for the server. - - `[StorageProfileStorageAutogrow ]`: Enable Storage Auto Grow. - - `[StorageProfileStorageIop ]`: Storage IOPS for a server. - - `[StorageProfileStorageMb ]`: Max storage allowed for a server. - - `[Version ]`: Server version. +INPUTOBJECT : Name of the server + - `[ConfigurationName ]`: The name of the server configuration. + - `[DatabaseName ]`: The name of the database. + - `[FirewallRuleName ]`: The name of the server firewall rule. + - `[Id ]`: Resource identity path + - `[KeyName ]`: The name of the server key. + - `[LocationName ]`: The name of the location. + - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. + - `[SecurityAlertPolicyName ]`: The name of the security alert policy. + - `[ServerName ]`: The name of the server. + - `[SubscriptionId ]`: The ID of the target subscription. + - `[VirtualNetworkRuleName ]`: The name of the virtual network rule. ## RELATED LINKS diff --git a/src/MySql/docs/New-AzMySqlFlexibleServer.md b/src/MySql/docs/New-AzMySqlFlexibleServer.md index d9108a845384..946bc30e9ed3 100644 --- a/src/MySql/docs/New-AzMySqlFlexibleServer.md +++ b/src/MySql/docs/New-AzMySqlFlexibleServer.md @@ -326,13 +326,13 @@ Accept wildcard characters: False ### -PublicAccess Determines the public access. Enter single or range of IP addresses to be - included in the allowed list of IPs. + included in the allowed list of IPs. IP address ranges must be dash- - separated and not contain any spaces. + separated and not contain any spaces. Specifying 0.0.0.0 allows public - access from any resources deployed within Azure to access your server. - Specifying no IP address sets the server in public access mode but does - not create a firewall rule. + access from any resources deployed within Azure to access your server. + Specifying no IP address sets the server in public access mode but does + not create a firewall rule. ```yaml Type: System.String diff --git a/src/MySql/test/Get-AzMySqlFlexibleServerReplica.Recording.json b/src/MySql/test/Get-AzMySqlFlexibleServerReplica.Recording.json index 62559a3518e6..3383b2d00f54 100644 --- a/src/MySql/test/Get-AzMySqlFlexibleServerReplica.Recording.json +++ b/src/MySql/test/Get-AzMySqlFlexibleServerReplica.Recording.json @@ -5,8 +5,8 @@ "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview", "Content": null, "Headers": { - "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "43b5a6d0-5896-45e0-9fcc-ee9f1e9fb18c" ], + "x-ms-unique-id": [ "2" ], + "x-ms-client-request-id": [ "4b6b053e-6e8a-4cee-a76e-94b52f6ad73b" ], "CommandName": [ "Get-AzMySqlFlexibleServer" ], "FullCommandName": [ "Get-AzMySqlFlexibleServer_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -22,20 +22,20 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "75739168-9131-4715-9dd8-d83a7701495e" ], + "x-ms-request-id": [ "474ec570-8474-412c-bbe2-461ae39ed878" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], - "x-ms-correlation-request-id": [ "2613edcf-bb5e-4bdc-910a-a6eec59406ac" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T005317Z:2613edcf-bb5e-4bdc-910a-a6eec59406ac" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-correlation-request-id": [ "7829e741-13af-485e-8d4b-e4080b01ee9c" ], + "x-ms-routing-request-id": [ "WESTUS:20201222T052833Z:7829e741-13af-485e-8d4b-e4080b01ee9c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 00:53:17 GMT" ] + "Date": [ "Tue, 22 Dec 2020 05:28:32 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "947" ], + "Content-Length": [ "949" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-10T09:03:48.6930234+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"Source\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"gleefulOrange3\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-22T05:14:07.5764396+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } }, "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-replica?api-version=2020-07-01-preview+2": { @@ -55,35 +55,115 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/ae986dce-25c0-4950-9067-1ea075dea227?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ae986dce-25c0-4950-9067-1ea075dea227?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "ae986dce-25c0-4950-9067-1ea075dea227" ], + "x-ms-request-id": [ "e3a30412-f29d-44e2-9fe7-f4472b075024" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], - "x-ms-correlation-request-id": [ "4d188ee2-6e02-4143-977b-9cd50309c22e" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T005317Z:4d188ee2-6e02-4143-977b-9cd50309c22e" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "40a426da-2645-4795-b14d-ec06cf1f76a9" ], + "x-ms-routing-request-id": [ "WESTUS:20201222T052834Z:40a426da-2645-4795-b14d-ec06cf1f76a9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 00:53:17 GMT" ] + "Date": [ "Tue, 22 Dec 2020 05:28:33 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "90" ], + "Content-Length": [ "91" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"operation\":\"CreateReadReplicaManagementOperation\",\"startTime\":\"2020-11-11T00:53:17.76Z\"}" + "Content": "{\"operation\":\"CreateReadReplicaManagementOperation\",\"startTime\":\"2020-12-22T05:28:34.363Z\"}" } }, - "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ae986dce-25c0-4950-9067-1ea075dea227?api-version=2020-07-01-preview+3": { + "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/ae986dce-25c0-4950-9067-1ea075dea227?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "1917a357-42f5-45c2-80eb-2b0d7312332f" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "9660611b-4284-4d7d-a42a-df2fca278e72" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-correlation-request-id": [ "3ae2f9c6-ab1b-4191-81e5-1034b23f0a7f" ], + "x-ms-routing-request-id": [ "WESTUS:20201222T052934Z:3ae2f9c6-ab1b-4191-81e5-1034b23f0a7f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 22 Dec 2020 05:29:34 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"e3a30412-f29d-44e2-9fe7-f4472b075024\",\"status\":\"InProgress\",\"startTime\":\"2020-12-22T05:28:34.363Z\"}" + } + }, + "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "5" ], + "x-ms-client-request-id": [ "1917a357-42f5-45c2-80eb-2b0d7312332f" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "4b791767-c791-47b6-87dd-00ddeccea618" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "c314950c-5932-4d55-8b74-ecc02866c888" ], + "x-ms-routing-request-id": [ "WESTUS:20201222T053035Z:c314950c-5932-4d55-8b74-ecc02866c888" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 22 Dec 2020 05:30:34 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"e3a30412-f29d-44e2-9fe7-f4472b075024\",\"status\":\"InProgress\",\"startTime\":\"2020-12-22T05:28:34.363Z\"}" + } + }, + "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "6" ], - "x-ms-client-request-id": [ "a70b5c95-7d3d-4bbc-9119-f3f8db903f91" ], + "x-ms-client-request-id": [ "1917a357-42f5-45c2-80eb-2b0d7312332f" ], "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -99,31 +179,31 @@ "Pragma": [ "no-cache" ], "Retry-After": [ "60" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "a0f3982e-c8b7-42f0-b515-29e9695914ff" ], + "x-ms-request-id": [ "6c537b17-fced-4b05-9e0b-904110712457" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], - "x-ms-correlation-request-id": [ "237fb497-1761-4965-8dc8-8e62bd96c87d" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T005418Z:237fb497-1761-4965-8dc8-8e62bd96c87d" ], + "x-ms-correlation-request-id": [ "4288dbc8-c646-42f9-a064-253c06728089" ], + "x-ms-routing-request-id": [ "WESTUS:20201222T053135Z:4288dbc8-c646-42f9-a064-253c06728089" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 00:54:17 GMT" ] + "Date": [ "Tue, 22 Dec 2020 05:31:34 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "197" ], + "Content-Length": [ "108" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"ae986dce-25c0-4950-9067-1ea075dea227\",\"status\":\"Failed\",\"startTime\":\"2020-11-11T00:53:17.76Z\",\"error\":{\"code\":\"ServerNameAlreadyExists\",\"message\":\"Specified server name is already used.\"}}" + "Content": "{\"name\":\"e3a30412-f29d-44e2-9fe7-f4472b075024\",\"status\":\"InProgress\",\"startTime\":\"2020-12-22T05:28:34.363Z\"}" } }, - "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-replica?api-version=2020-07-01-preview+4": { + "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-replica?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "7" ], - "x-ms-client-request-id": [ "a70b5c95-7d3d-4bbc-9119-f3f8db903f91" ], + "x-ms-client-request-id": [ "1917a357-42f5-45c2-80eb-2b0d7312332f" ], "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -137,31 +217,390 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "02cb3f57-29b2-45e4-9860-8cbd51293534" ], + "x-ms-request-id": [ "f9a1c4ec-6181-4efe-a839-9e0da647ed8c" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], - "x-ms-correlation-request-id": [ "8984ea8a-b0ed-4106-954c-73aa35e410e2" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T005418Z:8984ea8a-b0ed-4106-954c-73aa35e410e2" ], + "x-ms-correlation-request-id": [ "aff09121-9268-4336-b1d4-6c792195ad60" ], + "x-ms-routing-request-id": [ "WESTUS:20201222T053235Z:aff09121-9268-4336-b1d4-6c792195ad60" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 22 Dec 2020 05:32:35 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"e3a30412-f29d-44e2-9fe7-f4472b075024\",\"status\":\"InProgress\",\"startTime\":\"2020-12-22T05:28:34.363Z\"}" + } + }, + "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "8" ], + "x-ms-client-request-id": [ "1917a357-42f5-45c2-80eb-2b0d7312332f" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "678cdb04-da52-40be-b242-7118be0efc67" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "b3fab7ff-4610-40bc-8fe9-f045604d8709" ], + "x-ms-routing-request-id": [ "WESTUS:20201222T053336Z:b3fab7ff-4610-40bc-8fe9-f045604d8709" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 22 Dec 2020 05:33:35 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"e3a30412-f29d-44e2-9fe7-f4472b075024\",\"status\":\"InProgress\",\"startTime\":\"2020-12-22T05:28:34.363Z\"}" + } + }, + "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "9" ], + "x-ms-client-request-id": [ "1917a357-42f5-45c2-80eb-2b0d7312332f" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "5d7b02f1-0c21-4791-bf06-b7b825e6bb13" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "b3f45164-9c94-4f1d-9948-3ae26beb6af7" ], + "x-ms-routing-request-id": [ "WESTUS:20201222T053436Z:b3f45164-9c94-4f1d-9948-3ae26beb6af7" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 22 Dec 2020 05:34:35 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"e3a30412-f29d-44e2-9fe7-f4472b075024\",\"status\":\"InProgress\",\"startTime\":\"2020-12-22T05:28:34.363Z\"}" + } + }, + "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview+9": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "10" ], + "x-ms-client-request-id": [ "1917a357-42f5-45c2-80eb-2b0d7312332f" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "90073886-cc7f-4faf-a85f-7943039648ca" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-correlation-request-id": [ "17f93557-a085-499c-9113-871c9758b8f1" ], + "x-ms-routing-request-id": [ "WESTUS:20201222T053536Z:17f93557-a085-499c-9113-871c9758b8f1" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 22 Dec 2020 05:35:36 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"e3a30412-f29d-44e2-9fe7-f4472b075024\",\"status\":\"InProgress\",\"startTime\":\"2020-12-22T05:28:34.363Z\"}" + } + }, + "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview+10": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "11" ], + "x-ms-client-request-id": [ "1917a357-42f5-45c2-80eb-2b0d7312332f" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "86323c80-68fd-47ad-bad3-fc8a5c7766ca" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], + "x-ms-correlation-request-id": [ "721f26c1-eb5b-4f63-b62f-65482c44ba6c" ], + "x-ms-routing-request-id": [ "WESTUS:20201222T053636Z:721f26c1-eb5b-4f63-b62f-65482c44ba6c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 22 Dec 2020 05:36:36 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"e3a30412-f29d-44e2-9fe7-f4472b075024\",\"status\":\"InProgress\",\"startTime\":\"2020-12-22T05:28:34.363Z\"}" + } + }, + "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview+11": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "12" ], + "x-ms-client-request-id": [ "1917a357-42f5-45c2-80eb-2b0d7312332f" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "b1e1bec2-ec2c-46e8-8e1a-b5d87b50f65f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], + "x-ms-correlation-request-id": [ "08a684b7-d269-4427-825b-1b2d73022799" ], + "x-ms-routing-request-id": [ "WESTUS:20201222T053737Z:08a684b7-d269-4427-825b-1b2d73022799" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 22 Dec 2020 05:37:36 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"e3a30412-f29d-44e2-9fe7-f4472b075024\",\"status\":\"InProgress\",\"startTime\":\"2020-12-22T05:28:34.363Z\"}" + } + }, + "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview+12": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "13" ], + "x-ms-client-request-id": [ "1917a357-42f5-45c2-80eb-2b0d7312332f" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "776ad457-3415-4820-a9bf-78ad6d1f016d" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], + "x-ms-correlation-request-id": [ "bf636943-8cd6-4c9b-aeef-d235e6ad1db0" ], + "x-ms-routing-request-id": [ "WESTUS:20201222T053837Z:bf636943-8cd6-4c9b-aeef-d235e6ad1db0" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 22 Dec 2020 05:38:36 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "108" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"e3a30412-f29d-44e2-9fe7-f4472b075024\",\"status\":\"InProgress\",\"startTime\":\"2020-12-22T05:28:34.363Z\"}" + } + }, + "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview+13": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "14" ], + "x-ms-client-request-id": [ "1917a357-42f5-45c2-80eb-2b0d7312332f" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "62f21885-4d48-4a40-92c0-b8bc5e7e19a2" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], + "x-ms-correlation-request-id": [ "fe2e0665-f7ab-46b7-abbd-cd20ddb786a5" ], + "x-ms-routing-request-id": [ "WESTUS:20201222T053937Z:fe2e0665-f7ab-46b7-abbd-cd20ddb786a5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 00:54:17 GMT" ] + "Date": [ "Tue, 22 Dec 2020 05:39:36 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1108" ], + "Content-Length": [ "107" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-replica.mysql.database.azure.com\",\"sourceServerId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T00:26:58.607359+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"Replica\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-replica\",\"name\":\"mysql-test-100-replica\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"name\":\"e3a30412-f29d-44e2-9fe7-f4472b075024\",\"status\":\"Succeeded\",\"startTime\":\"2020-12-22T05:28:34.363Z\"}" } }, - "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview+5": { + "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-replica?api-version=2020-07-01-preview+14": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-replica?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "15" ], + "x-ms-client-request-id": [ "1917a357-42f5-45c2-80eb-2b0d7312332f" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "40ce3823-08d4-4192-81ea-c2a3ff2bd97f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], + "x-ms-correlation-request-id": [ "89483f89-c0ca-426a-9ff5-f11e054cd192" ], + "x-ms-routing-request-id": [ "WESTUS:20201222T053937Z:89483f89-c0ca-426a-9ff5-f11e054cd192" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 22 Dec 2020 05:39:36 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1113" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"gleefulOrange3\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-replica.mysql.database.azure.com\",\"sourceServerId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-22T05:39:37.6590114+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"Replica\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-replica\",\"name\":\"mysql-test-100-replica\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + } + }, + "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/replicas?api-version=2020-07-01-preview+15": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/replicas?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "16" ], + "x-ms-client-request-id": [ "5e204afc-3b94-4676-a9f9-653ca03b2a5b" ], + "CommandName": [ "Get-AzMySqlFlexibleServerReplica" ], + "FullCommandName": [ "Get-AzMySqlFlexibleServerReplica_List" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "61a212d5-d5c9-4598-98ef-6e7d863a0487" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], + "x-ms-correlation-request-id": [ "2e787391-8461-4090-b968-062969d06e5f" ], + "x-ms-routing-request-id": [ "WESTUS:20201222T053937Z:2e787391-8461-4090-b968-062969d06e5f" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 22 Dec 2020 05:39:36 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1033" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"value\":[{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"gleefulOrange3\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-replica.mysql.database.azure.com\",\"sourceServerId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-22T05:39:37.9089826+00:00\",\"replicationRole\":\"Replica\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-replica\",\"name\":\"mysql-test-100-replica\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}]}" + } + }, + "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview+16": { "Request": { "Method": "DELETE", "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview", "Content": null, "Headers": { - "x-ms-unique-id": [ "8" ], - "x-ms-client-request-id": [ "2afd213d-e2c1-4597-b1f6-2639dfc09f68" ], + "x-ms-unique-id": [ "17" ], + "x-ms-client-request-id": [ "99a82f3e-baa3-428f-99a1-6a951383bd10" ], "CommandName": [ "Remove-AzMySqlFlexibleServer" ], "FullCommandName": [ "Remove-AzMySqlFlexibleServer_DeleteViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -176,35 +615,35 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/66b548b4-7dff-473e-81d1-6a5690bafeb0?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/6424c370-9d48-422e-b56c-b0dabb6ede0c?api-version=2020-07-01-preview" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/66b548b4-7dff-473e-81d1-6a5690bafeb0?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/6424c370-9d48-422e-b56c-b0dabb6ede0c?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "66b548b4-7dff-473e-81d1-6a5690bafeb0" ], + "x-ms-request-id": [ "6424c370-9d48-422e-b56c-b0dabb6ede0c" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], - "x-ms-correlation-request-id": [ "1c4ebff9-8442-4559-b8de-5e5ffa905f54" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T005418Z:1c4ebff9-8442-4559-b8de-5e5ffa905f54" ], + "x-ms-correlation-request-id": [ "37cf8992-0a45-44d1-9e81-dfc8ed7f504e" ], + "x-ms-routing-request-id": [ "WESTUS:20201222T053938Z:37cf8992-0a45-44d1-9e81-dfc8ed7f504e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 00:54:17 GMT" ] + "Date": [ "Tue, 22 Dec 2020 05:39:37 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "84" ], + "Content-Length": [ "83" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"operation\":\"DropServerManagementOperation\",\"startTime\":\"2020-11-11T00:54:18.447Z\"}" + "Content": "{\"operation\":\"DropServerManagementOperation\",\"startTime\":\"2020-12-22T05:39:38.16Z\"}" } }, - "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/66b548b4-7dff-473e-81d1-6a5690bafeb0?api-version=2020-07-01-preview+6": { + "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/6424c370-9d48-422e-b56c-b0dabb6ede0c?api-version=2020-07-01-preview+17": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/66b548b4-7dff-473e-81d1-6a5690bafeb0?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/6424c370-9d48-422e-b56c-b0dabb6ede0c?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "9" ], - "x-ms-client-request-id": [ "2afd213d-e2c1-4597-b1f6-2639dfc09f68" ], + "x-ms-unique-id": [ "18" ], + "x-ms-client-request-id": [ "99a82f3e-baa3-428f-99a1-6a951383bd10" ], "CommandName": [ "Remove-AzMySqlFlexibleServer" ], "FullCommandName": [ "Remove-AzMySqlFlexibleServer_DeleteViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -220,31 +659,31 @@ "Pragma": [ "no-cache" ], "Retry-After": [ "15" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "2a039c28-e8b9-48ab-9193-208355dfb642" ], + "x-ms-request-id": [ "2726c9d2-b69b-4374-acc6-c146193c2c58" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], - "x-ms-correlation-request-id": [ "8c18c365-82a8-47b7-b26e-2be5a4578d6b" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T005433Z:8c18c365-82a8-47b7-b26e-2be5a4578d6b" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], + "x-ms-correlation-request-id": [ "3613636b-fc51-4e13-86b1-9d7473ab4db0" ], + "x-ms-routing-request-id": [ "WESTUS:20201222T053953Z:3613636b-fc51-4e13-86b1-9d7473ab4db0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 00:54:33 GMT" ] + "Date": [ "Tue, 22 Dec 2020 05:39:53 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "108" ], + "Content-Length": [ "107" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"66b548b4-7dff-473e-81d1-6a5690bafeb0\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T00:54:18.447Z\"}" + "Content": "{\"name\":\"6424c370-9d48-422e-b56c-b0dabb6ede0c\",\"status\":\"InProgress\",\"startTime\":\"2020-12-22T05:39:38.16Z\"}" } }, - "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/66b548b4-7dff-473e-81d1-6a5690bafeb0?api-version=2020-07-01-preview+7": { + "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/6424c370-9d48-422e-b56c-b0dabb6ede0c?api-version=2020-07-01-preview+18": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/66b548b4-7dff-473e-81d1-6a5690bafeb0?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/6424c370-9d48-422e-b56c-b0dabb6ede0c?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "10" ], - "x-ms-client-request-id": [ "2afd213d-e2c1-4597-b1f6-2639dfc09f68" ], + "x-ms-unique-id": [ "19" ], + "x-ms-client-request-id": [ "99a82f3e-baa3-428f-99a1-6a951383bd10" ], "CommandName": [ "Remove-AzMySqlFlexibleServer" ], "FullCommandName": [ "Remove-AzMySqlFlexibleServer_DeleteViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -260,31 +699,31 @@ "Pragma": [ "no-cache" ], "Retry-After": [ "15" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "11e45489-b3b8-43c8-95c9-5f24d8f73960" ], + "x-ms-request-id": [ "ceb022a4-e7dd-4d9b-919d-998bac6ee586" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], - "x-ms-correlation-request-id": [ "9f646797-1cc7-4815-8f00-686b8fdd533c" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T005448Z:9f646797-1cc7-4815-8f00-686b8fdd533c" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], + "x-ms-correlation-request-id": [ "c677bb10-b882-4a3b-88a2-3858a6dd1e9b" ], + "x-ms-routing-request-id": [ "WESTUS:20201222T054008Z:c677bb10-b882-4a3b-88a2-3858a6dd1e9b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 00:54:48 GMT" ] + "Date": [ "Tue, 22 Dec 2020 05:40:08 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "108" ], + "Content-Length": [ "107" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"66b548b4-7dff-473e-81d1-6a5690bafeb0\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T00:54:18.447Z\"}" + "Content": "{\"name\":\"6424c370-9d48-422e-b56c-b0dabb6ede0c\",\"status\":\"InProgress\",\"startTime\":\"2020-12-22T05:39:38.16Z\"}" } }, - "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/66b548b4-7dff-473e-81d1-6a5690bafeb0?api-version=2020-07-01-preview+8": { + "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/6424c370-9d48-422e-b56c-b0dabb6ede0c?api-version=2020-07-01-preview+19": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/66b548b4-7dff-473e-81d1-6a5690bafeb0?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/6424c370-9d48-422e-b56c-b0dabb6ede0c?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "11" ], - "x-ms-client-request-id": [ "2afd213d-e2c1-4597-b1f6-2639dfc09f68" ], + "x-ms-unique-id": [ "20" ], + "x-ms-client-request-id": [ "99a82f3e-baa3-428f-99a1-6a951383bd10" ], "CommandName": [ "Remove-AzMySqlFlexibleServer" ], "FullCommandName": [ "Remove-AzMySqlFlexibleServer_DeleteViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -300,31 +739,31 @@ "Pragma": [ "no-cache" ], "Retry-After": [ "15" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "3ade07c1-4552-4dcd-b7b7-95a4a201f991" ], + "x-ms-request-id": [ "13f53e26-84cf-4750-af8e-e0ef9fae2c81" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], - "x-ms-correlation-request-id": [ "424a019b-3a0e-4288-a4e8-858a31361b34" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T005503Z:424a019b-3a0e-4288-a4e8-858a31361b34" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], + "x-ms-correlation-request-id": [ "dfc69939-886d-43c8-9152-bd2c6a683ea3" ], + "x-ms-routing-request-id": [ "WESTUS:20201222T054023Z:dfc69939-886d-43c8-9152-bd2c6a683ea3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 00:55:03 GMT" ] + "Date": [ "Tue, 22 Dec 2020 05:40:23 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "107" ], + "Content-Length": [ "106" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"66b548b4-7dff-473e-81d1-6a5690bafeb0\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T00:54:18.447Z\"}" + "Content": "{\"name\":\"6424c370-9d48-422e-b56c-b0dabb6ede0c\",\"status\":\"Succeeded\",\"startTime\":\"2020-12-22T05:39:38.16Z\"}" } }, - "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/operationResults/66b548b4-7dff-473e-81d1-6a5690bafeb0?api-version=2020-07-01-preview+9": { + "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/operationResults/6424c370-9d48-422e-b56c-b0dabb6ede0c?api-version=2020-07-01-preview+20": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/66b548b4-7dff-473e-81d1-6a5690bafeb0?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/6424c370-9d48-422e-b56c-b0dabb6ede0c?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "12" ], - "x-ms-client-request-id": [ "2afd213d-e2c1-4597-b1f6-2639dfc09f68" ], + "x-ms-unique-id": [ "21" ], + "x-ms-client-request-id": [ "99a82f3e-baa3-428f-99a1-6a951383bd10" ], "CommandName": [ "Remove-AzMySqlFlexibleServer" ], "FullCommandName": [ "Remove-AzMySqlFlexibleServer_DeleteViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -339,13 +778,13 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "23658dee-14c1-4886-9342-cc532e6002d7" ], + "x-ms-request-id": [ "6a60538a-7f21-4a39-a25d-18108509bc5e" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], - "x-ms-correlation-request-id": [ "af91b4fc-4218-4b1f-abc5-92ec879f573c" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T005503Z:af91b4fc-4218-4b1f-abc5-92ec879f573c" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11980" ], + "x-ms-correlation-request-id": [ "c0171d27-7784-4c1e-9ac6-7721d9c2a73b" ], + "x-ms-routing-request-id": [ "WESTUS:20201222T054023Z:c0171d27-7784-4c1e-9ac6-7721d9c2a73b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 00:55:03 GMT" ] + "Date": [ "Tue, 22 Dec 2020 05:40:23 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], diff --git a/src/MySql/test/Get-AzMySqlFlexibleServerReplica.Tests.ps1 b/src/MySql/test/Get-AzMySqlFlexibleServerReplica.Tests.ps1 index 5d82c8807a90..8e9e15bc5f6c 100644 --- a/src/MySql/test/Get-AzMySqlFlexibleServerReplica.Tests.ps1 +++ b/src/MySql/test/Get-AzMySqlFlexibleServerReplica.Tests.ps1 @@ -14,7 +14,8 @@ while(-not $mockingPath) { Describe 'Get-AzMySqlFlexibleServerReplica' { It 'List' { { - $replica = Get-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -ServerName $env.serverName | New-AzMySqlFlexibleServerReplica -Replica $env.replicaName -ResourceGroupName $env.resourceGroup + Get-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName | New-AzMySqlFlexibleServerReplica -Replica $env.replicaName -ResourceGroupName $env.resourceGroup + $replica = Get-AzMySqlFlexibleServerReplica -ResourceGroupName $env.resourceGroup -ServerName $env.serverName $replica.Count | Should -Be 1 $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySql/flexibleServers/$($env.serverName)" Remove-AzMySqlFlexibleServer -InputObject $ID diff --git a/src/MySql/test/New-AzMySqlFlexibleServerReplica.Recording.json b/src/MySql/test/New-AzMySqlFlexibleServerReplica.Recording.json index 8b1bf6f5d481..e9bccdf2a8c3 100644 --- a/src/MySql/test/New-AzMySqlFlexibleServerReplica.Recording.json +++ b/src/MySql/test/New-AzMySqlFlexibleServerReplica.Recording.json @@ -5,8 +5,8 @@ "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview", "Content": null, "Headers": { - "x-ms-unique-id": [ "12" ], - "x-ms-client-request-id": [ "36ab3f70-c474-407d-b802-8aad9fc3aec6" ], + "x-ms-unique-id": [ "2" ], + "x-ms-client-request-id": [ "e7228959-5105-47af-b034-b94a8281552b" ], "CommandName": [ "Get-AzMySqlFlexibleServer" ], "FullCommandName": [ "Get-AzMySqlFlexibleServer_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -22,20 +22,20 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "75ffea03-284a-487b-b116-657082f9213c" ], + "x-ms-request-id": [ "85a49607-53a9-4a12-a2b5-0605752b76d9" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], - "x-ms-correlation-request-id": [ "5437ccf4-bc1d-4c81-9502-a6e8d59bbd8f" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T011350Z:5437ccf4-bc1d-4c81-9502-a6e8d59bbd8f" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-correlation-request-id": [ "1973bbae-1752-42b3-93f2-c7d422aab6f2" ], + "x-ms-routing-request-id": [ "WESTUS:20201222T051215Z:1973bbae-1752-42b3-93f2-c7d422aab6f2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 01:13:50 GMT" ] + "Date": [ "Tue, 22 Dec 2020 05:12:14 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "945" ], + "Content-Length": [ "949" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:13:50.3951018+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"gleefulOrange3\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-22T05:12:15.3040713+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } }, "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-replica?api-version=2020-07-01-preview+2": { @@ -55,35 +55,435 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/e8e6b03f-735e-4473-bf67-32954f78dc50?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "d8133f0f-f476-4fcb-9178-ec041aba8bf0" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-correlation-request-id": [ "a917285b-8f98-4974-b8e5-1c0fc4501307" ], + "x-ms-routing-request-id": [ "WESTUS:20201222T051216Z:a917285b-8f98-4974-b8e5-1c0fc4501307" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 22 Dec 2020 05:12:15 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "90" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"CreateReadReplicaManagementOperation\",\"startTime\":\"2020-12-22T05:12:16.46Z\"}" + } + }, + "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "69c154e7-d1bd-44e8-a109-f7ee0049e4ae" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "e511b6f1-41bb-495c-ba8c-446f5da67be7" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-correlation-request-id": [ "9b1cf4a8-48c2-4057-8940-4be37dd430f7" ], + "x-ms-routing-request-id": [ "WESTUS:20201222T051316Z:9b1cf4a8-48c2-4057-8940-4be37dd430f7" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 22 Dec 2020 05:13:16 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d8133f0f-f476-4fcb-9178-ec041aba8bf0\",\"status\":\"InProgress\",\"startTime\":\"2020-12-22T05:12:16.46Z\"}" + } + }, + "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "5" ], + "x-ms-client-request-id": [ "69c154e7-d1bd-44e8-a109-f7ee0049e4ae" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "d51bbd03-4003-4238-9e2c-7739672f27f6" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-correlation-request-id": [ "28cc909c-98e5-41bf-bf31-4f928ee40087" ], + "x-ms-routing-request-id": [ "WESTUS:20201222T051417Z:28cc909c-98e5-41bf-bf31-4f928ee40087" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 22 Dec 2020 05:14:16 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d8133f0f-f476-4fcb-9178-ec041aba8bf0\",\"status\":\"InProgress\",\"startTime\":\"2020-12-22T05:12:16.46Z\"}" + } + }, + "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "6" ], + "x-ms-client-request-id": [ "69c154e7-d1bd-44e8-a109-f7ee0049e4ae" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e8e6b03f-735e-4473-bf67-32954f78dc50?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "e8e6b03f-735e-4473-bf67-32954f78dc50" ], + "x-ms-request-id": [ "df06c842-9c44-4c27-832b-7d321fa6cda7" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], - "x-ms-correlation-request-id": [ "aecea9be-feb7-4332-96ea-2bf882fa8a7e" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T011351Z:aecea9be-feb7-4332-96ea-2bf882fa8a7e" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-correlation-request-id": [ "7aa52ee1-b9d8-481b-a168-4505636504fb" ], + "x-ms-routing-request-id": [ "WESTUS:20201222T051517Z:7aa52ee1-b9d8-481b-a168-4505636504fb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 01:13:50 GMT" ] + "Date": [ "Tue, 22 Dec 2020 05:15:17 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "91" ], + "Content-Length": [ "107" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"operation\":\"CreateReadReplicaManagementOperation\",\"startTime\":\"2020-11-11T01:13:50.677Z\"}" + "Content": "{\"name\":\"d8133f0f-f476-4fcb-9178-ec041aba8bf0\",\"status\":\"InProgress\",\"startTime\":\"2020-12-22T05:12:16.46Z\"}" } }, - "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e8e6b03f-735e-4473-bf67-32954f78dc50?api-version=2020-07-01-preview+3": { + "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e8e6b03f-735e-4473-bf67-32954f78dc50?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "7" ], + "x-ms-client-request-id": [ "69c154e7-d1bd-44e8-a109-f7ee0049e4ae" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "5fdd7e55-e9b7-48f3-8c6a-34412c59155e" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "3fc4902f-f5c2-4d19-ada0-937d5bbde6b4" ], + "x-ms-routing-request-id": [ "WESTUS:20201222T051617Z:3fc4902f-f5c2-4d19-ada0-937d5bbde6b4" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 22 Dec 2020 05:16:17 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d8133f0f-f476-4fcb-9178-ec041aba8bf0\",\"status\":\"InProgress\",\"startTime\":\"2020-12-22T05:12:16.46Z\"}" + } + }, + "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "8" ], + "x-ms-client-request-id": [ "69c154e7-d1bd-44e8-a109-f7ee0049e4ae" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "dcdabf21-25ef-4551-a3f7-0e750f48079c" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-correlation-request-id": [ "e3a7624e-6f62-4778-9bbe-63a5e5ccdf99" ], + "x-ms-routing-request-id": [ "WESTUS:20201222T051717Z:e3a7624e-6f62-4778-9bbe-63a5e5ccdf99" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 22 Dec 2020 05:17:16 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d8133f0f-f476-4fcb-9178-ec041aba8bf0\",\"status\":\"InProgress\",\"startTime\":\"2020-12-22T05:12:16.46Z\"}" + } + }, + "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "9" ], + "x-ms-client-request-id": [ "69c154e7-d1bd-44e8-a109-f7ee0049e4ae" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "e9804428-e4d2-4ded-a24d-de717659dae1" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "x-ms-correlation-request-id": [ "625d60d1-9cc9-4862-be35-69698b20d4de" ], + "x-ms-routing-request-id": [ "WESTUS:20201222T051817Z:625d60d1-9cc9-4862-be35-69698b20d4de" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 22 Dec 2020 05:18:17 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d8133f0f-f476-4fcb-9178-ec041aba8bf0\",\"status\":\"InProgress\",\"startTime\":\"2020-12-22T05:12:16.46Z\"}" + } + }, + "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview+9": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "10" ], + "x-ms-client-request-id": [ "69c154e7-d1bd-44e8-a109-f7ee0049e4ae" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "bd94913c-9d64-49c2-bfa3-0bcc81f6cc96" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-correlation-request-id": [ "77840ce9-28bf-4bbf-987d-95b4012ffb63" ], + "x-ms-routing-request-id": [ "WESTUS:20201222T051918Z:77840ce9-28bf-4bbf-987d-95b4012ffb63" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 22 Dec 2020 05:19:17 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d8133f0f-f476-4fcb-9178-ec041aba8bf0\",\"status\":\"InProgress\",\"startTime\":\"2020-12-22T05:12:16.46Z\"}" + } + }, + "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview+10": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "11" ], + "x-ms-client-request-id": [ "69c154e7-d1bd-44e8-a109-f7ee0049e4ae" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "54f1625b-ee2e-4cf3-82e2-c7c8033f841f" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-correlation-request-id": [ "86cdf407-e4f9-42ff-ab58-c2f5bb10e49d" ], + "x-ms-routing-request-id": [ "WESTUS:20201222T052018Z:86cdf407-e4f9-42ff-ab58-c2f5bb10e49d" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 22 Dec 2020 05:20:18 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d8133f0f-f476-4fcb-9178-ec041aba8bf0\",\"status\":\"InProgress\",\"startTime\":\"2020-12-22T05:12:16.46Z\"}" + } + }, + "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview+11": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "12" ], + "x-ms-client-request-id": [ "69c154e7-d1bd-44e8-a109-f7ee0049e4ae" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "b89204c6-a86f-45cb-811f-24decf7d9927" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-correlation-request-id": [ "6c5e14b6-fca9-49bf-b42d-56fdec7f65ea" ], + "x-ms-routing-request-id": [ "WESTUS:20201222T052118Z:6c5e14b6-fca9-49bf-b42d-56fdec7f65ea" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 22 Dec 2020 05:21:18 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d8133f0f-f476-4fcb-9178-ec041aba8bf0\",\"status\":\"InProgress\",\"startTime\":\"2020-12-22T05:12:16.46Z\"}" + } + }, + "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview+12": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "13" ], + "x-ms-client-request-id": [ "69c154e7-d1bd-44e8-a109-f7ee0049e4ae" ], + "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], + "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "df704957-75cd-4f60-aca8-d666dc3f0767" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], + "x-ms-correlation-request-id": [ "dba39353-0aa2-4d0a-b77d-8eafce18816a" ], + "x-ms-routing-request-id": [ "WESTUS:20201222T052218Z:dba39353-0aa2-4d0a-b77d-8eafce18816a" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Tue, 22 Dec 2020 05:22:17 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"d8133f0f-f476-4fcb-9178-ec041aba8bf0\",\"status\":\"InProgress\",\"startTime\":\"2020-12-22T05:12:16.46Z\"}" + } + }, + "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview+13": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "14" ], - "x-ms-client-request-id": [ "12aaf039-50e8-40c8-8223-8e799c4c420f" ], + "x-ms-client-request-id": [ "69c154e7-d1bd-44e8-a109-f7ee0049e4ae" ], "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -99,23 +499,23 @@ "Pragma": [ "no-cache" ], "Retry-After": [ "60" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "6ee3d4bf-6f4b-45ed-a992-6ba8f46d305b" ], + "x-ms-request-id": [ "22f41914-919c-44d6-a6fc-92b310769a49" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], - "x-ms-correlation-request-id": [ "878a9b7a-e5eb-43a1-9b4e-f78c9c3c37c9" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T011451Z:878a9b7a-e5eb-43a1-9b4e-f78c9c3c37c9" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], + "x-ms-correlation-request-id": [ "b785e752-40b8-44ca-86db-f010e82ba209" ], + "x-ms-routing-request-id": [ "WESTUS:20201222T052318Z:b785e752-40b8-44ca-86db-f010e82ba209" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 01:14:50 GMT" ] + "Date": [ "Tue, 22 Dec 2020 05:23:18 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "198" ], + "Content-Length": [ "106" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"e8e6b03f-735e-4473-bf67-32954f78dc50\",\"status\":\"Failed\",\"startTime\":\"2020-11-11T01:13:50.677Z\",\"error\":{\"code\":\"ServerNameAlreadyExists\",\"message\":\"Specified server name is already used.\"}}" + "Content": "{\"name\":\"d8133f0f-f476-4fcb-9178-ec041aba8bf0\",\"status\":\"Succeeded\",\"startTime\":\"2020-12-22T05:12:16.46Z\"}" } }, - "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-replica?api-version=2020-07-01-preview+4": { + "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-replica?api-version=2020-07-01-preview+14": { "Request": { "Method": "GET", "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-replica?api-version=2020-07-01-preview", @@ -123,7 +523,7 @@ "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "15" ], - "x-ms-client-request-id": [ "12aaf039-50e8-40c8-8223-8e799c4c420f" ], + "x-ms-client-request-id": [ "69c154e7-d1bd-44e8-a109-f7ee0049e4ae" ], "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -138,30 +538,30 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "18943ca6-33a2-48c1-965c-7b06a4d3b578" ], + "x-ms-request-id": [ "88785788-fd34-4c78-a84d-0967b2795fb6" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], - "x-ms-correlation-request-id": [ "507fca03-fc0f-4492-a858-5c93fd22604f" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T011451Z:507fca03-fc0f-4492-a858-5c93fd22604f" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], + "x-ms-correlation-request-id": [ "7c94e1bd-e907-410a-853d-09728a803c26" ], + "x-ms-routing-request-id": [ "WESTUS:20201222T052319Z:7c94e1bd-e907-410a-853d-09728a803c26" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 01:14:50 GMT" ] + "Date": [ "Tue, 22 Dec 2020 05:23:18 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "968" ], + "Content-Length": [ "1113" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-replica.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T00:26:58.607359+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-replica\",\"name\":\"mysql-test-100-replica\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"gleefulOrange3\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-replica.mysql.database.azure.com\",\"sourceServerId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-22T05:23:19.0409909+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"Replica\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-replica\",\"name\":\"mysql-test-100-replica\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } }, - "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-replica?api-version=2020-07-01-preview+5": { + "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-replica?api-version=2020-07-01-preview+15": { "Request": { "Method": "DELETE", "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-replica?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "16" ], - "x-ms-client-request-id": [ "bbd53427-9e7d-4457-9b33-f10e85fb18dd" ], + "x-ms-client-request-id": [ "fecdb5c2-ddcf-47ac-9bbc-c8c12328bebe" ], "CommandName": [ "Remove-AzMySqlFlexibleServer" ], "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -176,35 +576,35 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/8a6e2a2f-3569-4fef-8472-899b3ff4d5a9?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/26cd029f-c639-43ba-aca3-fca5e88b2f42?api-version=2020-07-01-preview" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/8a6e2a2f-3569-4fef-8472-899b3ff4d5a9?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/26cd029f-c639-43ba-aca3-fca5e88b2f42?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "8a6e2a2f-3569-4fef-8472-899b3ff4d5a9" ], + "x-ms-request-id": [ "26cd029f-c639-43ba-aca3-fca5e88b2f42" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], - "x-ms-correlation-request-id": [ "fb7a944e-9255-425a-919c-c1c39e2b095e" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T011451Z:fb7a944e-9255-425a-919c-c1c39e2b095e" ], + "x-ms-correlation-request-id": [ "85244bdb-f1ec-4a93-b0a0-efb6c4a794a9" ], + "x-ms-routing-request-id": [ "WESTUS:20201222T052319Z:85244bdb-f1ec-4a93-b0a0-efb6c4a794a9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 01:14:50 GMT" ] + "Date": [ "Tue, 22 Dec 2020 05:23:19 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "84" ], + "Content-Length": [ "83" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"operation\":\"DropServerManagementOperation\",\"startTime\":\"2020-11-11T01:14:51.447Z\"}" + "Content": "{\"operation\":\"DropServerManagementOperation\",\"startTime\":\"2020-12-22T05:23:19.68Z\"}" } }, - "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/8a6e2a2f-3569-4fef-8472-899b3ff4d5a9?api-version=2020-07-01-preview+6": { + "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/26cd029f-c639-43ba-aca3-fca5e88b2f42?api-version=2020-07-01-preview+16": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/8a6e2a2f-3569-4fef-8472-899b3ff4d5a9?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/26cd029f-c639-43ba-aca3-fca5e88b2f42?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "17" ], - "x-ms-client-request-id": [ "bbd53427-9e7d-4457-9b33-f10e85fb18dd" ], + "x-ms-client-request-id": [ "fecdb5c2-ddcf-47ac-9bbc-c8c12328bebe" ], "CommandName": [ "Remove-AzMySqlFlexibleServer" ], "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -220,31 +620,31 @@ "Pragma": [ "no-cache" ], "Retry-After": [ "15" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "2d038503-16d5-4bd4-8ea3-08aff309ea5f" ], + "x-ms-request-id": [ "f8ebfbb5-94b5-4c58-8922-9a9709eff70a" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], - "x-ms-correlation-request-id": [ "e3ef0ddc-dcb1-4fc5-848e-e22c39970b71" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T011506Z:e3ef0ddc-dcb1-4fc5-848e-e22c39970b71" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], + "x-ms-correlation-request-id": [ "cc66571b-f55b-439d-950e-8707b3776e09" ], + "x-ms-routing-request-id": [ "WESTUS:20201222T052334Z:cc66571b-f55b-439d-950e-8707b3776e09" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 01:15:06 GMT" ] + "Date": [ "Tue, 22 Dec 2020 05:23:34 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "108" ], + "Content-Length": [ "107" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"8a6e2a2f-3569-4fef-8472-899b3ff4d5a9\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T01:14:51.447Z\"}" + "Content": "{\"name\":\"26cd029f-c639-43ba-aca3-fca5e88b2f42\",\"status\":\"InProgress\",\"startTime\":\"2020-12-22T05:23:19.68Z\"}" } }, - "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/8a6e2a2f-3569-4fef-8472-899b3ff4d5a9?api-version=2020-07-01-preview+7": { + "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/26cd029f-c639-43ba-aca3-fca5e88b2f42?api-version=2020-07-01-preview+17": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/8a6e2a2f-3569-4fef-8472-899b3ff4d5a9?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/26cd029f-c639-43ba-aca3-fca5e88b2f42?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "18" ], - "x-ms-client-request-id": [ "bbd53427-9e7d-4457-9b33-f10e85fb18dd" ], + "x-ms-client-request-id": [ "fecdb5c2-ddcf-47ac-9bbc-c8c12328bebe" ], "CommandName": [ "Remove-AzMySqlFlexibleServer" ], "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -260,31 +660,31 @@ "Pragma": [ "no-cache" ], "Retry-After": [ "15" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "f7cd230d-6f06-4745-bf33-01b734b57186" ], + "x-ms-request-id": [ "74ff321a-ccb9-4045-9ad1-5d66d996b1c3" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], - "x-ms-correlation-request-id": [ "96206d6d-b738-4559-bc5a-4064b8707dc1" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T011521Z:96206d6d-b738-4559-bc5a-4064b8707dc1" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], + "x-ms-correlation-request-id": [ "bb294b76-8c79-4adb-89df-a8f50cfb42da" ], + "x-ms-routing-request-id": [ "WESTUS:20201222T052349Z:bb294b76-8c79-4adb-89df-a8f50cfb42da" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 01:15:21 GMT" ] + "Date": [ "Tue, 22 Dec 2020 05:23:49 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "108" ], + "Content-Length": [ "107" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"8a6e2a2f-3569-4fef-8472-899b3ff4d5a9\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T01:14:51.447Z\"}" + "Content": "{\"name\":\"26cd029f-c639-43ba-aca3-fca5e88b2f42\",\"status\":\"InProgress\",\"startTime\":\"2020-12-22T05:23:19.68Z\"}" } }, - "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/8a6e2a2f-3569-4fef-8472-899b3ff4d5a9?api-version=2020-07-01-preview+8": { + "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/26cd029f-c639-43ba-aca3-fca5e88b2f42?api-version=2020-07-01-preview+18": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/8a6e2a2f-3569-4fef-8472-899b3ff4d5a9?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/26cd029f-c639-43ba-aca3-fca5e88b2f42?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "19" ], - "x-ms-client-request-id": [ "bbd53427-9e7d-4457-9b33-f10e85fb18dd" ], + "x-ms-client-request-id": [ "fecdb5c2-ddcf-47ac-9bbc-c8c12328bebe" ], "CommandName": [ "Remove-AzMySqlFlexibleServer" ], "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -300,31 +700,31 @@ "Pragma": [ "no-cache" ], "Retry-After": [ "15" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "10178b19-4883-497a-a9b2-4f7030cfc86d" ], + "x-ms-request-id": [ "797da3f3-2cc2-48d5-b256-e06a0b141f57" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], - "x-ms-correlation-request-id": [ "88ff53b1-55ad-4db8-8f5f-106aefe251d7" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T011536Z:88ff53b1-55ad-4db8-8f5f-106aefe251d7" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], + "x-ms-correlation-request-id": [ "4bf92359-710f-4f7c-a1b3-f94b83686965" ], + "x-ms-routing-request-id": [ "WESTUS:20201222T052405Z:4bf92359-710f-4f7c-a1b3-f94b83686965" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 01:15:36 GMT" ] + "Date": [ "Tue, 22 Dec 2020 05:24:04 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "107" ], + "Content-Length": [ "106" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"8a6e2a2f-3569-4fef-8472-899b3ff4d5a9\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T01:14:51.447Z\"}" + "Content": "{\"name\":\"26cd029f-c639-43ba-aca3-fca5e88b2f42\",\"status\":\"Succeeded\",\"startTime\":\"2020-12-22T05:23:19.68Z\"}" } }, - "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/operationResults/8a6e2a2f-3569-4fef-8472-899b3ff4d5a9?api-version=2020-07-01-preview+9": { + "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/operationResults/26cd029f-c639-43ba-aca3-fca5e88b2f42?api-version=2020-07-01-preview+19": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/8a6e2a2f-3569-4fef-8472-899b3ff4d5a9?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/26cd029f-c639-43ba-aca3-fca5e88b2f42?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "20" ], - "x-ms-client-request-id": [ "bbd53427-9e7d-4457-9b33-f10e85fb18dd" ], + "x-ms-client-request-id": [ "fecdb5c2-ddcf-47ac-9bbc-c8c12328bebe" ], "CommandName": [ "Remove-AzMySqlFlexibleServer" ], "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -339,13 +739,13 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "4e8b9f60-e5ce-46d1-875e-b41aa821176b" ], + "x-ms-request-id": [ "11ed581a-86fd-42dd-bb86-6a848a53a0e8" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], - "x-ms-correlation-request-id": [ "d40c37f3-60ab-4229-89e1-b7ba11886d49" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T011536Z:d40c37f3-60ab-4229-89e1-b7ba11886d49" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], + "x-ms-correlation-request-id": [ "e4b8f8f9-1075-460f-a25c-2955264f1fb3" ], + "x-ms-routing-request-id": [ "WESTUS:20201222T052405Z:e4b8f8f9-1075-460f-a25c-2955264f1fb3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 01:15:36 GMT" ] + "Date": [ "Tue, 22 Dec 2020 05:24:04 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], diff --git a/src/MySql/test/Restore-AzMySqlServer.Recording.json b/src/MySql/test/Restore-AzMySqlServer.Recording.json index f8d1ed29dee1..b389a3b689e5 100644 --- a/src/MySql/test/Restore-AzMySqlServer.Recording.json +++ b/src/MySql/test/Restore-AzMySqlServer.Recording.json @@ -908,7 +908,8 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"169f1d2f-3665-498c-b4a8-5bdef0b59066\",\"status\":\"Failed\",\"startTime\":\"2020-07-24T08:26:33.757Z\",\"error\":{\"code\":\"SubscriptionDoesNotHaveServer\",\"message\":\"Subscription \u00277fec3109-5b78-4a24-b834-5d47d63e2596\u0027 does not have the server \u0027mysql-test-100-replica\u0027.\"}}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" + } }, "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+24": { diff --git a/src/MySql/test/utils.ps1 b/src/MySql/test/utils.ps1 index 429202ecd567..f43720aeaeb7 100644 --- a/src/MySql/test/utils.ps1 +++ b/src/MySql/test/utils.ps1 @@ -32,9 +32,6 @@ function setupEnv() { $env.Add("location", $location) New-AzResourceGroup -Name $resourceGroup -Location $location - write-host "Deploy Vnet template" - New-AzDeployment -Mode Incremental -TemplateFile .\test\deployment-templates\virtual-network\template.json -TemplateParameterFile .\test\deployment-templates\virtual-network\parameters.json -Name vn -ResourceGroupName $resourceGroup - #[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] $password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force $serverName = "mysql-test-100" From 3d85e3d348e562c5495b7db1f510d3459c4cb2d6 Mon Sep 17 00:00:00 2001 From: msJinLei Date: Tue, 22 Dec 2020 15:28:04 +0800 Subject: [PATCH 41/51] Remove skip in test cases --- src/MySql/test/Az.MySql-TestResults.xml | 374 +++++++++--------- ...Get-AzMySqlFlexibleServerReplica.Tests.ps1 | 2 +- ...New-AzMySqlFlexibleServerReplica.Tests.ps1 | 2 +- .../Remove-AzMySqlFlexibleServer.Tests.ps1 | 2 +- .../test/Restore-AzMySqlServer.Tests.ps1 | 2 +- 5 files changed, 191 insertions(+), 191 deletions(-) diff --git a/src/MySql/test/Az.MySql-TestResults.xml b/src/MySql/test/Az.MySql-TestResults.xml index b078c7070c36..a754dbe4057b 100644 --- a/src/MySql/test/Az.MySql-TestResults.xml +++ b/src/MySql/test/Az.MySql-TestResults.xml @@ -1,435 +1,435 @@  - - + + - + - + - + - - - + + + - + - + - - + + - + - + - - - + + + - + - + - - - - + + + + - + - + - - - + + + - + - + - + - + - + - - - + + + - + - + - - - + + + - + - + - + - + - + - + - + - + - + - + - + - - - - + + + + - + - + - - - + + + - + - + - - - + + + - + - + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - + - + - + - + - + - - - + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - - + + - + - + - - + + - + - + - - + + - + - + - - + + - + - + - - + + - + - + - - + + - + - + - - + + - + - + - + - + - + - - + + - + - + - - + + - + - + - - + + - + - + - - + + - + - + - - + + - + - + - - + + - + - + - - + + - + - + - - + + - + - + - - - - + + + + - + - + - - + + - + - + - - + + diff --git a/src/MySql/test/Get-AzMySqlFlexibleServerReplica.Tests.ps1 b/src/MySql/test/Get-AzMySqlFlexibleServerReplica.Tests.ps1 index 81cfdf7ad1eb..e176a0b2583f 100644 --- a/src/MySql/test/Get-AzMySqlFlexibleServerReplica.Tests.ps1 +++ b/src/MySql/test/Get-AzMySqlFlexibleServerReplica.Tests.ps1 @@ -14,7 +14,7 @@ while(-not $mockingPath) { # !Important: some test cases are skipped and require to be recorded again # See https://github.com/Azure/autorest.powershell/issues/580 Describe 'Get-AzMySqlFlexibleServerReplica' { - It 'List' -Skip { + It 'List' { { Get-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName | New-AzMySqlFlexibleServerReplica -Replica $env.replicaName -ResourceGroupName $env.resourceGroup $replica = Get-AzMySqlFlexibleServerReplica -ResourceGroupName $env.resourceGroup -ServerName $env.serverName diff --git a/src/MySql/test/New-AzMySqlFlexibleServerReplica.Tests.ps1 b/src/MySql/test/New-AzMySqlFlexibleServerReplica.Tests.ps1 index 75ebe8ab6191..d2049215d5ff 100644 --- a/src/MySql/test/New-AzMySqlFlexibleServerReplica.Tests.ps1 +++ b/src/MySql/test/New-AzMySqlFlexibleServerReplica.Tests.ps1 @@ -14,7 +14,7 @@ while(-not $mockingPath) { # !Important: some test cases are skipped and require to be recorded again # See https://github.com/Azure/autorest.powershell/issues/580 Describe 'New-AzMySqlFlexibleServerReplica' { - It 'CreateExpanded' -Skip { + It 'CreateExpanded' { { $replica = Get-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -ServerName $env.serverName | New-AzMySqlFlexibleServerReplica -Replica $env.replicaName -ResourceGroupName $env.resourceGroup # Possible bug: above line should be diff --git a/src/MySql/test/Remove-AzMySqlFlexibleServer.Tests.ps1 b/src/MySql/test/Remove-AzMySqlFlexibleServer.Tests.ps1 index a142d37864b4..26c5b6db2fa8 100644 --- a/src/MySql/test/Remove-AzMySqlFlexibleServer.Tests.ps1 +++ b/src/MySql/test/Remove-AzMySqlFlexibleServer.Tests.ps1 @@ -14,7 +14,7 @@ while(-not $mockingPath) { # !Important: some test cases are skipped and require to be recorded again # See https://github.com/Azure/autorest.powershell/issues/580 Describe 'Remove-AzMySqlFlexibleServer' { - It 'Delete' -Skip { + It 'Delete' { { If ($TestMode -eq 'live' -or $TestMode -eq 'record') { #[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] diff --git a/src/MySql/test/Restore-AzMySqlServer.Tests.ps1 b/src/MySql/test/Restore-AzMySqlServer.Tests.ps1 index e6dbbff24d4c..1807f52813e1 100644 --- a/src/MySql/test/Restore-AzMySqlServer.Tests.ps1 +++ b/src/MySql/test/Restore-AzMySqlServer.Tests.ps1 @@ -14,7 +14,7 @@ while(-not $mockingPath) { # !Important: some test cases are skipped and require to be recorded again # See https://github.com/Azure/autorest.powershell/issues/580 Describe 'Restore-AzMySqlServer' { - It 'GeoRestore' -Skip { + It 'GeoRestore' { $replica = Get-AzMySqlServer -ResourceGroupName $env.resourceGroup -ServerName $env.serverName | New-AzMySqlReplica -Replica $env.replicaName -ResourceGroupName $env.resourceGroup $restoreServer = Restore-AzMySqlServer -Name $env.serverName -ResourceGroupName $env.resourceGroup -InputObject $replica -UseGeoRestore $restoreServer.Name | Should -Be $env.serverName From 2e11308922b35a9fc0bcc1f397aaa9f724842af2 Mon Sep 17 00:00:00 2001 From: Daeun Yim Date: Tue, 29 Dec 2020 11:03:28 -0800 Subject: [PATCH 42/51] testing env config fixed --- src/MySql/test/Get-AzMySqlFlexibleServer.Tests.ps1 | 4 ++-- src/MySql/test/utils.ps1 | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/MySql/test/Get-AzMySqlFlexibleServer.Tests.ps1 b/src/MySql/test/Get-AzMySqlFlexibleServer.Tests.ps1 index 9b2dbbcb7745..f95f8bbc3410 100644 --- a/src/MySql/test/Get-AzMySqlFlexibleServer.Tests.ps1 +++ b/src/MySql/test/Get-AzMySqlFlexibleServer.Tests.ps1 @@ -21,8 +21,8 @@ Describe 'Get-AzMySqlFlexibleServer' { It 'Get' { { - $servers = Get-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName - $servers.Name | Should -Be $env.serverName + $servers = Get-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.flexibleServerName + $servers.Name | Should -Be $env.flexibleServerName } | Should -Not -Throw } diff --git a/src/MySql/test/utils.ps1 b/src/MySql/test/utils.ps1 index f43720aeaeb7..d6cfccea787c 100644 --- a/src/MySql/test/utils.ps1 +++ b/src/MySql/test/utils.ps1 @@ -36,6 +36,8 @@ function setupEnv() { $password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force $serverName = "mysql-test-100" $env.Add("serverName", $serverName) + $flexibleServerName = "flexible-mysql-test-100" + $env.Add("FlexibleServerName", $flexibleServerName) $Sku = "GP_Gen5_4" $FlexibleSku = "Standard_B1ms" $env.Add("Sku", $Sku) From 20c7cafd711343bbdb70d9119764ff97b9953460 Mon Sep 17 00:00:00 2001 From: Daeun Yim Date: Tue, 29 Dec 2020 11:05:48 -0800 Subject: [PATCH 43/51] testing env config fixed --- src/MySql/test/utils.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MySql/test/utils.ps1 b/src/MySql/test/utils.ps1 index d6cfccea787c..1acf7da1f6e9 100644 --- a/src/MySql/test/utils.ps1 +++ b/src/MySql/test/utils.ps1 @@ -52,8 +52,8 @@ function setupEnv() { write-host "New-AzMySqlServer -Name $serverName -ResourceGroupName $resourceGroup -Location $location -AdministratorUserName mysql_test -AdministratorLoginPassword $password -Sku $Sku" New-AzMySqlServer -Name $serverName -ResourceGroupName $resourceGroup -Location $location -AdministratorUserName mysql_test -AdministratorLoginPassword $password -Sku $Sku - write-host "New-AzMySqlFlexibleServer -Name $serverName -ResourceGroupName $resourceGroup -AdministratorUserName mysql_test -AdministratorLoginPassword $password" - New-AzMySqlFlexibleServer -Name $serverName -ResourceGroupName $resourceGroup -AdministratorUserName mysql_test -AdministratorLoginPassword $password + write-host "New-AzMySqlFlexibleServer -Name $flexibleServerName -ResourceGroupName $resourceGroup -AdministratorUserName mysql_test -AdministratorLoginPassword $password" + New-AzMySqlFlexibleServer -Name $flexibleServerName -ResourceGroupName $resourceGroup -AdministratorUserName mysql_test -AdministratorLoginPassword $password $envFile = 'env.json' if ($TestMode -eq 'live') { From d35fc8cdd3c69778cdc860152f35359abe176b6a Mon Sep 17 00:00:00 2001 From: Daeun Yim Date: Tue, 29 Dec 2020 16:48:47 -0800 Subject: [PATCH 44/51] test fixed with flexible arguments --- src/MySql/test/Az.MySql-TestResults.xml | 370 +- .../Get-AzMySqlFlexibleServer.Recording.json | 16 +- .../test/Get-AzMySqlFlexibleServer.Tests.ps1 | 4 +- ...FlexibleServerConfiguration.Recording.json | 18 +- ...MySqlFlexibleServerConfiguration.Tests.ps1 | 6 +- ...xibleServerConnectionString.Recording.json | 36 +- ...qlFlexibleServerConnectionString.Tests.ps1 | 24 +- ...MySqlFlexibleServerDatabase.Recording.json | 34 +- ...et-AzMySqlFlexibleServerDatabase.Tests.ps1 | 10 +- ...lFlexibleServerFirewallRule.Recording.json | 24 +- ...zMySqlFlexibleServerFirewallRule.Tests.ps1 | 10 +- ...MySqlFlexibleServerDatabase.Recording.json | 16 +- ...ew-AzMySqlFlexibleServerDatabase.Tests.ps1 | 4 +- ...lFlexibleServerFirewallRule.Recording.json | 36 +- ...zMySqlFlexibleServerFirewallRule.Tests.ps1 | 12 +- ...ew-AzMySqlFlexibleServerOld.Recording.json | 3495 ----------------- ...zMySqlFlexibleServerReplica.Recording.json | 10 +- ...New-AzMySqlFlexibleServerReplica.Tests.ps1 | 6 +- .../Remove-AzMySqlFlexibleServer.Tests.ps1 | 5 + ...MySqlFlexibleServerDatabase.Recording.json | 32 +- ...ve-AzMySqlFlexibleServerDatabase.Tests.ps1 | 10 +- ...lFlexibleServerFirewallRule.Recording.json | 24 +- ...zMySqlFlexibleServerFirewallRule.Tests.ps1 | 8 +- ...start-AzMySqlFlexibleServer.Recording.json | 12 +- .../Restart-AzMySqlFlexibleServer.Tests.ps1 | 4 +- ...store-AzMySqlFlexibleServer.Recording.json | 8 +- .../Restore-AzMySqlFlexibleServer.Tests.ps1 | 2 +- ...Start-AzMySqlFlexibleServer.Recording.json | 24 +- .../Start-AzMySqlFlexibleServer.Tests.ps1 | 8 +- .../Stop-AzMySqlFlexibleServer.Recording.json | 139 +- .../test/Stop-AzMySqlFlexibleServer.Tests.ps1 | 7 +- ...pdate-AzMySqlFlexibleServer.Recording.json | 20 +- .../Update-AzMySqlFlexibleServer.Tests.ps1 | 6 +- ...FlexibleServerConfiguration.Recording.json | 20 +- ...MySqlFlexibleServerConfiguration.Tests.ps1 | 4 +- ...MySqlFlexibleServerDatabase.Recording.json | 36 +- ...te-AzMySqlFlexibleServerDatabase.Tests.ps1 | 8 +- ...lFlexibleServerFirewallRule.Recording.json | 40 +- ...zMySqlFlexibleServerFirewallRule.Tests.ps1 | 10 +- src/MySql/test/env.json | 3 +- src/MySql/test/localEnv.json | 3 +- src/MySql/test/utils.ps1 | 13 +- 42 files changed, 604 insertions(+), 3973 deletions(-) delete mode 100644 src/MySql/test/New-AzMySqlFlexibleServerOld.Recording.json diff --git a/src/MySql/test/Az.MySql-TestResults.xml b/src/MySql/test/Az.MySql-TestResults.xml index a754dbe4057b..d9f43a025fb5 100644 --- a/src/MySql/test/Az.MySql-TestResults.xml +++ b/src/MySql/test/Az.MySql-TestResults.xml @@ -1,435 +1,435 @@  - - + + - + - + - + - - - + + + - + - + - - + + - + - + - - - + + + - + - + - - - - + + + + - + - + - - - + + + - + - + - + - + - + - - - + + + - + - + - - - + + + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - - - + + + - + - + - - - + + + - + - + - - - - - - - + + + + + + + - - - - - - - - - - + + + + + + + + + + - + - + - + - + - + - - - + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - - + + - + - + - - + + - + - + - - + + - + - + - - + + - + - + - - + + - + - + - - + + - + - + - - + + - + - + - + - + - + - - + + - + - + - - + + - + - + - - + + - + - + - - + + - + - + - - + + - + - + - - + + - + - + - - + + - + - + - - + + - + - + - - - - + + + + - + - + - - + + - + - + - - + + diff --git a/src/MySql/test/Get-AzMySqlFlexibleServer.Recording.json b/src/MySql/test/Get-AzMySqlFlexibleServer.Recording.json index d1dc52ca890e..b2bfdc21f738 100644 --- a/src/MySql/test/Get-AzMySqlFlexibleServer.Recording.json +++ b/src/MySql/test/Get-AzMySqlFlexibleServer.Recording.json @@ -35,13 +35,13 @@ "Expires": [ "-1" ], "Content-Length": [ "9128" ] }, - "Content": "{\"value\":[{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"daeunyim\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"daeun-powershell-server.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-05T22:52:03.0402396+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/daeun-powershell-mysql/providers/Microsoft.DBforMySQL/flexibleServers/daeun-powershell-server\",\"name\":\"daeun-powershell-server\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"speedySnail9\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"server012637588.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-05T18:08:43.7580523+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/daeun-cli-test/providers/Microsoft.Network/virtualNetworks/VNET012637588/subnets/Subnet012637588\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/daeun-cli-test/providers/Microsoft.DBforMySQL/flexibleServers/server012637588\",\"name\":\"server012637588\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"liquidRaccoon8\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"server022804110.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-04T19:54:26.7636175+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group1482159619/providers/Microsoft.Network/virtualNetworks/VNET022804110/subnets/Subnet022804110\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group1482159619/providers/Microsoft.DBforMySQL/flexibleServers/server022804110\",\"name\":\"server022804110\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"prizeStork9\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"server168864419.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-04T19:38:08.4695498+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group4637056872/providers/Microsoft.Network/virtualNetworks/VNET168864419/subnets/Subnet168864419\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group4637056872/providers/Microsoft.DBforMySQL/flexibleServers/server168864419\",\"name\":\"server168864419\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"famousOstrich3\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"server293736511.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-04T21:33:22.0805152+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group2718179930/providers/Microsoft.Network/virtualNetworks/VNET293736511/subnets/Subnet293736511\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group2718179930/providers/Microsoft.DBforMySQL/flexibleServers/server293736511\",\"name\":\"server293736511\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"admiredCattle5\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"server353717254.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-04T19:02:49.9648937+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group2742570377/providers/Microsoft.Network/virtualNetworks/VNET353717254/subnets/Subnet353717254\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group2742570377/providers/Microsoft.DBforMySQL/flexibleServers/server353717254\",\"name\":\"server353717254\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"shyGull9\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"server561537754.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-09T09:20:18.4548363+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/daeun-powershell-mysql/providers/Microsoft.Network/virtualNetworks/VNET561537754/subnets/Subnet561537754\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/daeun-powershell-mysql/providers/Microsoft.DBforMySQL/flexibleServers/server561537754\",\"name\":\"server561537754\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"adminuser\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysqlrwtestfs.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-04T06:43:49.6738646+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/mysqlrwtestrg/providers/Microsoft.DBforMySQL/flexibleServers/mysqlrwtestfs\",\"name\":\"mysqlrwtestfs\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}]}" + "Content": "{\"value\":[{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"daeunyim\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"daeun-powershell-server.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-05T22:52:03.0402396+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/daeun-powershell-mysql/providers/Microsoft.DBforMySQL/flexibleServers/daeun-powershell-server\",\"name\":\"daeun-powershell-server\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-flexible-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\"name\":\"mysql-flexible-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"speedySnail9\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"server012637588.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-05T18:08:43.7580523+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/daeun-cli-test/providers/Microsoft.Network/virtualNetworks/VNET012637588/subnets/Subnet012637588\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/daeun-cli-test/providers/Microsoft.DBforMySQL/flexibleServers/server012637588\",\"name\":\"server012637588\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"liquidRaccoon8\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"server022804110.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-04T19:54:26.7636175+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group1482159619/providers/Microsoft.Network/virtualNetworks/VNET022804110/subnets/Subnet022804110\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group1482159619/providers/Microsoft.DBforMySQL/flexibleServers/server022804110\",\"name\":\"server022804110\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"prizeStork9\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"server168864419.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-04T19:38:08.4695498+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group4637056872/providers/Microsoft.Network/virtualNetworks/VNET168864419/subnets/Subnet168864419\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group4637056872/providers/Microsoft.DBforMySQL/flexibleServers/server168864419\",\"name\":\"server168864419\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"famousOstrich3\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"server293736511.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-04T21:33:22.0805152+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group2718179930/providers/Microsoft.Network/virtualNetworks/VNET293736511/subnets/Subnet293736511\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group2718179930/providers/Microsoft.DBforMySQL/flexibleServers/server293736511\",\"name\":\"server293736511\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"admiredCattle5\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"server353717254.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-04T19:02:49.9648937+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group2742570377/providers/Microsoft.Network/virtualNetworks/VNET353717254/subnets/Subnet353717254\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group2742570377/providers/Microsoft.DBforMySQL/flexibleServers/server353717254\",\"name\":\"server353717254\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"shyGull9\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"server561537754.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-09T09:20:18.4548363+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/daeun-powershell-mysql/providers/Microsoft.Network/virtualNetworks/VNET561537754/subnets/Subnet561537754\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/daeun-powershell-mysql/providers/Microsoft.DBforMySQL/flexibleServers/server561537754\",\"name\":\"server561537754\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"adminuser\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysqlrwtestfs.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-04T06:43:49.6738646+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/mysqlrwtestrg/providers/Microsoft.DBforMySQL/flexibleServers/mysqlrwtestfs\",\"name\":\"mysqlrwtestfs\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}]}" } }, - "Get-AzMySqlFlexibleServer+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview+1": { + "Get-AzMySqlFlexibleServer+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "2" ], @@ -74,7 +74,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-flexible-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\"name\":\"mysql-flexible-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } }, "Get-AzMySqlFlexibleServer+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers?api-version=2020-07-01-preview+1": { @@ -113,13 +113,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}]}" + "Content": "{\"value\":[{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-flexible-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\"name\":\"mysql-flexible-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}]}" } }, - "Get-AzMySqlFlexibleServer+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview+1": { + "Get-AzMySqlFlexibleServer+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "4" ], @@ -152,7 +152,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-flexible-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\"name\":\"mysql-flexible-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } } } \ No newline at end of file diff --git a/src/MySql/test/Get-AzMySqlFlexibleServer.Tests.ps1 b/src/MySql/test/Get-AzMySqlFlexibleServer.Tests.ps1 index f95f8bbc3410..f65f06b98777 100644 --- a/src/MySql/test/Get-AzMySqlFlexibleServer.Tests.ps1 +++ b/src/MySql/test/Get-AzMySqlFlexibleServer.Tests.ps1 @@ -35,9 +35,9 @@ Describe 'Get-AzMySqlFlexibleServer' { It 'GetViaIdentity' { { - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySql/flexibleServers/$($env.serverName)" + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySql/flexibleServers/$($env.flexibleServerName)" $servers = Get-AzMySqlFlexibleServer -InputObject $ID - $servers.Name | Should -Be $env.serverName + $servers.Name | Should -Be $env.flexibleServerName } | Should -Not -Throw } } diff --git a/src/MySql/test/Get-AzMySqlFlexibleServerConfiguration.Recording.json b/src/MySql/test/Get-AzMySqlFlexibleServerConfiguration.Recording.json index 693f3ad39045..d2074dbc6407 100644 --- a/src/MySql/test/Get-AzMySqlFlexibleServerConfiguration.Recording.json +++ b/src/MySql/test/Get-AzMySqlFlexibleServerConfiguration.Recording.json @@ -1,8 +1,8 @@ { - "Get-AzMySqlFlexibleServerConfiguration+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/configurations?api-version=2020-07-01-preview+1": { + "Get-AzMySqlFlexibleServerConfiguration+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/configurations?api-version=2020-07-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/configurations?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/configurations?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "1" ], @@ -35,13 +35,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"properties\":{\"value\":\"OFF\",\"description\":\"Tell the server to enable or disable archive engine.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/archive\",\"name\":\"archive\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Allow to audit the log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/audit_log_enabled\",\"name\":\"audit_log_enabled\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"CONNECTION\",\"description\":\"Select the events to audit logs.\",\"defaultValue\":\"CONNECTION\",\"dataType\":\"Set\",\"allowedValues\":\"DDL,DML_SELECT,DML_NONSELECT,DCL,ADMIN,DML,GENERAL,CONNECTION,TABLE_ACCESS\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/audit_log_events\",\"name\":\"audit_log_events\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"azure_superuser\",\"description\":\"The comma-separated user list whose commands will not be in the audit logs.\",\"defaultValue\":\"azure_superuser\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/audit_log_exclude_users\",\"name\":\"audit_log_exclude_users\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"The comma-separated user list whose commands will be in the audit logs. It takes higher priority if the same user name is found in audit_log_exclude_users.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/audit_log_include_users\",\"name\":\"audit_log_include_users\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Allow to audit the slow log.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/audit_slow_log_enabled\",\"name\":\"audit_slow_log_enabled\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Controls whether the server autogenerates SSL key and certificate files in the data directory, if they do not already exist.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/auto_generate_certs\",\"name\":\"auto_generate_certs\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"The autocommit mode. If set to ON, all changes to a table take effect immediately. If set to OFF, you must use COMMIT to accept a transaction or ROLLBACK to cancel it.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/autocommit\",\"name\":\"autocommit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This variable controls whether ALTER TABLE implicitly upgrades temporal columns found to be in pre-5.6.4 format.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/avoid_temporal_upgrade\",\"name\":\"avoid_temporal_upgrade\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"271\",\"description\":\"The number of outstanding connection requests MySQL can have\",\"defaultValue\":\"271\",\"dataType\":\"Integer\",\"allowedValues\":\"0-65535\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/back_log\",\"name\":\"back_log\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1048576\",\"description\":\"The size of the cache to hold changes to the binary log during a transaction.\",\"defaultValue\":\"1048576\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967296\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/binlog_cache_size\",\"name\":\"binlog_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"CRC32\",\"description\":\"When enabled, this variable causes the master to write a checksum for each event in the binary log.\",\"defaultValue\":\"CRC32\",\"dataType\":\"Enumeration\",\"allowedValues\":\"NONE,CRC32\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/binlog_checksum\",\"name\":\"binlog_checksum\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ABORT_SERVER\",\"description\":\"Controls what happens when the server cannot write to the binary log, which can cause the master\u0027s log to become inconsistent and replication slaves to lose synchronization.\",\"defaultValue\":\"ABORT_SERVER\",\"dataType\":\"Enumeration\",\"allowedValues\":\"IGNORE_ERROR,ABORT_SERVER\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/binlog_error_action\",\"name\":\"binlog_error_action\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The number of seconds for automatic binary log file removal. The default is 0, which means no automatic removal. Possible removals happen at startup and when the binary log is flushed.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/binlog_expire_logs_seconds\",\"name\":\"binlog_expire_logs_seconds\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ROW\",\"description\":\"This variable sets the binary logging format, and can be any one of STATEMENT, ROW, or MIXED.\",\"defaultValue\":\"ROW\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ROW,STATEMENT,MIXED\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/binlog_format\",\"name\":\"binlog_format\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Controls how many microseconds the binary log commit waits before synchronizing the binary log file to disk.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0,11-1000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/binlog_group_commit_sync_delay\",\"name\":\"binlog_group_commit_sync_delay\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The maximum number of transactions to wait for before aborting the current delay as specified by binlog-group-commit-sync-delay.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/binlog_group_commit_sync_no_delay_count\",\"name\":\"binlog_group_commit_sync_no_delay_count\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"This variable controls how binary log files are iterated during the search for GTIDs when MySQL starts or restarts.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/binlog_gtid_simple_recovery\",\"name\":\"binlog_gtid_simple_recovery\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"If this variable is enabled (the default), transactions are committed in the same order they are written to the binary log. If disabled, transactions may be committed in parallel.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/binlog_order_commits\",\"name\":\"binlog_order_commits\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"minimal\",\"description\":\"For MySQL row-based replication, this variable determines how row images are written to the binary log.\",\"defaultValue\":\"minimal\",\"dataType\":\"Enumeration\",\"allowedValues\":\"full,minimal,noblob\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/binlog_row_image\",\"name\":\"binlog_row_image\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"The binlog_rows_query_log_events system variable affects row-based logging only. When enabled, it causes the MySQL Server to write informational log events such as row query log events into its binary log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/binlog_rows_query_log_events\",\"name\":\"binlog_rows_query_log_events\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"32768\",\"description\":\"This variable determines the size of the cache for the binary log to hold nontransactional statements issued during a transaction.\",\"defaultValue\":\"32768\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/binlog_stmt_cache_size\",\"name\":\"binlog_stmt_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1048576\",\"description\":\"Specify the maximum size of a row-based binary log event in bytes.\",\"defaultValue\":\"1048576\",\"dataType\":\"Integer\",\"allowedValues\":\"256-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/binlog-row-event-max-size\",\"name\":\"binlog-row-event-max-size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Tell the server to enable or disable blackhole engine.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/blackhole\",\"name\":\"blackhole\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"aes-128-ecb\",\"description\":\"This variable controls the block encryption mode for block-based algorithms such as AES.\",\"defaultValue\":\"aes-128-ecb\",\"dataType\":\"Enumeration\",\"allowedValues\":\"aes-128-ecb,aes-192-ecb,aes-256-ecb,aes-128-cbc,aes-192-cbc,aes-256-cbc\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/block_encryption_mode\",\"name\":\"block_encryption_mode\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8388608\",\"description\":\"Limits the size of the MyISAM cache tree in bytes per thread.\",\"defaultValue\":\"8388608\",\"dataType\":\"Integer\",\"allowedValues\":\"0-18446744073709547520\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/bulk_insert_buffer_size\",\"name\":\"bulk_insert_buffer_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"latin1\",\"description\":\"Use charset_name as the default server character set.\",\"defaultValue\":\"latin1\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ARMSCII8,ASCII,BIG5,BINARY,CP1250,CP1251,CP1256,CP1257,CP850,CP852,CP866,CP932,DEC8,EUCJPMS,EUCKR,GB18030,GB2312,GBK,GEOSTD8,GREEK,HEBREW,HP8,KEYBCS2,KOI8R,KOI8U,LATIN1,LATIN2,LATIN5,LATIN7,MACCE,MACROMAN,SJIS,SWE7,TIS620,UCS2,UJIS,UTF16,UTF16LE,UTF32,UTF8,UTF8MB4\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/character_set_server\",\"name\":\"character_set_server\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"latin1_swedish_ci\",\"description\":\"The server\u0027s default collation.\",\"defaultValue\":\"latin1_swedish_ci\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ARMSCII8_BIN,ARMSCII8_GENERAL_CI,ASCII_BIN,ASCII_GENERAL_CI,BIG5_BIN,BIG5_CHINESE_CI,BINARY,CP1250_BIN,CP1250_CROATIAN_CI,CP1250_CZECH_CS,CP1250_GENERAL_CI,CP1250_POLISH_CI,CP1251_BIN,CP1251_BULGARIAN_CI,CP1251_GENERAL_CI,CP1251_GENERAL_CS,CP1251_UKRAINIAN_CI,CP1256_BIN,CP1256_GENERAL_CI,CP1257_BIN,CP1257_GENERAL_CI,CP1257_LITHUANIAN_CI,CP850_BIN,CP850_GENERAL_CI,CP852_BIN,CP852_GENERAL_CI,CP866_BIN,CP866_GENERAL_CI,CP932_BIN,CP932_JAPANESE_CI,DEC8_BIN,DEC8_SWEDISH_CI,EUCJPMS_BIN,EUCJPMS_JAPANESE_CI,EUCKR_BIN,EUCKR_KOREAN_CI,GB18030_BIN,GB18030_CHINESE_CI,GB18030_UNICODE_520_CI,GB2312_BIN,GB2312_CHINESE_CI,GBK_BIN,GBK_CHINESE_CI,GEOSTD8_BIN,GEOSTD8_GENERAL_CI,GREEK_BIN,GREEK_GENERAL_CI,HEBREW_BIN,HEBREW_GENERAL_CI,HP8_BIN,HP8_ENGLISH_CI,KEYBCS2_BIN,KEYBCS2_GENERAL_CI,KOI8R_BIN,KOI8R_GENERAL_CI,KOI8U_BIN,KOI8U_GENERAL_CI,LATIN1_BIN,LATIN1_DANISH_CI,LATIN1_GENERAL_CI,LATIN1_GENERAL_CS,LATIN1_GERMAN1_CI,LATIN1_GERMAN2_CI,LATIN1_SPANISH_CI,LATIN1_SWEDISH_CI,LATIN2_BIN,LATIN2_CROATIAN_CI,LATIN2_CZECH_CS,LATIN2_GENERAL_CI,LATIN2_HUNGARIAN_CI,LATIN5_BIN,LATIN5_TURKISH_CI,LATIN7_BIN,LATIN7_ESTONIAN_CS,LATIN7_GENERAL_CI,LATIN7_GENERAL_CS,MACCE_BIN,MACCE_GENERAL_CI,MACROMAN_BIN,MACROMAN_GENERAL_CI,SJIS_BIN,SJIS_JAPANESE_CI,SWE7_BIN,SWE7_SWEDISH_CI,TIS620_BIN,TIS620_THAI_CI,UCS2_BIN,UCS2_CROATIAN_CI,UCS2_CZECH_CI,UCS2_DANISH_CI,UCS2_ESPERANTO_CI,UCS2_ESTONIAN_CI,UCS2_GENERAL_CI,UCS2_GENERAL_MYSQL500_CI,UCS2_GERMAN2_CI,UCS2_HUNGARIAN_CI,UCS2_ICELANDIC_CI,UCS2_LATVIAN_CI,UCS2_LITHUANIAN_CI,UCS2_PERSIAN_CI,UCS2_POLISH_CI,UCS2_ROMAN_CI,UCS2_ROMANIAN_CI,UCS2_SINHALA_CI,UCS2_SLOVAK_CI,UCS2_SLOVENIAN_CI,UCS2_SPANISH_CI,UCS2_SPANISH2_CI,UCS2_SWEDISH_CI,UCS2_TURKISH_CI,UCS2_UNICODE_520_CI,UCS2_UNICODE_CI,UCS2_VIETNAMESE_CI,UJIS_BIN,UJIS_JAPANESE_CI,UTF16_BIN,UTF16_CROATIAN_CI,UTF16_CZECH_CI,UTF16_DANISH_CI,UTF16_ESPERANTO_CI,UTF16_ESTONIAN_CI,UTF16_GENERAL_CI,UTF16_GERMAN2_CI,UTF16_HUNGARIAN_CI,UTF16_ICELANDIC_CI,UTF16_LATVIAN_CI,UTF16_LITHUANIAN_CI,UTF16_PERSIAN_CI,UTF16_POLISH_CI,UTF16_ROMAN_CI,UTF16_ROMANIAN_CI,UTF16_SINHALA_CI,UTF16_SLOVAK_CI,UTF16_SLOVENIAN_CI,UTF16_SPANISH_CI,UTF16_SPANISH2_CI,UTF16_SWEDISH_CI,UTF16_TURKISH_CI,UTF16_UNICODE_520_CI,UTF16_UNICODE_CI,UTF16_VIETNAMESE_CI,UTF16LE_BIN,UTF16LE_GENERAL_CI,UTF32_BIN,UTF32_CROATIAN_CI,UTF32_CZECH_CI,UTF32_DANISH_CI,UTF32_ESPERANTO_CI,UTF32_ESTONIAN_CI,UTF32_GENERAL_CI,UTF32_GERMAN2_CI,UTF32_HUNGARIAN_CI,UTF32_ICELANDIC_CI,UTF32_LATVIAN_CI,UTF32_LITHUANIAN_CI,UTF32_PERSIAN_CI,UTF32_POLISH_CI,UTF32_ROMAN_CI,UTF32_ROMANIAN_CI,UTF32_SINHALA_CI,UTF32_SLOVAK_CI,UTF32_SLOVENIAN_CI,UTF32_SPANISH_CI,UTF32_SPANISH2_CI,UTF32_SWEDISH_CI,UTF32_TURKISH_CI,UTF32_UNICODE_520_CI,UTF32_UNICODE_CI,UTF32_VIETNAMESE_CI,UTF8_BIN,UTF8_CROATIAN_CI,UTF8_CZECH_CI,UTF8_DANISH_CI,UTF8_ESPERANTO_CI,UTF8_ESTONIAN_CI,UTF8_GENERAL_CI,UTF8_GENERAL_MYSQL500_CI,UTF8_GERMAN2_CI,UTF8_HUNGARIAN_CI,UTF8_ICELANDIC_CI,UTF8_LATVIAN_CI,UTF8_LITHUANIAN_CI,UTF8_PERSIAN_CI,UTF8_POLISH_CI,UTF8_ROMAN_CI,UTF8_ROMANIAN_CI,UTF8_SINHALA_CI,UTF8_SLOVAK_CI,UTF8_SLOVENIAN_CI,UTF8_SPANISH_CI,UTF8_SPANISH2_CI,UTF8_SWEDISH_CI,UTF8_TURKISH_CI,UTF8_UNICODE_520_CI,UTF8_UNICODE_CI,UTF8_VIETNAMESE_CI,UTF8MB4_BIN,UTF8MB4_CROATIAN_CI,UTF8MB4_CZECH_CI,UTF8MB4_DANISH_CI,UTF8MB4_ESPERANTO_CI,UTF8MB4_ESTONIAN_CI,UTF8MB4_GENERAL_CI,UTF8MB4_GERMAN2_CI,UTF8MB4_HUNGARIAN_CI,UTF8MB4_ICELANDIC_CI,UTF8MB4_LATVIAN_CI,UTF8MB4_LITHUANIAN_CI,UTF8MB4_PERSIAN_CI,UTF8MB4_POLISH_CI,UTF8MB4_ROMAN_CI,UTF8MB4_ROMANIAN_CI,UTF8MB4_SINHALA_CI,UTF8MB4_SLOVAK_CI,UTF8MB4_SLOVENIAN_CI,UTF8MB4_SPANISH_CI,UTF8MB4_SPANISH2_CI,UTF8MB4_SWEDISH_CI,UTF8MB4_TURKISH_CI,UTF8MB4_UNICODE_520_CI,UTF8MB4_UNICODE_CI,UTF8MB4_VIETNAMESE_CI\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/collation_server\",\"name\":\"collation_server\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"NO_CHAIN\",\"description\":\"The transaction completion type.\",\"defaultValue\":\"NO_CHAIN\",\"dataType\":\"Enumeration\",\"allowedValues\":\"NO_CHAIN,CHAIN,RELEASE\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/completion_type\",\"name\":\"completion_type\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"AUTO\",\"description\":\"Allows INSERT and SELECT statements to run concurrently for MyISAM tables that have no free blocks in the middle of the data file.\",\"defaultValue\":\"AUTO\",\"dataType\":\"Enumeration\",\"allowedValues\":\"NEVER,AUTO,ALWAYS\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/concurrent_insert\",\"name\":\"concurrent_insert\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"The number of seconds that the mysqld server waits for a connect packet before responding with Bad handshake.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"2-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/connect_timeout\",\"name\":\"connect_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"mysql_native_password\",\"description\":\"The default authentication plugin\",\"defaultValue\":\"mysql_native_password\",\"dataType\":\"Enumeration\",\"allowedValues\":\"mysql_native_password,sha256_password\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/default_authentication_plugin\",\"name\":\"default_authentication_plugin\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"This variable defines the global automatic password expiration policy.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-65535\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/default_password_lifetime\",\"name\":\"default_password_lifetime\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"InnoDB\",\"description\":\"The default storage engine (table type).\",\"defaultValue\":\"InnoDB\",\"dataType\":\"Enumeration\",\"allowedValues\":\"InnoDB,CSV,MEMORY\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/default_storage_engine\",\"name\":\"default_storage_engine\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"InnoDB\",\"description\":\"The default storage engine for TEMPORARY tables.\",\"defaultValue\":\"InnoDB\",\"dataType\":\"Enumeration\",\"allowedValues\":\"InnoDB,MyISAM,CSV,PERFORMANCE_SCHEMA,MEMORY,MRG_MYISAM\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/default_tmp_storage_engine\",\"name\":\"default_tmp_storage_engine\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The default mode value to use for the WEEK() function.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-7\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/default_week_format\",\"name\":\"default_week_format\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"It specifies how to use delayed key writes.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF,ALL\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/delay_key_write\",\"name\":\"delay_key_write\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"After inserting delayed_insert_limit delayed rows, the INSERT DELAYED handler thread checks whether there are any SELECT statements pending. If so, it allows them to execute before continuing to insert delayed rows.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"1-9223372036854775807\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/delayed_insert_limit\",\"name\":\"delayed_insert_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"300\",\"description\":\"How many seconds an INSERT DELAYED handler thread should wait for INSERT statements before terminating.\",\"defaultValue\":\"300\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/delayed_insert_timeout\",\"name\":\"delayed_insert_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1000\",\"description\":\"If the queue becomes full, any client that issues an INSERT DELAYED statement waits until there is room in the queue again.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-9223372036854775807\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/delayed_queue_size\",\"name\":\"delayed_queue_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"MyISAM,BLACKHOLE,FEDEATED,ARCHIVE\",\"description\":\"This variable indicates which storage engines cannot be used to create tables or tablespaces.\",\"defaultValue\":\"MyISAM,BLACKHOLE,FEDEATED,ARCHIVE\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/disabled_storage_engines\",\"name\":\"disabled_storage_engines\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Whether to disable the startup check for tables with nonnative partitioning.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/disable-partition-engine-check\",\"name\":\"disable-partition-engine-check\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Controls how the server handles clients with expired passwords:\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/disconnect_on_expired_password\",\"name\":\"disconnect_on_expired_password\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"Number of digits by which to increase the scale of the result of division operations.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"0-30\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/div_precision_increment\",\"name\":\"div_precision_increment\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Whether optimizer JSON output should add end markers.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/end_markers_in_json\",\"name\":\"end_markers_in_json\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"When enable, this option enforces GTID consistency by allowing execution of only those statements that can be logged in a transactionally safe manner.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF,WARN\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/enforce_gtid_consistency\",\"name\":\"enforce_gtid_consistency\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"This variable indicates the number of equality ranges in an equality comparison condition when the optimizer should switch from using index dives to index statistics in estimating the number of qualifying rows.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/eq_range_index_dive_limit\",\"name\":\"eq_range_index_dive_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Indicates the status of the Event Scheduler. It is always OFF for a replica server to keep the replication consistency.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/event_scheduler\",\"name\":\"event_scheduler\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The number of days for automatic binary log file removal. The default is 0, which means no automatic removal. Possible removals happen at startup and when the binary log is flushed.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-99\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/expire_logs_days\",\"name\":\"expire_logs_days\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"[Deprecated] This system variable determines whether the server enables certain nonstandard behaviors for default values and NULL-value handling in TIMESTAMP columns.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/explicit_defaults_for_timestamp\",\"name\":\"explicit_defaults_for_timestamp\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"If ON, the server flushes (synchronizes) all changes to disk after each SQL statement. Normally, MySQL does a write of all changes to disk only after each SQL statement and lets the operating system handle the synchronizing to disk.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/flush\",\"name\":\"flush\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"If this is set to a nonzero value, all tables are closed every flush_time seconds to free up resources and synchronize unflushed data to disk.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-8640000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/flush_time\",\"name\":\"flush_time\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"+ -\u003e\u003c()~*:\\\"\\\"\u0026|\",\"description\":\"The list of operators supported by boolean full-text searches performed using IN BOOLEAN MODE.\",\"defaultValue\":\"+ -\u003e\u003c()~*:\\\"\\\"\u0026|\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/ft_boolean_syntax\",\"name\":\"ft_boolean_syntax\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"20\",\"description\":\"The number of top matches to use for full-text searches performed using WITH QUERY EXPANSION.\",\"defaultValue\":\"20\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/ft_query_expansion_limit\",\"name\":\"ft_query_expansion_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Whether the general query log is enabled.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/general_log\",\"name\":\"general_log\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"/app/work/serverlogs/mysql-general-mysql-test-100-2020111008.log\",\"description\":\"The name of the general query log file. \",\"defaultValue\":\"mysql-general.log\",\"dataType\":\"String\",\"allowedValues\":\"mysql-general.log\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/general_log_file\",\"name\":\"general_log_file\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"Maximum allowed result length in bytes for the GROUP_CONCAT().\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"4-16777216\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/group_concat_max_len\",\"name\":\"group_concat_max_len\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1000\",\"description\":\"Compress the mysql.gtid_executed table each time this many transactions have taken place.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/gtid_executed_compression_period\",\"name\":\"gtid_executed_compression_period\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Indicates if global transaction identifiers (GTIDs) are used to identify transactions.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"OFF,OFF_PERMISSIVE,ON_PERMISSIVE,ON\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/gtid_mode\",\"name\":\"gtid_mode\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"279\",\"description\":\"The size of the internal host cache.\",\"defaultValue\":\"279\",\"dataType\":\"Integer\",\"allowedValues\":\"0-65536\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/host_cache_size\",\"name\":\"host_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"A string to be executed by the server for each client that connects.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/init_connect\",\"name\":\"init_connect\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Specifies whether to dynamically adjust the rate of flushing dirty pages in the InnoDB buffer pool based on the workload. Adjusting the flush rate dynamically is intended to avoid bursts of I/O activity.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_adaptive_flushing\",\"name\":\"innodb_adaptive_flushing\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Defines the low water mark representing percentage of redo log capacity at which adaptive flushing is enabled.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-70\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_adaptive_flushing_lwm\",\"name\":\"innodb_adaptive_flushing_lwm\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Whether innodb adaptive hash indexes are enabled or disabled.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_adaptive_hash_index\",\"name\":\"innodb_adaptive_hash_index\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"Partitions the adaptive hash index search system. Each index is bound to a specific partition, with each partition protected by a separate latch. \",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"1-512\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_adaptive_hash_index_parts\",\"name\":\"innodb_adaptive_hash_index_parts\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"150000\",\"description\":\"Permits InnoDB to automatically adjust the value of innodb_thread_sleep_delay up or down according to the current workload.\",\"defaultValue\":\"150000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_adaptive_max_sleep_delay\",\"name\":\"innodb_adaptive_max_sleep_delay\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"The increment size (in megabytes) for extending the size of an auto-extending InnoDB system tablespace file when it becomes full.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"1-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_autoextend_increment\",\"name\":\"innodb_autoextend_increment\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"The lock mode to use for generating auto-increment values.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0,1,2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_autoinc_lock_mode\",\"name\":\"innodb_autoinc_lock_mode\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"134217728\",\"description\":\"Defines the chunk size for online InnoDB buffer pool resizing operations.\",\"defaultValue\":\"134217728\",\"dataType\":\"Integer\",\"allowedValues\":\"1048576-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_buffer_pool_chunk_size\",\"name\":\"innodb_buffer_pool_chunk_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Dump the buffer pool into a file named @@innodb_buffer_pool_filename\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_buffer_pool_dump_at_shutdown\",\"name\":\"innodb_buffer_pool_dump_at_shutdown\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Immediately records the pages cached in the InnoDB buffer pool.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_buffer_pool_dump_now\",\"name\":\"innodb_buffer_pool_dump_now\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"25\",\"description\":\"Specifies the percentage of the most recently used pages for each buffer pool to read out and dump.\",\"defaultValue\":\"25\",\"dataType\":\"Integer\",\"allowedValues\":\"1-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_buffer_pool_dump_pct\",\"name\":\"innodb_buffer_pool_dump_pct\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ib_buffer_pool\",\"description\":\"Specifies the file that holds the list of page numbers produced by innodb_buffer_pool_dump_at_shutdown or innodb_buffer_pool_dump_now.\",\"defaultValue\":\"ib_buffer_pool\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_buffer_pool_filename\",\"name\":\"innodb_buffer_pool_filename\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"The number of regions that the InnoDB buffer pool is divided into\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"1-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_buffer_pool_instances\",\"name\":\"innodb_buffer_pool_instances\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Interrupts the process of restoring InnoDB buffer pool contents triggered by innodb_buffer_pool_load_at_startup or innodb_buffer_pool_load_now.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_buffer_pool_load_abort\",\"name\":\"innodb_buffer_pool_load_abort\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Load the buffer pool from a file named @@innodb_buffer_pool_filename\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_buffer_pool_load_at_startup\",\"name\":\"innodb_buffer_pool_load_at_startup\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Immediately warms up the InnoDB buffer pool by loading a set of data pages, without waiting for a server restart.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_buffer_pool_load_now\",\"name\":\"innodb_buffer_pool_load_now\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"536870912\",\"description\":\"The size in bytes of the buffer pool, the memory area where InnoDB caches table and index data.\",\"defaultValue\":\"536870912\",\"dataType\":\"Integer\",\"allowedValues\":\"134217728-536870912\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_buffer_pool_size\",\"name\":\"innodb_buffer_pool_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"25\",\"description\":\"Maximum size for the InnoDB change buffer, as a percentage of the total size of the buffer pool. You might increase this value for a MySQL server with heavy insert, update, and delete activity, or decrease it for a MySQL server with unchanging data used for reporting.\",\"defaultValue\":\"25\",\"dataType\":\"Integer\",\"allowedValues\":\"0-50\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_change_buffer_max_size\",\"name\":\"innodb_change_buffer_max_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"all\",\"description\":\"Whether InnoDB performs change buffering, an optimization that delays write operations to secondary indexes so that the I/O operations can be performed sequentially.\",\"defaultValue\":\"all\",\"dataType\":\"Enumeration\",\"allowedValues\":\"none,inserts,deletes,changes,purges,all\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_change_buffering\",\"name\":\"innodb_change_buffering\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"crc32\",\"description\":\"Specifies how to generate and verify the checksum stored in the disk blocks of InnoDB tablespaces.\",\"defaultValue\":\"crc32\",\"dataType\":\"Enumeration\",\"allowedValues\":\"innodb,crc32,none,strict_innodb,strict_crc32,strict_none\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_checksum_algorithm\",\"name\":\"innodb_checksum_algorithm\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Enables per-index compression-related statistics in the INFORMATION_SCHEMA.INNODB_CMP_PER_INDEX table. Because these statistics can be expensive to gather, only enable this option on development, test, or slave instances during performance tuning related to InnoDB compressed tables.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_cmp_per_index_enabled\",\"name\":\"innodb_cmp_per_index_enabled\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The number of threads that can commit at the same time. A value of 0 (the default) permits any number of transactions to commit simultaneously. The value of innodb_commit_concurrency cannot be changed at runtime from zero to nonzero or vice versa. The value can be changed from one nonzero value to another.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_commit_concurrency\",\"name\":\"innodb_commit_concurrency\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"5\",\"description\":\"Defines the compression failure rate threshold for a table, as a percentage, at which point MySQL begins adding padding within compressed pages to avoid expensive compression failures.\",\"defaultValue\":\"5\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_compression_failure_threshold_pct\",\"name\":\"innodb_compression_failure_threshold_pct\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"6\",\"description\":\"Specifies the level of zlib compression to use for InnoDB compressed tables and indexes. A higher value lets you fit more data onto a storage device, at the expense of more CPU overhead during compression. A lower value lets you reduce CPU overhead when storage space is not critical, or you expect the data is not especially compressible.\",\"defaultValue\":\"6\",\"dataType\":\"Integer\",\"allowedValues\":\"0-9\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_compression_level\",\"name\":\"innodb_compression_level\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"Specifies the maximum percentage that can be reserved as free space within each compressed page, allowing room to reorganize the data and modification log within the page when a compressed table or index is updated and the data might be recompressed. Only applies when innodb_compression_failure_threshold_pct is set to a nonzero value, and the rate of compression failures passes the cutoff point.\",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"0-75\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_compression_pad_pct_max\",\"name\":\"innodb_compression_pad_pct_max\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"5000\",\"description\":\"Determines the number of threads that can enter InnoDB concurrently.\",\"defaultValue\":\"5000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_concurrency_tickets\",\"name\":\"innodb_concurrency_tickets\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"This option is used to disable deadlock detection. On high concurrency systems, deadlock detection can cause a slowdown when numerous threads wait for the same lock.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_deadlock_detect\",\"name\":\"innodb_deadlock_detect\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"DYNAMIC\",\"description\":\"The innodb_default_row_format option defines the default row format for InnoDB tables and user-created temporary tables.\",\"defaultValue\":\"DYNAMIC\",\"dataType\":\"Enumeration\",\"allowedValues\":\"DYNAMIC,COMPACT,REDUNDANT\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_default_row_format\",\"name\":\"innodb_default_row_format\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Disables the operating system file system cache for merge-sort temporary files. The effect is to open such files with the equivalent of O_DIRECT.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_disable_sort_file_cache\",\"name\":\"innodb_disable_sort_file_cache\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"/app/work/diskcache.data\",\"description\":\"File name of MySQL BPE file\",\"defaultValue\":\"/app/work/diskcache.data\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_disk_buffer_pool_filename\",\"name\":\"innodb_disk_buffer_pool_filename\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Size of MySQL BPE in byte\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-515396075520\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_disk_buffer_pool_size\",\"name\":\"innodb_disk_buffer_pool_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"When enabled, InnoDB stores all data twice, first to the doublewrite buffer, then to the actual data files.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_doublewrite\",\"name\":\"innodb_doublewrite\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"The InnoDB shutdown mode. If the value is 0, InnoDB does a slow shutdown, a full purge and a change buffer merge before shutting down. If the value is 1 (the default), InnoDB skips these operations at shutdown, a process known as a fast shutdown. If the value is 2, InnoDB flushes its logs and shuts down cold, as if MySQL had crashed; no committed transactions are lost, but the crash recovery operation makes the next startup take longer.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0,1,2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_fast_shutdown\",\"name\":\"innodb_fast_shutdown\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"7201\",\"description\":\"The seconds of mysql engine waiting for I/O, this threshold timeout will result in mysql engine crash.\",\"defaultValue\":\"7201\",\"dataType\":\"Integer\",\"allowedValues\":\"1-864000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_fatal_semaphore_wait_threshold\",\"name\":\"innodb_fatal_semaphore_wait_threshold\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"Barracuda\",\"description\":\"Indicates the InnoDB file format for file-per-table tablespaces.\",\"defaultValue\":\"Barracuda\",\"dataType\":\"Enumeration\",\"allowedValues\":\"Antelope,Barracuda\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_file_format\",\"name\":\"innodb_file_format\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"InnoDB stores the data and indexes for each newly created table in a separate .ibd file instead of the system tablespace. It cannot be updated any more for a master/replica server to keep the replication consistency.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_file_per_table\",\"name\":\"innodb_file_per_table\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"InnoDB performs a bulk load when creating or rebuilding indexes.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"10-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_fill_factor\",\"name\":\"innodb_fill_factor\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Write and flush the logs every N seconds. This setting has an effect only when innodb_flush_log_at_trx_commit has a value of 2.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2700\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_flush_log_at_timeout\",\"name\":\"innodb_flush_log_at_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Controls the balance between strict ACID compliance for commit operations and higher performance that is possible when commit-related I/O operations are rearranged and done in batches.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0,1,2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_flush_log_at_trx_commit\",\"name\":\"innodb_flush_log_at_trx_commit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"fsync\",\"description\":\"Defines the method used to flush data to InnoDB data files and log files, which can affect I/O throughput. \",\"defaultValue\":\"fsync\",\"dataType\":\"Enumeration\",\"allowedValues\":\"fsync,O_DSYNC,littlesync,nosync,O_DIRECT,O_DIRECT_NO_FSYNC\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_flush_method\",\"name\":\"innodb_flush_method\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Specifies whether flushing a page from the InnoDB buffer pool also flushes other dirty pages in the same extent.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0,1,2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_flush_neighbors\",\"name\":\"innodb_flush_neighbors\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Causes the innodb_io_capacity setting to be ignored for bursts of I/O activity that occur at checkpoints.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_flush_sync\",\"name\":\"innodb_flush_sync\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"30\",\"description\":\"Number of iterations for which InnoDB keeps the previously calculated snapshot of the flushing state, controlling how quickly adaptive flushing responds to changing workloads.\",\"defaultValue\":\"30\",\"dataType\":\"Integer\",\"allowedValues\":\"1-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_flushing_avg_loops\",\"name\":\"innodb_flushing_avg_loops\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Permits InnoDB to load tables at startup that are marked as corrupted. Use only during troubleshooting, to recover data that is otherwise inaccessible.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_force_load_corrupted\",\"name\":\"innodb_force_load_corrupted\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The crash recovery mode, typically only changed in serious troubleshooting situations.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-6\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_force_recovery\",\"name\":\"innodb_force_recovery\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8000000\",\"description\":\"The memory allocated, in bytes, for the InnoDB FULLTEXT search index cache, which holds a parsed document in memory while creating an InnoDB FULLTEXT index.\",\"defaultValue\":\"8000000\",\"dataType\":\"Integer\",\"allowedValues\":\"1600000-80000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_ft_cache_size\",\"name\":\"innodb_ft_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Whether to enable additional full-text search (FTS) diagnostic output. This option is primarily intended for advanced FTS debugging and will not be of interest to most users. Output is printed to the error log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_ft_enable_diag_print\",\"name\":\"innodb_ft_enable_diag_print\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Specifies that a set of stopwords is associated with an InnoDB FULLTEXT index at the time the index is created.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_ft_enable_stopword\",\"name\":\"innodb_ft_enable_stopword\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"84\",\"description\":\"Maximum character length of words that are stored in an InnoDB FULLTEXT index.\",\"defaultValue\":\"84\",\"dataType\":\"Integer\",\"allowedValues\":\"10-84\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_ft_max_token_size\",\"name\":\"innodb_ft_max_token_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"3\",\"description\":\"Minimum length of words that are stored in an InnoDB FULLTEXT index.\",\"defaultValue\":\"3\",\"dataType\":\"Integer\",\"allowedValues\":\"0-16\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_ft_min_token_size\",\"name\":\"innodb_ft_min_token_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2000\",\"description\":\"Number of words to process during each OPTIMIZE TABLE operation on an InnoDB FULLTEXT index.\",\"defaultValue\":\"2000\",\"dataType\":\"Integer\",\"allowedValues\":\"1000-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_ft_num_word_optimize\",\"name\":\"innodb_ft_num_word_optimize\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2000000000\",\"description\":\"The InnoDB full-text search query result cache limit (defined in bytes) per full-text search query or per thread.\",\"defaultValue\":\"2000000000\",\"dataType\":\"Integer\",\"allowedValues\":\"1000000-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_ft_result_cache_limit\",\"name\":\"innodb_ft_result_cache_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"This option is used to specify your own InnoDB FULLTEXT index stopword list for all InnoDB tables.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_ft_server_stopword_table\",\"name\":\"innodb_ft_server_stopword_table\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Number of threads used in parallel to index and tokenize text in an InnoDB FULLTEXT index when building a search index.\",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"1-32\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_ft_sort_pll_degree\",\"name\":\"innodb_ft_sort_pll_degree\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"640000000\",\"description\":\"The total memory allocated, in bytes, for the InnoDB full-text search index cache for all tables.\",\"defaultValue\":\"640000000\",\"dataType\":\"Integer\",\"allowedValues\":\"32000000-1600000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_ft_total_cache_size\",\"name\":\"innodb_ft_total_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"This option is used to specify your own InnoDB FULLTEXT index stopword list on a specific table.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_ft_user_stopword_table\",\"name\":\"innodb_ft_user_stopword_table\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"Sets an upper limit on I/O activity performed by InnoDB background tasks, such as flushing pages from the buffer pool and merging data from the change buffer.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"100-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_io_capacity\",\"name\":\"innodb_io_capacity\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2000\",\"description\":\"If flushing activity falls behind, InnoDB can flush more aggressively than the limit imposed by innodb_io_capacity. innodb_io_capacity_max defines an upper limit the number of I/O operations performed per second by InnoDB background tasks in such situations.\",\"defaultValue\":\"2000\",\"dataType\":\"Integer\",\"allowedValues\":\"100-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_io_capacity_max\",\"name\":\"innodb_io_capacity_max\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"When this option is enabled, index key prefixes longer than 767 bytes (up to 3072 bytes) are allowed for InnoDB tables that use DYNAMIC or COMPRESSED row format.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_large_prefix\",\"name\":\"innodb_large_prefix\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"The length of time in seconds an InnoDB transaction waits for a row lock before giving up.\",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"1-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_lock_wait_timeout\",\"name\":\"innodb_lock_wait_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"16777216\",\"description\":\"The size in bytes of the buffer that InnoDB uses to write to the log files on disk.\",\"defaultValue\":\"16777216\",\"dataType\":\"Integer\",\"allowedValues\":\"1048576-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_log_buffer_size\",\"name\":\"innodb_log_buffer_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Enables or disables checksums for redo log pages.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_log_checksums\",\"name\":\"innodb_log_checksums\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Specifies whether images of re-compressed pages are written to the redo log.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_log_compressed_pages\",\"name\":\"innodb_log_compressed_pages\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"268435456\",\"description\":\"The size in bytes of each log file in a log group. The combined size of log files (innodb_log_file_size * innodb_log_files_in_group) cannot exceed a maximum value that is slightly less than 512GB.\",\"defaultValue\":\"268435456\",\"dataType\":\"Integer\",\"allowedValues\":\"268435456-137438953472\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_log_file_size\",\"name\":\"innodb_log_file_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8192\",\"description\":\"The write-ahead block size for the redo log, in bytes.\",\"defaultValue\":\"8192\",\"dataType\":\"Integer\",\"allowedValues\":\"512-16384\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_log_write_ahead_size\",\"name\":\"innodb_log_write_ahead_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"A parameter that influences the algorithms and heuristics for the flush operation for the InnoDB buffer pool.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"100-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_lru_scan_depth\",\"name\":\"innodb_lru_scan_depth\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"75\",\"description\":\"InnoDB tries to flush data from the buffer pool so that the percentage of dirty pages does not exceed this value.\",\"defaultValue\":\"75\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-99.99\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_max_dirty_pages_pct\",\"name\":\"innodb_max_dirty_pages_pct\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Defines a low water mark representing the percentage of dirty pages at which preflushing is enabled to control the dirty page ratio.\",\"defaultValue\":\"0\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-99.99\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_max_dirty_pages_pct_lwm\",\"name\":\"innodb_max_dirty_pages_pct_lwm\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Defines the maximum length of the purge queue. The default value of 0 indicates no limit (no delays).\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_max_purge_lag\",\"name\":\"innodb_max_purge_lag\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Specifies the maximum delay in microseconds for the delay imposed by the innodb_max_purge_lag configuration option.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-10000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_max_purge_lag_delay\",\"name\":\"innodb_max_purge_lag_delay\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1073741824\",\"description\":\"Defines a threshold size for undo tablespaces.\",\"defaultValue\":\"1073741824\",\"dataType\":\"Integer\",\"allowedValues\":\"10485760-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_max_undo_log_size\",\"name\":\"innodb_max_undo_log_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Disables InnoDB metrics counters. Counter data may be queried using the INFORMATION_SCHEMA.INNODB_METRICS table.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_monitor_disable\",\"name\":\"innodb_monitor_disable\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Enables InnoDB metrics counters.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_monitor_enable\",\"name\":\"innodb_monitor_enable\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Resets the count value for InnoDB metrics counters to zero.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_monitor_reset\",\"name\":\"innodb_monitor_reset\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Resets all values (minimum, maximum, and so on) for InnoDB metrics counters.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_monitor_reset_all\",\"name\":\"innodb_monitor_reset_all\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"37\",\"description\":\"Specifies the approximate percentage of the InnoDB buffer pool used for the old block sublist.\",\"defaultValue\":\"37\",\"dataType\":\"Integer\",\"allowedValues\":\"5-95\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_old_blocks_pct\",\"name\":\"innodb_old_blocks_pct\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1000\",\"description\":\"Non-zero values protect against the buffer pool being filled by data that is referenced only for a brief period, such as during a full table scan.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_old_blocks_time\",\"name\":\"innodb_old_blocks_time\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"134217728\",\"description\":\"Specifies an upper limit on the size of the temporary log files used during online DDL operations for InnoDB tables.\",\"defaultValue\":\"134217728\",\"dataType\":\"Integer\",\"allowedValues\":\"65536-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_online_alter_log_max_size\",\"name\":\"innodb_online_alter_log_max_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"This configuration option is only relevant if you use multiple InnoDB tablespaces. It specifies the maximum number of .ibd files that MySQL can keep open at one time.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1,10-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_open_files\",\"name\":\"innodb_open_files\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Changes the way OPTIMIZE TABLE operates on InnoDB tables. Intended to be enabled temporarily, during maintenance operations for InnoDB tables with FULLTEXT indexes.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_optimize_fulltext_only\",\"name\":\"innodb_optimize_fulltext_only\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"The number of page cleaner threads that flush dirty pages from buffer pool instances.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"1-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_page_cleaners\",\"name\":\"innodb_page_cleaners\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"16384\",\"description\":\"Specifies the page size for all InnoDB tablespaces in a MySQL instance.\",\"defaultValue\":\"16384\",\"dataType\":\"Enumeration\",\"allowedValues\":\"4096,8192,16384,32768,65536\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_page_size\",\"name\":\"innodb_page_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"When this option is enabled, information about all deadlocks in InnoDB user transactions is recorded in the mysqld error log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_print_all_deadlocks\",\"name\":\"innodb_print_all_deadlocks\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"300\",\"description\":\"Defines the number of undo log pages that purge parses and processes in one batch from the history list.\",\"defaultValue\":\"300\",\"dataType\":\"Integer\",\"allowedValues\":\"1-5000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_purge_batch_size\",\"name\":\"innodb_purge_batch_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"128\",\"description\":\"Defines the frequency with which the purge system frees rollback segments in terms of the number of times that purge is invoked. Reducing this value increases the frequency with which the purge thread frees rollback segments.\",\"defaultValue\":\"128\",\"dataType\":\"Integer\",\"allowedValues\":\"1-128\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_purge_rseg_truncate_frequency\",\"name\":\"innodb_purge_rseg_truncate_frequency\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"The number of background threads devoted to the InnoDB purge operation.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"1-32\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_purge_threads\",\"name\":\"innodb_purge_threads\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Enables the random read-ahead technique for optimizing InnoDB I/O.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_random_read_ahead\",\"name\":\"innodb_random_read_ahead\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"56\",\"description\":\"Controls the sensitivity of linear read-ahead that InnoDB uses to prefetch pages into the buffer pool.\",\"defaultValue\":\"56\",\"dataType\":\"Integer\",\"allowedValues\":\"0-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_read_ahead_threshold\",\"name\":\"innodb_read_ahead_threshold\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"The number of I/O threads for read operations in InnoDB.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"1-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_read_io_threads\",\"name\":\"innodb_read_io_threads\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Starts InnoDB in read-only mode. \",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_read_only\",\"name\":\"innodb_read_only\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The replication thread delay in milliseconds on a slave server if innodb_thread_concurrency is reached.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_replication_delay\",\"name\":\"innodb_replication_delay\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"InnoDB rolls back only the last statement on a transaction timeout by default. If --innodb_rollback_on_timeout is specified, a transaction timeout causes InnoDB to abort and roll back the entire transaction.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_rollback_on_timeout\",\"name\":\"innodb_rollback_on_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"128\",\"description\":\"Defines the number of rollback segments used by InnoDB.\",\"defaultValue\":\"128\",\"dataType\":\"Integer\",\"allowedValues\":\"1-128\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_rollback_segments\",\"name\":\"innodb_rollback_segments\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1048576\",\"description\":\"Specifies the sizes of several buffers used for sorting data during creation of an InnoDB index.\",\"defaultValue\":\"1048576\",\"dataType\":\"Integer\",\"allowedValues\":\"65536-67108864\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_sort_buffer_size\",\"name\":\"innodb_sort_buffer_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"6\",\"description\":\"The maximum delay between polls for a spin lock. \",\"defaultValue\":\"6\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_spin_wait_delay\",\"name\":\"innodb_spin_wait_delay\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Causes InnoDB to automatically recalculate persistent statistics after the data in a table is changed substantially.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_stats_auto_recalc\",\"name\":\"innodb_stats_auto_recalc\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\" Enabled to ensure that InnoDB includes delete-marked records when calculating persistent optimizer statistics.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_stats_include_delete_marked\",\"name\":\"innodb_stats_include_delete_marked\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"nulls_equal\",\"description\":\"How the server treats NULL values when collecting statistics about the distribution of index values for InnoDB tables.\",\"defaultValue\":\"nulls_equal\",\"dataType\":\"Enumeration\",\"allowedValues\":\"nulls_equal,nulls_unequal,nulls_ignored\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_stats_method\",\"name\":\"innodb_stats_method\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This option only applies when optimizer statistics are configured to be non-persistent. When innodb_stats_on_metadata is enabled, InnoDB updates non-persistent statistics when metadata statements such as SHOW TABLE STATUS or when accessing the INFORMATION_SCHEMA.TABLES or INFORMATION_SCHEMA.STATISTICS tables.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_stats_on_metadata\",\"name\":\"innodb_stats_on_metadata\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Specifies whether InnoDB index statistics are persisted to disk. Otherwise, statistics may be recalculated frequently which can lead to variations in query execution plans.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_stats_persistent\",\"name\":\"innodb_stats_persistent\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"20\",\"description\":\"The number of index pages to sample when estimating cardinality and other statistics for an indexed column, such as those calculated by ANALYZE TABLE.\",\"defaultValue\":\"20\",\"dataType\":\"Integer\",\"allowedValues\":\"1-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_stats_persistent_sample_pages\",\"name\":\"innodb_stats_persistent_sample_pages\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"The number of index pages to sample when estimating cardinality and other statistics for an indexed column, such as those calculated by ANALYZE TABLE.\",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"1-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_stats_transient_sample_pages\",\"name\":\"innodb_stats_transient_sample_pages\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Enables or disables periodic output for the standard InnoDB Monitor.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_status_output\",\"name\":\"innodb_status_output\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Enables or disables the InnoDB Lock Monitor.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_status_output_locks\",\"name\":\"innodb_status_output_locks\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"When innodb_strict_mode is enabled, InnoDB returns errors rather than warnings for certain conditions.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_strict_mode\",\"name\":\"innodb_strict_mode\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Enables two phase commit in XA transactions\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_support_xa\",\"name\":\"innodb_support_xa\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Defines the size of the mutex/lock wait array. Increasing the value splits the internal data structure used to coordinate threads, for higher concurrency in workloads with large numbers of waiting threads. \",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"1-1024\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_sync_array_size\",\"name\":\"innodb_sync_array_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"30\",\"description\":\"The number of times a thread waits for an InnoDB mutex to be freed before the thread is suspended.\",\"defaultValue\":\"30\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_sync_spin_loops\",\"name\":\"innodb_sync_spin_loops\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"The default value of innodb_table_locks is 1, which means that LOCK TABLES causes InnoDB to lock a table internally if autocommit = 0.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_table_locks\",\"name\":\"innodb_table_locks\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ibtmp1:12M:autoextend\",\"description\":\"Specifies the path, file name, and file size for InnoDB temporary tablespace data files.\",\"defaultValue\":\"ibtmp1:12M:autoextend\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_temp_data_file_path\",\"name\":\"innodb_temp_data_file_path\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"InnoDB tries to keep the number of operating system threads concurrently inside InnoDB less than or equal to the limit given by this variable.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_thread_concurrency\",\"name\":\"innodb_thread_concurrency\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10000\",\"description\":\"Defines how long InnoDB threads sleep before joining the InnoDB queue, in microseconds.\",\"defaultValue\":\"10000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_thread_sleep_delay\",\"name\":\"innodb_thread_sleep_delay\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"/app/work/temp\",\"description\":\"Used to define an alternate directory for temporary sort files created during online ALTER TABLE operations that rebuild the table.\",\"defaultValue\":\"/app/work/temp\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_tmpdir\",\"name\":\"innodb_tmpdir\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"When enabled, undo tablespaces that exceed the threshold value defined by innodb_max_undo_log_size are marked for truncation.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_undo_log_truncate\",\"name\":\"innodb_undo_log_truncate\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"128\",\"description\":\"Defines how many of the rollback segments in the system tablespace that InnoDB uses within a transaction.\",\"defaultValue\":\"128\",\"dataType\":\"Integer\",\"allowedValues\":\"1-128\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_undo_logs\",\"name\":\"innodb_undo_logs\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The number of tablespace files that the undo logs are divided between, when you use a non-zero innodb_undo_logs setting.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-95\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_undo_tablespaces\",\"name\":\"innodb_undo_tablespaces\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Controls whether or not MySQL uses Linux native asynchronous IO.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_use_native_aio\",\"name\":\"innodb_use_native_aio\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"The number of I/O threads for write operations in InnoDB.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"1-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/innodb_write_io_threads\",\"name\":\"innodb_write_io_threads\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"28800\",\"description\":\"Number of seconds the server waits for activity on an interactive connection before closing it.\",\"defaultValue\":\"28800\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/interactive_timeout\",\"name\":\"interactive_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"INNODB\",\"description\":\"The storage engine for on-disk internal temporary tables \",\"defaultValue\":\"INNODB\",\"dataType\":\"Enumeration\",\"allowedValues\":\"INNODB,MYISAM\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/internal_tmp_disk_storage_engine\",\"name\":\"internal_tmp_disk_storage_engine\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"262144\",\"description\":\"The minimum size of the buffer that is used for plain index scans, range index scans, and joins that do not use indexes and thus perform full table scans.\",\"defaultValue\":\"262144\",\"dataType\":\"Integer\",\"allowedValues\":\"128-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/join_buffer_size\",\"name\":\"join_buffer_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Suppress behavior to overwrite MyISAM file created in DATA DIRECTORY or INDEX DIRECTORY.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/keep_files_on_create\",\"name\":\"keep_files_on_create\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8388608\",\"description\":\"Increase the buffer size to get better index handling used for index blocks (for all reads and multiple writes).\",\"defaultValue\":\"8388608\",\"dataType\":\"Integer\",\"allowedValues\":\"8-9223372036854771712\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/key_buffer_size\",\"name\":\"key_buffer_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"300\",\"description\":\"Controls the demotion of buffers from the hot sub-chain of a key cache to the warm sub-chain. Lower values cause demotion to happen more quickly.\",\"defaultValue\":\"300\",\"dataType\":\"Integer\",\"allowedValues\":\"100-18446744073709547520\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/key_cache_age_threshold\",\"name\":\"key_cache_age_threshold\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"Size in bytes of blocks in the key cache.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"512-16384\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/key_cache_block_size\",\"name\":\"key_cache_block_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"The division point between the hot and warm sub-chains of the key cache buffer chain. The value is the percentage of the buffer chain to use for the warm sub-chain.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"1-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/key_cache_division_limit\",\"name\":\"key_cache_division_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"en_US\",\"description\":\"This variable specifies the locale that controls the language used to display day and month names and abbreviations.\",\"defaultValue\":\"en_US\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ar_AE,ar_BH,ar_DZ,ar_EG,ar_IN,ar_IQ,ar_JO,ar_KW,ar_LB,ar_LY,ar_MA,ar_OM,ar_QA,ar_SA,ar_SD,ar_SY,ar_TN,ar_YE,be_BY,bg_BG,ca_ES,cs_CZ,da_DK,de_AT,de_BE,de_CH,de_DE,de_LU,el_GR,en_AU,en_CA,en_GB,en_IN,en_NZ,en_PH,en_US,en_ZA,en_ZW,es_AR,es_BO,es_CL,es_CO,es_CR,es_DO,es_EC,es_ES,es_GT,es_HN,es_MX,es_NI,es_PA,es_PE,es_PR,es_PY,es_SV,es_US,es_UY,es_VE,et_EE,eu_ES,fi_FI,fo_FO,fr_BE,fr_CA,fr_CH,fr_FR,fr_LU,gl_ES,gu_IN,he_IL,hi_IN,hr_HR,hu_HU,id_ID,is_IS,it_CH,it_IT,ja_JP,ko_KR,lt_LT,lv_LV,mk_MK,mn_MN,ms_MY,nb_NO,nl_BE,nl_NL,no_NO,pl_PL,pt_BR,pt_PT,ro_RO,ru_RU,ru_UA,sk_SK,sl_SI,sq_AL,sr_RS,sv_FI,sv_SE,ta_IN,te_IN,th_TH,tr_TR,uk_UA,ur_PK,vi_VN,zh_CN,zh_HK,zh_TW\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/lc_time_names\",\"name\":\"lc_time_names\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"This variable controls server-side LOCAL capability for LOAD DATA statements.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/local_infile\",\"name\":\"local_infile\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"31536000\",\"description\":\"This variable specifies the timeout in seconds for attempts to acquire metadata locks.\",\"defaultValue\":\"31536000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/lock_wait_timeout\",\"name\":\"lock_wait_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Whether binlog is enabled or not. When set to ON, it will be replaced with binlog folder /app/work/binlogs. Otherwise, it will not be introduced in my.ini.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/log_bin\",\"name\":\"log_bin\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This variable applies when binary logging is enabled. It controls whether stored function creators can be trusted not to create stored functions that will cause unsafe events to be written to the binary log. It cannot be updated any more for a master/replica server to keep the replication consistency.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/log_bin_trust_function_creators\",\"name\":\"log_bin_trust_function_creators\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Whether MySQL writes binary log events using a Version 1 or Version 2 logging events\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/log_bin_use_v1_row_events\",\"name\":\"log_bin_use_v1_row_events\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Whether to log CREATE/ALTER USER, GRANT in backward-compatible fashion\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/log_builtin_as_identified_by_password\",\"name\":\"log_builtin_as_identified_by_password\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"NONE\",\"description\":\"The destination for general query log and slow query log output.\",\"defaultValue\":\"NONE\",\"dataType\":\"Set\",\"allowedValues\":\"FILE,NONE\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/log_output\",\"name\":\"log_output\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Logs queries that are expected to retrieve all rows to slow query log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/log_queries_not_using_indexes\",\"name\":\"log_queries_not_using_indexes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Normally, a slave does not write to its own binary log any updates that are received from a master server. This option causes the slave to write the updates performed by its SQL thread to its own binary log.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/log_slave_updates\",\"name\":\"log_slave_updates\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Include slow administrative statements in the statements written to the slow query log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/log_slow_admin_statements\",\"name\":\"log_slow_admin_statements\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"When the slow query log is enabled, this variable enables logging for queries that have taken more than long_query_time seconds to execute on the slave.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/log_slow_slave_statements\",\"name\":\"log_slow_slave_statements\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"If error 1592 is encountered, controls whether the generated warnings are added to the error log or not.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/log_statements_unsafe_for_binlog\",\"name\":\"log_statements_unsafe_for_binlog\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Whether to write error log output to syslog.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/log_syslog\",\"name\":\"log_syslog\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"daemon\",\"description\":\"The facility for error log output written to syslog (what type of program is sending the message).\",\"defaultValue\":\"daemon\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/log_syslog_facility\",\"name\":\"log_syslog_facility\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Whether to include the server process ID in each line of error log output written to syslog.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/log_syslog_include_pid\",\"name\":\"log_syslog_include_pid\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"The tag to be added to the server identifier in error log output written to syslog.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/log_syslog_tag\",\"name\":\"log_syslog_tag\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Limits the number of such queries per minute that can be written to the slow query log.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/log_throttle_queries_not_using_indexes\",\"name\":\"log_throttle_queries_not_using_indexes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"UTC\",\"description\":\"This variable controls the timestamp time zone of error log messages, and of general query log and slow query log messages written to files.\",\"defaultValue\":\"UTC\",\"dataType\":\"Enumeration\",\"allowedValues\":\"UTC,SYSTEM\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/log_timestamps\",\"name\":\"log_timestamps\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Whether to produce additional warning messages to the error log.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/log_warnings\",\"name\":\"log_warnings\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"If a query takes longer than this many seconds, the server increments the Slow_queries status variable.\",\"defaultValue\":\"10\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/long_query_time\",\"name\":\"long_query_time\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"INSERT, UPDATE, DELETE, and LOCK TABLE WRITE wait until no pending SELECT. Affects only storage engines that use only table-level locking (MyISAM, MEMORY, MERGE).\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/low_priority_updates\",\"name\":\"low_priority_updates\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"If set to 1, table names are stored in lowercase on disk and comparisons are not case sensitive. If set to 2, table names are stored as given but compared in lowercase.\",\"defaultValue\":\"1\",\"dataType\":\"Enumeration\",\"allowedValues\":\"0,1\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/lower_case_table_names\",\"name\":\"lower_case_table_names\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"TABLE\",\"description\":\"The setting of this variable determines whether the slave logs master status and connection information to a FILE (master.info), or to a TABLE (mysql.slave_master_info).\",\"defaultValue\":\"TABLE\",\"dataType\":\"Enumeration\",\"allowedValues\":\"FILE,TABLE\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/master_info_repository\",\"name\":\"master_info_repository\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Enabling this variable causes the master to examine checksums when reading from the binary log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/master_verify_checksum\",\"name\":\"master_verify_checksum\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"536870912\",\"description\":\"The maximum size of one packet or any generated/intermediate string, or any parameter sent by the mysql_stmt_send_long_data() C API function.\",\"defaultValue\":\"536870912\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/max_allowed_packet\",\"name\":\"max_allowed_packet\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"18446744073709551615\",\"description\":\"If a transaction requires more than this many bytes of memory, the server generates a Multi-statement transaction required more than \u0027max_binlog_cache_size\u0027 bytes of storage error.\",\"defaultValue\":\"18446744073709551615\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/max_binlog_cache_size\",\"name\":\"max_binlog_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"104857600\",\"description\":\"If a write to the binary log causes the current log file size to exceed the value of this variable, the server rotates the binary logs (closes the current file and opens the next one).\",\"defaultValue\":\"104857600\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/max_binlog_size\",\"name\":\"max_binlog_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"18446744073709547520\",\"description\":\"If nontransactional statements within a transaction require more than this many bytes of memory, the server generates an error.\",\"defaultValue\":\"18446744073709547520\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-18446744073709547520\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/max_binlog_stmt_cache_size\",\"name\":\"max_binlog_stmt_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"If more than this many successive connection requests from a host are interrupted without a successful connection, the server blocks that host from further connections.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/max_connect_errors\",\"name\":\"max_connect_errors\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"171\",\"description\":\"The maximum permitted number of simultaneous client connections.\",\"defaultValue\":\"171\",\"dataType\":\"Integer\",\"allowedValues\":\"10-341\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/max_connections\",\"name\":\"max_connections\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"20\",\"description\":\"Do not start more than this number of threads to handle INSERT DELAYED statements.\",\"defaultValue\":\"20\",\"dataType\":\"Integer\",\"allowedValues\":\"0-16384\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/max_delayed_threads\",\"name\":\"max_delayed_threads\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"The maximum number of bytes available for computing normalized statement digests.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/max_digest_length\",\"name\":\"max_digest_length\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"The maximum number of error, warning, and note messages to be stored for display by the SHOW ERRORS and SHOW WARNINGS statements.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"0-65535\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/max_error_count\",\"name\":\"max_error_count\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The execution timeout for SELECT statements, in milliseconds. If the value is 0, timeouts are not enabled.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/max_execution_time\",\"name\":\"max_execution_time\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"16777216\",\"description\":\"This variable sets the maximum size to which user-created MEMORY tables are permitted to grow.\",\"defaultValue\":\"16777216\",\"dataType\":\"Integer\",\"allowedValues\":\"16384-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/max_heap_table_size\",\"name\":\"max_heap_table_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"18446744073709551615\",\"description\":\"Do not permit statements that probably need to examine more than max_join_size rows\",\"defaultValue\":\"18446744073709551615\",\"dataType\":\"Integer\",\"allowedValues\":\"1-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/max_join_size\",\"name\":\"max_join_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"The cutoff on the size of index values that determines which filesort algorithm to use.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"4-8388608\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/max_length_for_sort_data\",\"name\":\"max_length_for_sort_data\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"65536\",\"description\":\"The maximum value of the points_per_circle argument to the ST_Buffer_Strategy() function.\",\"defaultValue\":\"65536\",\"dataType\":\"Integer\",\"allowedValues\":\"3-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/max_points_in_geometry\",\"name\":\"max_points_in_geometry\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"16382\",\"description\":\"This variable limits the total number of prepared statements in the server.\",\"defaultValue\":\"16382\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/max_prepared_stmt_count\",\"name\":\"max_prepared_stmt_count\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"104857600\",\"description\":\"The size at which the server rotates relay log files automatically. If this value is nonzero, the relay log is rotated automatically when its size exceeds this value. If this value is zero (the default), the size at which relay log rotation occurs is determined by the value of max_binlog_size.\",\"defaultValue\":\"104857600\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/max_relay_log_size\",\"name\":\"max_relay_log_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4294967295\",\"description\":\"Limit the assumed maximum number of seeks when looking up rows based on a key.\",\"defaultValue\":\"4294967295\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/max_seeks_for_key\",\"name\":\"max_seeks_for_key\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"The number of bytes to use when sorting data values.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"4-8388608\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/max_sort_length\",\"name\":\"max_sort_length\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The number of times that any given stored procedure may be called recursively. The default value for this option is 0, which completely disables recursion in stored procedures.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-255\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/max_sp_recursion_depth\",\"name\":\"max_sp_recursion_depth\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"32\",\"description\":\"The maximum number of temporary tables a client can keep open at the same time.\",\"defaultValue\":\"32\",\"dataType\":\"Integer\",\"allowedValues\":\"1-9223372036854775807\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/max_tmp_tables\",\"name\":\"max_tmp_tables\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The maximum number of simultaneous connections permitted to any given MySQL user account. A value of 0 (the default) means \u0027no limit.\u0027\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/max_user_connections\",\"name\":\"max_user_connections\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4294967295\",\"description\":\"After this many write locks, permit some pending read lock requests to be processed in between.\",\"defaultValue\":\"4294967295\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/max_write_lock_count\",\"name\":\"max_write_lock_count\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"The size of the metadata locks cache\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"1-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/metadata_locks_cache_size\",\"name\":\"metadata_locks_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Can be used to cause queries which examine fewer than the stated number of rows not to be logged.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/min_examined_row_limit\",\"name\":\"min_examined_row_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This variable controls whether the mysql_native_password built-in authentication plugin supports proxy users.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/mysql_native_password_proxy_users\",\"name\":\"mysql_native_password_proxy_users\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"16384\",\"description\":\"Each client thread is associated with a connection buffer and result buffer. Both begin with a size given by net_buffer_length but are dynamically enlarged up to max_allowed_packet bytes as needed.\",\"defaultValue\":\"16384\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/net_buffer_length\",\"name\":\"net_buffer_length\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"120\",\"description\":\"The number of seconds the server waits for network reading action, especially for LOAD DATA LOCAL FILE.\",\"defaultValue\":\"120\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/net_read_timeout\",\"name\":\"net_read_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"If a read or write on a communication port is interrupted, retry this many times before giving up.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/net_retry_count\",\"name\":\"net_retry_count\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"240\",\"description\":\"The number of seconds the server waits for network writing action, especially for LOAD DATA LOCAL FILE.\",\"defaultValue\":\"240\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/net_write_timeout\",\"name\":\"net_write_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Defines the n-gram token size for the n-gram full-text parser. \",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/ngram_token_size\",\"name\":\"ngram_token_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"In offline mode, clients that are refused access receive an ER_SERVER_OFFLINE_MODE error.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/offline_mode\",\"name\":\"offline_mode\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Force the server to generate short (pre-4.1) password hashes for new passwords. This is useful for compatibility when the server must support older client programs.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0,2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/old_passwords\",\"name\":\"old_passwords\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"5000\",\"description\":\"The number of files that the operating system permits mysqld to open.\",\"defaultValue\":\"5000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/open_files_limit\",\"name\":\"open_files_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Controls the heuristics applied during query optimization to prune less-promising partial plans from the optimizer search space.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0,1\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/optimizer_prune_level\",\"name\":\"optimizer_prune_level\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"62\",\"description\":\"The maximum depth of search performed by the query optimizer.\",\"defaultValue\":\"62\",\"dataType\":\"Integer\",\"allowedValues\":\"0-62\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/optimizer_search_depth\",\"name\":\"optimizer_search_depth\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"default\",\"description\":\"The value of this variable is a set of flags, each of which has a value of on or off to indicate whether the corresponding optimizer behavior is enabled or disabled.\",\"defaultValue\":\"default\",\"dataType\":\"Set\",\"allowedValues\":\"default,batched_key_access=on,batched_key_access=off,block_nested_loop=on,block_nested_loop=off,condition_fanout_filter=on,condition_fanout_filter=off,derived_merge=on,derived_merge=off,duplicateweedout=on,duplicateweedout=off,engine_condition_pushdown=on,engine_condition_pushdown=off,firstmatch=on,firstmatch=off,index_condition_pushdown=on,index_condition_pushdown=off,index_merge=on,index_merge=off,index_merge_intersection=on,index_merge_intersection=off,index_merge_sort_union=on,index_merge_sort_union=off,index_merge_union=on,index_merge_union=off,loosescan=on,loosescan=off,materialization=on,materialization=off,mrr=on,mrr=off,mrr_cost_based=on,mrr_cost_based=off,semijoin=on,semijoin=off,subquery_materialization_cost_based=on,subquery_materialization_cost_based=off,use_index_extensions=on,use_index_extensions=off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/optimizer_switch\",\"name\":\"optimizer_switch\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"enabled=off,one_line=off\",\"description\":\"Controls how statements are traced.\",\"defaultValue\":\"enabled=off,one_line=off\",\"dataType\":\"Set\",\"allowedValues\":\"default,enabled=on,enabled=off,one_line=on,one_line=off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/optimizer_trace\",\"name\":\"optimizer_trace\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"greedy_search=on,range_optimizer=on,dynamic_range=on,repeated_subselect=on\",\"description\":\"Controls optimizations during statement tracing.\",\"defaultValue\":\"greedy_search=on,range_optimizer=on,dynamic_range=on,repeated_subselect=on\",\"dataType\":\"Set\",\"allowedValues\":\"default,greedy_search=on,greedy_search=off,range_optimizer=on,range_optimizer=off,dynamic_range=on,dynamic_range=off,repeated_subselect=on,repeated_subselect=off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/optimizer_trace_features\",\"name\":\"optimizer_trace_features\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Controls the limit on trace retention.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"1-9223372036854775807\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/optimizer_trace_limit\",\"name\":\"optimizer_trace_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"16384\",\"description\":\"Maximum allowed cumulated size of stored optimizer traces\",\"defaultValue\":\"16384\",\"dataType\":\"Integer\",\"allowedValues\":\"0-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/optimizer_trace_max_mem_size\",\"name\":\"optimizer_trace_max_mem_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Controls the offset on trace retention.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-9223372036854770000-9223372036854770000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/optimizer_trace_offset\",\"name\":\"optimizer_trace_offset\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"18446744073709551615\",\"description\":\"The maximum amount of memory available to the parser.\",\"defaultValue\":\"18446744073709551615\",\"dataType\":\"Integer\",\"allowedValues\":\"10000000-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/parser_max_mem_size\",\"name\":\"parser_max_mem_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"The value of this variable is ON or OFF to indicate whether the Performance Schema is enabled.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/performance_schema\",\"name\":\"performance_schema\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"80\",\"description\":\"The maximum number of condition instruments. \",\"defaultValue\":\"80\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/performance_schema_max_cond_classes\",\"name\":\"performance_schema_max_cond_classes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"80\",\"description\":\"The maximum number of file instruments. \",\"defaultValue\":\"80\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/performance_schema_max_file_classes\",\"name\":\"performance_schema_max_file_classes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"32768\",\"description\":\"The maximum number of opened file objects. \",\"defaultValue\":\"32768\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/performance_schema_max_file_handles\",\"name\":\"performance_schema_max_file_handles\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"320\",\"description\":\"The maximum number of memory instruments.\",\"defaultValue\":\"320\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1024\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/performance_schema_max_memory_classes\",\"name\":\"performance_schema_max_memory_classes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"The maximum number of mutex instruments. \",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/performance_schema_max_mutex_classes\",\"name\":\"performance_schema_max_mutex_classes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"40\",\"description\":\"The maximum number of rwlock instruments. \",\"defaultValue\":\"40\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/performance_schema_max_rwlock_classes\",\"name\":\"performance_schema_max_rwlock_classes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"The maximum number of socket instruments. \",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/performance_schema_max_socket_classes\",\"name\":\"performance_schema_max_socket_classes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"The maximum number of bytes used to store SQL statements in the SQL_TEXT column\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/performance_schema_max_sql_text_length\",\"name\":\"performance_schema_max_sql_text_length\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"150\",\"description\":\"The maximum number of stage instruments. \",\"defaultValue\":\"150\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/performance_schema_max_stage_classes\",\"name\":\"performance_schema_max_stage_classes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"The maximum depth of nested stored program calls for which the Performance Schema maintains statistics.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"1-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/performance_schema_max_statement_stack\",\"name\":\"performance_schema_max_statement_stack\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"The maximum number of thread instruments. \",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/performance_schema_max_thread_classes\",\"name\":\"performance_schema_max_thread_classes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Tells the server to load the named plugins at startup.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/plugin-load\",\"name\":\"plugin-load\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"32768\",\"description\":\"The size of the buffer that is allocated when preloading indexes.\",\"defaultValue\":\"32768\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/preload_buffer_size\",\"name\":\"preload_buffer_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"15\",\"description\":\"The number of statements for which to maintain profiling if profiling is enabled.\",\"defaultValue\":\"15\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/profiling_history_size\",\"name\":\"profiling_history_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8192\",\"description\":\"The allocation size of memory blocks that are allocated for objects created during statement parsing and execution.\",\"defaultValue\":\"8192\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/query_alloc_block_size\",\"name\":\"query_alloc_block_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1048576\",\"description\":\"Do not cache results that are larger than this number of bytes.\",\"defaultValue\":\"1048576\",\"dataType\":\"Integer\",\"allowedValues\":\"0-134217728\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/query_cache_limit\",\"name\":\"query_cache_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"The minimum size (in bytes) for blocks allocated by the query cache.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"512-131072\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/query_cache_min_res_unit\",\"name\":\"query_cache_min_res_unit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The amount of memory allocated for caching query results.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0,102400-134217728\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/query_cache_size\",\"name\":\"query_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Set the query cache type.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF,DEMAND\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/query_cache_type\",\"name\":\"query_cache_type\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Setting this variable to 1 causes acquisition of a WRITE lock for a table to invalidate any queries in the query cache that refer to the table.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/query_cache_wlock_invalidate\",\"name\":\"query_cache_wlock_invalidate\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8192\",\"description\":\"The size of the persistent buffer used for statement parsing and execution. This buffer is not freed between statements. If you are running complex queries, a larger value might be helpful in improving performance, because it can reduce the need for the server to perform memory allocation during query execution operations.\",\"defaultValue\":\"8192\",\"dataType\":\"Integer\",\"allowedValues\":\"8192-131072\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/query_prealloc_size\",\"name\":\"query_prealloc_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"The size of blocks that are allocated when doing range optimization.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-131072\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/range_alloc_block_size\",\"name\":\"range_alloc_block_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8388608\",\"description\":\"The limit on memory consumption for the range optimizer. A value of 0 means \u0027no limit.\u0027\",\"defaultValue\":\"8388608\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-134217728\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/range_optimizer_max_mem_size\",\"name\":\"range_optimizer_max_mem_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"131072\",\"description\":\"Each thread that does a sequential scan allocates this buffer. Increased value may help perf if performing many sequential scans.\",\"defaultValue\":\"131072\",\"dataType\":\"Integer\",\"allowedValues\":\"8200-2147479552\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/read_buffer_size\",\"name\":\"read_buffer_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This parameter controls whetherthe server permits no client updates. When the server is read replica or server storage is full, this parameter will not take effect.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/read_only\",\"name\":\"read_only\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"262144\",\"description\":\"Avoids disk reads when reading rows in sorted order following a key-sort operation. Large values can improve ORDER BY perf.\",\"defaultValue\":\"262144\",\"dataType\":\"Integer\",\"allowedValues\":\"8200-2147479552\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/read_rnd_buffer_size\",\"name\":\"read_rnd_buffer_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"/app/work/relaylogs/relay_bin\",\"description\":\"Relay log path.\",\"defaultValue\":\"/app/work/relaylogs/relay_bin\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/relay_log\",\"name\":\"relay_log\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"/app/work/relaylogs/relay_bin.index\",\"description\":\"Relay log index path.\",\"defaultValue\":\"/app/work/relaylogs/relay_bin.index\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/relay_log_index\",\"name\":\"relay_log_index\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"TABLE\",\"description\":\"This variable determines whether the slave\u0027s position in the relay logs is written to a FILE (relay-log.info) or to a TABLE (mysql.slave_relay_log_info).\",\"defaultValue\":\"TABLE\",\"dataType\":\"Enumeration\",\"allowedValues\":\"FILE,TABLE\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/relay_log_info_repository\",\"name\":\"relay_log_info_repository\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Disable or enable automatic purging of relay logs as soon as they are no longer needed.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/relay_log_purge\",\"name\":\"relay_log_purge\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Enables automatic relay log recovery immediately following server startup.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/relay_log_recovery\",\"name\":\"relay_log_recovery\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1073741824\",\"description\":\"This option places an upper limit on the total size in bytes of all relay logs on the slave.\",\"defaultValue\":\"1073741824\",\"dataType\":\"Integer\",\"allowedValues\":\"1073741824-3221225472\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/relay_log_space_limit\",\"name\":\"relay_log_space_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"mysql.%\",\"description\":\"Creates a replication filter which keeps the slave thread from replicating a statement in which any table matches the given wildcard pattern. To specify more than one table to ignore, use comma-separated list.\",\"defaultValue\":\"mysql.%\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/replicate_wild_ignore_table\",\"name\":\"replicate_wild_ignore_table\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Whether client connections to the server are required to use some form of secure transport. When this variable is enabled, the server permits only TCP/IP connections that use SSL, or connections that use a socket file (on Unix) or shared memory (on Windows). \",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/require_secure_transport\",\"name\":\"require_secure_transport\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"31536000\",\"description\":\"In MySQL 5.6.13 and later, you can control the length of time (in seconds) that STOP SLAVE waits before timing out by setting this variable.\",\"defaultValue\":\"31536000\",\"dataType\":\"Integer\",\"allowedValues\":\"2-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/rpl_stop_slave_timeout\",\"name\":\"rpl_stop_slave_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Blocks connections from all accounts that have passwords stored in the old (pre-4.1) format.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/secure_auth\",\"name\":\"secure_auth\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"This variable is used to limit the effect of data import and export operations, such as those performed by the LOAD DATA and SELECT ... INTO OUTFILE statements and the LOAD_FILE() function.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/secure_file_priv\",\"name\":\"secure_file_priv\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1236947509\",\"description\":\"The server ID, used in replication to give each master and slave a unique identity.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"1000-4294967295\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/server_id\",\"name\":\"server_id\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Controls whether the server tracks changes to the default schema (database) name within the current session and makes this information available to the client when changes occur.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/session_track_schema\",\"name\":\"session_track_schema\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Controls whether the server tracks changes to the state of the current session and notifies the client when state changes occur.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/session_track_state_change\",\"name\":\"session_track_state_change\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"time_zone, autocommit, character_set_client, character_set_results, character_set_connection\",\"description\":\"Controls whether the server tracks changes to the session system variables and makes this information available to the client when changes occur.\",\"defaultValue\":\"time_zone, autocommit, character_set_client, character_set_results, character_set_connection\",\"dataType\":\"Set\",\"allowedValues\":\"time_zone,autocommit,character_set_client,character_set_results,character_set_connection\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/session_track_system_variables\",\"name\":\"session_track_system_variables\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Track changes to the transaction attributes.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"OFF,STATE,CHARACTERISTICS\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/session_track_transaction_info\",\"name\":\"session_track_transaction_info\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Controls whether the server autogenerates RSA private/public key-pair files in the data directory.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/sha256_password_auto_generate_rsa_keys\",\"name\":\"sha256_password_auto_generate_rsa_keys\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Controls whether the sha256_password built-in authentication plugin supports proxy users.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/sha256_password_proxy_users\",\"name\":\"sha256_password_proxy_users\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Affects whether MySQL 5.6 compatibility is enabled with respect to how system and status variable information is provided by the INFORMATION_SCHEMA and Performance Schema tables, and also by the SHOW VARIABLES and SHOW STATUS statements.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/show_compatibility_56\",\"name\":\"show_compatibility_56\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Whether SHOW CREATE TABLE output includes comments to flag temporal columns found to be in pre-5.6.4 format.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/show_old_temporals\",\"name\":\"show_old_temporals\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Uses OS locking instead of internal\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/skip_external_locking\",\"name\":\"skip_external_locking\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Host names are not resolved. All Host column values in the grant tables must be IP numbers or localhost.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/skip_name_resolve\",\"name\":\"skip_name_resolve\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This prevents people from using the SHOW DATABASES statement if they do not have the SHOW DATABASES privilege. \",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/skip_show_database\",\"name\":\"skip_show_database\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"False\",\"description\":\"Tells the slave server not to start the slave threads when the server starts.\",\"defaultValue\":\"False\",\"dataType\":\"Enumeration\",\"allowedValues\":\"TRUE,FALSE\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/skip-slave-start\",\"name\":\"skip-slave-start\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Whether or not batched updates are enabled on replication slaves.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/slave_allow_batching\",\"name\":\"slave_allow_batching\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"512\",\"description\":\"Sets the maximum number of transactions that can be processed by a multi-threaded slave before a checkpoint operation is called to update its status as shown by SHOW SLAVE STATUS.\",\"defaultValue\":\"512\",\"dataType\":\"Integer\",\"allowedValues\":\"32-524280\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/slave_checkpoint_group\",\"name\":\"slave_checkpoint_group\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"300\",\"description\":\"Sets the maximum time (in milliseconds) that is allowed to pass before a checkpoint operation is called to update the status of a multi-threaded slave as shown by SHOW SLAVE STATUS.\",\"defaultValue\":\"300\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/slave_checkpoint_period\",\"name\":\"slave_checkpoint_period\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Whether to use compression of the slave/master protocol if both the slave and the master support it.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/slave_compressed_protocol\",\"name\":\"slave_compressed_protocol\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"STRICT\",\"description\":\"Controls how a slave thread resolves conflicts and errors during replication.\",\"defaultValue\":\"STRICT\",\"dataType\":\"Enumeration\",\"allowedValues\":\"IDEMPOTENT,STRICT\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/slave_exec_mode\",\"name\":\"slave_exec_mode\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"/app/work/temp\",\"description\":\"The name of the directory where the slave creates temporary files.\",\"defaultValue\":\"/app/work/temp\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/slave_load_tmpdir\",\"name\":\"slave_load_tmpdir\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1073741824\",\"description\":\"In MySQL 5.6.6 and later, this option sets the maximum packet size in bytes for the slave SQL and I/O threads.\",\"defaultValue\":\"1073741824\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/slave_max_allowed_packet\",\"name\":\"slave_max_allowed_packet\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"60\",\"description\":\"The number of seconds to wait for more data from the master before the slave considers the connection broken, aborts the read, and tries to reconnect.\",\"defaultValue\":\"60\",\"dataType\":\"Integer\",\"allowedValues\":\"30-3600\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/slave_net_timeout\",\"name\":\"slave_net_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"LOGICAL_CLOCK\",\"description\":\"The policy used to decide which transactions are allowed to execute in parallel on the slave.\",\"defaultValue\":\"LOGICAL_CLOCK\",\"dataType\":\"Enumeration\",\"allowedValues\":\"DATABASE,LOGICAL_CLOCK\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/slave_parallel_type\",\"name\":\"slave_parallel_type\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Sets the number of slave worker threads for executing replication events (transactions) in parallel.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-512\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/slave_parallel_workers\",\"name\":\"slave_parallel_workers\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"16777216\",\"description\":\"For multithreaded slaves, this variable sets the maximum amount of memory (in bytes) available to slave worker queues holding events not yet applied.\",\"defaultValue\":\"16777216\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/slave_pending_jobs_size_max\",\"name\":\"slave_pending_jobs_size_max\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"For multi-threaded slaves, enabling this variable ensures that transactions are externalized on the slave in the same order as they appear in the slave\u0027s relay log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/slave_preserve_commit_order\",\"name\":\"slave_preserve_commit_order\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"TABLE_SCAN,INDEX_SCAN\",\"description\":\"When preparing batches of rows for row-based logging and replication, this variable controls how the rows are searched for matches???that is, whether or not hashing is used for searches using a primary or unique key, using some other key, or using no key at all.\",\"defaultValue\":\"TABLE_SCAN,INDEX_SCAN\",\"dataType\":\"Set\",\"allowedValues\":\"TABLE_SCAN,INDEX_SCAN,HASH_SCAN\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/slave_rows_search_algorithms\",\"name\":\"slave_rows_search_algorithms\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Normally, replication stops when an error occurs on the slave. This gives you the opportunity to resolve the inconsistency in the data manually.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"OFF,all,ddl_exist_errors\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/slave_skip_errors\",\"name\":\"slave_skip_errors\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"When this option is enabled, the slave examines checksums read from the relay log, in the event of a mismatch, the slave stops with an error.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/slave_sql_verify_checksum\",\"name\":\"slave_sql_verify_checksum\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"If a replication slave SQL thread fails to execute a transaction because of an InnoDB deadlock or because the transaction\u0027s execution time exceeded InnoDB\u0027s innodb_lock_wait_timeout or NDB\u0027s TransactionDeadlockDetectionTimeout or TransactionInactiveTimeout, it automatically retries slave_transaction_retries times before stopping with an error.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/slave_transaction_retries\",\"name\":\"slave_transaction_retries\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Controls the type conversion mode in effect on the slave when using row-based replication.\",\"defaultValue\":\"\",\"dataType\":\"Set\",\"allowedValues\":\",ALL_LOSSY,ALL_NON_LOSSY,ALL_SIGNED,ALL_UNSIGNED\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/slave_type_conversions\",\"name\":\"slave_type_conversions\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Increments Slow_launch_threads if creating thread takes longer than this many seconds.\",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"0-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/slow_launch_time\",\"name\":\"slow_launch_time\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Enable or disable the slow query log\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/slow_query_log\",\"name\":\"slow_query_log\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"/app/work/serverlogs/mysql-slow-mysql-test-100-2020111008.log\",\"description\":\"The name of the slow query log file.\",\"defaultValue\":\"mysql-slow.log\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/slow_query_log_file\",\"name\":\"slow_query_log_file\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"524288\",\"description\":\"Each session that must perform a sort allocates a buffer of this size.\",\"defaultValue\":\"524288\",\"dataType\":\"Integer\",\"allowedValues\":\"32768-33554432\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/sort_buffer_size\",\"name\":\"sort_buffer_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION\",\"description\":\"The current server SQL mode.\",\"defaultValue\":\"ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION\",\"dataType\":\"Set\",\"allowedValues\":\",ALLOW_INVALID_DATES,ANSI_QUOTES,ERROR_FOR_DIVISION_BY_ZERO,HIGH_NOT_PRECEDENCE,IGNORE_SPACE,NO_AUTO_CREATE_USER,NO_AUTO_VALUE_ON_ZERO,NO_BACKSLASH_ESCAPES,NO_DIR_IN_CREATE,NO_ENGINE_SUBSTITUTION,NO_FIELD_OPTIONS,NO_KEY_OPTIONS,NO_TABLE_OPTIONS,NO_UNSIGNED_SUBTRACTION,NO_ZERO_DATE,NO_ZERO_IN_DATE,ONLY_FULL_GROUP_BY,PAD_CHAR_TO_FULL_LENGTH,PIPES_AS_CONCAT,REAL_AS_FLOAT,STRICT_ALL_TABLES,STRICT_TRANS_TABLES\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/sql_mode\",\"name\":\"sql_mode\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"When set, tables must be created with a primary key, and an existing primary key cannot be removed with \u0027ALTER TABLE\u0027. Attempts to do so will result in an error\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON, OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/sql_require_primary_key\",\"name\":\"sql_require_primary_key\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384:DHE-RSA-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-RSA-AES128-CCM:DHE-RSA-AES256-CCM:DHE-RSA-AES128-CCM8:DHE-RSA-AES256-CCM8\",\"description\":\"The list of permissible ciphers for connection encryption. By default, the FIPS cipher suites for TLS 1.2 are enforced.\",\"defaultValue\":\"ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384:DHE-RSA-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-RSA-AES128-CCM:DHE-RSA-AES256-CCM:DHE-RSA-AES128-CCM8:DHE-RSA-AES256-CCM8\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/ssl_cipher\",\"name\":\"ssl_cipher\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"256\",\"description\":\"Sets a soft upper limit for the number of cached stored routines per connection.\",\"defaultValue\":\"256\",\"dataType\":\"Integer\",\"allowedValues\":\"16-524288\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/stored_program_cache\",\"name\":\"stored_program_cache\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This parameter controls the server prohibits client updates even from users who have SUPER.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/super_read_only\",\"name\":\"super_read_only\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"The size in bytes of the buffer that InnoDB uses to write to the log files on disk.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1024\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/sync_binlog\",\"name\":\"sync_binlog\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"If this variable is set to 1, when any nontemporary table is created its .frm file is synchronized to disk\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/sync_frm\",\"name\":\"sync_frm\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The effects of this variable on a replication slave depend on whether the slave\u0027s master_info_repository is set to FILE or TABLE\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/sync_master_info\",\"name\":\"sync_master_info\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"If the value of this variable is greater than 0, the MySQL server synchronizes its relay log to disk (using fdatasync()) after every sync_relay_log events are written to the relay log.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/sync_relay_log\",\"name\":\"sync_relay_log\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"The effects of this variable on the slave depend on the server\u0027s relay_log_info_repository setting (FILE or TABLE), and if this is TABLE, additionally on whether the storage engine used by the relay log info table is transactional (such as InnoDB) or not (MyISAM). \",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/sync_relay_log_info\",\"name\":\"sync_relay_log_info\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"600\",\"description\":\"The number of table definitions (from .frm files) that can be stored in the definition cache.\",\"defaultValue\":\"600\",\"dataType\":\"Integer\",\"allowedValues\":\"400-524288\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/table_definition_cache\",\"name\":\"table_definition_cache\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"600\",\"description\":\"The number of open tables for all threads.\",\"defaultValue\":\"600\",\"dataType\":\"Integer\",\"allowedValues\":\"1-160000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/table_open_cache\",\"name\":\"table_open_cache\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"The number of open tables cache instances.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"1-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/table_open_cache_instances\",\"name\":\"table_open_cache_instances\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"9\",\"description\":\"How many threads the server should cache for reuse. The default value is 8 + (max_connections / 100), capped to a limit of 100.\",\"defaultValue\":\"9\",\"dataType\":\"Integer\",\"allowedValues\":\"0-16384\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/thread_cache_size\",\"name\":\"thread_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"one-thread-per-connection\",\"description\":\"The thread-handling model used by the server for connection threads.\",\"defaultValue\":\"one-thread-per-connection\",\"dataType\":\"Enumeration\",\"allowedValues\":\"one-thread-per-connection,no-threads,pool-of-threads,loaded-dynamically\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/thread_handling\",\"name\":\"thread_handling\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"262144\",\"description\":\"The stack size for each thread.\",\"defaultValue\":\"262144\",\"dataType\":\"Integer\",\"allowedValues\":\"131072-2147483136\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/thread_stack\",\"name\":\"thread_stack\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"+00:00\",\"description\":\"The server time zone\",\"defaultValue\":\"+00:00\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/time_zone\",\"name\":\"time_zone\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"TLSv1.2\",\"description\":\"Which protocols the server permits for encrypted connections. By default, TLS 1.2 is enforced\",\"defaultValue\":\"TLSv1.2\",\"dataType\":\"Set\",\"allowedValues\":\"TLSv1,TLSv1.1,TLSv1.2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/tls_version\",\"name\":\"tls_version\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"16777216\",\"description\":\"The maximum size of internal in-memory temporary tables. This variable does not apply to user-created MEMORY tables.\",\"defaultValue\":\"16777216\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/tmp_table_size\",\"name\":\"tmp_table_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"/app/work/temp\",\"description\":\"The path of the directory to use for creating temporary files.\",\"defaultValue\":\"/app/work/temp\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/tmpdir\",\"name\":\"tmpdir\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8192\",\"description\":\"The amount in bytes by which to increase a per-transaction memory pool which needs memory.\",\"defaultValue\":\"8192\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-131072\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/transaction_alloc_block_size\",\"name\":\"transaction_alloc_block_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"There is a per-transaction memory pool from which various transaction-related allocations take memory. The initial size of the pool in bytes is transaction_prealloc_size.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-131072\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/transaction_prealloc_size\",\"name\":\"transaction_prealloc_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Reserved for future use.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"OFF,MURMUR32\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/transaction_write_set_extraction\",\"name\":\"transaction_write_set_extraction\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"REPEATABLE-READ\",\"description\":\"The default transaction isolation level.\",\"defaultValue\":\"REPEATABLE-READ\",\"dataType\":\"Enumeration\",\"allowedValues\":\"READ-UNCOMMITTED,READ-COMMITTED,REPEATABLE-READ,SERIALIZABLE\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/tx_isolation\",\"name\":\"tx_isolation\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"YES\",\"description\":\"This variable controls whether updates to a view can be made when the view does not contain all columns of the primary key defined in the underlying table, if the update statement contains a LIMIT clause.\",\"defaultValue\":\"YES\",\"dataType\":\"Enumeration\",\"allowedValues\":\"YES,NO\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/updatable_views_with_limit\",\"name\":\"updatable_views_with_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"28800\",\"description\":\"The number of seconds the server waits for activity on a noninteractive connection before closing it.\",\"defaultValue\":\"28800\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/wait_timeout\",\"name\":\"wait_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"}]}" + "Content": "{\"value\":[{\"properties\":{\"value\":\"OFF\",\"description\":\"Tell the server to enable or disable archive engine.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/archive\",\"name\":\"archive\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Allow to audit the log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/audit_log_enabled\",\"name\":\"audit_log_enabled\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"CONNECTION\",\"description\":\"Select the events to audit logs.\",\"defaultValue\":\"CONNECTION\",\"dataType\":\"Set\",\"allowedValues\":\"DDL,DML_SELECT,DML_NONSELECT,DCL,ADMIN,DML,GENERAL,CONNECTION,TABLE_ACCESS\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/audit_log_events\",\"name\":\"audit_log_events\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"azure_superuser\",\"description\":\"The comma-separated user list whose commands will not be in the audit logs.\",\"defaultValue\":\"azure_superuser\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/audit_log_exclude_users\",\"name\":\"audit_log_exclude_users\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"The comma-separated user list whose commands will be in the audit logs. It takes higher priority if the same user name is found in audit_log_exclude_users.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/audit_log_include_users\",\"name\":\"audit_log_include_users\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Allow to audit the slow log.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/audit_slow_log_enabled\",\"name\":\"audit_slow_log_enabled\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Controls whether the server autogenerates SSL key and certificate files in the data directory, if they do not already exist.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/auto_generate_certs\",\"name\":\"auto_generate_certs\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"The autocommit mode. If set to ON, all changes to a table take effect immediately. If set to OFF, you must use COMMIT to accept a transaction or ROLLBACK to cancel it.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/autocommit\",\"name\":\"autocommit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This variable controls whether ALTER TABLE implicitly upgrades temporal columns found to be in pre-5.6.4 format.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/avoid_temporal_upgrade\",\"name\":\"avoid_temporal_upgrade\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"271\",\"description\":\"The number of outstanding connection requests MySQL can have\",\"defaultValue\":\"271\",\"dataType\":\"Integer\",\"allowedValues\":\"0-65535\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/back_log\",\"name\":\"back_log\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1048576\",\"description\":\"The size of the cache to hold changes to the binary log during a transaction.\",\"defaultValue\":\"1048576\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967296\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/binlog_cache_size\",\"name\":\"binlog_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"CRC32\",\"description\":\"When enabled, this variable causes the master to write a checksum for each event in the binary log.\",\"defaultValue\":\"CRC32\",\"dataType\":\"Enumeration\",\"allowedValues\":\"NONE,CRC32\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/binlog_checksum\",\"name\":\"binlog_checksum\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ABORT_SERVER\",\"description\":\"Controls what happens when the server cannot write to the binary log, which can cause the master\u0027s log to become inconsistent and replication slaves to lose synchronization.\",\"defaultValue\":\"ABORT_SERVER\",\"dataType\":\"Enumeration\",\"allowedValues\":\"IGNORE_ERROR,ABORT_SERVER\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/binlog_error_action\",\"name\":\"binlog_error_action\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The number of seconds for automatic binary log file removal. The default is 0, which means no automatic removal. Possible removals happen at startup and when the binary log is flushed.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/binlog_expire_logs_seconds\",\"name\":\"binlog_expire_logs_seconds\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ROW\",\"description\":\"This variable sets the binary logging format, and can be any one of STATEMENT, ROW, or MIXED.\",\"defaultValue\":\"ROW\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ROW,STATEMENT,MIXED\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/binlog_format\",\"name\":\"binlog_format\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Controls how many microseconds the binary log commit waits before synchronizing the binary log file to disk.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0,11-1000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/binlog_group_commit_sync_delay\",\"name\":\"binlog_group_commit_sync_delay\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The maximum number of transactions to wait for before aborting the current delay as specified by binlog-group-commit-sync-delay.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/binlog_group_commit_sync_no_delay_count\",\"name\":\"binlog_group_commit_sync_no_delay_count\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"This variable controls how binary log files are iterated during the search for GTIDs when MySQL starts or restarts.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/binlog_gtid_simple_recovery\",\"name\":\"binlog_gtid_simple_recovery\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"If this variable is enabled (the default), transactions are committed in the same order they are written to the binary log. If disabled, transactions may be committed in parallel.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/binlog_order_commits\",\"name\":\"binlog_order_commits\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"minimal\",\"description\":\"For MySQL row-based replication, this variable determines how row images are written to the binary log.\",\"defaultValue\":\"minimal\",\"dataType\":\"Enumeration\",\"allowedValues\":\"full,minimal,noblob\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/binlog_row_image\",\"name\":\"binlog_row_image\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"The binlog_rows_query_log_events system variable affects row-based logging only. When enabled, it causes the MySQL Server to write informational log events such as row query log events into its binary log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/binlog_rows_query_log_events\",\"name\":\"binlog_rows_query_log_events\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"32768\",\"description\":\"This variable determines the size of the cache for the binary log to hold nontransactional statements issued during a transaction.\",\"defaultValue\":\"32768\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/binlog_stmt_cache_size\",\"name\":\"binlog_stmt_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1048576\",\"description\":\"Specify the maximum size of a row-based binary log event in bytes.\",\"defaultValue\":\"1048576\",\"dataType\":\"Integer\",\"allowedValues\":\"256-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/binlog-row-event-max-size\",\"name\":\"binlog-row-event-max-size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Tell the server to enable or disable blackhole engine.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/blackhole\",\"name\":\"blackhole\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"aes-128-ecb\",\"description\":\"This variable controls the block encryption mode for block-based algorithms such as AES.\",\"defaultValue\":\"aes-128-ecb\",\"dataType\":\"Enumeration\",\"allowedValues\":\"aes-128-ecb,aes-192-ecb,aes-256-ecb,aes-128-cbc,aes-192-cbc,aes-256-cbc\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/block_encryption_mode\",\"name\":\"block_encryption_mode\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8388608\",\"description\":\"Limits the size of the MyISAM cache tree in bytes per thread.\",\"defaultValue\":\"8388608\",\"dataType\":\"Integer\",\"allowedValues\":\"0-18446744073709547520\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/bulk_insert_buffer_size\",\"name\":\"bulk_insert_buffer_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"latin1\",\"description\":\"Use charset_name as the default server character set.\",\"defaultValue\":\"latin1\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ARMSCII8,ASCII,BIG5,BINARY,CP1250,CP1251,CP1256,CP1257,CP850,CP852,CP866,CP932,DEC8,EUCJPMS,EUCKR,GB18030,GB2312,GBK,GEOSTD8,GREEK,HEBREW,HP8,KEYBCS2,KOI8R,KOI8U,LATIN1,LATIN2,LATIN5,LATIN7,MACCE,MACROMAN,SJIS,SWE7,TIS620,UCS2,UJIS,UTF16,UTF16LE,UTF32,UTF8,UTF8MB4\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/character_set_server\",\"name\":\"character_set_server\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"latin1_swedish_ci\",\"description\":\"The server\u0027s default collation.\",\"defaultValue\":\"latin1_swedish_ci\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ARMSCII8_BIN,ARMSCII8_GENERAL_CI,ASCII_BIN,ASCII_GENERAL_CI,BIG5_BIN,BIG5_CHINESE_CI,BINARY,CP1250_BIN,CP1250_CROATIAN_CI,CP1250_CZECH_CS,CP1250_GENERAL_CI,CP1250_POLISH_CI,CP1251_BIN,CP1251_BULGARIAN_CI,CP1251_GENERAL_CI,CP1251_GENERAL_CS,CP1251_UKRAINIAN_CI,CP1256_BIN,CP1256_GENERAL_CI,CP1257_BIN,CP1257_GENERAL_CI,CP1257_LITHUANIAN_CI,CP850_BIN,CP850_GENERAL_CI,CP852_BIN,CP852_GENERAL_CI,CP866_BIN,CP866_GENERAL_CI,CP932_BIN,CP932_JAPANESE_CI,DEC8_BIN,DEC8_SWEDISH_CI,EUCJPMS_BIN,EUCJPMS_JAPANESE_CI,EUCKR_BIN,EUCKR_KOREAN_CI,GB18030_BIN,GB18030_CHINESE_CI,GB18030_UNICODE_520_CI,GB2312_BIN,GB2312_CHINESE_CI,GBK_BIN,GBK_CHINESE_CI,GEOSTD8_BIN,GEOSTD8_GENERAL_CI,GREEK_BIN,GREEK_GENERAL_CI,HEBREW_BIN,HEBREW_GENERAL_CI,HP8_BIN,HP8_ENGLISH_CI,KEYBCS2_BIN,KEYBCS2_GENERAL_CI,KOI8R_BIN,KOI8R_GENERAL_CI,KOI8U_BIN,KOI8U_GENERAL_CI,LATIN1_BIN,LATIN1_DANISH_CI,LATIN1_GENERAL_CI,LATIN1_GENERAL_CS,LATIN1_GERMAN1_CI,LATIN1_GERMAN2_CI,LATIN1_SPANISH_CI,LATIN1_SWEDISH_CI,LATIN2_BIN,LATIN2_CROATIAN_CI,LATIN2_CZECH_CS,LATIN2_GENERAL_CI,LATIN2_HUNGARIAN_CI,LATIN5_BIN,LATIN5_TURKISH_CI,LATIN7_BIN,LATIN7_ESTONIAN_CS,LATIN7_GENERAL_CI,LATIN7_GENERAL_CS,MACCE_BIN,MACCE_GENERAL_CI,MACROMAN_BIN,MACROMAN_GENERAL_CI,SJIS_BIN,SJIS_JAPANESE_CI,SWE7_BIN,SWE7_SWEDISH_CI,TIS620_BIN,TIS620_THAI_CI,UCS2_BIN,UCS2_CROATIAN_CI,UCS2_CZECH_CI,UCS2_DANISH_CI,UCS2_ESPERANTO_CI,UCS2_ESTONIAN_CI,UCS2_GENERAL_CI,UCS2_GENERAL_MYSQL500_CI,UCS2_GERMAN2_CI,UCS2_HUNGARIAN_CI,UCS2_ICELANDIC_CI,UCS2_LATVIAN_CI,UCS2_LITHUANIAN_CI,UCS2_PERSIAN_CI,UCS2_POLISH_CI,UCS2_ROMAN_CI,UCS2_ROMANIAN_CI,UCS2_SINHALA_CI,UCS2_SLOVAK_CI,UCS2_SLOVENIAN_CI,UCS2_SPANISH_CI,UCS2_SPANISH2_CI,UCS2_SWEDISH_CI,UCS2_TURKISH_CI,UCS2_UNICODE_520_CI,UCS2_UNICODE_CI,UCS2_VIETNAMESE_CI,UJIS_BIN,UJIS_JAPANESE_CI,UTF16_BIN,UTF16_CROATIAN_CI,UTF16_CZECH_CI,UTF16_DANISH_CI,UTF16_ESPERANTO_CI,UTF16_ESTONIAN_CI,UTF16_GENERAL_CI,UTF16_GERMAN2_CI,UTF16_HUNGARIAN_CI,UTF16_ICELANDIC_CI,UTF16_LATVIAN_CI,UTF16_LITHUANIAN_CI,UTF16_PERSIAN_CI,UTF16_POLISH_CI,UTF16_ROMAN_CI,UTF16_ROMANIAN_CI,UTF16_SINHALA_CI,UTF16_SLOVAK_CI,UTF16_SLOVENIAN_CI,UTF16_SPANISH_CI,UTF16_SPANISH2_CI,UTF16_SWEDISH_CI,UTF16_TURKISH_CI,UTF16_UNICODE_520_CI,UTF16_UNICODE_CI,UTF16_VIETNAMESE_CI,UTF16LE_BIN,UTF16LE_GENERAL_CI,UTF32_BIN,UTF32_CROATIAN_CI,UTF32_CZECH_CI,UTF32_DANISH_CI,UTF32_ESPERANTO_CI,UTF32_ESTONIAN_CI,UTF32_GENERAL_CI,UTF32_GERMAN2_CI,UTF32_HUNGARIAN_CI,UTF32_ICELANDIC_CI,UTF32_LATVIAN_CI,UTF32_LITHUANIAN_CI,UTF32_PERSIAN_CI,UTF32_POLISH_CI,UTF32_ROMAN_CI,UTF32_ROMANIAN_CI,UTF32_SINHALA_CI,UTF32_SLOVAK_CI,UTF32_SLOVENIAN_CI,UTF32_SPANISH_CI,UTF32_SPANISH2_CI,UTF32_SWEDISH_CI,UTF32_TURKISH_CI,UTF32_UNICODE_520_CI,UTF32_UNICODE_CI,UTF32_VIETNAMESE_CI,UTF8_BIN,UTF8_CROATIAN_CI,UTF8_CZECH_CI,UTF8_DANISH_CI,UTF8_ESPERANTO_CI,UTF8_ESTONIAN_CI,UTF8_GENERAL_CI,UTF8_GENERAL_MYSQL500_CI,UTF8_GERMAN2_CI,UTF8_HUNGARIAN_CI,UTF8_ICELANDIC_CI,UTF8_LATVIAN_CI,UTF8_LITHUANIAN_CI,UTF8_PERSIAN_CI,UTF8_POLISH_CI,UTF8_ROMAN_CI,UTF8_ROMANIAN_CI,UTF8_SINHALA_CI,UTF8_SLOVAK_CI,UTF8_SLOVENIAN_CI,UTF8_SPANISH_CI,UTF8_SPANISH2_CI,UTF8_SWEDISH_CI,UTF8_TURKISH_CI,UTF8_UNICODE_520_CI,UTF8_UNICODE_CI,UTF8_VIETNAMESE_CI,UTF8MB4_BIN,UTF8MB4_CROATIAN_CI,UTF8MB4_CZECH_CI,UTF8MB4_DANISH_CI,UTF8MB4_ESPERANTO_CI,UTF8MB4_ESTONIAN_CI,UTF8MB4_GENERAL_CI,UTF8MB4_GERMAN2_CI,UTF8MB4_HUNGARIAN_CI,UTF8MB4_ICELANDIC_CI,UTF8MB4_LATVIAN_CI,UTF8MB4_LITHUANIAN_CI,UTF8MB4_PERSIAN_CI,UTF8MB4_POLISH_CI,UTF8MB4_ROMAN_CI,UTF8MB4_ROMANIAN_CI,UTF8MB4_SINHALA_CI,UTF8MB4_SLOVAK_CI,UTF8MB4_SLOVENIAN_CI,UTF8MB4_SPANISH_CI,UTF8MB4_SPANISH2_CI,UTF8MB4_SWEDISH_CI,UTF8MB4_TURKISH_CI,UTF8MB4_UNICODE_520_CI,UTF8MB4_UNICODE_CI,UTF8MB4_VIETNAMESE_CI\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/collation_server\",\"name\":\"collation_server\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"NO_CHAIN\",\"description\":\"The transaction completion type.\",\"defaultValue\":\"NO_CHAIN\",\"dataType\":\"Enumeration\",\"allowedValues\":\"NO_CHAIN,CHAIN,RELEASE\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/completion_type\",\"name\":\"completion_type\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"AUTO\",\"description\":\"Allows INSERT and SELECT statements to run concurrently for MyISAM tables that have no free blocks in the middle of the data file.\",\"defaultValue\":\"AUTO\",\"dataType\":\"Enumeration\",\"allowedValues\":\"NEVER,AUTO,ALWAYS\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/concurrent_insert\",\"name\":\"concurrent_insert\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"The number of seconds that the mysqld server waits for a connect packet before responding with Bad handshake.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"2-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/connect_timeout\",\"name\":\"connect_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"mysql_native_password\",\"description\":\"The default authentication plugin\",\"defaultValue\":\"mysql_native_password\",\"dataType\":\"Enumeration\",\"allowedValues\":\"mysql_native_password,sha256_password\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/default_authentication_plugin\",\"name\":\"default_authentication_plugin\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"This variable defines the global automatic password expiration policy.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-65535\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/default_password_lifetime\",\"name\":\"default_password_lifetime\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"InnoDB\",\"description\":\"The default storage engine (table type).\",\"defaultValue\":\"InnoDB\",\"dataType\":\"Enumeration\",\"allowedValues\":\"InnoDB,CSV,MEMORY\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/default_storage_engine\",\"name\":\"default_storage_engine\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"InnoDB\",\"description\":\"The default storage engine for TEMPORARY tables.\",\"defaultValue\":\"InnoDB\",\"dataType\":\"Enumeration\",\"allowedValues\":\"InnoDB,MyISAM,CSV,PERFORMANCE_SCHEMA,MEMORY,MRG_MYISAM\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/default_tmp_storage_engine\",\"name\":\"default_tmp_storage_engine\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The default mode value to use for the WEEK() function.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-7\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/default_week_format\",\"name\":\"default_week_format\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"It specifies how to use delayed key writes.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF,ALL\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/delay_key_write\",\"name\":\"delay_key_write\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"After inserting delayed_insert_limit delayed rows, the INSERT DELAYED handler thread checks whether there are any SELECT statements pending. If so, it allows them to execute before continuing to insert delayed rows.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"1-9223372036854775807\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/delayed_insert_limit\",\"name\":\"delayed_insert_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"300\",\"description\":\"How many seconds an INSERT DELAYED handler thread should wait for INSERT statements before terminating.\",\"defaultValue\":\"300\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/delayed_insert_timeout\",\"name\":\"delayed_insert_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1000\",\"description\":\"If the queue becomes full, any client that issues an INSERT DELAYED statement waits until there is room in the queue again.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-9223372036854775807\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/delayed_queue_size\",\"name\":\"delayed_queue_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"MyISAM,BLACKHOLE,FEDEATED,ARCHIVE\",\"description\":\"This variable indicates which storage engines cannot be used to create tables or tablespaces.\",\"defaultValue\":\"MyISAM,BLACKHOLE,FEDEATED,ARCHIVE\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/disabled_storage_engines\",\"name\":\"disabled_storage_engines\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Whether to disable the startup check for tables with nonnative partitioning.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/disable-partition-engine-check\",\"name\":\"disable-partition-engine-check\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Controls how the server handles clients with expired passwords:\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/disconnect_on_expired_password\",\"name\":\"disconnect_on_expired_password\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"Number of digits by which to increase the scale of the result of division operations.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"0-30\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/div_precision_increment\",\"name\":\"div_precision_increment\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Whether optimizer JSON output should add end markers.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/end_markers_in_json\",\"name\":\"end_markers_in_json\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"When enable, this option enforces GTID consistency by allowing execution of only those statements that can be logged in a transactionally safe manner.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF,WARN\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/enforce_gtid_consistency\",\"name\":\"enforce_gtid_consistency\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"This variable indicates the number of equality ranges in an equality comparison condition when the optimizer should switch from using index dives to index statistics in estimating the number of qualifying rows.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/eq_range_index_dive_limit\",\"name\":\"eq_range_index_dive_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Indicates the status of the Event Scheduler. It is always OFF for a replica server to keep the replication consistency.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/event_scheduler\",\"name\":\"event_scheduler\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The number of days for automatic binary log file removal. The default is 0, which means no automatic removal. Possible removals happen at startup and when the binary log is flushed.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-99\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/expire_logs_days\",\"name\":\"expire_logs_days\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"[Deprecated] This system variable determines whether the server enables certain nonstandard behaviors for default values and NULL-value handling in TIMESTAMP columns.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/explicit_defaults_for_timestamp\",\"name\":\"explicit_defaults_for_timestamp\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"If ON, the server flushes (synchronizes) all changes to disk after each SQL statement. Normally, MySQL does a write of all changes to disk only after each SQL statement and lets the operating system handle the synchronizing to disk.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/flush\",\"name\":\"flush\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"If this is set to a nonzero value, all tables are closed every flush_time seconds to free up resources and synchronize unflushed data to disk.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-8640000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/flush_time\",\"name\":\"flush_time\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"+ -\u003e\u003c()~*:\\\"\\\"\u0026|\",\"description\":\"The list of operators supported by boolean full-text searches performed using IN BOOLEAN MODE.\",\"defaultValue\":\"+ -\u003e\u003c()~*:\\\"\\\"\u0026|\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/ft_boolean_syntax\",\"name\":\"ft_boolean_syntax\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"20\",\"description\":\"The number of top matches to use for full-text searches performed using WITH QUERY EXPANSION.\",\"defaultValue\":\"20\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/ft_query_expansion_limit\",\"name\":\"ft_query_expansion_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Whether the general query log is enabled.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/general_log\",\"name\":\"general_log\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"/app/work/serverlogs/mysql-general-mysql-flexible-test-100-2020111008.log\",\"description\":\"The name of the general query log file. \",\"defaultValue\":\"mysql-general.log\",\"dataType\":\"String\",\"allowedValues\":\"mysql-general.log\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/general_log_file\",\"name\":\"general_log_file\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"Maximum allowed result length in bytes for the GROUP_CONCAT().\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"4-16777216\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/group_concat_max_len\",\"name\":\"group_concat_max_len\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1000\",\"description\":\"Compress the mysql.gtid_executed table each time this many transactions have taken place.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/gtid_executed_compression_period\",\"name\":\"gtid_executed_compression_period\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Indicates if global transaction identifiers (GTIDs) are used to identify transactions.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"OFF,OFF_PERMISSIVE,ON_PERMISSIVE,ON\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/gtid_mode\",\"name\":\"gtid_mode\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"279\",\"description\":\"The size of the internal host cache.\",\"defaultValue\":\"279\",\"dataType\":\"Integer\",\"allowedValues\":\"0-65536\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/host_cache_size\",\"name\":\"host_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"A string to be executed by the server for each client that connects.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/init_connect\",\"name\":\"init_connect\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Specifies whether to dynamically adjust the rate of flushing dirty pages in the InnoDB buffer pool based on the workload. Adjusting the flush rate dynamically is intended to avoid bursts of I/O activity.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_adaptive_flushing\",\"name\":\"innodb_adaptive_flushing\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Defines the low water mark representing percentage of redo log capacity at which adaptive flushing is enabled.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-70\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_adaptive_flushing_lwm\",\"name\":\"innodb_adaptive_flushing_lwm\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Whether innodb adaptive hash indexes are enabled or disabled.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_adaptive_hash_index\",\"name\":\"innodb_adaptive_hash_index\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"Partitions the adaptive hash index search system. Each index is bound to a specific partition, with each partition protected by a separate latch. \",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"1-512\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_adaptive_hash_index_parts\",\"name\":\"innodb_adaptive_hash_index_parts\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"150000\",\"description\":\"Permits InnoDB to automatically adjust the value of innodb_thread_sleep_delay up or down according to the current workload.\",\"defaultValue\":\"150000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_adaptive_max_sleep_delay\",\"name\":\"innodb_adaptive_max_sleep_delay\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"The increment size (in megabytes) for extending the size of an auto-extending InnoDB system tablespace file when it becomes full.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"1-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_autoextend_increment\",\"name\":\"innodb_autoextend_increment\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"The lock mode to use for generating auto-increment values.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0,1,2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_autoinc_lock_mode\",\"name\":\"innodb_autoinc_lock_mode\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"134217728\",\"description\":\"Defines the chunk size for online InnoDB buffer pool resizing operations.\",\"defaultValue\":\"134217728\",\"dataType\":\"Integer\",\"allowedValues\":\"1048576-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_buffer_pool_chunk_size\",\"name\":\"innodb_buffer_pool_chunk_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Dump the buffer pool into a file named @@innodb_buffer_pool_filename\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_buffer_pool_dump_at_shutdown\",\"name\":\"innodb_buffer_pool_dump_at_shutdown\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Immediately records the pages cached in the InnoDB buffer pool.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_buffer_pool_dump_now\",\"name\":\"innodb_buffer_pool_dump_now\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"25\",\"description\":\"Specifies the percentage of the most recently used pages for each buffer pool to read out and dump.\",\"defaultValue\":\"25\",\"dataType\":\"Integer\",\"allowedValues\":\"1-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_buffer_pool_dump_pct\",\"name\":\"innodb_buffer_pool_dump_pct\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ib_buffer_pool\",\"description\":\"Specifies the file that holds the list of page numbers produced by innodb_buffer_pool_dump_at_shutdown or innodb_buffer_pool_dump_now.\",\"defaultValue\":\"ib_buffer_pool\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_buffer_pool_filename\",\"name\":\"innodb_buffer_pool_filename\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"The number of regions that the InnoDB buffer pool is divided into\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"1-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_buffer_pool_instances\",\"name\":\"innodb_buffer_pool_instances\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Interrupts the process of restoring InnoDB buffer pool contents triggered by innodb_buffer_pool_load_at_startup or innodb_buffer_pool_load_now.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_buffer_pool_load_abort\",\"name\":\"innodb_buffer_pool_load_abort\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Load the buffer pool from a file named @@innodb_buffer_pool_filename\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_buffer_pool_load_at_startup\",\"name\":\"innodb_buffer_pool_load_at_startup\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Immediately warms up the InnoDB buffer pool by loading a set of data pages, without waiting for a server restart.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_buffer_pool_load_now\",\"name\":\"innodb_buffer_pool_load_now\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"536870912\",\"description\":\"The size in bytes of the buffer pool, the memory area where InnoDB caches table and index data.\",\"defaultValue\":\"536870912\",\"dataType\":\"Integer\",\"allowedValues\":\"134217728-536870912\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_buffer_pool_size\",\"name\":\"innodb_buffer_pool_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"25\",\"description\":\"Maximum size for the InnoDB change buffer, as a percentage of the total size of the buffer pool. You might increase this value for a MySQL server with heavy insert, update, and delete activity, or decrease it for a MySQL server with unchanging data used for reporting.\",\"defaultValue\":\"25\",\"dataType\":\"Integer\",\"allowedValues\":\"0-50\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_change_buffer_max_size\",\"name\":\"innodb_change_buffer_max_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"all\",\"description\":\"Whether InnoDB performs change buffering, an optimization that delays write operations to secondary indexes so that the I/O operations can be performed sequentially.\",\"defaultValue\":\"all\",\"dataType\":\"Enumeration\",\"allowedValues\":\"none,inserts,deletes,changes,purges,all\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_change_buffering\",\"name\":\"innodb_change_buffering\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"crc32\",\"description\":\"Specifies how to generate and verify the checksum stored in the disk blocks of InnoDB tablespaces.\",\"defaultValue\":\"crc32\",\"dataType\":\"Enumeration\",\"allowedValues\":\"innodb,crc32,none,strict_innodb,strict_crc32,strict_none\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_checksum_algorithm\",\"name\":\"innodb_checksum_algorithm\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Enables per-index compression-related statistics in the INFORMATION_SCHEMA.INNODB_CMP_PER_INDEX table. Because these statistics can be expensive to gather, only enable this option on development, test, or slave instances during performance tuning related to InnoDB compressed tables.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_cmp_per_index_enabled\",\"name\":\"innodb_cmp_per_index_enabled\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The number of threads that can commit at the same time. A value of 0 (the default) permits any number of transactions to commit simultaneously. The value of innodb_commit_concurrency cannot be changed at runtime from zero to nonzero or vice versa. The value can be changed from one nonzero value to another.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_commit_concurrency\",\"name\":\"innodb_commit_concurrency\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"5\",\"description\":\"Defines the compression failure rate threshold for a table, as a percentage, at which point MySQL begins adding padding within compressed pages to avoid expensive compression failures.\",\"defaultValue\":\"5\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_compression_failure_threshold_pct\",\"name\":\"innodb_compression_failure_threshold_pct\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"6\",\"description\":\"Specifies the level of zlib compression to use for InnoDB compressed tables and indexes. A higher value lets you fit more data onto a storage device, at the expense of more CPU overhead during compression. A lower value lets you reduce CPU overhead when storage space is not critical, or you expect the data is not especially compressible.\",\"defaultValue\":\"6\",\"dataType\":\"Integer\",\"allowedValues\":\"0-9\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_compression_level\",\"name\":\"innodb_compression_level\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"Specifies the maximum percentage that can be reserved as free space within each compressed page, allowing room to reorganize the data and modification log within the page when a compressed table or index is updated and the data might be recompressed. Only applies when innodb_compression_failure_threshold_pct is set to a nonzero value, and the rate of compression failures passes the cutoff point.\",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"0-75\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_compression_pad_pct_max\",\"name\":\"innodb_compression_pad_pct_max\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"5000\",\"description\":\"Determines the number of threads that can enter InnoDB concurrently.\",\"defaultValue\":\"5000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_concurrency_tickets\",\"name\":\"innodb_concurrency_tickets\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"This option is used to disable deadlock detection. On high concurrency systems, deadlock detection can cause a slowdown when numerous threads wait for the same lock.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_deadlock_detect\",\"name\":\"innodb_deadlock_detect\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"DYNAMIC\",\"description\":\"The innodb_default_row_format option defines the default row format for InnoDB tables and user-created temporary tables.\",\"defaultValue\":\"DYNAMIC\",\"dataType\":\"Enumeration\",\"allowedValues\":\"DYNAMIC,COMPACT,REDUNDANT\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_default_row_format\",\"name\":\"innodb_default_row_format\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Disables the operating system file system cache for merge-sort temporary files. The effect is to open such files with the equivalent of O_DIRECT.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_disable_sort_file_cache\",\"name\":\"innodb_disable_sort_file_cache\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"/app/work/diskcache.data\",\"description\":\"File name of MySQL BPE file\",\"defaultValue\":\"/app/work/diskcache.data\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_disk_buffer_pool_filename\",\"name\":\"innodb_disk_buffer_pool_filename\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Size of MySQL BPE in byte\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-515396075520\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_disk_buffer_pool_size\",\"name\":\"innodb_disk_buffer_pool_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"When enabled, InnoDB stores all data twice, first to the doublewrite buffer, then to the actual data files.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_doublewrite\",\"name\":\"innodb_doublewrite\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"The InnoDB shutdown mode. If the value is 0, InnoDB does a slow shutdown, a full purge and a change buffer merge before shutting down. If the value is 1 (the default), InnoDB skips these operations at shutdown, a process known as a fast shutdown. If the value is 2, InnoDB flushes its logs and shuts down cold, as if MySQL had crashed; no committed transactions are lost, but the crash recovery operation makes the next startup take longer.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0,1,2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_fast_shutdown\",\"name\":\"innodb_fast_shutdown\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"7201\",\"description\":\"The seconds of mysql engine waiting for I/O, this threshold timeout will result in mysql engine crash.\",\"defaultValue\":\"7201\",\"dataType\":\"Integer\",\"allowedValues\":\"1-864000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_fatal_semaphore_wait_threshold\",\"name\":\"innodb_fatal_semaphore_wait_threshold\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"Barracuda\",\"description\":\"Indicates the InnoDB file format for file-per-table tablespaces.\",\"defaultValue\":\"Barracuda\",\"dataType\":\"Enumeration\",\"allowedValues\":\"Antelope,Barracuda\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_file_format\",\"name\":\"innodb_file_format\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"InnoDB stores the data and indexes for each newly created table in a separate .ibd file instead of the system tablespace. It cannot be updated any more for a master/replica server to keep the replication consistency.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_file_per_table\",\"name\":\"innodb_file_per_table\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"InnoDB performs a bulk load when creating or rebuilding indexes.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"10-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_fill_factor\",\"name\":\"innodb_fill_factor\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Write and flush the logs every N seconds. This setting has an effect only when innodb_flush_log_at_trx_commit has a value of 2.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2700\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_flush_log_at_timeout\",\"name\":\"innodb_flush_log_at_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Controls the balance between strict ACID compliance for commit operations and higher performance that is possible when commit-related I/O operations are rearranged and done in batches.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0,1,2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_flush_log_at_trx_commit\",\"name\":\"innodb_flush_log_at_trx_commit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"fsync\",\"description\":\"Defines the method used to flush data to InnoDB data files and log files, which can affect I/O throughput. \",\"defaultValue\":\"fsync\",\"dataType\":\"Enumeration\",\"allowedValues\":\"fsync,O_DSYNC,littlesync,nosync,O_DIRECT,O_DIRECT_NO_FSYNC\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_flush_method\",\"name\":\"innodb_flush_method\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Specifies whether flushing a page from the InnoDB buffer pool also flushes other dirty pages in the same extent.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0,1,2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_flush_neighbors\",\"name\":\"innodb_flush_neighbors\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Causes the innodb_io_capacity setting to be ignored for bursts of I/O activity that occur at checkpoints.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_flush_sync\",\"name\":\"innodb_flush_sync\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"30\",\"description\":\"Number of iterations for which InnoDB keeps the previously calculated snapshot of the flushing state, controlling how quickly adaptive flushing responds to changing workloads.\",\"defaultValue\":\"30\",\"dataType\":\"Integer\",\"allowedValues\":\"1-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_flushing_avg_loops\",\"name\":\"innodb_flushing_avg_loops\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Permits InnoDB to load tables at startup that are marked as corrupted. Use only during troubleshooting, to recover data that is otherwise inaccessible.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_force_load_corrupted\",\"name\":\"innodb_force_load_corrupted\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The crash recovery mode, typically only changed in serious troubleshooting situations.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-6\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_force_recovery\",\"name\":\"innodb_force_recovery\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8000000\",\"description\":\"The memory allocated, in bytes, for the InnoDB FULLTEXT search index cache, which holds a parsed document in memory while creating an InnoDB FULLTEXT index.\",\"defaultValue\":\"8000000\",\"dataType\":\"Integer\",\"allowedValues\":\"1600000-80000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_ft_cache_size\",\"name\":\"innodb_ft_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Whether to enable additional full-text search (FTS) diagnostic output. This option is primarily intended for advanced FTS debugging and will not be of interest to most users. Output is printed to the error log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_ft_enable_diag_print\",\"name\":\"innodb_ft_enable_diag_print\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Specifies that a set of stopwords is associated with an InnoDB FULLTEXT index at the time the index is created.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_ft_enable_stopword\",\"name\":\"innodb_ft_enable_stopword\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"84\",\"description\":\"Maximum character length of words that are stored in an InnoDB FULLTEXT index.\",\"defaultValue\":\"84\",\"dataType\":\"Integer\",\"allowedValues\":\"10-84\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_ft_max_token_size\",\"name\":\"innodb_ft_max_token_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"3\",\"description\":\"Minimum length of words that are stored in an InnoDB FULLTEXT index.\",\"defaultValue\":\"3\",\"dataType\":\"Integer\",\"allowedValues\":\"0-16\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_ft_min_token_size\",\"name\":\"innodb_ft_min_token_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2000\",\"description\":\"Number of words to process during each OPTIMIZE TABLE operation on an InnoDB FULLTEXT index.\",\"defaultValue\":\"2000\",\"dataType\":\"Integer\",\"allowedValues\":\"1000-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_ft_num_word_optimize\",\"name\":\"innodb_ft_num_word_optimize\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2000000000\",\"description\":\"The InnoDB full-text search query result cache limit (defined in bytes) per full-text search query or per thread.\",\"defaultValue\":\"2000000000\",\"dataType\":\"Integer\",\"allowedValues\":\"1000000-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_ft_result_cache_limit\",\"name\":\"innodb_ft_result_cache_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"This option is used to specify your own InnoDB FULLTEXT index stopword list for all InnoDB tables.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_ft_server_stopword_table\",\"name\":\"innodb_ft_server_stopword_table\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Number of threads used in parallel to index and tokenize text in an InnoDB FULLTEXT index when building a search index.\",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"1-32\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_ft_sort_pll_degree\",\"name\":\"innodb_ft_sort_pll_degree\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"640000000\",\"description\":\"The total memory allocated, in bytes, for the InnoDB full-text search index cache for all tables.\",\"defaultValue\":\"640000000\",\"dataType\":\"Integer\",\"allowedValues\":\"32000000-1600000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_ft_total_cache_size\",\"name\":\"innodb_ft_total_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"This option is used to specify your own InnoDB FULLTEXT index stopword list on a specific table.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_ft_user_stopword_table\",\"name\":\"innodb_ft_user_stopword_table\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"Sets an upper limit on I/O activity performed by InnoDB background tasks, such as flushing pages from the buffer pool and merging data from the change buffer.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"100-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_io_capacity\",\"name\":\"innodb_io_capacity\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2000\",\"description\":\"If flushing activity falls behind, InnoDB can flush more aggressively than the limit imposed by innodb_io_capacity. innodb_io_capacity_max defines an upper limit the number of I/O operations performed per second by InnoDB background tasks in such situations.\",\"defaultValue\":\"2000\",\"dataType\":\"Integer\",\"allowedValues\":\"100-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_io_capacity_max\",\"name\":\"innodb_io_capacity_max\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"When this option is enabled, index key prefixes longer than 767 bytes (up to 3072 bytes) are allowed for InnoDB tables that use DYNAMIC or COMPRESSED row format.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_large_prefix\",\"name\":\"innodb_large_prefix\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"The length of time in seconds an InnoDB transaction waits for a row lock before giving up.\",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"1-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_lock_wait_timeout\",\"name\":\"innodb_lock_wait_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"16777216\",\"description\":\"The size in bytes of the buffer that InnoDB uses to write to the log files on disk.\",\"defaultValue\":\"16777216\",\"dataType\":\"Integer\",\"allowedValues\":\"1048576-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_log_buffer_size\",\"name\":\"innodb_log_buffer_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Enables or disables checksums for redo log pages.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_log_checksums\",\"name\":\"innodb_log_checksums\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Specifies whether images of re-compressed pages are written to the redo log.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_log_compressed_pages\",\"name\":\"innodb_log_compressed_pages\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"268435456\",\"description\":\"The size in bytes of each log file in a log group. The combined size of log files (innodb_log_file_size * innodb_log_files_in_group) cannot exceed a maximum value that is slightly less than 512GB.\",\"defaultValue\":\"268435456\",\"dataType\":\"Integer\",\"allowedValues\":\"268435456-137438953472\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_log_file_size\",\"name\":\"innodb_log_file_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8192\",\"description\":\"The write-ahead block size for the redo log, in bytes.\",\"defaultValue\":\"8192\",\"dataType\":\"Integer\",\"allowedValues\":\"512-16384\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_log_write_ahead_size\",\"name\":\"innodb_log_write_ahead_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"A parameter that influences the algorithms and heuristics for the flush operation for the InnoDB buffer pool.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"100-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_lru_scan_depth\",\"name\":\"innodb_lru_scan_depth\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"75\",\"description\":\"InnoDB tries to flush data from the buffer pool so that the percentage of dirty pages does not exceed this value.\",\"defaultValue\":\"75\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-99.99\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_max_dirty_pages_pct\",\"name\":\"innodb_max_dirty_pages_pct\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Defines a low water mark representing the percentage of dirty pages at which preflushing is enabled to control the dirty page ratio.\",\"defaultValue\":\"0\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-99.99\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_max_dirty_pages_pct_lwm\",\"name\":\"innodb_max_dirty_pages_pct_lwm\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Defines the maximum length of the purge queue. The default value of 0 indicates no limit (no delays).\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_max_purge_lag\",\"name\":\"innodb_max_purge_lag\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Specifies the maximum delay in microseconds for the delay imposed by the innodb_max_purge_lag configuration option.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-10000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_max_purge_lag_delay\",\"name\":\"innodb_max_purge_lag_delay\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1073741824\",\"description\":\"Defines a threshold size for undo tablespaces.\",\"defaultValue\":\"1073741824\",\"dataType\":\"Integer\",\"allowedValues\":\"10485760-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_max_undo_log_size\",\"name\":\"innodb_max_undo_log_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Disables InnoDB metrics counters. Counter data may be queried using the INFORMATION_SCHEMA.INNODB_METRICS table.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_monitor_disable\",\"name\":\"innodb_monitor_disable\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Enables InnoDB metrics counters.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_monitor_enable\",\"name\":\"innodb_monitor_enable\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Resets the count value for InnoDB metrics counters to zero.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_monitor_reset\",\"name\":\"innodb_monitor_reset\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Resets all values (minimum, maximum, and so on) for InnoDB metrics counters.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_monitor_reset_all\",\"name\":\"innodb_monitor_reset_all\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"37\",\"description\":\"Specifies the approximate percentage of the InnoDB buffer pool used for the old block sublist.\",\"defaultValue\":\"37\",\"dataType\":\"Integer\",\"allowedValues\":\"5-95\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_old_blocks_pct\",\"name\":\"innodb_old_blocks_pct\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1000\",\"description\":\"Non-zero values protect against the buffer pool being filled by data that is referenced only for a brief period, such as during a full table scan.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_old_blocks_time\",\"name\":\"innodb_old_blocks_time\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"134217728\",\"description\":\"Specifies an upper limit on the size of the temporary log files used during online DDL operations for InnoDB tables.\",\"defaultValue\":\"134217728\",\"dataType\":\"Integer\",\"allowedValues\":\"65536-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_online_alter_log_max_size\",\"name\":\"innodb_online_alter_log_max_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"This configuration option is only relevant if you use multiple InnoDB tablespaces. It specifies the maximum number of .ibd files that MySQL can keep open at one time.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1,10-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_open_files\",\"name\":\"innodb_open_files\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Changes the way OPTIMIZE TABLE operates on InnoDB tables. Intended to be enabled temporarily, during maintenance operations for InnoDB tables with FULLTEXT indexes.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_optimize_fulltext_only\",\"name\":\"innodb_optimize_fulltext_only\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"The number of page cleaner threads that flush dirty pages from buffer pool instances.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"1-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_page_cleaners\",\"name\":\"innodb_page_cleaners\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"16384\",\"description\":\"Specifies the page size for all InnoDB tablespaces in a MySQL instance.\",\"defaultValue\":\"16384\",\"dataType\":\"Enumeration\",\"allowedValues\":\"4096,8192,16384,32768,65536\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_page_size\",\"name\":\"innodb_page_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"When this option is enabled, information about all deadlocks in InnoDB user transactions is recorded in the mysqld error log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_print_all_deadlocks\",\"name\":\"innodb_print_all_deadlocks\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"300\",\"description\":\"Defines the number of undo log pages that purge parses and processes in one batch from the history list.\",\"defaultValue\":\"300\",\"dataType\":\"Integer\",\"allowedValues\":\"1-5000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_purge_batch_size\",\"name\":\"innodb_purge_batch_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"128\",\"description\":\"Defines the frequency with which the purge system frees rollback segments in terms of the number of times that purge is invoked. Reducing this value increases the frequency with which the purge thread frees rollback segments.\",\"defaultValue\":\"128\",\"dataType\":\"Integer\",\"allowedValues\":\"1-128\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_purge_rseg_truncate_frequency\",\"name\":\"innodb_purge_rseg_truncate_frequency\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"The number of background threads devoted to the InnoDB purge operation.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"1-32\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_purge_threads\",\"name\":\"innodb_purge_threads\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Enables the random read-ahead technique for optimizing InnoDB I/O.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_random_read_ahead\",\"name\":\"innodb_random_read_ahead\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"56\",\"description\":\"Controls the sensitivity of linear read-ahead that InnoDB uses to prefetch pages into the buffer pool.\",\"defaultValue\":\"56\",\"dataType\":\"Integer\",\"allowedValues\":\"0-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_read_ahead_threshold\",\"name\":\"innodb_read_ahead_threshold\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"The number of I/O threads for read operations in InnoDB.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"1-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_read_io_threads\",\"name\":\"innodb_read_io_threads\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Starts InnoDB in read-only mode. \",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_read_only\",\"name\":\"innodb_read_only\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The replication thread delay in milliseconds on a slave server if innodb_thread_concurrency is reached.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_replication_delay\",\"name\":\"innodb_replication_delay\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"InnoDB rolls back only the last statement on a transaction timeout by default. If --innodb_rollback_on_timeout is specified, a transaction timeout causes InnoDB to abort and roll back the entire transaction.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_rollback_on_timeout\",\"name\":\"innodb_rollback_on_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"128\",\"description\":\"Defines the number of rollback segments used by InnoDB.\",\"defaultValue\":\"128\",\"dataType\":\"Integer\",\"allowedValues\":\"1-128\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_rollback_segments\",\"name\":\"innodb_rollback_segments\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1048576\",\"description\":\"Specifies the sizes of several buffers used for sorting data during creation of an InnoDB index.\",\"defaultValue\":\"1048576\",\"dataType\":\"Integer\",\"allowedValues\":\"65536-67108864\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_sort_buffer_size\",\"name\":\"innodb_sort_buffer_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"6\",\"description\":\"The maximum delay between polls for a spin lock. \",\"defaultValue\":\"6\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_spin_wait_delay\",\"name\":\"innodb_spin_wait_delay\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Causes InnoDB to automatically recalculate persistent statistics after the data in a table is changed substantially.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_stats_auto_recalc\",\"name\":\"innodb_stats_auto_recalc\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\" Enabled to ensure that InnoDB includes delete-marked records when calculating persistent optimizer statistics.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_stats_include_delete_marked\",\"name\":\"innodb_stats_include_delete_marked\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"nulls_equal\",\"description\":\"How the server treats NULL values when collecting statistics about the distribution of index values for InnoDB tables.\",\"defaultValue\":\"nulls_equal\",\"dataType\":\"Enumeration\",\"allowedValues\":\"nulls_equal,nulls_unequal,nulls_ignored\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_stats_method\",\"name\":\"innodb_stats_method\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This option only applies when optimizer statistics are configured to be non-persistent. When innodb_stats_on_metadata is enabled, InnoDB updates non-persistent statistics when metadata statements such as SHOW TABLE STATUS or when accessing the INFORMATION_SCHEMA.TABLES or INFORMATION_SCHEMA.STATISTICS tables.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_stats_on_metadata\",\"name\":\"innodb_stats_on_metadata\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Specifies whether InnoDB index statistics are persisted to disk. Otherwise, statistics may be recalculated frequently which can lead to variations in query execution plans.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_stats_persistent\",\"name\":\"innodb_stats_persistent\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"20\",\"description\":\"The number of index pages to sample when estimating cardinality and other statistics for an indexed column, such as those calculated by ANALYZE TABLE.\",\"defaultValue\":\"20\",\"dataType\":\"Integer\",\"allowedValues\":\"1-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_stats_persistent_sample_pages\",\"name\":\"innodb_stats_persistent_sample_pages\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"The number of index pages to sample when estimating cardinality and other statistics for an indexed column, such as those calculated by ANALYZE TABLE.\",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"1-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_stats_transient_sample_pages\",\"name\":\"innodb_stats_transient_sample_pages\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Enables or disables periodic output for the standard InnoDB Monitor.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_status_output\",\"name\":\"innodb_status_output\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Enables or disables the InnoDB Lock Monitor.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_status_output_locks\",\"name\":\"innodb_status_output_locks\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"When innodb_strict_mode is enabled, InnoDB returns errors rather than warnings for certain conditions.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_strict_mode\",\"name\":\"innodb_strict_mode\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Enables two phase commit in XA transactions\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_support_xa\",\"name\":\"innodb_support_xa\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Defines the size of the mutex/lock wait array. Increasing the value splits the internal data structure used to coordinate threads, for higher concurrency in workloads with large numbers of waiting threads. \",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"1-1024\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_sync_array_size\",\"name\":\"innodb_sync_array_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"30\",\"description\":\"The number of times a thread waits for an InnoDB mutex to be freed before the thread is suspended.\",\"defaultValue\":\"30\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_sync_spin_loops\",\"name\":\"innodb_sync_spin_loops\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"The default value of innodb_table_locks is 1, which means that LOCK TABLES causes InnoDB to lock a table internally if autocommit = 0.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_table_locks\",\"name\":\"innodb_table_locks\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ibtmp1:12M:autoextend\",\"description\":\"Specifies the path, file name, and file size for InnoDB temporary tablespace data files.\",\"defaultValue\":\"ibtmp1:12M:autoextend\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_temp_data_file_path\",\"name\":\"innodb_temp_data_file_path\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"InnoDB tries to keep the number of operating system threads concurrently inside InnoDB less than or equal to the limit given by this variable.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_thread_concurrency\",\"name\":\"innodb_thread_concurrency\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10000\",\"description\":\"Defines how long InnoDB threads sleep before joining the InnoDB queue, in microseconds.\",\"defaultValue\":\"10000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_thread_sleep_delay\",\"name\":\"innodb_thread_sleep_delay\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"/app/work/temp\",\"description\":\"Used to define an alternate directory for temporary sort files created during online ALTER TABLE operations that rebuild the table.\",\"defaultValue\":\"/app/work/temp\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_tmpdir\",\"name\":\"innodb_tmpdir\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"When enabled, undo tablespaces that exceed the threshold value defined by innodb_max_undo_log_size are marked for truncation.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_undo_log_truncate\",\"name\":\"innodb_undo_log_truncate\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"128\",\"description\":\"Defines how many of the rollback segments in the system tablespace that InnoDB uses within a transaction.\",\"defaultValue\":\"128\",\"dataType\":\"Integer\",\"allowedValues\":\"1-128\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_undo_logs\",\"name\":\"innodb_undo_logs\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The number of tablespace files that the undo logs are divided between, when you use a non-zero innodb_undo_logs setting.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-95\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_undo_tablespaces\",\"name\":\"innodb_undo_tablespaces\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Controls whether or not MySQL uses Linux native asynchronous IO.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_use_native_aio\",\"name\":\"innodb_use_native_aio\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"The number of I/O threads for write operations in InnoDB.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"1-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_write_io_threads\",\"name\":\"innodb_write_io_threads\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"28800\",\"description\":\"Number of seconds the server waits for activity on an interactive connection before closing it.\",\"defaultValue\":\"28800\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/interactive_timeout\",\"name\":\"interactive_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"INNODB\",\"description\":\"The storage engine for on-disk internal temporary tables \",\"defaultValue\":\"INNODB\",\"dataType\":\"Enumeration\",\"allowedValues\":\"INNODB,MYISAM\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/internal_tmp_disk_storage_engine\",\"name\":\"internal_tmp_disk_storage_engine\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"262144\",\"description\":\"The minimum size of the buffer that is used for plain index scans, range index scans, and joins that do not use indexes and thus perform full table scans.\",\"defaultValue\":\"262144\",\"dataType\":\"Integer\",\"allowedValues\":\"128-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/join_buffer_size\",\"name\":\"join_buffer_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Suppress behavior to overwrite MyISAM file created in DATA DIRECTORY or INDEX DIRECTORY.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/keep_files_on_create\",\"name\":\"keep_files_on_create\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8388608\",\"description\":\"Increase the buffer size to get better index handling used for index blocks (for all reads and multiple writes).\",\"defaultValue\":\"8388608\",\"dataType\":\"Integer\",\"allowedValues\":\"8-9223372036854771712\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/key_buffer_size\",\"name\":\"key_buffer_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"300\",\"description\":\"Controls the demotion of buffers from the hot sub-chain of a key cache to the warm sub-chain. Lower values cause demotion to happen more quickly.\",\"defaultValue\":\"300\",\"dataType\":\"Integer\",\"allowedValues\":\"100-18446744073709547520\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/key_cache_age_threshold\",\"name\":\"key_cache_age_threshold\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"Size in bytes of blocks in the key cache.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"512-16384\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/key_cache_block_size\",\"name\":\"key_cache_block_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"The division point between the hot and warm sub-chains of the key cache buffer chain. The value is the percentage of the buffer chain to use for the warm sub-chain.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"1-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/key_cache_division_limit\",\"name\":\"key_cache_division_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"en_US\",\"description\":\"This variable specifies the locale that controls the language used to display day and month names and abbreviations.\",\"defaultValue\":\"en_US\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ar_AE,ar_BH,ar_DZ,ar_EG,ar_IN,ar_IQ,ar_JO,ar_KW,ar_LB,ar_LY,ar_MA,ar_OM,ar_QA,ar_SA,ar_SD,ar_SY,ar_TN,ar_YE,be_BY,bg_BG,ca_ES,cs_CZ,da_DK,de_AT,de_BE,de_CH,de_DE,de_LU,el_GR,en_AU,en_CA,en_GB,en_IN,en_NZ,en_PH,en_US,en_ZA,en_ZW,es_AR,es_BO,es_CL,es_CO,es_CR,es_DO,es_EC,es_ES,es_GT,es_HN,es_MX,es_NI,es_PA,es_PE,es_PR,es_PY,es_SV,es_US,es_UY,es_VE,et_EE,eu_ES,fi_FI,fo_FO,fr_BE,fr_CA,fr_CH,fr_FR,fr_LU,gl_ES,gu_IN,he_IL,hi_IN,hr_HR,hu_HU,id_ID,is_IS,it_CH,it_IT,ja_JP,ko_KR,lt_LT,lv_LV,mk_MK,mn_MN,ms_MY,nb_NO,nl_BE,nl_NL,no_NO,pl_PL,pt_BR,pt_PT,ro_RO,ru_RU,ru_UA,sk_SK,sl_SI,sq_AL,sr_RS,sv_FI,sv_SE,ta_IN,te_IN,th_TH,tr_TR,uk_UA,ur_PK,vi_VN,zh_CN,zh_HK,zh_TW\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/lc_time_names\",\"name\":\"lc_time_names\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"This variable controls server-side LOCAL capability for LOAD DATA statements.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/local_infile\",\"name\":\"local_infile\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"31536000\",\"description\":\"This variable specifies the timeout in seconds for attempts to acquire metadata locks.\",\"defaultValue\":\"31536000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/lock_wait_timeout\",\"name\":\"lock_wait_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Whether binlog is enabled or not. When set to ON, it will be replaced with binlog folder /app/work/binlogs. Otherwise, it will not be introduced in my.ini.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_bin\",\"name\":\"log_bin\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This variable applies when binary logging is enabled. It controls whether stored function creators can be trusted not to create stored functions that will cause unsafe events to be written to the binary log. It cannot be updated any more for a master/replica server to keep the replication consistency.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_bin_trust_function_creators\",\"name\":\"log_bin_trust_function_creators\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Whether MySQL writes binary log events using a Version 1 or Version 2 logging events\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_bin_use_v1_row_events\",\"name\":\"log_bin_use_v1_row_events\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Whether to log CREATE/ALTER USER, GRANT in backward-compatible fashion\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_builtin_as_identified_by_password\",\"name\":\"log_builtin_as_identified_by_password\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"NONE\",\"description\":\"The destination for general query log and slow query log output.\",\"defaultValue\":\"NONE\",\"dataType\":\"Set\",\"allowedValues\":\"FILE,NONE\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_output\",\"name\":\"log_output\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Logs queries that are expected to retrieve all rows to slow query log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_queries_not_using_indexes\",\"name\":\"log_queries_not_using_indexes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Normally, a slave does not write to its own binary log any updates that are received from a master server. This option causes the slave to write the updates performed by its SQL thread to its own binary log.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_slave_updates\",\"name\":\"log_slave_updates\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Include slow administrative statements in the statements written to the slow query log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_slow_admin_statements\",\"name\":\"log_slow_admin_statements\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"When the slow query log is enabled, this variable enables logging for queries that have taken more than long_query_time seconds to execute on the slave.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_slow_slave_statements\",\"name\":\"log_slow_slave_statements\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"If error 1592 is encountered, controls whether the generated warnings are added to the error log or not.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_statements_unsafe_for_binlog\",\"name\":\"log_statements_unsafe_for_binlog\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Whether to write error log output to syslog.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_syslog\",\"name\":\"log_syslog\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"daemon\",\"description\":\"The facility for error log output written to syslog (what type of program is sending the message).\",\"defaultValue\":\"daemon\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_syslog_facility\",\"name\":\"log_syslog_facility\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Whether to include the server process ID in each line of error log output written to syslog.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_syslog_include_pid\",\"name\":\"log_syslog_include_pid\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"The tag to be added to the server identifier in error log output written to syslog.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_syslog_tag\",\"name\":\"log_syslog_tag\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Limits the number of such queries per minute that can be written to the slow query log.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_throttle_queries_not_using_indexes\",\"name\":\"log_throttle_queries_not_using_indexes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"UTC\",\"description\":\"This variable controls the timestamp time zone of error log messages, and of general query log and slow query log messages written to files.\",\"defaultValue\":\"UTC\",\"dataType\":\"Enumeration\",\"allowedValues\":\"UTC,SYSTEM\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_timestamps\",\"name\":\"log_timestamps\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Whether to produce additional warning messages to the error log.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_warnings\",\"name\":\"log_warnings\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"If a query takes longer than this many seconds, the server increments the Slow_queries status variable.\",\"defaultValue\":\"10\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/long_query_time\",\"name\":\"long_query_time\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"INSERT, UPDATE, DELETE, and LOCK TABLE WRITE wait until no pending SELECT. Affects only storage engines that use only table-level locking (MyISAM, MEMORY, MERGE).\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/low_priority_updates\",\"name\":\"low_priority_updates\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"If set to 1, table names are stored in lowercase on disk and comparisons are not case sensitive. If set to 2, table names are stored as given but compared in lowercase.\",\"defaultValue\":\"1\",\"dataType\":\"Enumeration\",\"allowedValues\":\"0,1\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/lower_case_table_names\",\"name\":\"lower_case_table_names\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"TABLE\",\"description\":\"The setting of this variable determines whether the slave logs master status and connection information to a FILE (master.info), or to a TABLE (mysql.slave_master_info).\",\"defaultValue\":\"TABLE\",\"dataType\":\"Enumeration\",\"allowedValues\":\"FILE,TABLE\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/master_info_repository\",\"name\":\"master_info_repository\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Enabling this variable causes the master to examine checksums when reading from the binary log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/master_verify_checksum\",\"name\":\"master_verify_checksum\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"536870912\",\"description\":\"The maximum size of one packet or any generated/intermediate string, or any parameter sent by the mysql_stmt_send_long_data() C API function.\",\"defaultValue\":\"536870912\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_allowed_packet\",\"name\":\"max_allowed_packet\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"18446744073709551615\",\"description\":\"If a transaction requires more than this many bytes of memory, the server generates a Multi-statement transaction required more than \u0027max_binlog_cache_size\u0027 bytes of storage error.\",\"defaultValue\":\"18446744073709551615\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_binlog_cache_size\",\"name\":\"max_binlog_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"104857600\",\"description\":\"If a write to the binary log causes the current log file size to exceed the value of this variable, the server rotates the binary logs (closes the current file and opens the next one).\",\"defaultValue\":\"104857600\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_binlog_size\",\"name\":\"max_binlog_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"18446744073709547520\",\"description\":\"If nontransactional statements within a transaction require more than this many bytes of memory, the server generates an error.\",\"defaultValue\":\"18446744073709547520\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-18446744073709547520\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_binlog_stmt_cache_size\",\"name\":\"max_binlog_stmt_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"If more than this many successive connection requests from a host are interrupted without a successful connection, the server blocks that host from further connections.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_connect_errors\",\"name\":\"max_connect_errors\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"171\",\"description\":\"The maximum permitted number of simultaneous client connections.\",\"defaultValue\":\"171\",\"dataType\":\"Integer\",\"allowedValues\":\"10-341\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_connections\",\"name\":\"max_connections\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"20\",\"description\":\"Do not start more than this number of threads to handle INSERT DELAYED statements.\",\"defaultValue\":\"20\",\"dataType\":\"Integer\",\"allowedValues\":\"0-16384\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_delayed_threads\",\"name\":\"max_delayed_threads\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"The maximum number of bytes available for computing normalized statement digests.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_digest_length\",\"name\":\"max_digest_length\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"The maximum number of error, warning, and note messages to be stored for display by the SHOW ERRORS and SHOW WARNINGS statements.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"0-65535\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_error_count\",\"name\":\"max_error_count\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The execution timeout for SELECT statements, in milliseconds. If the value is 0, timeouts are not enabled.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_execution_time\",\"name\":\"max_execution_time\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"16777216\",\"description\":\"This variable sets the maximum size to which user-created MEMORY tables are permitted to grow.\",\"defaultValue\":\"16777216\",\"dataType\":\"Integer\",\"allowedValues\":\"16384-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_heap_table_size\",\"name\":\"max_heap_table_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"18446744073709551615\",\"description\":\"Do not permit statements that probably need to examine more than max_join_size rows\",\"defaultValue\":\"18446744073709551615\",\"dataType\":\"Integer\",\"allowedValues\":\"1-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_join_size\",\"name\":\"max_join_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"The cutoff on the size of index values that determines which filesort algorithm to use.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"4-8388608\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_length_for_sort_data\",\"name\":\"max_length_for_sort_data\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"65536\",\"description\":\"The maximum value of the points_per_circle argument to the ST_Buffer_Strategy() function.\",\"defaultValue\":\"65536\",\"dataType\":\"Integer\",\"allowedValues\":\"3-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_points_in_geometry\",\"name\":\"max_points_in_geometry\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"16382\",\"description\":\"This variable limits the total number of prepared statements in the server.\",\"defaultValue\":\"16382\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_prepared_stmt_count\",\"name\":\"max_prepared_stmt_count\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"104857600\",\"description\":\"The size at which the server rotates relay log files automatically. If this value is nonzero, the relay log is rotated automatically when its size exceeds this value. If this value is zero (the default), the size at which relay log rotation occurs is determined by the value of max_binlog_size.\",\"defaultValue\":\"104857600\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_relay_log_size\",\"name\":\"max_relay_log_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4294967295\",\"description\":\"Limit the assumed maximum number of seeks when looking up rows based on a key.\",\"defaultValue\":\"4294967295\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_seeks_for_key\",\"name\":\"max_seeks_for_key\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"The number of bytes to use when sorting data values.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"4-8388608\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_sort_length\",\"name\":\"max_sort_length\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The number of times that any given stored procedure may be called recursively. The default value for this option is 0, which completely disables recursion in stored procedures.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-255\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_sp_recursion_depth\",\"name\":\"max_sp_recursion_depth\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"32\",\"description\":\"The maximum number of temporary tables a client can keep open at the same time.\",\"defaultValue\":\"32\",\"dataType\":\"Integer\",\"allowedValues\":\"1-9223372036854775807\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_tmp_tables\",\"name\":\"max_tmp_tables\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The maximum number of simultaneous connections permitted to any given MySQL user account. A value of 0 (the default) means \u0027no limit.\u0027\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_user_connections\",\"name\":\"max_user_connections\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4294967295\",\"description\":\"After this many write locks, permit some pending read lock requests to be processed in between.\",\"defaultValue\":\"4294967295\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_write_lock_count\",\"name\":\"max_write_lock_count\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"The size of the metadata locks cache\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"1-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/metadata_locks_cache_size\",\"name\":\"metadata_locks_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Can be used to cause queries which examine fewer than the stated number of rows not to be logged.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/min_examined_row_limit\",\"name\":\"min_examined_row_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This variable controls whether the mysql_native_password built-in authentication plugin supports proxy users.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/mysql_native_password_proxy_users\",\"name\":\"mysql_native_password_proxy_users\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"16384\",\"description\":\"Each client thread is associated with a connection buffer and result buffer. Both begin with a size given by net_buffer_length but are dynamically enlarged up to max_allowed_packet bytes as needed.\",\"defaultValue\":\"16384\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/net_buffer_length\",\"name\":\"net_buffer_length\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"120\",\"description\":\"The number of seconds the server waits for network reading action, especially for LOAD DATA LOCAL FILE.\",\"defaultValue\":\"120\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/net_read_timeout\",\"name\":\"net_read_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"If a read or write on a communication port is interrupted, retry this many times before giving up.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/net_retry_count\",\"name\":\"net_retry_count\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"240\",\"description\":\"The number of seconds the server waits for network writing action, especially for LOAD DATA LOCAL FILE.\",\"defaultValue\":\"240\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/net_write_timeout\",\"name\":\"net_write_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Defines the n-gram token size for the n-gram full-text parser. \",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/ngram_token_size\",\"name\":\"ngram_token_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"In offline mode, clients that are refused access receive an ER_SERVER_OFFLINE_MODE error.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/offline_mode\",\"name\":\"offline_mode\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Force the server to generate short (pre-4.1) password hashes for new passwords. This is useful for compatibility when the server must support older client programs.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0,2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/old_passwords\",\"name\":\"old_passwords\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"5000\",\"description\":\"The number of files that the operating system permits mysqld to open.\",\"defaultValue\":\"5000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/open_files_limit\",\"name\":\"open_files_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Controls the heuristics applied during query optimization to prune less-promising partial plans from the optimizer search space.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0,1\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/optimizer_prune_level\",\"name\":\"optimizer_prune_level\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"62\",\"description\":\"The maximum depth of search performed by the query optimizer.\",\"defaultValue\":\"62\",\"dataType\":\"Integer\",\"allowedValues\":\"0-62\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/optimizer_search_depth\",\"name\":\"optimizer_search_depth\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"default\",\"description\":\"The value of this variable is a set of flags, each of which has a value of on or off to indicate whether the corresponding optimizer behavior is enabled or disabled.\",\"defaultValue\":\"default\",\"dataType\":\"Set\",\"allowedValues\":\"default,batched_key_access=on,batched_key_access=off,block_nested_loop=on,block_nested_loop=off,condition_fanout_filter=on,condition_fanout_filter=off,derived_merge=on,derived_merge=off,duplicateweedout=on,duplicateweedout=off,engine_condition_pushdown=on,engine_condition_pushdown=off,firstmatch=on,firstmatch=off,index_condition_pushdown=on,index_condition_pushdown=off,index_merge=on,index_merge=off,index_merge_intersection=on,index_merge_intersection=off,index_merge_sort_union=on,index_merge_sort_union=off,index_merge_union=on,index_merge_union=off,loosescan=on,loosescan=off,materialization=on,materialization=off,mrr=on,mrr=off,mrr_cost_based=on,mrr_cost_based=off,semijoin=on,semijoin=off,subquery_materialization_cost_based=on,subquery_materialization_cost_based=off,use_index_extensions=on,use_index_extensions=off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/optimizer_switch\",\"name\":\"optimizer_switch\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"enabled=off,one_line=off\",\"description\":\"Controls how statements are traced.\",\"defaultValue\":\"enabled=off,one_line=off\",\"dataType\":\"Set\",\"allowedValues\":\"default,enabled=on,enabled=off,one_line=on,one_line=off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/optimizer_trace\",\"name\":\"optimizer_trace\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"greedy_search=on,range_optimizer=on,dynamic_range=on,repeated_subselect=on\",\"description\":\"Controls optimizations during statement tracing.\",\"defaultValue\":\"greedy_search=on,range_optimizer=on,dynamic_range=on,repeated_subselect=on\",\"dataType\":\"Set\",\"allowedValues\":\"default,greedy_search=on,greedy_search=off,range_optimizer=on,range_optimizer=off,dynamic_range=on,dynamic_range=off,repeated_subselect=on,repeated_subselect=off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/optimizer_trace_features\",\"name\":\"optimizer_trace_features\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Controls the limit on trace retention.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"1-9223372036854775807\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/optimizer_trace_limit\",\"name\":\"optimizer_trace_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"16384\",\"description\":\"Maximum allowed cumulated size of stored optimizer traces\",\"defaultValue\":\"16384\",\"dataType\":\"Integer\",\"allowedValues\":\"0-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/optimizer_trace_max_mem_size\",\"name\":\"optimizer_trace_max_mem_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Controls the offset on trace retention.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-9223372036854770000-9223372036854770000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/optimizer_trace_offset\",\"name\":\"optimizer_trace_offset\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"18446744073709551615\",\"description\":\"The maximum amount of memory available to the parser.\",\"defaultValue\":\"18446744073709551615\",\"dataType\":\"Integer\",\"allowedValues\":\"10000000-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/parser_max_mem_size\",\"name\":\"parser_max_mem_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"The value of this variable is ON or OFF to indicate whether the Performance Schema is enabled.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/performance_schema\",\"name\":\"performance_schema\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"80\",\"description\":\"The maximum number of condition instruments. \",\"defaultValue\":\"80\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/performance_schema_max_cond_classes\",\"name\":\"performance_schema_max_cond_classes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"80\",\"description\":\"The maximum number of file instruments. \",\"defaultValue\":\"80\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/performance_schema_max_file_classes\",\"name\":\"performance_schema_max_file_classes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"32768\",\"description\":\"The maximum number of opened file objects. \",\"defaultValue\":\"32768\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/performance_schema_max_file_handles\",\"name\":\"performance_schema_max_file_handles\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"320\",\"description\":\"The maximum number of memory instruments.\",\"defaultValue\":\"320\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1024\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/performance_schema_max_memory_classes\",\"name\":\"performance_schema_max_memory_classes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"The maximum number of mutex instruments. \",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/performance_schema_max_mutex_classes\",\"name\":\"performance_schema_max_mutex_classes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"40\",\"description\":\"The maximum number of rwlock instruments. \",\"defaultValue\":\"40\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/performance_schema_max_rwlock_classes\",\"name\":\"performance_schema_max_rwlock_classes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"The maximum number of socket instruments. \",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/performance_schema_max_socket_classes\",\"name\":\"performance_schema_max_socket_classes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"The maximum number of bytes used to store SQL statements in the SQL_TEXT column\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/performance_schema_max_sql_text_length\",\"name\":\"performance_schema_max_sql_text_length\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"150\",\"description\":\"The maximum number of stage instruments. \",\"defaultValue\":\"150\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/performance_schema_max_stage_classes\",\"name\":\"performance_schema_max_stage_classes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"The maximum depth of nested stored program calls for which the Performance Schema maintains statistics.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"1-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/performance_schema_max_statement_stack\",\"name\":\"performance_schema_max_statement_stack\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"The maximum number of thread instruments. \",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/performance_schema_max_thread_classes\",\"name\":\"performance_schema_max_thread_classes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Tells the server to load the named plugins at startup.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/plugin-load\",\"name\":\"plugin-load\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"32768\",\"description\":\"The size of the buffer that is allocated when preloading indexes.\",\"defaultValue\":\"32768\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/preload_buffer_size\",\"name\":\"preload_buffer_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"15\",\"description\":\"The number of statements for which to maintain profiling if profiling is enabled.\",\"defaultValue\":\"15\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/profiling_history_size\",\"name\":\"profiling_history_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8192\",\"description\":\"The allocation size of memory blocks that are allocated for objects created during statement parsing and execution.\",\"defaultValue\":\"8192\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/query_alloc_block_size\",\"name\":\"query_alloc_block_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1048576\",\"description\":\"Do not cache results that are larger than this number of bytes.\",\"defaultValue\":\"1048576\",\"dataType\":\"Integer\",\"allowedValues\":\"0-134217728\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/query_cache_limit\",\"name\":\"query_cache_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"The minimum size (in bytes) for blocks allocated by the query cache.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"512-131072\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/query_cache_min_res_unit\",\"name\":\"query_cache_min_res_unit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The amount of memory allocated for caching query results.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0,102400-134217728\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/query_cache_size\",\"name\":\"query_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Set the query cache type.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF,DEMAND\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/query_cache_type\",\"name\":\"query_cache_type\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Setting this variable to 1 causes acquisition of a WRITE lock for a table to invalidate any queries in the query cache that refer to the table.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/query_cache_wlock_invalidate\",\"name\":\"query_cache_wlock_invalidate\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8192\",\"description\":\"The size of the persistent buffer used for statement parsing and execution. This buffer is not freed between statements. If you are running complex queries, a larger value might be helpful in improving performance, because it can reduce the need for the server to perform memory allocation during query execution operations.\",\"defaultValue\":\"8192\",\"dataType\":\"Integer\",\"allowedValues\":\"8192-131072\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/query_prealloc_size\",\"name\":\"query_prealloc_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"The size of blocks that are allocated when doing range optimization.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-131072\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/range_alloc_block_size\",\"name\":\"range_alloc_block_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8388608\",\"description\":\"The limit on memory consumption for the range optimizer. A value of 0 means \u0027no limit.\u0027\",\"defaultValue\":\"8388608\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-134217728\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/range_optimizer_max_mem_size\",\"name\":\"range_optimizer_max_mem_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"131072\",\"description\":\"Each thread that does a sequential scan allocates this buffer. Increased value may help perf if performing many sequential scans.\",\"defaultValue\":\"131072\",\"dataType\":\"Integer\",\"allowedValues\":\"8200-2147479552\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/read_buffer_size\",\"name\":\"read_buffer_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This parameter controls whetherthe server permits no client updates. When the server is read replica or server storage is full, this parameter will not take effect.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/read_only\",\"name\":\"read_only\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"262144\",\"description\":\"Avoids disk reads when reading rows in sorted order following a key-sort operation. Large values can improve ORDER BY perf.\",\"defaultValue\":\"262144\",\"dataType\":\"Integer\",\"allowedValues\":\"8200-2147479552\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/read_rnd_buffer_size\",\"name\":\"read_rnd_buffer_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"/app/work/relaylogs/relay_bin\",\"description\":\"Relay log path.\",\"defaultValue\":\"/app/work/relaylogs/relay_bin\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/relay_log\",\"name\":\"relay_log\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"/app/work/relaylogs/relay_bin.index\",\"description\":\"Relay log index path.\",\"defaultValue\":\"/app/work/relaylogs/relay_bin.index\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/relay_log_index\",\"name\":\"relay_log_index\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"TABLE\",\"description\":\"This variable determines whether the slave\u0027s position in the relay logs is written to a FILE (relay-log.info) or to a TABLE (mysql.slave_relay_log_info).\",\"defaultValue\":\"TABLE\",\"dataType\":\"Enumeration\",\"allowedValues\":\"FILE,TABLE\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/relay_log_info_repository\",\"name\":\"relay_log_info_repository\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Disable or enable automatic purging of relay logs as soon as they are no longer needed.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/relay_log_purge\",\"name\":\"relay_log_purge\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Enables automatic relay log recovery immediately following server startup.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/relay_log_recovery\",\"name\":\"relay_log_recovery\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1073741824\",\"description\":\"This option places an upper limit on the total size in bytes of all relay logs on the slave.\",\"defaultValue\":\"1073741824\",\"dataType\":\"Integer\",\"allowedValues\":\"1073741824-3221225472\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/relay_log_space_limit\",\"name\":\"relay_log_space_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"mysql.%\",\"description\":\"Creates a replication filter which keeps the slave thread from replicating a statement in which any table matches the given wildcard pattern. To specify more than one table to ignore, use comma-separated list.\",\"defaultValue\":\"mysql.%\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/replicate_wild_ignore_table\",\"name\":\"replicate_wild_ignore_table\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Whether client connections to the server are required to use some form of secure transport. When this variable is enabled, the server permits only TCP/IP connections that use SSL, or connections that use a socket file (on Unix) or shared memory (on Windows). \",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/require_secure_transport\",\"name\":\"require_secure_transport\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"31536000\",\"description\":\"In MySQL 5.6.13 and later, you can control the length of time (in seconds) that STOP SLAVE waits before timing out by setting this variable.\",\"defaultValue\":\"31536000\",\"dataType\":\"Integer\",\"allowedValues\":\"2-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/rpl_stop_slave_timeout\",\"name\":\"rpl_stop_slave_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Blocks connections from all accounts that have passwords stored in the old (pre-4.1) format.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/secure_auth\",\"name\":\"secure_auth\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"This variable is used to limit the effect of data import and export operations, such as those performed by the LOAD DATA and SELECT ... INTO OUTFILE statements and the LOAD_FILE() function.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/secure_file_priv\",\"name\":\"secure_file_priv\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1236947509\",\"description\":\"The server ID, used in replication to give each master and slave a unique identity.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"1000-4294967295\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/server_id\",\"name\":\"server_id\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Controls whether the server tracks changes to the default schema (database) name within the current session and makes this information available to the client when changes occur.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/session_track_schema\",\"name\":\"session_track_schema\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Controls whether the server tracks changes to the state of the current session and notifies the client when state changes occur.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/session_track_state_change\",\"name\":\"session_track_state_change\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"time_zone, autocommit, character_set_client, character_set_results, character_set_connection\",\"description\":\"Controls whether the server tracks changes to the session system variables and makes this information available to the client when changes occur.\",\"defaultValue\":\"time_zone, autocommit, character_set_client, character_set_results, character_set_connection\",\"dataType\":\"Set\",\"allowedValues\":\"time_zone,autocommit,character_set_client,character_set_results,character_set_connection\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/session_track_system_variables\",\"name\":\"session_track_system_variables\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Track changes to the transaction attributes.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"OFF,STATE,CHARACTERISTICS\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/session_track_transaction_info\",\"name\":\"session_track_transaction_info\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Controls whether the server autogenerates RSA private/public key-pair files in the data directory.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/sha256_password_auto_generate_rsa_keys\",\"name\":\"sha256_password_auto_generate_rsa_keys\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Controls whether the sha256_password built-in authentication plugin supports proxy users.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/sha256_password_proxy_users\",\"name\":\"sha256_password_proxy_users\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Affects whether MySQL 5.6 compatibility is enabled with respect to how system and status variable information is provided by the INFORMATION_SCHEMA and Performance Schema tables, and also by the SHOW VARIABLES and SHOW STATUS statements.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/show_compatibility_56\",\"name\":\"show_compatibility_56\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Whether SHOW CREATE TABLE output includes comments to flag temporal columns found to be in pre-5.6.4 format.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/show_old_temporals\",\"name\":\"show_old_temporals\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Uses OS locking instead of internal\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/skip_external_locking\",\"name\":\"skip_external_locking\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Host names are not resolved. All Host column values in the grant tables must be IP numbers or localhost.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/skip_name_resolve\",\"name\":\"skip_name_resolve\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This prevents people from using the SHOW DATABASES statement if they do not have the SHOW DATABASES privilege. \",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/skip_show_database\",\"name\":\"skip_show_database\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"False\",\"description\":\"Tells the slave server not to start the slave threads when the server starts.\",\"defaultValue\":\"False\",\"dataType\":\"Enumeration\",\"allowedValues\":\"TRUE,FALSE\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/skip-slave-start\",\"name\":\"skip-slave-start\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Whether or not batched updates are enabled on replication slaves.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_allow_batching\",\"name\":\"slave_allow_batching\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"512\",\"description\":\"Sets the maximum number of transactions that can be processed by a multi-threaded slave before a checkpoint operation is called to update its status as shown by SHOW SLAVE STATUS.\",\"defaultValue\":\"512\",\"dataType\":\"Integer\",\"allowedValues\":\"32-524280\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_checkpoint_group\",\"name\":\"slave_checkpoint_group\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"300\",\"description\":\"Sets the maximum time (in milliseconds) that is allowed to pass before a checkpoint operation is called to update the status of a multi-threaded slave as shown by SHOW SLAVE STATUS.\",\"defaultValue\":\"300\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_checkpoint_period\",\"name\":\"slave_checkpoint_period\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Whether to use compression of the slave/master protocol if both the slave and the master support it.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_compressed_protocol\",\"name\":\"slave_compressed_protocol\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"STRICT\",\"description\":\"Controls how a slave thread resolves conflicts and errors during replication.\",\"defaultValue\":\"STRICT\",\"dataType\":\"Enumeration\",\"allowedValues\":\"IDEMPOTENT,STRICT\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_exec_mode\",\"name\":\"slave_exec_mode\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"/app/work/temp\",\"description\":\"The name of the directory where the slave creates temporary files.\",\"defaultValue\":\"/app/work/temp\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_load_tmpdir\",\"name\":\"slave_load_tmpdir\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1073741824\",\"description\":\"In MySQL 5.6.6 and later, this option sets the maximum packet size in bytes for the slave SQL and I/O threads.\",\"defaultValue\":\"1073741824\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_max_allowed_packet\",\"name\":\"slave_max_allowed_packet\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"60\",\"description\":\"The number of seconds to wait for more data from the master before the slave considers the connection broken, aborts the read, and tries to reconnect.\",\"defaultValue\":\"60\",\"dataType\":\"Integer\",\"allowedValues\":\"30-3600\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_net_timeout\",\"name\":\"slave_net_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"LOGICAL_CLOCK\",\"description\":\"The policy used to decide which transactions are allowed to execute in parallel on the slave.\",\"defaultValue\":\"LOGICAL_CLOCK\",\"dataType\":\"Enumeration\",\"allowedValues\":\"DATABASE,LOGICAL_CLOCK\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_parallel_type\",\"name\":\"slave_parallel_type\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Sets the number of slave worker threads for executing replication events (transactions) in parallel.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-512\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_parallel_workers\",\"name\":\"slave_parallel_workers\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"16777216\",\"description\":\"For multithreaded slaves, this variable sets the maximum amount of memory (in bytes) available to slave worker queues holding events not yet applied.\",\"defaultValue\":\"16777216\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_pending_jobs_size_max\",\"name\":\"slave_pending_jobs_size_max\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"For multi-threaded slaves, enabling this variable ensures that transactions are externalized on the slave in the same order as they appear in the slave\u0027s relay log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_preserve_commit_order\",\"name\":\"slave_preserve_commit_order\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"TABLE_SCAN,INDEX_SCAN\",\"description\":\"When preparing batches of rows for row-based logging and replication, this variable controls how the rows are searched for matches???that is, whether or not hashing is used for searches using a primary or unique key, using some other key, or using no key at all.\",\"defaultValue\":\"TABLE_SCAN,INDEX_SCAN\",\"dataType\":\"Set\",\"allowedValues\":\"TABLE_SCAN,INDEX_SCAN,HASH_SCAN\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_rows_search_algorithms\",\"name\":\"slave_rows_search_algorithms\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Normally, replication stops when an error occurs on the slave. This gives you the opportunity to resolve the inconsistency in the data manually.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"OFF,all,ddl_exist_errors\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_skip_errors\",\"name\":\"slave_skip_errors\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"When this option is enabled, the slave examines checksums read from the relay log, in the event of a mismatch, the slave stops with an error.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_sql_verify_checksum\",\"name\":\"slave_sql_verify_checksum\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"If a replication slave SQL thread fails to execute a transaction because of an InnoDB deadlock or because the transaction\u0027s execution time exceeded InnoDB\u0027s innodb_lock_wait_timeout or NDB\u0027s TransactionDeadlockDetectionTimeout or TransactionInactiveTimeout, it automatically retries slave_transaction_retries times before stopping with an error.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_transaction_retries\",\"name\":\"slave_transaction_retries\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Controls the type conversion mode in effect on the slave when using row-based replication.\",\"defaultValue\":\"\",\"dataType\":\"Set\",\"allowedValues\":\",ALL_LOSSY,ALL_NON_LOSSY,ALL_SIGNED,ALL_UNSIGNED\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_type_conversions\",\"name\":\"slave_type_conversions\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Increments Slow_launch_threads if creating thread takes longer than this many seconds.\",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"0-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slow_launch_time\",\"name\":\"slow_launch_time\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Enable or disable the slow query log\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slow_query_log\",\"name\":\"slow_query_log\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"/app/work/serverlogs/mysql-slow-mysql-flexible-test-100-2020111008.log\",\"description\":\"The name of the slow query log file.\",\"defaultValue\":\"mysql-slow.log\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slow_query_log_file\",\"name\":\"slow_query_log_file\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"524288\",\"description\":\"Each session that must perform a sort allocates a buffer of this size.\",\"defaultValue\":\"524288\",\"dataType\":\"Integer\",\"allowedValues\":\"32768-33554432\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/sort_buffer_size\",\"name\":\"sort_buffer_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION\",\"description\":\"The current server SQL mode.\",\"defaultValue\":\"ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION\",\"dataType\":\"Set\",\"allowedValues\":\",ALLOW_INVALID_DATES,ANSI_QUOTES,ERROR_FOR_DIVISION_BY_ZERO,HIGH_NOT_PRECEDENCE,IGNORE_SPACE,NO_AUTO_CREATE_USER,NO_AUTO_VALUE_ON_ZERO,NO_BACKSLASH_ESCAPES,NO_DIR_IN_CREATE,NO_ENGINE_SUBSTITUTION,NO_FIELD_OPTIONS,NO_KEY_OPTIONS,NO_TABLE_OPTIONS,NO_UNSIGNED_SUBTRACTION,NO_ZERO_DATE,NO_ZERO_IN_DATE,ONLY_FULL_GROUP_BY,PAD_CHAR_TO_FULL_LENGTH,PIPES_AS_CONCAT,REAL_AS_FLOAT,STRICT_ALL_TABLES,STRICT_TRANS_TABLES\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/sql_mode\",\"name\":\"sql_mode\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"When set, tables must be created with a primary key, and an existing primary key cannot be removed with \u0027ALTER TABLE\u0027. Attempts to do so will result in an error\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON, OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/sql_require_primary_key\",\"name\":\"sql_require_primary_key\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384:DHE-RSA-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-RSA-AES128-CCM:DHE-RSA-AES256-CCM:DHE-RSA-AES128-CCM8:DHE-RSA-AES256-CCM8\",\"description\":\"The list of permissible ciphers for connection encryption. By default, the FIPS cipher suites for TLS 1.2 are enforced.\",\"defaultValue\":\"ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384:DHE-RSA-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-RSA-AES128-CCM:DHE-RSA-AES256-CCM:DHE-RSA-AES128-CCM8:DHE-RSA-AES256-CCM8\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/ssl_cipher\",\"name\":\"ssl_cipher\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"256\",\"description\":\"Sets a soft upper limit for the number of cached stored routines per connection.\",\"defaultValue\":\"256\",\"dataType\":\"Integer\",\"allowedValues\":\"16-524288\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/stored_program_cache\",\"name\":\"stored_program_cache\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This parameter controls the server prohibits client updates even from users who have SUPER.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/super_read_only\",\"name\":\"super_read_only\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"The size in bytes of the buffer that InnoDB uses to write to the log files on disk.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1024\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/sync_binlog\",\"name\":\"sync_binlog\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"If this variable is set to 1, when any nontemporary table is created its .frm file is synchronized to disk\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/sync_frm\",\"name\":\"sync_frm\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The effects of this variable on a replication slave depend on whether the slave\u0027s master_info_repository is set to FILE or TABLE\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/sync_master_info\",\"name\":\"sync_master_info\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"If the value of this variable is greater than 0, the MySQL server synchronizes its relay log to disk (using fdatasync()) after every sync_relay_log events are written to the relay log.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/sync_relay_log\",\"name\":\"sync_relay_log\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"The effects of this variable on the slave depend on the server\u0027s relay_log_info_repository setting (FILE or TABLE), and if this is TABLE, additionally on whether the storage engine used by the relay log info table is transactional (such as InnoDB) or not (MyISAM). \",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/sync_relay_log_info\",\"name\":\"sync_relay_log_info\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"600\",\"description\":\"The number of table definitions (from .frm files) that can be stored in the definition cache.\",\"defaultValue\":\"600\",\"dataType\":\"Integer\",\"allowedValues\":\"400-524288\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/table_definition_cache\",\"name\":\"table_definition_cache\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"600\",\"description\":\"The number of open tables for all threads.\",\"defaultValue\":\"600\",\"dataType\":\"Integer\",\"allowedValues\":\"1-160000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/table_open_cache\",\"name\":\"table_open_cache\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"The number of open tables cache instances.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"1-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/table_open_cache_instances\",\"name\":\"table_open_cache_instances\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"9\",\"description\":\"How many threads the server should cache for reuse. The default value is 8 + (max_connections / 100), capped to a limit of 100.\",\"defaultValue\":\"9\",\"dataType\":\"Integer\",\"allowedValues\":\"0-16384\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/thread_cache_size\",\"name\":\"thread_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"one-thread-per-connection\",\"description\":\"The thread-handling model used by the server for connection threads.\",\"defaultValue\":\"one-thread-per-connection\",\"dataType\":\"Enumeration\",\"allowedValues\":\"one-thread-per-connection,no-threads,pool-of-threads,loaded-dynamically\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/thread_handling\",\"name\":\"thread_handling\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"262144\",\"description\":\"The stack size for each thread.\",\"defaultValue\":\"262144\",\"dataType\":\"Integer\",\"allowedValues\":\"131072-2147483136\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/thread_stack\",\"name\":\"thread_stack\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"+00:00\",\"description\":\"The server time zone\",\"defaultValue\":\"+00:00\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/time_zone\",\"name\":\"time_zone\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"TLSv1.2\",\"description\":\"Which protocols the server permits for encrypted connections. By default, TLS 1.2 is enforced\",\"defaultValue\":\"TLSv1.2\",\"dataType\":\"Set\",\"allowedValues\":\"TLSv1,TLSv1.1,TLSv1.2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/tls_version\",\"name\":\"tls_version\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"16777216\",\"description\":\"The maximum size of internal in-memory temporary tables. This variable does not apply to user-created MEMORY tables.\",\"defaultValue\":\"16777216\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/tmp_table_size\",\"name\":\"tmp_table_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"/app/work/temp\",\"description\":\"The path of the directory to use for creating temporary files.\",\"defaultValue\":\"/app/work/temp\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/tmpdir\",\"name\":\"tmpdir\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8192\",\"description\":\"The amount in bytes by which to increase a per-transaction memory pool which needs memory.\",\"defaultValue\":\"8192\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-131072\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/transaction_alloc_block_size\",\"name\":\"transaction_alloc_block_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"There is a per-transaction memory pool from which various transaction-related allocations take memory. The initial size of the pool in bytes is transaction_prealloc_size.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-131072\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/transaction_prealloc_size\",\"name\":\"transaction_prealloc_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Reserved for future use.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"OFF,MURMUR32\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/transaction_write_set_extraction\",\"name\":\"transaction_write_set_extraction\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"REPEATABLE-READ\",\"description\":\"The default transaction isolation level.\",\"defaultValue\":\"REPEATABLE-READ\",\"dataType\":\"Enumeration\",\"allowedValues\":\"READ-UNCOMMITTED,READ-COMMITTED,REPEATABLE-READ,SERIALIZABLE\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/tx_isolation\",\"name\":\"tx_isolation\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"YES\",\"description\":\"This variable controls whether updates to a view can be made when the view does not contain all columns of the primary key defined in the underlying table, if the update statement contains a LIMIT clause.\",\"defaultValue\":\"YES\",\"dataType\":\"Enumeration\",\"allowedValues\":\"YES,NO\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/updatable_views_with_limit\",\"name\":\"updatable_views_with_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"28800\",\"description\":\"The number of seconds the server waits for activity on a noninteractive connection before closing it.\",\"defaultValue\":\"28800\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/wait_timeout\",\"name\":\"wait_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"}]}" } }, - "Get-AzMySqlFlexibleServerConfiguration+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/configurations/time_zone?api-version=2020-07-01-preview+1": { + "Get-AzMySqlFlexibleServerConfiguration+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/configurations/time_zone?api-version=2020-07-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/configurations/time_zone?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/configurations/time_zone?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "2" ], @@ -74,13 +74,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"value\":\"+00:00\",\"description\":\"The server time zone\",\"defaultValue\":\"+00:00\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/time_zone\",\"name\":\"time_zone\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"}" + "Content": "{\"properties\":{\"value\":\"+00:00\",\"description\":\"The server time zone\",\"defaultValue\":\"+00:00\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/time_zone\",\"name\":\"time_zone\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"}" } }, - "Get-AzMySqlFlexibleServerConfiguration+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/configurations/server_id?api-version=2020-07-01-preview+1": { + "Get-AzMySqlFlexibleServerConfiguration+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/configurations/server_id?api-version=2020-07-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/configurations/server_id?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/configurations/server_id?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "3" ], @@ -113,7 +113,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"value\":\"1236947509\",\"description\":\"The server ID, used in replication to give each master and slave a unique identity.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"1000-4294967295\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/server_id\",\"name\":\"server_id\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"}" + "Content": "{\"properties\":{\"value\":\"1236947509\",\"description\":\"The server ID, used in replication to give each master and slave a unique identity.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"1000-4294967295\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/server_id\",\"name\":\"server_id\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"}" } } } \ No newline at end of file diff --git a/src/MySql/test/Get-AzMySqlFlexibleServerConfiguration.Tests.ps1 b/src/MySql/test/Get-AzMySqlFlexibleServerConfiguration.Tests.ps1 index 64a919a51fc6..9a75ddff8d8e 100644 --- a/src/MySql/test/Get-AzMySqlFlexibleServerConfiguration.Tests.ps1 +++ b/src/MySql/test/Get-AzMySqlFlexibleServerConfiguration.Tests.ps1 @@ -14,21 +14,21 @@ while(-not $mockingPath) { Describe 'Get-AzMySqlFlexibleServerConfiguration' { It 'List' { { - $config = Get-AzMySqlFlexibleServerConfiguration -ResourceGroupName $env.resourceGroup -ServerName $env.serverName + $config = Get-AzMySqlFlexibleServerConfiguration -ResourceGroupName $env.resourceGroup -ServerName $env.flexibleServerName $config.Count | Should -BeGreaterOrEqual 1 } | Should -Not -Throw } It 'Get' { { - $config = Get-AzMySqlFlexibleServerConfiguration -Name time_zone -ResourceGroupName $env.resourceGroup -ServerName $env.serverName + $config = Get-AzMySqlFlexibleServerConfiguration -Name time_zone -ResourceGroupName $env.resourceGroup -ServerName $env.flexibleServerName $config.Name | Should -Be time_zone } | Should -Not -Throw } It 'GetViaIdentity' { { - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySql/flexibleServers/$($env.serverName)/configurations/server_id" + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySql/flexibleServers/$($env.flexibleServerName)/configurations/server_id" $config = Get-AzMySqlFlexibleServerConfiguration -InputObject $ID $config.Name | Should -Be server_id } | Should -Not -Throw diff --git a/src/MySql/test/Get-AzMySqlFlexibleServerConnectionString.Recording.json b/src/MySql/test/Get-AzMySqlFlexibleServerConnectionString.Recording.json index b8fb03eb21db..97f28f63b23f 100644 --- a/src/MySql/test/Get-AzMySqlFlexibleServerConnectionString.Recording.json +++ b/src/MySql/test/Get-AzMySqlFlexibleServerConnectionString.Recording.json @@ -1,8 +1,8 @@ { - "Get-AzMySqlFlexibleServerConnectionString+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview+1": { + "Get-AzMySqlFlexibleServerConnectionString+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "2" ], @@ -35,13 +35,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-flexible-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\"name\":\"mysql-flexible-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } }, - "Get-AzMySqlFlexibleServerConnectionString+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview+2": { + "Get-AzMySqlFlexibleServerConnectionString+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "2" ], @@ -74,13 +74,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-flexible-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\"name\":\"mysql-flexible-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } }, - "Get-AzMySqlFlexibleServerConnectionString+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview+3": { + "Get-AzMySqlFlexibleServerConnectionString+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "2" ], @@ -113,13 +113,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-flexible-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\"name\":\"mysql-flexible-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } }, - "Get-AzMySqlFlexibleServerConnectionString+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview+4": { + "Get-AzMySqlFlexibleServerConnectionString+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "2" ], @@ -152,13 +152,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-flexible-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\"name\":\"mysql-flexible-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } }, - "Get-AzMySqlFlexibleServerConnectionString+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview+5": { + "Get-AzMySqlFlexibleServerConnectionString+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "2" ], @@ -191,13 +191,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-flexible-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\"name\":\"mysql-flexible-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } }, - "Get-AzMySqlFlexibleServerConnectionString+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview+6": { + "Get-AzMySqlFlexibleServerConnectionString+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "2" ], @@ -230,7 +230,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-flexible-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\"name\":\"mysql-flexible-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } } } \ No newline at end of file diff --git a/src/MySql/test/Get-AzMySqlFlexibleServerConnectionString.Tests.ps1 b/src/MySql/test/Get-AzMySqlFlexibleServerConnectionString.Tests.ps1 index fed288ee8cf6..cdb1ec36dc67 100644 --- a/src/MySql/test/Get-AzMySqlFlexibleServerConnectionString.Tests.ps1 +++ b/src/MySql/test/Get-AzMySqlFlexibleServerConnectionString.Tests.ps1 @@ -13,28 +13,28 @@ while(-not $mockingPath) { Describe 'Get-AzMySqlFlexibleServerConnectionString' { It 'Get' { - $connectionString = Get-AzMySqlFlexibleServerConnectionString -Client ADO.NET -Name $env.serverName -ResourceGroupName $env.resourceGroup - $ADOExpect = 'Server=' + $env.serverName + '.mysql.database.azure.com; Port=3306; Database={your_database}; UserID=mysql_test; Password={your_password}; ' + $connectionString = Get-AzMySqlFlexibleServerConnectionString -Client ADO.NET -Name $env.flexibleServerName -ResourceGroupName $env.resourceGroup + $ADOExpect = 'Server=' + $env.flexibleServerName + '.mysql.database.azure.com; Port=3306; Database={your_database}; UserID=mysql_test; Password={your_password}; ' $connectionString | Should -Be $ADOExpect - $PHPConnectionString = Get-AzMySqlFlexibleServerConnectionString -Client PHP -Name $env.serverName -ResourceGroupName $env.resourceGroup - $PHPExpect = '$con=mysqli_init(); mysqli_real_connect($con, "' + $env.serverName + '.mysql.database.azure.com", "mysql_test", {your_password}, {your_database}, 3306);' + $PHPConnectionString = Get-AzMySqlFlexibleServerConnectionString -Client PHP -Name $env.flexibleServerName -ResourceGroupName $env.resourceGroup + $PHPExpect = '$con=mysqli_init(); mysqli_real_connect($con, "' + $env.flexibleServerName + '.mysql.database.azure.com", "mysql_test", {your_password}, {your_database}, 3306);' $PHPConnectionString | Should -Be $PHPExpect - $JDBCConnectionString = Get-AzMySqlFlexibleServerConnectionString -Client JDBC -Name $env.serverName -ResourceGroupName $env.resourceGroup - $JDBCExpect = 'String url ="jdbc:mysql://'+ $env.serverName + '.mysql.database.azure.com:3306/{your_database}"; myDbConn = DriverManager.getConnection(url, "mysql_test", {your_password});' + $JDBCConnectionString = Get-AzMySqlFlexibleServerConnectionString -Client JDBC -Name $env.flexibleServerName -ResourceGroupName $env.resourceGroup + $JDBCExpect = 'String url ="jdbc:mysql://'+ $env.flexibleServerName + '.mysql.database.azure.com:3306/{your_database}"; myDbConn = DriverManager.getConnection(url, "mysql_test", {your_password});' $JDBCConnectionString | Should -Be $JDBCExpect - $NodeConnectionString = Get-AzMySqlFlexibleServerConnectionString -Client Node.js -Name $env.serverName -ResourceGroupName $env.resourceGroup - $NodeExpect = 'var conn = mysql.createConnection({host: "' + $env.serverName + '.mysql.database.azure.com", user: "mysql_test", password: {your_password}, database: {your_database}, port: 3306});' + $NodeConnectionString = Get-AzMySqlFlexibleServerConnectionString -Client Node.js -Name $env.flexibleServerName -ResourceGroupName $env.resourceGroup + $NodeExpect = 'var conn = mysql.createConnection({host: "' + $env.flexibleServerName + '.mysql.database.azure.com", user: "mysql_test", password: {your_password}, database: {your_database}, port: 3306});' $NodeConnectionString | Should -Be $NodeExpect - $PythonConnectionString = Get-AzMySqlFlexibleServerConnectionString -Client Python -Name $env.serverName -ResourceGroupName $env.resourceGroup - $PythonExpect = 'cnx = mysql.connector.connect(user="mysql_test", password={your_password}, host="' + $env.serverName +'.mysql.database.azure.com", port=3306, database={your_database})' + $PythonConnectionString = Get-AzMySqlFlexibleServerConnectionString -Client Python -Name $env.flexibleServerName -ResourceGroupName $env.resourceGroup + $PythonExpect = 'cnx = mysql.connector.connect(user="mysql_test", password={your_password}, host="' + $env.flexibleServerName +'.mysql.database.azure.com", port=3306, database={your_database})' $PythonConnectionString | Should -Be $PythonExpect - $RubyConnectionString = Get-AzMySqlFlexibleServerConnectionString -Client Ruby -Name $env.serverName -ResourceGroupName $env.resourceGroup - $RubyExpect = 'client = Mysql2::Client.new(username: "mysql_test", password: {your_password}, database: {your_database}, host: "' + $env.serverName + '.mysql.database.azure.com", port: 3306)' + $RubyConnectionString = Get-AzMySqlFlexibleServerConnectionString -Client Ruby -Name $env.flexibleServerName -ResourceGroupName $env.resourceGroup + $RubyExpect = 'client = Mysql2::Client.new(username: "mysql_test", password: {your_password}, database: {your_database}, host: "' + $env.flexibleServerName + '.mysql.database.azure.com", port: 3306)' $RubyConnectionString | Should -Be $RubyExpect } } diff --git a/src/MySql/test/Get-AzMySqlFlexibleServerDatabase.Recording.json b/src/MySql/test/Get-AzMySqlFlexibleServerDatabase.Recording.json index cf8a8cbc7b1a..54f74fac352f 100644 --- a/src/MySql/test/Get-AzMySqlFlexibleServerDatabase.Recording.json +++ b/src/MySql/test/Get-AzMySqlFlexibleServerDatabase.Recording.json @@ -1,8 +1,8 @@ { - "Get-AzMySqlFlexibleServerDatabase+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview+1": { + "Get-AzMySqlFlexibleServerDatabase+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", "Content": "{\r\n \"properties\": {\r\n \"charset\": \"latin1\"\r\n }\r\n}", "Headers": { }, @@ -76,10 +76,10 @@ "Content": "{\"name\":\"96326ee6-19e9-49da-bf99-cef36c9b88fa\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T22:03:32.76Z\"}" } }, - "Get-AzMySqlFlexibleServerDatabase+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview+3": { + "Get-AzMySqlFlexibleServerDatabase+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" + "Content": "{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" } }, - "Get-AzMySqlFlexibleServerDatabase+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases?api-version=2020-07-01-preview+4": { + "Get-AzMySqlFlexibleServerDatabase+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases?api-version=2020-07-01-preview+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "4" ], @@ -151,13 +151,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"properties\":{\"charset\":\"utf8\",\"collation\":\"utf8_general_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/databases/information_schema\",\"name\":\"information_schema\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"},{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/databases/mysql\",\"name\":\"mysql\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"},{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"},{\"properties\":{\"charset\":\"utf8\",\"collation\":\"utf8_general_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/databases/performance_schema\",\"name\":\"performance_schema\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"},{\"properties\":{\"charset\":\"utf8\",\"collation\":\"utf8_general_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/databases/sys\",\"name\":\"sys\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}]}" + "Content": "{\"value\":[{\"properties\":{\"charset\":\"utf8\",\"collation\":\"utf8_general_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/information_schema\",\"name\":\"information_schema\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"},{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/mysql\",\"name\":\"mysql\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"},{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"},{\"properties\":{\"charset\":\"utf8\",\"collation\":\"utf8_general_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/performance_schema\",\"name\":\"performance_schema\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"},{\"properties\":{\"charset\":\"utf8\",\"collation\":\"utf8_general_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/sys\",\"name\":\"sys\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}]}" } }, - "Get-AzMySqlFlexibleServerDatabase+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview+1": { + "Get-AzMySqlFlexibleServerDatabase+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "5" ], @@ -190,13 +190,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" + "Content": "{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" } }, - "Get-AzMySqlFlexibleServerDatabase+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview+1": { + "Get-AzMySqlFlexibleServerDatabase+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "6" ], @@ -229,13 +229,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" + "Content": "{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" } }, - "Get-AzMySqlFlexibleServerDatabase+[NoContext]+GetViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview+2": { + "Get-AzMySqlFlexibleServerDatabase+[NoContext]+GetViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+2": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "7" ], @@ -350,7 +350,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" + "Content": "{\"properties\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" } } } \ No newline at end of file diff --git a/src/MySql/test/Get-AzMySqlFlexibleServerDatabase.Tests.ps1 b/src/MySql/test/Get-AzMySqlFlexibleServerDatabase.Tests.ps1 index 4be922f379df..2d143d1816ed 100644 --- a/src/MySql/test/Get-AzMySqlFlexibleServerDatabase.Tests.ps1 +++ b/src/MySql/test/Get-AzMySqlFlexibleServerDatabase.Tests.ps1 @@ -14,15 +14,15 @@ while(-not $mockingPath) { Describe 'Get-AzMySqlFlexibleServerDatabase' { It 'List' { { - New-AzMySqlFlexibleServerDatabase -Name $env.databaseName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -Charset latin1 - $database = Get-AzMySqlFlexibleServerDatabase -ResourceGroupName $env.resourceGroup -ServerName $env.serverName + New-AzMySqlFlexibleServerDatabase -Name $env.databaseName -ResourceGroupName $env.resourceGroup -ServerName $env.flexibleServerName -Charset latin1 + $database = Get-AzMySqlFlexibleServerDatabase -ResourceGroupName $env.resourceGroup -ServerName $env.flexibleServerName $database.Count | Should -BeGreaterThan 0 } | Should -Not -Throw } It 'Get' { { - $database = Get-AzMySqlFlexibleServerDatabase -Name $env.databaseName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName + $database = Get-AzMySqlFlexibleServerDatabase -Name $env.databaseName -ResourceGroupName $env.resourceGroup -ServerName $env.flexibleServerName $database.Collation | Should -Be "latin1_swedish_ci" $database.Charset | Should -Be "latin1" } | Should -Not -Throw @@ -30,11 +30,11 @@ Describe 'Get-AzMySqlFlexibleServerDatabase' { It 'GetViaIdentity' { { - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySql/flexibleServers/$($env.serverName)/databases/$($env.databaseName)" + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySql/flexibleServers/$($env.flexibleServerName)/databases/$($env.databaseName)" $database = Get-AzMySqlFlexibleServerDatabase -InputObject $ID $database.Collation | Should -Be "latin1_swedish_ci" $database.Charset | Should -Be "latin1" - Remove-AzMySqlFlexibleServerDatabase -Name $env.databaseName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName + Remove-AzMySqlFlexibleServerDatabase -Name $env.databaseName -ResourceGroupName $env.resourceGroup -ServerName $env.flexibleServerName } | Should -Not -Throw } } diff --git a/src/MySql/test/Get-AzMySqlFlexibleServerFirewallRule.Recording.json b/src/MySql/test/Get-AzMySqlFlexibleServerFirewallRule.Recording.json index 34844cf42039..e5e9ed96862c 100644 --- a/src/MySql/test/Get-AzMySqlFlexibleServerFirewallRule.Recording.json +++ b/src/MySql/test/Get-AzMySqlFlexibleServerFirewallRule.Recording.json @@ -1,8 +1,8 @@ { - "Get-AzMySqlFlexibleServerFirewallRule+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { + "Get-AzMySqlFlexibleServerFirewallRule+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -76,10 +76,10 @@ "Content": "{\"name\":\"1e8ff943-a93f-4526-88a5-28bbe71c90eb\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T08:58:51.333Z\"}" } }, - "Get-AzMySqlFlexibleServerFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { + "Get-AzMySqlFlexibleServerFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -115,10 +115,10 @@ "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}" } }, - "Get-AzMySqlFlexibleServerFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules?api-version=2020-07-01-preview+4": { + "Get-AzMySqlFlexibleServerFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules?api-version=2020-07-01-preview+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "17" ], @@ -154,10 +154,10 @@ "Content": "{\"value\":[{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}]}" } }, - "Get-AzMySqlFlexibleServerFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { + "Get-AzMySqlFlexibleServerFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "18" ], @@ -193,10 +193,10 @@ "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}" } }, - "Get-AzMySqlFlexibleServerFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { + "Get-AzMySqlFlexibleServerFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "19" ], @@ -232,10 +232,10 @@ "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}" } }, - "Get-AzMySqlFlexibleServerFirewallRule+[NoContext]+GetViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+2": { + "Get-AzMySqlFlexibleServerFirewallRule+[NoContext]+GetViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+2": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "20" ], diff --git a/src/MySql/test/Get-AzMySqlFlexibleServerFirewallRule.Tests.ps1 b/src/MySql/test/Get-AzMySqlFlexibleServerFirewallRule.Tests.ps1 index 8d77ca947b60..c30885ec22ca 100644 --- a/src/MySql/test/Get-AzMySqlFlexibleServerFirewallRule.Tests.ps1 +++ b/src/MySql/test/Get-AzMySqlFlexibleServerFirewallRule.Tests.ps1 @@ -14,15 +14,15 @@ while(-not $mockingPath) { Describe 'Get-AzMySqlFlexibleServerFirewallRule' { It 'List' { { - New-AzMySqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 - $rule = Get-AzMySqlFlexibleServerFirewallRule -ResourceGroupName $env.resourceGroup -ServerName $env.serverName + New-AzMySqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.flexibleServerName -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 + $rule = Get-AzMySqlFlexibleServerFirewallRule -ResourceGroupName $env.resourceGroup -ServerName $env.flexibleServerName $rule.Count | Should -Be 1 } | Should -Not -Throw } It 'Get' { { - $rule = Get-AzMySqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName + $rule = Get-AzMySqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.flexibleServerName $rule.StartIPAddress | Should -Be 0.0.0.0 $rule.EndIPAddress | Should -Be 0.0.0.1 } | Should -Not -Throw @@ -30,11 +30,11 @@ Describe 'Get-AzMySqlFlexibleServerFirewallRule' { It 'GetViaIdentity' { { - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySql/flexibleServers/$($env.serverName)/firewallRules/$($env.firewallRuleName)" + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySql/flexibleServers/$($env.flexibleServerName)/firewallRules/$($env.firewallRuleName)" $rule = Get-AzMySqlFlexibleServerFirewallRule -InputObject $ID $rule.StartIPAddress | Should -Be 0.0.0.0 $rule.EndIPAddress | Should -Be 0.0.0.1 - Remove-AzMySqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName + Remove-AzMySqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.flexibleServerName } | Should -Not -Throw } } diff --git a/src/MySql/test/New-AzMySqlFlexibleServerDatabase.Recording.json b/src/MySql/test/New-AzMySqlFlexibleServerDatabase.Recording.json index 936447607d9c..db5db208d056 100644 --- a/src/MySql/test/New-AzMySqlFlexibleServerDatabase.Recording.json +++ b/src/MySql/test/New-AzMySqlFlexibleServerDatabase.Recording.json @@ -1,8 +1,8 @@ { - "New-AzMySqlFlexibleServerDatabase+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview+1": { + "New-AzMySqlFlexibleServerDatabase+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", "Content": "{\r\n \"properties\": {\r\n \"charset\": \"latin1\"\r\n }\r\n}", "Headers": { }, @@ -76,10 +76,10 @@ "Content": "{\"name\":\"e46feaf8-5c78-4845-a914-9e0a0918b170\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T22:04:07.337Z\"}" } }, - "New-AzMySqlFlexibleServerDatabase+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview+3": { + "New-AzMySqlFlexibleServerDatabase+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" + "Content": "{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" } }, - "New-AzMySqlFlexibleServerDatabase+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview+4": { + "New-AzMySqlFlexibleServerDatabase+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "13" ], @@ -233,7 +233,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" + "Content": "{\"properties\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" } } } \ No newline at end of file diff --git a/src/MySql/test/New-AzMySqlFlexibleServerDatabase.Tests.ps1 b/src/MySql/test/New-AzMySqlFlexibleServerDatabase.Tests.ps1 index 8e11a27c4651..1b5f7d1371e6 100644 --- a/src/MySql/test/New-AzMySqlFlexibleServerDatabase.Tests.ps1 +++ b/src/MySql/test/New-AzMySqlFlexibleServerDatabase.Tests.ps1 @@ -14,11 +14,11 @@ while(-not $mockingPath) { Describe 'New-AzMySqlFlexibleServerDatabase' { It 'CreateExpanded' { { - $database = New-AzMySqlFlexibleServerDatabase -Name $env.databaseName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -Charset latin1 + $database = New-AzMySqlFlexibleServerDatabase -Name $env.databaseName -ResourceGroupName $env.resourceGroup -ServerName $env.flexibleServerName -Charset latin1 $database.Name | Should -Be $env.databaseName $database.Collation | Should -Be "latin1_swedish_ci" $database.Charset | Should -Be "latin1" - Remove-AzMySqlFlexibleServerDatabase -Name $env.databaseName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName + Remove-AzMySqlFlexibleServerDatabase -Name $env.databaseName -ResourceGroupName $env.resourceGroup -ServerName $env.flexibleServerName } | Should -Not -Throw } } diff --git a/src/MySql/test/New-AzMySqlFlexibleServerFirewallRule.Recording.json b/src/MySql/test/New-AzMySqlFlexibleServerFirewallRule.Recording.json index 3af1fe2c9651..39d30c67a1c9 100644 --- a/src/MySql/test/New-AzMySqlFlexibleServerFirewallRule.Recording.json +++ b/src/MySql/test/New-AzMySqlFlexibleServerFirewallRule.Recording.json @@ -1,8 +1,8 @@ { - "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { + "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -76,10 +76,10 @@ "Content": "{\"name\":\"2a262625-b6dc-474b-9caa-cb5139c88e0a\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T09:20:09.57Z\"}" } }, - "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { + "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -115,10 +115,10 @@ "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}" } }, - "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+4": { + "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "4" ], @@ -235,10 +235,10 @@ "Content": null } }, - "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { + "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.1\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -312,10 +312,10 @@ "Content": "{\"name\":\"038168bb-6845-4a35-be4c-4e4f72457add\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T09:22:12.733Z\"}" } }, - "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { + "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -351,10 +351,10 @@ "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.1\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}" } }, - "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+4": { + "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "10" ], @@ -471,10 +471,10 @@ "Content": null } }, - "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+AllowAll+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { + "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+AllowAll+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"255.255.255.255\"\r\n }\r\n}", "Headers": { }, @@ -548,10 +548,10 @@ "Content": "{\"name\":\"57b64c53-c8a9-471b-b47a-c10c7591b0d4\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T09:24:14.72Z\"}" } }, - "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { + "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -587,10 +587,10 @@ "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"255.255.255.255\"},\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}" } }, - "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+AllowAll+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+4": { + "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+AllowAll+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "16" ], diff --git a/src/MySql/test/New-AzMySqlFlexibleServerFirewallRule.Tests.ps1 b/src/MySql/test/New-AzMySqlFlexibleServerFirewallRule.Tests.ps1 index 0199cb9bef20..378e5f7097ce 100644 --- a/src/MySql/test/New-AzMySqlFlexibleServerFirewallRule.Tests.ps1 +++ b/src/MySql/test/New-AzMySqlFlexibleServerFirewallRule.Tests.ps1 @@ -13,27 +13,27 @@ while(-not $mockingPath) { Describe 'New-AzMySqlFlexibleServerFirewallRule' { It 'CreateExpanded' { - $rule = New-AzMySqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 + $rule = New-AzMySqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.flexibleServerName -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 $rule.Name | Should -Be $env.firewallRuleName $rule.StartIPAddress | Should -Be 0.0.0.0 $rule.EndIPAddress | Should -Be 0.0.0.1 - Remove-AzMySqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName + Remove-AzMySqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.flexibleServerName } It 'ClientIPAddress' { #Use only one parameter when only one IP - $rule = New-AzMySqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -ClientIPAddress 0.0.0.1 + $rule = New-AzMySqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.flexibleServerName -ClientIPAddress 0.0.0.1 $rule.Name | Should -Be $env.firewallRuleName $rule.StartIPAddress | Should -Be 0.0.0.1 $rule.EndIPAddress | Should -Be 0.0.0.1 - Remove-AzMySqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName + Remove-AzMySqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.flexibleServerName } It 'AllowAll' { - $rule = New-AzMySqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -AllowAll + $rule = New-AzMySqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.flexibleServerName -AllowAll $rule.Name | Should -Be $env.firewallRuleName $rule.StartIPAddress | Should -Be 0.0.0.0 $rule.EndIPAddress | Should -Be 255.255.255.255 - Remove-AzMySqlFlexibleServerFirewallRule -Name $rule.Name -ResourceGroupName $env.resourceGroup -ServerName $env.serverName + Remove-AzMySqlFlexibleServerFirewallRule -Name $rule.Name -ResourceGroupName $env.resourceGroup -ServerName $env.flexibleServerName } } diff --git a/src/MySql/test/New-AzMySqlFlexibleServerOld.Recording.json b/src/MySql/test/New-AzMySqlFlexibleServerOld.Recording.json deleted file mode 100644 index 943645f577ef..000000000000 --- a/src/MySql/test/New-AzMySqlFlexibleServerOld.Recording.json +++ /dev/null @@ -1,3495 +0,0 @@ -{ - "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+1": { - "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", - "Content": "{\r\n \"location\": \"eastus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_D2ds_v4\",\r\n \"tier\": \"GeneralPurpose\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 12,\r\n \"storageMB\": 102400\r\n },\r\n \"administratorLogin\": \"mysql_test\",\r\n \"administratorLoginPassword\": \"Pasword01!!2020\",\r\n \"version\": \"5.7\",\r\n \"createMode\": \"Default\"\r\n }\r\n}", - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "376" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/operationResults/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview" ], - "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "667dafb6-209c-483f-b69f-39484b76f3c2" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-correlation-request-id": [ "9b6cf422-9f80-4be2-9549-78dc2fdcd41e" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T204129Z:9b6cf422-9f80-4be2-9549-78dc2fdcd41e" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 20:41:28 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "88" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-11T20:41:29.477Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "2" ], - "x-ms-client-request-id": [ "3164a413-75ae-4a59-9b0d-8326ce5bdd04" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "a2c60699-415c-47d9-bd41-93c53a0726e5" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], - "x-ms-correlation-request-id": [ "d29ae1ab-3d5b-4752-80b6-9dc03a6923eb" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T204230Z:d29ae1ab-3d5b-4752-80b6-9dc03a6923eb" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 20:42:29 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"46a5c82d-e040-419c-a08f-c771c5b4af8d\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T20:41:29.477Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "3164a413-75ae-4a59-9b0d-8326ce5bdd04" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "daf365e5-4c61-41aa-964b-4e9a928949be" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], - "x-ms-correlation-request-id": [ "d74864f5-76d5-4ba6-a54d-02f5ad1c2c1c" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T204330Z:d74864f5-76d5-4ba6-a54d-02f5ad1c2c1c" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 20:43:29 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"46a5c82d-e040-419c-a08f-c771c5b4af8d\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T20:41:29.477Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview+4": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "3164a413-75ae-4a59-9b0d-8326ce5bdd04" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "298a5a86-ef50-4d77-9e9f-83bc882726df" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], - "x-ms-correlation-request-id": [ "900cd2b1-93a5-45d9-8136-a84315fdcb92" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T204430Z:900cd2b1-93a5-45d9-8136-a84315fdcb92" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 20:44:30 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"46a5c82d-e040-419c-a08f-c771c5b4af8d\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T20:41:29.477Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview+5": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "5" ], - "x-ms-client-request-id": [ "3164a413-75ae-4a59-9b0d-8326ce5bdd04" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "af39c4fb-1f6c-47c9-957d-cb3e16960ce0" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], - "x-ms-correlation-request-id": [ "271b6a24-f082-4559-9015-4d81e1d629c1" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T204531Z:271b6a24-f082-4559-9015-4d81e1d629c1" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 20:45:30 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"46a5c82d-e040-419c-a08f-c771c5b4af8d\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T20:41:29.477Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "6" ], - "x-ms-client-request-id": [ "3164a413-75ae-4a59-9b0d-8326ce5bdd04" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "b635cabe-f384-40a4-8119-30f690e402f2" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], - "x-ms-correlation-request-id": [ "19ff368f-70ce-4ad0-abff-3b507751fc1e" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T204632Z:19ff368f-70ce-4ad0-abff-3b507751fc1e" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 20:46:31 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"46a5c82d-e040-419c-a08f-c771c5b4af8d\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T20:41:29.477Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview+7": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "7" ], - "x-ms-client-request-id": [ "3164a413-75ae-4a59-9b0d-8326ce5bdd04" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "c6803031-4c07-429c-bd01-c473f5072fec" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], - "x-ms-correlation-request-id": [ "ce62fa1d-2f5b-4331-987d-5693956176eb" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T204732Z:ce62fa1d-2f5b-4331-987d-5693956176eb" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 20:47:32 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"46a5c82d-e040-419c-a08f-c771c5b4af8d\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T20:41:29.477Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview+8": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "8" ], - "x-ms-client-request-id": [ "3164a413-75ae-4a59-9b0d-8326ce5bdd04" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "886fdc7c-493a-4dfc-a82a-b4bc6728c7e8" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], - "x-ms-correlation-request-id": [ "eb2dace3-c78b-4854-a75d-28547d87ad5d" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T204832Z:eb2dace3-c78b-4854-a75d-28547d87ad5d" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 20:48:31 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"46a5c82d-e040-419c-a08f-c771c5b4af8d\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T20:41:29.477Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview+9": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2/azureAsyncOperation/46a5c82d-e040-419c-a08f-c771c5b4af8d?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "9" ], - "x-ms-client-request-id": [ "3164a413-75ae-4a59-9b0d-8326ce5bdd04" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "80d5c056-b086-45f0-b142-bf1f8ed98d61" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], - "x-ms-correlation-request-id": [ "cf74a88a-89a7-435c-88f1-ca560274e1c9" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T204933Z:cf74a88a-89a7-435c-88f1-ca560274e1c9" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 20:49:33 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"46a5c82d-e040-419c-a08f-c771c5b4af8d\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T20:41:29.477Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+10": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "10" ], - "x-ms-client-request-id": [ "3164a413-75ae-4a59-9b0d-8326ce5bdd04" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "40d55e84-8cb6-4c3a-9496-fbc94ad2ab92" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], - "x-ms-correlation-request-id": [ "efa7eda6-33e9-48ab-a389-6d21f220d52c" ], - "x-ms-routing-request-id": [ "WESTUS2:20201111T204933Z:efa7eda6-33e9-48ab-a389-6d21f220d52c" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 11 Nov 2020 20:49:33 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "961" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"sku\":{\"name\":\"Standard_D2ds_v4\",\"tier\":\"GeneralPurpose\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":102400,\"storageIops\":0,\"backupRetentionDays\":12,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T20:49:33.3741322+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" - } - } - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+1": { - "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", - "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"administratorLogin\": \"unrulyCod3\",\r\n \"administratorLoginPassword\": \"TDZR?B!24$)i)@Bv\",\r\n \"version\": \"5.7\",\r\n \"createMode\": \"Default\"\r\n }\r\n}", - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "367" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview" ], - "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "2b4fec3c-ecbb-4d47-8a6a-7c0a188275da" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-correlation-request-id": [ "03d28c5c-07c4-4562-9791-a93ae6b189e0" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T005048Z:03d28c5c-07c4-4562-9791-a93ae6b189e0" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:50:48 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "88" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-25T00:50:48.667Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "c9854e85-286f-44aa-9c9f-704cdccd19f1" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "814d79a5-40c9-410e-8298-effb3962bdfd" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], - "x-ms-correlation-request-id": [ "7b236b49-028c-407e-b638-9acb2243c09a" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T005149Z:7b236b49-028c-407e-b638-9acb2243c09a" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:51:48 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"80090f41-57e9-4f8c-8901-9978e0771356\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:50:48.667Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "c9854e85-286f-44aa-9c9f-704cdccd19f1" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "1805b859-f820-423e-9af6-9850400a7f0a" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], - "x-ms-correlation-request-id": [ "23e5ae15-9312-4203-b6ef-135c5b0fccbd" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T005249Z:23e5ae15-9312-4203-b6ef-135c5b0fccbd" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:52:49 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"80090f41-57e9-4f8c-8901-9978e0771356\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:50:48.667Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview+4": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "5" ], - "x-ms-client-request-id": [ "c9854e85-286f-44aa-9c9f-704cdccd19f1" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "ef142442-5350-424c-b5e0-fd634813d2cf" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], - "x-ms-correlation-request-id": [ "3eff9478-01f5-4a71-a166-30ec91ceeb85" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T005349Z:3eff9478-01f5-4a71-a166-30ec91ceeb85" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:53:49 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"80090f41-57e9-4f8c-8901-9978e0771356\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:50:48.667Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview+5": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "6" ], - "x-ms-client-request-id": [ "c9854e85-286f-44aa-9c9f-704cdccd19f1" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "59819522-a46d-4a07-b9c5-72823843c325" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], - "x-ms-correlation-request-id": [ "4f72e26f-58b0-4c11-a482-bae98a8d21d1" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T005449Z:4f72e26f-58b0-4c11-a482-bae98a8d21d1" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:54:49 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"80090f41-57e9-4f8c-8901-9978e0771356\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:50:48.667Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "7" ], - "x-ms-client-request-id": [ "c9854e85-286f-44aa-9c9f-704cdccd19f1" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "5eac551f-5468-443f-9207-789abb931870" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], - "x-ms-correlation-request-id": [ "c74a3838-bddc-4877-9011-9e82f1f5adb9" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T005549Z:c74a3838-bddc-4877-9011-9e82f1f5adb9" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:55:48 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"80090f41-57e9-4f8c-8901-9978e0771356\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:50:48.667Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview+7": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "8" ], - "x-ms-client-request-id": [ "c9854e85-286f-44aa-9c9f-704cdccd19f1" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "79a98451-be3c-49bb-a69c-b525de8aec62" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], - "x-ms-correlation-request-id": [ "72dbd2ff-4349-4352-863b-b933ff335219" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T005649Z:72dbd2ff-4349-4352-863b-b933ff335219" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:56:49 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"80090f41-57e9-4f8c-8901-9978e0771356\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:50:48.667Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview+8": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "9" ], - "x-ms-client-request-id": [ "c9854e85-286f-44aa-9c9f-704cdccd19f1" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "5ce410ee-662a-45a5-aa77-bb1a8b125c66" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], - "x-ms-correlation-request-id": [ "e6f45f2f-e101-4dee-84ad-d013f5925935" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T005749Z:e6f45f2f-e101-4dee-84ad-d013f5925935" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:57:49 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"80090f41-57e9-4f8c-8901-9978e0771356\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:50:48.667Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview+9": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "10" ], - "x-ms-client-request-id": [ "c9854e85-286f-44aa-9c9f-704cdccd19f1" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "75884ef9-0a2f-474d-b164-2640c0ea2d0e" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], - "x-ms-correlation-request-id": [ "38871004-dba0-4f2e-92c2-96f3679070ea" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T005849Z:38871004-dba0-4f2e-92c2-96f3679070ea" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:58:49 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"80090f41-57e9-4f8c-8901-9978e0771356\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:50:48.667Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview+10": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "11" ], - "x-ms-client-request-id": [ "c9854e85-286f-44aa-9c9f-704cdccd19f1" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "ae4a00fd-4ea3-4d78-9c70-2b6d146ee9e4" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], - "x-ms-correlation-request-id": [ "ac5c19f9-2c5c-4826-8626-50e4bc81e1e9" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T005950Z:ac5c19f9-2c5c-4826-8626-50e4bc81e1e9" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:59:49 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"80090f41-57e9-4f8c-8901-9978e0771356\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:50:48.667Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview+11": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/80090f41-57e9-4f8c-8901-9978e0771356?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "12" ], - "x-ms-client-request-id": [ "c9854e85-286f-44aa-9c9f-704cdccd19f1" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "9b34a29e-9a3a-4627-9b17-01c5520cc569" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], - "x-ms-correlation-request-id": [ "276ab4d8-8d3b-4302-bf1f-861105732a61" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T010050Z:276ab4d8-8d3b-4302-bf1f-861105732a61" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 01:00:49 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"80090f41-57e9-4f8c-8901-9978e0771356\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-25T00:50:48.667Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+12": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "13" ], - "x-ms-client-request-id": [ "c9854e85-286f-44aa-9c9f-704cdccd19f1" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "4550e9b4-f201-47c3-9641-1697ea089a23" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], - "x-ms-correlation-request-id": [ "ae4b854a-3562-4cd9-86ac-0f36a46f19c5" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T010050Z:ae4b854a-3562-4cd9-86ac-0f36a46f19c5" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 01:00:50 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "951" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"unrulyCod3\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-25T01:00:50.2289336+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2/firewallRules?api-version=2020-07-01-preview+13": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2/firewallRules?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "17" ], - "x-ms-client-request-id": [ "2c333290-fd64-4763-bf24-953932afd5da" ], - "CommandName": [ "Get-AzMySqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "Get-AzMySqlFlexibleServerFirewallRule_List" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "13f7efe9-a103-47f9-8915-a80c3b016b3e" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], - "x-ms-correlation-request-id": [ "0ab85f24-e8fc-4be1-a5c6-4c8c68611455" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T013055Z:0ab85f24-e8fc-4be1-a5c6-4c8c68611455" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 01:30:54 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "195" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"value\":[{\"properties\":{\"startIpAddress\":\"10.10.10.10\",\"endIpAddress\":\"10.10.10.12\"},\"name\":\"FirewallIPAddress_2020-11-24_17-00-51\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}]}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+14": { - "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "18" ], - "x-ms-client-request-id": [ "336fe11d-7ce7-4e87-9fad-59029e5e21e7" ], - "CommandName": [ "Remove-AzMySqlFlexibleServer" ], - "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/12b3c158-227b-43ad-99a0-ec7a179a7e6b?api-version=2020-07-01-preview" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/12b3c158-227b-43ad-99a0-ec7a179a7e6b?api-version=2020-07-01-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "12b3c158-227b-43ad-99a0-ec7a179a7e6b" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], - "x-ms-correlation-request-id": [ "b095e9b6-f870-4aa2-b763-e3389fbb5176" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T013055Z:b095e9b6-f870-4aa2-b763-e3389fbb5176" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 01:30:54 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "84" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"DropServerManagementOperation\",\"startTime\":\"2020-11-25T01:30:55.407Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/12b3c158-227b-43ad-99a0-ec7a179a7e6b?api-version=2020-07-01-preview+15": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/12b3c158-227b-43ad-99a0-ec7a179a7e6b?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "19" ], - "x-ms-client-request-id": [ "336fe11d-7ce7-4e87-9fad-59029e5e21e7" ], - "CommandName": [ "Remove-AzMySqlFlexibleServer" ], - "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "5960cefc-0fb2-4b90-93ec-b87c882b9f52" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], - "x-ms-correlation-request-id": [ "734910f9-855c-45ba-bc57-7776a857f88b" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T013110Z:734910f9-855c-45ba-bc57-7776a857f88b" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 01:31:09 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"12b3c158-227b-43ad-99a0-ec7a179a7e6b\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T01:30:55.407Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/12b3c158-227b-43ad-99a0-ec7a179a7e6b?api-version=2020-07-01-preview+16": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/12b3c158-227b-43ad-99a0-ec7a179a7e6b?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "20" ], - "x-ms-client-request-id": [ "336fe11d-7ce7-4e87-9fad-59029e5e21e7" ], - "CommandName": [ "Remove-AzMySqlFlexibleServer" ], - "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "d662d610-b200-4ea3-9254-a5fcd4253d84" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], - "x-ms-correlation-request-id": [ "8a583102-9b95-457d-be3c-f1d9214b1d7f" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T013125Z:8a583102-9b95-457d-be3c-f1d9214b1d7f" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 01:31:24 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"12b3c158-227b-43ad-99a0-ec7a179a7e6b\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T01:30:55.407Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/12b3c158-227b-43ad-99a0-ec7a179a7e6b?api-version=2020-07-01-preview+17": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/12b3c158-227b-43ad-99a0-ec7a179a7e6b?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "21" ], - "x-ms-client-request-id": [ "336fe11d-7ce7-4e87-9fad-59029e5e21e7" ], - "CommandName": [ "Remove-AzMySqlFlexibleServer" ], - "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "6764f0ad-1ce8-44e5-9183-50b762a65799" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], - "x-ms-correlation-request-id": [ "b46ae9ea-84ff-4a47-83e7-5f02c7bd5a2f" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T013140Z:b46ae9ea-84ff-4a47-83e7-5f02c7bd5a2f" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 01:31:40 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"12b3c158-227b-43ad-99a0-ec7a179a7e6b\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-25T01:30:55.407Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/operationResults/12b3c158-227b-43ad-99a0-ec7a179a7e6b?api-version=2020-07-01-preview+18": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/12b3c158-227b-43ad-99a0-ec7a179a7e6b?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "22" ], - "x-ms-client-request-id": [ "336fe11d-7ce7-4e87-9fad-59029e5e21e7" ], - "CommandName": [ "Remove-AzMySqlFlexibleServer" ], - "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "20e36bf7-be22-40e0-af93-15d23b44f115" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], - "x-ms-correlation-request-id": [ "49f94cc7-8a4e-457f-add2-648505937faf" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T013140Z:49f94cc7-8a4e-457f-add2-648505937faf" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 01:31:40 GMT" ] - }, - "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] - }, - "Content": null - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+19": { - "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", - "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"administratorLogin\": \"prudentFalcon2\",\r\n \"administratorLoginPassword\": \"3DX)}@=}gTPzAur[\",\r\n \"version\": \"5.7\",\r\n \"createMode\": \"Default\"\r\n }\r\n}", - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "371" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview" ], - "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "8f9cabae-1ab3-4af7-9213-53fd4cb48691" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], - "x-ms-correlation-request-id": [ "61f9b87f-aa37-46c6-8bda-9151f2cab908" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T013143Z:61f9b87f-aa37-46c6-8bda-9151f2cab908" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 01:31:43 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "88" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-25T01:31:43.143Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview+20": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "25" ], - "x-ms-client-request-id": [ "5551fb55-ef05-4d47-afd2-2e7da44abb78" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "2de708aa-20fa-43bf-89dd-3a46a749b565" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], - "x-ms-correlation-request-id": [ "6b617d32-8a1a-4c72-b3b2-371a1abeafee" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T013243Z:6b617d32-8a1a-4c72-b3b2-371a1abeafee" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 01:32:42 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T01:31:43.143Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview+21": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "26" ], - "x-ms-client-request-id": [ "5551fb55-ef05-4d47-afd2-2e7da44abb78" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "7cdb0726-2534-4c43-9e78-9504def965c3" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], - "x-ms-correlation-request-id": [ "193a0776-4a9b-402b-997f-fc2f9a0211c6" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T013343Z:193a0776-4a9b-402b-997f-fc2f9a0211c6" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 01:33:43 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T01:31:43.143Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview+22": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "27" ], - "x-ms-client-request-id": [ "5551fb55-ef05-4d47-afd2-2e7da44abb78" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "974223b5-33e2-471c-9311-6fef161cc7e4" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], - "x-ms-correlation-request-id": [ "acb343b5-37fe-4fbf-ae49-69fa04f20eb3" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T013443Z:acb343b5-37fe-4fbf-ae49-69fa04f20eb3" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 01:34:43 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T01:31:43.143Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview+23": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "28" ], - "x-ms-client-request-id": [ "5551fb55-ef05-4d47-afd2-2e7da44abb78" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "041b8766-bfaa-4394-9ecb-13b4bd8b7b15" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], - "x-ms-correlation-request-id": [ "91fa503a-6480-4ef4-9f31-3c313b2bdc83" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T013543Z:91fa503a-6480-4ef4-9f31-3c313b2bdc83" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 01:35:43 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T01:31:43.143Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview+24": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "29" ], - "x-ms-client-request-id": [ "5551fb55-ef05-4d47-afd2-2e7da44abb78" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "1601a2e4-1031-49a1-a527-65757e6272b9" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], - "x-ms-correlation-request-id": [ "41d28567-0417-48a6-948b-32fb1a354f6f" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T013643Z:41d28567-0417-48a6-948b-32fb1a354f6f" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 01:36:43 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T01:31:43.143Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview+25": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "30" ], - "x-ms-client-request-id": [ "5551fb55-ef05-4d47-afd2-2e7da44abb78" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "c37befe0-2685-45a1-9d5f-e22d2d456b77" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], - "x-ms-correlation-request-id": [ "8c412c77-e428-4025-910a-cbc8aef569ee" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T013744Z:8c412c77-e428-4025-910a-cbc8aef569ee" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 01:37:44 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T01:31:43.143Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview+26": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "31" ], - "x-ms-client-request-id": [ "5551fb55-ef05-4d47-afd2-2e7da44abb78" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "e4efcac0-d973-4888-8c98-eee0a5097ecd" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], - "x-ms-correlation-request-id": [ "2b6b36fa-7559-4e94-8f3f-3d1180448795" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T013844Z:2b6b36fa-7559-4e94-8f3f-3d1180448795" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 01:38:43 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T01:31:43.143Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview+27": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "32" ], - "x-ms-client-request-id": [ "5551fb55-ef05-4d47-afd2-2e7da44abb78" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "63aeea31-a2d3-48b6-8c48-d184cb1ee661" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], - "x-ms-correlation-request-id": [ "c5cb880d-12f7-45b2-88b6-dc9af17e28de" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T013944Z:c5cb880d-12f7-45b2-88b6-dc9af17e28de" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 01:39:43 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T01:31:43.143Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview+28": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "33" ], - "x-ms-client-request-id": [ "5551fb55-ef05-4d47-afd2-2e7da44abb78" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "cff485d5-cceb-4d0e-ad0d-f4ecabc6704c" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], - "x-ms-correlation-request-id": [ "84ae0837-e869-4c0b-8e7d-da24927c858b" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T014044Z:84ae0837-e869-4c0b-8e7d-da24927c858b" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 01:40:44 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T01:31:43.143Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview+29": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "34" ], - "x-ms-client-request-id": [ "5551fb55-ef05-4d47-afd2-2e7da44abb78" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "8a44d0d4-a692-470d-8570-4d01a90c09de" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], - "x-ms-correlation-request-id": [ "fb8c4b18-d5c9-4edf-bb2e-14c25eaf1c14" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T014144Z:fb8c4b18-d5c9-4edf-bb2e-14c25eaf1c14" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 01:41:43 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"f9ba9ab9-cee3-4b95-ba21-40ec7e881e6c\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-25T01:31:43.143Z\"}" - } - } - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+1": { - "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", - "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"administratorLogin\": \"admiredIbis0\",\r\n \"administratorLoginPassword\": \"[bn#ObA#)[8%14Bk\",\r\n \"version\": \"5.7\",\r\n \"createMode\": \"Default\"\r\n }\r\n}", - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "369" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview" ], - "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "84bd855e-d2bd-4fbc-a8a9-3379b32fd4c7" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-correlation-request-id": [ "dca1ba68-e4e2-428a-9e60-d88190c428f6" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T021627Z:dca1ba68-e4e2-428a-9e60-d88190c428f6" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 02:16:27 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "88" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-25T02:16:27.353Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "fa7cc640-50ae-44ab-baeb-8929e4040e27" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "ec1366d4-e0bd-4af2-a875-87f578cd5692" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], - "x-ms-correlation-request-id": [ "780b1456-9edd-469f-9803-e86a7f3a5677" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T021727Z:780b1456-9edd-469f-9803-e86a7f3a5677" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 02:17:26 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"5fa9d139-8955-44b5-873a-7b748449200f\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T02:16:27.353Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "fa7cc640-50ae-44ab-baeb-8929e4040e27" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "21b5b430-0f99-42f1-ae69-2333cca04cfe" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], - "x-ms-correlation-request-id": [ "4804f65e-42b4-48e6-b74e-fa3867587dc0" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T021827Z:4804f65e-42b4-48e6-b74e-fa3867587dc0" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 02:18:27 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"5fa9d139-8955-44b5-873a-7b748449200f\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T02:16:27.353Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview+4": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "5" ], - "x-ms-client-request-id": [ "fa7cc640-50ae-44ab-baeb-8929e4040e27" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "fab2b885-d5ec-4cb0-9448-c7aa34b35c8f" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], - "x-ms-correlation-request-id": [ "ed6919de-8ad7-446e-80de-c5a90a4fcb3f" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T021928Z:ed6919de-8ad7-446e-80de-c5a90a4fcb3f" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 02:19:27 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"5fa9d139-8955-44b5-873a-7b748449200f\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T02:16:27.353Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview+5": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "6" ], - "x-ms-client-request-id": [ "fa7cc640-50ae-44ab-baeb-8929e4040e27" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "e773b8de-9447-47bd-8658-58ba1eeab17f" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], - "x-ms-correlation-request-id": [ "c5152314-7aac-4956-8017-7f0daecce839" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T022028Z:c5152314-7aac-4956-8017-7f0daecce839" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 02:20:28 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"5fa9d139-8955-44b5-873a-7b748449200f\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T02:16:27.353Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "7" ], - "x-ms-client-request-id": [ "fa7cc640-50ae-44ab-baeb-8929e4040e27" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "bc5f084d-f621-42fb-8be1-ea8da5b481f6" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], - "x-ms-correlation-request-id": [ "193c8fa6-d683-4880-a76e-6a2f1481a842" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T022128Z:193c8fa6-d683-4880-a76e-6a2f1481a842" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 02:21:27 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"5fa9d139-8955-44b5-873a-7b748449200f\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T02:16:27.353Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview+7": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "8" ], - "x-ms-client-request-id": [ "fa7cc640-50ae-44ab-baeb-8929e4040e27" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "06a5bbff-0e32-4fba-a64b-be6ea97d32b3" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], - "x-ms-correlation-request-id": [ "0cb1b205-4112-43c4-9c88-7c3e2d151efe" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T022228Z:0cb1b205-4112-43c4-9c88-7c3e2d151efe" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 02:22:28 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"5fa9d139-8955-44b5-873a-7b748449200f\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T02:16:27.353Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview+8": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "9" ], - "x-ms-client-request-id": [ "fa7cc640-50ae-44ab-baeb-8929e4040e27" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "f20e33d7-6b27-4994-8b7b-e95e8eb81ecd" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], - "x-ms-correlation-request-id": [ "16270d62-1967-4d95-8de1-c595f6225e30" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T022328Z:16270d62-1967-4d95-8de1-c595f6225e30" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 02:23:27 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"5fa9d139-8955-44b5-873a-7b748449200f\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T02:16:27.353Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview+9": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "10" ], - "x-ms-client-request-id": [ "fa7cc640-50ae-44ab-baeb-8929e4040e27" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "b63c3ed9-8f0a-4743-8e4d-bbfb1aaf4fd7" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], - "x-ms-correlation-request-id": [ "490f59b7-f83f-4b5a-9cec-02b60accb347" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T022428Z:490f59b7-f83f-4b5a-9cec-02b60accb347" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 02:24:28 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"5fa9d139-8955-44b5-873a-7b748449200f\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T02:16:27.353Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview+10": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "11" ], - "x-ms-client-request-id": [ "fa7cc640-50ae-44ab-baeb-8929e4040e27" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "a021104f-f07e-45a2-b0c8-1f992c78aa9c" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], - "x-ms-correlation-request-id": [ "81578b28-40fb-487b-a2c5-dca17bcf6db8" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T022530Z:81578b28-40fb-487b-a2c5-dca17bcf6db8" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 02:25:29 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"5fa9d139-8955-44b5-873a-7b748449200f\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T02:16:27.353Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview+11": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5fa9d139-8955-44b5-873a-7b748449200f?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "12" ], - "x-ms-client-request-id": [ "fa7cc640-50ae-44ab-baeb-8929e4040e27" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "4a678963-cc5e-45cb-b398-4abdfce71b46" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], - "x-ms-correlation-request-id": [ "332d359a-9d82-4acd-bc90-3b8cd84b9119" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T022630Z:332d359a-9d82-4acd-bc90-3b8cd84b9119" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 02:26:30 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"5fa9d139-8955-44b5-873a-7b748449200f\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-25T02:16:27.353Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+12": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "13" ], - "x-ms-client-request-id": [ "fa7cc640-50ae-44ab-baeb-8929e4040e27" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "fe33c218-c5f1-489c-93c0-744c42eb3d52" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], - "x-ms-correlation-request-id": [ "93cdf376-badc-4b4a-81de-b67f119065d7" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T022630Z:93cdf376-badc-4b4a-81de-b67f119065d7" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 02:26:30 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "953" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"admiredIbis0\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-25T02:26:30.6722645+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2/firewallRules?api-version=2020-07-01-preview+13": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2/firewallRules?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "17" ], - "x-ms-client-request-id": [ "f6288685-8af7-4e96-932a-e97faba6483a" ], - "CommandName": [ "Get-AzMySqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "Get-AzMySqlFlexibleServerFirewallRule_List" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "8a800232-8852-4172-bc35-fb1b6ea65ccc" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], - "x-ms-correlation-request-id": [ "c24497dc-706c-46a4-88e4-8ae496b83577" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T022732Z:c24497dc-706c-46a4-88e4-8ae496b83577" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 02:27:31 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "186" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"value\":[{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"255.255.255.255\"},\"name\":\"AllowAll_2020-11-24_18-26-31\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}]}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+14": { - "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "18" ], - "x-ms-client-request-id": [ "c9e48e1e-6a2a-4082-9d81-bdda3343281e" ], - "CommandName": [ "Remove-AzMySqlFlexibleServer" ], - "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/57019682-6b84-4873-b6bb-683d8efd6fa2?api-version=2020-07-01-preview" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/57019682-6b84-4873-b6bb-683d8efd6fa2?api-version=2020-07-01-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "57019682-6b84-4873-b6bb-683d8efd6fa2" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], - "x-ms-correlation-request-id": [ "48c00c84-1fd6-4ab3-b221-cd495af887e6" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T022732Z:48c00c84-1fd6-4ab3-b221-cd495af887e6" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 02:27:32 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "84" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"DropServerManagementOperation\",\"startTime\":\"2020-11-25T02:27:32.333Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/57019682-6b84-4873-b6bb-683d8efd6fa2?api-version=2020-07-01-preview+15": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/57019682-6b84-4873-b6bb-683d8efd6fa2?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "19" ], - "x-ms-client-request-id": [ "c9e48e1e-6a2a-4082-9d81-bdda3343281e" ], - "CommandName": [ "Remove-AzMySqlFlexibleServer" ], - "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "97d3ca20-3efa-4f77-b87f-4bcabb15c4ba" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], - "x-ms-correlation-request-id": [ "41dacfd7-14e5-4bb6-9a3e-9326eac3c9df" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T022747Z:41dacfd7-14e5-4bb6-9a3e-9326eac3c9df" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 02:27:47 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"57019682-6b84-4873-b6bb-683d8efd6fa2\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T02:27:32.333Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/57019682-6b84-4873-b6bb-683d8efd6fa2?api-version=2020-07-01-preview+16": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/57019682-6b84-4873-b6bb-683d8efd6fa2?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "20" ], - "x-ms-client-request-id": [ "c9e48e1e-6a2a-4082-9d81-bdda3343281e" ], - "CommandName": [ "Remove-AzMySqlFlexibleServer" ], - "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "e89bb0ca-a96f-4387-9617-055e1cd1c026" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], - "x-ms-correlation-request-id": [ "6c9f1c83-c949-4de9-b701-b9c29f744007" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T022802Z:6c9f1c83-c949-4de9-b701-b9c29f744007" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 02:28:02 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"57019682-6b84-4873-b6bb-683d8efd6fa2\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T02:27:32.333Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/57019682-6b84-4873-b6bb-683d8efd6fa2?api-version=2020-07-01-preview+17": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/57019682-6b84-4873-b6bb-683d8efd6fa2?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "21" ], - "x-ms-client-request-id": [ "c9e48e1e-6a2a-4082-9d81-bdda3343281e" ], - "CommandName": [ "Remove-AzMySqlFlexibleServer" ], - "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "4bc8b95b-4f55-40f0-8046-587ea1fc9e55" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], - "x-ms-correlation-request-id": [ "facd44c4-bdda-45dc-b7e3-72e01bddc7b3" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T022817Z:facd44c4-bdda-45dc-b7e3-72e01bddc7b3" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 02:28:17 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"57019682-6b84-4873-b6bb-683d8efd6fa2\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-25T02:27:32.333Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/operationResults/57019682-6b84-4873-b6bb-683d8efd6fa2?api-version=2020-07-01-preview+18": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/57019682-6b84-4873-b6bb-683d8efd6fa2?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "22" ], - "x-ms-client-request-id": [ "c9e48e1e-6a2a-4082-9d81-bdda3343281e" ], - "CommandName": [ "Remove-AzMySqlFlexibleServer" ], - "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "53c435bd-6720-489d-a0d3-951333ae44e2" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], - "x-ms-correlation-request-id": [ "da3e1e84-5b6d-44c4-b21a-85f60e450fe5" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T022817Z:da3e1e84-5b6d-44c4-b21a-85f60e450fe5" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 02:28:17 GMT" ] - }, - "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] - }, - "Content": null - } - } - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+1": { - "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", - "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"administratorLogin\": \"levelMarten3\",\r\n \"administratorLoginPassword\": \"O%R?zF8)bup#+#yK\",\r\n \"version\": \"5.7\",\r\n \"createMode\": \"Default\"\r\n }\r\n}", - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "369" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview" ], - "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "4a717546-4e37-4284-94d7-fc1b625fcc2d" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-correlation-request-id": [ "52382742-d442-4131-8481-d740538b6cef" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T001820Z:52382742-d442-4131-8481-d740538b6cef" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:18:19 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "88" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-25T00:18:20.003Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "3aad3961-261e-4bcd-aa4d-25c6f424f9d9" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "17428779-4dc0-407a-9d29-40c6fbf82e22" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], - "x-ms-correlation-request-id": [ "9dbc8a5c-6f91-4d71-a3d8-b84d3034a3f0" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T001920Z:9dbc8a5c-6f91-4d71-a3d8-b84d3034a3f0" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:19:19 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"3c1c9f7a-7cee-4d66-9a98-07450acb8175\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:18:20.003Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "3aad3961-261e-4bcd-aa4d-25c6f424f9d9" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "a649aa51-6930-42c7-8297-064ee8ed9560" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], - "x-ms-correlation-request-id": [ "d0ddf21f-d498-45b3-88a8-3460cf3cab91" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T002020Z:d0ddf21f-d498-45b3-88a8-3460cf3cab91" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:20:20 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"3c1c9f7a-7cee-4d66-9a98-07450acb8175\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:18:20.003Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview+4": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "5" ], - "x-ms-client-request-id": [ "3aad3961-261e-4bcd-aa4d-25c6f424f9d9" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "751f95ef-e090-46de-aee8-6224e5896afe" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], - "x-ms-correlation-request-id": [ "6c128953-0fd1-46ce-8628-92374c1e46e9" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T002120Z:6c128953-0fd1-46ce-8628-92374c1e46e9" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:21:20 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"3c1c9f7a-7cee-4d66-9a98-07450acb8175\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:18:20.003Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview+5": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "6" ], - "x-ms-client-request-id": [ "3aad3961-261e-4bcd-aa4d-25c6f424f9d9" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "f9d10bfc-01c5-40fb-84ed-4ab3e612d191" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], - "x-ms-correlation-request-id": [ "7434055f-49e0-436b-9e97-da005e39940e" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T002220Z:7434055f-49e0-436b-9e97-da005e39940e" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:22:20 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"3c1c9f7a-7cee-4d66-9a98-07450acb8175\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:18:20.003Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "7" ], - "x-ms-client-request-id": [ "3aad3961-261e-4bcd-aa4d-25c6f424f9d9" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "8335d5e1-bf53-4c68-a3db-3740ddb5228e" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], - "x-ms-correlation-request-id": [ "354520f7-ea8c-4865-a042-bed488514301" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T002320Z:354520f7-ea8c-4865-a042-bed488514301" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:23:20 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"3c1c9f7a-7cee-4d66-9a98-07450acb8175\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:18:20.003Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview+7": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "8" ], - "x-ms-client-request-id": [ "3aad3961-261e-4bcd-aa4d-25c6f424f9d9" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "20bee8a1-4842-42b5-ba0f-8cc05a20ab6b" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], - "x-ms-correlation-request-id": [ "fc6dc0aa-e0d1-4a7b-a17d-8082718335b5" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T002421Z:fc6dc0aa-e0d1-4a7b-a17d-8082718335b5" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:24:20 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"3c1c9f7a-7cee-4d66-9a98-07450acb8175\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:18:20.003Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview+8": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "9" ], - "x-ms-client-request-id": [ "3aad3961-261e-4bcd-aa4d-25c6f424f9d9" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "50a235d5-ad21-4ae8-b48b-0a1305930633" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], - "x-ms-correlation-request-id": [ "fceed390-46d5-455c-84a5-ea92e79ef680" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T002521Z:fceed390-46d5-455c-84a5-ea92e79ef680" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:25:20 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"3c1c9f7a-7cee-4d66-9a98-07450acb8175\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:18:20.003Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview+9": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "10" ], - "x-ms-client-request-id": [ "3aad3961-261e-4bcd-aa4d-25c6f424f9d9" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "df4934e9-1891-4f32-8988-975d974952a0" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], - "x-ms-correlation-request-id": [ "11528e4d-cf19-4728-bb3e-032caef18077" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T002621Z:11528e4d-cf19-4728-bb3e-032caef18077" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:26:20 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"3c1c9f7a-7cee-4d66-9a98-07450acb8175\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:18:20.003Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview+10": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "11" ], - "x-ms-client-request-id": [ "3aad3961-261e-4bcd-aa4d-25c6f424f9d9" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "7111695e-1926-46ca-afb2-3dcce9c9b703" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], - "x-ms-correlation-request-id": [ "27c22eb3-ece7-4ea3-bd71-e579064fefd0" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T002721Z:27c22eb3-ece7-4ea3-bd71-e579064fefd0" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:27:20 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"3c1c9f7a-7cee-4d66-9a98-07450acb8175\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:18:20.003Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview+11": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "12" ], - "x-ms-client-request-id": [ "3aad3961-261e-4bcd-aa4d-25c6f424f9d9" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "672baea4-2315-44f1-92dc-3ecbba3bb4c6" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], - "x-ms-correlation-request-id": [ "4a70bf88-dceb-4599-8c39-ae89df5ad38c" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T002821Z:4a70bf88-dceb-4599-8c39-ae89df5ad38c" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:28:21 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"3c1c9f7a-7cee-4d66-9a98-07450acb8175\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:18:20.003Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview+12": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3c1c9f7a-7cee-4d66-9a98-07450acb8175?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "13" ], - "x-ms-client-request-id": [ "3aad3961-261e-4bcd-aa4d-25c6f424f9d9" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "968c6c7c-500c-49f6-83c6-7f7e8458e8dc" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], - "x-ms-correlation-request-id": [ "c7e5795b-d607-45e8-bd7a-17f6ff516f4b" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T002921Z:c7e5795b-d607-45e8-bd7a-17f6ff516f4b" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:29:21 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"3c1c9f7a-7cee-4d66-9a98-07450acb8175\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-25T00:18:20.003Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+13": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "14" ], - "x-ms-client-request-id": [ "3aad3961-261e-4bcd-aa4d-25c6f424f9d9" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "18e0ad9d-9232-42a4-8c5a-6b94426d6774" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], - "x-ms-correlation-request-id": [ "b19f9791-0655-4d9c-a762-b9b3f230f19c" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T002922Z:b19f9791-0655-4d9c-a762-b9b3f230f19c" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:29:21 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "953" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"levelMarten3\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-25T00:29:21.9353883+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2/firewallRules?api-version=2020-07-01-preview+14": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2/firewallRules?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "18" ], - "x-ms-client-request-id": [ "2193e74f-13a9-4e9f-83be-ed6437790970" ], - "CommandName": [ "Get-AzMySqlFlexibleServerFirewallRule" ], - "FullCommandName": [ "Get-AzMySqlFlexibleServerFirewallRule_List" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "cf599c66-ace0-4fc0-a8cc-bacc751884eb" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], - "x-ms-correlation-request-id": [ "d90d1423-d7ec-411a-9176-fbbfa5fc6a9f" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T003023Z:d90d1423-d7ec-411a-9176-fbbfa5fc6a9f" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:30:23 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "217" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"value\":[{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.0\"},\"name\":\"AllowAllAzureServicesAndResourcesWithinAzureIps_2020-11-24_16-29-23\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}]}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+15": { - "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "x-ms-unique-id": [ "19" ], - "x-ms-client-request-id": [ "58316329-7ed6-4d49-bbbe-6afbcc2675aa" ], - "CommandName": [ "Remove-AzMySqlFlexibleServer" ], - "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/8514fc11-8267-4e25-9a99-50fb7f112344?api-version=2020-07-01-preview" ], - "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/8514fc11-8267-4e25-9a99-50fb7f112344?api-version=2020-07-01-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "8514fc11-8267-4e25-9a99-50fb7f112344" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], - "x-ms-correlation-request-id": [ "f5aa2b80-f1f1-42ef-8e21-e638aa4fe004" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T003023Z:f5aa2b80-f1f1-42ef-8e21-e638aa4fe004" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:30:23 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "84" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"DropServerManagementOperation\",\"startTime\":\"2020-11-25T00:30:23.623Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/8514fc11-8267-4e25-9a99-50fb7f112344?api-version=2020-07-01-preview+16": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/8514fc11-8267-4e25-9a99-50fb7f112344?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "20" ], - "x-ms-client-request-id": [ "58316329-7ed6-4d49-bbbe-6afbcc2675aa" ], - "CommandName": [ "Remove-AzMySqlFlexibleServer" ], - "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "be89ef93-43ce-4a9d-a862-fadcd96cef6f" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], - "x-ms-correlation-request-id": [ "220ca925-b82b-46a9-bf27-82f5fb0e69f5" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T003038Z:220ca925-b82b-46a9-bf27-82f5fb0e69f5" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:30:38 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"8514fc11-8267-4e25-9a99-50fb7f112344\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:30:23.623Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/8514fc11-8267-4e25-9a99-50fb7f112344?api-version=2020-07-01-preview+17": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/8514fc11-8267-4e25-9a99-50fb7f112344?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "21" ], - "x-ms-client-request-id": [ "58316329-7ed6-4d49-bbbe-6afbcc2675aa" ], - "CommandName": [ "Remove-AzMySqlFlexibleServer" ], - "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "0c818c97-8d28-46ab-9344-2a7d78d1902c" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], - "x-ms-correlation-request-id": [ "d386394d-4afb-49d4-b157-2d52654d2427" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T003053Z:d386394d-4afb-49d4-b157-2d52654d2427" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:30:53 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"8514fc11-8267-4e25-9a99-50fb7f112344\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:30:23.623Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/azureAsyncOperation/8514fc11-8267-4e25-9a99-50fb7f112344?api-version=2020-07-01-preview+18": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/azureAsyncOperation/8514fc11-8267-4e25-9a99-50fb7f112344?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "22" ], - "x-ms-client-request-id": [ "58316329-7ed6-4d49-bbbe-6afbcc2675aa" ], - "CommandName": [ "Remove-AzMySqlFlexibleServer" ], - "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "15" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "d5c9c7dd-13e1-46bb-bb7f-d4357f2963fb" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], - "x-ms-correlation-request-id": [ "40729346-f604-47f8-aa9f-8a7f62e87846" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T003109Z:40729346-f604-47f8-aa9f-8a7f62e87846" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:31:08 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"8514fc11-8267-4e25-9a99-50fb7f112344\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-25T00:30:23.623Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West US 2/operationResults/8514fc11-8267-4e25-9a99-50fb7f112344?api-version=2020-07-01-preview+19": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/West%20US%202/operationResults/8514fc11-8267-4e25-9a99-50fb7f112344?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "23" ], - "x-ms-client-request-id": [ "58316329-7ed6-4d49-bbbe-6afbcc2675aa" ], - "CommandName": [ "Remove-AzMySqlFlexibleServer" ], - "FullCommandName": [ "Remove-AzMySqlFlexibleServer_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "d3ac6848-5813-42f0-b841-575d85a733c4" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11980" ], - "x-ms-correlation-request-id": [ "3b87613c-bfb5-4b2c-a68d-966d27d6573f" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T003109Z:3b87613c-bfb5-4b2c-a68d-966d27d6573f" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:31:08 GMT" ] - }, - "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] - }, - "Content": null - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+20": { - "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", - "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"administratorLogin\": \"shoddyAvocet4\",\r\n \"administratorLoginPassword\": \"f+Z}gp#F64?R)b!R\",\r\n \"version\": \"5.7\",\r\n \"createMode\": \"Default\"\r\n }\r\n}", - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "370" ] - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview" ], - "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "9a394050-3eaa-42ea-a1cd-dbe4453aef00" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], - "x-ms-correlation-request-id": [ "4c9a3145-e671-4bca-847c-f02203b944b4" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T003111Z:4c9a3145-e671-4bca-847c-f02203b944b4" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:31:10 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "88" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-25T00:31:11.233Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview+21": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "26" ], - "x-ms-client-request-id": [ "2edd9fab-6145-4042-932f-5b88b02ca379" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "3f4d1430-ce8a-4a03-8f88-95c0e1ba7166" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11979" ], - "x-ms-correlation-request-id": [ "6cb898f3-e80b-4353-9eb9-cc1e03a9a31f" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T003211Z:6cb898f3-e80b-4353-9eb9-cc1e03a9a31f" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:32:10 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"7fb0a393-8d53-4afa-9ac4-e8d598d153bd\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:31:11.233Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview+22": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "27" ], - "x-ms-client-request-id": [ "2edd9fab-6145-4042-932f-5b88b02ca379" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "6886b31e-3090-43f2-9a1b-3536fc1fb301" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11978" ], - "x-ms-correlation-request-id": [ "c974a299-7b8e-4352-82c6-fd10e8fe196b" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T003311Z:c974a299-7b8e-4352-82c6-fd10e8fe196b" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:33:11 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"7fb0a393-8d53-4afa-9ac4-e8d598d153bd\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:31:11.233Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview+23": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "28" ], - "x-ms-client-request-id": [ "2edd9fab-6145-4042-932f-5b88b02ca379" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "b865a5c4-cef6-4b1f-99a1-9a8f5b4bc92f" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11977" ], - "x-ms-correlation-request-id": [ "6181c137-43ab-4a98-9d24-c226294352ae" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T003411Z:6181c137-43ab-4a98-9d24-c226294352ae" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:34:11 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"7fb0a393-8d53-4afa-9ac4-e8d598d153bd\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:31:11.233Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview+24": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "29" ], - "x-ms-client-request-id": [ "2edd9fab-6145-4042-932f-5b88b02ca379" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "f4a4f1d3-4176-4235-a200-16b2e6bf3d5f" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11976" ], - "x-ms-correlation-request-id": [ "29c38dbd-d654-46e9-b3a4-aceb4dcf32c6" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T003511Z:29c38dbd-d654-46e9-b3a4-aceb4dcf32c6" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:35:11 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"7fb0a393-8d53-4afa-9ac4-e8d598d153bd\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:31:11.233Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview+25": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "30" ], - "x-ms-client-request-id": [ "2edd9fab-6145-4042-932f-5b88b02ca379" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "5e50a1ee-e84b-4bb6-9497-6dd3685a41bf" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11975" ], - "x-ms-correlation-request-id": [ "5c18a365-6b72-4c53-9940-67eb49e1ea9b" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T003612Z:5c18a365-6b72-4c53-9940-67eb49e1ea9b" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:36:11 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"7fb0a393-8d53-4afa-9ac4-e8d598d153bd\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:31:11.233Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview+26": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "31" ], - "x-ms-client-request-id": [ "2edd9fab-6145-4042-932f-5b88b02ca379" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "8d9a0d05-dda5-4631-9d2d-a74fe80827fa" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11974" ], - "x-ms-correlation-request-id": [ "53bba97a-1a5e-4e64-9f16-89fa3eb137ae" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T003712Z:53bba97a-1a5e-4e64-9f16-89fa3eb137ae" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:37:12 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"7fb0a393-8d53-4afa-9ac4-e8d598d153bd\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:31:11.233Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview+27": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "32" ], - "x-ms-client-request-id": [ "2edd9fab-6145-4042-932f-5b88b02ca379" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "112defe1-c3a7-4875-82dd-d461d0ab1a55" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11973" ], - "x-ms-correlation-request-id": [ "55a25d9d-e693-4c3e-b5b3-fa5fbae33780" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T003812Z:55a25d9d-e693-4c3e-b5b3-fa5fbae33780" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:38:11 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"7fb0a393-8d53-4afa-9ac4-e8d598d153bd\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:31:11.233Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview+28": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "33" ], - "x-ms-client-request-id": [ "2edd9fab-6145-4042-932f-5b88b02ca379" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "3564f5d8-6223-480c-bde3-4d5c74958482" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11972" ], - "x-ms-correlation-request-id": [ "27a7879b-8c46-49d1-86d6-38b18092fc65" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T003912Z:27a7879b-8c46-49d1-86d6-38b18092fc65" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:39:12 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"7fb0a393-8d53-4afa-9ac4-e8d598d153bd\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:31:11.233Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview+29": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "34" ], - "x-ms-client-request-id": [ "2edd9fab-6145-4042-932f-5b88b02ca379" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "5b699d02-7c0f-4e4c-a5f4-6fdb2b0dd503" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11971" ], - "x-ms-correlation-request-id": [ "81b36634-5fff-47b2-9d92-ed0798275399" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T004012Z:81b36634-5fff-47b2-9d92-ed0798275399" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:40:11 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "108" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"7fb0a393-8d53-4afa-9ac4-e8d598d153bd\",\"status\":\"InProgress\",\"startTime\":\"2020-11-25T00:31:11.233Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview+30": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7fb0a393-8d53-4afa-9ac4-e8d598d153bd?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "35" ], - "x-ms-client-request-id": [ "2edd9fab-6145-4042-932f-5b88b02ca379" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "60" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "115fd52e-d7ea-496f-aa36-e520a7a76888" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11970" ], - "x-ms-correlation-request-id": [ "d77e7379-a97c-4307-a8a9-cbbf23569810" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T004112Z:d77e7379-a97c-4307-a8a9-cbbf23569810" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Wed, 25 Nov 2020 00:41:12 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "107" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"name\":\"7fb0a393-8d53-4afa-9ac4-e8d598d153bd\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-25T00:31:11.233Z\"}" - } - }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+31": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", - "Content": null, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "36" ], - "x-ms-client-request-id": [ "2edd9fab-6145-4042-932f-5b88b02ca379" ], - "CommandName": [ "Az.MySql.internal\\New-AzMySqlFlexibleServer" ], - "FullCommandName": [ "New-AzMySqlFlexibleServer_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 404, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-failure-cause": [ "gateway" ], - "x-ms-request-id": [ "3a2353de-34a8-4368-896e-ea1a664f41bf" ], - "x-ms-correlation-request-id": [ "3a2353de-34a8-4368-896e-ea1a664f41bf" ], - "x-ms-routing-request-id": [ "WESTUS2:20201125T004112Z:3a2353de-34a8-4368-896e-ea1a664f41bf" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Wed, 25 Nov 2020 00:41:12 GMT" ] - }, - "ContentHeaders": { - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ], - "Content-Length": [ "234" ] - }, - "Content": "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource \u0027Microsoft.DBForMySql/flexibleServers/mysql-test-100-2\u0027 under resource group \u0027MySqlTest\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" - } - } -} \ No newline at end of file diff --git a/src/MySql/test/New-AzMySqlFlexibleServerReplica.Recording.json b/src/MySql/test/New-AzMySqlFlexibleServerReplica.Recording.json index e9bccdf2a8c3..176841871402 100644 --- a/src/MySql/test/New-AzMySqlFlexibleServerReplica.Recording.json +++ b/src/MySql/test/New-AzMySqlFlexibleServerReplica.Recording.json @@ -1,8 +1,8 @@ { - "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview+1": { + "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "2" ], @@ -35,14 +35,14 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"gleefulOrange3\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-22T05:12:15.3040713+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"gleefulOrange3\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-flexible-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-22T05:12:15.3040713+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\"name\":\"mysql-flexible-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } }, "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-replica?api-version=2020-07-01-preview+2": { "Request": { "Method": "PUT", "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-replica?api-version=2020-07-01-preview", - "Content": "{\r\n \"location\": \"West US 2\",\r\n \"properties\": {\r\n \"sourceServerId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\r\n \"createMode\": \"Replica\"\r\n }\r\n}", + "Content": "{\r\n \"location\": \"West US 2\",\r\n \"properties\": {\r\n \"sourceServerId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\r\n \"createMode\": \"Replica\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { @@ -551,7 +551,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"gleefulOrange3\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-replica.mysql.database.azure.com\",\"sourceServerId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-22T05:23:19.0409909+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"Replica\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-replica\",\"name\":\"mysql-test-100-replica\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"gleefulOrange3\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-replica.mysql.database.azure.com\",\"sourceServerId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-22T05:23:19.0409909+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"Replica\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-replica\",\"name\":\"mysql-test-100-replica\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } }, "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-replica?api-version=2020-07-01-preview+15": { diff --git a/src/MySql/test/New-AzMySqlFlexibleServerReplica.Tests.ps1 b/src/MySql/test/New-AzMySqlFlexibleServerReplica.Tests.ps1 index d2049215d5ff..46c5de65613f 100644 --- a/src/MySql/test/New-AzMySqlFlexibleServerReplica.Tests.ps1 +++ b/src/MySql/test/New-AzMySqlFlexibleServerReplica.Tests.ps1 @@ -16,11 +16,9 @@ while(-not $mockingPath) { Describe 'New-AzMySqlFlexibleServerReplica' { It 'CreateExpanded' { { - $replica = Get-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -ServerName $env.serverName | New-AzMySqlFlexibleServerReplica -Replica $env.replicaName -ResourceGroupName $env.resourceGroup - # Possible bug: above line should be - # $replica = Get-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -ServerName $env.serverName | Get-AzMySqlFlexibleServerReplica -Replica $env.replicaName -ResourceGroupName $env.resourceGroup + $replica = Get-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -ServerName $env.flexibleServerName | New-AzMySqlFlexibleServerReplica -Replica $env.replicaName -ResourceGroupName $env.resourceGroup $replica.Name | Should -Be $env.replicaName - $replica.SkuName | Should -Be $env.FlexibleSku + $replica.SkuName | Should -Be $env.flexibleSku $replica.Location | Should -Be "West US 2" Remove-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.replicaName } | Should -Not -Throw diff --git a/src/MySql/test/Remove-AzMySqlFlexibleServer.Tests.ps1 b/src/MySql/test/Remove-AzMySqlFlexibleServer.Tests.ps1 index 26c5b6db2fa8..022326d1ac84 100644 --- a/src/MySql/test/Remove-AzMySqlFlexibleServer.Tests.ps1 +++ b/src/MySql/test/Remove-AzMySqlFlexibleServer.Tests.ps1 @@ -27,6 +27,11 @@ Describe 'Remove-AzMySqlFlexibleServer' { It 'DeleteViaIdentity' { { + If ($TestMode -eq 'live' -or $TestMode -eq 'record') { + #[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] + $password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force + New-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName2 -AdministratorUserName mysql_test -AdministratorLoginPassword $password + } $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySql/flexibleServers/$($env.serverName2)" Remove-AzMySqlFlexibleServer -InputObject $ID } | Should -Not -Throw diff --git a/src/MySql/test/Remove-AzMySqlFlexibleServerDatabase.Recording.json b/src/MySql/test/Remove-AzMySqlFlexibleServerDatabase.Recording.json index dfbc5db75cec..d8a310958b9f 100644 --- a/src/MySql/test/Remove-AzMySqlFlexibleServerDatabase.Recording.json +++ b/src/MySql/test/Remove-AzMySqlFlexibleServerDatabase.Recording.json @@ -1,8 +1,8 @@ { - "Remove-AzMySqlFlexibleServerDatabase+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview+1": { + "Remove-AzMySqlFlexibleServerDatabase+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", "Content": "{\r\n \"properties\": {\r\n \"charset\": \"latin1\"\r\n }\r\n}", "Headers": { }, @@ -76,10 +76,10 @@ "Content": "{\"name\":\"9a03a575-bc13-408a-8bf7-fc0752b3213c\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T22:04:40.043Z\"}" } }, - "Remove-AzMySqlFlexibleServerDatabase+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview+3": { + "Remove-AzMySqlFlexibleServerDatabase+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" + "Content": "{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" } }, - "Remove-AzMySqlFlexibleServerDatabase+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview+4": { + "Remove-AzMySqlFlexibleServerDatabase+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "19" ], @@ -233,13 +233,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" + "Content": "{\"properties\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" } }, - "Remove-AzMySqlFlexibleServerDatabase+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview+1": { + "Remove-AzMySqlFlexibleServerDatabase+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", "Content": "{\r\n \"properties\": {\r\n \"charset\": \"latin1\"\r\n }\r\n}", "Headers": { }, @@ -313,10 +313,10 @@ "Content": "{\"name\":\"8ff93cff-ab9d-4a74-82cf-f3dc286df95f\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T22:05:11.433Z\"}" } }, - "Remove-AzMySqlFlexibleServerDatabase+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview+3": { + "Remove-AzMySqlFlexibleServerDatabase+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -349,13 +349,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" + "Content": "{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" } }, - "Remove-AzMySqlFlexibleServerDatabase+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview+4": { + "Remove-AzMySqlFlexibleServerDatabase+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "25" ], @@ -470,7 +470,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" + "Content": "{\"properties\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" } } } \ No newline at end of file diff --git a/src/MySql/test/Remove-AzMySqlFlexibleServerDatabase.Tests.ps1 b/src/MySql/test/Remove-AzMySqlFlexibleServerDatabase.Tests.ps1 index 12efec8b0e93..508166d3e1de 100644 --- a/src/MySql/test/Remove-AzMySqlFlexibleServerDatabase.Tests.ps1 +++ b/src/MySql/test/Remove-AzMySqlFlexibleServerDatabase.Tests.ps1 @@ -14,16 +14,16 @@ while(-not $mockingPath) { Describe 'Remove-AzMySqlFlexibleServerDatabase' { It 'Delete' { { - New-AzMySqlFlexibleServerDatabase -Name $env.databaseName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -Charset latin1 - Remove-AzMySqlFlexibleServerDatabase -Name $env.databaseName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName + New-AzMySqlFlexibleServerDatabase -Name $env.databaseName -ResourceGroupName $env.resourceGroup -ServerName $env.flexibleServerName -Charset latin1 + Remove-AzMySqlFlexibleServerDatabase -Name $env.databaseName -ResourceGroupName $env.resourceGroup -ServerName $env.flexibleServerName } | Should -Not -Throw } It 'DeleteViaIdentity' { { - New-AzMySqlFlexibleServerDatabase -Name $env.databaseName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -Charset latin1 - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySql/flexibleServers/$($env.serverName)/databases/$($env.databaseName)" - Remove-AzMySqlFlexibleServerDatabase -Name $env.databaseName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName + New-AzMySqlFlexibleServerDatabase -Name $env.databaseName -ResourceGroupName $env.resourceGroup -ServerName $env.flexibleServerName -Charset latin1 + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySql/flexibleServers/$($env.flexibleServerName)/databases/$($env.databaseName)" + Remove-AzMySqlFlexibleServerDatabase -Name $env.databaseName -ResourceGroupName $env.resourceGroup -ServerName $env.flexibleServerName } | Should -Not -Throw } } diff --git a/src/MySql/test/Remove-AzMySqlFlexibleServerFirewallRule.Recording.json b/src/MySql/test/Remove-AzMySqlFlexibleServerFirewallRule.Recording.json index 8c83f9ed2ba8..6d8ad7b1d070 100644 --- a/src/MySql/test/Remove-AzMySqlFlexibleServerFirewallRule.Recording.json +++ b/src/MySql/test/Remove-AzMySqlFlexibleServerFirewallRule.Recording.json @@ -1,8 +1,8 @@ { - "Remove-AzMySqlFlexibleServerFirewallRule+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { + "Remove-AzMySqlFlexibleServerFirewallRule+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -76,10 +76,10 @@ "Content": "{\"name\":\"c9876e71-00f7-42b9-a772-660c5061b600\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T09:28:20.113Z\"}" } }, - "Remove-AzMySqlFlexibleServerFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { + "Remove-AzMySqlFlexibleServerFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -115,10 +115,10 @@ "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}" } }, - "Remove-AzMySqlFlexibleServerFirewallRule+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+4": { + "Remove-AzMySqlFlexibleServerFirewallRule+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "4" ], @@ -235,10 +235,10 @@ "Content": null } }, - "Remove-AzMySqlFlexibleServerFirewallRule+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { + "Remove-AzMySqlFlexibleServerFirewallRule+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -312,10 +312,10 @@ "Content": "{\"name\":\"db072919-e68c-46c6-aeba-c8363014728e\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T09:30:22.8Z\"}" } }, - "Remove-AzMySqlFlexibleServerFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { + "Remove-AzMySqlFlexibleServerFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -351,10 +351,10 @@ "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}" } }, - "Remove-AzMySqlFlexibleServerFirewallRule+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+4": { + "Remove-AzMySqlFlexibleServerFirewallRule+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "10" ], diff --git a/src/MySql/test/Remove-AzMySqlFlexibleServerFirewallRule.Tests.ps1 b/src/MySql/test/Remove-AzMySqlFlexibleServerFirewallRule.Tests.ps1 index d73881c78f59..8ea6b187138c 100644 --- a/src/MySql/test/Remove-AzMySqlFlexibleServerFirewallRule.Tests.ps1 +++ b/src/MySql/test/Remove-AzMySqlFlexibleServerFirewallRule.Tests.ps1 @@ -13,13 +13,13 @@ while(-not $mockingPath) { Describe 'Remove-AzMySqlFlexibleServerFirewallRule' { It 'Delete' { - New-AzMySqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 - Remove-AzMySqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName + New-AzMySqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.flexibleServerName -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 + Remove-AzMySqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.flexibleServerName } It 'DeleteViaIdentity' { - New-AzMySqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySql/flexibleServers/$($env.serverName)/firewallRules/$($env.firewallRuleName)" + New-AzMySqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.flexibleServerName -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySql/flexibleServers/$($env.flexibleServerName)/firewallRules/$($env.firewallRuleName)" Remove-AzMySqlFlexibleServerFirewallRule -InputObject $ID } } diff --git a/src/MySql/test/Restart-AzMySqlFlexibleServer.Recording.json b/src/MySql/test/Restart-AzMySqlFlexibleServer.Recording.json index e127e9220d1c..7e731b16a34d 100644 --- a/src/MySql/test/Restart-AzMySqlFlexibleServer.Recording.json +++ b/src/MySql/test/Restart-AzMySqlFlexibleServer.Recording.json @@ -1,8 +1,8 @@ { - "Restart-AzMySqlFlexibleServer+[NoContext]+Restart+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/restart?api-version=2020-07-01-preview+1": { + "Restart-AzMySqlFlexibleServer+[NoContext]+Restart+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/restart?api-version=2020-07-01-preview+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/restart?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/restart?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "1" ], @@ -157,13 +157,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"mysql-test-100\",\"type\":\"MySQL\"}" + "Content": "{\"name\":\"mysql-flexible-test-100\",\"type\":\"MySQL\"}" } }, - "Restart-AzMySqlFlexibleServer+[NoContext]+RestartViaIdentity+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/restart?api-version=2020-07-01-preview+1": { + "Restart-AzMySqlFlexibleServer+[NoContext]+RestartViaIdentity+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/restart?api-version=2020-07-01-preview+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/restart?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/restart?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "5" ], @@ -318,7 +318,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"mysql-test-100\",\"type\":\"MySQL\"}" + "Content": "{\"name\":\"mysql-flexible-test-100\",\"type\":\"MySQL\"}" } } } \ No newline at end of file diff --git a/src/MySql/test/Restart-AzMySqlFlexibleServer.Tests.ps1 b/src/MySql/test/Restart-AzMySqlFlexibleServer.Tests.ps1 index d0c7ccae5b9a..584636bf8cbe 100644 --- a/src/MySql/test/Restart-AzMySqlFlexibleServer.Tests.ps1 +++ b/src/MySql/test/Restart-AzMySqlFlexibleServer.Tests.ps1 @@ -14,13 +14,13 @@ while(-not $mockingPath) { Describe 'Restart-AzMySqlFlexibleServer' { It 'Restart' { { - Restart-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName + Restart-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.flexibleServerName } | Should -Not -Throw } It 'RestartViaIdentity' { { - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySql/flexibleServers/$($env.serverName)/restart" + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySql/flexibleServers/$($env.flexibleServerName)/restart" Restart-AzMySqlFlexibleServer -InputObject $ID } | Should -Not -Throw } diff --git a/src/MySql/test/Restore-AzMySqlFlexibleServer.Recording.json b/src/MySql/test/Restore-AzMySqlFlexibleServer.Recording.json index eb9d4003f65d..b32f08f8e3ae 100644 --- a/src/MySql/test/Restore-AzMySqlFlexibleServer.Recording.json +++ b/src/MySql/test/Restore-AzMySqlFlexibleServer.Recording.json @@ -1,8 +1,8 @@ { - "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview+1": { + "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "1" ], @@ -35,14 +35,14 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":13,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":13,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-flexible-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\"name\":\"mysql-flexible-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } }, "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-restore?api-version=2020-07-01-preview+2": { "Request": { "Method": "PUT", "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-restore?api-version=2020-07-01-preview", - "Content": "{\r\n \"location\": \"West US 2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\"\r\n },\r\n \"properties\": {\r\n \"sourceServerId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\r\n \"restorePointInTime\": \"2020-11-11T22:22:36.1235805-08:00\",\r\n \"createMode\": \"PointInTimeRestore\"\r\n }\r\n}", + "Content": "{\r\n \"location\": \"West US 2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\"\r\n },\r\n \"properties\": {\r\n \"sourceServerId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\r\n \"restorePointInTime\": \"2020-11-11T22:22:36.1235805-08:00\",\r\n \"createMode\": \"PointInTimeRestore\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { diff --git a/src/MySql/test/Restore-AzMySqlFlexibleServer.Tests.ps1 b/src/MySql/test/Restore-AzMySqlFlexibleServer.Tests.ps1 index 8ae62d31e340..775e83b6dfe9 100644 --- a/src/MySql/test/Restore-AzMySqlFlexibleServer.Tests.ps1 +++ b/src/MySql/test/Restore-AzMySqlFlexibleServer.Tests.ps1 @@ -15,7 +15,7 @@ Describe 'Restore-AzMySqlFlexibleServer' { It 'PointInTimeRestore' { { $restorePointInTime = (Get-Date).AddMinutes(-10) - $result = Get-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName + $result = Get-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.flexibleServerName Restore-AzMySqlFlexibleServer -Name $env.restoreName -ResourceGroupName $env.resourceGroup -RestorePointInTime $restorePointInTime -InputObject $result } | Should -Not -Throw } diff --git a/src/MySql/test/Start-AzMySqlFlexibleServer.Recording.json b/src/MySql/test/Start-AzMySqlFlexibleServer.Recording.json index 16ab14743a4f..c15f32bc12d8 100644 --- a/src/MySql/test/Start-AzMySqlFlexibleServer.Recording.json +++ b/src/MySql/test/Start-AzMySqlFlexibleServer.Recording.json @@ -1,8 +1,8 @@ { - "Start-AzMySqlFlexibleServer+[NoContext]+Start+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/stop?api-version=2020-07-01-preview+1": { + "Start-AzMySqlFlexibleServer+[NoContext]+Start+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/stop?api-version=2020-07-01-preview+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/stop?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/stop?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "1" ], @@ -197,13 +197,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"mysql-test-100\",\"type\":\"MySQL\"}" + "Content": "{\"name\":\"mysql-flexible-test-100\",\"type\":\"MySQL\"}" } }, - "Start-AzMySqlFlexibleServer+[NoContext]+Start+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/start?api-version=2020-07-01-preview+6": { + "Start-AzMySqlFlexibleServer+[NoContext]+Start+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/start?api-version=2020-07-01-preview+6": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/start?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/start?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "6" ], @@ -358,13 +358,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"mysql-test-100\",\"type\":\"MySQL\"}" + "Content": "{\"name\":\"mysql-flexible-test-100\",\"type\":\"MySQL\"}" } }, - "Start-AzMySqlFlexibleServer+[NoContext]+StartViaIdentity+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/stop?api-version=2020-07-01-preview+1": { + "Start-AzMySqlFlexibleServer+[NoContext]+StartViaIdentity+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/stop?api-version=2020-07-01-preview+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/stop?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/stop?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "10" ], @@ -599,13 +599,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"mysql-test-100\",\"type\":\"MySQL\"}" + "Content": "{\"name\":\"mysql-flexible-test-100\",\"type\":\"MySQL\"}" } }, - "Start-AzMySqlFlexibleServer+[NoContext]+StartViaIdentity+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/start?api-version=2020-07-01-preview+7": { + "Start-AzMySqlFlexibleServer+[NoContext]+StartViaIdentity+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/start?api-version=2020-07-01-preview+7": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/start?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/start?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "16" ], @@ -760,7 +760,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"mysql-test-100\",\"type\":\"MySQL\"}" + "Content": "{\"name\":\"mysql-flexible-test-100\",\"type\":\"MySQL\"}" } } } \ No newline at end of file diff --git a/src/MySql/test/Start-AzMySqlFlexibleServer.Tests.ps1 b/src/MySql/test/Start-AzMySqlFlexibleServer.Tests.ps1 index e4491a61880a..e27b18424815 100644 --- a/src/MySql/test/Start-AzMySqlFlexibleServer.Tests.ps1 +++ b/src/MySql/test/Start-AzMySqlFlexibleServer.Tests.ps1 @@ -14,15 +14,15 @@ while(-not $mockingPath) { Describe 'Start-AzMySqlFlexibleServer' { It 'Start' { { - Stop-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName - Start-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName + Stop-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.flexibleServerName + Start-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.flexibleServerName } | Should -Not -Throw } It 'StartViaIdentity' { { - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySql/flexibleServers/$($env.serverName)/start" - Stop-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySql/flexibleServers/$($env.flexibleServerName)/start" + Stop-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.flexibleServerName Start-AzMySqlFlexibleServer -InputObject $ID } | Should -Not -Throw } diff --git a/src/MySql/test/Stop-AzMySqlFlexibleServer.Recording.json b/src/MySql/test/Stop-AzMySqlFlexibleServer.Recording.json index 4a477667f07f..b5274e77d589 100644 --- a/src/MySql/test/Stop-AzMySqlFlexibleServer.Recording.json +++ b/src/MySql/test/Stop-AzMySqlFlexibleServer.Recording.json @@ -1,8 +1,8 @@ { - "Stop-AzMySqlFlexibleServer+[NoContext]+Stop+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/stop?api-version=2020-07-01-preview+1": { + "Stop-AzMySqlFlexibleServer+[NoContext]+Stop+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/stop?api-version=2020-07-01-preview+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/stop?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/stop?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "1" ], @@ -197,13 +197,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"mysql-test-100\",\"type\":\"MySQL\"}" + "Content": "{\"name\":\"mysql-flexible-test-100\",\"type\":\"MySQL\"}" } }, - "Stop-AzMySqlFlexibleServer+[NoContext]+Stop+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/start?api-version=2020-07-01-preview+6": { + "Stop-AzMySqlFlexibleServer+[NoContext]+Stop+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/start?api-version=2020-07-01-preview+6": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/start?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/start?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "6" ], @@ -318,13 +318,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"mysql-test-100\",\"type\":\"MySQL\"}" + "Content": "{\"name\":\"mysql-flexible-test-100\",\"type\":\"MySQL\"}" } }, - "Stop-AzMySqlFlexibleServer+[NoContext]+StopViaIdentity+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/stop?api-version=2020-07-01-preview+1": { + "Stop-AzMySqlFlexibleServer+[NoContext]+StopViaIdentity+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/stop?api-version=2020-07-01-preview+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/stop?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/stop?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "9" ], @@ -519,7 +519,128 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"name\":\"mysql-test-100\",\"type\":\"MySQL\"}" + "Content": "{\"name\":\"mysql-flexible-test-100\",\"type\":\"MySQL\"}" + } + }, + "Stop-AzMySqlFlexibleServer+[NoContext]+StopViaIdentity+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/start?api-version=2020-07-01-preview+6": { + "Request": { + "Method": "POST", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/start?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "6" ], + "x-ms-client-request-id": [ "1d5b517f-83e7-4650-ab2c-97b0721601f1" ], + "CommandName": [ "Start-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Start-AzMySqlFlexibleServer_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/698e8171-e16a-47e6-95ce-5cce8b1a2b43?api-version=2020-07-01-preview" ], + "Retry-After": [ "60" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/698e8171-e16a-47e6-95ce-5cce8b1a2b43?api-version=2020-07-01-preview" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "698e8171-e16a-47e6-95ce-5cce8b1a2b43" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-correlation-request-id": [ "32dd80d4-c6b1-4652-ba32-8feeca2e6cfc" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T211959Z:32dd80d4-c6b1-4652-ba32-8feeca2e6cfc" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 21:19:59 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "85" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"operation\":\"StartServerManagementOperation\",\"startTime\":\"2020-11-11T21:19:59.337Z\"}" + } + }, + "Stop-AzMySqlFlexibleServer+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/698e8171-e16a-47e6-95ce-5cce8b1a2b43?api-version=2020-07-01-preview+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/698e8171-e16a-47e6-95ce-5cce8b1a2b43?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "7" ], + "x-ms-client-request-id": [ "1d5b517f-83e7-4650-ab2c-97b0721601f1" ], + "CommandName": [ "Start-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Start-AzMySqlFlexibleServer_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Retry-After": [ "60" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "7829db43-b0b5-445a-9840-023af51a86c2" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "x-ms-correlation-request-id": [ "1b3067cc-0c52-4186-903b-5c1069cce703" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T212059Z:1b3067cc-0c52-4186-903b-5c1069cce703" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 21:20:58 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "107" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"698e8171-e16a-47e6-95ce-5cce8b1a2b43\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T21:19:59.337Z\"}" + } + }, + "Stop-AzMySqlFlexibleServer+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/698e8171-e16a-47e6-95ce-5cce8b1a2b43?api-version=2020-07-01-preview+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/698e8171-e16a-47e6-95ce-5cce8b1a2b43?api-version=2020-07-01-preview", + "Content": null, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "8" ], + "x-ms-client-request-id": [ "1d5b517f-83e7-4650-ab2c-97b0721601f1" ], + "CommandName": [ "Start-AzMySqlFlexibleServer" ], + "FullCommandName": [ "Start-AzMySqlFlexibleServer_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-request-id": [ "d1bf31dd-0236-4acb-a699-ff0e907b5175" ], + "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-correlation-request-id": [ "4e979dbc-c175-4db8-9fa3-c2975eae6279" ], + "x-ms-routing-request-id": [ "WESTUS2:20201111T212059Z:4e979dbc-c175-4db8-9fa3-c2975eae6279" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Wed, 11 Nov 2020 21:20:58 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "40" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"name\":\"mysql-flexible-test-100\",\"type\":\"MySQL\"}" } } } \ No newline at end of file diff --git a/src/MySql/test/Stop-AzMySqlFlexibleServer.Tests.ps1 b/src/MySql/test/Stop-AzMySqlFlexibleServer.Tests.ps1 index 63b7190014df..d8a0ccc986f9 100644 --- a/src/MySql/test/Stop-AzMySqlFlexibleServer.Tests.ps1 +++ b/src/MySql/test/Stop-AzMySqlFlexibleServer.Tests.ps1 @@ -14,15 +14,16 @@ while(-not $mockingPath) { Describe 'Stop-AzMySqlFlexibleServer' { It 'Stop' { { - Stop-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName - Start-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName + Stop-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.flexibleServerName + Start-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.flexibleServerName } | Should -Not -Throw } It 'StopViaIdentity' { { - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySql/flexibleServers/$($env.serverName)/stop" + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySql/flexibleServers/$($env.flexibleServerName)/stop" Stop-AzMySqlFlexibleServer -InputObject $ID + Start-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.flexibleServerName } | Should -Not -Throw } } diff --git a/src/MySql/test/Update-AzMySqlFlexibleServer.Recording.json b/src/MySql/test/Update-AzMySqlFlexibleServer.Recording.json index c07b25aeed31..0960f91a85f6 100644 --- a/src/MySql/test/Update-AzMySqlFlexibleServer.Recording.json +++ b/src/MySql/test/Update-AzMySqlFlexibleServer.Recording.json @@ -1,8 +1,8 @@ { - "Update-AzMySqlFlexibleServer+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview+1": { + "Update-AzMySqlFlexibleServer+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview+1": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview", "Content": "{\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 12\r\n }\r\n }\r\n}", "Headers": { }, @@ -76,10 +76,10 @@ "Content": "{\"name\":\"9d9b1caf-9e73-4135-a4a6-2965ea2d6888\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T20:35:01.193Z\"}" } }, - "Update-AzMySqlFlexibleServer+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview+3": { + "Update-AzMySqlFlexibleServer+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":12,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":12,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-flexible-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\"name\":\"mysql-flexible-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } }, - "Update-AzMySqlFlexibleServer+[NoContext]+UpdateViaIdentityExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview+1": { + "Update-AzMySqlFlexibleServer+[NoContext]+UpdateViaIdentityExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview+1": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview", "Content": "{\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 13\r\n }\r\n }\r\n}", "Headers": { }, @@ -192,10 +192,10 @@ "Content": "{\"name\":\"8138b975-7745-4fb6-a775-faa1d8fc95ed\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T20:36:02.39Z\"}" } }, - "Update-AzMySqlFlexibleServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview+3": { + "Update-AzMySqlFlexibleServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -228,7 +228,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":13,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":13,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-flexible-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\"name\":\"mysql-flexible-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } } } \ No newline at end of file diff --git a/src/MySql/test/Update-AzMySqlFlexibleServer.Tests.ps1 b/src/MySql/test/Update-AzMySqlFlexibleServer.Tests.ps1 index dfa1b8687042..6779d9a1ab5c 100644 --- a/src/MySql/test/Update-AzMySqlFlexibleServer.Tests.ps1 +++ b/src/MySql/test/Update-AzMySqlFlexibleServer.Tests.ps1 @@ -14,15 +14,15 @@ while(-not $mockingPath) { Describe 'Update-AzMySqlFlexibleServer' { It 'UpdateExpanded' { { - $server = Update-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName -BackupRetentionDay 12 + $server = Update-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.flexibleServerName -BackupRetentionDay 12 $server.StorageProfileBackupRetentionDay | Should -Be 12 } | Should -Not -Throw } It 'UpdateViaIdentityExpanded' { { - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBforMySQL/flexibleServers/$($env.serverName)" - $server = Update-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName -BackupRetentionDay 13 + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBforMySQL/flexibleServers/$($env.flexibleServerName)" + $server = Update-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.flexibleServerName -BackupRetentionDay 13 $server.StorageProfileBackupRetentionDay | Should -Be 13 } | Should -Not -Throw } diff --git a/src/MySql/test/Update-AzMySqlFlexibleServerConfiguration.Recording.json b/src/MySql/test/Update-AzMySqlFlexibleServerConfiguration.Recording.json index eaff2a928839..41dbfd40ee8d 100644 --- a/src/MySql/test/Update-AzMySqlFlexibleServerConfiguration.Recording.json +++ b/src/MySql/test/Update-AzMySqlFlexibleServerConfiguration.Recording.json @@ -1,8 +1,8 @@ { - "Update-AzMySqlFlexibleServerConfiguration+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/configurations/net_retry_count?api-version=2020-07-01-preview+1": { + "Update-AzMySqlFlexibleServerConfiguration+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/configurations/net_retry_count?api-version=2020-07-01-preview+1": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/configurations/net_retry_count?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/configurations/net_retry_count?api-version=2020-07-01-preview", "Content": "{\r\n \"properties\": {\r\n \"value\": \"15\",\r\n \"source\": \"user-override\"\r\n }\r\n}", "Headers": { }, @@ -76,10 +76,10 @@ "Content": "{\"name\":\"c2c8fea9-861e-4a2a-93a9-32bfe2c50359\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T22:20:08.817Z\"}" } }, - "Update-AzMySqlFlexibleServerConfiguration+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/configurations/net_retry_count?api-version=2020-07-01-preview+3": { + "Update-AzMySqlFlexibleServerConfiguration+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/configurations/net_retry_count?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/configurations/net_retry_count?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/configurations/net_retry_count?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"value\":\"15\",\"description\":\"If a read or write on a communication port is interrupted, retry this many times before giving up.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/net_retry_count\",\"name\":\"net_retry_count\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"}" + "Content": "{\"properties\":{\"value\":\"15\",\"description\":\"If a read or write on a communication port is interrupted, retry this many times before giving up.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/net_retry_count\",\"name\":\"net_retry_count\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"}" } }, - "Update-AzMySqlFlexibleServerConfiguration+[NoContext]+UpdateViaIdentityExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/configurations/wait_timeout?api-version=2020-07-01-preview+1": { + "Update-AzMySqlFlexibleServerConfiguration+[NoContext]+UpdateViaIdentityExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/configurations/wait_timeout?api-version=2020-07-01-preview+1": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/configurations/wait_timeout?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/configurations/wait_timeout?api-version=2020-07-01-preview", "Content": "{\r\n \"properties\": {\r\n \"value\": \"150\",\r\n \"source\": \"user-override\"\r\n }\r\n}", "Headers": { }, @@ -192,10 +192,10 @@ "Content": "{\"name\":\"17658c10-7926-4252-af2b-a6705e16a61d\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T22:20:24.987Z\"}" } }, - "Update-AzMySqlFlexibleServerConfiguration+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/configurations/wait_timeout?api-version=2020-07-01-preview+3": { + "Update-AzMySqlFlexibleServerConfiguration+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/configurations/wait_timeout?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/configurations/wait_timeout?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/configurations/wait_timeout?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -228,7 +228,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"value\":\"150\",\"description\":\"The number of seconds the server waits for activity on a noninteractive connection before closing it.\",\"defaultValue\":\"28800\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/configurations/wait_timeout\",\"name\":\"wait_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"}" + "Content": "{\"properties\":{\"value\":\"150\",\"description\":\"The number of seconds the server waits for activity on a noninteractive connection before closing it.\",\"defaultValue\":\"28800\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/wait_timeout\",\"name\":\"wait_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"}" } } } \ No newline at end of file diff --git a/src/MySql/test/Update-AzMySqlFlexibleServerConfiguration.Tests.ps1 b/src/MySql/test/Update-AzMySqlFlexibleServerConfiguration.Tests.ps1 index eca82e47a0c6..14ce42c6b31a 100644 --- a/src/MySql/test/Update-AzMySqlFlexibleServerConfiguration.Tests.ps1 +++ b/src/MySql/test/Update-AzMySqlFlexibleServerConfiguration.Tests.ps1 @@ -13,13 +13,13 @@ while(-not $mockingPath) { Describe 'Update-AzMySqlFlexibleServerConfiguration' { It 'UpdateExpanded' { - $config = Update-AzMySqlFlexibleServerConfiguration -Name net_retry_count -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -Value 15 -Source user-override + $config = Update-AzMySqlFlexibleServerConfiguration -Name net_retry_count -ResourceGroupName $env.resourceGroup -ServerName $env.flexibleServerName -Value 15 -Source user-override $config.Value | Should -Be 15 $config.DefaultValue | Should -Be 10 } It 'UpdateViaIdentityExpanded' { - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySql/flexibleServers/$($env.serverName)/configurations/wait_timeout" + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySql/flexibleServers/$($env.flexibleServerName)/configurations/wait_timeout" $config = Update-AzMySqlFlexibleServerConfiguration -InputObject $ID -Value 150 -Source user-override $config.Value | Should -Be 150 $config.DefaultValue | Should -Be 28800 diff --git a/src/MySql/test/Update-AzMySqlFlexibleServerDatabase.Recording.json b/src/MySql/test/Update-AzMySqlFlexibleServerDatabase.Recording.json index 007d2f575f8b..82fd52ce9411 100644 --- a/src/MySql/test/Update-AzMySqlFlexibleServerDatabase.Recording.json +++ b/src/MySql/test/Update-AzMySqlFlexibleServerDatabase.Recording.json @@ -1,8 +1,8 @@ { - "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview+1": { + "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", "Content": "{\r\n \"properties\": {\r\n \"charset\": \"latin1\"\r\n }\r\n}", "Headers": { }, @@ -76,10 +76,10 @@ "Content": "{\"name\":\"3de3b321-423d-4c95-a378-650e50329f94\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T22:05:43.777Z\"}" } }, - "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview+3": { + "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" + "Content": "{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" } }, - "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview+4": { + "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+4": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", "Content": "{\r\n \"properties\": {\r\n \"charset\": \"latin1\"\r\n }\r\n}", "Headers": { }, @@ -192,10 +192,10 @@ "Content": "{\"name\":\"5bbcdeb3-0e9a-47a2-8352-0c41f0e89497\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T22:05:59.623Z\"}" } }, - "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview+6": { + "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -228,13 +228,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" + "Content": "{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" } }, - "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview+1": { + "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", "Content": "{\r\n \"properties\": {\r\n \"charset\": \"latin1\"\r\n }\r\n}", "Headers": { }, @@ -308,10 +308,10 @@ "Content": "{\"name\":\"7ddc2bd0-8517-4716-9c2f-a95d5e868312\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T22:06:15.67Z\"}" } }, - "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview+3": { + "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -344,13 +344,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" + "Content": "{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" } }, - "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateViaIdentityExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview+4": { + "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateViaIdentityExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "37" ], @@ -465,7 +465,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" + "Content": "{\"properties\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" } } } \ No newline at end of file diff --git a/src/MySql/test/Update-AzMySqlFlexibleServerDatabase.Tests.ps1 b/src/MySql/test/Update-AzMySqlFlexibleServerDatabase.Tests.ps1 index 68a47d921497..42b7dd142784 100644 --- a/src/MySql/test/Update-AzMySqlFlexibleServerDatabase.Tests.ps1 +++ b/src/MySql/test/Update-AzMySqlFlexibleServerDatabase.Tests.ps1 @@ -14,8 +14,8 @@ while(-not $mockingPath) { Describe 'Update-AzMySqlFlexibleServerDatabase' { It 'UpdateExpanded' { { - New-AzMySqlFlexibleServerDatabase -Name $env.databaseName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -Charset latin1 - $database = Update-AzMySqlFlexibleServerDatabase -Name $env.databaseName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -Charset latin1 + New-AzMySqlFlexibleServerDatabase -Name $env.databaseName -ResourceGroupName $env.resourceGroup -ServerName $env.flexibleServerName -Charset latin1 + $database = Update-AzMySqlFlexibleServerDatabase -Name $env.databaseName -ResourceGroupName $env.resourceGroup -ServerName $env.flexibleServerName -Charset latin1 $database.Collation | Should -Be "latin1_swedish_ci" $database.Charset | Should -Be "latin1" } | Should -Not -Throw @@ -23,11 +23,11 @@ Describe 'Update-AzMySqlFlexibleServerDatabase' { It 'UpdateViaIdentityExpanded' { { - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySql/flexibleServers/$($env.serverName)/databases/$($env.databaseName)" + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySql/flexibleServers/$($env.flexibleServerName)/databases/$($env.databaseName)" $database = Update-AzMySqlFlexibleServerDatabase -InputObject $ID -Charset latin1 $database.Collation | Should -Be "latin1_swedish_ci" $database.Charset | Should -Be "latin1" - Remove-AzMySqlFlexibleServerDatabase -Name $env.databaseName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName + Remove-AzMySqlFlexibleServerDatabase -Name $env.databaseName -ResourceGroupName $env.resourceGroup -ServerName $env.flexibleServerName } | Should -Not -Throw } } diff --git a/src/MySql/test/Update-AzMySqlFlexibleServerFirewallRule.Recording.json b/src/MySql/test/Update-AzMySqlFlexibleServerFirewallRule.Recording.json index 57c6a55757d4..6b42d6cf17ff 100644 --- a/src/MySql/test/Update-AzMySqlFlexibleServerFirewallRule.Recording.json +++ b/src/MySql/test/Update-AzMySqlFlexibleServerFirewallRule.Recording.json @@ -1,8 +1,8 @@ { - "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { + "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -76,10 +76,10 @@ "Content": "{\"name\":\"81845aae-a3cc-4718-811b-e582aa0d9bad\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T09:04:27.96Z\"}" } }, - "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { + "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -115,10 +115,10 @@ "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}" } }, - "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+4": { + "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+4": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.2\",\r\n \"endIpAddress\": \"0.0.0.3\"\r\n }\r\n}", "Headers": { }, @@ -192,10 +192,10 @@ "Content": "{\"name\":\"9eb03ca4-1e3a-47b4-8ba7-9926e93b32ab\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T09:05:29.207Z\"}" } }, - "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+6": { + "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -231,10 +231,10 @@ "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.2\",\"endIpAddress\":\"0.0.0.3\"},\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}" } }, - "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { + "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.2\",\r\n \"endIpAddress\": \"0.0.0.2\"\r\n }\r\n}", "Headers": { }, @@ -308,10 +308,10 @@ "Content": "{\"name\":\"e10feaa3-578f-4e7d-af3c-9b04961d387a\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T09:06:30.02Z\"}" } }, - "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { + "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -347,10 +347,10 @@ "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.2\",\"endIpAddress\":\"0.0.0.2\"},\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}" } }, - "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { + "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.4\",\r\n \"endIpAddress\": \"0.0.0.5\"\r\n }\r\n}", "Headers": { }, @@ -424,10 +424,10 @@ "Content": "{\"name\":\"86ce3bad-3990-41f6-8f5c-df8d17a0c7ca\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T09:07:31.163Z\"}" } }, - "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { + "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -463,10 +463,10 @@ "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.4\",\"endIpAddress\":\"0.0.0.5\"},\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}" } }, - "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddressViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { + "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddressViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.9\",\r\n \"endIpAddress\": \"0.0.0.9\"\r\n }\r\n}", "Headers": { }, @@ -540,10 +540,10 @@ "Content": "{\"name\":\"06304514-0e03-4375-8437-d2622a29d571\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T09:09:01.047Z\"}" } }, - "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddressViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { + "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddressViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], diff --git a/src/MySql/test/Update-AzMySqlFlexibleServerFirewallRule.Tests.ps1 b/src/MySql/test/Update-AzMySqlFlexibleServerFirewallRule.Tests.ps1 index 6243092319bd..33c329ac66aa 100644 --- a/src/MySql/test/Update-AzMySqlFlexibleServerFirewallRule.Tests.ps1 +++ b/src/MySql/test/Update-AzMySqlFlexibleServerFirewallRule.Tests.ps1 @@ -13,27 +13,27 @@ while(-not $mockingPath) { Describe 'Update-AzMySqlFlexibleServerFirewallRule' { It 'UpdateExpanded' { - New-AzMySqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 - $rule = Update-AzMySqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 + New-AzMySqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.flexibleServerName -EndIPAddress 0.0.0.1 -StartIPAddress 0.0.0.0 + $rule = Update-AzMySqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.flexibleServerName -EndIPAddress 0.0.0.3 -StartIPAddress 0.0.0.2 $rule.StartIPAddress | Should -Be 0.0.0.2 $rule.EndIPAddress | Should -Be 0.0.0.3 } It 'ClientIPAddress' { - $rule = Update-AzMySqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.serverName -ClientIPAddress 0.0.0.2 + $rule = Update-AzMySqlFlexibleServerFirewallRule -Name $env.firewallRuleName -ResourceGroupName $env.resourceGroup -ServerName $env.flexibleServerName -ClientIPAddress 0.0.0.2 $rule.StartIPAddress | Should -Be 0.0.0.2 $rule.EndIPAddress | Should -Be 0.0.0.2 } It 'UpdateViaIdentityExpanded' { - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySql/flexibleServers/$($env.serverName)/firewallRules/$($env.firewallRuleName)" + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySql/flexibleServers/$($env.flexibleServerName)/firewallRules/$($env.firewallRuleName)" $rule = Update-AzMySqlFlexibleServerFirewallRule -InputObject $ID -EndIPAddress 0.0.0.5 -StartIPAddress 0.0.0.4 $rule.StartIPAddress | Should -Be 0.0.0.4 $rule.EndIPAddress | Should -Be 0.0.0.5 } It 'ClientIPAddressViaIdentity' { - $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySql/flexibleServers/$($env.serverName)/firewallRules/$($env.firewallRuleName)" + $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySql/flexibleServers/$($env.flexibleServerName)/firewallRules/$($env.firewallRuleName)" $rule = Update-AzMySqlFlexibleServerFirewallRule -InputObject $ID -ClientIPAddress 0.0.0.9 $rule.StartIPAddress | Should -Be 0.0.0.9 $rule.EndIPAddress | Should -Be 0.0.0.9 diff --git a/src/MySql/test/env.json b/src/MySql/test/env.json index c1e9fc13eabd..f2237843c3c5 100644 --- a/src/MySql/test/env.json +++ b/src/MySql/test/env.json @@ -1,7 +1,8 @@ { "SubnetName": "mysql-test-subnet", - "FlexibleSku": "Standard_B1ms", + "flexibleSku": "Standard_B1ms", "serverName": "mysql-test-100", + "flexibleServerName": "mysql-flexible-test-100", "resourceGroup": "MySqlTest", "location": "westus2", "firewallRuleName": "mysqlrule01", diff --git a/src/MySql/test/localEnv.json b/src/MySql/test/localEnv.json index 94edd10d3180..974211e4b076 100644 --- a/src/MySql/test/localEnv.json +++ b/src/MySql/test/localEnv.json @@ -1,9 +1,10 @@ { - "FlexibleSku": "Standard_B1ms", + "flexibleSku": "Standard_B1ms", "firewallRuleName2": "mysqlrule02", "restoreName2": "mysql-test-100-restore-2", "replicaName": "mysql-test-100-replica", "serverName": "mysql-test-100", + "flexibleServerName": "mysql-flexible-test-100", "databaseName": "mysqldb", "SubscriptionId": "7fec3109-5b78-4a24-b834-5d47d63e2596", "restoreName": "mysql-test-100-restore", diff --git a/src/MySql/test/utils.ps1 b/src/MySql/test/utils.ps1 index 1acf7da1f6e9..2249728f519d 100644 --- a/src/MySql/test/utils.ps1 +++ b/src/MySql/test/utils.ps1 @@ -27,7 +27,7 @@ function setupEnv() { # Create the test group write-host "start to create test group." $resourceGroup = "MySqlTest" - $location = "westus2" + $location = "eastus2euap" $env.Add("resourceGroup", $resourceGroup) $env.Add("location", $location) New-AzResourceGroup -Name $resourceGroup -Location $location @@ -36,24 +36,23 @@ function setupEnv() { $password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force $serverName = "mysql-test-100" $env.Add("serverName", $serverName) - $flexibleServerName = "flexible-mysql-test-100" - $env.Add("FlexibleServerName", $flexibleServerName) + $flexibleServerName = "mysql-flexible-test-100" + $env.Add("flexibleServerName", $flexibleServerName) $Sku = "GP_Gen5_4" $FlexibleSku = "Standard_B1ms" $env.Add("Sku", $Sku) - $env.Add("FlexibleSku", $FlexibleSku) + $env.Add("flexibleSku", $FlexibleSku) # Create the test Vnet write-host "Deploy Vnet template" New-AzDeployment -Mode Incremental -TemplateFile .\test\deployment-templates\virtual-network\template.json -TemplateParameterFile .\test\deployment-templates\virtual-network\parameters.json -Name vn -ResourceGroupName $resourceGroup - write-host (Get-AzContext | Out-String) write-host "New-AzMySqlServer -Name $serverName -ResourceGroupName $resourceGroup -Location $location -AdministratorUserName mysql_test -AdministratorLoginPassword $password -Sku $Sku" New-AzMySqlServer -Name $serverName -ResourceGroupName $resourceGroup -Location $location -AdministratorUserName mysql_test -AdministratorLoginPassword $password -Sku $Sku - write-host "New-AzMySqlFlexibleServer -Name $flexibleServerName -ResourceGroupName $resourceGroup -AdministratorUserName mysql_test -AdministratorLoginPassword $password" - New-AzMySqlFlexibleServer -Name $flexibleServerName -ResourceGroupName $resourceGroup -AdministratorUserName mysql_test -AdministratorLoginPassword $password + write-host "New-AzMySqlFlexibleServer -Name $flexibleServerName -ResourceGroupName $resourceGroup -AdministratorUserName mysql_test -AdministratorLoginPassword $password -PubclicAccess all -Location eastus2euap" + New-AzMySqlFlexibleServer -Name $flexibleServerName -ResourceGroupName $resourceGroup -AdministratorUserName mysql_test -AdministratorLoginPassword $password -PublicAccess all -Location eastus2euap $envFile = 'env.json' if ($TestMode -eq 'live') { From 9aec809a5b4fc1e201756c7e9dc07461ad79c5a4 Mon Sep 17 00:00:00 2001 From: Daeun Yim Date: Tue, 29 Dec 2020 17:32:45 -0800 Subject: [PATCH 45/51] location changed from westus2 to eastus2euap --- ...MySqlFlexibleServerDatabase.Recording.json | 20 ++--- ...lFlexibleServerFirewallRule.Recording.json | 20 ++--- ...zMySqlFlexibleServerReplica.Recording.json | 48 ++++++------ .../test/New-AzMySqlFlexibleServer.Tests.ps1 | 39 +++++----- ...MySqlFlexibleServerDatabase.Recording.json | 20 ++--- ...lFlexibleServerFirewallRule.Recording.json | 60 +++++++-------- ...zMySqlFlexibleServerReplica.Recording.json | 48 ++++++------ ...emove-AzMySqlFlexibleServer.Recording.json | 10 +-- .../Remove-AzMySqlFlexibleServer.Tests.ps1 | 4 +- ...MySqlFlexibleServerDatabase.Recording.json | 40 +++++----- ...lFlexibleServerFirewallRule.Recording.json | 40 +++++----- ...start-AzMySqlFlexibleServer.Recording.json | 32 ++++---- ...store-AzMySqlFlexibleServer.Recording.json | 76 +++++++++---------- ...Start-AzMySqlFlexibleServer.Recording.json | 76 +++++++++---------- .../Stop-AzMySqlFlexibleServer.Recording.json | 52 ++++++------- ...pdate-AzMySqlFlexibleServer.Recording.json | 16 ++-- ...FlexibleServerConfiguration.Recording.json | 16 ++-- ...MySqlFlexibleServerDatabase.Recording.json | 36 ++++----- ...lFlexibleServerFirewallRule.Recording.json | 40 +++++----- src/MySql/test/env.json | 2 +- src/MySql/test/localEnv.json | 2 +- 21 files changed, 348 insertions(+), 349 deletions(-) diff --git a/src/MySql/test/Get-AzMySqlFlexibleServerDatabase.Recording.json b/src/MySql/test/Get-AzMySqlFlexibleServerDatabase.Recording.json index 54f74fac352f..d851c48a33ce 100644 --- a/src/MySql/test/Get-AzMySqlFlexibleServerDatabase.Recording.json +++ b/src/MySql/test/Get-AzMySqlFlexibleServerDatabase.Recording.json @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/96326ee6-19e9-49da-bf99-cef36c9b88fa?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/96326ee6-19e9-49da-bf99-cef36c9b88fa?api-version=2020-07-01-preview" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/96326ee6-19e9-49da-bf99-cef36c9b88fa?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/96326ee6-19e9-49da-bf99-cef36c9b88fa?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "96326ee6-19e9-49da-bf99-cef36c9b88fa" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpsertServerDatabaseManagementOperation\",\"startTime\":\"2020-11-10T22:03:32.76Z\"}" } }, - "Get-AzMySqlFlexibleServerDatabase+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/96326ee6-19e9-49da-bf99-cef36c9b88fa?api-version=2020-07-01-preview+2": { + "Get-AzMySqlFlexibleServerDatabase+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/96326ee6-19e9-49da-bf99-cef36c9b88fa?api-version=2020-07-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/96326ee6-19e9-49da-bf99-cef36c9b88fa?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/96326ee6-19e9-49da-bf99-cef36c9b88fa?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -254,9 +254,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/868f7062-663d-46f3-83d6-1e53eba390e0?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/868f7062-663d-46f3-83d6-1e53eba390e0?api-version=2020-07-01-preview" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/868f7062-663d-46f3-83d6-1e53eba390e0?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/868f7062-663d-46f3-83d6-1e53eba390e0?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "868f7062-663d-46f3-83d6-1e53eba390e0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -274,10 +274,10 @@ "Content": "{\"operation\":\"DropServerDatabaseManagementOperation\",\"startTime\":\"2020-11-10T22:03:50.273Z\"}" } }, - "Get-AzMySqlFlexibleServerDatabase+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/868f7062-663d-46f3-83d6-1e53eba390e0?api-version=2020-07-01-preview+3": { + "Get-AzMySqlFlexibleServerDatabase+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/868f7062-663d-46f3-83d6-1e53eba390e0?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/868f7062-663d-46f3-83d6-1e53eba390e0?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/868f7062-663d-46f3-83d6-1e53eba390e0?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -314,10 +314,10 @@ "Content": "{\"name\":\"868f7062-663d-46f3-83d6-1e53eba390e0\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T22:03:50.273Z\"}" } }, - "Get-AzMySqlFlexibleServerDatabase+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/868f7062-663d-46f3-83d6-1e53eba390e0?api-version=2020-07-01-preview+4": { + "Get-AzMySqlFlexibleServerDatabase+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/868f7062-663d-46f3-83d6-1e53eba390e0?api-version=2020-07-01-preview+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/868f7062-663d-46f3-83d6-1e53eba390e0?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/868f7062-663d-46f3-83d6-1e53eba390e0?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], diff --git a/src/MySql/test/Get-AzMySqlFlexibleServerFirewallRule.Recording.json b/src/MySql/test/Get-AzMySqlFlexibleServerFirewallRule.Recording.json index e5e9ed96862c..acb4c5deeb48 100644 --- a/src/MySql/test/Get-AzMySqlFlexibleServerFirewallRule.Recording.json +++ b/src/MySql/test/Get-AzMySqlFlexibleServerFirewallRule.Recording.json @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/1e8ff943-a93f-4526-88a5-28bbe71c90eb?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/1e8ff943-a93f-4526-88a5-28bbe71c90eb?api-version=2020-07-01-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/1e8ff943-a93f-4526-88a5-28bbe71c90eb?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/1e8ff943-a93f-4526-88a5-28bbe71c90eb?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "1e8ff943-a93f-4526-88a5-28bbe71c90eb" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-10T08:58:51.333Z\"}" } }, - "Get-AzMySqlFlexibleServerFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/1e8ff943-a93f-4526-88a5-28bbe71c90eb?api-version=2020-07-01-preview+2": { + "Get-AzMySqlFlexibleServerFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/1e8ff943-a93f-4526-88a5-28bbe71c90eb?api-version=2020-07-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/1e8ff943-a93f-4526-88a5-28bbe71c90eb?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/1e8ff943-a93f-4526-88a5-28bbe71c90eb?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -254,9 +254,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/f1d410fb-6f8f-41c6-bc39-1156abdb00d5?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/f1d410fb-6f8f-41c6-bc39-1156abdb00d5?api-version=2020-07-01-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f1d410fb-6f8f-41c6-bc39-1156abdb00d5?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/f1d410fb-6f8f-41c6-bc39-1156abdb00d5?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "f1d410fb-6f8f-41c6-bc39-1156abdb00d5" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -274,10 +274,10 @@ "Content": "{\"operation\":\"DropServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-10T08:59:53.133Z\"}" } }, - "Get-AzMySqlFlexibleServerFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f1d410fb-6f8f-41c6-bc39-1156abdb00d5?api-version=2020-07-01-preview+3": { + "Get-AzMySqlFlexibleServerFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/f1d410fb-6f8f-41c6-bc39-1156abdb00d5?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/f1d410fb-6f8f-41c6-bc39-1156abdb00d5?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/f1d410fb-6f8f-41c6-bc39-1156abdb00d5?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -314,10 +314,10 @@ "Content": "{\"name\":\"f1d410fb-6f8f-41c6-bc39-1156abdb00d5\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T08:59:53.133Z\"}" } }, - "Get-AzMySqlFlexibleServerFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/f1d410fb-6f8f-41c6-bc39-1156abdb00d5?api-version=2020-07-01-preview+4": { + "Get-AzMySqlFlexibleServerFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/f1d410fb-6f8f-41c6-bc39-1156abdb00d5?api-version=2020-07-01-preview+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/f1d410fb-6f8f-41c6-bc39-1156abdb00d5?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/f1d410fb-6f8f-41c6-bc39-1156abdb00d5?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], diff --git a/src/MySql/test/Get-AzMySqlFlexibleServerReplica.Recording.json b/src/MySql/test/Get-AzMySqlFlexibleServerReplica.Recording.json index 3383b2d00f54..99073c0e2ce5 100644 --- a/src/MySql/test/Get-AzMySqlFlexibleServerReplica.Recording.json +++ b/src/MySql/test/Get-AzMySqlFlexibleServerReplica.Recording.json @@ -55,9 +55,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "e3a30412-f29d-44e2-9fe7-f4472b075024" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -75,10 +75,10 @@ "Content": "{\"operation\":\"CreateReadReplicaManagementOperation\",\"startTime\":\"2020-12-22T05:28:34.363Z\"}" } }, - "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview+3": { + "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -115,10 +115,10 @@ "Content": "{\"name\":\"e3a30412-f29d-44e2-9fe7-f4472b075024\",\"status\":\"InProgress\",\"startTime\":\"2020-12-22T05:28:34.363Z\"}" } }, - "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview+4": { + "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -155,10 +155,10 @@ "Content": "{\"name\":\"e3a30412-f29d-44e2-9fe7-f4472b075024\",\"status\":\"InProgress\",\"startTime\":\"2020-12-22T05:28:34.363Z\"}" } }, - "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview+5": { + "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -195,10 +195,10 @@ "Content": "{\"name\":\"e3a30412-f29d-44e2-9fe7-f4472b075024\",\"status\":\"InProgress\",\"startTime\":\"2020-12-22T05:28:34.363Z\"}" } }, - "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview+6": { + "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -235,10 +235,10 @@ "Content": "{\"name\":\"e3a30412-f29d-44e2-9fe7-f4472b075024\",\"status\":\"InProgress\",\"startTime\":\"2020-12-22T05:28:34.363Z\"}" } }, - "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview+7": { + "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -275,10 +275,10 @@ "Content": "{\"name\":\"e3a30412-f29d-44e2-9fe7-f4472b075024\",\"status\":\"InProgress\",\"startTime\":\"2020-12-22T05:28:34.363Z\"}" } }, - "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview+8": { + "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -315,10 +315,10 @@ "Content": "{\"name\":\"e3a30412-f29d-44e2-9fe7-f4472b075024\",\"status\":\"InProgress\",\"startTime\":\"2020-12-22T05:28:34.363Z\"}" } }, - "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview+9": { + "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -355,10 +355,10 @@ "Content": "{\"name\":\"e3a30412-f29d-44e2-9fe7-f4472b075024\",\"status\":\"InProgress\",\"startTime\":\"2020-12-22T05:28:34.363Z\"}" } }, - "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview+10": { + "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -395,10 +395,10 @@ "Content": "{\"name\":\"e3a30412-f29d-44e2-9fe7-f4472b075024\",\"status\":\"InProgress\",\"startTime\":\"2020-12-22T05:28:34.363Z\"}" } }, - "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview+11": { + "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -435,10 +435,10 @@ "Content": "{\"name\":\"e3a30412-f29d-44e2-9fe7-f4472b075024\",\"status\":\"InProgress\",\"startTime\":\"2020-12-22T05:28:34.363Z\"}" } }, - "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview+12": { + "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -475,10 +475,10 @@ "Content": "{\"name\":\"e3a30412-f29d-44e2-9fe7-f4472b075024\",\"status\":\"InProgress\",\"startTime\":\"2020-12-22T05:28:34.363Z\"}" } }, - "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview+13": { + "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/e3a30412-f29d-44e2-9fe7-f4472b075024?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], diff --git a/src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 b/src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 index 25e5dd11b0aa..592162f1865a 100644 --- a/src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 +++ b/src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 @@ -55,8 +55,7 @@ Describe 'New-AzMySqlFlexibleServer' { If ($TestMode -eq 'live' -or $TestMode -eq 'record') { # [SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] $password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force - $server = New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -AdministratorUserName mysql_test -AdministratorLoginPassword $password -Sku Standard_D2ds_v4 -SkuTier GeneralPurpose -BackupRetentionDay 12 -StorageInMb 102400 -Location eastus2 - $server.SkuName | Should -Be "Standard_D2ds_v4" + $server = New-AzMySqlFlexibleServer -Location $env.location -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -AdministratorUserName mysql_test -AdministratorLoginPassword $password -SkuTier GeneralPurpose -BackupRetentionDay 12 -StorageInMb 102400 -Location eastus2 $server.SkuTier | Should -Be "GeneralPurpose" $server.StorageProfileStorageMb | Should -Be 102400 $server.StorageProfileBackupRetentionDay | Should -Be 12 @@ -68,7 +67,7 @@ Describe 'New-AzMySqlFlexibleServer' { { If ($TestMode -eq 'live' -or $TestMode -eq 'record') { # Public Access 0.0.0.0 - New-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName2 -PublicAccess 0.0.0.0 + New-AzMySqlFlexibleServer -Location $env.location -ResourceGroupName $env.resourceGroup -Name $env.serverName2 -PublicAccess 0.0.0.0 $FirewallRules = Get-AzMySqlFlexibleServerFirewallRule -ResourceGroupName $env.resourceGroup -ServerName $env.serverName2 $FirewallRules[0].Name | Should -BeLike "AllowAllAzureServicesAndResourcesWithinAzureIps*" $FirewallRules[0].StartIPAddress | Should -Be "0.0.0.0" @@ -83,7 +82,7 @@ Describe 'New-AzMySqlFlexibleServer' { { If ($TestMode -eq 'live' -or $TestMode -eq 'record') { # Public Access 10.10.10.10-10.10.10.12 - New-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName3 -PublicAccess 10.10.10.10-10.10.10.12 + New-AzMySqlFlexibleServer -Location $env.location -ResourceGroupName $env.resourceGroup -Name $env.serverName3 -PublicAccess 10.10.10.10-10.10.10.12 $FirewallRules = Get-AzMySqlFlexibleServerFirewallRule -ResourceGroupName $env.resourceGroup -ServerName $env.serverName3 $FirewallRules[0].Name | Should -BeLike "FirewallIPAddress*" $FirewallRules[0].StartIPAddress | Should -Be "10.10.10.10" @@ -98,7 +97,7 @@ Describe 'New-AzMySqlFlexibleServer' { { If ($TestMode -eq 'live' -or $TestMode -eq 'record') { # Public Access All - New-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName2 -PublicAccess All + New-AzMySqlFlexibleServer -Location $env.location -ResourceGroupName $env.resourceGroup -Name $env.serverName2 -PublicAccess All $FirewallRules = Get-AzMySqlFlexibleServerFirewallRule -ResourceGroupName $env.resourceGroup -ServerName $env.serverName2 $FirewallRules[0].Name | Should -BeLike "AllowAll*" $FirewallRules[0].StartIPAddress | Should -Be "0.0.0.0" @@ -112,7 +111,7 @@ Describe 'New-AzMySqlFlexibleServer' { It 'NoArgumentsScenario' { { If ($TestMode -eq 'live' -or $TestMode -eq 'record') { - $Server = New-AzMySqlFlexibleServer + $Server = New-AzMySqlFlexibleServer -Location $env.location $Splits = $Server.Id -Split "/" $ResourceGroupName = $Splits[4] $SubnetName = 'Subnet' + $Server.Name @@ -148,7 +147,7 @@ Describe 'New-AzMySqlFlexibleServer' { If ($TestMode -eq 'live' -or $TestMode -eq 'record') { # valid vnet name and the vnet exists $Vnet = New-AzVirtualNetwork -Name $env.VNetName -ResourceGroupName $env.resourceGroup -Location $env.location -AddressPrefix $DEFAULT_VNET_PREFIX -Force - $Server = New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Vnet $Vnet.Name + $Server = New-AzMySqlFlexibleServer -Location $env.location -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Vnet $Vnet.Name $SubnetName = 'Subnet' + $Server.Name ValidateSubnetVnet $Server $env.VNetName $SubnetName @@ -161,7 +160,7 @@ Describe 'New-AzMySqlFlexibleServer' { { If ($TestMode -eq 'live' -or $TestMode -eq 'record') { # valid vnet name but the vnet doesn't exist - $Server = New-AzMySqlFlexibleServer -Name $env.serverName3 -ResourceGroupName $env.resourceGroup -Vnet nonexistingvnetforpowershelltest + $Server = New-AzMySqlFlexibleServer -Location $env.location -Name $env.serverName3 -ResourceGroupName $env.resourceGroup -Vnet nonexistingvnetforpowershelltest $SubnetName = 'Subnet' + $Server.Name ValidateSubnetVnet $Server nonexistingvnetforpowershelltest $SubnetName @@ -175,7 +174,7 @@ Describe 'New-AzMySqlFlexibleServer' { { # invalid vnet name $InvalidName = "hi/df!@$@#$@" - New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Vnet $InvalidName + New-AzMySqlFlexibleServer -Location $env.location -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Vnet $InvalidName } | Should -Throw } @@ -186,7 +185,7 @@ Describe 'New-AzMySqlFlexibleServer' { If ($TestMode -eq 'live' -or $TestMode -eq 'record') { # valid vnet Id but the vnet doesn't exist $VnetId = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.Network/virtualNetworks/nonexistingvnetforpowershelltest" - $Server = New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Vnet $VnetId + $Server = New-AzMySqlFlexibleServer -Location $env.location -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Vnet $VnetId $SubnetName = 'Subnet' + $Server.Name ValidateSubnetVnet $Server nonexistingvnetforpowershelltest $SubnetName @@ -200,7 +199,7 @@ Describe 'New-AzMySqlFlexibleServer' { If ($TestMode -eq 'live' -or $TestMode -eq 'record') { # valid vnet Id and the vnet exists (subnet does not exist) $Vnet = New-AzVirtualNetwork -Name $env.VNetName -ResourceGroupName $env.resourceGroup -Location $env.Location -AddressPrefix $DEFAULT_VNET_PREFIX -Force - $Server = New-AzMySqlFlexibleServer -Name $env.serverName3 -ResourceGroupName $env.resourceGroup -Vnet $Vnet.Id + $Server = New-AzMySqlFlexibleServer -Location $env.location -Name $env.serverName3 -ResourceGroupName $env.resourceGroup -Vnet $Vnet.Id $SubnetName = 'Subnet' + $Server.Name ValidateSubnetVnet $Server $env.VNetName $SubnetName @@ -214,7 +213,7 @@ Describe 'New-AzMySqlFlexibleServer' { { # invalid vnet Id $VnetId = "/subscriptions/00000-000-000000000000/resourceGroups/providers/Microsoft.Network/virtualNetworks/Vnet/Wrong/Vnet/itis" - New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Vnet $VnetId + New-AzMySqlFlexibleServer -Location $env.location -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Vnet $VnetId } | Should -Throw } } @@ -226,7 +225,7 @@ Describe 'New-AzMySqlFlexibleServer' { $Subnet = New-AzVirtualNetworkSubnetConfig -Name $env.SubnetName -AddressPrefix $DEFAULT_SUBNET_PREFIX New-AzVirtualNetwork -Name $env.VNetName -ResourceGroupName $env.resourceGroup -Location $env.location -AddressPrefix $DEFAULT_VNET_PREFIX -Subnet $Subnet -Force $SubnetId = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.Network/virtualNetworks/$($env.VNetName)" + "/subnets/$($env.SubnetName)" - $Server = New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Subnet $SubnetId + $Server = New-AzMySqlFlexibleServer -Location $env.location -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Subnet $SubnetId ValidateSubnetVnet $Server $env.VNetName $env.SubnetName RemoveServerVnet $env.serverName2 $env.VNetName $env.SubnetName @@ -242,7 +241,7 @@ Describe 'New-AzMySqlFlexibleServer' { $Subnet = New-AzVirtualNetworkSubnetConfig -Name $env.SubnetName -AddressPrefix $DEFAULT_SUBNET_PREFIX $Vnet = New-AzVirtualNetwork -Name $env.VNetName -ResourceGroupName MySqlTest2 -Location $env.location -AddressPrefix $DEFAULT_VNET_PREFIX -Subnet $Subnet -Force $Subnet = Get-AzVirtualNetworkSubnetConfig -Name $env.SubnetName -VirtualNetwork $Vnet - $Server = New-AzMySqlFlexibleServer -Name $env.serverName3 -ResourceGroupName $env.resourceGroup -Subnet $Subnet.Id + $Server = New-AzMySqlFlexibleServer -Location $env.location -Name $env.serverName3 -ResourceGroupName $env.resourceGroup -Subnet $Subnet.Id $Vnet = Get-AzVirtualNetwork -Name $env.VNetName -ResourceGroupName MySqlTest2 $Subnet = Get-AzVirtualNetworkSubnetConfig -Name $env.SubnetName -VirtualNetwork $Vnet @@ -269,7 +268,7 @@ Describe 'New-AzMySqlFlexibleServer' { $Subnet = Add-AzDelegation -Name $DELEGATION_SERVICE_NAME -ServiceName $DELEGATION_SERVICE_NAME -Subnet $Subnet $Vnet | Set-AzVirtualNetwork $Subnet = Get-AzVirtualNetworkSubnetConfig -Name $env.SubnetName -VirtualNetwork $Vnet - $Server = New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Subnet $Subnet.Id + $Server = New-AzMySqlFlexibleServer -Location $env.location -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Subnet $Subnet.Id ValidateSubnetVnet $Server $env.VNetName $env.SubnetName RemoveServerVnet $env.serverName2 $env.VNetName $env.SubnetName @@ -282,7 +281,7 @@ Describe 'New-AzMySqlFlexibleServer' { If ($TestMode -eq 'live' -or $TestMode -eq 'record') { # valid subnet Id but the subnet doesn't exist $SubnetId = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.Network/virtualNetworks/nonexistingvnetforpowershelltest/subnets/nonexistingsubnetforpowershelltest" - $Server = New-AzMySqlFlexibleServer -Name $env.serverName3 -ResourceGroupName $env.resourceGroup -Subnet $SubnetId + $Server = New-AzMySqlFlexibleServer -Location $env.location -Name $env.serverName3 -ResourceGroupName $env.resourceGroup -Subnet $SubnetId ValidateSubnetVnet $Server nonexistingvnetforpowershelltest nonexistingsubnetforpowershelltest RemoveServerVnet $env.serverName3 nonexistingvnetforpowershelltest nonexistingsubnetforpowershelltest @@ -295,7 +294,7 @@ Describe 'New-AzMySqlFlexibleServer' { { # invalid subnet Id $SubnetId = "/subscriptions/00000-000-000000000000/resourceGroups/providers/Microsoft.Network/VirtualNetworks/Wrong/subnetss/wrong" - New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Subnet $SubnetId + New-AzMySqlFlexibleServer -Location $env.location -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Subnet $SubnetId } | Should -Throw { # invalid delegation on the subnet @@ -304,7 +303,7 @@ Describe 'New-AzMySqlFlexibleServer' { $Subnet = Add-AzDelegation -Name "faultydelegation" -ServiceName "Microsoft.Sql/servers" -Subnet $Subnet Set-AzVirtualNetwork -VirtualNetwork $Vnet $Subnet = Get-AzVirtualNetworkSubnetConfig -Name $env.SubnetName -VirtualNetwork $Vnet - New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Subnet $Subnet.Id | Should -Throw + New-AzMySqlFlexibleServer -Location $env.location -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Subnet $Subnet.Id | Should -Throw Remove-AzDelegation -Name "faultydelegation" -Subnet $Subnet Set-AzVirtualNetwork $Vnet Remove-AzVirtualNetwork -Name $Vnet.Name -ResourceGroupName $env.resourceGroup @@ -316,7 +315,7 @@ Describe 'New-AzMySqlFlexibleServer' { { If ($TestMode -eq 'live' -or $TestMode -eq 'record') { # vnet name and subnet name resource do not exist - $Server = New-AzMySqlFlexibleServer -Name $env.serverName3 -ResourceGroupName $env.resourceGroup -Vnet $env.VNetName -Subnet $env.SubnetName -VnetPrefix $DEFAULT_VNET_PREFIX -SubnetPrefix $DEFAULT_SUBNET_PREFIX + $Server = New-AzMySqlFlexibleServer -Location $env.location -Name $env.serverName3 -ResourceGroupName $env.resourceGroup -Vnet $env.VNetName -Subnet $env.SubnetName -VnetPrefix $DEFAULT_VNET_PREFIX -SubnetPrefix $DEFAULT_SUBNET_PREFIX ValidateSubnetVnet $Server $env.VNetName $env.SubnetName Remove-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName3 @@ -328,7 +327,7 @@ Describe 'New-AzMySqlFlexibleServer' { { If ($TestMode -eq 'live' -or $TestMode -eq 'record') { # vnet name and subnet name, resource exist - $Server = New-AzMySqlFlexibleServer -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Vnet $env.VNetName -Subnet $env.SubnetName + $Server = New-AzMySqlFlexibleServer -Location $env.location -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Vnet $env.VNetName -Subnet $env.SubnetName ValidateSubnetVnet $Server $env.VNetName $env.SubnetName RemoveServerVnet $env.serverName2 $env.VNetName $env.SubnetName diff --git a/src/MySql/test/New-AzMySqlFlexibleServerDatabase.Recording.json b/src/MySql/test/New-AzMySqlFlexibleServerDatabase.Recording.json index db5db208d056..bcb408ab5cfb 100644 --- a/src/MySql/test/New-AzMySqlFlexibleServerDatabase.Recording.json +++ b/src/MySql/test/New-AzMySqlFlexibleServerDatabase.Recording.json @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/e46feaf8-5c78-4845-a914-9e0a0918b170?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/e46feaf8-5c78-4845-a914-9e0a0918b170?api-version=2020-07-01-preview" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e46feaf8-5c78-4845-a914-9e0a0918b170?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/e46feaf8-5c78-4845-a914-9e0a0918b170?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "e46feaf8-5c78-4845-a914-9e0a0918b170" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpsertServerDatabaseManagementOperation\",\"startTime\":\"2020-11-10T22:04:07.337Z\"}" } }, - "New-AzMySqlFlexibleServerDatabase+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e46feaf8-5c78-4845-a914-9e0a0918b170?api-version=2020-07-01-preview+2": { + "New-AzMySqlFlexibleServerDatabase+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/e46feaf8-5c78-4845-a914-9e0a0918b170?api-version=2020-07-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e46feaf8-5c78-4845-a914-9e0a0918b170?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/e46feaf8-5c78-4845-a914-9e0a0918b170?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -137,9 +137,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/45e0b24f-cc41-4f25-aa8a-2271652c9004?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/45e0b24f-cc41-4f25-aa8a-2271652c9004?api-version=2020-07-01-preview" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/45e0b24f-cc41-4f25-aa8a-2271652c9004?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/45e0b24f-cc41-4f25-aa8a-2271652c9004?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "45e0b24f-cc41-4f25-aa8a-2271652c9004" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -157,10 +157,10 @@ "Content": "{\"operation\":\"DropServerDatabaseManagementOperation\",\"startTime\":\"2020-11-10T22:04:23.417Z\"}" } }, - "New-AzMySqlFlexibleServerDatabase+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/45e0b24f-cc41-4f25-aa8a-2271652c9004?api-version=2020-07-01-preview+5": { + "New-AzMySqlFlexibleServerDatabase+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/45e0b24f-cc41-4f25-aa8a-2271652c9004?api-version=2020-07-01-preview+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/45e0b24f-cc41-4f25-aa8a-2271652c9004?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/45e0b24f-cc41-4f25-aa8a-2271652c9004?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -197,10 +197,10 @@ "Content": "{\"name\":\"45e0b24f-cc41-4f25-aa8a-2271652c9004\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T22:04:23.417Z\"}" } }, - "New-AzMySqlFlexibleServerDatabase+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/45e0b24f-cc41-4f25-aa8a-2271652c9004?api-version=2020-07-01-preview+6": { + "New-AzMySqlFlexibleServerDatabase+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/45e0b24f-cc41-4f25-aa8a-2271652c9004?api-version=2020-07-01-preview+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/45e0b24f-cc41-4f25-aa8a-2271652c9004?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/45e0b24f-cc41-4f25-aa8a-2271652c9004?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], diff --git a/src/MySql/test/New-AzMySqlFlexibleServerFirewallRule.Recording.json b/src/MySql/test/New-AzMySqlFlexibleServerFirewallRule.Recording.json index 39d30c67a1c9..ecff833c29df 100644 --- a/src/MySql/test/New-AzMySqlFlexibleServerFirewallRule.Recording.json +++ b/src/MySql/test/New-AzMySqlFlexibleServerFirewallRule.Recording.json @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/2a262625-b6dc-474b-9caa-cb5139c88e0a?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/2a262625-b6dc-474b-9caa-cb5139c88e0a?api-version=2020-07-01-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/2a262625-b6dc-474b-9caa-cb5139c88e0a?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/2a262625-b6dc-474b-9caa-cb5139c88e0a?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "2a262625-b6dc-474b-9caa-cb5139c88e0a" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-10T09:20:09.57Z\"}" } }, - "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/2a262625-b6dc-474b-9caa-cb5139c88e0a?api-version=2020-07-01-preview+2": { + "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/2a262625-b6dc-474b-9caa-cb5139c88e0a?api-version=2020-07-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/2a262625-b6dc-474b-9caa-cb5139c88e0a?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/2a262625-b6dc-474b-9caa-cb5139c88e0a?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -137,9 +137,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/87c310e3-baf2-47fe-9a21-dc3605e4577a?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/87c310e3-baf2-47fe-9a21-dc3605e4577a?api-version=2020-07-01-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/87c310e3-baf2-47fe-9a21-dc3605e4577a?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/87c310e3-baf2-47fe-9a21-dc3605e4577a?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "87c310e3-baf2-47fe-9a21-dc3605e4577a" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -157,10 +157,10 @@ "Content": "{\"operation\":\"DropServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-10T09:21:11.133Z\"}" } }, - "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/87c310e3-baf2-47fe-9a21-dc3605e4577a?api-version=2020-07-01-preview+5": { + "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/87c310e3-baf2-47fe-9a21-dc3605e4577a?api-version=2020-07-01-preview+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/87c310e3-baf2-47fe-9a21-dc3605e4577a?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/87c310e3-baf2-47fe-9a21-dc3605e4577a?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -197,10 +197,10 @@ "Content": "{\"name\":\"87c310e3-baf2-47fe-9a21-dc3605e4577a\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T09:21:11.133Z\"}" } }, - "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/87c310e3-baf2-47fe-9a21-dc3605e4577a?api-version=2020-07-01-preview+6": { + "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/87c310e3-baf2-47fe-9a21-dc3605e4577a?api-version=2020-07-01-preview+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/87c310e3-baf2-47fe-9a21-dc3605e4577a?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/87c310e3-baf2-47fe-9a21-dc3605e4577a?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -252,9 +252,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/038168bb-6845-4a35-be4c-4e4f72457add?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/038168bb-6845-4a35-be4c-4e4f72457add?api-version=2020-07-01-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/038168bb-6845-4a35-be4c-4e4f72457add?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/038168bb-6845-4a35-be4c-4e4f72457add?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "038168bb-6845-4a35-be4c-4e4f72457add" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -272,10 +272,10 @@ "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-10T09:22:12.733Z\"}" } }, - "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/038168bb-6845-4a35-be4c-4e4f72457add?api-version=2020-07-01-preview+2": { + "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/038168bb-6845-4a35-be4c-4e4f72457add?api-version=2020-07-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/038168bb-6845-4a35-be4c-4e4f72457add?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/038168bb-6845-4a35-be4c-4e4f72457add?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -373,9 +373,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/c7927285-58d9-4f72-9f7f-c41f981922c8?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/c7927285-58d9-4f72-9f7f-c41f981922c8?api-version=2020-07-01-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c7927285-58d9-4f72-9f7f-c41f981922c8?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/c7927285-58d9-4f72-9f7f-c41f981922c8?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "c7927285-58d9-4f72-9f7f-c41f981922c8" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -393,10 +393,10 @@ "Content": "{\"operation\":\"DropServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-10T09:23:13.84Z\"}" } }, - "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c7927285-58d9-4f72-9f7f-c41f981922c8?api-version=2020-07-01-preview+5": { + "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/c7927285-58d9-4f72-9f7f-c41f981922c8?api-version=2020-07-01-preview+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c7927285-58d9-4f72-9f7f-c41f981922c8?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/c7927285-58d9-4f72-9f7f-c41f981922c8?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -433,10 +433,10 @@ "Content": "{\"name\":\"c7927285-58d9-4f72-9f7f-c41f981922c8\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T09:23:13.84Z\"}" } }, - "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/c7927285-58d9-4f72-9f7f-c41f981922c8?api-version=2020-07-01-preview+6": { + "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/c7927285-58d9-4f72-9f7f-c41f981922c8?api-version=2020-07-01-preview+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/c7927285-58d9-4f72-9f7f-c41f981922c8?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/c7927285-58d9-4f72-9f7f-c41f981922c8?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -488,9 +488,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/57b64c53-c8a9-471b-b47a-c10c7591b0d4?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/57b64c53-c8a9-471b-b47a-c10c7591b0d4?api-version=2020-07-01-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/57b64c53-c8a9-471b-b47a-c10c7591b0d4?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/57b64c53-c8a9-471b-b47a-c10c7591b0d4?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "57b64c53-c8a9-471b-b47a-c10c7591b0d4" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -508,10 +508,10 @@ "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-10T09:24:14.72Z\"}" } }, - "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/57b64c53-c8a9-471b-b47a-c10c7591b0d4?api-version=2020-07-01-preview+2": { + "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/57b64c53-c8a9-471b-b47a-c10c7591b0d4?api-version=2020-07-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/57b64c53-c8a9-471b-b47a-c10c7591b0d4?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/57b64c53-c8a9-471b-b47a-c10c7591b0d4?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -609,9 +609,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/12346ff6-9e4f-4332-9332-eb1ffb5f9f62?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/12346ff6-9e4f-4332-9332-eb1ffb5f9f62?api-version=2020-07-01-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/12346ff6-9e4f-4332-9332-eb1ffb5f9f62?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/12346ff6-9e4f-4332-9332-eb1ffb5f9f62?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "12346ff6-9e4f-4332-9332-eb1ffb5f9f62" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -629,10 +629,10 @@ "Content": "{\"operation\":\"DropServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-10T09:25:15.703Z\"}" } }, - "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/12346ff6-9e4f-4332-9332-eb1ffb5f9f62?api-version=2020-07-01-preview+5": { + "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/12346ff6-9e4f-4332-9332-eb1ffb5f9f62?api-version=2020-07-01-preview+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/12346ff6-9e4f-4332-9332-eb1ffb5f9f62?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/12346ff6-9e4f-4332-9332-eb1ffb5f9f62?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -669,10 +669,10 @@ "Content": "{\"name\":\"12346ff6-9e4f-4332-9332-eb1ffb5f9f62\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T09:25:15.703Z\"}" } }, - "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/12346ff6-9e4f-4332-9332-eb1ffb5f9f62?api-version=2020-07-01-preview+6": { + "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/12346ff6-9e4f-4332-9332-eb1ffb5f9f62?api-version=2020-07-01-preview+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/12346ff6-9e4f-4332-9332-eb1ffb5f9f62?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/12346ff6-9e4f-4332-9332-eb1ffb5f9f62?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], diff --git a/src/MySql/test/New-AzMySqlFlexibleServerReplica.Recording.json b/src/MySql/test/New-AzMySqlFlexibleServerReplica.Recording.json index 176841871402..f10c02cc3a05 100644 --- a/src/MySql/test/New-AzMySqlFlexibleServerReplica.Recording.json +++ b/src/MySql/test/New-AzMySqlFlexibleServerReplica.Recording.json @@ -55,9 +55,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "d8133f0f-f476-4fcb-9178-ec041aba8bf0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -75,10 +75,10 @@ "Content": "{\"operation\":\"CreateReadReplicaManagementOperation\",\"startTime\":\"2020-12-22T05:12:16.46Z\"}" } }, - "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview+3": { + "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -115,10 +115,10 @@ "Content": "{\"name\":\"d8133f0f-f476-4fcb-9178-ec041aba8bf0\",\"status\":\"InProgress\",\"startTime\":\"2020-12-22T05:12:16.46Z\"}" } }, - "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview+4": { + "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -155,10 +155,10 @@ "Content": "{\"name\":\"d8133f0f-f476-4fcb-9178-ec041aba8bf0\",\"status\":\"InProgress\",\"startTime\":\"2020-12-22T05:12:16.46Z\"}" } }, - "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview+5": { + "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -195,10 +195,10 @@ "Content": "{\"name\":\"d8133f0f-f476-4fcb-9178-ec041aba8bf0\",\"status\":\"InProgress\",\"startTime\":\"2020-12-22T05:12:16.46Z\"}" } }, - "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview+6": { + "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -235,10 +235,10 @@ "Content": "{\"name\":\"d8133f0f-f476-4fcb-9178-ec041aba8bf0\",\"status\":\"InProgress\",\"startTime\":\"2020-12-22T05:12:16.46Z\"}" } }, - "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview+7": { + "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -275,10 +275,10 @@ "Content": "{\"name\":\"d8133f0f-f476-4fcb-9178-ec041aba8bf0\",\"status\":\"InProgress\",\"startTime\":\"2020-12-22T05:12:16.46Z\"}" } }, - "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview+8": { + "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -315,10 +315,10 @@ "Content": "{\"name\":\"d8133f0f-f476-4fcb-9178-ec041aba8bf0\",\"status\":\"InProgress\",\"startTime\":\"2020-12-22T05:12:16.46Z\"}" } }, - "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview+9": { + "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -355,10 +355,10 @@ "Content": "{\"name\":\"d8133f0f-f476-4fcb-9178-ec041aba8bf0\",\"status\":\"InProgress\",\"startTime\":\"2020-12-22T05:12:16.46Z\"}" } }, - "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview+10": { + "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -395,10 +395,10 @@ "Content": "{\"name\":\"d8133f0f-f476-4fcb-9178-ec041aba8bf0\",\"status\":\"InProgress\",\"startTime\":\"2020-12-22T05:12:16.46Z\"}" } }, - "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview+11": { + "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -435,10 +435,10 @@ "Content": "{\"name\":\"d8133f0f-f476-4fcb-9178-ec041aba8bf0\",\"status\":\"InProgress\",\"startTime\":\"2020-12-22T05:12:16.46Z\"}" } }, - "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview+12": { + "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -475,10 +475,10 @@ "Content": "{\"name\":\"d8133f0f-f476-4fcb-9178-ec041aba8bf0\",\"status\":\"InProgress\",\"startTime\":\"2020-12-22T05:12:16.46Z\"}" } }, - "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview+13": { + "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/d8133f0f-f476-4fcb-9178-ec041aba8bf0?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], diff --git a/src/MySql/test/Remove-AzMySqlFlexibleServer.Recording.json b/src/MySql/test/Remove-AzMySqlFlexibleServer.Recording.json index 6d8237f6b673..56206257df5f 100644 --- a/src/MySql/test/Remove-AzMySqlFlexibleServer.Recording.json +++ b/src/MySql/test/Remove-AzMySqlFlexibleServer.Recording.json @@ -3,7 +3,7 @@ "Request": { "Method": "PUT", "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview", - "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"administratorLogin\": \"mysql_test\",\r\n \"administratorLoginPassword\": \"Pasword01!!2020\",\r\n \"version\": \"5.7\",\r\n \"createMode\": \"Default\"\r\n }\r\n}", + "Content": "{\r\n \"location\": \"eastus2euap\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"administratorLogin\": \"mysql_test\",\r\n \"administratorLoginPassword\": \"Pasword01!!2020\",\r\n \"version\": \"5.7\",\r\n \"createMode\": \"Default\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/bdca3d03-d749-4999-9f97-9e9e51e4c414?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/bdca3d03-d749-4999-9f97-9e9e51e4c414?api-version=2020-07-01-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/bdca3d03-d749-4999-9f97-9e9e51e4c414?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/bdca3d03-d749-4999-9f97-9e9e51e4c414?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "5bfb889a-cea3-46b8-ac5b-b85b86d50e40" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-11T06:51:56.037Z\"}" } }, - "Remove-AzMySqlFlexibleServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/bdca3d03-d749-4999-9f97-9e9e51e4c414?api-version=2020-07-01-preview+2": { + "Remove-AzMySqlFlexibleServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/bdca3d03-d749-4999-9f97-9e9e51e4c414?api-version=2020-07-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/bdca3d03-d749-4999-9f97-9e9e51e4c414?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/bdca3d03-d749-4999-9f97-9e9e51e4c414?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], diff --git a/src/MySql/test/Remove-AzMySqlFlexibleServer.Tests.ps1 b/src/MySql/test/Remove-AzMySqlFlexibleServer.Tests.ps1 index 022326d1ac84..dd60359fce2b 100644 --- a/src/MySql/test/Remove-AzMySqlFlexibleServer.Tests.ps1 +++ b/src/MySql/test/Remove-AzMySqlFlexibleServer.Tests.ps1 @@ -19,7 +19,7 @@ Describe 'Remove-AzMySqlFlexibleServer' { If ($TestMode -eq 'live' -or $TestMode -eq 'record') { #[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] $password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force - New-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName2 -AdministratorUserName mysql_test -AdministratorLoginPassword $password + New-AzMySqlFlexibleServer -Location $env.location -ResourceGroupName $env.resourceGroup -Name $env.serverName2 -AdministratorUserName mysql_test -AdministratorLoginPassword $password } Remove-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName2 } | Should -Not -Throw @@ -30,7 +30,7 @@ Describe 'Remove-AzMySqlFlexibleServer' { If ($TestMode -eq 'live' -or $TestMode -eq 'record') { #[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] $password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force - New-AzMySqlFlexibleServer -ResourceGroupName $env.resourceGroup -Name $env.serverName2 -AdministratorUserName mysql_test -AdministratorLoginPassword $password + New-AzMySqlFlexibleServer -Location $env.location -ResourceGroupName $env.resourceGroup -Name $env.serverName2 -AdministratorUserName mysql_test -AdministratorLoginPassword $password } $ID = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.DBForMySql/flexibleServers/$($env.serverName2)" Remove-AzMySqlFlexibleServer -InputObject $ID diff --git a/src/MySql/test/Remove-AzMySqlFlexibleServerDatabase.Recording.json b/src/MySql/test/Remove-AzMySqlFlexibleServerDatabase.Recording.json index d8a310958b9f..844e0dba704a 100644 --- a/src/MySql/test/Remove-AzMySqlFlexibleServerDatabase.Recording.json +++ b/src/MySql/test/Remove-AzMySqlFlexibleServerDatabase.Recording.json @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/9a03a575-bc13-408a-8bf7-fc0752b3213c?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/9a03a575-bc13-408a-8bf7-fc0752b3213c?api-version=2020-07-01-preview" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/9a03a575-bc13-408a-8bf7-fc0752b3213c?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/9a03a575-bc13-408a-8bf7-fc0752b3213c?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "9a03a575-bc13-408a-8bf7-fc0752b3213c" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpsertServerDatabaseManagementOperation\",\"startTime\":\"2020-11-10T22:04:40.043Z\"}" } }, - "Remove-AzMySqlFlexibleServerDatabase+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/9a03a575-bc13-408a-8bf7-fc0752b3213c?api-version=2020-07-01-preview+2": { + "Remove-AzMySqlFlexibleServerDatabase+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/9a03a575-bc13-408a-8bf7-fc0752b3213c?api-version=2020-07-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/9a03a575-bc13-408a-8bf7-fc0752b3213c?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/9a03a575-bc13-408a-8bf7-fc0752b3213c?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -137,9 +137,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/6d069e03-8e63-4f9c-96d3-a3b9f8c3c32c?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/6d069e03-8e63-4f9c-96d3-a3b9f8c3c32c?api-version=2020-07-01-preview" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/6d069e03-8e63-4f9c-96d3-a3b9f8c3c32c?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/6d069e03-8e63-4f9c-96d3-a3b9f8c3c32c?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "6d069e03-8e63-4f9c-96d3-a3b9f8c3c32c" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -157,10 +157,10 @@ "Content": "{\"operation\":\"DropServerDatabaseManagementOperation\",\"startTime\":\"2020-11-10T22:04:55.73Z\"}" } }, - "Remove-AzMySqlFlexibleServerDatabase+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/6d069e03-8e63-4f9c-96d3-a3b9f8c3c32c?api-version=2020-07-01-preview+5": { + "Remove-AzMySqlFlexibleServerDatabase+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/6d069e03-8e63-4f9c-96d3-a3b9f8c3c32c?api-version=2020-07-01-preview+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/6d069e03-8e63-4f9c-96d3-a3b9f8c3c32c?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/6d069e03-8e63-4f9c-96d3-a3b9f8c3c32c?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -197,10 +197,10 @@ "Content": "{\"name\":\"6d069e03-8e63-4f9c-96d3-a3b9f8c3c32c\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T22:04:55.73Z\"}" } }, - "Remove-AzMySqlFlexibleServerDatabase+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/6d069e03-8e63-4f9c-96d3-a3b9f8c3c32c?api-version=2020-07-01-preview+6": { + "Remove-AzMySqlFlexibleServerDatabase+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/6d069e03-8e63-4f9c-96d3-a3b9f8c3c32c?api-version=2020-07-01-preview+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/6d069e03-8e63-4f9c-96d3-a3b9f8c3c32c?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/6d069e03-8e63-4f9c-96d3-a3b9f8c3c32c?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -253,9 +253,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/8ff93cff-ab9d-4a74-82cf-f3dc286df95f?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/8ff93cff-ab9d-4a74-82cf-f3dc286df95f?api-version=2020-07-01-preview" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/8ff93cff-ab9d-4a74-82cf-f3dc286df95f?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/8ff93cff-ab9d-4a74-82cf-f3dc286df95f?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "8ff93cff-ab9d-4a74-82cf-f3dc286df95f" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -273,10 +273,10 @@ "Content": "{\"operation\":\"UpsertServerDatabaseManagementOperation\",\"startTime\":\"2020-11-10T22:05:11.433Z\"}" } }, - "Remove-AzMySqlFlexibleServerDatabase+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/8ff93cff-ab9d-4a74-82cf-f3dc286df95f?api-version=2020-07-01-preview+2": { + "Remove-AzMySqlFlexibleServerDatabase+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/8ff93cff-ab9d-4a74-82cf-f3dc286df95f?api-version=2020-07-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/8ff93cff-ab9d-4a74-82cf-f3dc286df95f?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/8ff93cff-ab9d-4a74-82cf-f3dc286df95f?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -374,9 +374,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/3262281a-3911-4b7c-84c3-a41cf2e5b3b4?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/3262281a-3911-4b7c-84c3-a41cf2e5b3b4?api-version=2020-07-01-preview" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3262281a-3911-4b7c-84c3-a41cf2e5b3b4?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/3262281a-3911-4b7c-84c3-a41cf2e5b3b4?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "3262281a-3911-4b7c-84c3-a41cf2e5b3b4" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -394,10 +394,10 @@ "Content": "{\"operation\":\"DropServerDatabaseManagementOperation\",\"startTime\":\"2020-11-10T22:05:27.217Z\"}" } }, - "Remove-AzMySqlFlexibleServerDatabase+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3262281a-3911-4b7c-84c3-a41cf2e5b3b4?api-version=2020-07-01-preview+5": { + "Remove-AzMySqlFlexibleServerDatabase+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/3262281a-3911-4b7c-84c3-a41cf2e5b3b4?api-version=2020-07-01-preview+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3262281a-3911-4b7c-84c3-a41cf2e5b3b4?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/3262281a-3911-4b7c-84c3-a41cf2e5b3b4?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -434,10 +434,10 @@ "Content": "{\"name\":\"3262281a-3911-4b7c-84c3-a41cf2e5b3b4\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T22:05:27.217Z\"}" } }, - "Remove-AzMySqlFlexibleServerDatabase+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/3262281a-3911-4b7c-84c3-a41cf2e5b3b4?api-version=2020-07-01-preview+6": { + "Remove-AzMySqlFlexibleServerDatabase+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/3262281a-3911-4b7c-84c3-a41cf2e5b3b4?api-version=2020-07-01-preview+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/3262281a-3911-4b7c-84c3-a41cf2e5b3b4?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/3262281a-3911-4b7c-84c3-a41cf2e5b3b4?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], diff --git a/src/MySql/test/Remove-AzMySqlFlexibleServerFirewallRule.Recording.json b/src/MySql/test/Remove-AzMySqlFlexibleServerFirewallRule.Recording.json index 6d8ad7b1d070..9750e23046b7 100644 --- a/src/MySql/test/Remove-AzMySqlFlexibleServerFirewallRule.Recording.json +++ b/src/MySql/test/Remove-AzMySqlFlexibleServerFirewallRule.Recording.json @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/c9876e71-00f7-42b9-a772-660c5061b600?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/c9876e71-00f7-42b9-a772-660c5061b600?api-version=2020-07-01-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c9876e71-00f7-42b9-a772-660c5061b600?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/c9876e71-00f7-42b9-a772-660c5061b600?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "c9876e71-00f7-42b9-a772-660c5061b600" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-10T09:28:20.113Z\"}" } }, - "Remove-AzMySqlFlexibleServerFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c9876e71-00f7-42b9-a772-660c5061b600?api-version=2020-07-01-preview+2": { + "Remove-AzMySqlFlexibleServerFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/c9876e71-00f7-42b9-a772-660c5061b600?api-version=2020-07-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c9876e71-00f7-42b9-a772-660c5061b600?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/c9876e71-00f7-42b9-a772-660c5061b600?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -137,9 +137,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/28ac55df-fd9a-4a50-935c-c11cf7248948?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/28ac55df-fd9a-4a50-935c-c11cf7248948?api-version=2020-07-01-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/28ac55df-fd9a-4a50-935c-c11cf7248948?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/28ac55df-fd9a-4a50-935c-c11cf7248948?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "28ac55df-fd9a-4a50-935c-c11cf7248948" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -157,10 +157,10 @@ "Content": "{\"operation\":\"DropServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-10T09:29:21.357Z\"}" } }, - "Remove-AzMySqlFlexibleServerFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/28ac55df-fd9a-4a50-935c-c11cf7248948?api-version=2020-07-01-preview+5": { + "Remove-AzMySqlFlexibleServerFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/28ac55df-fd9a-4a50-935c-c11cf7248948?api-version=2020-07-01-preview+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/28ac55df-fd9a-4a50-935c-c11cf7248948?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/28ac55df-fd9a-4a50-935c-c11cf7248948?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -197,10 +197,10 @@ "Content": "{\"name\":\"28ac55df-fd9a-4a50-935c-c11cf7248948\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T09:29:21.357Z\"}" } }, - "Remove-AzMySqlFlexibleServerFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/28ac55df-fd9a-4a50-935c-c11cf7248948?api-version=2020-07-01-preview+6": { + "Remove-AzMySqlFlexibleServerFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/28ac55df-fd9a-4a50-935c-c11cf7248948?api-version=2020-07-01-preview+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/28ac55df-fd9a-4a50-935c-c11cf7248948?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/28ac55df-fd9a-4a50-935c-c11cf7248948?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -252,9 +252,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/db072919-e68c-46c6-aeba-c8363014728e?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/db072919-e68c-46c6-aeba-c8363014728e?api-version=2020-07-01-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/db072919-e68c-46c6-aeba-c8363014728e?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/db072919-e68c-46c6-aeba-c8363014728e?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "db072919-e68c-46c6-aeba-c8363014728e" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -272,10 +272,10 @@ "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-10T09:30:22.8Z\"}" } }, - "Remove-AzMySqlFlexibleServerFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/db072919-e68c-46c6-aeba-c8363014728e?api-version=2020-07-01-preview+2": { + "Remove-AzMySqlFlexibleServerFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/db072919-e68c-46c6-aeba-c8363014728e?api-version=2020-07-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/db072919-e68c-46c6-aeba-c8363014728e?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/db072919-e68c-46c6-aeba-c8363014728e?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -373,9 +373,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/cfaf7411-7727-464b-a2f0-fdaa87a32d73?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/cfaf7411-7727-464b-a2f0-fdaa87a32d73?api-version=2020-07-01-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/cfaf7411-7727-464b-a2f0-fdaa87a32d73?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/cfaf7411-7727-464b-a2f0-fdaa87a32d73?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "cfaf7411-7727-464b-a2f0-fdaa87a32d73" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -393,10 +393,10 @@ "Content": "{\"operation\":\"DropServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-10T09:31:23.723Z\"}" } }, - "Remove-AzMySqlFlexibleServerFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/cfaf7411-7727-464b-a2f0-fdaa87a32d73?api-version=2020-07-01-preview+5": { + "Remove-AzMySqlFlexibleServerFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/cfaf7411-7727-464b-a2f0-fdaa87a32d73?api-version=2020-07-01-preview+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/cfaf7411-7727-464b-a2f0-fdaa87a32d73?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/cfaf7411-7727-464b-a2f0-fdaa87a32d73?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -433,10 +433,10 @@ "Content": "{\"name\":\"cfaf7411-7727-464b-a2f0-fdaa87a32d73\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T09:31:23.723Z\"}" } }, - "Remove-AzMySqlFlexibleServerFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/cfaf7411-7727-464b-a2f0-fdaa87a32d73?api-version=2020-07-01-preview+6": { + "Remove-AzMySqlFlexibleServerFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/cfaf7411-7727-464b-a2f0-fdaa87a32d73?api-version=2020-07-01-preview+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/cfaf7411-7727-464b-a2f0-fdaa87a32d73?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/cfaf7411-7727-464b-a2f0-fdaa87a32d73?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], diff --git a/src/MySql/test/Restart-AzMySqlFlexibleServer.Recording.json b/src/MySql/test/Restart-AzMySqlFlexibleServer.Recording.json index 7e731b16a34d..02e0ad470f7d 100644 --- a/src/MySql/test/Restart-AzMySqlFlexibleServer.Recording.json +++ b/src/MySql/test/Restart-AzMySqlFlexibleServer.Recording.json @@ -21,9 +21,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/1a047347-6b9f-4a27-8087-8018e5101924?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/1a047347-6b9f-4a27-8087-8018e5101924?api-version=2020-07-01-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/1a047347-6b9f-4a27-8087-8018e5101924?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/1a047347-6b9f-4a27-8087-8018e5101924?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "1a047347-6b9f-4a27-8087-8018e5101924" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -41,10 +41,10 @@ "Content": "{\"operation\":\"RestartServerManagementOperation\",\"startTime\":\"2020-11-11T20:50:31.543Z\"}" } }, - "Restart-AzMySqlFlexibleServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/1a047347-6b9f-4a27-8087-8018e5101924?api-version=2020-07-01-preview+2": { + "Restart-AzMySqlFlexibleServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/1a047347-6b9f-4a27-8087-8018e5101924?api-version=2020-07-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/1a047347-6b9f-4a27-8087-8018e5101924?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/1a047347-6b9f-4a27-8087-8018e5101924?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -81,10 +81,10 @@ "Content": "{\"name\":\"1a047347-6b9f-4a27-8087-8018e5101924\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T20:50:31.543Z\"}" } }, - "Restart-AzMySqlFlexibleServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/1a047347-6b9f-4a27-8087-8018e5101924?api-version=2020-07-01-preview+3": { + "Restart-AzMySqlFlexibleServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/1a047347-6b9f-4a27-8087-8018e5101924?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/1a047347-6b9f-4a27-8087-8018e5101924?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/1a047347-6b9f-4a27-8087-8018e5101924?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -121,10 +121,10 @@ "Content": "{\"name\":\"1a047347-6b9f-4a27-8087-8018e5101924\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T20:50:31.543Z\"}" } }, - "Restart-AzMySqlFlexibleServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/1a047347-6b9f-4a27-8087-8018e5101924?api-version=2020-07-01-preview+4": { + "Restart-AzMySqlFlexibleServer+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/1a047347-6b9f-4a27-8087-8018e5101924?api-version=2020-07-01-preview+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/1a047347-6b9f-4a27-8087-8018e5101924?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/1a047347-6b9f-4a27-8087-8018e5101924?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -182,9 +182,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/335f7990-165b-4b1d-ad7e-a5a08527000a?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/335f7990-165b-4b1d-ad7e-a5a08527000a?api-version=2020-07-01-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/335f7990-165b-4b1d-ad7e-a5a08527000a?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/335f7990-165b-4b1d-ad7e-a5a08527000a?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "335f7990-165b-4b1d-ad7e-a5a08527000a" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -202,10 +202,10 @@ "Content": "{\"operation\":\"RestartServerManagementOperation\",\"startTime\":\"2020-11-11T20:52:32.59Z\"}" } }, - "Restart-AzMySqlFlexibleServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/335f7990-165b-4b1d-ad7e-a5a08527000a?api-version=2020-07-01-preview+2": { + "Restart-AzMySqlFlexibleServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/335f7990-165b-4b1d-ad7e-a5a08527000a?api-version=2020-07-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/335f7990-165b-4b1d-ad7e-a5a08527000a?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/335f7990-165b-4b1d-ad7e-a5a08527000a?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -242,10 +242,10 @@ "Content": "{\"name\":\"335f7990-165b-4b1d-ad7e-a5a08527000a\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T20:52:32.59Z\"}" } }, - "Restart-AzMySqlFlexibleServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/335f7990-165b-4b1d-ad7e-a5a08527000a?api-version=2020-07-01-preview+3": { + "Restart-AzMySqlFlexibleServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/335f7990-165b-4b1d-ad7e-a5a08527000a?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/335f7990-165b-4b1d-ad7e-a5a08527000a?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/335f7990-165b-4b1d-ad7e-a5a08527000a?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -282,10 +282,10 @@ "Content": "{\"name\":\"335f7990-165b-4b1d-ad7e-a5a08527000a\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T20:52:32.59Z\"}" } }, - "Restart-AzMySqlFlexibleServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/335f7990-165b-4b1d-ad7e-a5a08527000a?api-version=2020-07-01-preview+4": { + "Restart-AzMySqlFlexibleServer+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/335f7990-165b-4b1d-ad7e-a5a08527000a?api-version=2020-07-01-preview+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/335f7990-165b-4b1d-ad7e-a5a08527000a?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/335f7990-165b-4b1d-ad7e-a5a08527000a?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], diff --git a/src/MySql/test/Restore-AzMySqlFlexibleServer.Recording.json b/src/MySql/test/Restore-AzMySqlFlexibleServer.Recording.json index b32f08f8e3ae..508b8c988546 100644 --- a/src/MySql/test/Restore-AzMySqlFlexibleServer.Recording.json +++ b/src/MySql/test/Restore-AzMySqlFlexibleServer.Recording.json @@ -55,9 +55,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "115199eb-e3bb-41d3-bd52-c3062c8bf172" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -75,10 +75,10 @@ "Content": "{\"operation\":\"RestoreSnapshotManagementOperation\",\"startTime\":\"2020-11-12T06:32:36.307Z\"}" } }, - "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+3": { + "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -115,10 +115,10 @@ "Content": "{\"name\":\"115199eb-e3bb-41d3-bd52-c3062c8bf172\",\"status\":\"InProgress\",\"startTime\":\"2020-11-12T06:32:36.307Z\"}" } }, - "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+4": { + "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -155,10 +155,10 @@ "Content": "{\"name\":\"115199eb-e3bb-41d3-bd52-c3062c8bf172\",\"status\":\"InProgress\",\"startTime\":\"2020-11-12T06:32:36.307Z\"}" } }, - "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+5": { + "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -195,10 +195,10 @@ "Content": "{\"name\":\"115199eb-e3bb-41d3-bd52-c3062c8bf172\",\"status\":\"InProgress\",\"startTime\":\"2020-11-12T06:32:36.307Z\"}" } }, - "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+6": { + "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -235,10 +235,10 @@ "Content": "{\"name\":\"115199eb-e3bb-41d3-bd52-c3062c8bf172\",\"status\":\"InProgress\",\"startTime\":\"2020-11-12T06:32:36.307Z\"}" } }, - "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+7": { + "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -275,10 +275,10 @@ "Content": "{\"name\":\"115199eb-e3bb-41d3-bd52-c3062c8bf172\",\"status\":\"InProgress\",\"startTime\":\"2020-11-12T06:32:36.307Z\"}" } }, - "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+8": { + "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -315,10 +315,10 @@ "Content": "{\"name\":\"115199eb-e3bb-41d3-bd52-c3062c8bf172\",\"status\":\"InProgress\",\"startTime\":\"2020-11-12T06:32:36.307Z\"}" } }, - "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+9": { + "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -355,10 +355,10 @@ "Content": "{\"name\":\"115199eb-e3bb-41d3-bd52-c3062c8bf172\",\"status\":\"InProgress\",\"startTime\":\"2020-11-12T06:32:36.307Z\"}" } }, - "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+10": { + "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -395,10 +395,10 @@ "Content": "{\"name\":\"115199eb-e3bb-41d3-bd52-c3062c8bf172\",\"status\":\"InProgress\",\"startTime\":\"2020-11-12T06:32:36.307Z\"}" } }, - "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+11": { + "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -435,10 +435,10 @@ "Content": "{\"name\":\"115199eb-e3bb-41d3-bd52-c3062c8bf172\",\"status\":\"InProgress\",\"startTime\":\"2020-11-12T06:32:36.307Z\"}" } }, - "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+12": { + "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -475,10 +475,10 @@ "Content": "{\"name\":\"115199eb-e3bb-41d3-bd52-c3062c8bf172\",\"status\":\"InProgress\",\"startTime\":\"2020-11-12T06:32:36.307Z\"}" } }, - "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+13": { + "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -515,10 +515,10 @@ "Content": "{\"name\":\"115199eb-e3bb-41d3-bd52-c3062c8bf172\",\"status\":\"InProgress\",\"startTime\":\"2020-11-12T06:32:36.307Z\"}" } }, - "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+14": { + "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+14": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -555,10 +555,10 @@ "Content": "{\"name\":\"115199eb-e3bb-41d3-bd52-c3062c8bf172\",\"status\":\"InProgress\",\"startTime\":\"2020-11-12T06:32:36.307Z\"}" } }, - "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+15": { + "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+15": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -595,10 +595,10 @@ "Content": "{\"name\":\"115199eb-e3bb-41d3-bd52-c3062c8bf172\",\"status\":\"InProgress\",\"startTime\":\"2020-11-12T06:32:36.307Z\"}" } }, - "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+16": { + "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+16": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -635,10 +635,10 @@ "Content": "{\"name\":\"115199eb-e3bb-41d3-bd52-c3062c8bf172\",\"status\":\"InProgress\",\"startTime\":\"2020-11-12T06:32:36.307Z\"}" } }, - "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+17": { + "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+17": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -675,10 +675,10 @@ "Content": "{\"name\":\"115199eb-e3bb-41d3-bd52-c3062c8bf172\",\"status\":\"InProgress\",\"startTime\":\"2020-11-12T06:32:36.307Z\"}" } }, - "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+18": { + "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+18": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -715,10 +715,10 @@ "Content": "{\"name\":\"115199eb-e3bb-41d3-bd52-c3062c8bf172\",\"status\":\"InProgress\",\"startTime\":\"2020-11-12T06:32:36.307Z\"}" } }, - "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+19": { + "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+19": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -755,10 +755,10 @@ "Content": "{\"name\":\"115199eb-e3bb-41d3-bd52-c3062c8bf172\",\"status\":\"InProgress\",\"startTime\":\"2020-11-12T06:32:36.307Z\"}" } }, - "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+20": { + "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview+20": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/115199eb-e3bb-41d3-bd52-c3062c8bf172?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], diff --git a/src/MySql/test/Start-AzMySqlFlexibleServer.Recording.json b/src/MySql/test/Start-AzMySqlFlexibleServer.Recording.json index c15f32bc12d8..9c01ef12220b 100644 --- a/src/MySql/test/Start-AzMySqlFlexibleServer.Recording.json +++ b/src/MySql/test/Start-AzMySqlFlexibleServer.Recording.json @@ -21,9 +21,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/54f1e5ff-02a4-460c-9f4c-e124942a3f0e?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/54f1e5ff-02a4-460c-9f4c-e124942a3f0e?api-version=2020-07-01-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/54f1e5ff-02a4-460c-9f4c-e124942a3f0e?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/54f1e5ff-02a4-460c-9f4c-e124942a3f0e?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "54f1e5ff-02a4-460c-9f4c-e124942a3f0e" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -41,10 +41,10 @@ "Content": "{\"operation\":\"StopServerManagementOperation\",\"startTime\":\"2020-11-11T21:29:20.563Z\"}" } }, - "Start-AzMySqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/54f1e5ff-02a4-460c-9f4c-e124942a3f0e?api-version=2020-07-01-preview+2": { + "Start-AzMySqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/54f1e5ff-02a4-460c-9f4c-e124942a3f0e?api-version=2020-07-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/54f1e5ff-02a4-460c-9f4c-e124942a3f0e?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/54f1e5ff-02a4-460c-9f4c-e124942a3f0e?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -81,10 +81,10 @@ "Content": "{\"name\":\"54f1e5ff-02a4-460c-9f4c-e124942a3f0e\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T21:29:20.563Z\"}" } }, - "Start-AzMySqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/54f1e5ff-02a4-460c-9f4c-e124942a3f0e?api-version=2020-07-01-preview+3": { + "Start-AzMySqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/54f1e5ff-02a4-460c-9f4c-e124942a3f0e?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/54f1e5ff-02a4-460c-9f4c-e124942a3f0e?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/54f1e5ff-02a4-460c-9f4c-e124942a3f0e?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -121,10 +121,10 @@ "Content": "{\"name\":\"54f1e5ff-02a4-460c-9f4c-e124942a3f0e\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T21:29:20.563Z\"}" } }, - "Start-AzMySqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/54f1e5ff-02a4-460c-9f4c-e124942a3f0e?api-version=2020-07-01-preview+4": { + "Start-AzMySqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/54f1e5ff-02a4-460c-9f4c-e124942a3f0e?api-version=2020-07-01-preview+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/54f1e5ff-02a4-460c-9f4c-e124942a3f0e?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/54f1e5ff-02a4-460c-9f4c-e124942a3f0e?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -161,10 +161,10 @@ "Content": "{\"name\":\"54f1e5ff-02a4-460c-9f4c-e124942a3f0e\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T21:29:20.563Z\"}" } }, - "Start-AzMySqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/54f1e5ff-02a4-460c-9f4c-e124942a3f0e?api-version=2020-07-01-preview+5": { + "Start-AzMySqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/54f1e5ff-02a4-460c-9f4c-e124942a3f0e?api-version=2020-07-01-preview+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/54f1e5ff-02a4-460c-9f4c-e124942a3f0e?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/54f1e5ff-02a4-460c-9f4c-e124942a3f0e?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -222,9 +222,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/128426da-e219-4466-bd3e-cd66032e6ab4?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/128426da-e219-4466-bd3e-cd66032e6ab4?api-version=2020-07-01-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/128426da-e219-4466-bd3e-cd66032e6ab4?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/128426da-e219-4466-bd3e-cd66032e6ab4?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "128426da-e219-4466-bd3e-cd66032e6ab4" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -242,10 +242,10 @@ "Content": "{\"operation\":\"StartServerManagementOperation\",\"startTime\":\"2020-11-11T21:32:21.787Z\"}" } }, - "Start-AzMySqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/128426da-e219-4466-bd3e-cd66032e6ab4?api-version=2020-07-01-preview+7": { + "Start-AzMySqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/128426da-e219-4466-bd3e-cd66032e6ab4?api-version=2020-07-01-preview+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/128426da-e219-4466-bd3e-cd66032e6ab4?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/128426da-e219-4466-bd3e-cd66032e6ab4?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -282,10 +282,10 @@ "Content": "{\"name\":\"128426da-e219-4466-bd3e-cd66032e6ab4\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T21:32:21.787Z\"}" } }, - "Start-AzMySqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/128426da-e219-4466-bd3e-cd66032e6ab4?api-version=2020-07-01-preview+8": { + "Start-AzMySqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/128426da-e219-4466-bd3e-cd66032e6ab4?api-version=2020-07-01-preview+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/128426da-e219-4466-bd3e-cd66032e6ab4?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/128426da-e219-4466-bd3e-cd66032e6ab4?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -322,10 +322,10 @@ "Content": "{\"name\":\"128426da-e219-4466-bd3e-cd66032e6ab4\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T21:32:21.787Z\"}" } }, - "Start-AzMySqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/128426da-e219-4466-bd3e-cd66032e6ab4?api-version=2020-07-01-preview+9": { + "Start-AzMySqlFlexibleServer+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/128426da-e219-4466-bd3e-cd66032e6ab4?api-version=2020-07-01-preview+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/128426da-e219-4466-bd3e-cd66032e6ab4?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/128426da-e219-4466-bd3e-cd66032e6ab4?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -383,9 +383,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/7cc31acb-1fe4-44ed-8809-a6dde9feebbe?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/7cc31acb-1fe4-44ed-8809-a6dde9feebbe?api-version=2020-07-01-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7cc31acb-1fe4-44ed-8809-a6dde9feebbe?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/7cc31acb-1fe4-44ed-8809-a6dde9feebbe?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "7cc31acb-1fe4-44ed-8809-a6dde9feebbe" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -403,10 +403,10 @@ "Content": "{\"operation\":\"StopServerManagementOperation\",\"startTime\":\"2020-11-11T21:34:22.693Z\"}" } }, - "Start-AzMySqlFlexibleServer+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7cc31acb-1fe4-44ed-8809-a6dde9feebbe?api-version=2020-07-01-preview+2": { + "Start-AzMySqlFlexibleServer+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/7cc31acb-1fe4-44ed-8809-a6dde9feebbe?api-version=2020-07-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7cc31acb-1fe4-44ed-8809-a6dde9feebbe?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/7cc31acb-1fe4-44ed-8809-a6dde9feebbe?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -443,10 +443,10 @@ "Content": "{\"name\":\"7cc31acb-1fe4-44ed-8809-a6dde9feebbe\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T21:34:22.693Z\"}" } }, - "Start-AzMySqlFlexibleServer+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7cc31acb-1fe4-44ed-8809-a6dde9feebbe?api-version=2020-07-01-preview+3": { + "Start-AzMySqlFlexibleServer+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/7cc31acb-1fe4-44ed-8809-a6dde9feebbe?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7cc31acb-1fe4-44ed-8809-a6dde9feebbe?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/7cc31acb-1fe4-44ed-8809-a6dde9feebbe?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -483,10 +483,10 @@ "Content": "{\"name\":\"7cc31acb-1fe4-44ed-8809-a6dde9feebbe\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T21:34:22.693Z\"}" } }, - "Start-AzMySqlFlexibleServer+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7cc31acb-1fe4-44ed-8809-a6dde9feebbe?api-version=2020-07-01-preview+4": { + "Start-AzMySqlFlexibleServer+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/7cc31acb-1fe4-44ed-8809-a6dde9feebbe?api-version=2020-07-01-preview+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7cc31acb-1fe4-44ed-8809-a6dde9feebbe?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/7cc31acb-1fe4-44ed-8809-a6dde9feebbe?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -523,10 +523,10 @@ "Content": "{\"name\":\"7cc31acb-1fe4-44ed-8809-a6dde9feebbe\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T21:34:22.693Z\"}" } }, - "Start-AzMySqlFlexibleServer+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7cc31acb-1fe4-44ed-8809-a6dde9feebbe?api-version=2020-07-01-preview+5": { + "Start-AzMySqlFlexibleServer+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/7cc31acb-1fe4-44ed-8809-a6dde9feebbe?api-version=2020-07-01-preview+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7cc31acb-1fe4-44ed-8809-a6dde9feebbe?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/7cc31acb-1fe4-44ed-8809-a6dde9feebbe?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -563,10 +563,10 @@ "Content": "{\"name\":\"7cc31acb-1fe4-44ed-8809-a6dde9feebbe\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T21:34:22.693Z\"}" } }, - "Start-AzMySqlFlexibleServer+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/7cc31acb-1fe4-44ed-8809-a6dde9feebbe?api-version=2020-07-01-preview+6": { + "Start-AzMySqlFlexibleServer+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/7cc31acb-1fe4-44ed-8809-a6dde9feebbe?api-version=2020-07-01-preview+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/7cc31acb-1fe4-44ed-8809-a6dde9feebbe?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/7cc31acb-1fe4-44ed-8809-a6dde9feebbe?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -624,9 +624,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/5f1a73a1-861f-4fa2-9d33-566c53be4521?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/5f1a73a1-861f-4fa2-9d33-566c53be4521?api-version=2020-07-01-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5f1a73a1-861f-4fa2-9d33-566c53be4521?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/5f1a73a1-861f-4fa2-9d33-566c53be4521?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "5f1a73a1-861f-4fa2-9d33-566c53be4521" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -644,10 +644,10 @@ "Content": "{\"operation\":\"StartServerManagementOperation\",\"startTime\":\"2020-11-11T21:38:23.78Z\"}" } }, - "Start-AzMySqlFlexibleServer+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5f1a73a1-861f-4fa2-9d33-566c53be4521?api-version=2020-07-01-preview+8": { + "Start-AzMySqlFlexibleServer+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/5f1a73a1-861f-4fa2-9d33-566c53be4521?api-version=2020-07-01-preview+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5f1a73a1-861f-4fa2-9d33-566c53be4521?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/5f1a73a1-861f-4fa2-9d33-566c53be4521?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -684,10 +684,10 @@ "Content": "{\"name\":\"5f1a73a1-861f-4fa2-9d33-566c53be4521\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T21:38:23.78Z\"}" } }, - "Start-AzMySqlFlexibleServer+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5f1a73a1-861f-4fa2-9d33-566c53be4521?api-version=2020-07-01-preview+9": { + "Start-AzMySqlFlexibleServer+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/5f1a73a1-861f-4fa2-9d33-566c53be4521?api-version=2020-07-01-preview+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5f1a73a1-861f-4fa2-9d33-566c53be4521?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/5f1a73a1-861f-4fa2-9d33-566c53be4521?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -724,10 +724,10 @@ "Content": "{\"name\":\"5f1a73a1-861f-4fa2-9d33-566c53be4521\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T21:38:23.78Z\"}" } }, - "Start-AzMySqlFlexibleServer+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/5f1a73a1-861f-4fa2-9d33-566c53be4521?api-version=2020-07-01-preview+10": { + "Start-AzMySqlFlexibleServer+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/5f1a73a1-861f-4fa2-9d33-566c53be4521?api-version=2020-07-01-preview+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/5f1a73a1-861f-4fa2-9d33-566c53be4521?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/5f1a73a1-861f-4fa2-9d33-566c53be4521?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], diff --git a/src/MySql/test/Stop-AzMySqlFlexibleServer.Recording.json b/src/MySql/test/Stop-AzMySqlFlexibleServer.Recording.json index b5274e77d589..23871ac312c4 100644 --- a/src/MySql/test/Stop-AzMySqlFlexibleServer.Recording.json +++ b/src/MySql/test/Stop-AzMySqlFlexibleServer.Recording.json @@ -21,9 +21,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/469360d9-20a0-455c-9d96-40911345171c?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/469360d9-20a0-455c-9d96-40911345171c?api-version=2020-07-01-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/469360d9-20a0-455c-9d96-40911345171c?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/469360d9-20a0-455c-9d96-40911345171c?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "469360d9-20a0-455c-9d96-40911345171c" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -41,10 +41,10 @@ "Content": "{\"operation\":\"StopServerManagementOperation\",\"startTime\":\"2020-11-11T21:16:58.097Z\"}" } }, - "Stop-AzMySqlFlexibleServer+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/469360d9-20a0-455c-9d96-40911345171c?api-version=2020-07-01-preview+2": { + "Stop-AzMySqlFlexibleServer+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/469360d9-20a0-455c-9d96-40911345171c?api-version=2020-07-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/469360d9-20a0-455c-9d96-40911345171c?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/469360d9-20a0-455c-9d96-40911345171c?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -81,10 +81,10 @@ "Content": "{\"name\":\"469360d9-20a0-455c-9d96-40911345171c\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T21:16:58.097Z\"}" } }, - "Stop-AzMySqlFlexibleServer+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/469360d9-20a0-455c-9d96-40911345171c?api-version=2020-07-01-preview+3": { + "Stop-AzMySqlFlexibleServer+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/469360d9-20a0-455c-9d96-40911345171c?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/469360d9-20a0-455c-9d96-40911345171c?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/469360d9-20a0-455c-9d96-40911345171c?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -121,10 +121,10 @@ "Content": "{\"name\":\"469360d9-20a0-455c-9d96-40911345171c\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T21:16:58.097Z\"}" } }, - "Stop-AzMySqlFlexibleServer+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/469360d9-20a0-455c-9d96-40911345171c?api-version=2020-07-01-preview+4": { + "Stop-AzMySqlFlexibleServer+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/469360d9-20a0-455c-9d96-40911345171c?api-version=2020-07-01-preview+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/469360d9-20a0-455c-9d96-40911345171c?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/469360d9-20a0-455c-9d96-40911345171c?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -161,10 +161,10 @@ "Content": "{\"name\":\"469360d9-20a0-455c-9d96-40911345171c\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T21:16:58.097Z\"}" } }, - "Stop-AzMySqlFlexibleServer+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/469360d9-20a0-455c-9d96-40911345171c?api-version=2020-07-01-preview+5": { + "Stop-AzMySqlFlexibleServer+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/469360d9-20a0-455c-9d96-40911345171c?api-version=2020-07-01-preview+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/469360d9-20a0-455c-9d96-40911345171c?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/469360d9-20a0-455c-9d96-40911345171c?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -222,9 +222,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/698e8171-e16a-47e6-95ce-5cce8b1a2b43?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/698e8171-e16a-47e6-95ce-5cce8b1a2b43?api-version=2020-07-01-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/698e8171-e16a-47e6-95ce-5cce8b1a2b43?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/698e8171-e16a-47e6-95ce-5cce8b1a2b43?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "698e8171-e16a-47e6-95ce-5cce8b1a2b43" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -242,10 +242,10 @@ "Content": "{\"operation\":\"StartServerManagementOperation\",\"startTime\":\"2020-11-11T21:19:59.337Z\"}" } }, - "Stop-AzMySqlFlexibleServer+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/698e8171-e16a-47e6-95ce-5cce8b1a2b43?api-version=2020-07-01-preview+7": { + "Stop-AzMySqlFlexibleServer+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/698e8171-e16a-47e6-95ce-5cce8b1a2b43?api-version=2020-07-01-preview+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/698e8171-e16a-47e6-95ce-5cce8b1a2b43?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/698e8171-e16a-47e6-95ce-5cce8b1a2b43?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -282,10 +282,10 @@ "Content": "{\"name\":\"698e8171-e16a-47e6-95ce-5cce8b1a2b43\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T21:19:59.337Z\"}" } }, - "Stop-AzMySqlFlexibleServer+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/698e8171-e16a-47e6-95ce-5cce8b1a2b43?api-version=2020-07-01-preview+8": { + "Stop-AzMySqlFlexibleServer+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/698e8171-e16a-47e6-95ce-5cce8b1a2b43?api-version=2020-07-01-preview+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/698e8171-e16a-47e6-95ce-5cce8b1a2b43?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/698e8171-e16a-47e6-95ce-5cce8b1a2b43?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -343,9 +343,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/50faa6f8-5716-4d67-bc7c-316620d9d8d9?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/50faa6f8-5716-4d67-bc7c-316620d9d8d9?api-version=2020-07-01-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/50faa6f8-5716-4d67-bc7c-316620d9d8d9?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/50faa6f8-5716-4d67-bc7c-316620d9d8d9?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "50faa6f8-5716-4d67-bc7c-316620d9d8d9" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -363,10 +363,10 @@ "Content": "{\"operation\":\"StopServerManagementOperation\",\"startTime\":\"2020-11-11T21:20:59.853Z\"}" } }, - "Stop-AzMySqlFlexibleServer+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/50faa6f8-5716-4d67-bc7c-316620d9d8d9?api-version=2020-07-01-preview+2": { + "Stop-AzMySqlFlexibleServer+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/50faa6f8-5716-4d67-bc7c-316620d9d8d9?api-version=2020-07-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/50faa6f8-5716-4d67-bc7c-316620d9d8d9?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/50faa6f8-5716-4d67-bc7c-316620d9d8d9?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -403,10 +403,10 @@ "Content": "{\"name\":\"50faa6f8-5716-4d67-bc7c-316620d9d8d9\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T21:20:59.853Z\"}" } }, - "Stop-AzMySqlFlexibleServer+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/50faa6f8-5716-4d67-bc7c-316620d9d8d9?api-version=2020-07-01-preview+3": { + "Stop-AzMySqlFlexibleServer+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/50faa6f8-5716-4d67-bc7c-316620d9d8d9?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/50faa6f8-5716-4d67-bc7c-316620d9d8d9?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/50faa6f8-5716-4d67-bc7c-316620d9d8d9?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -443,10 +443,10 @@ "Content": "{\"name\":\"50faa6f8-5716-4d67-bc7c-316620d9d8d9\",\"status\":\"InProgress\",\"startTime\":\"2020-11-11T21:20:59.853Z\"}" } }, - "Stop-AzMySqlFlexibleServer+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/50faa6f8-5716-4d67-bc7c-316620d9d8d9?api-version=2020-07-01-preview+4": { + "Stop-AzMySqlFlexibleServer+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/50faa6f8-5716-4d67-bc7c-316620d9d8d9?api-version=2020-07-01-preview+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/50faa6f8-5716-4d67-bc7c-316620d9d8d9?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/50faa6f8-5716-4d67-bc7c-316620d9d8d9?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -483,10 +483,10 @@ "Content": "{\"name\":\"50faa6f8-5716-4d67-bc7c-316620d9d8d9\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T21:20:59.853Z\"}" } }, - "Stop-AzMySqlFlexibleServer+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/50faa6f8-5716-4d67-bc7c-316620d9d8d9?api-version=2020-07-01-preview+5": { + "Stop-AzMySqlFlexibleServer+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/50faa6f8-5716-4d67-bc7c-316620d9d8d9?api-version=2020-07-01-preview+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/50faa6f8-5716-4d67-bc7c-316620d9d8d9?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/50faa6f8-5716-4d67-bc7c-316620d9d8d9?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], diff --git a/src/MySql/test/Update-AzMySqlFlexibleServer.Recording.json b/src/MySql/test/Update-AzMySqlFlexibleServer.Recording.json index 0960f91a85f6..4afec1e5600a 100644 --- a/src/MySql/test/Update-AzMySqlFlexibleServer.Recording.json +++ b/src/MySql/test/Update-AzMySqlFlexibleServer.Recording.json @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/9d9b1caf-9e73-4135-a4a6-2965ea2d6888?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/9d9b1caf-9e73-4135-a4a6-2965ea2d6888?api-version=2020-07-01-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/9d9b1caf-9e73-4135-a4a6-2965ea2d6888?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/9d9b1caf-9e73-4135-a4a6-2965ea2d6888?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "12c5f00a-e093-4fe5-8c9e-9b10037a7589" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-11T20:35:01.193Z\"}" } }, - "Update-AzMySqlFlexibleServer+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/9d9b1caf-9e73-4135-a4a6-2965ea2d6888?api-version=2020-07-01-preview+2": { + "Update-AzMySqlFlexibleServer+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/9d9b1caf-9e73-4135-a4a6-2965ea2d6888?api-version=2020-07-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/9d9b1caf-9e73-4135-a4a6-2965ea2d6888?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/9d9b1caf-9e73-4135-a4a6-2965ea2d6888?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -132,9 +132,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/8138b975-7745-4fb6-a775-faa1d8fc95ed?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/8138b975-7745-4fb6-a775-faa1d8fc95ed?api-version=2020-07-01-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/8138b975-7745-4fb6-a775-faa1d8fc95ed?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/8138b975-7745-4fb6-a775-faa1d8fc95ed?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "eb6dbe8d-0000-4b0e-a7ef-ca3a17e7fbd5" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -152,10 +152,10 @@ "Content": "{\"operation\":\"UpsertServerManagementOperationV2\",\"startTime\":\"2020-11-11T20:36:02.39Z\"}" } }, - "Update-AzMySqlFlexibleServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/8138b975-7745-4fb6-a775-faa1d8fc95ed?api-version=2020-07-01-preview+2": { + "Update-AzMySqlFlexibleServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/8138b975-7745-4fb6-a775-faa1d8fc95ed?api-version=2020-07-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/8138b975-7745-4fb6-a775-faa1d8fc95ed?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/8138b975-7745-4fb6-a775-faa1d8fc95ed?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], diff --git a/src/MySql/test/Update-AzMySqlFlexibleServerConfiguration.Recording.json b/src/MySql/test/Update-AzMySqlFlexibleServerConfiguration.Recording.json index 41dbfd40ee8d..321f64aac390 100644 --- a/src/MySql/test/Update-AzMySqlFlexibleServerConfiguration.Recording.json +++ b/src/MySql/test/Update-AzMySqlFlexibleServerConfiguration.Recording.json @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/c2c8fea9-861e-4a2a-93a9-32bfe2c50359?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/c2c8fea9-861e-4a2a-93a9-32bfe2c50359?api-version=2020-07-01-preview" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c2c8fea9-861e-4a2a-93a9-32bfe2c50359?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/c2c8fea9-861e-4a2a-93a9-32bfe2c50359?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "c2c8fea9-861e-4a2a-93a9-32bfe2c50359" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpdateServerParameterManagementOperation\",\"startTime\":\"2020-11-10T22:20:08.817Z\"}" } }, - "Update-AzMySqlFlexibleServerConfiguration+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c2c8fea9-861e-4a2a-93a9-32bfe2c50359?api-version=2020-07-01-preview+2": { + "Update-AzMySqlFlexibleServerConfiguration+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/c2c8fea9-861e-4a2a-93a9-32bfe2c50359?api-version=2020-07-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/c2c8fea9-861e-4a2a-93a9-32bfe2c50359?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/c2c8fea9-861e-4a2a-93a9-32bfe2c50359?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -132,9 +132,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/17658c10-7926-4252-af2b-a6705e16a61d?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/17658c10-7926-4252-af2b-a6705e16a61d?api-version=2020-07-01-preview" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/17658c10-7926-4252-af2b-a6705e16a61d?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/17658c10-7926-4252-af2b-a6705e16a61d?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "17658c10-7926-4252-af2b-a6705e16a61d" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -152,10 +152,10 @@ "Content": "{\"operation\":\"UpdateServerParameterManagementOperation\",\"startTime\":\"2020-11-10T22:20:24.987Z\"}" } }, - "Update-AzMySqlFlexibleServerConfiguration+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/17658c10-7926-4252-af2b-a6705e16a61d?api-version=2020-07-01-preview+2": { + "Update-AzMySqlFlexibleServerConfiguration+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/17658c10-7926-4252-af2b-a6705e16a61d?api-version=2020-07-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/17658c10-7926-4252-af2b-a6705e16a61d?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/17658c10-7926-4252-af2b-a6705e16a61d?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], diff --git a/src/MySql/test/Update-AzMySqlFlexibleServerDatabase.Recording.json b/src/MySql/test/Update-AzMySqlFlexibleServerDatabase.Recording.json index 82fd52ce9411..cd360594bcfc 100644 --- a/src/MySql/test/Update-AzMySqlFlexibleServerDatabase.Recording.json +++ b/src/MySql/test/Update-AzMySqlFlexibleServerDatabase.Recording.json @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/3de3b321-423d-4c95-a378-650e50329f94?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/3de3b321-423d-4c95-a378-650e50329f94?api-version=2020-07-01-preview" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3de3b321-423d-4c95-a378-650e50329f94?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/3de3b321-423d-4c95-a378-650e50329f94?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "3de3b321-423d-4c95-a378-650e50329f94" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpsertServerDatabaseManagementOperation\",\"startTime\":\"2020-11-10T22:05:43.777Z\"}" } }, - "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3de3b321-423d-4c95-a378-650e50329f94?api-version=2020-07-01-preview+2": { + "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/3de3b321-423d-4c95-a378-650e50329f94?api-version=2020-07-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/3de3b321-423d-4c95-a378-650e50329f94?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/3de3b321-423d-4c95-a378-650e50329f94?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -132,9 +132,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/5bbcdeb3-0e9a-47a2-8352-0c41f0e89497?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/5bbcdeb3-0e9a-47a2-8352-0c41f0e89497?api-version=2020-07-01-preview" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5bbcdeb3-0e9a-47a2-8352-0c41f0e89497?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/5bbcdeb3-0e9a-47a2-8352-0c41f0e89497?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "5bbcdeb3-0e9a-47a2-8352-0c41f0e89497" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -152,10 +152,10 @@ "Content": "{\"operation\":\"UpsertServerDatabaseManagementOperation\",\"startTime\":\"2020-11-10T22:05:59.623Z\"}" } }, - "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5bbcdeb3-0e9a-47a2-8352-0c41f0e89497?api-version=2020-07-01-preview+5": { + "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/5bbcdeb3-0e9a-47a2-8352-0c41f0e89497?api-version=2020-07-01-preview+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/5bbcdeb3-0e9a-47a2-8352-0c41f0e89497?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/5bbcdeb3-0e9a-47a2-8352-0c41f0e89497?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -248,9 +248,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/7ddc2bd0-8517-4716-9c2f-a95d5e868312?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/7ddc2bd0-8517-4716-9c2f-a95d5e868312?api-version=2020-07-01-preview" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7ddc2bd0-8517-4716-9c2f-a95d5e868312?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/7ddc2bd0-8517-4716-9c2f-a95d5e868312?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "7ddc2bd0-8517-4716-9c2f-a95d5e868312" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -268,10 +268,10 @@ "Content": "{\"operation\":\"UpsertServerDatabaseManagementOperation\",\"startTime\":\"2020-11-10T22:06:15.67Z\"}" } }, - "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7ddc2bd0-8517-4716-9c2f-a95d5e868312?api-version=2020-07-01-preview+2": { + "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/7ddc2bd0-8517-4716-9c2f-a95d5e868312?api-version=2020-07-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/7ddc2bd0-8517-4716-9c2f-a95d5e868312?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/7ddc2bd0-8517-4716-9c2f-a95d5e868312?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -369,9 +369,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/034c0775-cb59-4f03-9d1a-19fb79b63cb6?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/034c0775-cb59-4f03-9d1a-19fb79b63cb6?api-version=2020-07-01-preview" ], "Retry-After": [ "15" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/034c0775-cb59-4f03-9d1a-19fb79b63cb6?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/034c0775-cb59-4f03-9d1a-19fb79b63cb6?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "034c0775-cb59-4f03-9d1a-19fb79b63cb6" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -389,10 +389,10 @@ "Content": "{\"operation\":\"DropServerDatabaseManagementOperation\",\"startTime\":\"2020-11-10T22:06:31.42Z\"}" } }, - "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/034c0775-cb59-4f03-9d1a-19fb79b63cb6?api-version=2020-07-01-preview+5": { + "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/034c0775-cb59-4f03-9d1a-19fb79b63cb6?api-version=2020-07-01-preview+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/034c0775-cb59-4f03-9d1a-19fb79b63cb6?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/034c0775-cb59-4f03-9d1a-19fb79b63cb6?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -429,10 +429,10 @@ "Content": "{\"name\":\"034c0775-cb59-4f03-9d1a-19fb79b63cb6\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T22:06:31.42Z\"}" } }, - "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/034c0775-cb59-4f03-9d1a-19fb79b63cb6?api-version=2020-07-01-preview+6": { + "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/034c0775-cb59-4f03-9d1a-19fb79b63cb6?api-version=2020-07-01-preview+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/034c0775-cb59-4f03-9d1a-19fb79b63cb6?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/034c0775-cb59-4f03-9d1a-19fb79b63cb6?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], diff --git a/src/MySql/test/Update-AzMySqlFlexibleServerFirewallRule.Recording.json b/src/MySql/test/Update-AzMySqlFlexibleServerFirewallRule.Recording.json index 6b42d6cf17ff..206bf379c1ee 100644 --- a/src/MySql/test/Update-AzMySqlFlexibleServerFirewallRule.Recording.json +++ b/src/MySql/test/Update-AzMySqlFlexibleServerFirewallRule.Recording.json @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/81845aae-a3cc-4718-811b-e582aa0d9bad?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/81845aae-a3cc-4718-811b-e582aa0d9bad?api-version=2020-07-01-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/81845aae-a3cc-4718-811b-e582aa0d9bad?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/81845aae-a3cc-4718-811b-e582aa0d9bad?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "81845aae-a3cc-4718-811b-e582aa0d9bad" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-10T09:04:27.96Z\"}" } }, - "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/81845aae-a3cc-4718-811b-e582aa0d9bad?api-version=2020-07-01-preview+2": { + "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/81845aae-a3cc-4718-811b-e582aa0d9bad?api-version=2020-07-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/81845aae-a3cc-4718-811b-e582aa0d9bad?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/81845aae-a3cc-4718-811b-e582aa0d9bad?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -132,9 +132,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/9eb03ca4-1e3a-47b4-8ba7-9926e93b32ab?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/9eb03ca4-1e3a-47b4-8ba7-9926e93b32ab?api-version=2020-07-01-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/9eb03ca4-1e3a-47b4-8ba7-9926e93b32ab?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/9eb03ca4-1e3a-47b4-8ba7-9926e93b32ab?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "9eb03ca4-1e3a-47b4-8ba7-9926e93b32ab" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -152,10 +152,10 @@ "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-10T09:05:29.207Z\"}" } }, - "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/9eb03ca4-1e3a-47b4-8ba7-9926e93b32ab?api-version=2020-07-01-preview+5": { + "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/9eb03ca4-1e3a-47b4-8ba7-9926e93b32ab?api-version=2020-07-01-preview+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/9eb03ca4-1e3a-47b4-8ba7-9926e93b32ab?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/9eb03ca4-1e3a-47b4-8ba7-9926e93b32ab?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -248,9 +248,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/e10feaa3-578f-4e7d-af3c-9b04961d387a?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/e10feaa3-578f-4e7d-af3c-9b04961d387a?api-version=2020-07-01-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e10feaa3-578f-4e7d-af3c-9b04961d387a?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/e10feaa3-578f-4e7d-af3c-9b04961d387a?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "e10feaa3-578f-4e7d-af3c-9b04961d387a" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -268,10 +268,10 @@ "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-10T09:06:30.02Z\"}" } }, - "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e10feaa3-578f-4e7d-af3c-9b04961d387a?api-version=2020-07-01-preview+2": { + "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/e10feaa3-578f-4e7d-af3c-9b04961d387a?api-version=2020-07-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/e10feaa3-578f-4e7d-af3c-9b04961d387a?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/e10feaa3-578f-4e7d-af3c-9b04961d387a?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -364,9 +364,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/86ce3bad-3990-41f6-8f5c-df8d17a0c7ca?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/86ce3bad-3990-41f6-8f5c-df8d17a0c7ca?api-version=2020-07-01-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/86ce3bad-3990-41f6-8f5c-df8d17a0c7ca?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/86ce3bad-3990-41f6-8f5c-df8d17a0c7ca?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "86ce3bad-3990-41f6-8f5c-df8d17a0c7ca" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -384,10 +384,10 @@ "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-10T09:07:31.163Z\"}" } }, - "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/86ce3bad-3990-41f6-8f5c-df8d17a0c7ca?api-version=2020-07-01-preview+2": { + "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/86ce3bad-3990-41f6-8f5c-df8d17a0c7ca?api-version=2020-07-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/86ce3bad-3990-41f6-8f5c-df8d17a0c7ca?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/86ce3bad-3990-41f6-8f5c-df8d17a0c7ca?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -480,9 +480,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/operationResults/06304514-0e03-4375-8437-d2622a29d571?api-version=2020-07-01-preview" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/06304514-0e03-4375-8437-d2622a29d571?api-version=2020-07-01-preview" ], "Retry-After": [ "60" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/06304514-0e03-4375-8437-d2622a29d571?api-version=2020-07-01-preview" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/06304514-0e03-4375-8437-d2622a29d571?api-version=2020-07-01-preview" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "06304514-0e03-4375-8437-d2622a29d571" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -500,10 +500,10 @@ "Content": "{\"operation\":\"UpsertServerFirewallRulesManagementOperation\",\"startTime\":\"2020-11-10T09:09:01.047Z\"}" } }, - "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddressViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/06304514-0e03-4375-8437-d2622a29d571?api-version=2020-07-01-preview+2": { + "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddressViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/06304514-0e03-4375-8437-d2622a29d571?api-version=2020-07-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/westus2/azureAsyncOperation/06304514-0e03-4375-8437-d2622a29d571?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/06304514-0e03-4375-8437-d2622a29d571?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], diff --git a/src/MySql/test/env.json b/src/MySql/test/env.json index f2237843c3c5..41bd25ab7477 100644 --- a/src/MySql/test/env.json +++ b/src/MySql/test/env.json @@ -4,7 +4,7 @@ "serverName": "mysql-test-100", "flexibleServerName": "mysql-flexible-test-100", "resourceGroup": "MySqlTest", - "location": "westus2", + "location": "eastus2euap", "firewallRuleName": "mysqlrule01", "serverName3": "mysql-test-100-3", "replicaName": "mysql-test-100-replica", diff --git a/src/MySql/test/localEnv.json b/src/MySql/test/localEnv.json index 974211e4b076..a4fccfc3ed04 100644 --- a/src/MySql/test/localEnv.json +++ b/src/MySql/test/localEnv.json @@ -13,6 +13,6 @@ "serverName2": "mysql-test-100-2", "VNetName": "mysqlvnet", "resourceGroup": "MySqlTest", - "location": "westus2", + "location": "eastus2euap", "Sku": "GP_Gen5_4" } From cee6ccdbc12e8ee0eb4f8c59e7ee1598a704c891 Mon Sep 17 00:00:00 2001 From: Daeun Yim Date: Thu, 31 Dec 2020 12:43:42 -0800 Subject: [PATCH 46/51] resource group name changed --- .../Get-AzMySqlConfiguration.Recording.json | 18 +- ...Get-AzMySqlConnectionString.Recording.json | 48 ++-- .../Get-AzMySqlFirewallRule.Recording.json | 60 ++--- .../Get-AzMySqlFlexibleServer.Recording.json | 20 +- ...FlexibleServerConfiguration.Recording.json | 18 +- ...xibleServerConnectionString.Recording.json | 36 +-- ...MySqlFlexibleServerDatabase.Recording.json | 34 +-- ...lFlexibleServerFirewallRule.Recording.json | 24 +- ...zMySqlFlexibleServerReplica.Recording.json | 28 +-- .../test/Get-AzMySqlReplica.Recording.json | 28 +-- .../test/Get-AzMySqlServer.Recording.json | 20 +- ...t-AzMySqlVirtualNetworkRule.Recording.json | 90 +++---- .../New-AzMySqlFirewallRule.Recording.json | 42 ++-- .../New-AzMySqlFlexibleServer.Recording.json | 228 +++++++++--------- ...MySqlFlexibleServerDatabase.Recording.json | 16 +- ...lFlexibleServerFirewallRule.Recording.json | 36 +-- ...zMySqlFlexibleServerReplica.Recording.json | 22 +- .../test/New-AzMySqlReplica.Recording.json | 22 +- .../test/New-AzMySqlServer.Recording.json | 14 +- .../New-AzMySqlServerReplica.Recording.json | 22 +- ...w-AzMySqlVirtualNetworkRule.Recording.json | 24 +- .../Remove-AzMySqlFirewallRule.Recording.json | 28 +-- ...emove-AzMySqlFlexibleServer.Recording.json | 18 +- ...MySqlFlexibleServerDatabase.Recording.json | 32 +-- ...lFlexibleServerFirewallRule.Recording.json | 24 +- .../test/Remove-AzMySqlServer.Recording.json | 28 +-- ...e-AzMySqlVirtualNetworkRule.Recording.json | 48 ++-- ...start-AzMySqlFlexibleServer.Recording.json | 8 +- .../test/Restart-AzMySqlServer.Recording.json | 8 +- ...store-AzMySqlFlexibleServer.Recording.json | 18 +- .../test/Restore-AzMySqlServer.Recording.json | 50 ++-- ...Start-AzMySqlFlexibleServer.Recording.json | 16 +- .../Stop-AzMySqlFlexibleServer.Recording.json | 16 +- ...Update-AzMySqlConfiguration.Recording.json | 20 +- .../Update-AzMySqlFirewallRule.Recording.json | 48 ++-- ...pdate-AzMySqlFlexibleServer.Recording.json | 20 +- ...FlexibleServerConfiguration.Recording.json | 20 +- ...MySqlFlexibleServerDatabase.Recording.json | 36 +-- ...lFlexibleServerFirewallRule.Recording.json | 40 +-- .../test/Update-AzMySqlServer.Recording.json | 26 +- ...e-AzMySqlVirtualNetworkRule.Recording.json | 88 +++---- src/MySql/test/env.json | 2 +- src/MySql/test/localEnv.json | 2 +- src/MySql/test/utils.ps1 | 2 +- 44 files changed, 724 insertions(+), 724 deletions(-) diff --git a/src/MySql/test/Get-AzMySqlConfiguration.Recording.json b/src/MySql/test/Get-AzMySqlConfiguration.Recording.json index bb8a9f595bd9..187f1c081d59 100644 --- a/src/MySql/test/Get-AzMySqlConfiguration.Recording.json +++ b/src/MySql/test/Get-AzMySqlConfiguration.Recording.json @@ -1,8 +1,8 @@ { - "Get-AzMySqlConfiguration+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations?api-version=2017-12-01+1": { + "Get-AzMySqlConfiguration+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1" ], @@ -35,13 +35,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"properties\":{\"value\":\"OFF\",\"description\":\"Allow to audit the log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/audit_log_enabled\",\"name\":\"audit_log_enabled\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"CONNECTION\",\"description\":\"Select the events to audit logs.\",\"defaultValue\":\"CONNECTION\",\"dataType\":\"Set\",\"allowedValues\":\"DDL,DML_SELECT,DML_NONSELECT,DCL,ADMIN,DML,GENERAL,CONNECTION,TABLE_ACCESS\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/audit_log_events\",\"name\":\"audit_log_events\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"azure_superuser\",\"description\":\"The comma-separated user list whose commands will not be in the audit logs.\",\"defaultValue\":\"azure_superuser\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/audit_log_exclude_users\",\"name\":\"audit_log_exclude_users\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"The comma-separated user list whose commands will be in the audit logs. It takes higher priority if the same user name is found in audit_log_exclude_users.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/audit_log_include_users\",\"name\":\"audit_log_include_users\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The number of seconds for automatic binary log file removal. The default is 0, which means no automatic removal. Possible removals happen at startup and when the binary log is flushed.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/binlog_expire_logs_seconds\",\"name\":\"binlog_expire_logs_seconds\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Controls how many microseconds the binary log commit waits before synchronizing the binary log file to disk.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0,11-1000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/binlog_group_commit_sync_delay\",\"name\":\"binlog_group_commit_sync_delay\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The maximum number of transactions to wait for before aborting the current delay as specified by binlog-group-commit-sync-delay.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/binlog_group_commit_sync_no_delay_count\",\"name\":\"binlog_group_commit_sync_no_delay_count\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"minimal\",\"description\":\"For MySQL row-based replication, this variable determines how row images are written to the binary log.\",\"defaultValue\":\"minimal\",\"dataType\":\"Enumeration\",\"allowedValues\":\"full,minimal,noblob\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/binlog_row_image\",\"name\":\"binlog_row_image\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"30\",\"description\":\"The binlog max capacity for stop.\",\"defaultValue\":\"30\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/binlog_sum_size_for_stop_pct_max\",\"name\":\"binlog_sum_size_for_stop_pct_max\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"latin1\",\"description\":\"Use charset_name as the default server character set.\",\"defaultValue\":\"latin1\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ARMSCII8,ASCII,BIG5,BINARY,CP1250,CP1251,CP1256,CP1257,CP850,CP852,CP866,CP932,DEC8,EUCJPMS,EUCKR,GB18030,GB2312,GBK,GEOSTD8,GREEK,HEBREW,HP8,KEYBCS2,KOI8R,KOI8U,LATIN1,LATIN2,LATIN5,LATIN7,MACCE,MACROMAN,SJIS,SWE7,TIS620,UCS2,UJIS,UTF16,UTF16LE,UTF32,UTF8,UTF8MB4\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/character_set_server\",\"name\":\"character_set_server\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"latin1_swedish_ci\",\"description\":\"The server\u0027s default collation.\",\"defaultValue\":\"latin1_swedish_ci\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ARMSCII8_BIN,ARMSCII8_GENERAL_CI,ASCII_BIN,ASCII_GENERAL_CI,BIG5_BIN,BIG5_CHINESE_CI,BINARY,CP1250_BIN,CP1250_CROATIAN_CI,CP1250_CZECH_CS,CP1250_GENERAL_CI,CP1250_POLISH_CI,CP1251_BIN,CP1251_BULGARIAN_CI,CP1251_GENERAL_CI,CP1251_GENERAL_CS,CP1251_UKRAINIAN_CI,CP1256_BIN,CP1256_GENERAL_CI,CP1257_BIN,CP1257_GENERAL_CI,CP1257_LITHUANIAN_CI,CP850_BIN,CP850_GENERAL_CI,CP852_BIN,CP852_GENERAL_CI,CP866_BIN,CP866_GENERAL_CI,CP932_BIN,CP932_JAPANESE_CI,DEC8_BIN,DEC8_SWEDISH_CI,EUCJPMS_BIN,EUCJPMS_JAPANESE_CI,EUCKR_BIN,EUCKR_KOREAN_CI,GB18030_BIN,GB18030_CHINESE_CI,GB18030_UNICODE_520_CI,GB2312_BIN,GB2312_CHINESE_CI,GBK_BIN,GBK_CHINESE_CI,GEOSTD8_BIN,GEOSTD8_GENERAL_CI,GREEK_BIN,GREEK_GENERAL_CI,HEBREW_BIN,HEBREW_GENERAL_CI,HP8_BIN,HP8_ENGLISH_CI,KEYBCS2_BIN,KEYBCS2_GENERAL_CI,KOI8R_BIN,KOI8R_GENERAL_CI,KOI8U_BIN,KOI8U_GENERAL_CI,LATIN1_BIN,LATIN1_DANISH_CI,LATIN1_GENERAL_CI,LATIN1_GENERAL_CS,LATIN1_GERMAN1_CI,LATIN1_GERMAN2_CI,LATIN1_SPANISH_CI,LATIN1_SWEDISH_CI,LATIN2_BIN,LATIN2_CROATIAN_CI,LATIN2_CZECH_CS,LATIN2_GENERAL_CI,LATIN2_HUNGARIAN_CI,LATIN5_BIN,LATIN5_TURKISH_CI,LATIN7_BIN,LATIN7_ESTONIAN_CS,LATIN7_GENERAL_CI,LATIN7_GENERAL_CS,MACCE_BIN,MACCE_GENERAL_CI,MACROMAN_BIN,MACROMAN_GENERAL_CI,SJIS_BIN,SJIS_JAPANESE_CI,SWE7_BIN,SWE7_SWEDISH_CI,TIS620_BIN,TIS620_THAI_CI,UCS2_BIN,UCS2_CROATIAN_CI,UCS2_CZECH_CI,UCS2_DANISH_CI,UCS2_ESPERANTO_CI,UCS2_ESTONIAN_CI,UCS2_GENERAL_CI,UCS2_GENERAL_MYSQL500_CI,UCS2_GERMAN2_CI,UCS2_HUNGARIAN_CI,UCS2_ICELANDIC_CI,UCS2_LATVIAN_CI,UCS2_LITHUANIAN_CI,UCS2_PERSIAN_CI,UCS2_POLISH_CI,UCS2_ROMAN_CI,UCS2_ROMANIAN_CI,UCS2_SINHALA_CI,UCS2_SLOVAK_CI,UCS2_SLOVENIAN_CI,UCS2_SPANISH_CI,UCS2_SPANISH2_CI,UCS2_SWEDISH_CI,UCS2_TURKISH_CI,UCS2_UNICODE_520_CI,UCS2_UNICODE_CI,UCS2_VIETNAMESE_CI,UJIS_BIN,UJIS_JAPANESE_CI,UTF16_BIN,UTF16_CROATIAN_CI,UTF16_CZECH_CI,UTF16_DANISH_CI,UTF16_ESPERANTO_CI,UTF16_ESTONIAN_CI,UTF16_GENERAL_CI,UTF16_GERMAN2_CI,UTF16_HUNGARIAN_CI,UTF16_ICELANDIC_CI,UTF16_LATVIAN_CI,UTF16_LITHUANIAN_CI,UTF16_PERSIAN_CI,UTF16_POLISH_CI,UTF16_ROMAN_CI,UTF16_ROMANIAN_CI,UTF16_SINHALA_CI,UTF16_SLOVAK_CI,UTF16_SLOVENIAN_CI,UTF16_SPANISH_CI,UTF16_SPANISH2_CI,UTF16_SWEDISH_CI,UTF16_TURKISH_CI,UTF16_UNICODE_520_CI,UTF16_UNICODE_CI,UTF16_VIETNAMESE_CI,UTF16LE_BIN,UTF16LE_GENERAL_CI,UTF32_BIN,UTF32_CROATIAN_CI,UTF32_CZECH_CI,UTF32_DANISH_CI,UTF32_ESPERANTO_CI,UTF32_ESTONIAN_CI,UTF32_GENERAL_CI,UTF32_GERMAN2_CI,UTF32_HUNGARIAN_CI,UTF32_ICELANDIC_CI,UTF32_LATVIAN_CI,UTF32_LITHUANIAN_CI,UTF32_PERSIAN_CI,UTF32_POLISH_CI,UTF32_ROMAN_CI,UTF32_ROMANIAN_CI,UTF32_SINHALA_CI,UTF32_SLOVAK_CI,UTF32_SLOVENIAN_CI,UTF32_SPANISH_CI,UTF32_SPANISH2_CI,UTF32_SWEDISH_CI,UTF32_TURKISH_CI,UTF32_UNICODE_520_CI,UTF32_UNICODE_CI,UTF32_VIETNAMESE_CI,UTF8_BIN,UTF8_CROATIAN_CI,UTF8_CZECH_CI,UTF8_DANISH_CI,UTF8_ESPERANTO_CI,UTF8_ESTONIAN_CI,UTF8_GENERAL_CI,UTF8_GENERAL_MYSQL500_CI,UTF8_GERMAN2_CI,UTF8_HUNGARIAN_CI,UTF8_ICELANDIC_CI,UTF8_LATVIAN_CI,UTF8_LITHUANIAN_CI,UTF8_PERSIAN_CI,UTF8_POLISH_CI,UTF8_ROMAN_CI,UTF8_ROMANIAN_CI,UTF8_SINHALA_CI,UTF8_SLOVAK_CI,UTF8_SLOVENIAN_CI,UTF8_SPANISH_CI,UTF8_SPANISH2_CI,UTF8_SWEDISH_CI,UTF8_TURKISH_CI,UTF8_UNICODE_520_CI,UTF8_UNICODE_CI,UTF8_VIETNAMESE_CI,UTF8MB4_BIN,UTF8MB4_CROATIAN_CI,UTF8MB4_CZECH_CI,UTF8MB4_DANISH_CI,UTF8MB4_ESPERANTO_CI,UTF8MB4_ESTONIAN_CI,UTF8MB4_GENERAL_CI,UTF8MB4_GERMAN2_CI,UTF8MB4_HUNGARIAN_CI,UTF8MB4_ICELANDIC_CI,UTF8MB4_LATVIAN_CI,UTF8MB4_LITHUANIAN_CI,UTF8MB4_PERSIAN_CI,UTF8MB4_POLISH_CI,UTF8MB4_ROMAN_CI,UTF8MB4_ROMANIAN_CI,UTF8MB4_SINHALA_CI,UTF8MB4_SLOVAK_CI,UTF8MB4_SLOVENIAN_CI,UTF8MB4_SPANISH_CI,UTF8MB4_SPANISH2_CI,UTF8MB4_SWEDISH_CI,UTF8MB4_TURKISH_CI,UTF8MB4_UNICODE_520_CI,UTF8MB4_UNICODE_CI,UTF8MB4_VIETNAMESE_CI\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/collation_server\",\"name\":\"collation_server\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The default mode value to use for the WEEK() function.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-7\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/default_week_format\",\"name\":\"default_week_format\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"Number of digits by which to increase the scale of the result of division operations.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"0-30\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/div_precision_increment\",\"name\":\"div_precision_increment\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"This variable indicates the number of equality ranges in an equality comparison condition when the optimizer should switch from using index dives to index statistics in estimating the number of qualifying rows.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/eq_range_index_dive_limit\",\"name\":\"eq_range_index_dive_limit\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Indicates the status of the Event Scheduler. It is always OFF for a replica server to keep the replication consistency.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/event_scheduler\",\"name\":\"event_scheduler\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"If this is set to a nonzero value, all tables are closed every flush_time seconds to free up resources and synchronize unflushed data to disk.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-8640000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/flush_time\",\"name\":\"flush_time\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"20\",\"description\":\"The number of top matches to use for full-text searches performed using WITH QUERY EXPANSION.\",\"defaultValue\":\"20\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/ft_query_expansion_limit\",\"name\":\"ft_query_expansion_limit\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"Maximum allowed result length in bytes for the GROUP_CONCAT().\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"4-16777216\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/group_concat_max_len\",\"name\":\"group_concat_max_len\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"A string to be executed by the server for each client that connects.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/init_connect\",\"name\":\"init_connect\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Specifies whether to dynamically adjust the rate of flushing dirty pages in the InnoDB buffer pool based on the workload. Adjusting the flush rate dynamically is intended to avoid bursts of I/O activity.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_adaptive_flushing\",\"name\":\"innodb_adaptive_flushing\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Defines the low water mark representing percentage of redo log capacity at which adaptive flushing is enabled.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-70\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_adaptive_flushing_lwm\",\"name\":\"innodb_adaptive_flushing_lwm\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Whether innodb adaptive hash indexes are enabled or disabled.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_adaptive_hash_index\",\"name\":\"innodb_adaptive_hash_index\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"Partitions the adaptive hash index search system. Each index is bound to a specific partition, with each partition protected by a separate latch. \",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"1-512\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_adaptive_hash_index_parts\",\"name\":\"innodb_adaptive_hash_index_parts\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"150000\",\"description\":\"Permits InnoDB to automatically adjust the value of innodb_thread_sleep_delay up or down according to the current workload.\",\"defaultValue\":\"150000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_adaptive_max_sleep_delay\",\"name\":\"innodb_adaptive_max_sleep_delay\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"The increment size (in megabytes) for extending the size of an auto-extending InnoDB system tablespace file when it becomes full.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"1-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_autoextend_increment\",\"name\":\"innodb_autoextend_increment\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"The lock mode to use for generating auto-increment values.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0,1,2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_autoinc_lock_mode\",\"name\":\"innodb_autoinc_lock_mode\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"25\",\"description\":\"Specifies the percentage of the most recently used pages for each buffer pool to read out and dump.\",\"defaultValue\":\"25\",\"dataType\":\"Integer\",\"allowedValues\":\"1-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_buffer_pool_dump_pct\",\"name\":\"innodb_buffer_pool_dump_pct\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"16106127360\",\"description\":\"The size in bytes of the buffer pool, the memory area where InnoDB caches table and index data.\",\"defaultValue\":\"16106127360\",\"dataType\":\"Integer\",\"allowedValues\":\"134217728-16106127360\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_buffer_pool_size\",\"name\":\"innodb_buffer_pool_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"25\",\"description\":\"Maximum size for the InnoDB change buffer, as a percentage of the total size of the buffer pool. You might increase this value for a MySQL server with heavy insert, update, and delete activity, or decrease it for a MySQL server with unchanging data used for reporting.\",\"defaultValue\":\"25\",\"dataType\":\"Integer\",\"allowedValues\":\"0-50\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_change_buffer_max_size\",\"name\":\"innodb_change_buffer_max_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"all\",\"description\":\"Whether InnoDB performs change buffering, an optimization that delays write operations to secondary indexes so that the I/O operations can be performed sequentially.\",\"defaultValue\":\"all\",\"dataType\":\"Enumeration\",\"allowedValues\":\"none,inserts,deletes,changes,purges,all\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_change_buffering\",\"name\":\"innodb_change_buffering\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Enables per-index compression-related statistics in the INFORMATION_SCHEMA.INNODB_CMP_PER_INDEX table. Because these statistics can be expensive to gather, only enable this option on development, test, or slave instances during performance tuning related to InnoDB compressed tables.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_cmp_per_index_enabled\",\"name\":\"innodb_cmp_per_index_enabled\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The number of threads that can commit at the same time. A value of 0 (the default) permits any number of transactions to commit simultaneously. The value of innodb_commit_concurrency cannot be changed at runtime from zero to nonzero or vice versa. The value can be changed from one nonzero value to another.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_commit_concurrency\",\"name\":\"innodb_commit_concurrency\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"5\",\"description\":\"Defines the compression failure rate threshold for a table, as a percentage, at which point MySQL begins adding padding within compressed pages to avoid expensive compression failures.\",\"defaultValue\":\"5\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_compression_failure_threshold_pct\",\"name\":\"innodb_compression_failure_threshold_pct\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"6\",\"description\":\"Specifies the level of zlib compression to use for InnoDB compressed tables and indexes. A higher value lets you fit more data onto a storage device, at the expense of more CPU overhead during compression. A lower value lets you reduce CPU overhead when storage space is not critical, or you expect the data is not especially compressible.\",\"defaultValue\":\"6\",\"dataType\":\"Integer\",\"allowedValues\":\"0-9\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_compression_level\",\"name\":\"innodb_compression_level\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"Specifies the maximum percentage that can be reserved as free space within each compressed page, allowing room to reorganize the data and modification log within the page when a compressed table or index is updated and the data might be recompressed. Only applies when innodb_compression_failure_threshold_pct is set to a nonzero value, and the rate of compression failures passes the cutoff point.\",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"0-75\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_compression_pad_pct_max\",\"name\":\"innodb_compression_pad_pct_max\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"5000\",\"description\":\"Determines the number of threads that can enter InnoDB concurrently.\",\"defaultValue\":\"5000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_concurrency_tickets\",\"name\":\"innodb_concurrency_tickets\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"This option is used to disable deadlock detection. On high concurrency systems, deadlock detection can cause a slowdown when numerous threads wait for the same lock.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_deadlock_detect\",\"name\":\"innodb_deadlock_detect\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"DYNAMIC\",\"description\":\"The innodb_default_row_format option defines the default row format for InnoDB tables and user-created temporary tables.\",\"defaultValue\":\"DYNAMIC\",\"dataType\":\"Enumeration\",\"allowedValues\":\"DYNAMIC,COMPACT,REDUNDANT\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_default_row_format\",\"name\":\"innodb_default_row_format\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"Barracuda\",\"description\":\"Indicates the InnoDB file format for file-per-table tablespaces.\",\"defaultValue\":\"Barracuda\",\"dataType\":\"Enumeration\",\"allowedValues\":\"Antelope,Barracuda\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_file_format\",\"name\":\"innodb_file_format\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"InnoDB stores the data and indexes for each newly created table in a separate .ibd file instead of the system tablespace. It cannot be updated any more for a master/replica server to keep the replication consistency.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_file_per_table\",\"name\":\"innodb_file_per_table\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"InnoDB performs a bulk load when creating or rebuilding indexes.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"10-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_fill_factor\",\"name\":\"innodb_fill_factor\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"8000000\",\"description\":\"The memory allocated, in bytes, for the InnoDB FULLTEXT search index cache, which holds a parsed document in memory while creating an InnoDB FULLTEXT index.\",\"defaultValue\":\"8000000\",\"dataType\":\"Integer\",\"allowedValues\":\"1600000-80000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_ft_cache_size\",\"name\":\"innodb_ft_cache_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Specifies that a set of stopwords is associated with an InnoDB FULLTEXT index at the time the index is created.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_ft_enable_stopword\",\"name\":\"innodb_ft_enable_stopword\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"84\",\"description\":\"Maximum character length of words that are stored in an InnoDB FULLTEXT index.\",\"defaultValue\":\"84\",\"dataType\":\"Integer\",\"allowedValues\":\"10-84\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_ft_max_token_size\",\"name\":\"innodb_ft_max_token_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"3\",\"description\":\"Minimum length of words that are stored in an InnoDB FULLTEXT index.\",\"defaultValue\":\"3\",\"dataType\":\"Integer\",\"allowedValues\":\"0-16\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_ft_min_token_size\",\"name\":\"innodb_ft_min_token_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"2000\",\"description\":\"Number of words to process during each OPTIMIZE TABLE operation on an InnoDB FULLTEXT index.\",\"defaultValue\":\"2000\",\"dataType\":\"Integer\",\"allowedValues\":\"1000-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_ft_num_word_optimize\",\"name\":\"innodb_ft_num_word_optimize\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"2000000000\",\"description\":\"The InnoDB full-text search query result cache limit (defined in bytes) per full-text search query or per thread.\",\"defaultValue\":\"2000000000\",\"dataType\":\"Integer\",\"allowedValues\":\"1000000-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_ft_result_cache_limit\",\"name\":\"innodb_ft_result_cache_limit\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Number of threads used in parallel to index and tokenize text in an InnoDB FULLTEXT index when building a search index.\",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"1-32\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_ft_sort_pll_degree\",\"name\":\"innodb_ft_sort_pll_degree\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"640000000\",\"description\":\"The total memory allocated, in bytes, for the InnoDB full-text search index cache for all tables.\",\"defaultValue\":\"640000000\",\"dataType\":\"Integer\",\"allowedValues\":\"32000000-1280000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_ft_total_cache_size\",\"name\":\"innodb_ft_total_cache_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"Sets an upper limit on I/O activity performed by InnoDB background tasks, such as flushing pages from the buffer pool and merging data from the change buffer.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"100-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_io_capacity\",\"name\":\"innodb_io_capacity\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"2000\",\"description\":\"If flushing activity falls behind, InnoDB can flush more aggressively than the limit imposed by innodb_io_capacity. innodb_io_capacity_max defines an upper limit the number of I/O operations performed per second by InnoDB background tasks in such situations.\",\"defaultValue\":\"2000\",\"dataType\":\"Integer\",\"allowedValues\":\"100-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_io_capacity_max\",\"name\":\"innodb_io_capacity_max\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"When this option is enabled, index key prefixes longer than 767 bytes (up to 3072 bytes) are allowed for InnoDB tables that use DYNAMIC or COMPRESSED row format.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_large_prefix\",\"name\":\"innodb_large_prefix\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"The length of time in seconds an InnoDB transaction waits for a row lock before giving up.\",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"1-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_lock_wait_timeout\",\"name\":\"innodb_lock_wait_timeout\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Specifies whether images of re-compressed pages are written to the redo log.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_log_compressed_pages\",\"name\":\"innodb_log_compressed_pages\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"A parameter that influences the algorithms and heuristics for the flush operation for the InnoDB buffer pool.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"100-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_lru_scan_depth\",\"name\":\"innodb_lru_scan_depth\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"75\",\"description\":\"InnoDB tries to flush data from the buffer pool so that the percentage of dirty pages does not exceed this value.\",\"defaultValue\":\"75\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-99.99\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_max_dirty_pages_pct\",\"name\":\"innodb_max_dirty_pages_pct\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Defines a low water mark representing the percentage of dirty pages at which preflushing is enabled to control the dirty page ratio.\",\"defaultValue\":\"0\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-99.99\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_max_dirty_pages_pct_lwm\",\"name\":\"innodb_max_dirty_pages_pct_lwm\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Defines the maximum length of the purge queue. The default value of 0 indicates no limit (no delays).\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_max_purge_lag\",\"name\":\"innodb_max_purge_lag\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Specifies the maximum delay in microseconds for the delay imposed by the innodb_max_purge_lag configuration option.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-10000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_max_purge_lag_delay\",\"name\":\"innodb_max_purge_lag_delay\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"37\",\"description\":\"Specifies the approximate percentage of the InnoDB buffer pool used for the old block sublist.\",\"defaultValue\":\"37\",\"dataType\":\"Integer\",\"allowedValues\":\"5-95\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_old_blocks_pct\",\"name\":\"innodb_old_blocks_pct\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1000\",\"description\":\"Non-zero values protect against the buffer pool being filled by data that is referenced only for a brief period, such as during a full table scan.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_old_blocks_time\",\"name\":\"innodb_old_blocks_time\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"134217728\",\"description\":\"Specifies an upper limit on the size of the temporary log files used during online DDL operations for InnoDB tables.\",\"defaultValue\":\"134217728\",\"dataType\":\"Integer\",\"allowedValues\":\"65536-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_online_alter_log_max_size\",\"name\":\"innodb_online_alter_log_max_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Changes the way OPTIMIZE TABLE operates on InnoDB tables. Intended to be enabled temporarily, during maintenance operations for InnoDB tables with FULLTEXT indexes.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_optimize_fulltext_only\",\"name\":\"innodb_optimize_fulltext_only\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"The number of page cleaner threads that flush dirty pages from buffer pool instances.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"1-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_page_cleaners\",\"name\":\"innodb_page_cleaners\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"300\",\"description\":\"Defines the number of undo log pages that purge parses and processes in one batch from the history list.\",\"defaultValue\":\"300\",\"dataType\":\"Integer\",\"allowedValues\":\"1-5000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_purge_batch_size\",\"name\":\"innodb_purge_batch_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"128\",\"description\":\"Defines the frequency with which the purge system frees rollback segments in terms of the number of times that purge is invoked. Reducing this value increases the frequency with which the purge thread frees rollback segments.\",\"defaultValue\":\"128\",\"dataType\":\"Integer\",\"allowedValues\":\"1-128\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_purge_rseg_truncate_frequency\",\"name\":\"innodb_purge_rseg_truncate_frequency\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"The number of background threads devoted to the InnoDB purge operation.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"1-32\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_purge_threads\",\"name\":\"innodb_purge_threads\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Enables the random read-ahead technique for optimizing InnoDB I/O.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_random_read_ahead\",\"name\":\"innodb_random_read_ahead\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"56\",\"description\":\"Controls the sensitivity of linear read-ahead that InnoDB uses to prefetch pages into the buffer pool.\",\"defaultValue\":\"56\",\"dataType\":\"Integer\",\"allowedValues\":\"0-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_read_ahead_threshold\",\"name\":\"innodb_read_ahead_threshold\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"The number of I/O threads for read operations in InnoDB.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"1-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_read_io_threads\",\"name\":\"innodb_read_io_threads\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"128\",\"description\":\"Defines the number of rollback segments used by InnoDB.\",\"defaultValue\":\"128\",\"dataType\":\"Integer\",\"allowedValues\":\"1-128\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_rollback_segments\",\"name\":\"innodb_rollback_segments\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Causes InnoDB to automatically recalculate persistent statistics after the data in a table is changed substantially.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_stats_auto_recalc\",\"name\":\"innodb_stats_auto_recalc\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\" Enabled to ensure that InnoDB includes delete-marked records when calculating persistent optimizer statistics.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_stats_include_delete_marked\",\"name\":\"innodb_stats_include_delete_marked\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"nulls_equal\",\"description\":\"How the server treats NULL values when collecting statistics about the distribution of index values for InnoDB tables.\",\"defaultValue\":\"nulls_equal\",\"dataType\":\"Enumeration\",\"allowedValues\":\"nulls_equal,nulls_unequal,nulls_ignored\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_stats_method\",\"name\":\"innodb_stats_method\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This option only applies when optimizer statistics are configured to be non-persistent. When innodb_stats_on_metadata is enabled, InnoDB updates non-persistent statistics when metadata statements such as SHOW TABLE STATUS or when accessing the INFORMATION_SCHEMA.TABLES or INFORMATION_SCHEMA.STATISTICS tables.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_stats_on_metadata\",\"name\":\"innodb_stats_on_metadata\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Specifies whether InnoDB index statistics are persisted to disk. Otherwise, statistics may be recalculated frequently which can lead to variations in query execution plans.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_stats_persistent\",\"name\":\"innodb_stats_persistent\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"20\",\"description\":\"The number of index pages to sample when estimating cardinality and other statistics for an indexed column, such as those calculated by ANALYZE TABLE.\",\"defaultValue\":\"20\",\"dataType\":\"Integer\",\"allowedValues\":\"1-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_stats_persistent_sample_pages\",\"name\":\"innodb_stats_persistent_sample_pages\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"The number of index pages to sample when estimating cardinality and other statistics for an indexed column, such as those calculated by ANALYZE TABLE.\",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"1-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_stats_transient_sample_pages\",\"name\":\"innodb_stats_transient_sample_pages\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Defines the size of the mutex/lock wait array. Increasing the value splits the internal data structure used to coordinate threads, for higher concurrency in workloads with large numbers of waiting threads. \",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"1-1024\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_sync_array_size\",\"name\":\"innodb_sync_array_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"The default value of innodb_table_locks is 1, which means that LOCK TABLES causes InnoDB to lock a table internally if autocommit = 0.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_table_locks\",\"name\":\"innodb_table_locks\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"InnoDB tries to keep the number of operating system threads concurrently inside InnoDB less than or equal to the limit given by this variable.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_thread_concurrency\",\"name\":\"innodb_thread_concurrency\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"10000\",\"description\":\"Defines how long InnoDB threads sleep before joining the InnoDB queue, in microseconds.\",\"defaultValue\":\"10000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_thread_sleep_delay\",\"name\":\"innodb_thread_sleep_delay\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"The number of I/O threads for write operations in InnoDB.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"1-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_write_io_threads\",\"name\":\"innodb_write_io_threads\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"28800\",\"description\":\"Number of seconds the server waits for activity on an interactive connection before closing it.\",\"defaultValue\":\"28800\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/interactive_timeout\",\"name\":\"interactive_timeout\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"262144\",\"description\":\"The minimum size of the buffer that is used for plain index scans, range index scans, and joins that do not use indexes and thus perform full table scans.\",\"defaultValue\":\"262144\",\"dataType\":\"Integer\",\"allowedValues\":\"128-536870912\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/join_buffer_size\",\"name\":\"join_buffer_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"This variable controls server-side LOCAL capability for LOAD DATA statements.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/local_infile\",\"name\":\"local_infile\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"31536000\",\"description\":\"This variable specifies the timeout in seconds for attempts to acquire metadata locks.\",\"defaultValue\":\"31536000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/lock_wait_timeout\",\"name\":\"lock_wait_timeout\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This variable applies when binary logging is enabled. It controls whether stored function creators can be trusted not to create stored functions that will cause unsafe events to be written to the binary log. It cannot be updated any more for a master/replica server to keep the replication consistency.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/log_bin_trust_function_creators\",\"name\":\"log_bin_trust_function_creators\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"FILE\",\"description\":\"The destination for general query log and slow query log output.\",\"defaultValue\":\"FILE\",\"dataType\":\"Set\",\"allowedValues\":\"FILE,NONE\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/log_output\",\"name\":\"log_output\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Logs queries that are expected to retrieve all rows to slow query log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/log_queries_not_using_indexes\",\"name\":\"log_queries_not_using_indexes\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Include slow administrative statements in the statements written to the slow query log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/log_slow_admin_statements\",\"name\":\"log_slow_admin_statements\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"When the slow query log is enabled, this variable enables logging for queries that have taken more than long_query_time seconds to execute on the slave.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/log_slow_slave_statements\",\"name\":\"log_slow_slave_statements\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Limits the number of such queries per minute that can be written to the slow query log.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/log_throttle_queries_not_using_indexes\",\"name\":\"log_throttle_queries_not_using_indexes\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"If a query takes longer than this many seconds, the server increments the Slow_queries status variable.\",\"defaultValue\":\"10\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/long_query_time\",\"name\":\"long_query_time\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"If set to 1, table names are stored in lowercase on disk and comparisons are not case sensitive. If set to 2, table names are stored as given but compared in lowercase.\",\"defaultValue\":\"1\",\"dataType\":\"Enumeration\",\"allowedValues\":\"1,2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/lower_case_table_names\",\"name\":\"lower_case_table_names\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"536870912\",\"description\":\"The maximum size of one packet or any generated/intermediate string, or any parameter sent by the mysql_stmt_send_long_data() C API function.\",\"defaultValue\":\"536870912\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/max_allowed_packet\",\"name\":\"max_allowed_packet\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"If more than this many successive connection requests from a host are interrupted without a successful connection, the server blocks that host from further connections.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/max_connect_errors\",\"name\":\"max_connect_errors\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"625\",\"description\":\"The maximum permitted number of simultaneous client connections.\",\"defaultValue\":\"625\",\"dataType\":\"Integer\",\"allowedValues\":\"10-1250\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/max_connections\",\"name\":\"max_connections\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"The maximum number of bytes available for computing normalized statement digests.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/max_digest_length\",\"name\":\"max_digest_length\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"The maximum number of error, warning, and note messages to be stored for display by the SHOW ERRORS and SHOW WARNINGS statements.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"0-65535\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/max_error_count\",\"name\":\"max_error_count\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The execution timeout for SELECT statements, in milliseconds. If the value is 0, timeouts are not enabled.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/max_execution_time\",\"name\":\"max_execution_time\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"16777216\",\"description\":\"This variable sets the maximum size to which user-created MEMORY tables are permitted to grow.\",\"defaultValue\":\"16777216\",\"dataType\":\"Integer\",\"allowedValues\":\"16384-536870912\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/max_heap_table_size\",\"name\":\"max_heap_table_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"18446744073709551615\",\"description\":\"Do not permit statements that probably need to examine more than max_join_size rows\",\"defaultValue\":\"18446744073709551615\",\"dataType\":\"Integer\",\"allowedValues\":\"1-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/max_join_size\",\"name\":\"max_join_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"The cutoff on the size of index values that determines which filesort algorithm to use.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"4-8388608\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/max_length_for_sort_data\",\"name\":\"max_length_for_sort_data\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"65536\",\"description\":\"The maximum value of the points_per_circle argument to the ST_Buffer_Strategy() function.\",\"defaultValue\":\"65536\",\"dataType\":\"Integer\",\"allowedValues\":\"3-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/max_points_in_geometry\",\"name\":\"max_points_in_geometry\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"16382\",\"description\":\"This variable limits the total number of prepared statements in the server.\",\"defaultValue\":\"16382\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/max_prepared_stmt_count\",\"name\":\"max_prepared_stmt_count\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4294967295\",\"description\":\"Limit the assumed maximum number of seeks when looking up rows based on a key.\",\"defaultValue\":\"4294967295\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/max_seeks_for_key\",\"name\":\"max_seeks_for_key\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"The number of bytes to use when sorting data values.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"4-8388608\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/max_sort_length\",\"name\":\"max_sort_length\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The number of times that any given stored procedure may be called recursively. The default value for this option is 0, which completely disables recursion in stored procedures.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-255\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/max_sp_recursion_depth\",\"name\":\"max_sp_recursion_depth\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The maximum number of simultaneous connections permitted to any given MySQL user account. A value of 0 (the default) means \u0027no limit.\u0027\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/max_user_connections\",\"name\":\"max_user_connections\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4294967295\",\"description\":\"After this many write locks, permit some pending read lock requests to be processed in between.\",\"defaultValue\":\"4294967295\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/max_write_lock_count\",\"name\":\"max_write_lock_count\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Can be used to cause queries which examine fewer than the stated number of rows not to be logged.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/min_examined_row_limit\",\"name\":\"min_examined_row_limit\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"16384\",\"description\":\"Each client thread is associated with a connection buffer and result buffer. Both begin with a size given by net_buffer_length but are dynamically enlarged up to max_allowed_packet bytes as needed.\",\"defaultValue\":\"16384\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/net_buffer_length\",\"name\":\"net_buffer_length\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"120\",\"description\":\"The number of seconds the server waits for network reading action, especially for LOAD DATA LOCAL FILE.\",\"defaultValue\":\"120\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/net_read_timeout\",\"name\":\"net_read_timeout\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"If a read or write on a communication port is interrupted, retry this many times before giving up.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/net_retry_count\",\"name\":\"net_retry_count\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"240\",\"description\":\"The number of seconds the server waits for network writing action, especially for LOAD DATA LOCAL FILE.\",\"defaultValue\":\"240\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/net_write_timeout\",\"name\":\"net_write_timeout\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Defines the n-gram token size for the n-gram full-text parser. \",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/ngram_token_size\",\"name\":\"ngram_token_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Controls the heuristics applied during query optimization to prune less-promising partial plans from the optimizer search space.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0,1\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/optimizer_prune_level\",\"name\":\"optimizer_prune_level\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"62\",\"description\":\"The maximum depth of search performed by the query optimizer.\",\"defaultValue\":\"62\",\"dataType\":\"Integer\",\"allowedValues\":\"0-62\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/optimizer_search_depth\",\"name\":\"optimizer_search_depth\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"default\",\"description\":\"The value of this variable is a set of flags, each of which has a value of on or off to indicate whether the corresponding optimizer behavior is enabled or disabled.\",\"defaultValue\":\"default\",\"dataType\":\"Set\",\"allowedValues\":\"default,batched_key_access=on,batched_key_access=off,block_nested_loop=on,block_nested_loop=off,condition_fanout_filter=on,condition_fanout_filter=off,derived_merge=on,derived_merge=off,duplicateweedout=on,duplicateweedout=off,engine_condition_pushdown=on,engine_condition_pushdown=off,firstmatch=on,firstmatch=off,index_condition_pushdown=on,index_condition_pushdown=off,index_merge=on,index_merge=off,index_merge_intersection=on,index_merge_intersection=off,index_merge_sort_union=on,index_merge_sort_union=off,index_merge_union=on,index_merge_union=off,loosescan=on,loosescan=off,materialization=on,materialization=off,mrr=on,mrr=off,mrr_cost_based=on,mrr_cost_based=off,semijoin=on,semijoin=off,subquery_materialization_cost_based=on,subquery_materialization_cost_based=off,use_index_extensions=on,use_index_extensions=off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/optimizer_switch\",\"name\":\"optimizer_switch\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"18446744073709551615\",\"description\":\"The maximum amount of memory available to the parser.\",\"defaultValue\":\"18446744073709551615\",\"dataType\":\"Integer\",\"allowedValues\":\"10000000-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/parser_max_mem_size\",\"name\":\"parser_max_mem_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"The value of this variable is ON or OFF to indicate whether the Performance Schema is enabled.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/performance_schema\",\"name\":\"performance_schema\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"32768\",\"description\":\"The size of the buffer that is allocated when preloading indexes.\",\"defaultValue\":\"32768\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/preload_buffer_size\",\"name\":\"preload_buffer_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1048576\",\"description\":\"Do not cache results that are larger than this number of bytes.\",\"defaultValue\":\"1048576\",\"dataType\":\"Integer\",\"allowedValues\":\"0-33554432\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/query_cache_limit\",\"name\":\"query_cache_limit\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"The minimum size (in bytes) for blocks allocated by the query cache.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"512-32768\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/query_cache_min_res_unit\",\"name\":\"query_cache_min_res_unit\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The amount of memory allocated for caching query results.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0,102400-33554432\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/query_cache_size\",\"name\":\"query_cache_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Set the query cache type.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF,DEMAND\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/query_cache_type\",\"name\":\"query_cache_type\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"8192\",\"description\":\"The size of the persistent buffer used for statement parsing and execution. This buffer is not freed between statements. If you are running complex queries, a larger value might be helpful in improving performance, because it can reduce the need for the server to perform memory allocation during query execution operations.\",\"defaultValue\":\"8192\",\"dataType\":\"Integer\",\"allowedValues\":\"8192-32768\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/query_prealloc_size\",\"name\":\"query_prealloc_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"15\",\"description\":\"The query store capture interval in minutes. Allows to specify the interval in which the query metrics are aggregated.\",\"defaultValue\":\"15\",\"dataType\":\"Integer\",\"allowedValues\":\"5-60\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/query_store_capture_interval\",\"name\":\"query_store_capture_interval\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"NONE\",\"description\":\"The query store capture mode, NONE means do not capture any statements. NOTE: If performance_schema is OFF, turning on query_store_capture_mode will turn on performance_schema and a subset of performance schema instruments required for this feature.\",\"defaultValue\":\"NONE\",\"dataType\":\"Enumeration\",\"allowedValues\":\"NONE,ALL\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/query_store_capture_mode\",\"name\":\"query_store_capture_mode\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"NO\",\"description\":\"Turning ON or OFF to capture all the utility queries that is executing in the system.\",\"defaultValue\":\"NO\",\"dataType\":\"Enumeration\",\"allowedValues\":\"YES,NO\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/query_store_capture_utility_queries\",\"name\":\"query_store_capture_utility_queries\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"7\",\"description\":\"The query store capture interval in minutes. Allows to specify the interval in which the query metrics are aggregated.\",\"defaultValue\":\"7\",\"dataType\":\"Integer\",\"allowedValues\":\"1-30\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/query_store_retention_period_in_days\",\"name\":\"query_store_retention_period_in_days\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"NONE\",\"description\":\"The query store wait event sampling capture mode, NONE means do not capture any wait events.\",\"defaultValue\":\"NONE\",\"dataType\":\"Enumeration\",\"allowedValues\":\"NONE,ALL\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/query_store_wait_sampling_capture_mode\",\"name\":\"query_store_wait_sampling_capture_mode\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"30\",\"description\":\"The query store wait event sampling frequency in seconds.\",\"defaultValue\":\"30\",\"dataType\":\"Integer\",\"allowedValues\":\"5-300\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/query_store_wait_sampling_frequency\",\"name\":\"query_store_wait_sampling_frequency\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"The size of blocks that are allocated when doing range optimization.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-32768\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/range_alloc_block_size\",\"name\":\"range_alloc_block_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"8388608\",\"description\":\"The limit on memory consumption for the range optimizer. A value of 0 means \u0027no limit.\u0027\",\"defaultValue\":\"8388608\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-33554432\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/range_optimizer_max_mem_size\",\"name\":\"range_optimizer_max_mem_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This parameter controls whetherthe server permits no client updates. When the server is read replica or server storage is full, this parameter will not take effect.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/read_only\",\"name\":\"read_only\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Indicate server support redirection.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/redirect_enabled\",\"name\":\"redirect_enabled\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1073741824\",\"description\":\"This option places an upper limit on the total size in bytes of all relay logs on the slave.\",\"defaultValue\":\"1073741824\",\"dataType\":\"Integer\",\"allowedValues\":\"1073741824-3221225472\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/relay_log_space_limit\",\"name\":\"relay_log_space_limit\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"mysql.%\",\"description\":\"Creates a replication filter which keeps the slave thread from replicating a statement in which any table matches the given wildcard pattern. To specify more than one table to ignore, use comma-separated list.\",\"defaultValue\":\"mysql.%\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/replicate_wild_ignore_table\",\"name\":\"replicate_wild_ignore_table\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1409435902\",\"description\":\"The server ID, used in replication to give each master and slave a unique identity.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"1000-4294967295\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/server_id\",\"name\":\"server_id\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Controls whether the server tracks changes to the default schema (database) name within the current session and makes this information available to the client when changes occur.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/session_track_schema\",\"name\":\"session_track_schema\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Controls whether the server tracks changes to the state of the current session and notifies the client when state changes occur.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/session_track_state_change\",\"name\":\"session_track_state_change\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Affects whether MySQL 5.6 compatibility is enabled with respect to how system and status variable information is provided by the INFORMATION_SCHEMA and Performance Schema tables, and also by the SHOW VARIABLES and SHOW STATUS statements.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/show_compatibility_56\",\"name\":\"show_compatibility_56\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This prevents people from using the SHOW DATABASES statement if they do not have the SHOW DATABASES privilege. \",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/skip_show_database\",\"name\":\"skip_show_database\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"60\",\"description\":\"The number of seconds to wait for more data from the master before the slave considers the connection broken, aborts the read, and tries to reconnect.\",\"defaultValue\":\"60\",\"dataType\":\"Integer\",\"allowedValues\":\"30-3600\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/slave_net_timeout\",\"name\":\"slave_net_timeout\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Enable or disable the slow query log\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/slow_query_log\",\"name\":\"slow_query_log\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"524288\",\"description\":\"Each session that must perform a sort allocates a buffer of this size.\",\"defaultValue\":\"524288\",\"dataType\":\"Integer\",\"allowedValues\":\"32768-8388608\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/sort_buffer_size\",\"name\":\"sort_buffer_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"The current server SQL mode.\",\"defaultValue\":\"\",\"dataType\":\"Set\",\"allowedValues\":\",ALLOW_INVALID_DATES,ANSI_QUOTES,ERROR_FOR_DIVISION_BY_ZERO,HIGH_NOT_PRECEDENCE,IGNORE_SPACE,NO_AUTO_CREATE_USER,NO_AUTO_VALUE_ON_ZERO,NO_BACKSLASH_ESCAPES,NO_DIR_IN_CREATE,NO_ENGINE_SUBSTITUTION,NO_FIELD_OPTIONS,NO_KEY_OPTIONS,NO_TABLE_OPTIONS,NO_UNSIGNED_SUBTRACTION,NO_ZERO_DATE,NO_ZERO_IN_DATE,ONLY_FULL_GROUP_BY,PAD_CHAR_TO_FULL_LENGTH,PIPES_AS_CONCAT,REAL_AS_FLOAT,STRICT_ALL_TABLES,STRICT_TRANS_TABLES\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/sql_mode\",\"name\":\"sql_mode\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"256\",\"description\":\"Sets a soft upper limit for the number of cached stored routines per connection.\",\"defaultValue\":\"256\",\"dataType\":\"Integer\",\"allowedValues\":\"16-524288\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/stored_program_cache\",\"name\":\"stored_program_cache\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"5000\",\"description\":\"The number of table definitions (from .frm files) that can be stored in the definition cache.\",\"defaultValue\":\"5000\",\"dataType\":\"Integer\",\"allowedValues\":\"400-524288\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/table_definition_cache\",\"name\":\"table_definition_cache\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"5000\",\"description\":\"The number of open tables for all threads.\",\"defaultValue\":\"5000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-40000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/table_open_cache\",\"name\":\"table_open_cache\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"The number of open tables cache instances.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"1-16\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/table_open_cache_instances\",\"name\":\"table_open_cache_instances\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"14\",\"description\":\"How many threads the server should cache for reuse. The default value is 8 + (max_connections / 100), capped to a limit of 100.\",\"defaultValue\":\"14\",\"dataType\":\"Integer\",\"allowedValues\":\"0-16384\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/thread_cache_size\",\"name\":\"thread_cache_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"one-thread-per-connection\",\"description\":\"The thread-handling model used by the server for connection threads.\",\"defaultValue\":\"one-thread-per-connection\",\"dataType\":\"Enumeration\",\"allowedValues\":\"one-thread-per-connection,pool-of-threads\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/thread_handling\",\"name\":\"thread_handling\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Maximum time for a thread to run continously (unit: us).\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/thread_pool_batch_max_time\",\"name\":\"thread_pool_batch_max_time\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Maximum time for a thread to wait for socket ready (unit: us).\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/thread_pool_batch_wait_timeout\",\"name\":\"thread_pool_batch_wait_timeout\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"65535\",\"description\":\"The minimal number of threads in the thread pool. Only works when thread_handling=pool-of-threads.\",\"defaultValue\":\"65535\",\"dataType\":\"Integer\",\"allowedValues\":\"1-65535\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/thread_pool_max_threads\",\"name\":\"thread_pool_max_threads\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"The maximal number of threads in the thread pool. Only works when thread_handling=pool-of-threads.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"1-65535\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/thread_pool_min_threads\",\"name\":\"thread_pool_min_threads\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"SYSTEM\",\"description\":\"The server time zone\",\"defaultValue\":\"SYSTEM\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/time_zone\",\"name\":\"time_zone\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"16777216\",\"description\":\"The maximum size of internal in-memory temporary tables. This variable does not apply to user-created MEMORY tables.\",\"defaultValue\":\"16777216\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-134217728\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/tmp_table_size\",\"name\":\"tmp_table_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"8192\",\"description\":\"The amount in bytes by which to increase a per-transaction memory pool which needs memory.\",\"defaultValue\":\"8192\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-131072\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/transaction_alloc_block_size\",\"name\":\"transaction_alloc_block_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"There is a per-transaction memory pool from which various transaction-related allocations take memory. The initial size of the pool in bytes is transaction_prealloc_size.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-131072\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/transaction_prealloc_size\",\"name\":\"transaction_prealloc_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"REPEATABLE-READ\",\"description\":\"The default transaction isolation level.\",\"defaultValue\":\"REPEATABLE-READ\",\"dataType\":\"Enumeration\",\"allowedValues\":\"READ-UNCOMMITTED,READ-COMMITTED,REPEATABLE-READ,SERIALIZABLE\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/tx_isolation\",\"name\":\"tx_isolation\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"YES\",\"description\":\"This variable controls whether updates to a view can be made when the view does not contain all columns of the primary key defined in the underlying table, if the update statement contains a LIMIT clause.\",\"defaultValue\":\"YES\",\"dataType\":\"Enumeration\",\"allowedValues\":\"YES,NO\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/updatable_views_with_limit\",\"name\":\"updatable_views_with_limit\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"120\",\"description\":\"The number of seconds the server waits for activity on a noninteractive connection before closing it.\",\"defaultValue\":\"120\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/wait_timeout\",\"name\":\"wait_timeout\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"}]}" + "Content": "{\"value\":[{\"properties\":{\"value\":\"OFF\",\"description\":\"Allow to audit the log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/audit_log_enabled\",\"name\":\"audit_log_enabled\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"CONNECTION\",\"description\":\"Select the events to audit logs.\",\"defaultValue\":\"CONNECTION\",\"dataType\":\"Set\",\"allowedValues\":\"DDL,DML_SELECT,DML_NONSELECT,DCL,ADMIN,DML,GENERAL,CONNECTION,TABLE_ACCESS\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/audit_log_events\",\"name\":\"audit_log_events\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"azure_superuser\",\"description\":\"The comma-separated user list whose commands will not be in the audit logs.\",\"defaultValue\":\"azure_superuser\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/audit_log_exclude_users\",\"name\":\"audit_log_exclude_users\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"The comma-separated user list whose commands will be in the audit logs. It takes higher priority if the same user name is found in audit_log_exclude_users.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/audit_log_include_users\",\"name\":\"audit_log_include_users\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The number of seconds for automatic binary log file removal. The default is 0, which means no automatic removal. Possible removals happen at startup and when the binary log is flushed.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/binlog_expire_logs_seconds\",\"name\":\"binlog_expire_logs_seconds\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Controls how many microseconds the binary log commit waits before synchronizing the binary log file to disk.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0,11-1000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/binlog_group_commit_sync_delay\",\"name\":\"binlog_group_commit_sync_delay\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The maximum number of transactions to wait for before aborting the current delay as specified by binlog-group-commit-sync-delay.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/binlog_group_commit_sync_no_delay_count\",\"name\":\"binlog_group_commit_sync_no_delay_count\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"minimal\",\"description\":\"For MySQL row-based replication, this variable determines how row images are written to the binary log.\",\"defaultValue\":\"minimal\",\"dataType\":\"Enumeration\",\"allowedValues\":\"full,minimal,noblob\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/binlog_row_image\",\"name\":\"binlog_row_image\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"30\",\"description\":\"The binlog max capacity for stop.\",\"defaultValue\":\"30\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/binlog_sum_size_for_stop_pct_max\",\"name\":\"binlog_sum_size_for_stop_pct_max\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"latin1\",\"description\":\"Use charset_name as the default server character set.\",\"defaultValue\":\"latin1\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ARMSCII8,ASCII,BIG5,BINARY,CP1250,CP1251,CP1256,CP1257,CP850,CP852,CP866,CP932,DEC8,EUCJPMS,EUCKR,GB18030,GB2312,GBK,GEOSTD8,GREEK,HEBREW,HP8,KEYBCS2,KOI8R,KOI8U,LATIN1,LATIN2,LATIN5,LATIN7,MACCE,MACROMAN,SJIS,SWE7,TIS620,UCS2,UJIS,UTF16,UTF16LE,UTF32,UTF8,UTF8MB4\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/character_set_server\",\"name\":\"character_set_server\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"latin1_swedish_ci\",\"description\":\"The server\u0027s default collation.\",\"defaultValue\":\"latin1_swedish_ci\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ARMSCII8_BIN,ARMSCII8_GENERAL_CI,ASCII_BIN,ASCII_GENERAL_CI,BIG5_BIN,BIG5_CHINESE_CI,BINARY,CP1250_BIN,CP1250_CROATIAN_CI,CP1250_CZECH_CS,CP1250_GENERAL_CI,CP1250_POLISH_CI,CP1251_BIN,CP1251_BULGARIAN_CI,CP1251_GENERAL_CI,CP1251_GENERAL_CS,CP1251_UKRAINIAN_CI,CP1256_BIN,CP1256_GENERAL_CI,CP1257_BIN,CP1257_GENERAL_CI,CP1257_LITHUANIAN_CI,CP850_BIN,CP850_GENERAL_CI,CP852_BIN,CP852_GENERAL_CI,CP866_BIN,CP866_GENERAL_CI,CP932_BIN,CP932_JAPANESE_CI,DEC8_BIN,DEC8_SWEDISH_CI,EUCJPMS_BIN,EUCJPMS_JAPANESE_CI,EUCKR_BIN,EUCKR_KOREAN_CI,GB18030_BIN,GB18030_CHINESE_CI,GB18030_UNICODE_520_CI,GB2312_BIN,GB2312_CHINESE_CI,GBK_BIN,GBK_CHINESE_CI,GEOSTD8_BIN,GEOSTD8_GENERAL_CI,GREEK_BIN,GREEK_GENERAL_CI,HEBREW_BIN,HEBREW_GENERAL_CI,HP8_BIN,HP8_ENGLISH_CI,KEYBCS2_BIN,KEYBCS2_GENERAL_CI,KOI8R_BIN,KOI8R_GENERAL_CI,KOI8U_BIN,KOI8U_GENERAL_CI,LATIN1_BIN,LATIN1_DANISH_CI,LATIN1_GENERAL_CI,LATIN1_GENERAL_CS,LATIN1_GERMAN1_CI,LATIN1_GERMAN2_CI,LATIN1_SPANISH_CI,LATIN1_SWEDISH_CI,LATIN2_BIN,LATIN2_CROATIAN_CI,LATIN2_CZECH_CS,LATIN2_GENERAL_CI,LATIN2_HUNGARIAN_CI,LATIN5_BIN,LATIN5_TURKISH_CI,LATIN7_BIN,LATIN7_ESTONIAN_CS,LATIN7_GENERAL_CI,LATIN7_GENERAL_CS,MACCE_BIN,MACCE_GENERAL_CI,MACROMAN_BIN,MACROMAN_GENERAL_CI,SJIS_BIN,SJIS_JAPANESE_CI,SWE7_BIN,SWE7_SWEDISH_CI,TIS620_BIN,TIS620_THAI_CI,UCS2_BIN,UCS2_CROATIAN_CI,UCS2_CZECH_CI,UCS2_DANISH_CI,UCS2_ESPERANTO_CI,UCS2_ESTONIAN_CI,UCS2_GENERAL_CI,UCS2_GENERAL_MYSQL500_CI,UCS2_GERMAN2_CI,UCS2_HUNGARIAN_CI,UCS2_ICELANDIC_CI,UCS2_LATVIAN_CI,UCS2_LITHUANIAN_CI,UCS2_PERSIAN_CI,UCS2_POLISH_CI,UCS2_ROMAN_CI,UCS2_ROMANIAN_CI,UCS2_SINHALA_CI,UCS2_SLOVAK_CI,UCS2_SLOVENIAN_CI,UCS2_SPANISH_CI,UCS2_SPANISH2_CI,UCS2_SWEDISH_CI,UCS2_TURKISH_CI,UCS2_UNICODE_520_CI,UCS2_UNICODE_CI,UCS2_VIETNAMESE_CI,UJIS_BIN,UJIS_JAPANESE_CI,UTF16_BIN,UTF16_CROATIAN_CI,UTF16_CZECH_CI,UTF16_DANISH_CI,UTF16_ESPERANTO_CI,UTF16_ESTONIAN_CI,UTF16_GENERAL_CI,UTF16_GERMAN2_CI,UTF16_HUNGARIAN_CI,UTF16_ICELANDIC_CI,UTF16_LATVIAN_CI,UTF16_LITHUANIAN_CI,UTF16_PERSIAN_CI,UTF16_POLISH_CI,UTF16_ROMAN_CI,UTF16_ROMANIAN_CI,UTF16_SINHALA_CI,UTF16_SLOVAK_CI,UTF16_SLOVENIAN_CI,UTF16_SPANISH_CI,UTF16_SPANISH2_CI,UTF16_SWEDISH_CI,UTF16_TURKISH_CI,UTF16_UNICODE_520_CI,UTF16_UNICODE_CI,UTF16_VIETNAMESE_CI,UTF16LE_BIN,UTF16LE_GENERAL_CI,UTF32_BIN,UTF32_CROATIAN_CI,UTF32_CZECH_CI,UTF32_DANISH_CI,UTF32_ESPERANTO_CI,UTF32_ESTONIAN_CI,UTF32_GENERAL_CI,UTF32_GERMAN2_CI,UTF32_HUNGARIAN_CI,UTF32_ICELANDIC_CI,UTF32_LATVIAN_CI,UTF32_LITHUANIAN_CI,UTF32_PERSIAN_CI,UTF32_POLISH_CI,UTF32_ROMAN_CI,UTF32_ROMANIAN_CI,UTF32_SINHALA_CI,UTF32_SLOVAK_CI,UTF32_SLOVENIAN_CI,UTF32_SPANISH_CI,UTF32_SPANISH2_CI,UTF32_SWEDISH_CI,UTF32_TURKISH_CI,UTF32_UNICODE_520_CI,UTF32_UNICODE_CI,UTF32_VIETNAMESE_CI,UTF8_BIN,UTF8_CROATIAN_CI,UTF8_CZECH_CI,UTF8_DANISH_CI,UTF8_ESPERANTO_CI,UTF8_ESTONIAN_CI,UTF8_GENERAL_CI,UTF8_GENERAL_MYSQL500_CI,UTF8_GERMAN2_CI,UTF8_HUNGARIAN_CI,UTF8_ICELANDIC_CI,UTF8_LATVIAN_CI,UTF8_LITHUANIAN_CI,UTF8_PERSIAN_CI,UTF8_POLISH_CI,UTF8_ROMAN_CI,UTF8_ROMANIAN_CI,UTF8_SINHALA_CI,UTF8_SLOVAK_CI,UTF8_SLOVENIAN_CI,UTF8_SPANISH_CI,UTF8_SPANISH2_CI,UTF8_SWEDISH_CI,UTF8_TURKISH_CI,UTF8_UNICODE_520_CI,UTF8_UNICODE_CI,UTF8_VIETNAMESE_CI,UTF8MB4_BIN,UTF8MB4_CROATIAN_CI,UTF8MB4_CZECH_CI,UTF8MB4_DANISH_CI,UTF8MB4_ESPERANTO_CI,UTF8MB4_ESTONIAN_CI,UTF8MB4_GENERAL_CI,UTF8MB4_GERMAN2_CI,UTF8MB4_HUNGARIAN_CI,UTF8MB4_ICELANDIC_CI,UTF8MB4_LATVIAN_CI,UTF8MB4_LITHUANIAN_CI,UTF8MB4_PERSIAN_CI,UTF8MB4_POLISH_CI,UTF8MB4_ROMAN_CI,UTF8MB4_ROMANIAN_CI,UTF8MB4_SINHALA_CI,UTF8MB4_SLOVAK_CI,UTF8MB4_SLOVENIAN_CI,UTF8MB4_SPANISH_CI,UTF8MB4_SPANISH2_CI,UTF8MB4_SWEDISH_CI,UTF8MB4_TURKISH_CI,UTF8MB4_UNICODE_520_CI,UTF8MB4_UNICODE_CI,UTF8MB4_VIETNAMESE_CI\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/collation_server\",\"name\":\"collation_server\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The default mode value to use for the WEEK() function.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-7\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/default_week_format\",\"name\":\"default_week_format\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"Number of digits by which to increase the scale of the result of division operations.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"0-30\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/div_precision_increment\",\"name\":\"div_precision_increment\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"This variable indicates the number of equality ranges in an equality comparison condition when the optimizer should switch from using index dives to index statistics in estimating the number of qualifying rows.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/eq_range_index_dive_limit\",\"name\":\"eq_range_index_dive_limit\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Indicates the status of the Event Scheduler. It is always OFF for a replica server to keep the replication consistency.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/event_scheduler\",\"name\":\"event_scheduler\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"If this is set to a nonzero value, all tables are closed every flush_time seconds to free up resources and synchronize unflushed data to disk.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-8640000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/flush_time\",\"name\":\"flush_time\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"20\",\"description\":\"The number of top matches to use for full-text searches performed using WITH QUERY EXPANSION.\",\"defaultValue\":\"20\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/ft_query_expansion_limit\",\"name\":\"ft_query_expansion_limit\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"Maximum allowed result length in bytes for the GROUP_CONCAT().\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"4-16777216\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/group_concat_max_len\",\"name\":\"group_concat_max_len\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"A string to be executed by the server for each client that connects.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/init_connect\",\"name\":\"init_connect\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Specifies whether to dynamically adjust the rate of flushing dirty pages in the InnoDB buffer pool based on the workload. Adjusting the flush rate dynamically is intended to avoid bursts of I/O activity.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_adaptive_flushing\",\"name\":\"innodb_adaptive_flushing\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Defines the low water mark representing percentage of redo log capacity at which adaptive flushing is enabled.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-70\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_adaptive_flushing_lwm\",\"name\":\"innodb_adaptive_flushing_lwm\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Whether innodb adaptive hash indexes are enabled or disabled.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_adaptive_hash_index\",\"name\":\"innodb_adaptive_hash_index\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"Partitions the adaptive hash index search system. Each index is bound to a specific partition, with each partition protected by a separate latch. \",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"1-512\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_adaptive_hash_index_parts\",\"name\":\"innodb_adaptive_hash_index_parts\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"150000\",\"description\":\"Permits InnoDB to automatically adjust the value of innodb_thread_sleep_delay up or down according to the current workload.\",\"defaultValue\":\"150000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_adaptive_max_sleep_delay\",\"name\":\"innodb_adaptive_max_sleep_delay\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"The increment size (in megabytes) for extending the size of an auto-extending InnoDB system tablespace file when it becomes full.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"1-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_autoextend_increment\",\"name\":\"innodb_autoextend_increment\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"The lock mode to use for generating auto-increment values.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0,1,2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_autoinc_lock_mode\",\"name\":\"innodb_autoinc_lock_mode\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"25\",\"description\":\"Specifies the percentage of the most recently used pages for each buffer pool to read out and dump.\",\"defaultValue\":\"25\",\"dataType\":\"Integer\",\"allowedValues\":\"1-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_buffer_pool_dump_pct\",\"name\":\"innodb_buffer_pool_dump_pct\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"16106127360\",\"description\":\"The size in bytes of the buffer pool, the memory area where InnoDB caches table and index data.\",\"defaultValue\":\"16106127360\",\"dataType\":\"Integer\",\"allowedValues\":\"134217728-16106127360\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_buffer_pool_size\",\"name\":\"innodb_buffer_pool_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"25\",\"description\":\"Maximum size for the InnoDB change buffer, as a percentage of the total size of the buffer pool. You might increase this value for a MySQL server with heavy insert, update, and delete activity, or decrease it for a MySQL server with unchanging data used for reporting.\",\"defaultValue\":\"25\",\"dataType\":\"Integer\",\"allowedValues\":\"0-50\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_change_buffer_max_size\",\"name\":\"innodb_change_buffer_max_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"all\",\"description\":\"Whether InnoDB performs change buffering, an optimization that delays write operations to secondary indexes so that the I/O operations can be performed sequentially.\",\"defaultValue\":\"all\",\"dataType\":\"Enumeration\",\"allowedValues\":\"none,inserts,deletes,changes,purges,all\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_change_buffering\",\"name\":\"innodb_change_buffering\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Enables per-index compression-related statistics in the INFORMATION_SCHEMA.INNODB_CMP_PER_INDEX table. Because these statistics can be expensive to gather, only enable this option on development, test, or slave instances during performance tuning related to InnoDB compressed tables.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_cmp_per_index_enabled\",\"name\":\"innodb_cmp_per_index_enabled\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The number of threads that can commit at the same time. A value of 0 (the default) permits any number of transactions to commit simultaneously. The value of innodb_commit_concurrency cannot be changed at runtime from zero to nonzero or vice versa. The value can be changed from one nonzero value to another.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_commit_concurrency\",\"name\":\"innodb_commit_concurrency\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"5\",\"description\":\"Defines the compression failure rate threshold for a table, as a percentage, at which point MySQL begins adding padding within compressed pages to avoid expensive compression failures.\",\"defaultValue\":\"5\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_compression_failure_threshold_pct\",\"name\":\"innodb_compression_failure_threshold_pct\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"6\",\"description\":\"Specifies the level of zlib compression to use for InnoDB compressed tables and indexes. A higher value lets you fit more data onto a storage device, at the expense of more CPU overhead during compression. A lower value lets you reduce CPU overhead when storage space is not critical, or you expect the data is not especially compressible.\",\"defaultValue\":\"6\",\"dataType\":\"Integer\",\"allowedValues\":\"0-9\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_compression_level\",\"name\":\"innodb_compression_level\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"Specifies the maximum percentage that can be reserved as free space within each compressed page, allowing room to reorganize the data and modification log within the page when a compressed table or index is updated and the data might be recompressed. Only applies when innodb_compression_failure_threshold_pct is set to a nonzero value, and the rate of compression failures passes the cutoff point.\",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"0-75\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_compression_pad_pct_max\",\"name\":\"innodb_compression_pad_pct_max\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"5000\",\"description\":\"Determines the number of threads that can enter InnoDB concurrently.\",\"defaultValue\":\"5000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_concurrency_tickets\",\"name\":\"innodb_concurrency_tickets\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"This option is used to disable deadlock detection. On high concurrency systems, deadlock detection can cause a slowdown when numerous threads wait for the same lock.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_deadlock_detect\",\"name\":\"innodb_deadlock_detect\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"DYNAMIC\",\"description\":\"The innodb_default_row_format option defines the default row format for InnoDB tables and user-created temporary tables.\",\"defaultValue\":\"DYNAMIC\",\"dataType\":\"Enumeration\",\"allowedValues\":\"DYNAMIC,COMPACT,REDUNDANT\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_default_row_format\",\"name\":\"innodb_default_row_format\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"Barracuda\",\"description\":\"Indicates the InnoDB file format for file-per-table tablespaces.\",\"defaultValue\":\"Barracuda\",\"dataType\":\"Enumeration\",\"allowedValues\":\"Antelope,Barracuda\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_file_format\",\"name\":\"innodb_file_format\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"InnoDB stores the data and indexes for each newly created table in a separate .ibd file instead of the system tablespace. It cannot be updated any more for a master/replica server to keep the replication consistency.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_file_per_table\",\"name\":\"innodb_file_per_table\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"InnoDB performs a bulk load when creating or rebuilding indexes.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"10-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_fill_factor\",\"name\":\"innodb_fill_factor\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"8000000\",\"description\":\"The memory allocated, in bytes, for the InnoDB FULLTEXT search index cache, which holds a parsed document in memory while creating an InnoDB FULLTEXT index.\",\"defaultValue\":\"8000000\",\"dataType\":\"Integer\",\"allowedValues\":\"1600000-80000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_ft_cache_size\",\"name\":\"innodb_ft_cache_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Specifies that a set of stopwords is associated with an InnoDB FULLTEXT index at the time the index is created.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_ft_enable_stopword\",\"name\":\"innodb_ft_enable_stopword\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"84\",\"description\":\"Maximum character length of words that are stored in an InnoDB FULLTEXT index.\",\"defaultValue\":\"84\",\"dataType\":\"Integer\",\"allowedValues\":\"10-84\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_ft_max_token_size\",\"name\":\"innodb_ft_max_token_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"3\",\"description\":\"Minimum length of words that are stored in an InnoDB FULLTEXT index.\",\"defaultValue\":\"3\",\"dataType\":\"Integer\",\"allowedValues\":\"0-16\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_ft_min_token_size\",\"name\":\"innodb_ft_min_token_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"2000\",\"description\":\"Number of words to process during each OPTIMIZE TABLE operation on an InnoDB FULLTEXT index.\",\"defaultValue\":\"2000\",\"dataType\":\"Integer\",\"allowedValues\":\"1000-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_ft_num_word_optimize\",\"name\":\"innodb_ft_num_word_optimize\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"2000000000\",\"description\":\"The InnoDB full-text search query result cache limit (defined in bytes) per full-text search query or per thread.\",\"defaultValue\":\"2000000000\",\"dataType\":\"Integer\",\"allowedValues\":\"1000000-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_ft_result_cache_limit\",\"name\":\"innodb_ft_result_cache_limit\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Number of threads used in parallel to index and tokenize text in an InnoDB FULLTEXT index when building a search index.\",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"1-32\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_ft_sort_pll_degree\",\"name\":\"innodb_ft_sort_pll_degree\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"640000000\",\"description\":\"The total memory allocated, in bytes, for the InnoDB full-text search index cache for all tables.\",\"defaultValue\":\"640000000\",\"dataType\":\"Integer\",\"allowedValues\":\"32000000-1280000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_ft_total_cache_size\",\"name\":\"innodb_ft_total_cache_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"Sets an upper limit on I/O activity performed by InnoDB background tasks, such as flushing pages from the buffer pool and merging data from the change buffer.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"100-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_io_capacity\",\"name\":\"innodb_io_capacity\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"2000\",\"description\":\"If flushing activity falls behind, InnoDB can flush more aggressively than the limit imposed by innodb_io_capacity. innodb_io_capacity_max defines an upper limit the number of I/O operations performed per second by InnoDB background tasks in such situations.\",\"defaultValue\":\"2000\",\"dataType\":\"Integer\",\"allowedValues\":\"100-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_io_capacity_max\",\"name\":\"innodb_io_capacity_max\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"When this option is enabled, index key prefixes longer than 767 bytes (up to 3072 bytes) are allowed for InnoDB tables that use DYNAMIC or COMPRESSED row format.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_large_prefix\",\"name\":\"innodb_large_prefix\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"The length of time in seconds an InnoDB transaction waits for a row lock before giving up.\",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"1-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_lock_wait_timeout\",\"name\":\"innodb_lock_wait_timeout\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Specifies whether images of re-compressed pages are written to the redo log.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_log_compressed_pages\",\"name\":\"innodb_log_compressed_pages\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"A parameter that influences the algorithms and heuristics for the flush operation for the InnoDB buffer pool.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"100-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_lru_scan_depth\",\"name\":\"innodb_lru_scan_depth\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"75\",\"description\":\"InnoDB tries to flush data from the buffer pool so that the percentage of dirty pages does not exceed this value.\",\"defaultValue\":\"75\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-99.99\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_max_dirty_pages_pct\",\"name\":\"innodb_max_dirty_pages_pct\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Defines a low water mark representing the percentage of dirty pages at which preflushing is enabled to control the dirty page ratio.\",\"defaultValue\":\"0\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-99.99\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_max_dirty_pages_pct_lwm\",\"name\":\"innodb_max_dirty_pages_pct_lwm\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Defines the maximum length of the purge queue. The default value of 0 indicates no limit (no delays).\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_max_purge_lag\",\"name\":\"innodb_max_purge_lag\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Specifies the maximum delay in microseconds for the delay imposed by the innodb_max_purge_lag configuration option.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-10000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_max_purge_lag_delay\",\"name\":\"innodb_max_purge_lag_delay\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"37\",\"description\":\"Specifies the approximate percentage of the InnoDB buffer pool used for the old block sublist.\",\"defaultValue\":\"37\",\"dataType\":\"Integer\",\"allowedValues\":\"5-95\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_old_blocks_pct\",\"name\":\"innodb_old_blocks_pct\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1000\",\"description\":\"Non-zero values protect against the buffer pool being filled by data that is referenced only for a brief period, such as during a full table scan.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_old_blocks_time\",\"name\":\"innodb_old_blocks_time\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"134217728\",\"description\":\"Specifies an upper limit on the size of the temporary log files used during online DDL operations for InnoDB tables.\",\"defaultValue\":\"134217728\",\"dataType\":\"Integer\",\"allowedValues\":\"65536-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_online_alter_log_max_size\",\"name\":\"innodb_online_alter_log_max_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Changes the way OPTIMIZE TABLE operates on InnoDB tables. Intended to be enabled temporarily, during maintenance operations for InnoDB tables with FULLTEXT indexes.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_optimize_fulltext_only\",\"name\":\"innodb_optimize_fulltext_only\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"The number of page cleaner threads that flush dirty pages from buffer pool instances.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"1-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_page_cleaners\",\"name\":\"innodb_page_cleaners\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"300\",\"description\":\"Defines the number of undo log pages that purge parses and processes in one batch from the history list.\",\"defaultValue\":\"300\",\"dataType\":\"Integer\",\"allowedValues\":\"1-5000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_purge_batch_size\",\"name\":\"innodb_purge_batch_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"128\",\"description\":\"Defines the frequency with which the purge system frees rollback segments in terms of the number of times that purge is invoked. Reducing this value increases the frequency with which the purge thread frees rollback segments.\",\"defaultValue\":\"128\",\"dataType\":\"Integer\",\"allowedValues\":\"1-128\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_purge_rseg_truncate_frequency\",\"name\":\"innodb_purge_rseg_truncate_frequency\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"The number of background threads devoted to the InnoDB purge operation.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"1-32\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_purge_threads\",\"name\":\"innodb_purge_threads\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Enables the random read-ahead technique for optimizing InnoDB I/O.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_random_read_ahead\",\"name\":\"innodb_random_read_ahead\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"56\",\"description\":\"Controls the sensitivity of linear read-ahead that InnoDB uses to prefetch pages into the buffer pool.\",\"defaultValue\":\"56\",\"dataType\":\"Integer\",\"allowedValues\":\"0-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_read_ahead_threshold\",\"name\":\"innodb_read_ahead_threshold\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"The number of I/O threads for read operations in InnoDB.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"1-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_read_io_threads\",\"name\":\"innodb_read_io_threads\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"128\",\"description\":\"Defines the number of rollback segments used by InnoDB.\",\"defaultValue\":\"128\",\"dataType\":\"Integer\",\"allowedValues\":\"1-128\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_rollback_segments\",\"name\":\"innodb_rollback_segments\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Causes InnoDB to automatically recalculate persistent statistics after the data in a table is changed substantially.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_stats_auto_recalc\",\"name\":\"innodb_stats_auto_recalc\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\" Enabled to ensure that InnoDB includes delete-marked records when calculating persistent optimizer statistics.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_stats_include_delete_marked\",\"name\":\"innodb_stats_include_delete_marked\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"nulls_equal\",\"description\":\"How the server treats NULL values when collecting statistics about the distribution of index values for InnoDB tables.\",\"defaultValue\":\"nulls_equal\",\"dataType\":\"Enumeration\",\"allowedValues\":\"nulls_equal,nulls_unequal,nulls_ignored\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_stats_method\",\"name\":\"innodb_stats_method\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This option only applies when optimizer statistics are configured to be non-persistent. When innodb_stats_on_metadata is enabled, InnoDB updates non-persistent statistics when metadata statements such as SHOW TABLE STATUS or when accessing the INFORMATION_SCHEMA.TABLES or INFORMATION_SCHEMA.STATISTICS tables.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_stats_on_metadata\",\"name\":\"innodb_stats_on_metadata\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Specifies whether InnoDB index statistics are persisted to disk. Otherwise, statistics may be recalculated frequently which can lead to variations in query execution plans.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_stats_persistent\",\"name\":\"innodb_stats_persistent\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"20\",\"description\":\"The number of index pages to sample when estimating cardinality and other statistics for an indexed column, such as those calculated by ANALYZE TABLE.\",\"defaultValue\":\"20\",\"dataType\":\"Integer\",\"allowedValues\":\"1-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_stats_persistent_sample_pages\",\"name\":\"innodb_stats_persistent_sample_pages\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"The number of index pages to sample when estimating cardinality and other statistics for an indexed column, such as those calculated by ANALYZE TABLE.\",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"1-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_stats_transient_sample_pages\",\"name\":\"innodb_stats_transient_sample_pages\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Defines the size of the mutex/lock wait array. Increasing the value splits the internal data structure used to coordinate threads, for higher concurrency in workloads with large numbers of waiting threads. \",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"1-1024\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_sync_array_size\",\"name\":\"innodb_sync_array_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"The default value of innodb_table_locks is 1, which means that LOCK TABLES causes InnoDB to lock a table internally if autocommit = 0.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_table_locks\",\"name\":\"innodb_table_locks\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"InnoDB tries to keep the number of operating system threads concurrently inside InnoDB less than or equal to the limit given by this variable.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_thread_concurrency\",\"name\":\"innodb_thread_concurrency\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"10000\",\"description\":\"Defines how long InnoDB threads sleep before joining the InnoDB queue, in microseconds.\",\"defaultValue\":\"10000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_thread_sleep_delay\",\"name\":\"innodb_thread_sleep_delay\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"The number of I/O threads for write operations in InnoDB.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"1-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/innodb_write_io_threads\",\"name\":\"innodb_write_io_threads\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"28800\",\"description\":\"Number of seconds the server waits for activity on an interactive connection before closing it.\",\"defaultValue\":\"28800\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/interactive_timeout\",\"name\":\"interactive_timeout\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"262144\",\"description\":\"The minimum size of the buffer that is used for plain index scans, range index scans, and joins that do not use indexes and thus perform full table scans.\",\"defaultValue\":\"262144\",\"dataType\":\"Integer\",\"allowedValues\":\"128-536870912\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/join_buffer_size\",\"name\":\"join_buffer_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"This variable controls server-side LOCAL capability for LOAD DATA statements.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/local_infile\",\"name\":\"local_infile\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"31536000\",\"description\":\"This variable specifies the timeout in seconds for attempts to acquire metadata locks.\",\"defaultValue\":\"31536000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/lock_wait_timeout\",\"name\":\"lock_wait_timeout\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This variable applies when binary logging is enabled. It controls whether stored function creators can be trusted not to create stored functions that will cause unsafe events to be written to the binary log. It cannot be updated any more for a master/replica server to keep the replication consistency.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/log_bin_trust_function_creators\",\"name\":\"log_bin_trust_function_creators\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"FILE\",\"description\":\"The destination for general query log and slow query log output.\",\"defaultValue\":\"FILE\",\"dataType\":\"Set\",\"allowedValues\":\"FILE,NONE\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/log_output\",\"name\":\"log_output\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Logs queries that are expected to retrieve all rows to slow query log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/log_queries_not_using_indexes\",\"name\":\"log_queries_not_using_indexes\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Include slow administrative statements in the statements written to the slow query log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/log_slow_admin_statements\",\"name\":\"log_slow_admin_statements\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"When the slow query log is enabled, this variable enables logging for queries that have taken more than long_query_time seconds to execute on the slave.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/log_slow_slave_statements\",\"name\":\"log_slow_slave_statements\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Limits the number of such queries per minute that can be written to the slow query log.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/log_throttle_queries_not_using_indexes\",\"name\":\"log_throttle_queries_not_using_indexes\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"If a query takes longer than this many seconds, the server increments the Slow_queries status variable.\",\"defaultValue\":\"10\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/long_query_time\",\"name\":\"long_query_time\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"If set to 1, table names are stored in lowercase on disk and comparisons are not case sensitive. If set to 2, table names are stored as given but compared in lowercase.\",\"defaultValue\":\"1\",\"dataType\":\"Enumeration\",\"allowedValues\":\"1,2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/lower_case_table_names\",\"name\":\"lower_case_table_names\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"536870912\",\"description\":\"The maximum size of one packet or any generated/intermediate string, or any parameter sent by the mysql_stmt_send_long_data() C API function.\",\"defaultValue\":\"536870912\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/max_allowed_packet\",\"name\":\"max_allowed_packet\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"If more than this many successive connection requests from a host are interrupted without a successful connection, the server blocks that host from further connections.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/max_connect_errors\",\"name\":\"max_connect_errors\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"625\",\"description\":\"The maximum permitted number of simultaneous client connections.\",\"defaultValue\":\"625\",\"dataType\":\"Integer\",\"allowedValues\":\"10-1250\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/max_connections\",\"name\":\"max_connections\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"The maximum number of bytes available for computing normalized statement digests.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/max_digest_length\",\"name\":\"max_digest_length\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"The maximum number of error, warning, and note messages to be stored for display by the SHOW ERRORS and SHOW WARNINGS statements.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"0-65535\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/max_error_count\",\"name\":\"max_error_count\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The execution timeout for SELECT statements, in milliseconds. If the value is 0, timeouts are not enabled.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/max_execution_time\",\"name\":\"max_execution_time\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"16777216\",\"description\":\"This variable sets the maximum size to which user-created MEMORY tables are permitted to grow.\",\"defaultValue\":\"16777216\",\"dataType\":\"Integer\",\"allowedValues\":\"16384-536870912\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/max_heap_table_size\",\"name\":\"max_heap_table_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"18446744073709551615\",\"description\":\"Do not permit statements that probably need to examine more than max_join_size rows\",\"defaultValue\":\"18446744073709551615\",\"dataType\":\"Integer\",\"allowedValues\":\"1-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/max_join_size\",\"name\":\"max_join_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"The cutoff on the size of index values that determines which filesort algorithm to use.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"4-8388608\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/max_length_for_sort_data\",\"name\":\"max_length_for_sort_data\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"65536\",\"description\":\"The maximum value of the points_per_circle argument to the ST_Buffer_Strategy() function.\",\"defaultValue\":\"65536\",\"dataType\":\"Integer\",\"allowedValues\":\"3-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/max_points_in_geometry\",\"name\":\"max_points_in_geometry\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"16382\",\"description\":\"This variable limits the total number of prepared statements in the server.\",\"defaultValue\":\"16382\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/max_prepared_stmt_count\",\"name\":\"max_prepared_stmt_count\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4294967295\",\"description\":\"Limit the assumed maximum number of seeks when looking up rows based on a key.\",\"defaultValue\":\"4294967295\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/max_seeks_for_key\",\"name\":\"max_seeks_for_key\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"The number of bytes to use when sorting data values.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"4-8388608\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/max_sort_length\",\"name\":\"max_sort_length\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The number of times that any given stored procedure may be called recursively. The default value for this option is 0, which completely disables recursion in stored procedures.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-255\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/max_sp_recursion_depth\",\"name\":\"max_sp_recursion_depth\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The maximum number of simultaneous connections permitted to any given MySQL user account. A value of 0 (the default) means \u0027no limit.\u0027\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/max_user_connections\",\"name\":\"max_user_connections\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4294967295\",\"description\":\"After this many write locks, permit some pending read lock requests to be processed in between.\",\"defaultValue\":\"4294967295\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/max_write_lock_count\",\"name\":\"max_write_lock_count\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Can be used to cause queries which examine fewer than the stated number of rows not to be logged.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/min_examined_row_limit\",\"name\":\"min_examined_row_limit\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"16384\",\"description\":\"Each client thread is associated with a connection buffer and result buffer. Both begin with a size given by net_buffer_length but are dynamically enlarged up to max_allowed_packet bytes as needed.\",\"defaultValue\":\"16384\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/net_buffer_length\",\"name\":\"net_buffer_length\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"120\",\"description\":\"The number of seconds the server waits for network reading action, especially for LOAD DATA LOCAL FILE.\",\"defaultValue\":\"120\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/net_read_timeout\",\"name\":\"net_read_timeout\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"If a read or write on a communication port is interrupted, retry this many times before giving up.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/net_retry_count\",\"name\":\"net_retry_count\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"240\",\"description\":\"The number of seconds the server waits for network writing action, especially for LOAD DATA LOCAL FILE.\",\"defaultValue\":\"240\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/net_write_timeout\",\"name\":\"net_write_timeout\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Defines the n-gram token size for the n-gram full-text parser. \",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/ngram_token_size\",\"name\":\"ngram_token_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Controls the heuristics applied during query optimization to prune less-promising partial plans from the optimizer search space.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0,1\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/optimizer_prune_level\",\"name\":\"optimizer_prune_level\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"62\",\"description\":\"The maximum depth of search performed by the query optimizer.\",\"defaultValue\":\"62\",\"dataType\":\"Integer\",\"allowedValues\":\"0-62\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/optimizer_search_depth\",\"name\":\"optimizer_search_depth\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"default\",\"description\":\"The value of this variable is a set of flags, each of which has a value of on or off to indicate whether the corresponding optimizer behavior is enabled or disabled.\",\"defaultValue\":\"default\",\"dataType\":\"Set\",\"allowedValues\":\"default,batched_key_access=on,batched_key_access=off,block_nested_loop=on,block_nested_loop=off,condition_fanout_filter=on,condition_fanout_filter=off,derived_merge=on,derived_merge=off,duplicateweedout=on,duplicateweedout=off,engine_condition_pushdown=on,engine_condition_pushdown=off,firstmatch=on,firstmatch=off,index_condition_pushdown=on,index_condition_pushdown=off,index_merge=on,index_merge=off,index_merge_intersection=on,index_merge_intersection=off,index_merge_sort_union=on,index_merge_sort_union=off,index_merge_union=on,index_merge_union=off,loosescan=on,loosescan=off,materialization=on,materialization=off,mrr=on,mrr=off,mrr_cost_based=on,mrr_cost_based=off,semijoin=on,semijoin=off,subquery_materialization_cost_based=on,subquery_materialization_cost_based=off,use_index_extensions=on,use_index_extensions=off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/optimizer_switch\",\"name\":\"optimizer_switch\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"18446744073709551615\",\"description\":\"The maximum amount of memory available to the parser.\",\"defaultValue\":\"18446744073709551615\",\"dataType\":\"Integer\",\"allowedValues\":\"10000000-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/parser_max_mem_size\",\"name\":\"parser_max_mem_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"The value of this variable is ON or OFF to indicate whether the Performance Schema is enabled.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/performance_schema\",\"name\":\"performance_schema\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"32768\",\"description\":\"The size of the buffer that is allocated when preloading indexes.\",\"defaultValue\":\"32768\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/preload_buffer_size\",\"name\":\"preload_buffer_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1048576\",\"description\":\"Do not cache results that are larger than this number of bytes.\",\"defaultValue\":\"1048576\",\"dataType\":\"Integer\",\"allowedValues\":\"0-33554432\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/query_cache_limit\",\"name\":\"query_cache_limit\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"The minimum size (in bytes) for blocks allocated by the query cache.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"512-32768\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/query_cache_min_res_unit\",\"name\":\"query_cache_min_res_unit\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The amount of memory allocated for caching query results.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0,102400-33554432\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/query_cache_size\",\"name\":\"query_cache_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Set the query cache type.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF,DEMAND\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/query_cache_type\",\"name\":\"query_cache_type\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"8192\",\"description\":\"The size of the persistent buffer used for statement parsing and execution. This buffer is not freed between statements. If you are running complex queries, a larger value might be helpful in improving performance, because it can reduce the need for the server to perform memory allocation during query execution operations.\",\"defaultValue\":\"8192\",\"dataType\":\"Integer\",\"allowedValues\":\"8192-32768\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/query_prealloc_size\",\"name\":\"query_prealloc_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"15\",\"description\":\"The query store capture interval in minutes. Allows to specify the interval in which the query metrics are aggregated.\",\"defaultValue\":\"15\",\"dataType\":\"Integer\",\"allowedValues\":\"5-60\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/query_store_capture_interval\",\"name\":\"query_store_capture_interval\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"NONE\",\"description\":\"The query store capture mode, NONE means do not capture any statements. NOTE: If performance_schema is OFF, turning on query_store_capture_mode will turn on performance_schema and a subset of performance schema instruments required for this feature.\",\"defaultValue\":\"NONE\",\"dataType\":\"Enumeration\",\"allowedValues\":\"NONE,ALL\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/query_store_capture_mode\",\"name\":\"query_store_capture_mode\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"NO\",\"description\":\"Turning ON or OFF to capture all the utility queries that is executing in the system.\",\"defaultValue\":\"NO\",\"dataType\":\"Enumeration\",\"allowedValues\":\"YES,NO\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/query_store_capture_utility_queries\",\"name\":\"query_store_capture_utility_queries\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"7\",\"description\":\"The query store capture interval in minutes. Allows to specify the interval in which the query metrics are aggregated.\",\"defaultValue\":\"7\",\"dataType\":\"Integer\",\"allowedValues\":\"1-30\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/query_store_retention_period_in_days\",\"name\":\"query_store_retention_period_in_days\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"NONE\",\"description\":\"The query store wait event sampling capture mode, NONE means do not capture any wait events.\",\"defaultValue\":\"NONE\",\"dataType\":\"Enumeration\",\"allowedValues\":\"NONE,ALL\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/query_store_wait_sampling_capture_mode\",\"name\":\"query_store_wait_sampling_capture_mode\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"30\",\"description\":\"The query store wait event sampling frequency in seconds.\",\"defaultValue\":\"30\",\"dataType\":\"Integer\",\"allowedValues\":\"5-300\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/query_store_wait_sampling_frequency\",\"name\":\"query_store_wait_sampling_frequency\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"The size of blocks that are allocated when doing range optimization.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-32768\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/range_alloc_block_size\",\"name\":\"range_alloc_block_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"8388608\",\"description\":\"The limit on memory consumption for the range optimizer. A value of 0 means \u0027no limit.\u0027\",\"defaultValue\":\"8388608\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-33554432\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/range_optimizer_max_mem_size\",\"name\":\"range_optimizer_max_mem_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This parameter controls whetherthe server permits no client updates. When the server is read replica or server storage is full, this parameter will not take effect.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/read_only\",\"name\":\"read_only\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Indicate server support redirection.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/redirect_enabled\",\"name\":\"redirect_enabled\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1073741824\",\"description\":\"This option places an upper limit on the total size in bytes of all relay logs on the slave.\",\"defaultValue\":\"1073741824\",\"dataType\":\"Integer\",\"allowedValues\":\"1073741824-3221225472\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/relay_log_space_limit\",\"name\":\"relay_log_space_limit\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"mysql.%\",\"description\":\"Creates a replication filter which keeps the slave thread from replicating a statement in which any table matches the given wildcard pattern. To specify more than one table to ignore, use comma-separated list.\",\"defaultValue\":\"mysql.%\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/replicate_wild_ignore_table\",\"name\":\"replicate_wild_ignore_table\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1409435902\",\"description\":\"The server ID, used in replication to give each master and slave a unique identity.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"1000-4294967295\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/server_id\",\"name\":\"server_id\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Controls whether the server tracks changes to the default schema (database) name within the current session and makes this information available to the client when changes occur.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/session_track_schema\",\"name\":\"session_track_schema\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Controls whether the server tracks changes to the state of the current session and notifies the client when state changes occur.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/session_track_state_change\",\"name\":\"session_track_state_change\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Affects whether MySQL 5.6 compatibility is enabled with respect to how system and status variable information is provided by the INFORMATION_SCHEMA and Performance Schema tables, and also by the SHOW VARIABLES and SHOW STATUS statements.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/show_compatibility_56\",\"name\":\"show_compatibility_56\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This prevents people from using the SHOW DATABASES statement if they do not have the SHOW DATABASES privilege. \",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/skip_show_database\",\"name\":\"skip_show_database\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"60\",\"description\":\"The number of seconds to wait for more data from the master before the slave considers the connection broken, aborts the read, and tries to reconnect.\",\"defaultValue\":\"60\",\"dataType\":\"Integer\",\"allowedValues\":\"30-3600\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/slave_net_timeout\",\"name\":\"slave_net_timeout\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Enable or disable the slow query log\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/slow_query_log\",\"name\":\"slow_query_log\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"524288\",\"description\":\"Each session that must perform a sort allocates a buffer of this size.\",\"defaultValue\":\"524288\",\"dataType\":\"Integer\",\"allowedValues\":\"32768-8388608\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/sort_buffer_size\",\"name\":\"sort_buffer_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"The current server SQL mode.\",\"defaultValue\":\"\",\"dataType\":\"Set\",\"allowedValues\":\",ALLOW_INVALID_DATES,ANSI_QUOTES,ERROR_FOR_DIVISION_BY_ZERO,HIGH_NOT_PRECEDENCE,IGNORE_SPACE,NO_AUTO_CREATE_USER,NO_AUTO_VALUE_ON_ZERO,NO_BACKSLASH_ESCAPES,NO_DIR_IN_CREATE,NO_ENGINE_SUBSTITUTION,NO_FIELD_OPTIONS,NO_KEY_OPTIONS,NO_TABLE_OPTIONS,NO_UNSIGNED_SUBTRACTION,NO_ZERO_DATE,NO_ZERO_IN_DATE,ONLY_FULL_GROUP_BY,PAD_CHAR_TO_FULL_LENGTH,PIPES_AS_CONCAT,REAL_AS_FLOAT,STRICT_ALL_TABLES,STRICT_TRANS_TABLES\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/sql_mode\",\"name\":\"sql_mode\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"256\",\"description\":\"Sets a soft upper limit for the number of cached stored routines per connection.\",\"defaultValue\":\"256\",\"dataType\":\"Integer\",\"allowedValues\":\"16-524288\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/stored_program_cache\",\"name\":\"stored_program_cache\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"5000\",\"description\":\"The number of table definitions (from .frm files) that can be stored in the definition cache.\",\"defaultValue\":\"5000\",\"dataType\":\"Integer\",\"allowedValues\":\"400-524288\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/table_definition_cache\",\"name\":\"table_definition_cache\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"5000\",\"description\":\"The number of open tables for all threads.\",\"defaultValue\":\"5000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-40000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/table_open_cache\",\"name\":\"table_open_cache\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"The number of open tables cache instances.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"1-16\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/table_open_cache_instances\",\"name\":\"table_open_cache_instances\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"14\",\"description\":\"How many threads the server should cache for reuse. The default value is 8 + (max_connections / 100), capped to a limit of 100.\",\"defaultValue\":\"14\",\"dataType\":\"Integer\",\"allowedValues\":\"0-16384\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/thread_cache_size\",\"name\":\"thread_cache_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"one-thread-per-connection\",\"description\":\"The thread-handling model used by the server for connection threads.\",\"defaultValue\":\"one-thread-per-connection\",\"dataType\":\"Enumeration\",\"allowedValues\":\"one-thread-per-connection,pool-of-threads\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/thread_handling\",\"name\":\"thread_handling\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Maximum time for a thread to run continously (unit: us).\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/thread_pool_batch_max_time\",\"name\":\"thread_pool_batch_max_time\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Maximum time for a thread to wait for socket ready (unit: us).\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/thread_pool_batch_wait_timeout\",\"name\":\"thread_pool_batch_wait_timeout\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"65535\",\"description\":\"The minimal number of threads in the thread pool. Only works when thread_handling=pool-of-threads.\",\"defaultValue\":\"65535\",\"dataType\":\"Integer\",\"allowedValues\":\"1-65535\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/thread_pool_max_threads\",\"name\":\"thread_pool_max_threads\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"The maximal number of threads in the thread pool. Only works when thread_handling=pool-of-threads.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"1-65535\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/thread_pool_min_threads\",\"name\":\"thread_pool_min_threads\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"SYSTEM\",\"description\":\"The server time zone\",\"defaultValue\":\"SYSTEM\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/time_zone\",\"name\":\"time_zone\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"16777216\",\"description\":\"The maximum size of internal in-memory temporary tables. This variable does not apply to user-created MEMORY tables.\",\"defaultValue\":\"16777216\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-134217728\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/tmp_table_size\",\"name\":\"tmp_table_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"8192\",\"description\":\"The amount in bytes by which to increase a per-transaction memory pool which needs memory.\",\"defaultValue\":\"8192\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-131072\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/transaction_alloc_block_size\",\"name\":\"transaction_alloc_block_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"There is a per-transaction memory pool from which various transaction-related allocations take memory. The initial size of the pool in bytes is transaction_prealloc_size.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-131072\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/transaction_prealloc_size\",\"name\":\"transaction_prealloc_size\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"REPEATABLE-READ\",\"description\":\"The default transaction isolation level.\",\"defaultValue\":\"REPEATABLE-READ\",\"dataType\":\"Enumeration\",\"allowedValues\":\"READ-UNCOMMITTED,READ-COMMITTED,REPEATABLE-READ,SERIALIZABLE\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/tx_isolation\",\"name\":\"tx_isolation\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"YES\",\"description\":\"This variable controls whether updates to a view can be made when the view does not contain all columns of the primary key defined in the underlying table, if the update statement contains a LIMIT clause.\",\"defaultValue\":\"YES\",\"dataType\":\"Enumeration\",\"allowedValues\":\"YES,NO\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/updatable_views_with_limit\",\"name\":\"updatable_views_with_limit\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"},{\"properties\":{\"value\":\"120\",\"description\":\"The number of seconds the server waits for activity on a noninteractive connection before closing it.\",\"defaultValue\":\"120\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/wait_timeout\",\"name\":\"wait_timeout\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"}]}" } }, - "Get-AzMySqlConfiguration+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/time_zone?api-version=2017-12-01+1": { + "Get-AzMySqlConfiguration+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/time_zone?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/time_zone?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/time_zone?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2" ], @@ -74,13 +74,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"value\":\"SYSTEM\",\"description\":\"The server time zone\",\"defaultValue\":\"SYSTEM\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/time_zone\",\"name\":\"time_zone\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"}" + "Content": "{\"properties\":{\"value\":\"SYSTEM\",\"description\":\"The server time zone\",\"defaultValue\":\"SYSTEM\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/time_zone\",\"name\":\"time_zone\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"}" } }, - "Get-AzMySqlConfiguration+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/server_id?api-version=2017-12-01+1": { + "Get-AzMySqlConfiguration+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/server_id?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/server_id?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/server_id?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "3" ], @@ -113,7 +113,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"value\":\"1409435902\",\"description\":\"The server ID, used in replication to give each master and slave a unique identity.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"1000-4294967295\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/server_id\",\"name\":\"server_id\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"}" + "Content": "{\"properties\":{\"value\":\"1409435902\",\"description\":\"The server ID, used in replication to give each master and slave a unique identity.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"1000-4294967295\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/server_id\",\"name\":\"server_id\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"}" } } } \ No newline at end of file diff --git a/src/MySql/test/Get-AzMySqlConnectionString.Recording.json b/src/MySql/test/Get-AzMySqlConnectionString.Recording.json index 0ebeee730f7e..45fd568a5c74 100644 --- a/src/MySql/test/Get-AzMySqlConnectionString.Recording.json +++ b/src/MySql/test/Get-AzMySqlConnectionString.Recording.json @@ -1,8 +1,8 @@ { - "Get-AzMySqlConnectionString+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { + "Get-AzMySqlConnectionString+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1" ], @@ -35,13 +35,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } }, - "Get-AzMySqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { + "Get-AzMySqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2" ], @@ -74,13 +74,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } }, - "Get-AzMySqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+2": { + "Get-AzMySqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "3" ], @@ -113,13 +113,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } }, - "Get-AzMySqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+3": { + "Get-AzMySqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "4" ], @@ -152,13 +152,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } }, - "Get-AzMySqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+4": { + "Get-AzMySqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "5" ], @@ -191,13 +191,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } }, - "Get-AzMySqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+5": { + "Get-AzMySqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "6" ], @@ -230,13 +230,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } }, - "Get-AzMySqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+6": { + "Get-AzMySqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "7" ], @@ -269,13 +269,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } }, - "Get-AzMySqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+7": { + "Get-AzMySqlConnectionString+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "8" ], @@ -308,7 +308,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } } } \ No newline at end of file diff --git a/src/MySql/test/Get-AzMySqlFirewallRule.Recording.json b/src/MySql/test/Get-AzMySqlFirewallRule.Recording.json index 490c40f2621d..57f54602a095 100644 --- a/src/MySql/test/Get-AzMySqlFirewallRule.Recording.json +++ b/src/MySql/test/Get-AzMySqlFirewallRule.Recording.json @@ -1,8 +1,8 @@ { - "Get-AzMySqlFirewallRule+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { + "Get-AzMySqlFirewallRule+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": "{\n \"properties\": {\n \"endIpAddress\": \"0.0.0.1\",\n \"startIpAddress\": \"0.0.0.0\"\n }\n}", "Headers": { }, @@ -76,10 +76,10 @@ "Content": "{\"name\":\"6be5f02d-99c6-48a2-b817-a102f1802474\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T05:24:25.77Z\"}" } }, - "Get-AzMySqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { + "Get-AzMySqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1", "2", "3" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBForMySQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBForMySQL/servers/firewallRules\"}" } }, - "Get-AzMySqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules?api-version=2017-12-01+4": { + "Get-AzMySqlFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "4" ], @@ -151,13 +151,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBForMySQL/servers/firewallRules\"}]}" + "Content": "{\"value\":[{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBForMySQL/servers/firewallRules\"}]}" } }, - "Get-AzMySqlFirewallRule+[NoContext]+List+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+5": { + "Get-AzMySqlFirewallRule+[NoContext]+List+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+5": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "5" ], @@ -274,10 +274,10 @@ "Content": null } }, - "Get-AzMySqlFirewallRule+[NoContext]+Get+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { + "Get-AzMySqlFirewallRule+[NoContext]+Get+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": "{\n \"properties\": {\n \"endIpAddress\": \"0.0.0.1\",\n \"startIpAddress\": \"0.0.0.0\"\n }\n}", "Headers": { }, @@ -351,10 +351,10 @@ "Content": "{\"name\":\"32c7fbff-0076-4284-88ed-a58c6c5dc049\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T05:25:01.13Z\"}" } }, - "Get-AzMySqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { + "Get-AzMySqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "8", "9", "10" ], @@ -387,13 +387,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBForMySQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBForMySQL/servers/firewallRules\"}" } }, - "Get-AzMySqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+4": { + "Get-AzMySqlFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "11" ], @@ -426,13 +426,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBForMySQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBForMySQL/servers/firewallRules\"}" } }, - "Get-AzMySqlFirewallRule+[NoContext]+Get+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+5": { + "Get-AzMySqlFirewallRule+[NoContext]+Get+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+5": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "12" ], @@ -549,10 +549,10 @@ "Content": null } }, - "Get-AzMySqlFirewallRule+[NoContext]+GetViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { + "Get-AzMySqlFirewallRule+[NoContext]+GetViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": "{\n \"properties\": {\n \"endIpAddress\": \"0.0.0.1\",\n \"startIpAddress\": \"0.0.0.0\"\n }\n}", "Headers": { }, @@ -626,10 +626,10 @@ "Content": "{\"name\":\"45403173-0f51-4d6c-be03-f0b08a4ea1fa\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T05:25:36.24Z\"}" } }, - "Get-AzMySqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { + "Get-AzMySqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "15", "16", "17" ], @@ -662,13 +662,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBForMySQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBForMySQL/servers/firewallRules\"}" } }, - "Get-AzMySqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+4": { + "Get-AzMySqlFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "18" ], @@ -701,13 +701,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBForMySQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBForMySQL/servers/firewallRules\"}" } }, - "Get-AzMySqlFirewallRule+[NoContext]+GetViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+5": { + "Get-AzMySqlFirewallRule+[NoContext]+GetViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+5": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "19" ], diff --git a/src/MySql/test/Get-AzMySqlFlexibleServer.Recording.json b/src/MySql/test/Get-AzMySqlFlexibleServer.Recording.json index b2bfdc21f738..1281138fdff1 100644 --- a/src/MySql/test/Get-AzMySqlFlexibleServer.Recording.json +++ b/src/MySql/test/Get-AzMySqlFlexibleServer.Recording.json @@ -35,13 +35,13 @@ "Expires": [ "-1" ], "Content-Length": [ "9128" ] }, - "Content": "{\"value\":[{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"daeunyim\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"daeun-powershell-server.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-05T22:52:03.0402396+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/daeun-powershell-mysql/providers/Microsoft.DBforMySQL/flexibleServers/daeun-powershell-server\",\"name\":\"daeun-powershell-server\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-flexible-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\"name\":\"mysql-flexible-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"speedySnail9\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"server012637588.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-05T18:08:43.7580523+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/daeun-cli-test/providers/Microsoft.Network/virtualNetworks/VNET012637588/subnets/Subnet012637588\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/daeun-cli-test/providers/Microsoft.DBforMySQL/flexibleServers/server012637588\",\"name\":\"server012637588\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"liquidRaccoon8\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"server022804110.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-04T19:54:26.7636175+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group1482159619/providers/Microsoft.Network/virtualNetworks/VNET022804110/subnets/Subnet022804110\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group1482159619/providers/Microsoft.DBforMySQL/flexibleServers/server022804110\",\"name\":\"server022804110\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"prizeStork9\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"server168864419.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-04T19:38:08.4695498+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group4637056872/providers/Microsoft.Network/virtualNetworks/VNET168864419/subnets/Subnet168864419\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group4637056872/providers/Microsoft.DBforMySQL/flexibleServers/server168864419\",\"name\":\"server168864419\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"famousOstrich3\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"server293736511.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-04T21:33:22.0805152+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group2718179930/providers/Microsoft.Network/virtualNetworks/VNET293736511/subnets/Subnet293736511\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group2718179930/providers/Microsoft.DBforMySQL/flexibleServers/server293736511\",\"name\":\"server293736511\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"admiredCattle5\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"server353717254.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-04T19:02:49.9648937+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group2742570377/providers/Microsoft.Network/virtualNetworks/VNET353717254/subnets/Subnet353717254\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group2742570377/providers/Microsoft.DBforMySQL/flexibleServers/server353717254\",\"name\":\"server353717254\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"shyGull9\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"server561537754.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-09T09:20:18.4548363+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/daeun-powershell-mysql/providers/Microsoft.Network/virtualNetworks/VNET561537754/subnets/Subnet561537754\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/daeun-powershell-mysql/providers/Microsoft.DBforMySQL/flexibleServers/server561537754\",\"name\":\"server561537754\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"adminuser\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysqlrwtestfs.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-04T06:43:49.6738646+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/mysqlrwtestrg/providers/Microsoft.DBforMySQL/flexibleServers/mysqlrwtestfs\",\"name\":\"mysqlrwtestfs\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}]}" + "Content": "{\"value\":[{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"daeunyim\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"daeun-powershell-server.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-05T22:52:03.0402396+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/daeun-powershell-mysql/providers/Microsoft.DBforMySQL/flexibleServers/daeun-powershell-server\",\"name\":\"daeun-powershell-server\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-flexible-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\"name\":\"mysql-flexible-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"speedySnail9\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"server012637588.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-05T18:08:43.7580523+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/daeun-cli-test/providers/Microsoft.Network/virtualNetworks/VNET012637588/subnets/Subnet012637588\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/daeun-cli-test/providers/Microsoft.DBforMySQL/flexibleServers/server012637588\",\"name\":\"server012637588\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"liquidRaccoon8\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"server022804110.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-04T19:54:26.7636175+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group1482159619/providers/Microsoft.Network/virtualNetworks/VNET022804110/subnets/Subnet022804110\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group1482159619/providers/Microsoft.DBforMySQL/flexibleServers/server022804110\",\"name\":\"server022804110\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"prizeStork9\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"server168864419.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-04T19:38:08.4695498+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group4637056872/providers/Microsoft.Network/virtualNetworks/VNET168864419/subnets/Subnet168864419\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group4637056872/providers/Microsoft.DBforMySQL/flexibleServers/server168864419\",\"name\":\"server168864419\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"famousOstrich3\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"server293736511.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-04T21:33:22.0805152+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group2718179930/providers/Microsoft.Network/virtualNetworks/VNET293736511/subnets/Subnet293736511\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group2718179930/providers/Microsoft.DBforMySQL/flexibleServers/server293736511\",\"name\":\"server293736511\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"admiredCattle5\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"server353717254.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-04T19:02:49.9648937+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group2742570377/providers/Microsoft.Network/virtualNetworks/VNET353717254/subnets/Subnet353717254\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/group2742570377/providers/Microsoft.DBforMySQL/flexibleServers/server353717254\",\"name\":\"server353717254\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"shyGull9\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"server561537754.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-09T09:20:18.4548363+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/daeun-powershell-mysql/providers/Microsoft.Network/virtualNetworks/VNET561537754/subnets/Subnet561537754\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/daeun-powershell-mysql/providers/Microsoft.DBforMySQL/flexibleServers/server561537754\",\"name\":\"server561537754\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"},{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"adminuser\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysqlrwtestfs.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-04T06:43:49.6738646+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"East US\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/mysqlrwtestrg/providers/Microsoft.DBforMySQL/flexibleServers/mysqlrwtestfs\",\"name\":\"mysqlrwtestfs\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}]}" } }, - "Get-AzMySqlFlexibleServer+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview+1": { + "Get-AzMySqlFlexibleServer+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "2" ], @@ -74,13 +74,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-flexible-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\"name\":\"mysql-flexible-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-flexible-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\"name\":\"mysql-flexible-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } }, - "Get-AzMySqlFlexibleServer+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers?api-version=2020-07-01-preview+1": { + "Get-AzMySqlFlexibleServer+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers?api-version=2020-07-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "3" ], @@ -113,13 +113,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-flexible-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\"name\":\"mysql-flexible-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}]}" + "Content": "{\"value\":[{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-flexible-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\"name\":\"mysql-flexible-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}]}" } }, - "Get-AzMySqlFlexibleServer+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview+1": { + "Get-AzMySqlFlexibleServer+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "4" ], @@ -152,7 +152,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-flexible-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\"name\":\"mysql-flexible-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-flexible-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\"name\":\"mysql-flexible-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } } } \ No newline at end of file diff --git a/src/MySql/test/Get-AzMySqlFlexibleServerConfiguration.Recording.json b/src/MySql/test/Get-AzMySqlFlexibleServerConfiguration.Recording.json index d2074dbc6407..4311ee98bb0a 100644 --- a/src/MySql/test/Get-AzMySqlFlexibleServerConfiguration.Recording.json +++ b/src/MySql/test/Get-AzMySqlFlexibleServerConfiguration.Recording.json @@ -1,8 +1,8 @@ { - "Get-AzMySqlFlexibleServerConfiguration+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/configurations?api-version=2020-07-01-preview+1": { + "Get-AzMySqlFlexibleServerConfiguration+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/configurations?api-version=2020-07-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/configurations?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/configurations?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "1" ], @@ -35,13 +35,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"properties\":{\"value\":\"OFF\",\"description\":\"Tell the server to enable or disable archive engine.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/archive\",\"name\":\"archive\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Allow to audit the log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/audit_log_enabled\",\"name\":\"audit_log_enabled\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"CONNECTION\",\"description\":\"Select the events to audit logs.\",\"defaultValue\":\"CONNECTION\",\"dataType\":\"Set\",\"allowedValues\":\"DDL,DML_SELECT,DML_NONSELECT,DCL,ADMIN,DML,GENERAL,CONNECTION,TABLE_ACCESS\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/audit_log_events\",\"name\":\"audit_log_events\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"azure_superuser\",\"description\":\"The comma-separated user list whose commands will not be in the audit logs.\",\"defaultValue\":\"azure_superuser\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/audit_log_exclude_users\",\"name\":\"audit_log_exclude_users\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"The comma-separated user list whose commands will be in the audit logs. It takes higher priority if the same user name is found in audit_log_exclude_users.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/audit_log_include_users\",\"name\":\"audit_log_include_users\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Allow to audit the slow log.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/audit_slow_log_enabled\",\"name\":\"audit_slow_log_enabled\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Controls whether the server autogenerates SSL key and certificate files in the data directory, if they do not already exist.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/auto_generate_certs\",\"name\":\"auto_generate_certs\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"The autocommit mode. If set to ON, all changes to a table take effect immediately. If set to OFF, you must use COMMIT to accept a transaction or ROLLBACK to cancel it.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/autocommit\",\"name\":\"autocommit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This variable controls whether ALTER TABLE implicitly upgrades temporal columns found to be in pre-5.6.4 format.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/avoid_temporal_upgrade\",\"name\":\"avoid_temporal_upgrade\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"271\",\"description\":\"The number of outstanding connection requests MySQL can have\",\"defaultValue\":\"271\",\"dataType\":\"Integer\",\"allowedValues\":\"0-65535\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/back_log\",\"name\":\"back_log\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1048576\",\"description\":\"The size of the cache to hold changes to the binary log during a transaction.\",\"defaultValue\":\"1048576\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967296\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/binlog_cache_size\",\"name\":\"binlog_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"CRC32\",\"description\":\"When enabled, this variable causes the master to write a checksum for each event in the binary log.\",\"defaultValue\":\"CRC32\",\"dataType\":\"Enumeration\",\"allowedValues\":\"NONE,CRC32\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/binlog_checksum\",\"name\":\"binlog_checksum\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ABORT_SERVER\",\"description\":\"Controls what happens when the server cannot write to the binary log, which can cause the master\u0027s log to become inconsistent and replication slaves to lose synchronization.\",\"defaultValue\":\"ABORT_SERVER\",\"dataType\":\"Enumeration\",\"allowedValues\":\"IGNORE_ERROR,ABORT_SERVER\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/binlog_error_action\",\"name\":\"binlog_error_action\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The number of seconds for automatic binary log file removal. The default is 0, which means no automatic removal. Possible removals happen at startup and when the binary log is flushed.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/binlog_expire_logs_seconds\",\"name\":\"binlog_expire_logs_seconds\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ROW\",\"description\":\"This variable sets the binary logging format, and can be any one of STATEMENT, ROW, or MIXED.\",\"defaultValue\":\"ROW\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ROW,STATEMENT,MIXED\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/binlog_format\",\"name\":\"binlog_format\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Controls how many microseconds the binary log commit waits before synchronizing the binary log file to disk.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0,11-1000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/binlog_group_commit_sync_delay\",\"name\":\"binlog_group_commit_sync_delay\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The maximum number of transactions to wait for before aborting the current delay as specified by binlog-group-commit-sync-delay.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/binlog_group_commit_sync_no_delay_count\",\"name\":\"binlog_group_commit_sync_no_delay_count\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"This variable controls how binary log files are iterated during the search for GTIDs when MySQL starts or restarts.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/binlog_gtid_simple_recovery\",\"name\":\"binlog_gtid_simple_recovery\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"If this variable is enabled (the default), transactions are committed in the same order they are written to the binary log. If disabled, transactions may be committed in parallel.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/binlog_order_commits\",\"name\":\"binlog_order_commits\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"minimal\",\"description\":\"For MySQL row-based replication, this variable determines how row images are written to the binary log.\",\"defaultValue\":\"minimal\",\"dataType\":\"Enumeration\",\"allowedValues\":\"full,minimal,noblob\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/binlog_row_image\",\"name\":\"binlog_row_image\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"The binlog_rows_query_log_events system variable affects row-based logging only. When enabled, it causes the MySQL Server to write informational log events such as row query log events into its binary log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/binlog_rows_query_log_events\",\"name\":\"binlog_rows_query_log_events\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"32768\",\"description\":\"This variable determines the size of the cache for the binary log to hold nontransactional statements issued during a transaction.\",\"defaultValue\":\"32768\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/binlog_stmt_cache_size\",\"name\":\"binlog_stmt_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1048576\",\"description\":\"Specify the maximum size of a row-based binary log event in bytes.\",\"defaultValue\":\"1048576\",\"dataType\":\"Integer\",\"allowedValues\":\"256-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/binlog-row-event-max-size\",\"name\":\"binlog-row-event-max-size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Tell the server to enable or disable blackhole engine.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/blackhole\",\"name\":\"blackhole\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"aes-128-ecb\",\"description\":\"This variable controls the block encryption mode for block-based algorithms such as AES.\",\"defaultValue\":\"aes-128-ecb\",\"dataType\":\"Enumeration\",\"allowedValues\":\"aes-128-ecb,aes-192-ecb,aes-256-ecb,aes-128-cbc,aes-192-cbc,aes-256-cbc\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/block_encryption_mode\",\"name\":\"block_encryption_mode\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8388608\",\"description\":\"Limits the size of the MyISAM cache tree in bytes per thread.\",\"defaultValue\":\"8388608\",\"dataType\":\"Integer\",\"allowedValues\":\"0-18446744073709547520\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/bulk_insert_buffer_size\",\"name\":\"bulk_insert_buffer_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"latin1\",\"description\":\"Use charset_name as the default server character set.\",\"defaultValue\":\"latin1\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ARMSCII8,ASCII,BIG5,BINARY,CP1250,CP1251,CP1256,CP1257,CP850,CP852,CP866,CP932,DEC8,EUCJPMS,EUCKR,GB18030,GB2312,GBK,GEOSTD8,GREEK,HEBREW,HP8,KEYBCS2,KOI8R,KOI8U,LATIN1,LATIN2,LATIN5,LATIN7,MACCE,MACROMAN,SJIS,SWE7,TIS620,UCS2,UJIS,UTF16,UTF16LE,UTF32,UTF8,UTF8MB4\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/character_set_server\",\"name\":\"character_set_server\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"latin1_swedish_ci\",\"description\":\"The server\u0027s default collation.\",\"defaultValue\":\"latin1_swedish_ci\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ARMSCII8_BIN,ARMSCII8_GENERAL_CI,ASCII_BIN,ASCII_GENERAL_CI,BIG5_BIN,BIG5_CHINESE_CI,BINARY,CP1250_BIN,CP1250_CROATIAN_CI,CP1250_CZECH_CS,CP1250_GENERAL_CI,CP1250_POLISH_CI,CP1251_BIN,CP1251_BULGARIAN_CI,CP1251_GENERAL_CI,CP1251_GENERAL_CS,CP1251_UKRAINIAN_CI,CP1256_BIN,CP1256_GENERAL_CI,CP1257_BIN,CP1257_GENERAL_CI,CP1257_LITHUANIAN_CI,CP850_BIN,CP850_GENERAL_CI,CP852_BIN,CP852_GENERAL_CI,CP866_BIN,CP866_GENERAL_CI,CP932_BIN,CP932_JAPANESE_CI,DEC8_BIN,DEC8_SWEDISH_CI,EUCJPMS_BIN,EUCJPMS_JAPANESE_CI,EUCKR_BIN,EUCKR_KOREAN_CI,GB18030_BIN,GB18030_CHINESE_CI,GB18030_UNICODE_520_CI,GB2312_BIN,GB2312_CHINESE_CI,GBK_BIN,GBK_CHINESE_CI,GEOSTD8_BIN,GEOSTD8_GENERAL_CI,GREEK_BIN,GREEK_GENERAL_CI,HEBREW_BIN,HEBREW_GENERAL_CI,HP8_BIN,HP8_ENGLISH_CI,KEYBCS2_BIN,KEYBCS2_GENERAL_CI,KOI8R_BIN,KOI8R_GENERAL_CI,KOI8U_BIN,KOI8U_GENERAL_CI,LATIN1_BIN,LATIN1_DANISH_CI,LATIN1_GENERAL_CI,LATIN1_GENERAL_CS,LATIN1_GERMAN1_CI,LATIN1_GERMAN2_CI,LATIN1_SPANISH_CI,LATIN1_SWEDISH_CI,LATIN2_BIN,LATIN2_CROATIAN_CI,LATIN2_CZECH_CS,LATIN2_GENERAL_CI,LATIN2_HUNGARIAN_CI,LATIN5_BIN,LATIN5_TURKISH_CI,LATIN7_BIN,LATIN7_ESTONIAN_CS,LATIN7_GENERAL_CI,LATIN7_GENERAL_CS,MACCE_BIN,MACCE_GENERAL_CI,MACROMAN_BIN,MACROMAN_GENERAL_CI,SJIS_BIN,SJIS_JAPANESE_CI,SWE7_BIN,SWE7_SWEDISH_CI,TIS620_BIN,TIS620_THAI_CI,UCS2_BIN,UCS2_CROATIAN_CI,UCS2_CZECH_CI,UCS2_DANISH_CI,UCS2_ESPERANTO_CI,UCS2_ESTONIAN_CI,UCS2_GENERAL_CI,UCS2_GENERAL_MYSQL500_CI,UCS2_GERMAN2_CI,UCS2_HUNGARIAN_CI,UCS2_ICELANDIC_CI,UCS2_LATVIAN_CI,UCS2_LITHUANIAN_CI,UCS2_PERSIAN_CI,UCS2_POLISH_CI,UCS2_ROMAN_CI,UCS2_ROMANIAN_CI,UCS2_SINHALA_CI,UCS2_SLOVAK_CI,UCS2_SLOVENIAN_CI,UCS2_SPANISH_CI,UCS2_SPANISH2_CI,UCS2_SWEDISH_CI,UCS2_TURKISH_CI,UCS2_UNICODE_520_CI,UCS2_UNICODE_CI,UCS2_VIETNAMESE_CI,UJIS_BIN,UJIS_JAPANESE_CI,UTF16_BIN,UTF16_CROATIAN_CI,UTF16_CZECH_CI,UTF16_DANISH_CI,UTF16_ESPERANTO_CI,UTF16_ESTONIAN_CI,UTF16_GENERAL_CI,UTF16_GERMAN2_CI,UTF16_HUNGARIAN_CI,UTF16_ICELANDIC_CI,UTF16_LATVIAN_CI,UTF16_LITHUANIAN_CI,UTF16_PERSIAN_CI,UTF16_POLISH_CI,UTF16_ROMAN_CI,UTF16_ROMANIAN_CI,UTF16_SINHALA_CI,UTF16_SLOVAK_CI,UTF16_SLOVENIAN_CI,UTF16_SPANISH_CI,UTF16_SPANISH2_CI,UTF16_SWEDISH_CI,UTF16_TURKISH_CI,UTF16_UNICODE_520_CI,UTF16_UNICODE_CI,UTF16_VIETNAMESE_CI,UTF16LE_BIN,UTF16LE_GENERAL_CI,UTF32_BIN,UTF32_CROATIAN_CI,UTF32_CZECH_CI,UTF32_DANISH_CI,UTF32_ESPERANTO_CI,UTF32_ESTONIAN_CI,UTF32_GENERAL_CI,UTF32_GERMAN2_CI,UTF32_HUNGARIAN_CI,UTF32_ICELANDIC_CI,UTF32_LATVIAN_CI,UTF32_LITHUANIAN_CI,UTF32_PERSIAN_CI,UTF32_POLISH_CI,UTF32_ROMAN_CI,UTF32_ROMANIAN_CI,UTF32_SINHALA_CI,UTF32_SLOVAK_CI,UTF32_SLOVENIAN_CI,UTF32_SPANISH_CI,UTF32_SPANISH2_CI,UTF32_SWEDISH_CI,UTF32_TURKISH_CI,UTF32_UNICODE_520_CI,UTF32_UNICODE_CI,UTF32_VIETNAMESE_CI,UTF8_BIN,UTF8_CROATIAN_CI,UTF8_CZECH_CI,UTF8_DANISH_CI,UTF8_ESPERANTO_CI,UTF8_ESTONIAN_CI,UTF8_GENERAL_CI,UTF8_GENERAL_MYSQL500_CI,UTF8_GERMAN2_CI,UTF8_HUNGARIAN_CI,UTF8_ICELANDIC_CI,UTF8_LATVIAN_CI,UTF8_LITHUANIAN_CI,UTF8_PERSIAN_CI,UTF8_POLISH_CI,UTF8_ROMAN_CI,UTF8_ROMANIAN_CI,UTF8_SINHALA_CI,UTF8_SLOVAK_CI,UTF8_SLOVENIAN_CI,UTF8_SPANISH_CI,UTF8_SPANISH2_CI,UTF8_SWEDISH_CI,UTF8_TURKISH_CI,UTF8_UNICODE_520_CI,UTF8_UNICODE_CI,UTF8_VIETNAMESE_CI,UTF8MB4_BIN,UTF8MB4_CROATIAN_CI,UTF8MB4_CZECH_CI,UTF8MB4_DANISH_CI,UTF8MB4_ESPERANTO_CI,UTF8MB4_ESTONIAN_CI,UTF8MB4_GENERAL_CI,UTF8MB4_GERMAN2_CI,UTF8MB4_HUNGARIAN_CI,UTF8MB4_ICELANDIC_CI,UTF8MB4_LATVIAN_CI,UTF8MB4_LITHUANIAN_CI,UTF8MB4_PERSIAN_CI,UTF8MB4_POLISH_CI,UTF8MB4_ROMAN_CI,UTF8MB4_ROMANIAN_CI,UTF8MB4_SINHALA_CI,UTF8MB4_SLOVAK_CI,UTF8MB4_SLOVENIAN_CI,UTF8MB4_SPANISH_CI,UTF8MB4_SPANISH2_CI,UTF8MB4_SWEDISH_CI,UTF8MB4_TURKISH_CI,UTF8MB4_UNICODE_520_CI,UTF8MB4_UNICODE_CI,UTF8MB4_VIETNAMESE_CI\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/collation_server\",\"name\":\"collation_server\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"NO_CHAIN\",\"description\":\"The transaction completion type.\",\"defaultValue\":\"NO_CHAIN\",\"dataType\":\"Enumeration\",\"allowedValues\":\"NO_CHAIN,CHAIN,RELEASE\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/completion_type\",\"name\":\"completion_type\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"AUTO\",\"description\":\"Allows INSERT and SELECT statements to run concurrently for MyISAM tables that have no free blocks in the middle of the data file.\",\"defaultValue\":\"AUTO\",\"dataType\":\"Enumeration\",\"allowedValues\":\"NEVER,AUTO,ALWAYS\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/concurrent_insert\",\"name\":\"concurrent_insert\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"The number of seconds that the mysqld server waits for a connect packet before responding with Bad handshake.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"2-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/connect_timeout\",\"name\":\"connect_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"mysql_native_password\",\"description\":\"The default authentication plugin\",\"defaultValue\":\"mysql_native_password\",\"dataType\":\"Enumeration\",\"allowedValues\":\"mysql_native_password,sha256_password\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/default_authentication_plugin\",\"name\":\"default_authentication_plugin\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"This variable defines the global automatic password expiration policy.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-65535\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/default_password_lifetime\",\"name\":\"default_password_lifetime\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"InnoDB\",\"description\":\"The default storage engine (table type).\",\"defaultValue\":\"InnoDB\",\"dataType\":\"Enumeration\",\"allowedValues\":\"InnoDB,CSV,MEMORY\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/default_storage_engine\",\"name\":\"default_storage_engine\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"InnoDB\",\"description\":\"The default storage engine for TEMPORARY tables.\",\"defaultValue\":\"InnoDB\",\"dataType\":\"Enumeration\",\"allowedValues\":\"InnoDB,MyISAM,CSV,PERFORMANCE_SCHEMA,MEMORY,MRG_MYISAM\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/default_tmp_storage_engine\",\"name\":\"default_tmp_storage_engine\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The default mode value to use for the WEEK() function.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-7\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/default_week_format\",\"name\":\"default_week_format\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"It specifies how to use delayed key writes.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF,ALL\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/delay_key_write\",\"name\":\"delay_key_write\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"After inserting delayed_insert_limit delayed rows, the INSERT DELAYED handler thread checks whether there are any SELECT statements pending. If so, it allows them to execute before continuing to insert delayed rows.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"1-9223372036854775807\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/delayed_insert_limit\",\"name\":\"delayed_insert_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"300\",\"description\":\"How many seconds an INSERT DELAYED handler thread should wait for INSERT statements before terminating.\",\"defaultValue\":\"300\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/delayed_insert_timeout\",\"name\":\"delayed_insert_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1000\",\"description\":\"If the queue becomes full, any client that issues an INSERT DELAYED statement waits until there is room in the queue again.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-9223372036854775807\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/delayed_queue_size\",\"name\":\"delayed_queue_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"MyISAM,BLACKHOLE,FEDEATED,ARCHIVE\",\"description\":\"This variable indicates which storage engines cannot be used to create tables or tablespaces.\",\"defaultValue\":\"MyISAM,BLACKHOLE,FEDEATED,ARCHIVE\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/disabled_storage_engines\",\"name\":\"disabled_storage_engines\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Whether to disable the startup check for tables with nonnative partitioning.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/disable-partition-engine-check\",\"name\":\"disable-partition-engine-check\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Controls how the server handles clients with expired passwords:\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/disconnect_on_expired_password\",\"name\":\"disconnect_on_expired_password\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"Number of digits by which to increase the scale of the result of division operations.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"0-30\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/div_precision_increment\",\"name\":\"div_precision_increment\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Whether optimizer JSON output should add end markers.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/end_markers_in_json\",\"name\":\"end_markers_in_json\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"When enable, this option enforces GTID consistency by allowing execution of only those statements that can be logged in a transactionally safe manner.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF,WARN\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/enforce_gtid_consistency\",\"name\":\"enforce_gtid_consistency\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"This variable indicates the number of equality ranges in an equality comparison condition when the optimizer should switch from using index dives to index statistics in estimating the number of qualifying rows.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/eq_range_index_dive_limit\",\"name\":\"eq_range_index_dive_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Indicates the status of the Event Scheduler. It is always OFF for a replica server to keep the replication consistency.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/event_scheduler\",\"name\":\"event_scheduler\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The number of days for automatic binary log file removal. The default is 0, which means no automatic removal. Possible removals happen at startup and when the binary log is flushed.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-99\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/expire_logs_days\",\"name\":\"expire_logs_days\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"[Deprecated] This system variable determines whether the server enables certain nonstandard behaviors for default values and NULL-value handling in TIMESTAMP columns.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/explicit_defaults_for_timestamp\",\"name\":\"explicit_defaults_for_timestamp\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"If ON, the server flushes (synchronizes) all changes to disk after each SQL statement. Normally, MySQL does a write of all changes to disk only after each SQL statement and lets the operating system handle the synchronizing to disk.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/flush\",\"name\":\"flush\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"If this is set to a nonzero value, all tables are closed every flush_time seconds to free up resources and synchronize unflushed data to disk.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-8640000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/flush_time\",\"name\":\"flush_time\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"+ -\u003e\u003c()~*:\\\"\\\"\u0026|\",\"description\":\"The list of operators supported by boolean full-text searches performed using IN BOOLEAN MODE.\",\"defaultValue\":\"+ -\u003e\u003c()~*:\\\"\\\"\u0026|\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/ft_boolean_syntax\",\"name\":\"ft_boolean_syntax\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"20\",\"description\":\"The number of top matches to use for full-text searches performed using WITH QUERY EXPANSION.\",\"defaultValue\":\"20\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/ft_query_expansion_limit\",\"name\":\"ft_query_expansion_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Whether the general query log is enabled.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/general_log\",\"name\":\"general_log\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"/app/work/serverlogs/mysql-general-mysql-flexible-test-100-2020111008.log\",\"description\":\"The name of the general query log file. \",\"defaultValue\":\"mysql-general.log\",\"dataType\":\"String\",\"allowedValues\":\"mysql-general.log\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/general_log_file\",\"name\":\"general_log_file\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"Maximum allowed result length in bytes for the GROUP_CONCAT().\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"4-16777216\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/group_concat_max_len\",\"name\":\"group_concat_max_len\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1000\",\"description\":\"Compress the mysql.gtid_executed table each time this many transactions have taken place.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/gtid_executed_compression_period\",\"name\":\"gtid_executed_compression_period\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Indicates if global transaction identifiers (GTIDs) are used to identify transactions.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"OFF,OFF_PERMISSIVE,ON_PERMISSIVE,ON\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/gtid_mode\",\"name\":\"gtid_mode\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"279\",\"description\":\"The size of the internal host cache.\",\"defaultValue\":\"279\",\"dataType\":\"Integer\",\"allowedValues\":\"0-65536\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/host_cache_size\",\"name\":\"host_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"A string to be executed by the server for each client that connects.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/init_connect\",\"name\":\"init_connect\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Specifies whether to dynamically adjust the rate of flushing dirty pages in the InnoDB buffer pool based on the workload. Adjusting the flush rate dynamically is intended to avoid bursts of I/O activity.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_adaptive_flushing\",\"name\":\"innodb_adaptive_flushing\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Defines the low water mark representing percentage of redo log capacity at which adaptive flushing is enabled.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-70\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_adaptive_flushing_lwm\",\"name\":\"innodb_adaptive_flushing_lwm\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Whether innodb adaptive hash indexes are enabled or disabled.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_adaptive_hash_index\",\"name\":\"innodb_adaptive_hash_index\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"Partitions the adaptive hash index search system. Each index is bound to a specific partition, with each partition protected by a separate latch. \",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"1-512\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_adaptive_hash_index_parts\",\"name\":\"innodb_adaptive_hash_index_parts\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"150000\",\"description\":\"Permits InnoDB to automatically adjust the value of innodb_thread_sleep_delay up or down according to the current workload.\",\"defaultValue\":\"150000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_adaptive_max_sleep_delay\",\"name\":\"innodb_adaptive_max_sleep_delay\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"The increment size (in megabytes) for extending the size of an auto-extending InnoDB system tablespace file when it becomes full.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"1-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_autoextend_increment\",\"name\":\"innodb_autoextend_increment\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"The lock mode to use for generating auto-increment values.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0,1,2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_autoinc_lock_mode\",\"name\":\"innodb_autoinc_lock_mode\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"134217728\",\"description\":\"Defines the chunk size for online InnoDB buffer pool resizing operations.\",\"defaultValue\":\"134217728\",\"dataType\":\"Integer\",\"allowedValues\":\"1048576-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_buffer_pool_chunk_size\",\"name\":\"innodb_buffer_pool_chunk_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Dump the buffer pool into a file named @@innodb_buffer_pool_filename\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_buffer_pool_dump_at_shutdown\",\"name\":\"innodb_buffer_pool_dump_at_shutdown\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Immediately records the pages cached in the InnoDB buffer pool.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_buffer_pool_dump_now\",\"name\":\"innodb_buffer_pool_dump_now\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"25\",\"description\":\"Specifies the percentage of the most recently used pages for each buffer pool to read out and dump.\",\"defaultValue\":\"25\",\"dataType\":\"Integer\",\"allowedValues\":\"1-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_buffer_pool_dump_pct\",\"name\":\"innodb_buffer_pool_dump_pct\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ib_buffer_pool\",\"description\":\"Specifies the file that holds the list of page numbers produced by innodb_buffer_pool_dump_at_shutdown or innodb_buffer_pool_dump_now.\",\"defaultValue\":\"ib_buffer_pool\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_buffer_pool_filename\",\"name\":\"innodb_buffer_pool_filename\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"The number of regions that the InnoDB buffer pool is divided into\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"1-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_buffer_pool_instances\",\"name\":\"innodb_buffer_pool_instances\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Interrupts the process of restoring InnoDB buffer pool contents triggered by innodb_buffer_pool_load_at_startup or innodb_buffer_pool_load_now.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_buffer_pool_load_abort\",\"name\":\"innodb_buffer_pool_load_abort\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Load the buffer pool from a file named @@innodb_buffer_pool_filename\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_buffer_pool_load_at_startup\",\"name\":\"innodb_buffer_pool_load_at_startup\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Immediately warms up the InnoDB buffer pool by loading a set of data pages, without waiting for a server restart.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_buffer_pool_load_now\",\"name\":\"innodb_buffer_pool_load_now\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"536870912\",\"description\":\"The size in bytes of the buffer pool, the memory area where InnoDB caches table and index data.\",\"defaultValue\":\"536870912\",\"dataType\":\"Integer\",\"allowedValues\":\"134217728-536870912\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_buffer_pool_size\",\"name\":\"innodb_buffer_pool_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"25\",\"description\":\"Maximum size for the InnoDB change buffer, as a percentage of the total size of the buffer pool. You might increase this value for a MySQL server with heavy insert, update, and delete activity, or decrease it for a MySQL server with unchanging data used for reporting.\",\"defaultValue\":\"25\",\"dataType\":\"Integer\",\"allowedValues\":\"0-50\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_change_buffer_max_size\",\"name\":\"innodb_change_buffer_max_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"all\",\"description\":\"Whether InnoDB performs change buffering, an optimization that delays write operations to secondary indexes so that the I/O operations can be performed sequentially.\",\"defaultValue\":\"all\",\"dataType\":\"Enumeration\",\"allowedValues\":\"none,inserts,deletes,changes,purges,all\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_change_buffering\",\"name\":\"innodb_change_buffering\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"crc32\",\"description\":\"Specifies how to generate and verify the checksum stored in the disk blocks of InnoDB tablespaces.\",\"defaultValue\":\"crc32\",\"dataType\":\"Enumeration\",\"allowedValues\":\"innodb,crc32,none,strict_innodb,strict_crc32,strict_none\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_checksum_algorithm\",\"name\":\"innodb_checksum_algorithm\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Enables per-index compression-related statistics in the INFORMATION_SCHEMA.INNODB_CMP_PER_INDEX table. Because these statistics can be expensive to gather, only enable this option on development, test, or slave instances during performance tuning related to InnoDB compressed tables.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_cmp_per_index_enabled\",\"name\":\"innodb_cmp_per_index_enabled\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The number of threads that can commit at the same time. A value of 0 (the default) permits any number of transactions to commit simultaneously. The value of innodb_commit_concurrency cannot be changed at runtime from zero to nonzero or vice versa. The value can be changed from one nonzero value to another.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_commit_concurrency\",\"name\":\"innodb_commit_concurrency\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"5\",\"description\":\"Defines the compression failure rate threshold for a table, as a percentage, at which point MySQL begins adding padding within compressed pages to avoid expensive compression failures.\",\"defaultValue\":\"5\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_compression_failure_threshold_pct\",\"name\":\"innodb_compression_failure_threshold_pct\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"6\",\"description\":\"Specifies the level of zlib compression to use for InnoDB compressed tables and indexes. A higher value lets you fit more data onto a storage device, at the expense of more CPU overhead during compression. A lower value lets you reduce CPU overhead when storage space is not critical, or you expect the data is not especially compressible.\",\"defaultValue\":\"6\",\"dataType\":\"Integer\",\"allowedValues\":\"0-9\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_compression_level\",\"name\":\"innodb_compression_level\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"Specifies the maximum percentage that can be reserved as free space within each compressed page, allowing room to reorganize the data and modification log within the page when a compressed table or index is updated and the data might be recompressed. Only applies when innodb_compression_failure_threshold_pct is set to a nonzero value, and the rate of compression failures passes the cutoff point.\",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"0-75\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_compression_pad_pct_max\",\"name\":\"innodb_compression_pad_pct_max\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"5000\",\"description\":\"Determines the number of threads that can enter InnoDB concurrently.\",\"defaultValue\":\"5000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_concurrency_tickets\",\"name\":\"innodb_concurrency_tickets\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"This option is used to disable deadlock detection. On high concurrency systems, deadlock detection can cause a slowdown when numerous threads wait for the same lock.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_deadlock_detect\",\"name\":\"innodb_deadlock_detect\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"DYNAMIC\",\"description\":\"The innodb_default_row_format option defines the default row format for InnoDB tables and user-created temporary tables.\",\"defaultValue\":\"DYNAMIC\",\"dataType\":\"Enumeration\",\"allowedValues\":\"DYNAMIC,COMPACT,REDUNDANT\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_default_row_format\",\"name\":\"innodb_default_row_format\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Disables the operating system file system cache for merge-sort temporary files. The effect is to open such files with the equivalent of O_DIRECT.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_disable_sort_file_cache\",\"name\":\"innodb_disable_sort_file_cache\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"/app/work/diskcache.data\",\"description\":\"File name of MySQL BPE file\",\"defaultValue\":\"/app/work/diskcache.data\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_disk_buffer_pool_filename\",\"name\":\"innodb_disk_buffer_pool_filename\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Size of MySQL BPE in byte\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-515396075520\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_disk_buffer_pool_size\",\"name\":\"innodb_disk_buffer_pool_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"When enabled, InnoDB stores all data twice, first to the doublewrite buffer, then to the actual data files.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_doublewrite\",\"name\":\"innodb_doublewrite\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"The InnoDB shutdown mode. If the value is 0, InnoDB does a slow shutdown, a full purge and a change buffer merge before shutting down. If the value is 1 (the default), InnoDB skips these operations at shutdown, a process known as a fast shutdown. If the value is 2, InnoDB flushes its logs and shuts down cold, as if MySQL had crashed; no committed transactions are lost, but the crash recovery operation makes the next startup take longer.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0,1,2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_fast_shutdown\",\"name\":\"innodb_fast_shutdown\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"7201\",\"description\":\"The seconds of mysql engine waiting for I/O, this threshold timeout will result in mysql engine crash.\",\"defaultValue\":\"7201\",\"dataType\":\"Integer\",\"allowedValues\":\"1-864000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_fatal_semaphore_wait_threshold\",\"name\":\"innodb_fatal_semaphore_wait_threshold\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"Barracuda\",\"description\":\"Indicates the InnoDB file format for file-per-table tablespaces.\",\"defaultValue\":\"Barracuda\",\"dataType\":\"Enumeration\",\"allowedValues\":\"Antelope,Barracuda\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_file_format\",\"name\":\"innodb_file_format\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"InnoDB stores the data and indexes for each newly created table in a separate .ibd file instead of the system tablespace. It cannot be updated any more for a master/replica server to keep the replication consistency.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_file_per_table\",\"name\":\"innodb_file_per_table\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"InnoDB performs a bulk load when creating or rebuilding indexes.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"10-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_fill_factor\",\"name\":\"innodb_fill_factor\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Write and flush the logs every N seconds. This setting has an effect only when innodb_flush_log_at_trx_commit has a value of 2.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2700\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_flush_log_at_timeout\",\"name\":\"innodb_flush_log_at_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Controls the balance between strict ACID compliance for commit operations and higher performance that is possible when commit-related I/O operations are rearranged and done in batches.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0,1,2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_flush_log_at_trx_commit\",\"name\":\"innodb_flush_log_at_trx_commit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"fsync\",\"description\":\"Defines the method used to flush data to InnoDB data files and log files, which can affect I/O throughput. \",\"defaultValue\":\"fsync\",\"dataType\":\"Enumeration\",\"allowedValues\":\"fsync,O_DSYNC,littlesync,nosync,O_DIRECT,O_DIRECT_NO_FSYNC\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_flush_method\",\"name\":\"innodb_flush_method\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Specifies whether flushing a page from the InnoDB buffer pool also flushes other dirty pages in the same extent.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0,1,2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_flush_neighbors\",\"name\":\"innodb_flush_neighbors\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Causes the innodb_io_capacity setting to be ignored for bursts of I/O activity that occur at checkpoints.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_flush_sync\",\"name\":\"innodb_flush_sync\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"30\",\"description\":\"Number of iterations for which InnoDB keeps the previously calculated snapshot of the flushing state, controlling how quickly adaptive flushing responds to changing workloads.\",\"defaultValue\":\"30\",\"dataType\":\"Integer\",\"allowedValues\":\"1-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_flushing_avg_loops\",\"name\":\"innodb_flushing_avg_loops\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Permits InnoDB to load tables at startup that are marked as corrupted. Use only during troubleshooting, to recover data that is otherwise inaccessible.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_force_load_corrupted\",\"name\":\"innodb_force_load_corrupted\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The crash recovery mode, typically only changed in serious troubleshooting situations.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-6\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_force_recovery\",\"name\":\"innodb_force_recovery\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8000000\",\"description\":\"The memory allocated, in bytes, for the InnoDB FULLTEXT search index cache, which holds a parsed document in memory while creating an InnoDB FULLTEXT index.\",\"defaultValue\":\"8000000\",\"dataType\":\"Integer\",\"allowedValues\":\"1600000-80000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_ft_cache_size\",\"name\":\"innodb_ft_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Whether to enable additional full-text search (FTS) diagnostic output. This option is primarily intended for advanced FTS debugging and will not be of interest to most users. Output is printed to the error log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_ft_enable_diag_print\",\"name\":\"innodb_ft_enable_diag_print\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Specifies that a set of stopwords is associated with an InnoDB FULLTEXT index at the time the index is created.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_ft_enable_stopword\",\"name\":\"innodb_ft_enable_stopword\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"84\",\"description\":\"Maximum character length of words that are stored in an InnoDB FULLTEXT index.\",\"defaultValue\":\"84\",\"dataType\":\"Integer\",\"allowedValues\":\"10-84\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_ft_max_token_size\",\"name\":\"innodb_ft_max_token_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"3\",\"description\":\"Minimum length of words that are stored in an InnoDB FULLTEXT index.\",\"defaultValue\":\"3\",\"dataType\":\"Integer\",\"allowedValues\":\"0-16\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_ft_min_token_size\",\"name\":\"innodb_ft_min_token_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2000\",\"description\":\"Number of words to process during each OPTIMIZE TABLE operation on an InnoDB FULLTEXT index.\",\"defaultValue\":\"2000\",\"dataType\":\"Integer\",\"allowedValues\":\"1000-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_ft_num_word_optimize\",\"name\":\"innodb_ft_num_word_optimize\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2000000000\",\"description\":\"The InnoDB full-text search query result cache limit (defined in bytes) per full-text search query or per thread.\",\"defaultValue\":\"2000000000\",\"dataType\":\"Integer\",\"allowedValues\":\"1000000-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_ft_result_cache_limit\",\"name\":\"innodb_ft_result_cache_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"This option is used to specify your own InnoDB FULLTEXT index stopword list for all InnoDB tables.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_ft_server_stopword_table\",\"name\":\"innodb_ft_server_stopword_table\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Number of threads used in parallel to index and tokenize text in an InnoDB FULLTEXT index when building a search index.\",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"1-32\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_ft_sort_pll_degree\",\"name\":\"innodb_ft_sort_pll_degree\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"640000000\",\"description\":\"The total memory allocated, in bytes, for the InnoDB full-text search index cache for all tables.\",\"defaultValue\":\"640000000\",\"dataType\":\"Integer\",\"allowedValues\":\"32000000-1600000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_ft_total_cache_size\",\"name\":\"innodb_ft_total_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"This option is used to specify your own InnoDB FULLTEXT index stopword list on a specific table.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_ft_user_stopword_table\",\"name\":\"innodb_ft_user_stopword_table\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"Sets an upper limit on I/O activity performed by InnoDB background tasks, such as flushing pages from the buffer pool and merging data from the change buffer.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"100-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_io_capacity\",\"name\":\"innodb_io_capacity\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2000\",\"description\":\"If flushing activity falls behind, InnoDB can flush more aggressively than the limit imposed by innodb_io_capacity. innodb_io_capacity_max defines an upper limit the number of I/O operations performed per second by InnoDB background tasks in such situations.\",\"defaultValue\":\"2000\",\"dataType\":\"Integer\",\"allowedValues\":\"100-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_io_capacity_max\",\"name\":\"innodb_io_capacity_max\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"When this option is enabled, index key prefixes longer than 767 bytes (up to 3072 bytes) are allowed for InnoDB tables that use DYNAMIC or COMPRESSED row format.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_large_prefix\",\"name\":\"innodb_large_prefix\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"The length of time in seconds an InnoDB transaction waits for a row lock before giving up.\",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"1-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_lock_wait_timeout\",\"name\":\"innodb_lock_wait_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"16777216\",\"description\":\"The size in bytes of the buffer that InnoDB uses to write to the log files on disk.\",\"defaultValue\":\"16777216\",\"dataType\":\"Integer\",\"allowedValues\":\"1048576-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_log_buffer_size\",\"name\":\"innodb_log_buffer_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Enables or disables checksums for redo log pages.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_log_checksums\",\"name\":\"innodb_log_checksums\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Specifies whether images of re-compressed pages are written to the redo log.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_log_compressed_pages\",\"name\":\"innodb_log_compressed_pages\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"268435456\",\"description\":\"The size in bytes of each log file in a log group. The combined size of log files (innodb_log_file_size * innodb_log_files_in_group) cannot exceed a maximum value that is slightly less than 512GB.\",\"defaultValue\":\"268435456\",\"dataType\":\"Integer\",\"allowedValues\":\"268435456-137438953472\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_log_file_size\",\"name\":\"innodb_log_file_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8192\",\"description\":\"The write-ahead block size for the redo log, in bytes.\",\"defaultValue\":\"8192\",\"dataType\":\"Integer\",\"allowedValues\":\"512-16384\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_log_write_ahead_size\",\"name\":\"innodb_log_write_ahead_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"A parameter that influences the algorithms and heuristics for the flush operation for the InnoDB buffer pool.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"100-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_lru_scan_depth\",\"name\":\"innodb_lru_scan_depth\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"75\",\"description\":\"InnoDB tries to flush data from the buffer pool so that the percentage of dirty pages does not exceed this value.\",\"defaultValue\":\"75\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-99.99\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_max_dirty_pages_pct\",\"name\":\"innodb_max_dirty_pages_pct\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Defines a low water mark representing the percentage of dirty pages at which preflushing is enabled to control the dirty page ratio.\",\"defaultValue\":\"0\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-99.99\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_max_dirty_pages_pct_lwm\",\"name\":\"innodb_max_dirty_pages_pct_lwm\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Defines the maximum length of the purge queue. The default value of 0 indicates no limit (no delays).\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_max_purge_lag\",\"name\":\"innodb_max_purge_lag\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Specifies the maximum delay in microseconds for the delay imposed by the innodb_max_purge_lag configuration option.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-10000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_max_purge_lag_delay\",\"name\":\"innodb_max_purge_lag_delay\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1073741824\",\"description\":\"Defines a threshold size for undo tablespaces.\",\"defaultValue\":\"1073741824\",\"dataType\":\"Integer\",\"allowedValues\":\"10485760-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_max_undo_log_size\",\"name\":\"innodb_max_undo_log_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Disables InnoDB metrics counters. Counter data may be queried using the INFORMATION_SCHEMA.INNODB_METRICS table.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_monitor_disable\",\"name\":\"innodb_monitor_disable\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Enables InnoDB metrics counters.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_monitor_enable\",\"name\":\"innodb_monitor_enable\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Resets the count value for InnoDB metrics counters to zero.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_monitor_reset\",\"name\":\"innodb_monitor_reset\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Resets all values (minimum, maximum, and so on) for InnoDB metrics counters.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_monitor_reset_all\",\"name\":\"innodb_monitor_reset_all\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"37\",\"description\":\"Specifies the approximate percentage of the InnoDB buffer pool used for the old block sublist.\",\"defaultValue\":\"37\",\"dataType\":\"Integer\",\"allowedValues\":\"5-95\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_old_blocks_pct\",\"name\":\"innodb_old_blocks_pct\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1000\",\"description\":\"Non-zero values protect against the buffer pool being filled by data that is referenced only for a brief period, such as during a full table scan.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_old_blocks_time\",\"name\":\"innodb_old_blocks_time\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"134217728\",\"description\":\"Specifies an upper limit on the size of the temporary log files used during online DDL operations for InnoDB tables.\",\"defaultValue\":\"134217728\",\"dataType\":\"Integer\",\"allowedValues\":\"65536-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_online_alter_log_max_size\",\"name\":\"innodb_online_alter_log_max_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"This configuration option is only relevant if you use multiple InnoDB tablespaces. It specifies the maximum number of .ibd files that MySQL can keep open at one time.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1,10-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_open_files\",\"name\":\"innodb_open_files\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Changes the way OPTIMIZE TABLE operates on InnoDB tables. Intended to be enabled temporarily, during maintenance operations for InnoDB tables with FULLTEXT indexes.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_optimize_fulltext_only\",\"name\":\"innodb_optimize_fulltext_only\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"The number of page cleaner threads that flush dirty pages from buffer pool instances.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"1-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_page_cleaners\",\"name\":\"innodb_page_cleaners\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"16384\",\"description\":\"Specifies the page size for all InnoDB tablespaces in a MySQL instance.\",\"defaultValue\":\"16384\",\"dataType\":\"Enumeration\",\"allowedValues\":\"4096,8192,16384,32768,65536\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_page_size\",\"name\":\"innodb_page_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"When this option is enabled, information about all deadlocks in InnoDB user transactions is recorded in the mysqld error log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_print_all_deadlocks\",\"name\":\"innodb_print_all_deadlocks\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"300\",\"description\":\"Defines the number of undo log pages that purge parses and processes in one batch from the history list.\",\"defaultValue\":\"300\",\"dataType\":\"Integer\",\"allowedValues\":\"1-5000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_purge_batch_size\",\"name\":\"innodb_purge_batch_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"128\",\"description\":\"Defines the frequency with which the purge system frees rollback segments in terms of the number of times that purge is invoked. Reducing this value increases the frequency with which the purge thread frees rollback segments.\",\"defaultValue\":\"128\",\"dataType\":\"Integer\",\"allowedValues\":\"1-128\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_purge_rseg_truncate_frequency\",\"name\":\"innodb_purge_rseg_truncate_frequency\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"The number of background threads devoted to the InnoDB purge operation.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"1-32\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_purge_threads\",\"name\":\"innodb_purge_threads\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Enables the random read-ahead technique for optimizing InnoDB I/O.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_random_read_ahead\",\"name\":\"innodb_random_read_ahead\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"56\",\"description\":\"Controls the sensitivity of linear read-ahead that InnoDB uses to prefetch pages into the buffer pool.\",\"defaultValue\":\"56\",\"dataType\":\"Integer\",\"allowedValues\":\"0-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_read_ahead_threshold\",\"name\":\"innodb_read_ahead_threshold\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"The number of I/O threads for read operations in InnoDB.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"1-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_read_io_threads\",\"name\":\"innodb_read_io_threads\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Starts InnoDB in read-only mode. \",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_read_only\",\"name\":\"innodb_read_only\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The replication thread delay in milliseconds on a slave server if innodb_thread_concurrency is reached.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_replication_delay\",\"name\":\"innodb_replication_delay\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"InnoDB rolls back only the last statement on a transaction timeout by default. If --innodb_rollback_on_timeout is specified, a transaction timeout causes InnoDB to abort and roll back the entire transaction.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_rollback_on_timeout\",\"name\":\"innodb_rollback_on_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"128\",\"description\":\"Defines the number of rollback segments used by InnoDB.\",\"defaultValue\":\"128\",\"dataType\":\"Integer\",\"allowedValues\":\"1-128\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_rollback_segments\",\"name\":\"innodb_rollback_segments\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1048576\",\"description\":\"Specifies the sizes of several buffers used for sorting data during creation of an InnoDB index.\",\"defaultValue\":\"1048576\",\"dataType\":\"Integer\",\"allowedValues\":\"65536-67108864\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_sort_buffer_size\",\"name\":\"innodb_sort_buffer_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"6\",\"description\":\"The maximum delay between polls for a spin lock. \",\"defaultValue\":\"6\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_spin_wait_delay\",\"name\":\"innodb_spin_wait_delay\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Causes InnoDB to automatically recalculate persistent statistics after the data in a table is changed substantially.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_stats_auto_recalc\",\"name\":\"innodb_stats_auto_recalc\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\" Enabled to ensure that InnoDB includes delete-marked records when calculating persistent optimizer statistics.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_stats_include_delete_marked\",\"name\":\"innodb_stats_include_delete_marked\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"nulls_equal\",\"description\":\"How the server treats NULL values when collecting statistics about the distribution of index values for InnoDB tables.\",\"defaultValue\":\"nulls_equal\",\"dataType\":\"Enumeration\",\"allowedValues\":\"nulls_equal,nulls_unequal,nulls_ignored\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_stats_method\",\"name\":\"innodb_stats_method\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This option only applies when optimizer statistics are configured to be non-persistent. When innodb_stats_on_metadata is enabled, InnoDB updates non-persistent statistics when metadata statements such as SHOW TABLE STATUS or when accessing the INFORMATION_SCHEMA.TABLES or INFORMATION_SCHEMA.STATISTICS tables.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_stats_on_metadata\",\"name\":\"innodb_stats_on_metadata\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Specifies whether InnoDB index statistics are persisted to disk. Otherwise, statistics may be recalculated frequently which can lead to variations in query execution plans.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_stats_persistent\",\"name\":\"innodb_stats_persistent\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"20\",\"description\":\"The number of index pages to sample when estimating cardinality and other statistics for an indexed column, such as those calculated by ANALYZE TABLE.\",\"defaultValue\":\"20\",\"dataType\":\"Integer\",\"allowedValues\":\"1-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_stats_persistent_sample_pages\",\"name\":\"innodb_stats_persistent_sample_pages\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"The number of index pages to sample when estimating cardinality and other statistics for an indexed column, such as those calculated by ANALYZE TABLE.\",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"1-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_stats_transient_sample_pages\",\"name\":\"innodb_stats_transient_sample_pages\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Enables or disables periodic output for the standard InnoDB Monitor.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_status_output\",\"name\":\"innodb_status_output\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Enables or disables the InnoDB Lock Monitor.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_status_output_locks\",\"name\":\"innodb_status_output_locks\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"When innodb_strict_mode is enabled, InnoDB returns errors rather than warnings for certain conditions.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_strict_mode\",\"name\":\"innodb_strict_mode\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Enables two phase commit in XA transactions\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_support_xa\",\"name\":\"innodb_support_xa\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Defines the size of the mutex/lock wait array. Increasing the value splits the internal data structure used to coordinate threads, for higher concurrency in workloads with large numbers of waiting threads. \",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"1-1024\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_sync_array_size\",\"name\":\"innodb_sync_array_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"30\",\"description\":\"The number of times a thread waits for an InnoDB mutex to be freed before the thread is suspended.\",\"defaultValue\":\"30\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_sync_spin_loops\",\"name\":\"innodb_sync_spin_loops\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"The default value of innodb_table_locks is 1, which means that LOCK TABLES causes InnoDB to lock a table internally if autocommit = 0.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_table_locks\",\"name\":\"innodb_table_locks\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ibtmp1:12M:autoextend\",\"description\":\"Specifies the path, file name, and file size for InnoDB temporary tablespace data files.\",\"defaultValue\":\"ibtmp1:12M:autoextend\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_temp_data_file_path\",\"name\":\"innodb_temp_data_file_path\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"InnoDB tries to keep the number of operating system threads concurrently inside InnoDB less than or equal to the limit given by this variable.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_thread_concurrency\",\"name\":\"innodb_thread_concurrency\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10000\",\"description\":\"Defines how long InnoDB threads sleep before joining the InnoDB queue, in microseconds.\",\"defaultValue\":\"10000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_thread_sleep_delay\",\"name\":\"innodb_thread_sleep_delay\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"/app/work/temp\",\"description\":\"Used to define an alternate directory for temporary sort files created during online ALTER TABLE operations that rebuild the table.\",\"defaultValue\":\"/app/work/temp\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_tmpdir\",\"name\":\"innodb_tmpdir\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"When enabled, undo tablespaces that exceed the threshold value defined by innodb_max_undo_log_size are marked for truncation.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_undo_log_truncate\",\"name\":\"innodb_undo_log_truncate\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"128\",\"description\":\"Defines how many of the rollback segments in the system tablespace that InnoDB uses within a transaction.\",\"defaultValue\":\"128\",\"dataType\":\"Integer\",\"allowedValues\":\"1-128\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_undo_logs\",\"name\":\"innodb_undo_logs\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The number of tablespace files that the undo logs are divided between, when you use a non-zero innodb_undo_logs setting.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-95\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_undo_tablespaces\",\"name\":\"innodb_undo_tablespaces\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Controls whether or not MySQL uses Linux native asynchronous IO.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_use_native_aio\",\"name\":\"innodb_use_native_aio\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"The number of I/O threads for write operations in InnoDB.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"1-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_write_io_threads\",\"name\":\"innodb_write_io_threads\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"28800\",\"description\":\"Number of seconds the server waits for activity on an interactive connection before closing it.\",\"defaultValue\":\"28800\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/interactive_timeout\",\"name\":\"interactive_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"INNODB\",\"description\":\"The storage engine for on-disk internal temporary tables \",\"defaultValue\":\"INNODB\",\"dataType\":\"Enumeration\",\"allowedValues\":\"INNODB,MYISAM\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/internal_tmp_disk_storage_engine\",\"name\":\"internal_tmp_disk_storage_engine\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"262144\",\"description\":\"The minimum size of the buffer that is used for plain index scans, range index scans, and joins that do not use indexes and thus perform full table scans.\",\"defaultValue\":\"262144\",\"dataType\":\"Integer\",\"allowedValues\":\"128-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/join_buffer_size\",\"name\":\"join_buffer_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Suppress behavior to overwrite MyISAM file created in DATA DIRECTORY or INDEX DIRECTORY.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/keep_files_on_create\",\"name\":\"keep_files_on_create\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8388608\",\"description\":\"Increase the buffer size to get better index handling used for index blocks (for all reads and multiple writes).\",\"defaultValue\":\"8388608\",\"dataType\":\"Integer\",\"allowedValues\":\"8-9223372036854771712\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/key_buffer_size\",\"name\":\"key_buffer_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"300\",\"description\":\"Controls the demotion of buffers from the hot sub-chain of a key cache to the warm sub-chain. Lower values cause demotion to happen more quickly.\",\"defaultValue\":\"300\",\"dataType\":\"Integer\",\"allowedValues\":\"100-18446744073709547520\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/key_cache_age_threshold\",\"name\":\"key_cache_age_threshold\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"Size in bytes of blocks in the key cache.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"512-16384\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/key_cache_block_size\",\"name\":\"key_cache_block_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"The division point between the hot and warm sub-chains of the key cache buffer chain. The value is the percentage of the buffer chain to use for the warm sub-chain.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"1-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/key_cache_division_limit\",\"name\":\"key_cache_division_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"en_US\",\"description\":\"This variable specifies the locale that controls the language used to display day and month names and abbreviations.\",\"defaultValue\":\"en_US\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ar_AE,ar_BH,ar_DZ,ar_EG,ar_IN,ar_IQ,ar_JO,ar_KW,ar_LB,ar_LY,ar_MA,ar_OM,ar_QA,ar_SA,ar_SD,ar_SY,ar_TN,ar_YE,be_BY,bg_BG,ca_ES,cs_CZ,da_DK,de_AT,de_BE,de_CH,de_DE,de_LU,el_GR,en_AU,en_CA,en_GB,en_IN,en_NZ,en_PH,en_US,en_ZA,en_ZW,es_AR,es_BO,es_CL,es_CO,es_CR,es_DO,es_EC,es_ES,es_GT,es_HN,es_MX,es_NI,es_PA,es_PE,es_PR,es_PY,es_SV,es_US,es_UY,es_VE,et_EE,eu_ES,fi_FI,fo_FO,fr_BE,fr_CA,fr_CH,fr_FR,fr_LU,gl_ES,gu_IN,he_IL,hi_IN,hr_HR,hu_HU,id_ID,is_IS,it_CH,it_IT,ja_JP,ko_KR,lt_LT,lv_LV,mk_MK,mn_MN,ms_MY,nb_NO,nl_BE,nl_NL,no_NO,pl_PL,pt_BR,pt_PT,ro_RO,ru_RU,ru_UA,sk_SK,sl_SI,sq_AL,sr_RS,sv_FI,sv_SE,ta_IN,te_IN,th_TH,tr_TR,uk_UA,ur_PK,vi_VN,zh_CN,zh_HK,zh_TW\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/lc_time_names\",\"name\":\"lc_time_names\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"This variable controls server-side LOCAL capability for LOAD DATA statements.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/local_infile\",\"name\":\"local_infile\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"31536000\",\"description\":\"This variable specifies the timeout in seconds for attempts to acquire metadata locks.\",\"defaultValue\":\"31536000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/lock_wait_timeout\",\"name\":\"lock_wait_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Whether binlog is enabled or not. When set to ON, it will be replaced with binlog folder /app/work/binlogs. Otherwise, it will not be introduced in my.ini.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_bin\",\"name\":\"log_bin\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This variable applies when binary logging is enabled. It controls whether stored function creators can be trusted not to create stored functions that will cause unsafe events to be written to the binary log. It cannot be updated any more for a master/replica server to keep the replication consistency.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_bin_trust_function_creators\",\"name\":\"log_bin_trust_function_creators\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Whether MySQL writes binary log events using a Version 1 or Version 2 logging events\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_bin_use_v1_row_events\",\"name\":\"log_bin_use_v1_row_events\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Whether to log CREATE/ALTER USER, GRANT in backward-compatible fashion\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_builtin_as_identified_by_password\",\"name\":\"log_builtin_as_identified_by_password\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"NONE\",\"description\":\"The destination for general query log and slow query log output.\",\"defaultValue\":\"NONE\",\"dataType\":\"Set\",\"allowedValues\":\"FILE,NONE\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_output\",\"name\":\"log_output\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Logs queries that are expected to retrieve all rows to slow query log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_queries_not_using_indexes\",\"name\":\"log_queries_not_using_indexes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Normally, a slave does not write to its own binary log any updates that are received from a master server. This option causes the slave to write the updates performed by its SQL thread to its own binary log.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_slave_updates\",\"name\":\"log_slave_updates\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Include slow administrative statements in the statements written to the slow query log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_slow_admin_statements\",\"name\":\"log_slow_admin_statements\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"When the slow query log is enabled, this variable enables logging for queries that have taken more than long_query_time seconds to execute on the slave.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_slow_slave_statements\",\"name\":\"log_slow_slave_statements\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"If error 1592 is encountered, controls whether the generated warnings are added to the error log or not.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_statements_unsafe_for_binlog\",\"name\":\"log_statements_unsafe_for_binlog\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Whether to write error log output to syslog.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_syslog\",\"name\":\"log_syslog\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"daemon\",\"description\":\"The facility for error log output written to syslog (what type of program is sending the message).\",\"defaultValue\":\"daemon\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_syslog_facility\",\"name\":\"log_syslog_facility\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Whether to include the server process ID in each line of error log output written to syslog.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_syslog_include_pid\",\"name\":\"log_syslog_include_pid\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"The tag to be added to the server identifier in error log output written to syslog.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_syslog_tag\",\"name\":\"log_syslog_tag\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Limits the number of such queries per minute that can be written to the slow query log.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_throttle_queries_not_using_indexes\",\"name\":\"log_throttle_queries_not_using_indexes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"UTC\",\"description\":\"This variable controls the timestamp time zone of error log messages, and of general query log and slow query log messages written to files.\",\"defaultValue\":\"UTC\",\"dataType\":\"Enumeration\",\"allowedValues\":\"UTC,SYSTEM\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_timestamps\",\"name\":\"log_timestamps\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Whether to produce additional warning messages to the error log.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_warnings\",\"name\":\"log_warnings\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"If a query takes longer than this many seconds, the server increments the Slow_queries status variable.\",\"defaultValue\":\"10\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/long_query_time\",\"name\":\"long_query_time\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"INSERT, UPDATE, DELETE, and LOCK TABLE WRITE wait until no pending SELECT. Affects only storage engines that use only table-level locking (MyISAM, MEMORY, MERGE).\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/low_priority_updates\",\"name\":\"low_priority_updates\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"If set to 1, table names are stored in lowercase on disk and comparisons are not case sensitive. If set to 2, table names are stored as given but compared in lowercase.\",\"defaultValue\":\"1\",\"dataType\":\"Enumeration\",\"allowedValues\":\"0,1\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/lower_case_table_names\",\"name\":\"lower_case_table_names\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"TABLE\",\"description\":\"The setting of this variable determines whether the slave logs master status and connection information to a FILE (master.info), or to a TABLE (mysql.slave_master_info).\",\"defaultValue\":\"TABLE\",\"dataType\":\"Enumeration\",\"allowedValues\":\"FILE,TABLE\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/master_info_repository\",\"name\":\"master_info_repository\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Enabling this variable causes the master to examine checksums when reading from the binary log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/master_verify_checksum\",\"name\":\"master_verify_checksum\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"536870912\",\"description\":\"The maximum size of one packet or any generated/intermediate string, or any parameter sent by the mysql_stmt_send_long_data() C API function.\",\"defaultValue\":\"536870912\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_allowed_packet\",\"name\":\"max_allowed_packet\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"18446744073709551615\",\"description\":\"If a transaction requires more than this many bytes of memory, the server generates a Multi-statement transaction required more than \u0027max_binlog_cache_size\u0027 bytes of storage error.\",\"defaultValue\":\"18446744073709551615\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_binlog_cache_size\",\"name\":\"max_binlog_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"104857600\",\"description\":\"If a write to the binary log causes the current log file size to exceed the value of this variable, the server rotates the binary logs (closes the current file and opens the next one).\",\"defaultValue\":\"104857600\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_binlog_size\",\"name\":\"max_binlog_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"18446744073709547520\",\"description\":\"If nontransactional statements within a transaction require more than this many bytes of memory, the server generates an error.\",\"defaultValue\":\"18446744073709547520\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-18446744073709547520\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_binlog_stmt_cache_size\",\"name\":\"max_binlog_stmt_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"If more than this many successive connection requests from a host are interrupted without a successful connection, the server blocks that host from further connections.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_connect_errors\",\"name\":\"max_connect_errors\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"171\",\"description\":\"The maximum permitted number of simultaneous client connections.\",\"defaultValue\":\"171\",\"dataType\":\"Integer\",\"allowedValues\":\"10-341\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_connections\",\"name\":\"max_connections\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"20\",\"description\":\"Do not start more than this number of threads to handle INSERT DELAYED statements.\",\"defaultValue\":\"20\",\"dataType\":\"Integer\",\"allowedValues\":\"0-16384\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_delayed_threads\",\"name\":\"max_delayed_threads\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"The maximum number of bytes available for computing normalized statement digests.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_digest_length\",\"name\":\"max_digest_length\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"The maximum number of error, warning, and note messages to be stored for display by the SHOW ERRORS and SHOW WARNINGS statements.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"0-65535\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_error_count\",\"name\":\"max_error_count\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The execution timeout for SELECT statements, in milliseconds. If the value is 0, timeouts are not enabled.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_execution_time\",\"name\":\"max_execution_time\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"16777216\",\"description\":\"This variable sets the maximum size to which user-created MEMORY tables are permitted to grow.\",\"defaultValue\":\"16777216\",\"dataType\":\"Integer\",\"allowedValues\":\"16384-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_heap_table_size\",\"name\":\"max_heap_table_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"18446744073709551615\",\"description\":\"Do not permit statements that probably need to examine more than max_join_size rows\",\"defaultValue\":\"18446744073709551615\",\"dataType\":\"Integer\",\"allowedValues\":\"1-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_join_size\",\"name\":\"max_join_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"The cutoff on the size of index values that determines which filesort algorithm to use.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"4-8388608\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_length_for_sort_data\",\"name\":\"max_length_for_sort_data\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"65536\",\"description\":\"The maximum value of the points_per_circle argument to the ST_Buffer_Strategy() function.\",\"defaultValue\":\"65536\",\"dataType\":\"Integer\",\"allowedValues\":\"3-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_points_in_geometry\",\"name\":\"max_points_in_geometry\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"16382\",\"description\":\"This variable limits the total number of prepared statements in the server.\",\"defaultValue\":\"16382\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_prepared_stmt_count\",\"name\":\"max_prepared_stmt_count\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"104857600\",\"description\":\"The size at which the server rotates relay log files automatically. If this value is nonzero, the relay log is rotated automatically when its size exceeds this value. If this value is zero (the default), the size at which relay log rotation occurs is determined by the value of max_binlog_size.\",\"defaultValue\":\"104857600\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_relay_log_size\",\"name\":\"max_relay_log_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4294967295\",\"description\":\"Limit the assumed maximum number of seeks when looking up rows based on a key.\",\"defaultValue\":\"4294967295\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_seeks_for_key\",\"name\":\"max_seeks_for_key\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"The number of bytes to use when sorting data values.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"4-8388608\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_sort_length\",\"name\":\"max_sort_length\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The number of times that any given stored procedure may be called recursively. The default value for this option is 0, which completely disables recursion in stored procedures.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-255\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_sp_recursion_depth\",\"name\":\"max_sp_recursion_depth\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"32\",\"description\":\"The maximum number of temporary tables a client can keep open at the same time.\",\"defaultValue\":\"32\",\"dataType\":\"Integer\",\"allowedValues\":\"1-9223372036854775807\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_tmp_tables\",\"name\":\"max_tmp_tables\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The maximum number of simultaneous connections permitted to any given MySQL user account. A value of 0 (the default) means \u0027no limit.\u0027\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_user_connections\",\"name\":\"max_user_connections\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4294967295\",\"description\":\"After this many write locks, permit some pending read lock requests to be processed in between.\",\"defaultValue\":\"4294967295\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_write_lock_count\",\"name\":\"max_write_lock_count\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"The size of the metadata locks cache\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"1-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/metadata_locks_cache_size\",\"name\":\"metadata_locks_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Can be used to cause queries which examine fewer than the stated number of rows not to be logged.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/min_examined_row_limit\",\"name\":\"min_examined_row_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This variable controls whether the mysql_native_password built-in authentication plugin supports proxy users.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/mysql_native_password_proxy_users\",\"name\":\"mysql_native_password_proxy_users\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"16384\",\"description\":\"Each client thread is associated with a connection buffer and result buffer. Both begin with a size given by net_buffer_length but are dynamically enlarged up to max_allowed_packet bytes as needed.\",\"defaultValue\":\"16384\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/net_buffer_length\",\"name\":\"net_buffer_length\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"120\",\"description\":\"The number of seconds the server waits for network reading action, especially for LOAD DATA LOCAL FILE.\",\"defaultValue\":\"120\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/net_read_timeout\",\"name\":\"net_read_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"If a read or write on a communication port is interrupted, retry this many times before giving up.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/net_retry_count\",\"name\":\"net_retry_count\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"240\",\"description\":\"The number of seconds the server waits for network writing action, especially for LOAD DATA LOCAL FILE.\",\"defaultValue\":\"240\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/net_write_timeout\",\"name\":\"net_write_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Defines the n-gram token size for the n-gram full-text parser. \",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/ngram_token_size\",\"name\":\"ngram_token_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"In offline mode, clients that are refused access receive an ER_SERVER_OFFLINE_MODE error.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/offline_mode\",\"name\":\"offline_mode\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Force the server to generate short (pre-4.1) password hashes for new passwords. This is useful for compatibility when the server must support older client programs.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0,2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/old_passwords\",\"name\":\"old_passwords\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"5000\",\"description\":\"The number of files that the operating system permits mysqld to open.\",\"defaultValue\":\"5000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/open_files_limit\",\"name\":\"open_files_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Controls the heuristics applied during query optimization to prune less-promising partial plans from the optimizer search space.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0,1\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/optimizer_prune_level\",\"name\":\"optimizer_prune_level\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"62\",\"description\":\"The maximum depth of search performed by the query optimizer.\",\"defaultValue\":\"62\",\"dataType\":\"Integer\",\"allowedValues\":\"0-62\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/optimizer_search_depth\",\"name\":\"optimizer_search_depth\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"default\",\"description\":\"The value of this variable is a set of flags, each of which has a value of on or off to indicate whether the corresponding optimizer behavior is enabled or disabled.\",\"defaultValue\":\"default\",\"dataType\":\"Set\",\"allowedValues\":\"default,batched_key_access=on,batched_key_access=off,block_nested_loop=on,block_nested_loop=off,condition_fanout_filter=on,condition_fanout_filter=off,derived_merge=on,derived_merge=off,duplicateweedout=on,duplicateweedout=off,engine_condition_pushdown=on,engine_condition_pushdown=off,firstmatch=on,firstmatch=off,index_condition_pushdown=on,index_condition_pushdown=off,index_merge=on,index_merge=off,index_merge_intersection=on,index_merge_intersection=off,index_merge_sort_union=on,index_merge_sort_union=off,index_merge_union=on,index_merge_union=off,loosescan=on,loosescan=off,materialization=on,materialization=off,mrr=on,mrr=off,mrr_cost_based=on,mrr_cost_based=off,semijoin=on,semijoin=off,subquery_materialization_cost_based=on,subquery_materialization_cost_based=off,use_index_extensions=on,use_index_extensions=off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/optimizer_switch\",\"name\":\"optimizer_switch\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"enabled=off,one_line=off\",\"description\":\"Controls how statements are traced.\",\"defaultValue\":\"enabled=off,one_line=off\",\"dataType\":\"Set\",\"allowedValues\":\"default,enabled=on,enabled=off,one_line=on,one_line=off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/optimizer_trace\",\"name\":\"optimizer_trace\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"greedy_search=on,range_optimizer=on,dynamic_range=on,repeated_subselect=on\",\"description\":\"Controls optimizations during statement tracing.\",\"defaultValue\":\"greedy_search=on,range_optimizer=on,dynamic_range=on,repeated_subselect=on\",\"dataType\":\"Set\",\"allowedValues\":\"default,greedy_search=on,greedy_search=off,range_optimizer=on,range_optimizer=off,dynamic_range=on,dynamic_range=off,repeated_subselect=on,repeated_subselect=off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/optimizer_trace_features\",\"name\":\"optimizer_trace_features\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Controls the limit on trace retention.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"1-9223372036854775807\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/optimizer_trace_limit\",\"name\":\"optimizer_trace_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"16384\",\"description\":\"Maximum allowed cumulated size of stored optimizer traces\",\"defaultValue\":\"16384\",\"dataType\":\"Integer\",\"allowedValues\":\"0-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/optimizer_trace_max_mem_size\",\"name\":\"optimizer_trace_max_mem_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Controls the offset on trace retention.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-9223372036854770000-9223372036854770000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/optimizer_trace_offset\",\"name\":\"optimizer_trace_offset\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"18446744073709551615\",\"description\":\"The maximum amount of memory available to the parser.\",\"defaultValue\":\"18446744073709551615\",\"dataType\":\"Integer\",\"allowedValues\":\"10000000-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/parser_max_mem_size\",\"name\":\"parser_max_mem_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"The value of this variable is ON or OFF to indicate whether the Performance Schema is enabled.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/performance_schema\",\"name\":\"performance_schema\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"80\",\"description\":\"The maximum number of condition instruments. \",\"defaultValue\":\"80\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/performance_schema_max_cond_classes\",\"name\":\"performance_schema_max_cond_classes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"80\",\"description\":\"The maximum number of file instruments. \",\"defaultValue\":\"80\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/performance_schema_max_file_classes\",\"name\":\"performance_schema_max_file_classes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"32768\",\"description\":\"The maximum number of opened file objects. \",\"defaultValue\":\"32768\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/performance_schema_max_file_handles\",\"name\":\"performance_schema_max_file_handles\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"320\",\"description\":\"The maximum number of memory instruments.\",\"defaultValue\":\"320\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1024\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/performance_schema_max_memory_classes\",\"name\":\"performance_schema_max_memory_classes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"The maximum number of mutex instruments. \",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/performance_schema_max_mutex_classes\",\"name\":\"performance_schema_max_mutex_classes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"40\",\"description\":\"The maximum number of rwlock instruments. \",\"defaultValue\":\"40\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/performance_schema_max_rwlock_classes\",\"name\":\"performance_schema_max_rwlock_classes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"The maximum number of socket instruments. \",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/performance_schema_max_socket_classes\",\"name\":\"performance_schema_max_socket_classes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"The maximum number of bytes used to store SQL statements in the SQL_TEXT column\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/performance_schema_max_sql_text_length\",\"name\":\"performance_schema_max_sql_text_length\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"150\",\"description\":\"The maximum number of stage instruments. \",\"defaultValue\":\"150\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/performance_schema_max_stage_classes\",\"name\":\"performance_schema_max_stage_classes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"The maximum depth of nested stored program calls for which the Performance Schema maintains statistics.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"1-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/performance_schema_max_statement_stack\",\"name\":\"performance_schema_max_statement_stack\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"The maximum number of thread instruments. \",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/performance_schema_max_thread_classes\",\"name\":\"performance_schema_max_thread_classes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Tells the server to load the named plugins at startup.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/plugin-load\",\"name\":\"plugin-load\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"32768\",\"description\":\"The size of the buffer that is allocated when preloading indexes.\",\"defaultValue\":\"32768\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/preload_buffer_size\",\"name\":\"preload_buffer_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"15\",\"description\":\"The number of statements for which to maintain profiling if profiling is enabled.\",\"defaultValue\":\"15\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/profiling_history_size\",\"name\":\"profiling_history_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8192\",\"description\":\"The allocation size of memory blocks that are allocated for objects created during statement parsing and execution.\",\"defaultValue\":\"8192\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/query_alloc_block_size\",\"name\":\"query_alloc_block_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1048576\",\"description\":\"Do not cache results that are larger than this number of bytes.\",\"defaultValue\":\"1048576\",\"dataType\":\"Integer\",\"allowedValues\":\"0-134217728\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/query_cache_limit\",\"name\":\"query_cache_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"The minimum size (in bytes) for blocks allocated by the query cache.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"512-131072\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/query_cache_min_res_unit\",\"name\":\"query_cache_min_res_unit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The amount of memory allocated for caching query results.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0,102400-134217728\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/query_cache_size\",\"name\":\"query_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Set the query cache type.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF,DEMAND\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/query_cache_type\",\"name\":\"query_cache_type\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Setting this variable to 1 causes acquisition of a WRITE lock for a table to invalidate any queries in the query cache that refer to the table.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/query_cache_wlock_invalidate\",\"name\":\"query_cache_wlock_invalidate\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8192\",\"description\":\"The size of the persistent buffer used for statement parsing and execution. This buffer is not freed between statements. If you are running complex queries, a larger value might be helpful in improving performance, because it can reduce the need for the server to perform memory allocation during query execution operations.\",\"defaultValue\":\"8192\",\"dataType\":\"Integer\",\"allowedValues\":\"8192-131072\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/query_prealloc_size\",\"name\":\"query_prealloc_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"The size of blocks that are allocated when doing range optimization.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-131072\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/range_alloc_block_size\",\"name\":\"range_alloc_block_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8388608\",\"description\":\"The limit on memory consumption for the range optimizer. A value of 0 means \u0027no limit.\u0027\",\"defaultValue\":\"8388608\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-134217728\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/range_optimizer_max_mem_size\",\"name\":\"range_optimizer_max_mem_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"131072\",\"description\":\"Each thread that does a sequential scan allocates this buffer. Increased value may help perf if performing many sequential scans.\",\"defaultValue\":\"131072\",\"dataType\":\"Integer\",\"allowedValues\":\"8200-2147479552\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/read_buffer_size\",\"name\":\"read_buffer_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This parameter controls whetherthe server permits no client updates. When the server is read replica or server storage is full, this parameter will not take effect.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/read_only\",\"name\":\"read_only\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"262144\",\"description\":\"Avoids disk reads when reading rows in sorted order following a key-sort operation. Large values can improve ORDER BY perf.\",\"defaultValue\":\"262144\",\"dataType\":\"Integer\",\"allowedValues\":\"8200-2147479552\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/read_rnd_buffer_size\",\"name\":\"read_rnd_buffer_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"/app/work/relaylogs/relay_bin\",\"description\":\"Relay log path.\",\"defaultValue\":\"/app/work/relaylogs/relay_bin\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/relay_log\",\"name\":\"relay_log\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"/app/work/relaylogs/relay_bin.index\",\"description\":\"Relay log index path.\",\"defaultValue\":\"/app/work/relaylogs/relay_bin.index\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/relay_log_index\",\"name\":\"relay_log_index\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"TABLE\",\"description\":\"This variable determines whether the slave\u0027s position in the relay logs is written to a FILE (relay-log.info) or to a TABLE (mysql.slave_relay_log_info).\",\"defaultValue\":\"TABLE\",\"dataType\":\"Enumeration\",\"allowedValues\":\"FILE,TABLE\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/relay_log_info_repository\",\"name\":\"relay_log_info_repository\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Disable or enable automatic purging of relay logs as soon as they are no longer needed.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/relay_log_purge\",\"name\":\"relay_log_purge\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Enables automatic relay log recovery immediately following server startup.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/relay_log_recovery\",\"name\":\"relay_log_recovery\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1073741824\",\"description\":\"This option places an upper limit on the total size in bytes of all relay logs on the slave.\",\"defaultValue\":\"1073741824\",\"dataType\":\"Integer\",\"allowedValues\":\"1073741824-3221225472\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/relay_log_space_limit\",\"name\":\"relay_log_space_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"mysql.%\",\"description\":\"Creates a replication filter which keeps the slave thread from replicating a statement in which any table matches the given wildcard pattern. To specify more than one table to ignore, use comma-separated list.\",\"defaultValue\":\"mysql.%\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/replicate_wild_ignore_table\",\"name\":\"replicate_wild_ignore_table\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Whether client connections to the server are required to use some form of secure transport. When this variable is enabled, the server permits only TCP/IP connections that use SSL, or connections that use a socket file (on Unix) or shared memory (on Windows). \",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/require_secure_transport\",\"name\":\"require_secure_transport\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"31536000\",\"description\":\"In MySQL 5.6.13 and later, you can control the length of time (in seconds) that STOP SLAVE waits before timing out by setting this variable.\",\"defaultValue\":\"31536000\",\"dataType\":\"Integer\",\"allowedValues\":\"2-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/rpl_stop_slave_timeout\",\"name\":\"rpl_stop_slave_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Blocks connections from all accounts that have passwords stored in the old (pre-4.1) format.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/secure_auth\",\"name\":\"secure_auth\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"This variable is used to limit the effect of data import and export operations, such as those performed by the LOAD DATA and SELECT ... INTO OUTFILE statements and the LOAD_FILE() function.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/secure_file_priv\",\"name\":\"secure_file_priv\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1236947509\",\"description\":\"The server ID, used in replication to give each master and slave a unique identity.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"1000-4294967295\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/server_id\",\"name\":\"server_id\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Controls whether the server tracks changes to the default schema (database) name within the current session and makes this information available to the client when changes occur.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/session_track_schema\",\"name\":\"session_track_schema\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Controls whether the server tracks changes to the state of the current session and notifies the client when state changes occur.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/session_track_state_change\",\"name\":\"session_track_state_change\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"time_zone, autocommit, character_set_client, character_set_results, character_set_connection\",\"description\":\"Controls whether the server tracks changes to the session system variables and makes this information available to the client when changes occur.\",\"defaultValue\":\"time_zone, autocommit, character_set_client, character_set_results, character_set_connection\",\"dataType\":\"Set\",\"allowedValues\":\"time_zone,autocommit,character_set_client,character_set_results,character_set_connection\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/session_track_system_variables\",\"name\":\"session_track_system_variables\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Track changes to the transaction attributes.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"OFF,STATE,CHARACTERISTICS\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/session_track_transaction_info\",\"name\":\"session_track_transaction_info\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Controls whether the server autogenerates RSA private/public key-pair files in the data directory.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/sha256_password_auto_generate_rsa_keys\",\"name\":\"sha256_password_auto_generate_rsa_keys\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Controls whether the sha256_password built-in authentication plugin supports proxy users.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/sha256_password_proxy_users\",\"name\":\"sha256_password_proxy_users\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Affects whether MySQL 5.6 compatibility is enabled with respect to how system and status variable information is provided by the INFORMATION_SCHEMA and Performance Schema tables, and also by the SHOW VARIABLES and SHOW STATUS statements.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/show_compatibility_56\",\"name\":\"show_compatibility_56\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Whether SHOW CREATE TABLE output includes comments to flag temporal columns found to be in pre-5.6.4 format.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/show_old_temporals\",\"name\":\"show_old_temporals\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Uses OS locking instead of internal\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/skip_external_locking\",\"name\":\"skip_external_locking\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Host names are not resolved. All Host column values in the grant tables must be IP numbers or localhost.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/skip_name_resolve\",\"name\":\"skip_name_resolve\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This prevents people from using the SHOW DATABASES statement if they do not have the SHOW DATABASES privilege. \",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/skip_show_database\",\"name\":\"skip_show_database\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"False\",\"description\":\"Tells the slave server not to start the slave threads when the server starts.\",\"defaultValue\":\"False\",\"dataType\":\"Enumeration\",\"allowedValues\":\"TRUE,FALSE\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/skip-slave-start\",\"name\":\"skip-slave-start\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Whether or not batched updates are enabled on replication slaves.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_allow_batching\",\"name\":\"slave_allow_batching\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"512\",\"description\":\"Sets the maximum number of transactions that can be processed by a multi-threaded slave before a checkpoint operation is called to update its status as shown by SHOW SLAVE STATUS.\",\"defaultValue\":\"512\",\"dataType\":\"Integer\",\"allowedValues\":\"32-524280\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_checkpoint_group\",\"name\":\"slave_checkpoint_group\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"300\",\"description\":\"Sets the maximum time (in milliseconds) that is allowed to pass before a checkpoint operation is called to update the status of a multi-threaded slave as shown by SHOW SLAVE STATUS.\",\"defaultValue\":\"300\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_checkpoint_period\",\"name\":\"slave_checkpoint_period\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Whether to use compression of the slave/master protocol if both the slave and the master support it.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_compressed_protocol\",\"name\":\"slave_compressed_protocol\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"STRICT\",\"description\":\"Controls how a slave thread resolves conflicts and errors during replication.\",\"defaultValue\":\"STRICT\",\"dataType\":\"Enumeration\",\"allowedValues\":\"IDEMPOTENT,STRICT\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_exec_mode\",\"name\":\"slave_exec_mode\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"/app/work/temp\",\"description\":\"The name of the directory where the slave creates temporary files.\",\"defaultValue\":\"/app/work/temp\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_load_tmpdir\",\"name\":\"slave_load_tmpdir\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1073741824\",\"description\":\"In MySQL 5.6.6 and later, this option sets the maximum packet size in bytes for the slave SQL and I/O threads.\",\"defaultValue\":\"1073741824\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_max_allowed_packet\",\"name\":\"slave_max_allowed_packet\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"60\",\"description\":\"The number of seconds to wait for more data from the master before the slave considers the connection broken, aborts the read, and tries to reconnect.\",\"defaultValue\":\"60\",\"dataType\":\"Integer\",\"allowedValues\":\"30-3600\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_net_timeout\",\"name\":\"slave_net_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"LOGICAL_CLOCK\",\"description\":\"The policy used to decide which transactions are allowed to execute in parallel on the slave.\",\"defaultValue\":\"LOGICAL_CLOCK\",\"dataType\":\"Enumeration\",\"allowedValues\":\"DATABASE,LOGICAL_CLOCK\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_parallel_type\",\"name\":\"slave_parallel_type\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Sets the number of slave worker threads for executing replication events (transactions) in parallel.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-512\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_parallel_workers\",\"name\":\"slave_parallel_workers\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"16777216\",\"description\":\"For multithreaded slaves, this variable sets the maximum amount of memory (in bytes) available to slave worker queues holding events not yet applied.\",\"defaultValue\":\"16777216\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_pending_jobs_size_max\",\"name\":\"slave_pending_jobs_size_max\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"For multi-threaded slaves, enabling this variable ensures that transactions are externalized on the slave in the same order as they appear in the slave\u0027s relay log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_preserve_commit_order\",\"name\":\"slave_preserve_commit_order\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"TABLE_SCAN,INDEX_SCAN\",\"description\":\"When preparing batches of rows for row-based logging and replication, this variable controls how the rows are searched for matches???that is, whether or not hashing is used for searches using a primary or unique key, using some other key, or using no key at all.\",\"defaultValue\":\"TABLE_SCAN,INDEX_SCAN\",\"dataType\":\"Set\",\"allowedValues\":\"TABLE_SCAN,INDEX_SCAN,HASH_SCAN\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_rows_search_algorithms\",\"name\":\"slave_rows_search_algorithms\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Normally, replication stops when an error occurs on the slave. This gives you the opportunity to resolve the inconsistency in the data manually.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"OFF,all,ddl_exist_errors\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_skip_errors\",\"name\":\"slave_skip_errors\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"When this option is enabled, the slave examines checksums read from the relay log, in the event of a mismatch, the slave stops with an error.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_sql_verify_checksum\",\"name\":\"slave_sql_verify_checksum\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"If a replication slave SQL thread fails to execute a transaction because of an InnoDB deadlock or because the transaction\u0027s execution time exceeded InnoDB\u0027s innodb_lock_wait_timeout or NDB\u0027s TransactionDeadlockDetectionTimeout or TransactionInactiveTimeout, it automatically retries slave_transaction_retries times before stopping with an error.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_transaction_retries\",\"name\":\"slave_transaction_retries\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Controls the type conversion mode in effect on the slave when using row-based replication.\",\"defaultValue\":\"\",\"dataType\":\"Set\",\"allowedValues\":\",ALL_LOSSY,ALL_NON_LOSSY,ALL_SIGNED,ALL_UNSIGNED\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_type_conversions\",\"name\":\"slave_type_conversions\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Increments Slow_launch_threads if creating thread takes longer than this many seconds.\",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"0-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slow_launch_time\",\"name\":\"slow_launch_time\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Enable or disable the slow query log\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slow_query_log\",\"name\":\"slow_query_log\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"/app/work/serverlogs/mysql-slow-mysql-flexible-test-100-2020111008.log\",\"description\":\"The name of the slow query log file.\",\"defaultValue\":\"mysql-slow.log\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slow_query_log_file\",\"name\":\"slow_query_log_file\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"524288\",\"description\":\"Each session that must perform a sort allocates a buffer of this size.\",\"defaultValue\":\"524288\",\"dataType\":\"Integer\",\"allowedValues\":\"32768-33554432\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/sort_buffer_size\",\"name\":\"sort_buffer_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION\",\"description\":\"The current server SQL mode.\",\"defaultValue\":\"ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION\",\"dataType\":\"Set\",\"allowedValues\":\",ALLOW_INVALID_DATES,ANSI_QUOTES,ERROR_FOR_DIVISION_BY_ZERO,HIGH_NOT_PRECEDENCE,IGNORE_SPACE,NO_AUTO_CREATE_USER,NO_AUTO_VALUE_ON_ZERO,NO_BACKSLASH_ESCAPES,NO_DIR_IN_CREATE,NO_ENGINE_SUBSTITUTION,NO_FIELD_OPTIONS,NO_KEY_OPTIONS,NO_TABLE_OPTIONS,NO_UNSIGNED_SUBTRACTION,NO_ZERO_DATE,NO_ZERO_IN_DATE,ONLY_FULL_GROUP_BY,PAD_CHAR_TO_FULL_LENGTH,PIPES_AS_CONCAT,REAL_AS_FLOAT,STRICT_ALL_TABLES,STRICT_TRANS_TABLES\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/sql_mode\",\"name\":\"sql_mode\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"When set, tables must be created with a primary key, and an existing primary key cannot be removed with \u0027ALTER TABLE\u0027. Attempts to do so will result in an error\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON, OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/sql_require_primary_key\",\"name\":\"sql_require_primary_key\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384:DHE-RSA-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-RSA-AES128-CCM:DHE-RSA-AES256-CCM:DHE-RSA-AES128-CCM8:DHE-RSA-AES256-CCM8\",\"description\":\"The list of permissible ciphers for connection encryption. By default, the FIPS cipher suites for TLS 1.2 are enforced.\",\"defaultValue\":\"ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384:DHE-RSA-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-RSA-AES128-CCM:DHE-RSA-AES256-CCM:DHE-RSA-AES128-CCM8:DHE-RSA-AES256-CCM8\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/ssl_cipher\",\"name\":\"ssl_cipher\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"256\",\"description\":\"Sets a soft upper limit for the number of cached stored routines per connection.\",\"defaultValue\":\"256\",\"dataType\":\"Integer\",\"allowedValues\":\"16-524288\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/stored_program_cache\",\"name\":\"stored_program_cache\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This parameter controls the server prohibits client updates even from users who have SUPER.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/super_read_only\",\"name\":\"super_read_only\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"The size in bytes of the buffer that InnoDB uses to write to the log files on disk.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1024\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/sync_binlog\",\"name\":\"sync_binlog\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"If this variable is set to 1, when any nontemporary table is created its .frm file is synchronized to disk\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/sync_frm\",\"name\":\"sync_frm\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The effects of this variable on a replication slave depend on whether the slave\u0027s master_info_repository is set to FILE or TABLE\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/sync_master_info\",\"name\":\"sync_master_info\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"If the value of this variable is greater than 0, the MySQL server synchronizes its relay log to disk (using fdatasync()) after every sync_relay_log events are written to the relay log.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/sync_relay_log\",\"name\":\"sync_relay_log\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"The effects of this variable on the slave depend on the server\u0027s relay_log_info_repository setting (FILE or TABLE), and if this is TABLE, additionally on whether the storage engine used by the relay log info table is transactional (such as InnoDB) or not (MyISAM). \",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/sync_relay_log_info\",\"name\":\"sync_relay_log_info\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"600\",\"description\":\"The number of table definitions (from .frm files) that can be stored in the definition cache.\",\"defaultValue\":\"600\",\"dataType\":\"Integer\",\"allowedValues\":\"400-524288\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/table_definition_cache\",\"name\":\"table_definition_cache\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"600\",\"description\":\"The number of open tables for all threads.\",\"defaultValue\":\"600\",\"dataType\":\"Integer\",\"allowedValues\":\"1-160000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/table_open_cache\",\"name\":\"table_open_cache\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"The number of open tables cache instances.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"1-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/table_open_cache_instances\",\"name\":\"table_open_cache_instances\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"9\",\"description\":\"How many threads the server should cache for reuse. The default value is 8 + (max_connections / 100), capped to a limit of 100.\",\"defaultValue\":\"9\",\"dataType\":\"Integer\",\"allowedValues\":\"0-16384\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/thread_cache_size\",\"name\":\"thread_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"one-thread-per-connection\",\"description\":\"The thread-handling model used by the server for connection threads.\",\"defaultValue\":\"one-thread-per-connection\",\"dataType\":\"Enumeration\",\"allowedValues\":\"one-thread-per-connection,no-threads,pool-of-threads,loaded-dynamically\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/thread_handling\",\"name\":\"thread_handling\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"262144\",\"description\":\"The stack size for each thread.\",\"defaultValue\":\"262144\",\"dataType\":\"Integer\",\"allowedValues\":\"131072-2147483136\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/thread_stack\",\"name\":\"thread_stack\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"+00:00\",\"description\":\"The server time zone\",\"defaultValue\":\"+00:00\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/time_zone\",\"name\":\"time_zone\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"TLSv1.2\",\"description\":\"Which protocols the server permits for encrypted connections. By default, TLS 1.2 is enforced\",\"defaultValue\":\"TLSv1.2\",\"dataType\":\"Set\",\"allowedValues\":\"TLSv1,TLSv1.1,TLSv1.2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/tls_version\",\"name\":\"tls_version\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"16777216\",\"description\":\"The maximum size of internal in-memory temporary tables. This variable does not apply to user-created MEMORY tables.\",\"defaultValue\":\"16777216\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/tmp_table_size\",\"name\":\"tmp_table_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"/app/work/temp\",\"description\":\"The path of the directory to use for creating temporary files.\",\"defaultValue\":\"/app/work/temp\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/tmpdir\",\"name\":\"tmpdir\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8192\",\"description\":\"The amount in bytes by which to increase a per-transaction memory pool which needs memory.\",\"defaultValue\":\"8192\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-131072\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/transaction_alloc_block_size\",\"name\":\"transaction_alloc_block_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"There is a per-transaction memory pool from which various transaction-related allocations take memory. The initial size of the pool in bytes is transaction_prealloc_size.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-131072\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/transaction_prealloc_size\",\"name\":\"transaction_prealloc_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Reserved for future use.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"OFF,MURMUR32\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/transaction_write_set_extraction\",\"name\":\"transaction_write_set_extraction\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"REPEATABLE-READ\",\"description\":\"The default transaction isolation level.\",\"defaultValue\":\"REPEATABLE-READ\",\"dataType\":\"Enumeration\",\"allowedValues\":\"READ-UNCOMMITTED,READ-COMMITTED,REPEATABLE-READ,SERIALIZABLE\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/tx_isolation\",\"name\":\"tx_isolation\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"YES\",\"description\":\"This variable controls whether updates to a view can be made when the view does not contain all columns of the primary key defined in the underlying table, if the update statement contains a LIMIT clause.\",\"defaultValue\":\"YES\",\"dataType\":\"Enumeration\",\"allowedValues\":\"YES,NO\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/updatable_views_with_limit\",\"name\":\"updatable_views_with_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"28800\",\"description\":\"The number of seconds the server waits for activity on a noninteractive connection before closing it.\",\"defaultValue\":\"28800\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/wait_timeout\",\"name\":\"wait_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"}]}" + "Content": "{\"value\":[{\"properties\":{\"value\":\"OFF\",\"description\":\"Tell the server to enable or disable archive engine.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/archive\",\"name\":\"archive\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Allow to audit the log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/audit_log_enabled\",\"name\":\"audit_log_enabled\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"CONNECTION\",\"description\":\"Select the events to audit logs.\",\"defaultValue\":\"CONNECTION\",\"dataType\":\"Set\",\"allowedValues\":\"DDL,DML_SELECT,DML_NONSELECT,DCL,ADMIN,DML,GENERAL,CONNECTION,TABLE_ACCESS\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/audit_log_events\",\"name\":\"audit_log_events\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"azure_superuser\",\"description\":\"The comma-separated user list whose commands will not be in the audit logs.\",\"defaultValue\":\"azure_superuser\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/audit_log_exclude_users\",\"name\":\"audit_log_exclude_users\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"The comma-separated user list whose commands will be in the audit logs. It takes higher priority if the same user name is found in audit_log_exclude_users.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/audit_log_include_users\",\"name\":\"audit_log_include_users\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Allow to audit the slow log.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/audit_slow_log_enabled\",\"name\":\"audit_slow_log_enabled\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Controls whether the server autogenerates SSL key and certificate files in the data directory, if they do not already exist.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/auto_generate_certs\",\"name\":\"auto_generate_certs\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"The autocommit mode. If set to ON, all changes to a table take effect immediately. If set to OFF, you must use COMMIT to accept a transaction or ROLLBACK to cancel it.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/autocommit\",\"name\":\"autocommit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This variable controls whether ALTER TABLE implicitly upgrades temporal columns found to be in pre-5.6.4 format.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/avoid_temporal_upgrade\",\"name\":\"avoid_temporal_upgrade\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"271\",\"description\":\"The number of outstanding connection requests MySQL can have\",\"defaultValue\":\"271\",\"dataType\":\"Integer\",\"allowedValues\":\"0-65535\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/back_log\",\"name\":\"back_log\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1048576\",\"description\":\"The size of the cache to hold changes to the binary log during a transaction.\",\"defaultValue\":\"1048576\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967296\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/binlog_cache_size\",\"name\":\"binlog_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"CRC32\",\"description\":\"When enabled, this variable causes the master to write a checksum for each event in the binary log.\",\"defaultValue\":\"CRC32\",\"dataType\":\"Enumeration\",\"allowedValues\":\"NONE,CRC32\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/binlog_checksum\",\"name\":\"binlog_checksum\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ABORT_SERVER\",\"description\":\"Controls what happens when the server cannot write to the binary log, which can cause the master\u0027s log to become inconsistent and replication slaves to lose synchronization.\",\"defaultValue\":\"ABORT_SERVER\",\"dataType\":\"Enumeration\",\"allowedValues\":\"IGNORE_ERROR,ABORT_SERVER\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/binlog_error_action\",\"name\":\"binlog_error_action\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The number of seconds for automatic binary log file removal. The default is 0, which means no automatic removal. Possible removals happen at startup and when the binary log is flushed.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/binlog_expire_logs_seconds\",\"name\":\"binlog_expire_logs_seconds\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ROW\",\"description\":\"This variable sets the binary logging format, and can be any one of STATEMENT, ROW, or MIXED.\",\"defaultValue\":\"ROW\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ROW,STATEMENT,MIXED\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/binlog_format\",\"name\":\"binlog_format\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Controls how many microseconds the binary log commit waits before synchronizing the binary log file to disk.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0,11-1000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/binlog_group_commit_sync_delay\",\"name\":\"binlog_group_commit_sync_delay\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The maximum number of transactions to wait for before aborting the current delay as specified by binlog-group-commit-sync-delay.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/binlog_group_commit_sync_no_delay_count\",\"name\":\"binlog_group_commit_sync_no_delay_count\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"This variable controls how binary log files are iterated during the search for GTIDs when MySQL starts or restarts.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/binlog_gtid_simple_recovery\",\"name\":\"binlog_gtid_simple_recovery\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"If this variable is enabled (the default), transactions are committed in the same order they are written to the binary log. If disabled, transactions may be committed in parallel.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/binlog_order_commits\",\"name\":\"binlog_order_commits\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"minimal\",\"description\":\"For MySQL row-based replication, this variable determines how row images are written to the binary log.\",\"defaultValue\":\"minimal\",\"dataType\":\"Enumeration\",\"allowedValues\":\"full,minimal,noblob\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/binlog_row_image\",\"name\":\"binlog_row_image\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"The binlog_rows_query_log_events system variable affects row-based logging only. When enabled, it causes the MySQL Server to write informational log events such as row query log events into its binary log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/binlog_rows_query_log_events\",\"name\":\"binlog_rows_query_log_events\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"32768\",\"description\":\"This variable determines the size of the cache for the binary log to hold nontransactional statements issued during a transaction.\",\"defaultValue\":\"32768\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/binlog_stmt_cache_size\",\"name\":\"binlog_stmt_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1048576\",\"description\":\"Specify the maximum size of a row-based binary log event in bytes.\",\"defaultValue\":\"1048576\",\"dataType\":\"Integer\",\"allowedValues\":\"256-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/binlog-row-event-max-size\",\"name\":\"binlog-row-event-max-size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Tell the server to enable or disable blackhole engine.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/blackhole\",\"name\":\"blackhole\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"aes-128-ecb\",\"description\":\"This variable controls the block encryption mode for block-based algorithms such as AES.\",\"defaultValue\":\"aes-128-ecb\",\"dataType\":\"Enumeration\",\"allowedValues\":\"aes-128-ecb,aes-192-ecb,aes-256-ecb,aes-128-cbc,aes-192-cbc,aes-256-cbc\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/block_encryption_mode\",\"name\":\"block_encryption_mode\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8388608\",\"description\":\"Limits the size of the MyISAM cache tree in bytes per thread.\",\"defaultValue\":\"8388608\",\"dataType\":\"Integer\",\"allowedValues\":\"0-18446744073709547520\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/bulk_insert_buffer_size\",\"name\":\"bulk_insert_buffer_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"latin1\",\"description\":\"Use charset_name as the default server character set.\",\"defaultValue\":\"latin1\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ARMSCII8,ASCII,BIG5,BINARY,CP1250,CP1251,CP1256,CP1257,CP850,CP852,CP866,CP932,DEC8,EUCJPMS,EUCKR,GB18030,GB2312,GBK,GEOSTD8,GREEK,HEBREW,HP8,KEYBCS2,KOI8R,KOI8U,LATIN1,LATIN2,LATIN5,LATIN7,MACCE,MACROMAN,SJIS,SWE7,TIS620,UCS2,UJIS,UTF16,UTF16LE,UTF32,UTF8,UTF8MB4\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/character_set_server\",\"name\":\"character_set_server\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"latin1_swedish_ci\",\"description\":\"The server\u0027s default collation.\",\"defaultValue\":\"latin1_swedish_ci\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ARMSCII8_BIN,ARMSCII8_GENERAL_CI,ASCII_BIN,ASCII_GENERAL_CI,BIG5_BIN,BIG5_CHINESE_CI,BINARY,CP1250_BIN,CP1250_CROATIAN_CI,CP1250_CZECH_CS,CP1250_GENERAL_CI,CP1250_POLISH_CI,CP1251_BIN,CP1251_BULGARIAN_CI,CP1251_GENERAL_CI,CP1251_GENERAL_CS,CP1251_UKRAINIAN_CI,CP1256_BIN,CP1256_GENERAL_CI,CP1257_BIN,CP1257_GENERAL_CI,CP1257_LITHUANIAN_CI,CP850_BIN,CP850_GENERAL_CI,CP852_BIN,CP852_GENERAL_CI,CP866_BIN,CP866_GENERAL_CI,CP932_BIN,CP932_JAPANESE_CI,DEC8_BIN,DEC8_SWEDISH_CI,EUCJPMS_BIN,EUCJPMS_JAPANESE_CI,EUCKR_BIN,EUCKR_KOREAN_CI,GB18030_BIN,GB18030_CHINESE_CI,GB18030_UNICODE_520_CI,GB2312_BIN,GB2312_CHINESE_CI,GBK_BIN,GBK_CHINESE_CI,GEOSTD8_BIN,GEOSTD8_GENERAL_CI,GREEK_BIN,GREEK_GENERAL_CI,HEBREW_BIN,HEBREW_GENERAL_CI,HP8_BIN,HP8_ENGLISH_CI,KEYBCS2_BIN,KEYBCS2_GENERAL_CI,KOI8R_BIN,KOI8R_GENERAL_CI,KOI8U_BIN,KOI8U_GENERAL_CI,LATIN1_BIN,LATIN1_DANISH_CI,LATIN1_GENERAL_CI,LATIN1_GENERAL_CS,LATIN1_GERMAN1_CI,LATIN1_GERMAN2_CI,LATIN1_SPANISH_CI,LATIN1_SWEDISH_CI,LATIN2_BIN,LATIN2_CROATIAN_CI,LATIN2_CZECH_CS,LATIN2_GENERAL_CI,LATIN2_HUNGARIAN_CI,LATIN5_BIN,LATIN5_TURKISH_CI,LATIN7_BIN,LATIN7_ESTONIAN_CS,LATIN7_GENERAL_CI,LATIN7_GENERAL_CS,MACCE_BIN,MACCE_GENERAL_CI,MACROMAN_BIN,MACROMAN_GENERAL_CI,SJIS_BIN,SJIS_JAPANESE_CI,SWE7_BIN,SWE7_SWEDISH_CI,TIS620_BIN,TIS620_THAI_CI,UCS2_BIN,UCS2_CROATIAN_CI,UCS2_CZECH_CI,UCS2_DANISH_CI,UCS2_ESPERANTO_CI,UCS2_ESTONIAN_CI,UCS2_GENERAL_CI,UCS2_GENERAL_MYSQL500_CI,UCS2_GERMAN2_CI,UCS2_HUNGARIAN_CI,UCS2_ICELANDIC_CI,UCS2_LATVIAN_CI,UCS2_LITHUANIAN_CI,UCS2_PERSIAN_CI,UCS2_POLISH_CI,UCS2_ROMAN_CI,UCS2_ROMANIAN_CI,UCS2_SINHALA_CI,UCS2_SLOVAK_CI,UCS2_SLOVENIAN_CI,UCS2_SPANISH_CI,UCS2_SPANISH2_CI,UCS2_SWEDISH_CI,UCS2_TURKISH_CI,UCS2_UNICODE_520_CI,UCS2_UNICODE_CI,UCS2_VIETNAMESE_CI,UJIS_BIN,UJIS_JAPANESE_CI,UTF16_BIN,UTF16_CROATIAN_CI,UTF16_CZECH_CI,UTF16_DANISH_CI,UTF16_ESPERANTO_CI,UTF16_ESTONIAN_CI,UTF16_GENERAL_CI,UTF16_GERMAN2_CI,UTF16_HUNGARIAN_CI,UTF16_ICELANDIC_CI,UTF16_LATVIAN_CI,UTF16_LITHUANIAN_CI,UTF16_PERSIAN_CI,UTF16_POLISH_CI,UTF16_ROMAN_CI,UTF16_ROMANIAN_CI,UTF16_SINHALA_CI,UTF16_SLOVAK_CI,UTF16_SLOVENIAN_CI,UTF16_SPANISH_CI,UTF16_SPANISH2_CI,UTF16_SWEDISH_CI,UTF16_TURKISH_CI,UTF16_UNICODE_520_CI,UTF16_UNICODE_CI,UTF16_VIETNAMESE_CI,UTF16LE_BIN,UTF16LE_GENERAL_CI,UTF32_BIN,UTF32_CROATIAN_CI,UTF32_CZECH_CI,UTF32_DANISH_CI,UTF32_ESPERANTO_CI,UTF32_ESTONIAN_CI,UTF32_GENERAL_CI,UTF32_GERMAN2_CI,UTF32_HUNGARIAN_CI,UTF32_ICELANDIC_CI,UTF32_LATVIAN_CI,UTF32_LITHUANIAN_CI,UTF32_PERSIAN_CI,UTF32_POLISH_CI,UTF32_ROMAN_CI,UTF32_ROMANIAN_CI,UTF32_SINHALA_CI,UTF32_SLOVAK_CI,UTF32_SLOVENIAN_CI,UTF32_SPANISH_CI,UTF32_SPANISH2_CI,UTF32_SWEDISH_CI,UTF32_TURKISH_CI,UTF32_UNICODE_520_CI,UTF32_UNICODE_CI,UTF32_VIETNAMESE_CI,UTF8_BIN,UTF8_CROATIAN_CI,UTF8_CZECH_CI,UTF8_DANISH_CI,UTF8_ESPERANTO_CI,UTF8_ESTONIAN_CI,UTF8_GENERAL_CI,UTF8_GENERAL_MYSQL500_CI,UTF8_GERMAN2_CI,UTF8_HUNGARIAN_CI,UTF8_ICELANDIC_CI,UTF8_LATVIAN_CI,UTF8_LITHUANIAN_CI,UTF8_PERSIAN_CI,UTF8_POLISH_CI,UTF8_ROMAN_CI,UTF8_ROMANIAN_CI,UTF8_SINHALA_CI,UTF8_SLOVAK_CI,UTF8_SLOVENIAN_CI,UTF8_SPANISH_CI,UTF8_SPANISH2_CI,UTF8_SWEDISH_CI,UTF8_TURKISH_CI,UTF8_UNICODE_520_CI,UTF8_UNICODE_CI,UTF8_VIETNAMESE_CI,UTF8MB4_BIN,UTF8MB4_CROATIAN_CI,UTF8MB4_CZECH_CI,UTF8MB4_DANISH_CI,UTF8MB4_ESPERANTO_CI,UTF8MB4_ESTONIAN_CI,UTF8MB4_GENERAL_CI,UTF8MB4_GERMAN2_CI,UTF8MB4_HUNGARIAN_CI,UTF8MB4_ICELANDIC_CI,UTF8MB4_LATVIAN_CI,UTF8MB4_LITHUANIAN_CI,UTF8MB4_PERSIAN_CI,UTF8MB4_POLISH_CI,UTF8MB4_ROMAN_CI,UTF8MB4_ROMANIAN_CI,UTF8MB4_SINHALA_CI,UTF8MB4_SLOVAK_CI,UTF8MB4_SLOVENIAN_CI,UTF8MB4_SPANISH_CI,UTF8MB4_SPANISH2_CI,UTF8MB4_SWEDISH_CI,UTF8MB4_TURKISH_CI,UTF8MB4_UNICODE_520_CI,UTF8MB4_UNICODE_CI,UTF8MB4_VIETNAMESE_CI\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/collation_server\",\"name\":\"collation_server\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"NO_CHAIN\",\"description\":\"The transaction completion type.\",\"defaultValue\":\"NO_CHAIN\",\"dataType\":\"Enumeration\",\"allowedValues\":\"NO_CHAIN,CHAIN,RELEASE\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/completion_type\",\"name\":\"completion_type\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"AUTO\",\"description\":\"Allows INSERT and SELECT statements to run concurrently for MyISAM tables that have no free blocks in the middle of the data file.\",\"defaultValue\":\"AUTO\",\"dataType\":\"Enumeration\",\"allowedValues\":\"NEVER,AUTO,ALWAYS\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/concurrent_insert\",\"name\":\"concurrent_insert\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"The number of seconds that the mysqld server waits for a connect packet before responding with Bad handshake.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"2-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/connect_timeout\",\"name\":\"connect_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"mysql_native_password\",\"description\":\"The default authentication plugin\",\"defaultValue\":\"mysql_native_password\",\"dataType\":\"Enumeration\",\"allowedValues\":\"mysql_native_password,sha256_password\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/default_authentication_plugin\",\"name\":\"default_authentication_plugin\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"This variable defines the global automatic password expiration policy.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-65535\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/default_password_lifetime\",\"name\":\"default_password_lifetime\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"InnoDB\",\"description\":\"The default storage engine (table type).\",\"defaultValue\":\"InnoDB\",\"dataType\":\"Enumeration\",\"allowedValues\":\"InnoDB,CSV,MEMORY\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/default_storage_engine\",\"name\":\"default_storage_engine\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"InnoDB\",\"description\":\"The default storage engine for TEMPORARY tables.\",\"defaultValue\":\"InnoDB\",\"dataType\":\"Enumeration\",\"allowedValues\":\"InnoDB,MyISAM,CSV,PERFORMANCE_SCHEMA,MEMORY,MRG_MYISAM\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/default_tmp_storage_engine\",\"name\":\"default_tmp_storage_engine\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The default mode value to use for the WEEK() function.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-7\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/default_week_format\",\"name\":\"default_week_format\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"It specifies how to use delayed key writes.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF,ALL\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/delay_key_write\",\"name\":\"delay_key_write\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"After inserting delayed_insert_limit delayed rows, the INSERT DELAYED handler thread checks whether there are any SELECT statements pending. If so, it allows them to execute before continuing to insert delayed rows.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"1-9223372036854775807\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/delayed_insert_limit\",\"name\":\"delayed_insert_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"300\",\"description\":\"How many seconds an INSERT DELAYED handler thread should wait for INSERT statements before terminating.\",\"defaultValue\":\"300\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/delayed_insert_timeout\",\"name\":\"delayed_insert_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1000\",\"description\":\"If the queue becomes full, any client that issues an INSERT DELAYED statement waits until there is room in the queue again.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-9223372036854775807\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/delayed_queue_size\",\"name\":\"delayed_queue_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"MyISAM,BLACKHOLE,FEDEATED,ARCHIVE\",\"description\":\"This variable indicates which storage engines cannot be used to create tables or tablespaces.\",\"defaultValue\":\"MyISAM,BLACKHOLE,FEDEATED,ARCHIVE\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/disabled_storage_engines\",\"name\":\"disabled_storage_engines\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Whether to disable the startup check for tables with nonnative partitioning.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/disable-partition-engine-check\",\"name\":\"disable-partition-engine-check\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Controls how the server handles clients with expired passwords:\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/disconnect_on_expired_password\",\"name\":\"disconnect_on_expired_password\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"Number of digits by which to increase the scale of the result of division operations.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"0-30\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/div_precision_increment\",\"name\":\"div_precision_increment\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Whether optimizer JSON output should add end markers.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/end_markers_in_json\",\"name\":\"end_markers_in_json\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"When enable, this option enforces GTID consistency by allowing execution of only those statements that can be logged in a transactionally safe manner.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF,WARN\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/enforce_gtid_consistency\",\"name\":\"enforce_gtid_consistency\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"This variable indicates the number of equality ranges in an equality comparison condition when the optimizer should switch from using index dives to index statistics in estimating the number of qualifying rows.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/eq_range_index_dive_limit\",\"name\":\"eq_range_index_dive_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Indicates the status of the Event Scheduler. It is always OFF for a replica server to keep the replication consistency.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/event_scheduler\",\"name\":\"event_scheduler\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The number of days for automatic binary log file removal. The default is 0, which means no automatic removal. Possible removals happen at startup and when the binary log is flushed.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-99\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/expire_logs_days\",\"name\":\"expire_logs_days\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"[Deprecated] This system variable determines whether the server enables certain nonstandard behaviors for default values and NULL-value handling in TIMESTAMP columns.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/explicit_defaults_for_timestamp\",\"name\":\"explicit_defaults_for_timestamp\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"If ON, the server flushes (synchronizes) all changes to disk after each SQL statement. Normally, MySQL does a write of all changes to disk only after each SQL statement and lets the operating system handle the synchronizing to disk.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/flush\",\"name\":\"flush\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"If this is set to a nonzero value, all tables are closed every flush_time seconds to free up resources and synchronize unflushed data to disk.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-8640000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/flush_time\",\"name\":\"flush_time\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"+ -\u003e\u003c()~*:\\\"\\\"\u0026|\",\"description\":\"The list of operators supported by boolean full-text searches performed using IN BOOLEAN MODE.\",\"defaultValue\":\"+ -\u003e\u003c()~*:\\\"\\\"\u0026|\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/ft_boolean_syntax\",\"name\":\"ft_boolean_syntax\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"20\",\"description\":\"The number of top matches to use for full-text searches performed using WITH QUERY EXPANSION.\",\"defaultValue\":\"20\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/ft_query_expansion_limit\",\"name\":\"ft_query_expansion_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Whether the general query log is enabled.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/general_log\",\"name\":\"general_log\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"/app/work/serverlogs/mysql-general-mysql-flexible-test-100-2020111008.log\",\"description\":\"The name of the general query log file. \",\"defaultValue\":\"mysql-general.log\",\"dataType\":\"String\",\"allowedValues\":\"mysql-general.log\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/general_log_file\",\"name\":\"general_log_file\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"Maximum allowed result length in bytes for the GROUP_CONCAT().\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"4-16777216\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/group_concat_max_len\",\"name\":\"group_concat_max_len\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1000\",\"description\":\"Compress the mysql.gtid_executed table each time this many transactions have taken place.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/gtid_executed_compression_period\",\"name\":\"gtid_executed_compression_period\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Indicates if global transaction identifiers (GTIDs) are used to identify transactions.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"OFF,OFF_PERMISSIVE,ON_PERMISSIVE,ON\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/gtid_mode\",\"name\":\"gtid_mode\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"279\",\"description\":\"The size of the internal host cache.\",\"defaultValue\":\"279\",\"dataType\":\"Integer\",\"allowedValues\":\"0-65536\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/host_cache_size\",\"name\":\"host_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"A string to be executed by the server for each client that connects.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/init_connect\",\"name\":\"init_connect\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Specifies whether to dynamically adjust the rate of flushing dirty pages in the InnoDB buffer pool based on the workload. Adjusting the flush rate dynamically is intended to avoid bursts of I/O activity.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_adaptive_flushing\",\"name\":\"innodb_adaptive_flushing\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"Defines the low water mark representing percentage of redo log capacity at which adaptive flushing is enabled.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-70\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_adaptive_flushing_lwm\",\"name\":\"innodb_adaptive_flushing_lwm\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Whether innodb adaptive hash indexes are enabled or disabled.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_adaptive_hash_index\",\"name\":\"innodb_adaptive_hash_index\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"Partitions the adaptive hash index search system. Each index is bound to a specific partition, with each partition protected by a separate latch. \",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"1-512\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_adaptive_hash_index_parts\",\"name\":\"innodb_adaptive_hash_index_parts\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"150000\",\"description\":\"Permits InnoDB to automatically adjust the value of innodb_thread_sleep_delay up or down according to the current workload.\",\"defaultValue\":\"150000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_adaptive_max_sleep_delay\",\"name\":\"innodb_adaptive_max_sleep_delay\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"The increment size (in megabytes) for extending the size of an auto-extending InnoDB system tablespace file when it becomes full.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"1-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_autoextend_increment\",\"name\":\"innodb_autoextend_increment\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"The lock mode to use for generating auto-increment values.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0,1,2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_autoinc_lock_mode\",\"name\":\"innodb_autoinc_lock_mode\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"134217728\",\"description\":\"Defines the chunk size for online InnoDB buffer pool resizing operations.\",\"defaultValue\":\"134217728\",\"dataType\":\"Integer\",\"allowedValues\":\"1048576-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_buffer_pool_chunk_size\",\"name\":\"innodb_buffer_pool_chunk_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Dump the buffer pool into a file named @@innodb_buffer_pool_filename\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_buffer_pool_dump_at_shutdown\",\"name\":\"innodb_buffer_pool_dump_at_shutdown\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Immediately records the pages cached in the InnoDB buffer pool.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_buffer_pool_dump_now\",\"name\":\"innodb_buffer_pool_dump_now\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"25\",\"description\":\"Specifies the percentage of the most recently used pages for each buffer pool to read out and dump.\",\"defaultValue\":\"25\",\"dataType\":\"Integer\",\"allowedValues\":\"1-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_buffer_pool_dump_pct\",\"name\":\"innodb_buffer_pool_dump_pct\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ib_buffer_pool\",\"description\":\"Specifies the file that holds the list of page numbers produced by innodb_buffer_pool_dump_at_shutdown or innodb_buffer_pool_dump_now.\",\"defaultValue\":\"ib_buffer_pool\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_buffer_pool_filename\",\"name\":\"innodb_buffer_pool_filename\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"The number of regions that the InnoDB buffer pool is divided into\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"1-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_buffer_pool_instances\",\"name\":\"innodb_buffer_pool_instances\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Interrupts the process of restoring InnoDB buffer pool contents triggered by innodb_buffer_pool_load_at_startup or innodb_buffer_pool_load_now.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_buffer_pool_load_abort\",\"name\":\"innodb_buffer_pool_load_abort\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Load the buffer pool from a file named @@innodb_buffer_pool_filename\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_buffer_pool_load_at_startup\",\"name\":\"innodb_buffer_pool_load_at_startup\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Immediately warms up the InnoDB buffer pool by loading a set of data pages, without waiting for a server restart.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_buffer_pool_load_now\",\"name\":\"innodb_buffer_pool_load_now\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"536870912\",\"description\":\"The size in bytes of the buffer pool, the memory area where InnoDB caches table and index data.\",\"defaultValue\":\"536870912\",\"dataType\":\"Integer\",\"allowedValues\":\"134217728-536870912\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_buffer_pool_size\",\"name\":\"innodb_buffer_pool_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"25\",\"description\":\"Maximum size for the InnoDB change buffer, as a percentage of the total size of the buffer pool. You might increase this value for a MySQL server with heavy insert, update, and delete activity, or decrease it for a MySQL server with unchanging data used for reporting.\",\"defaultValue\":\"25\",\"dataType\":\"Integer\",\"allowedValues\":\"0-50\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_change_buffer_max_size\",\"name\":\"innodb_change_buffer_max_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"all\",\"description\":\"Whether InnoDB performs change buffering, an optimization that delays write operations to secondary indexes so that the I/O operations can be performed sequentially.\",\"defaultValue\":\"all\",\"dataType\":\"Enumeration\",\"allowedValues\":\"none,inserts,deletes,changes,purges,all\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_change_buffering\",\"name\":\"innodb_change_buffering\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"crc32\",\"description\":\"Specifies how to generate and verify the checksum stored in the disk blocks of InnoDB tablespaces.\",\"defaultValue\":\"crc32\",\"dataType\":\"Enumeration\",\"allowedValues\":\"innodb,crc32,none,strict_innodb,strict_crc32,strict_none\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_checksum_algorithm\",\"name\":\"innodb_checksum_algorithm\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Enables per-index compression-related statistics in the INFORMATION_SCHEMA.INNODB_CMP_PER_INDEX table. Because these statistics can be expensive to gather, only enable this option on development, test, or slave instances during performance tuning related to InnoDB compressed tables.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_cmp_per_index_enabled\",\"name\":\"innodb_cmp_per_index_enabled\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The number of threads that can commit at the same time. A value of 0 (the default) permits any number of transactions to commit simultaneously. The value of innodb_commit_concurrency cannot be changed at runtime from zero to nonzero or vice versa. The value can be changed from one nonzero value to another.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_commit_concurrency\",\"name\":\"innodb_commit_concurrency\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"5\",\"description\":\"Defines the compression failure rate threshold for a table, as a percentage, at which point MySQL begins adding padding within compressed pages to avoid expensive compression failures.\",\"defaultValue\":\"5\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_compression_failure_threshold_pct\",\"name\":\"innodb_compression_failure_threshold_pct\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"6\",\"description\":\"Specifies the level of zlib compression to use for InnoDB compressed tables and indexes. A higher value lets you fit more data onto a storage device, at the expense of more CPU overhead during compression. A lower value lets you reduce CPU overhead when storage space is not critical, or you expect the data is not especially compressible.\",\"defaultValue\":\"6\",\"dataType\":\"Integer\",\"allowedValues\":\"0-9\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_compression_level\",\"name\":\"innodb_compression_level\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"Specifies the maximum percentage that can be reserved as free space within each compressed page, allowing room to reorganize the data and modification log within the page when a compressed table or index is updated and the data might be recompressed. Only applies when innodb_compression_failure_threshold_pct is set to a nonzero value, and the rate of compression failures passes the cutoff point.\",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"0-75\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_compression_pad_pct_max\",\"name\":\"innodb_compression_pad_pct_max\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"5000\",\"description\":\"Determines the number of threads that can enter InnoDB concurrently.\",\"defaultValue\":\"5000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_concurrency_tickets\",\"name\":\"innodb_concurrency_tickets\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"This option is used to disable deadlock detection. On high concurrency systems, deadlock detection can cause a slowdown when numerous threads wait for the same lock.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_deadlock_detect\",\"name\":\"innodb_deadlock_detect\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"DYNAMIC\",\"description\":\"The innodb_default_row_format option defines the default row format for InnoDB tables and user-created temporary tables.\",\"defaultValue\":\"DYNAMIC\",\"dataType\":\"Enumeration\",\"allowedValues\":\"DYNAMIC,COMPACT,REDUNDANT\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_default_row_format\",\"name\":\"innodb_default_row_format\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Disables the operating system file system cache for merge-sort temporary files. The effect is to open such files with the equivalent of O_DIRECT.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_disable_sort_file_cache\",\"name\":\"innodb_disable_sort_file_cache\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"/app/work/diskcache.data\",\"description\":\"File name of MySQL BPE file\",\"defaultValue\":\"/app/work/diskcache.data\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_disk_buffer_pool_filename\",\"name\":\"innodb_disk_buffer_pool_filename\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Size of MySQL BPE in byte\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-515396075520\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_disk_buffer_pool_size\",\"name\":\"innodb_disk_buffer_pool_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"When enabled, InnoDB stores all data twice, first to the doublewrite buffer, then to the actual data files.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_doublewrite\",\"name\":\"innodb_doublewrite\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"The InnoDB shutdown mode. If the value is 0, InnoDB does a slow shutdown, a full purge and a change buffer merge before shutting down. If the value is 1 (the default), InnoDB skips these operations at shutdown, a process known as a fast shutdown. If the value is 2, InnoDB flushes its logs and shuts down cold, as if MySQL had crashed; no committed transactions are lost, but the crash recovery operation makes the next startup take longer.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0,1,2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_fast_shutdown\",\"name\":\"innodb_fast_shutdown\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"7201\",\"description\":\"The seconds of mysql engine waiting for I/O, this threshold timeout will result in mysql engine crash.\",\"defaultValue\":\"7201\",\"dataType\":\"Integer\",\"allowedValues\":\"1-864000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_fatal_semaphore_wait_threshold\",\"name\":\"innodb_fatal_semaphore_wait_threshold\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"Barracuda\",\"description\":\"Indicates the InnoDB file format for file-per-table tablespaces.\",\"defaultValue\":\"Barracuda\",\"dataType\":\"Enumeration\",\"allowedValues\":\"Antelope,Barracuda\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_file_format\",\"name\":\"innodb_file_format\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"InnoDB stores the data and indexes for each newly created table in a separate .ibd file instead of the system tablespace. It cannot be updated any more for a master/replica server to keep the replication consistency.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_file_per_table\",\"name\":\"innodb_file_per_table\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"InnoDB performs a bulk load when creating or rebuilding indexes.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"10-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_fill_factor\",\"name\":\"innodb_fill_factor\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Write and flush the logs every N seconds. This setting has an effect only when innodb_flush_log_at_trx_commit has a value of 2.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2700\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_flush_log_at_timeout\",\"name\":\"innodb_flush_log_at_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Controls the balance between strict ACID compliance for commit operations and higher performance that is possible when commit-related I/O operations are rearranged and done in batches.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0,1,2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_flush_log_at_trx_commit\",\"name\":\"innodb_flush_log_at_trx_commit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"fsync\",\"description\":\"Defines the method used to flush data to InnoDB data files and log files, which can affect I/O throughput. \",\"defaultValue\":\"fsync\",\"dataType\":\"Enumeration\",\"allowedValues\":\"fsync,O_DSYNC,littlesync,nosync,O_DIRECT,O_DIRECT_NO_FSYNC\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_flush_method\",\"name\":\"innodb_flush_method\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Specifies whether flushing a page from the InnoDB buffer pool also flushes other dirty pages in the same extent.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0,1,2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_flush_neighbors\",\"name\":\"innodb_flush_neighbors\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Causes the innodb_io_capacity setting to be ignored for bursts of I/O activity that occur at checkpoints.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_flush_sync\",\"name\":\"innodb_flush_sync\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"30\",\"description\":\"Number of iterations for which InnoDB keeps the previously calculated snapshot of the flushing state, controlling how quickly adaptive flushing responds to changing workloads.\",\"defaultValue\":\"30\",\"dataType\":\"Integer\",\"allowedValues\":\"1-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_flushing_avg_loops\",\"name\":\"innodb_flushing_avg_loops\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Permits InnoDB to load tables at startup that are marked as corrupted. Use only during troubleshooting, to recover data that is otherwise inaccessible.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_force_load_corrupted\",\"name\":\"innodb_force_load_corrupted\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The crash recovery mode, typically only changed in serious troubleshooting situations.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-6\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_force_recovery\",\"name\":\"innodb_force_recovery\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8000000\",\"description\":\"The memory allocated, in bytes, for the InnoDB FULLTEXT search index cache, which holds a parsed document in memory while creating an InnoDB FULLTEXT index.\",\"defaultValue\":\"8000000\",\"dataType\":\"Integer\",\"allowedValues\":\"1600000-80000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_ft_cache_size\",\"name\":\"innodb_ft_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Whether to enable additional full-text search (FTS) diagnostic output. This option is primarily intended for advanced FTS debugging and will not be of interest to most users. Output is printed to the error log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_ft_enable_diag_print\",\"name\":\"innodb_ft_enable_diag_print\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Specifies that a set of stopwords is associated with an InnoDB FULLTEXT index at the time the index is created.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_ft_enable_stopword\",\"name\":\"innodb_ft_enable_stopword\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"84\",\"description\":\"Maximum character length of words that are stored in an InnoDB FULLTEXT index.\",\"defaultValue\":\"84\",\"dataType\":\"Integer\",\"allowedValues\":\"10-84\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_ft_max_token_size\",\"name\":\"innodb_ft_max_token_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"3\",\"description\":\"Minimum length of words that are stored in an InnoDB FULLTEXT index.\",\"defaultValue\":\"3\",\"dataType\":\"Integer\",\"allowedValues\":\"0-16\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_ft_min_token_size\",\"name\":\"innodb_ft_min_token_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2000\",\"description\":\"Number of words to process during each OPTIMIZE TABLE operation on an InnoDB FULLTEXT index.\",\"defaultValue\":\"2000\",\"dataType\":\"Integer\",\"allowedValues\":\"1000-10000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_ft_num_word_optimize\",\"name\":\"innodb_ft_num_word_optimize\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2000000000\",\"description\":\"The InnoDB full-text search query result cache limit (defined in bytes) per full-text search query or per thread.\",\"defaultValue\":\"2000000000\",\"dataType\":\"Integer\",\"allowedValues\":\"1000000-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_ft_result_cache_limit\",\"name\":\"innodb_ft_result_cache_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"This option is used to specify your own InnoDB FULLTEXT index stopword list for all InnoDB tables.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_ft_server_stopword_table\",\"name\":\"innodb_ft_server_stopword_table\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Number of threads used in parallel to index and tokenize text in an InnoDB FULLTEXT index when building a search index.\",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"1-32\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_ft_sort_pll_degree\",\"name\":\"innodb_ft_sort_pll_degree\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"640000000\",\"description\":\"The total memory allocated, in bytes, for the InnoDB full-text search index cache for all tables.\",\"defaultValue\":\"640000000\",\"dataType\":\"Integer\",\"allowedValues\":\"32000000-1600000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_ft_total_cache_size\",\"name\":\"innodb_ft_total_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"This option is used to specify your own InnoDB FULLTEXT index stopword list on a specific table.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_ft_user_stopword_table\",\"name\":\"innodb_ft_user_stopword_table\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"Sets an upper limit on I/O activity performed by InnoDB background tasks, such as flushing pages from the buffer pool and merging data from the change buffer.\",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"100-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_io_capacity\",\"name\":\"innodb_io_capacity\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2000\",\"description\":\"If flushing activity falls behind, InnoDB can flush more aggressively than the limit imposed by innodb_io_capacity. innodb_io_capacity_max defines an upper limit the number of I/O operations performed per second by InnoDB background tasks in such situations.\",\"defaultValue\":\"2000\",\"dataType\":\"Integer\",\"allowedValues\":\"100-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_io_capacity_max\",\"name\":\"innodb_io_capacity_max\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"When this option is enabled, index key prefixes longer than 767 bytes (up to 3072 bytes) are allowed for InnoDB tables that use DYNAMIC or COMPRESSED row format.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_large_prefix\",\"name\":\"innodb_large_prefix\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"The length of time in seconds an InnoDB transaction waits for a row lock before giving up.\",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"1-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_lock_wait_timeout\",\"name\":\"innodb_lock_wait_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"16777216\",\"description\":\"The size in bytes of the buffer that InnoDB uses to write to the log files on disk.\",\"defaultValue\":\"16777216\",\"dataType\":\"Integer\",\"allowedValues\":\"1048576-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_log_buffer_size\",\"name\":\"innodb_log_buffer_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Enables or disables checksums for redo log pages.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_log_checksums\",\"name\":\"innodb_log_checksums\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Specifies whether images of re-compressed pages are written to the redo log.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_log_compressed_pages\",\"name\":\"innodb_log_compressed_pages\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"268435456\",\"description\":\"The size in bytes of each log file in a log group. The combined size of log files (innodb_log_file_size * innodb_log_files_in_group) cannot exceed a maximum value that is slightly less than 512GB.\",\"defaultValue\":\"268435456\",\"dataType\":\"Integer\",\"allowedValues\":\"268435456-137438953472\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_log_file_size\",\"name\":\"innodb_log_file_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8192\",\"description\":\"The write-ahead block size for the redo log, in bytes.\",\"defaultValue\":\"8192\",\"dataType\":\"Integer\",\"allowedValues\":\"512-16384\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_log_write_ahead_size\",\"name\":\"innodb_log_write_ahead_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"A parameter that influences the algorithms and heuristics for the flush operation for the InnoDB buffer pool.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"100-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_lru_scan_depth\",\"name\":\"innodb_lru_scan_depth\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"75\",\"description\":\"InnoDB tries to flush data from the buffer pool so that the percentage of dirty pages does not exceed this value.\",\"defaultValue\":\"75\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-99.99\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_max_dirty_pages_pct\",\"name\":\"innodb_max_dirty_pages_pct\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Defines a low water mark representing the percentage of dirty pages at which preflushing is enabled to control the dirty page ratio.\",\"defaultValue\":\"0\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-99.99\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_max_dirty_pages_pct_lwm\",\"name\":\"innodb_max_dirty_pages_pct_lwm\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Defines the maximum length of the purge queue. The default value of 0 indicates no limit (no delays).\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_max_purge_lag\",\"name\":\"innodb_max_purge_lag\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Specifies the maximum delay in microseconds for the delay imposed by the innodb_max_purge_lag configuration option.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-10000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_max_purge_lag_delay\",\"name\":\"innodb_max_purge_lag_delay\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1073741824\",\"description\":\"Defines a threshold size for undo tablespaces.\",\"defaultValue\":\"1073741824\",\"dataType\":\"Integer\",\"allowedValues\":\"10485760-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_max_undo_log_size\",\"name\":\"innodb_max_undo_log_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Disables InnoDB metrics counters. Counter data may be queried using the INFORMATION_SCHEMA.INNODB_METRICS table.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_monitor_disable\",\"name\":\"innodb_monitor_disable\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Enables InnoDB metrics counters.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_monitor_enable\",\"name\":\"innodb_monitor_enable\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Resets the count value for InnoDB metrics counters to zero.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_monitor_reset\",\"name\":\"innodb_monitor_reset\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Resets all values (minimum, maximum, and so on) for InnoDB metrics counters.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_monitor_reset_all\",\"name\":\"innodb_monitor_reset_all\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"37\",\"description\":\"Specifies the approximate percentage of the InnoDB buffer pool used for the old block sublist.\",\"defaultValue\":\"37\",\"dataType\":\"Integer\",\"allowedValues\":\"5-95\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_old_blocks_pct\",\"name\":\"innodb_old_blocks_pct\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1000\",\"description\":\"Non-zero values protect against the buffer pool being filled by data that is referenced only for a brief period, such as during a full table scan.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_old_blocks_time\",\"name\":\"innodb_old_blocks_time\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"134217728\",\"description\":\"Specifies an upper limit on the size of the temporary log files used during online DDL operations for InnoDB tables.\",\"defaultValue\":\"134217728\",\"dataType\":\"Integer\",\"allowedValues\":\"65536-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_online_alter_log_max_size\",\"name\":\"innodb_online_alter_log_max_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"This configuration option is only relevant if you use multiple InnoDB tablespaces. It specifies the maximum number of .ibd files that MySQL can keep open at one time.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-1,10-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_open_files\",\"name\":\"innodb_open_files\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Changes the way OPTIMIZE TABLE operates on InnoDB tables. Intended to be enabled temporarily, during maintenance operations for InnoDB tables with FULLTEXT indexes.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_optimize_fulltext_only\",\"name\":\"innodb_optimize_fulltext_only\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"The number of page cleaner threads that flush dirty pages from buffer pool instances.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"1-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_page_cleaners\",\"name\":\"innodb_page_cleaners\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"16384\",\"description\":\"Specifies the page size for all InnoDB tablespaces in a MySQL instance.\",\"defaultValue\":\"16384\",\"dataType\":\"Enumeration\",\"allowedValues\":\"4096,8192,16384,32768,65536\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_page_size\",\"name\":\"innodb_page_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"When this option is enabled, information about all deadlocks in InnoDB user transactions is recorded in the mysqld error log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_print_all_deadlocks\",\"name\":\"innodb_print_all_deadlocks\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"300\",\"description\":\"Defines the number of undo log pages that purge parses and processes in one batch from the history list.\",\"defaultValue\":\"300\",\"dataType\":\"Integer\",\"allowedValues\":\"1-5000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_purge_batch_size\",\"name\":\"innodb_purge_batch_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"128\",\"description\":\"Defines the frequency with which the purge system frees rollback segments in terms of the number of times that purge is invoked. Reducing this value increases the frequency with which the purge thread frees rollback segments.\",\"defaultValue\":\"128\",\"dataType\":\"Integer\",\"allowedValues\":\"1-128\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_purge_rseg_truncate_frequency\",\"name\":\"innodb_purge_rseg_truncate_frequency\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"The number of background threads devoted to the InnoDB purge operation.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"1-32\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_purge_threads\",\"name\":\"innodb_purge_threads\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Enables the random read-ahead technique for optimizing InnoDB I/O.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_random_read_ahead\",\"name\":\"innodb_random_read_ahead\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"56\",\"description\":\"Controls the sensitivity of linear read-ahead that InnoDB uses to prefetch pages into the buffer pool.\",\"defaultValue\":\"56\",\"dataType\":\"Integer\",\"allowedValues\":\"0-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_read_ahead_threshold\",\"name\":\"innodb_read_ahead_threshold\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"The number of I/O threads for read operations in InnoDB.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"1-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_read_io_threads\",\"name\":\"innodb_read_io_threads\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Starts InnoDB in read-only mode. \",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_read_only\",\"name\":\"innodb_read_only\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The replication thread delay in milliseconds on a slave server if innodb_thread_concurrency is reached.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_replication_delay\",\"name\":\"innodb_replication_delay\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"InnoDB rolls back only the last statement on a transaction timeout by default. If --innodb_rollback_on_timeout is specified, a transaction timeout causes InnoDB to abort and roll back the entire transaction.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_rollback_on_timeout\",\"name\":\"innodb_rollback_on_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"128\",\"description\":\"Defines the number of rollback segments used by InnoDB.\",\"defaultValue\":\"128\",\"dataType\":\"Integer\",\"allowedValues\":\"1-128\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_rollback_segments\",\"name\":\"innodb_rollback_segments\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1048576\",\"description\":\"Specifies the sizes of several buffers used for sorting data during creation of an InnoDB index.\",\"defaultValue\":\"1048576\",\"dataType\":\"Integer\",\"allowedValues\":\"65536-67108864\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_sort_buffer_size\",\"name\":\"innodb_sort_buffer_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"6\",\"description\":\"The maximum delay between polls for a spin lock. \",\"defaultValue\":\"6\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_spin_wait_delay\",\"name\":\"innodb_spin_wait_delay\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Causes InnoDB to automatically recalculate persistent statistics after the data in a table is changed substantially.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_stats_auto_recalc\",\"name\":\"innodb_stats_auto_recalc\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\" Enabled to ensure that InnoDB includes delete-marked records when calculating persistent optimizer statistics.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_stats_include_delete_marked\",\"name\":\"innodb_stats_include_delete_marked\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"nulls_equal\",\"description\":\"How the server treats NULL values when collecting statistics about the distribution of index values for InnoDB tables.\",\"defaultValue\":\"nulls_equal\",\"dataType\":\"Enumeration\",\"allowedValues\":\"nulls_equal,nulls_unequal,nulls_ignored\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_stats_method\",\"name\":\"innodb_stats_method\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This option only applies when optimizer statistics are configured to be non-persistent. When innodb_stats_on_metadata is enabled, InnoDB updates non-persistent statistics when metadata statements such as SHOW TABLE STATUS or when accessing the INFORMATION_SCHEMA.TABLES or INFORMATION_SCHEMA.STATISTICS tables.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_stats_on_metadata\",\"name\":\"innodb_stats_on_metadata\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Specifies whether InnoDB index statistics are persisted to disk. Otherwise, statistics may be recalculated frequently which can lead to variations in query execution plans.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_stats_persistent\",\"name\":\"innodb_stats_persistent\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"20\",\"description\":\"The number of index pages to sample when estimating cardinality and other statistics for an indexed column, such as those calculated by ANALYZE TABLE.\",\"defaultValue\":\"20\",\"dataType\":\"Integer\",\"allowedValues\":\"1-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_stats_persistent_sample_pages\",\"name\":\"innodb_stats_persistent_sample_pages\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8\",\"description\":\"The number of index pages to sample when estimating cardinality and other statistics for an indexed column, such as those calculated by ANALYZE TABLE.\",\"defaultValue\":\"8\",\"dataType\":\"Integer\",\"allowedValues\":\"1-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_stats_transient_sample_pages\",\"name\":\"innodb_stats_transient_sample_pages\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Enables or disables periodic output for the standard InnoDB Monitor.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_status_output\",\"name\":\"innodb_status_output\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Enables or disables the InnoDB Lock Monitor.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_status_output_locks\",\"name\":\"innodb_status_output_locks\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"When innodb_strict_mode is enabled, InnoDB returns errors rather than warnings for certain conditions.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_strict_mode\",\"name\":\"innodb_strict_mode\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Enables two phase commit in XA transactions\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_support_xa\",\"name\":\"innodb_support_xa\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Defines the size of the mutex/lock wait array. Increasing the value splits the internal data structure used to coordinate threads, for higher concurrency in workloads with large numbers of waiting threads. \",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"1-1024\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_sync_array_size\",\"name\":\"innodb_sync_array_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"30\",\"description\":\"The number of times a thread waits for an InnoDB mutex to be freed before the thread is suspended.\",\"defaultValue\":\"30\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_sync_spin_loops\",\"name\":\"innodb_sync_spin_loops\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"The default value of innodb_table_locks is 1, which means that LOCK TABLES causes InnoDB to lock a table internally if autocommit = 0.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_table_locks\",\"name\":\"innodb_table_locks\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ibtmp1:12M:autoextend\",\"description\":\"Specifies the path, file name, and file size for InnoDB temporary tablespace data files.\",\"defaultValue\":\"ibtmp1:12M:autoextend\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_temp_data_file_path\",\"name\":\"innodb_temp_data_file_path\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"InnoDB tries to keep the number of operating system threads concurrently inside InnoDB less than or equal to the limit given by this variable.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_thread_concurrency\",\"name\":\"innodb_thread_concurrency\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10000\",\"description\":\"Defines how long InnoDB threads sleep before joining the InnoDB queue, in microseconds.\",\"defaultValue\":\"10000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1000000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_thread_sleep_delay\",\"name\":\"innodb_thread_sleep_delay\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"/app/work/temp\",\"description\":\"Used to define an alternate directory for temporary sort files created during online ALTER TABLE operations that rebuild the table.\",\"defaultValue\":\"/app/work/temp\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_tmpdir\",\"name\":\"innodb_tmpdir\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"When enabled, undo tablespaces that exceed the threshold value defined by innodb_max_undo_log_size are marked for truncation.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_undo_log_truncate\",\"name\":\"innodb_undo_log_truncate\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"128\",\"description\":\"Defines how many of the rollback segments in the system tablespace that InnoDB uses within a transaction.\",\"defaultValue\":\"128\",\"dataType\":\"Integer\",\"allowedValues\":\"1-128\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_undo_logs\",\"name\":\"innodb_undo_logs\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The number of tablespace files that the undo logs are divided between, when you use a non-zero innodb_undo_logs setting.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-95\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_undo_tablespaces\",\"name\":\"innodb_undo_tablespaces\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Controls whether or not MySQL uses Linux native asynchronous IO.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_use_native_aio\",\"name\":\"innodb_use_native_aio\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4\",\"description\":\"The number of I/O threads for write operations in InnoDB.\",\"defaultValue\":\"4\",\"dataType\":\"Integer\",\"allowedValues\":\"1-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/innodb_write_io_threads\",\"name\":\"innodb_write_io_threads\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"28800\",\"description\":\"Number of seconds the server waits for activity on an interactive connection before closing it.\",\"defaultValue\":\"28800\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/interactive_timeout\",\"name\":\"interactive_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"INNODB\",\"description\":\"The storage engine for on-disk internal temporary tables \",\"defaultValue\":\"INNODB\",\"dataType\":\"Enumeration\",\"allowedValues\":\"INNODB,MYISAM\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/internal_tmp_disk_storage_engine\",\"name\":\"internal_tmp_disk_storage_engine\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"262144\",\"description\":\"The minimum size of the buffer that is used for plain index scans, range index scans, and joins that do not use indexes and thus perform full table scans.\",\"defaultValue\":\"262144\",\"dataType\":\"Integer\",\"allowedValues\":\"128-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/join_buffer_size\",\"name\":\"join_buffer_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Suppress behavior to overwrite MyISAM file created in DATA DIRECTORY or INDEX DIRECTORY.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/keep_files_on_create\",\"name\":\"keep_files_on_create\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8388608\",\"description\":\"Increase the buffer size to get better index handling used for index blocks (for all reads and multiple writes).\",\"defaultValue\":\"8388608\",\"dataType\":\"Integer\",\"allowedValues\":\"8-9223372036854771712\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/key_buffer_size\",\"name\":\"key_buffer_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"300\",\"description\":\"Controls the demotion of buffers from the hot sub-chain of a key cache to the warm sub-chain. Lower values cause demotion to happen more quickly.\",\"defaultValue\":\"300\",\"dataType\":\"Integer\",\"allowedValues\":\"100-18446744073709547520\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/key_cache_age_threshold\",\"name\":\"key_cache_age_threshold\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"Size in bytes of blocks in the key cache.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"512-16384\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/key_cache_block_size\",\"name\":\"key_cache_block_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"The division point between the hot and warm sub-chains of the key cache buffer chain. The value is the percentage of the buffer chain to use for the warm sub-chain.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"1-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/key_cache_division_limit\",\"name\":\"key_cache_division_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"en_US\",\"description\":\"This variable specifies the locale that controls the language used to display day and month names and abbreviations.\",\"defaultValue\":\"en_US\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ar_AE,ar_BH,ar_DZ,ar_EG,ar_IN,ar_IQ,ar_JO,ar_KW,ar_LB,ar_LY,ar_MA,ar_OM,ar_QA,ar_SA,ar_SD,ar_SY,ar_TN,ar_YE,be_BY,bg_BG,ca_ES,cs_CZ,da_DK,de_AT,de_BE,de_CH,de_DE,de_LU,el_GR,en_AU,en_CA,en_GB,en_IN,en_NZ,en_PH,en_US,en_ZA,en_ZW,es_AR,es_BO,es_CL,es_CO,es_CR,es_DO,es_EC,es_ES,es_GT,es_HN,es_MX,es_NI,es_PA,es_PE,es_PR,es_PY,es_SV,es_US,es_UY,es_VE,et_EE,eu_ES,fi_FI,fo_FO,fr_BE,fr_CA,fr_CH,fr_FR,fr_LU,gl_ES,gu_IN,he_IL,hi_IN,hr_HR,hu_HU,id_ID,is_IS,it_CH,it_IT,ja_JP,ko_KR,lt_LT,lv_LV,mk_MK,mn_MN,ms_MY,nb_NO,nl_BE,nl_NL,no_NO,pl_PL,pt_BR,pt_PT,ro_RO,ru_RU,ru_UA,sk_SK,sl_SI,sq_AL,sr_RS,sv_FI,sv_SE,ta_IN,te_IN,th_TH,tr_TR,uk_UA,ur_PK,vi_VN,zh_CN,zh_HK,zh_TW\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/lc_time_names\",\"name\":\"lc_time_names\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"This variable controls server-side LOCAL capability for LOAD DATA statements.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/local_infile\",\"name\":\"local_infile\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"31536000\",\"description\":\"This variable specifies the timeout in seconds for attempts to acquire metadata locks.\",\"defaultValue\":\"31536000\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/lock_wait_timeout\",\"name\":\"lock_wait_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Whether binlog is enabled or not. When set to ON, it will be replaced with binlog folder /app/work/binlogs. Otherwise, it will not be introduced in my.ini.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_bin\",\"name\":\"log_bin\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This variable applies when binary logging is enabled. It controls whether stored function creators can be trusted not to create stored functions that will cause unsafe events to be written to the binary log. It cannot be updated any more for a master/replica server to keep the replication consistency.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_bin_trust_function_creators\",\"name\":\"log_bin_trust_function_creators\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Whether MySQL writes binary log events using a Version 1 or Version 2 logging events\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_bin_use_v1_row_events\",\"name\":\"log_bin_use_v1_row_events\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Whether to log CREATE/ALTER USER, GRANT in backward-compatible fashion\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_builtin_as_identified_by_password\",\"name\":\"log_builtin_as_identified_by_password\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"NONE\",\"description\":\"The destination for general query log and slow query log output.\",\"defaultValue\":\"NONE\",\"dataType\":\"Set\",\"allowedValues\":\"FILE,NONE\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_output\",\"name\":\"log_output\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Logs queries that are expected to retrieve all rows to slow query log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_queries_not_using_indexes\",\"name\":\"log_queries_not_using_indexes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Normally, a slave does not write to its own binary log any updates that are received from a master server. This option causes the slave to write the updates performed by its SQL thread to its own binary log.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_slave_updates\",\"name\":\"log_slave_updates\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Include slow administrative statements in the statements written to the slow query log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_slow_admin_statements\",\"name\":\"log_slow_admin_statements\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"When the slow query log is enabled, this variable enables logging for queries that have taken more than long_query_time seconds to execute on the slave.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_slow_slave_statements\",\"name\":\"log_slow_slave_statements\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"If error 1592 is encountered, controls whether the generated warnings are added to the error log or not.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_statements_unsafe_for_binlog\",\"name\":\"log_statements_unsafe_for_binlog\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Whether to write error log output to syslog.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_syslog\",\"name\":\"log_syslog\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"daemon\",\"description\":\"The facility for error log output written to syslog (what type of program is sending the message).\",\"defaultValue\":\"daemon\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_syslog_facility\",\"name\":\"log_syslog_facility\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Whether to include the server process ID in each line of error log output written to syslog.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_syslog_include_pid\",\"name\":\"log_syslog_include_pid\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"The tag to be added to the server identifier in error log output written to syslog.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_syslog_tag\",\"name\":\"log_syslog_tag\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Limits the number of such queries per minute that can be written to the slow query log.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_throttle_queries_not_using_indexes\",\"name\":\"log_throttle_queries_not_using_indexes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"UTC\",\"description\":\"This variable controls the timestamp time zone of error log messages, and of general query log and slow query log messages written to files.\",\"defaultValue\":\"UTC\",\"dataType\":\"Enumeration\",\"allowedValues\":\"UTC,SYSTEM\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_timestamps\",\"name\":\"log_timestamps\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Whether to produce additional warning messages to the error log.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0-2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/log_warnings\",\"name\":\"log_warnings\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"If a query takes longer than this many seconds, the server increments the Slow_queries status variable.\",\"defaultValue\":\"10\",\"dataType\":\"Numeric\",\"allowedValues\":\"0-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/long_query_time\",\"name\":\"long_query_time\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"INSERT, UPDATE, DELETE, and LOCK TABLE WRITE wait until no pending SELECT. Affects only storage engines that use only table-level locking (MyISAM, MEMORY, MERGE).\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/low_priority_updates\",\"name\":\"low_priority_updates\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"If set to 1, table names are stored in lowercase on disk and comparisons are not case sensitive. If set to 2, table names are stored as given but compared in lowercase.\",\"defaultValue\":\"1\",\"dataType\":\"Enumeration\",\"allowedValues\":\"0,1\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/lower_case_table_names\",\"name\":\"lower_case_table_names\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"TABLE\",\"description\":\"The setting of this variable determines whether the slave logs master status and connection information to a FILE (master.info), or to a TABLE (mysql.slave_master_info).\",\"defaultValue\":\"TABLE\",\"dataType\":\"Enumeration\",\"allowedValues\":\"FILE,TABLE\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/master_info_repository\",\"name\":\"master_info_repository\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Enabling this variable causes the master to examine checksums when reading from the binary log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/master_verify_checksum\",\"name\":\"master_verify_checksum\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"536870912\",\"description\":\"The maximum size of one packet or any generated/intermediate string, or any parameter sent by the mysql_stmt_send_long_data() C API function.\",\"defaultValue\":\"536870912\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_allowed_packet\",\"name\":\"max_allowed_packet\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"18446744073709551615\",\"description\":\"If a transaction requires more than this many bytes of memory, the server generates a Multi-statement transaction required more than \u0027max_binlog_cache_size\u0027 bytes of storage error.\",\"defaultValue\":\"18446744073709551615\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_binlog_cache_size\",\"name\":\"max_binlog_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"104857600\",\"description\":\"If a write to the binary log causes the current log file size to exceed the value of this variable, the server rotates the binary logs (closes the current file and opens the next one).\",\"defaultValue\":\"104857600\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_binlog_size\",\"name\":\"max_binlog_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"18446744073709547520\",\"description\":\"If nontransactional statements within a transaction require more than this many bytes of memory, the server generates an error.\",\"defaultValue\":\"18446744073709547520\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-18446744073709547520\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_binlog_stmt_cache_size\",\"name\":\"max_binlog_stmt_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"100\",\"description\":\"If more than this many successive connection requests from a host are interrupted without a successful connection, the server blocks that host from further connections.\",\"defaultValue\":\"100\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_connect_errors\",\"name\":\"max_connect_errors\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"171\",\"description\":\"The maximum permitted number of simultaneous client connections.\",\"defaultValue\":\"171\",\"dataType\":\"Integer\",\"allowedValues\":\"10-341\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_connections\",\"name\":\"max_connections\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"20\",\"description\":\"Do not start more than this number of threads to handle INSERT DELAYED statements.\",\"defaultValue\":\"20\",\"dataType\":\"Integer\",\"allowedValues\":\"0-16384\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_delayed_threads\",\"name\":\"max_delayed_threads\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"The maximum number of bytes available for computing normalized statement digests.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_digest_length\",\"name\":\"max_digest_length\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"64\",\"description\":\"The maximum number of error, warning, and note messages to be stored for display by the SHOW ERRORS and SHOW WARNINGS statements.\",\"defaultValue\":\"64\",\"dataType\":\"Integer\",\"allowedValues\":\"0-65535\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_error_count\",\"name\":\"max_error_count\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The execution timeout for SELECT statements, in milliseconds. If the value is 0, timeouts are not enabled.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_execution_time\",\"name\":\"max_execution_time\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"16777216\",\"description\":\"This variable sets the maximum size to which user-created MEMORY tables are permitted to grow.\",\"defaultValue\":\"16777216\",\"dataType\":\"Integer\",\"allowedValues\":\"16384-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_heap_table_size\",\"name\":\"max_heap_table_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"18446744073709551615\",\"description\":\"Do not permit statements that probably need to examine more than max_join_size rows\",\"defaultValue\":\"18446744073709551615\",\"dataType\":\"Integer\",\"allowedValues\":\"1-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_join_size\",\"name\":\"max_join_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"The cutoff on the size of index values that determines which filesort algorithm to use.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"4-8388608\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_length_for_sort_data\",\"name\":\"max_length_for_sort_data\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"65536\",\"description\":\"The maximum value of the points_per_circle argument to the ST_Buffer_Strategy() function.\",\"defaultValue\":\"65536\",\"dataType\":\"Integer\",\"allowedValues\":\"3-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_points_in_geometry\",\"name\":\"max_points_in_geometry\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"16382\",\"description\":\"This variable limits the total number of prepared statements in the server.\",\"defaultValue\":\"16382\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_prepared_stmt_count\",\"name\":\"max_prepared_stmt_count\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"104857600\",\"description\":\"The size at which the server rotates relay log files automatically. If this value is nonzero, the relay log is rotated automatically when its size exceeds this value. If this value is zero (the default), the size at which relay log rotation occurs is determined by the value of max_binlog_size.\",\"defaultValue\":\"104857600\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_relay_log_size\",\"name\":\"max_relay_log_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4294967295\",\"description\":\"Limit the assumed maximum number of seeks when looking up rows based on a key.\",\"defaultValue\":\"4294967295\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_seeks_for_key\",\"name\":\"max_seeks_for_key\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"The number of bytes to use when sorting data values.\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"4-8388608\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_sort_length\",\"name\":\"max_sort_length\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The number of times that any given stored procedure may be called recursively. The default value for this option is 0, which completely disables recursion in stored procedures.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-255\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_sp_recursion_depth\",\"name\":\"max_sp_recursion_depth\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"32\",\"description\":\"The maximum number of temporary tables a client can keep open at the same time.\",\"defaultValue\":\"32\",\"dataType\":\"Integer\",\"allowedValues\":\"1-9223372036854775807\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_tmp_tables\",\"name\":\"max_tmp_tables\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The maximum number of simultaneous connections permitted to any given MySQL user account. A value of 0 (the default) means \u0027no limit.\u0027\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_user_connections\",\"name\":\"max_user_connections\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4294967295\",\"description\":\"After this many write locks, permit some pending read lock requests to be processed in between.\",\"defaultValue\":\"4294967295\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/max_write_lock_count\",\"name\":\"max_write_lock_count\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"The size of the metadata locks cache\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"1-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/metadata_locks_cache_size\",\"name\":\"metadata_locks_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Can be used to cause queries which examine fewer than the stated number of rows not to be logged.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/min_examined_row_limit\",\"name\":\"min_examined_row_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This variable controls whether the mysql_native_password built-in authentication plugin supports proxy users.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/mysql_native_password_proxy_users\",\"name\":\"mysql_native_password_proxy_users\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"16384\",\"description\":\"Each client thread is associated with a connection buffer and result buffer. Both begin with a size given by net_buffer_length but are dynamically enlarged up to max_allowed_packet bytes as needed.\",\"defaultValue\":\"16384\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/net_buffer_length\",\"name\":\"net_buffer_length\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"120\",\"description\":\"The number of seconds the server waits for network reading action, especially for LOAD DATA LOCAL FILE.\",\"defaultValue\":\"120\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/net_read_timeout\",\"name\":\"net_read_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"If a read or write on a communication port is interrupted, retry this many times before giving up.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/net_retry_count\",\"name\":\"net_retry_count\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"240\",\"description\":\"The number of seconds the server waits for network writing action, especially for LOAD DATA LOCAL FILE.\",\"defaultValue\":\"240\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/net_write_timeout\",\"name\":\"net_write_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Defines the n-gram token size for the n-gram full-text parser. \",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"1-10\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/ngram_token_size\",\"name\":\"ngram_token_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"In offline mode, clients that are refused access receive an ER_SERVER_OFFLINE_MODE error.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/offline_mode\",\"name\":\"offline_mode\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"Force the server to generate short (pre-4.1) password hashes for new passwords. This is useful for compatibility when the server must support older client programs.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0,2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/old_passwords\",\"name\":\"old_passwords\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"5000\",\"description\":\"The number of files that the operating system permits mysqld to open.\",\"defaultValue\":\"5000\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/open_files_limit\",\"name\":\"open_files_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Controls the heuristics applied during query optimization to prune less-promising partial plans from the optimizer search space.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0,1\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/optimizer_prune_level\",\"name\":\"optimizer_prune_level\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"62\",\"description\":\"The maximum depth of search performed by the query optimizer.\",\"defaultValue\":\"62\",\"dataType\":\"Integer\",\"allowedValues\":\"0-62\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/optimizer_search_depth\",\"name\":\"optimizer_search_depth\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"default\",\"description\":\"The value of this variable is a set of flags, each of which has a value of on or off to indicate whether the corresponding optimizer behavior is enabled or disabled.\",\"defaultValue\":\"default\",\"dataType\":\"Set\",\"allowedValues\":\"default,batched_key_access=on,batched_key_access=off,block_nested_loop=on,block_nested_loop=off,condition_fanout_filter=on,condition_fanout_filter=off,derived_merge=on,derived_merge=off,duplicateweedout=on,duplicateweedout=off,engine_condition_pushdown=on,engine_condition_pushdown=off,firstmatch=on,firstmatch=off,index_condition_pushdown=on,index_condition_pushdown=off,index_merge=on,index_merge=off,index_merge_intersection=on,index_merge_intersection=off,index_merge_sort_union=on,index_merge_sort_union=off,index_merge_union=on,index_merge_union=off,loosescan=on,loosescan=off,materialization=on,materialization=off,mrr=on,mrr=off,mrr_cost_based=on,mrr_cost_based=off,semijoin=on,semijoin=off,subquery_materialization_cost_based=on,subquery_materialization_cost_based=off,use_index_extensions=on,use_index_extensions=off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/optimizer_switch\",\"name\":\"optimizer_switch\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"enabled=off,one_line=off\",\"description\":\"Controls how statements are traced.\",\"defaultValue\":\"enabled=off,one_line=off\",\"dataType\":\"Set\",\"allowedValues\":\"default,enabled=on,enabled=off,one_line=on,one_line=off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/optimizer_trace\",\"name\":\"optimizer_trace\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"greedy_search=on,range_optimizer=on,dynamic_range=on,repeated_subselect=on\",\"description\":\"Controls optimizations during statement tracing.\",\"defaultValue\":\"greedy_search=on,range_optimizer=on,dynamic_range=on,repeated_subselect=on\",\"dataType\":\"Set\",\"allowedValues\":\"default,greedy_search=on,greedy_search=off,range_optimizer=on,range_optimizer=off,dynamic_range=on,dynamic_range=off,repeated_subselect=on,repeated_subselect=off\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/optimizer_trace_features\",\"name\":\"optimizer_trace_features\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"Controls the limit on trace retention.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"1-9223372036854775807\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/optimizer_trace_limit\",\"name\":\"optimizer_trace_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"16384\",\"description\":\"Maximum allowed cumulated size of stored optimizer traces\",\"defaultValue\":\"16384\",\"dataType\":\"Integer\",\"allowedValues\":\"0-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/optimizer_trace_max_mem_size\",\"name\":\"optimizer_trace_max_mem_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"-1\",\"description\":\"Controls the offset on trace retention.\",\"defaultValue\":\"-1\",\"dataType\":\"Integer\",\"allowedValues\":\"-9223372036854770000-9223372036854770000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/optimizer_trace_offset\",\"name\":\"optimizer_trace_offset\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"18446744073709551615\",\"description\":\"The maximum amount of memory available to the parser.\",\"defaultValue\":\"18446744073709551615\",\"dataType\":\"Integer\",\"allowedValues\":\"10000000-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/parser_max_mem_size\",\"name\":\"parser_max_mem_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"The value of this variable is ON or OFF to indicate whether the Performance Schema is enabled.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/performance_schema\",\"name\":\"performance_schema\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"80\",\"description\":\"The maximum number of condition instruments. \",\"defaultValue\":\"80\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/performance_schema_max_cond_classes\",\"name\":\"performance_schema_max_cond_classes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"80\",\"description\":\"The maximum number of file instruments. \",\"defaultValue\":\"80\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/performance_schema_max_file_classes\",\"name\":\"performance_schema_max_file_classes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"32768\",\"description\":\"The maximum number of opened file objects. \",\"defaultValue\":\"32768\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/performance_schema_max_file_handles\",\"name\":\"performance_schema_max_file_handles\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"320\",\"description\":\"The maximum number of memory instruments.\",\"defaultValue\":\"320\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1024\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/performance_schema_max_memory_classes\",\"name\":\"performance_schema_max_memory_classes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"200\",\"description\":\"The maximum number of mutex instruments. \",\"defaultValue\":\"200\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/performance_schema_max_mutex_classes\",\"name\":\"performance_schema_max_mutex_classes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"40\",\"description\":\"The maximum number of rwlock instruments. \",\"defaultValue\":\"40\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/performance_schema_max_rwlock_classes\",\"name\":\"performance_schema_max_rwlock_classes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"The maximum number of socket instruments. \",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/performance_schema_max_socket_classes\",\"name\":\"performance_schema_max_socket_classes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1024\",\"description\":\"The maximum number of bytes used to store SQL statements in the SQL_TEXT column\",\"defaultValue\":\"1024\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1048576\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/performance_schema_max_sql_text_length\",\"name\":\"performance_schema_max_sql_text_length\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"150\",\"description\":\"The maximum number of stage instruments. \",\"defaultValue\":\"150\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/performance_schema_max_stage_classes\",\"name\":\"performance_schema_max_stage_classes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"The maximum depth of nested stored program calls for which the Performance Schema maintains statistics.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"1-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/performance_schema_max_statement_stack\",\"name\":\"performance_schema_max_statement_stack\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"50\",\"description\":\"The maximum number of thread instruments. \",\"defaultValue\":\"50\",\"dataType\":\"Integer\",\"allowedValues\":\"0-256\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/performance_schema_max_thread_classes\",\"name\":\"performance_schema_max_thread_classes\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Tells the server to load the named plugins at startup.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/plugin-load\",\"name\":\"plugin-load\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"32768\",\"description\":\"The size of the buffer that is allocated when preloading indexes.\",\"defaultValue\":\"32768\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/preload_buffer_size\",\"name\":\"preload_buffer_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"15\",\"description\":\"The number of statements for which to maintain profiling if profiling is enabled.\",\"defaultValue\":\"15\",\"dataType\":\"Integer\",\"allowedValues\":\"0-100\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/profiling_history_size\",\"name\":\"profiling_history_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8192\",\"description\":\"The allocation size of memory blocks that are allocated for objects created during statement parsing and execution.\",\"defaultValue\":\"8192\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/query_alloc_block_size\",\"name\":\"query_alloc_block_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1048576\",\"description\":\"Do not cache results that are larger than this number of bytes.\",\"defaultValue\":\"1048576\",\"dataType\":\"Integer\",\"allowedValues\":\"0-134217728\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/query_cache_limit\",\"name\":\"query_cache_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"The minimum size (in bytes) for blocks allocated by the query cache.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"512-131072\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/query_cache_min_res_unit\",\"name\":\"query_cache_min_res_unit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The amount of memory allocated for caching query results.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0,102400-134217728\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/query_cache_size\",\"name\":\"query_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Set the query cache type.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF,DEMAND\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/query_cache_type\",\"name\":\"query_cache_type\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Setting this variable to 1 causes acquisition of a WRITE lock for a table to invalidate any queries in the query cache that refer to the table.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/query_cache_wlock_invalidate\",\"name\":\"query_cache_wlock_invalidate\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8192\",\"description\":\"The size of the persistent buffer used for statement parsing and execution. This buffer is not freed between statements. If you are running complex queries, a larger value might be helpful in improving performance, because it can reduce the need for the server to perform memory allocation during query execution operations.\",\"defaultValue\":\"8192\",\"dataType\":\"Integer\",\"allowedValues\":\"8192-131072\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/query_prealloc_size\",\"name\":\"query_prealloc_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"The size of blocks that are allocated when doing range optimization.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-131072\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/range_alloc_block_size\",\"name\":\"range_alloc_block_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8388608\",\"description\":\"The limit on memory consumption for the range optimizer. A value of 0 means \u0027no limit.\u0027\",\"defaultValue\":\"8388608\",\"dataType\":\"Integer\",\"allowedValues\":\"4096-134217728\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/range_optimizer_max_mem_size\",\"name\":\"range_optimizer_max_mem_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"131072\",\"description\":\"Each thread that does a sequential scan allocates this buffer. Increased value may help perf if performing many sequential scans.\",\"defaultValue\":\"131072\",\"dataType\":\"Integer\",\"allowedValues\":\"8200-2147479552\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/read_buffer_size\",\"name\":\"read_buffer_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This parameter controls whetherthe server permits no client updates. When the server is read replica or server storage is full, this parameter will not take effect.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/read_only\",\"name\":\"read_only\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"262144\",\"description\":\"Avoids disk reads when reading rows in sorted order following a key-sort operation. Large values can improve ORDER BY perf.\",\"defaultValue\":\"262144\",\"dataType\":\"Integer\",\"allowedValues\":\"8200-2147479552\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/read_rnd_buffer_size\",\"name\":\"read_rnd_buffer_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"/app/work/relaylogs/relay_bin\",\"description\":\"Relay log path.\",\"defaultValue\":\"/app/work/relaylogs/relay_bin\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/relay_log\",\"name\":\"relay_log\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"/app/work/relaylogs/relay_bin.index\",\"description\":\"Relay log index path.\",\"defaultValue\":\"/app/work/relaylogs/relay_bin.index\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/relay_log_index\",\"name\":\"relay_log_index\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"TABLE\",\"description\":\"This variable determines whether the slave\u0027s position in the relay logs is written to a FILE (relay-log.info) or to a TABLE (mysql.slave_relay_log_info).\",\"defaultValue\":\"TABLE\",\"dataType\":\"Enumeration\",\"allowedValues\":\"FILE,TABLE\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/relay_log_info_repository\",\"name\":\"relay_log_info_repository\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Disable or enable automatic purging of relay logs as soon as they are no longer needed.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/relay_log_purge\",\"name\":\"relay_log_purge\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Enables automatic relay log recovery immediately following server startup.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/relay_log_recovery\",\"name\":\"relay_log_recovery\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1073741824\",\"description\":\"This option places an upper limit on the total size in bytes of all relay logs on the slave.\",\"defaultValue\":\"1073741824\",\"dataType\":\"Integer\",\"allowedValues\":\"1073741824-3221225472\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/relay_log_space_limit\",\"name\":\"relay_log_space_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"mysql.%\",\"description\":\"Creates a replication filter which keeps the slave thread from replicating a statement in which any table matches the given wildcard pattern. To specify more than one table to ignore, use comma-separated list.\",\"defaultValue\":\"mysql.%\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/replicate_wild_ignore_table\",\"name\":\"replicate_wild_ignore_table\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Whether client connections to the server are required to use some form of secure transport. When this variable is enabled, the server permits only TCP/IP connections that use SSL, or connections that use a socket file (on Unix) or shared memory (on Windows). \",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/require_secure_transport\",\"name\":\"require_secure_transport\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"31536000\",\"description\":\"In MySQL 5.6.13 and later, you can control the length of time (in seconds) that STOP SLAVE waits before timing out by setting this variable.\",\"defaultValue\":\"31536000\",\"dataType\":\"Integer\",\"allowedValues\":\"2-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/rpl_stop_slave_timeout\",\"name\":\"rpl_stop_slave_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Blocks connections from all accounts that have passwords stored in the old (pre-4.1) format.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/secure_auth\",\"name\":\"secure_auth\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"This variable is used to limit the effect of data import and export operations, such as those performed by the LOAD DATA and SELECT ... INTO OUTFILE statements and the LOAD_FILE() function.\",\"defaultValue\":\"\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/secure_file_priv\",\"name\":\"secure_file_priv\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1236947509\",\"description\":\"The server ID, used in replication to give each master and slave a unique identity.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"1000-4294967295\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/server_id\",\"name\":\"server_id\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Controls whether the server tracks changes to the default schema (database) name within the current session and makes this information available to the client when changes occur.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/session_track_schema\",\"name\":\"session_track_schema\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Controls whether the server tracks changes to the state of the current session and notifies the client when state changes occur.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/session_track_state_change\",\"name\":\"session_track_state_change\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"time_zone, autocommit, character_set_client, character_set_results, character_set_connection\",\"description\":\"Controls whether the server tracks changes to the session system variables and makes this information available to the client when changes occur.\",\"defaultValue\":\"time_zone, autocommit, character_set_client, character_set_results, character_set_connection\",\"dataType\":\"Set\",\"allowedValues\":\"time_zone,autocommit,character_set_client,character_set_results,character_set_connection\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/session_track_system_variables\",\"name\":\"session_track_system_variables\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Track changes to the transaction attributes.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"OFF,STATE,CHARACTERISTICS\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/session_track_transaction_info\",\"name\":\"session_track_transaction_info\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Controls whether the server autogenerates RSA private/public key-pair files in the data directory.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/sha256_password_auto_generate_rsa_keys\",\"name\":\"sha256_password_auto_generate_rsa_keys\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Controls whether the sha256_password built-in authentication plugin supports proxy users.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/sha256_password_proxy_users\",\"name\":\"sha256_password_proxy_users\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Affects whether MySQL 5.6 compatibility is enabled with respect to how system and status variable information is provided by the INFORMATION_SCHEMA and Performance Schema tables, and also by the SHOW VARIABLES and SHOW STATUS statements.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/show_compatibility_56\",\"name\":\"show_compatibility_56\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Whether SHOW CREATE TABLE output includes comments to flag temporal columns found to be in pre-5.6.4 format.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/show_old_temporals\",\"name\":\"show_old_temporals\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Uses OS locking instead of internal\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/skip_external_locking\",\"name\":\"skip_external_locking\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"Host names are not resolved. All Host column values in the grant tables must be IP numbers or localhost.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/skip_name_resolve\",\"name\":\"skip_name_resolve\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This prevents people from using the SHOW DATABASES statement if they do not have the SHOW DATABASES privilege. \",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/skip_show_database\",\"name\":\"skip_show_database\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"False\",\"description\":\"Tells the slave server not to start the slave threads when the server starts.\",\"defaultValue\":\"False\",\"dataType\":\"Enumeration\",\"allowedValues\":\"TRUE,FALSE\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/skip-slave-start\",\"name\":\"skip-slave-start\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Whether or not batched updates are enabled on replication slaves.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_allow_batching\",\"name\":\"slave_allow_batching\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"512\",\"description\":\"Sets the maximum number of transactions that can be processed by a multi-threaded slave before a checkpoint operation is called to update its status as shown by SHOW SLAVE STATUS.\",\"defaultValue\":\"512\",\"dataType\":\"Integer\",\"allowedValues\":\"32-524280\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_checkpoint_group\",\"name\":\"slave_checkpoint_group\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"300\",\"description\":\"Sets the maximum time (in milliseconds) that is allowed to pass before a checkpoint operation is called to update the status of a multi-threaded slave as shown by SHOW SLAVE STATUS.\",\"defaultValue\":\"300\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_checkpoint_period\",\"name\":\"slave_checkpoint_period\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Whether to use compression of the slave/master protocol if both the slave and the master support it.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_compressed_protocol\",\"name\":\"slave_compressed_protocol\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"STRICT\",\"description\":\"Controls how a slave thread resolves conflicts and errors during replication.\",\"defaultValue\":\"STRICT\",\"dataType\":\"Enumeration\",\"allowedValues\":\"IDEMPOTENT,STRICT\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_exec_mode\",\"name\":\"slave_exec_mode\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"/app/work/temp\",\"description\":\"The name of the directory where the slave creates temporary files.\",\"defaultValue\":\"/app/work/temp\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_load_tmpdir\",\"name\":\"slave_load_tmpdir\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1073741824\",\"description\":\"In MySQL 5.6.6 and later, this option sets the maximum packet size in bytes for the slave SQL and I/O threads.\",\"defaultValue\":\"1073741824\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_max_allowed_packet\",\"name\":\"slave_max_allowed_packet\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"60\",\"description\":\"The number of seconds to wait for more data from the master before the slave considers the connection broken, aborts the read, and tries to reconnect.\",\"defaultValue\":\"60\",\"dataType\":\"Integer\",\"allowedValues\":\"30-3600\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_net_timeout\",\"name\":\"slave_net_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"LOGICAL_CLOCK\",\"description\":\"The policy used to decide which transactions are allowed to execute in parallel on the slave.\",\"defaultValue\":\"LOGICAL_CLOCK\",\"dataType\":\"Enumeration\",\"allowedValues\":\"DATABASE,LOGICAL_CLOCK\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_parallel_type\",\"name\":\"slave_parallel_type\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Sets the number of slave worker threads for executing replication events (transactions) in parallel.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-512\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_parallel_workers\",\"name\":\"slave_parallel_workers\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"16777216\",\"description\":\"For multithreaded slaves, this variable sets the maximum amount of memory (in bytes) available to slave worker queues holding events not yet applied.\",\"defaultValue\":\"16777216\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-18446744073709551615\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_pending_jobs_size_max\",\"name\":\"slave_pending_jobs_size_max\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"For multi-threaded slaves, enabling this variable ensures that transactions are externalized on the slave in the same order as they appear in the slave\u0027s relay log.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_preserve_commit_order\",\"name\":\"slave_preserve_commit_order\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"TABLE_SCAN,INDEX_SCAN\",\"description\":\"When preparing batches of rows for row-based logging and replication, this variable controls how the rows are searched for matches???that is, whether or not hashing is used for searches using a primary or unique key, using some other key, or using no key at all.\",\"defaultValue\":\"TABLE_SCAN,INDEX_SCAN\",\"dataType\":\"Set\",\"allowedValues\":\"TABLE_SCAN,INDEX_SCAN,HASH_SCAN\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_rows_search_algorithms\",\"name\":\"slave_rows_search_algorithms\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Normally, replication stops when an error occurs on the slave. This gives you the opportunity to resolve the inconsistency in the data manually.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"OFF,all,ddl_exist_errors\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_skip_errors\",\"name\":\"slave_skip_errors\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"When this option is enabled, the slave examines checksums read from the relay log, in the event of a mismatch, the slave stops with an error.\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_sql_verify_checksum\",\"name\":\"slave_sql_verify_checksum\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"10\",\"description\":\"If a replication slave SQL thread fails to execute a transaction because of an InnoDB deadlock or because the transaction\u0027s execution time exceeded InnoDB\u0027s innodb_lock_wait_timeout or NDB\u0027s TransactionDeadlockDetectionTimeout or TransactionInactiveTimeout, it automatically retries slave_transaction_retries times before stopping with an error.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_transaction_retries\",\"name\":\"slave_transaction_retries\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"\",\"description\":\"Controls the type conversion mode in effect on the slave when using row-based replication.\",\"defaultValue\":\"\",\"dataType\":\"Set\",\"allowedValues\":\",ALL_LOSSY,ALL_NON_LOSSY,ALL_SIGNED,ALL_UNSIGNED\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slave_type_conversions\",\"name\":\"slave_type_conversions\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"2\",\"description\":\"Increments Slow_launch_threads if creating thread takes longer than this many seconds.\",\"defaultValue\":\"2\",\"dataType\":\"Integer\",\"allowedValues\":\"0-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slow_launch_time\",\"name\":\"slow_launch_time\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Enable or disable the slow query log\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slow_query_log\",\"name\":\"slow_query_log\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"/app/work/serverlogs/mysql-slow-mysql-flexible-test-100-2020111008.log\",\"description\":\"The name of the slow query log file.\",\"defaultValue\":\"mysql-slow.log\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/slow_query_log_file\",\"name\":\"slow_query_log_file\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"524288\",\"description\":\"Each session that must perform a sort allocates a buffer of this size.\",\"defaultValue\":\"524288\",\"dataType\":\"Integer\",\"allowedValues\":\"32768-33554432\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/sort_buffer_size\",\"name\":\"sort_buffer_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION\",\"description\":\"The current server SQL mode.\",\"defaultValue\":\"ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION\",\"dataType\":\"Set\",\"allowedValues\":\",ALLOW_INVALID_DATES,ANSI_QUOTES,ERROR_FOR_DIVISION_BY_ZERO,HIGH_NOT_PRECEDENCE,IGNORE_SPACE,NO_AUTO_CREATE_USER,NO_AUTO_VALUE_ON_ZERO,NO_BACKSLASH_ESCAPES,NO_DIR_IN_CREATE,NO_ENGINE_SUBSTITUTION,NO_FIELD_OPTIONS,NO_KEY_OPTIONS,NO_TABLE_OPTIONS,NO_UNSIGNED_SUBTRACTION,NO_ZERO_DATE,NO_ZERO_IN_DATE,ONLY_FULL_GROUP_BY,PAD_CHAR_TO_FULL_LENGTH,PIPES_AS_CONCAT,REAL_AS_FLOAT,STRICT_ALL_TABLES,STRICT_TRANS_TABLES\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/sql_mode\",\"name\":\"sql_mode\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"When set, tables must be created with a primary key, and an existing primary key cannot be removed with \u0027ALTER TABLE\u0027. Attempts to do so will result in an error\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON, OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/sql_require_primary_key\",\"name\":\"sql_require_primary_key\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384:DHE-RSA-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-RSA-AES128-CCM:DHE-RSA-AES256-CCM:DHE-RSA-AES128-CCM8:DHE-RSA-AES256-CCM8\",\"description\":\"The list of permissible ciphers for connection encryption. By default, the FIPS cipher suites for TLS 1.2 are enforced.\",\"defaultValue\":\"ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384:DHE-RSA-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-RSA-AES128-CCM:DHE-RSA-AES256-CCM:DHE-RSA-AES128-CCM8:DHE-RSA-AES256-CCM8\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/ssl_cipher\",\"name\":\"ssl_cipher\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"256\",\"description\":\"Sets a soft upper limit for the number of cached stored routines per connection.\",\"defaultValue\":\"256\",\"dataType\":\"Integer\",\"allowedValues\":\"16-524288\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/stored_program_cache\",\"name\":\"stored_program_cache\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"This parameter controls the server prohibits client updates even from users who have SUPER.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/super_read_only\",\"name\":\"super_read_only\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"The size in bytes of the buffer that InnoDB uses to write to the log files on disk.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0-1024\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/sync_binlog\",\"name\":\"sync_binlog\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"ON\",\"description\":\"If this variable is set to 1, when any nontemporary table is created its .frm file is synchronized to disk\",\"defaultValue\":\"ON\",\"dataType\":\"Enumeration\",\"allowedValues\":\"ON,OFF\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/sync_frm\",\"name\":\"sync_frm\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"The effects of this variable on a replication slave depend on whether the slave\u0027s master_info_repository is set to FILE or TABLE\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/sync_master_info\",\"name\":\"sync_master_info\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"0\",\"description\":\"If the value of this variable is greater than 0, the MySQL server synchronizes its relay log to disk (using fdatasync()) after every sync_relay_log events are written to the relay log.\",\"defaultValue\":\"0\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/sync_relay_log\",\"name\":\"sync_relay_log\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"The effects of this variable on the slave depend on the server\u0027s relay_log_info_repository setting (FILE or TABLE), and if this is TABLE, additionally on whether the storage engine used by the relay log info table is transactional (such as InnoDB) or not (MyISAM). \",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"0-4294967295\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/sync_relay_log_info\",\"name\":\"sync_relay_log_info\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"600\",\"description\":\"The number of table definitions (from .frm files) that can be stored in the definition cache.\",\"defaultValue\":\"600\",\"dataType\":\"Integer\",\"allowedValues\":\"400-524288\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/table_definition_cache\",\"name\":\"table_definition_cache\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"600\",\"description\":\"The number of open tables for all threads.\",\"defaultValue\":\"600\",\"dataType\":\"Integer\",\"allowedValues\":\"1-160000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/table_open_cache\",\"name\":\"table_open_cache\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"1\",\"description\":\"The number of open tables cache instances.\",\"defaultValue\":\"1\",\"dataType\":\"Integer\",\"allowedValues\":\"1-64\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/table_open_cache_instances\",\"name\":\"table_open_cache_instances\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"9\",\"description\":\"How many threads the server should cache for reuse. The default value is 8 + (max_connections / 100), capped to a limit of 100.\",\"defaultValue\":\"9\",\"dataType\":\"Integer\",\"allowedValues\":\"0-16384\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/thread_cache_size\",\"name\":\"thread_cache_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"one-thread-per-connection\",\"description\":\"The thread-handling model used by the server for connection threads.\",\"defaultValue\":\"one-thread-per-connection\",\"dataType\":\"Enumeration\",\"allowedValues\":\"one-thread-per-connection,no-threads,pool-of-threads,loaded-dynamically\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/thread_handling\",\"name\":\"thread_handling\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"262144\",\"description\":\"The stack size for each thread.\",\"defaultValue\":\"262144\",\"dataType\":\"Integer\",\"allowedValues\":\"131072-2147483136\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/thread_stack\",\"name\":\"thread_stack\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"+00:00\",\"description\":\"The server time zone\",\"defaultValue\":\"+00:00\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/time_zone\",\"name\":\"time_zone\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"TLSv1.2\",\"description\":\"Which protocols the server permits for encrypted connections. By default, TLS 1.2 is enforced\",\"defaultValue\":\"TLSv1.2\",\"dataType\":\"Set\",\"allowedValues\":\"TLSv1,TLSv1.1,TLSv1.2\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/tls_version\",\"name\":\"tls_version\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"16777216\",\"description\":\"The maximum size of internal in-memory temporary tables. This variable does not apply to user-created MEMORY tables.\",\"defaultValue\":\"16777216\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-1073741824\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/tmp_table_size\",\"name\":\"tmp_table_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"/app/work/temp\",\"description\":\"The path of the directory to use for creating temporary files.\",\"defaultValue\":\"/app/work/temp\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"False\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/tmpdir\",\"name\":\"tmpdir\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"8192\",\"description\":\"The amount in bytes by which to increase a per-transaction memory pool which needs memory.\",\"defaultValue\":\"8192\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-131072\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/transaction_alloc_block_size\",\"name\":\"transaction_alloc_block_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"4096\",\"description\":\"There is a per-transaction memory pool from which various transaction-related allocations take memory. The initial size of the pool in bytes is transaction_prealloc_size.\",\"defaultValue\":\"4096\",\"dataType\":\"Integer\",\"allowedValues\":\"1024-131072\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/transaction_prealloc_size\",\"name\":\"transaction_prealloc_size\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"OFF\",\"description\":\"Reserved for future use.\",\"defaultValue\":\"OFF\",\"dataType\":\"Enumeration\",\"allowedValues\":\"OFF,MURMUR32\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/transaction_write_set_extraction\",\"name\":\"transaction_write_set_extraction\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"REPEATABLE-READ\",\"description\":\"The default transaction isolation level.\",\"defaultValue\":\"REPEATABLE-READ\",\"dataType\":\"Enumeration\",\"allowedValues\":\"READ-UNCOMMITTED,READ-COMMITTED,REPEATABLE-READ,SERIALIZABLE\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/tx_isolation\",\"name\":\"tx_isolation\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"YES\",\"description\":\"This variable controls whether updates to a view can be made when the view does not contain all columns of the primary key defined in the underlying table, if the update statement contains a LIMIT clause.\",\"defaultValue\":\"YES\",\"dataType\":\"Enumeration\",\"allowedValues\":\"YES,NO\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/updatable_views_with_limit\",\"name\":\"updatable_views_with_limit\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"},{\"properties\":{\"value\":\"28800\",\"description\":\"The number of seconds the server waits for activity on a noninteractive connection before closing it.\",\"defaultValue\":\"28800\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/wait_timeout\",\"name\":\"wait_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"}]}" } }, - "Get-AzMySqlFlexibleServerConfiguration+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/configurations/time_zone?api-version=2020-07-01-preview+1": { + "Get-AzMySqlFlexibleServerConfiguration+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/configurations/time_zone?api-version=2020-07-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/configurations/time_zone?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/configurations/time_zone?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "2" ], @@ -74,13 +74,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"value\":\"+00:00\",\"description\":\"The server time zone\",\"defaultValue\":\"+00:00\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/time_zone\",\"name\":\"time_zone\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"}" + "Content": "{\"properties\":{\"value\":\"+00:00\",\"description\":\"The server time zone\",\"defaultValue\":\"+00:00\",\"dataType\":\"String\",\"allowedValues\":\"\",\"source\":\"system-default\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/time_zone\",\"name\":\"time_zone\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"}" } }, - "Get-AzMySqlFlexibleServerConfiguration+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/configurations/server_id?api-version=2020-07-01-preview+1": { + "Get-AzMySqlFlexibleServerConfiguration+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/configurations/server_id?api-version=2020-07-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/configurations/server_id?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/configurations/server_id?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "3" ], @@ -113,7 +113,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"value\":\"1236947509\",\"description\":\"The server ID, used in replication to give each master and slave a unique identity.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"1000-4294967295\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/server_id\",\"name\":\"server_id\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"}" + "Content": "{\"properties\":{\"value\":\"1236947509\",\"description\":\"The server ID, used in replication to give each master and slave a unique identity.\",\"defaultValue\":\"1000\",\"dataType\":\"Integer\",\"allowedValues\":\"1000-4294967295\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/server_id\",\"name\":\"server_id\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"}" } } } \ No newline at end of file diff --git a/src/MySql/test/Get-AzMySqlFlexibleServerConnectionString.Recording.json b/src/MySql/test/Get-AzMySqlFlexibleServerConnectionString.Recording.json index 97f28f63b23f..8982d84c30c3 100644 --- a/src/MySql/test/Get-AzMySqlFlexibleServerConnectionString.Recording.json +++ b/src/MySql/test/Get-AzMySqlFlexibleServerConnectionString.Recording.json @@ -1,8 +1,8 @@ { - "Get-AzMySqlFlexibleServerConnectionString+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview+1": { + "Get-AzMySqlFlexibleServerConnectionString+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "2" ], @@ -35,13 +35,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-flexible-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\"name\":\"mysql-flexible-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-flexible-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\"name\":\"mysql-flexible-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } }, - "Get-AzMySqlFlexibleServerConnectionString+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview+2": { + "Get-AzMySqlFlexibleServerConnectionString+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "2" ], @@ -74,13 +74,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-flexible-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\"name\":\"mysql-flexible-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-flexible-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\"name\":\"mysql-flexible-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } }, - "Get-AzMySqlFlexibleServerConnectionString+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview+3": { + "Get-AzMySqlFlexibleServerConnectionString+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "2" ], @@ -113,13 +113,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-flexible-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\"name\":\"mysql-flexible-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-flexible-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\"name\":\"mysql-flexible-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } }, - "Get-AzMySqlFlexibleServerConnectionString+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview+4": { + "Get-AzMySqlFlexibleServerConnectionString+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "2" ], @@ -152,13 +152,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-flexible-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\"name\":\"mysql-flexible-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-flexible-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\"name\":\"mysql-flexible-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } }, - "Get-AzMySqlFlexibleServerConnectionString+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview+5": { + "Get-AzMySqlFlexibleServerConnectionString+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "2" ], @@ -191,13 +191,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-flexible-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\"name\":\"mysql-flexible-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-flexible-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\"name\":\"mysql-flexible-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } }, - "Get-AzMySqlFlexibleServerConnectionString+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview+6": { + "Get-AzMySqlFlexibleServerConnectionString+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "2" ], @@ -230,7 +230,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-flexible-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\"name\":\"mysql-flexible-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-flexible-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\"name\":\"mysql-flexible-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } } } \ No newline at end of file diff --git a/src/MySql/test/Get-AzMySqlFlexibleServerDatabase.Recording.json b/src/MySql/test/Get-AzMySqlFlexibleServerDatabase.Recording.json index d851c48a33ce..e8b2e85365f2 100644 --- a/src/MySql/test/Get-AzMySqlFlexibleServerDatabase.Recording.json +++ b/src/MySql/test/Get-AzMySqlFlexibleServerDatabase.Recording.json @@ -1,8 +1,8 @@ { - "Get-AzMySqlFlexibleServerDatabase+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+1": { + "Get-AzMySqlFlexibleServerDatabase+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", "Content": "{\r\n \"properties\": {\r\n \"charset\": \"latin1\"\r\n }\r\n}", "Headers": { }, @@ -76,10 +76,10 @@ "Content": "{\"name\":\"96326ee6-19e9-49da-bf99-cef36c9b88fa\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T22:03:32.76Z\"}" } }, - "Get-AzMySqlFlexibleServerDatabase+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+3": { + "Get-AzMySqlFlexibleServerDatabase+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" + "Content": "{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" } }, - "Get-AzMySqlFlexibleServerDatabase+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases?api-version=2020-07-01-preview+4": { + "Get-AzMySqlFlexibleServerDatabase+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases?api-version=2020-07-01-preview+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "4" ], @@ -151,13 +151,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"properties\":{\"charset\":\"utf8\",\"collation\":\"utf8_general_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/information_schema\",\"name\":\"information_schema\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"},{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/mysql\",\"name\":\"mysql\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"},{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"},{\"properties\":{\"charset\":\"utf8\",\"collation\":\"utf8_general_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/performance_schema\",\"name\":\"performance_schema\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"},{\"properties\":{\"charset\":\"utf8\",\"collation\":\"utf8_general_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/sys\",\"name\":\"sys\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}]}" + "Content": "{\"value\":[{\"properties\":{\"charset\":\"utf8\",\"collation\":\"utf8_general_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/information_schema\",\"name\":\"information_schema\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"},{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/mysql\",\"name\":\"mysql\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"},{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"},{\"properties\":{\"charset\":\"utf8\",\"collation\":\"utf8_general_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/performance_schema\",\"name\":\"performance_schema\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"},{\"properties\":{\"charset\":\"utf8\",\"collation\":\"utf8_general_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/sys\",\"name\":\"sys\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}]}" } }, - "Get-AzMySqlFlexibleServerDatabase+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+1": { + "Get-AzMySqlFlexibleServerDatabase+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "5" ], @@ -190,13 +190,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" + "Content": "{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" } }, - "Get-AzMySqlFlexibleServerDatabase+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+1": { + "Get-AzMySqlFlexibleServerDatabase+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "6" ], @@ -229,13 +229,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" + "Content": "{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" } }, - "Get-AzMySqlFlexibleServerDatabase+[NoContext]+GetViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+2": { + "Get-AzMySqlFlexibleServerDatabase+[NoContext]+GetViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+2": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "7" ], @@ -350,7 +350,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" + "Content": "{\"properties\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" } } } \ No newline at end of file diff --git a/src/MySql/test/Get-AzMySqlFlexibleServerFirewallRule.Recording.json b/src/MySql/test/Get-AzMySqlFlexibleServerFirewallRule.Recording.json index acb4c5deeb48..fe6fa2fd25ab 100644 --- a/src/MySql/test/Get-AzMySqlFlexibleServerFirewallRule.Recording.json +++ b/src/MySql/test/Get-AzMySqlFlexibleServerFirewallRule.Recording.json @@ -1,8 +1,8 @@ { - "Get-AzMySqlFlexibleServerFirewallRule+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { + "Get-AzMySqlFlexibleServerFirewallRule+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -76,10 +76,10 @@ "Content": "{\"name\":\"1e8ff943-a93f-4526-88a5-28bbe71c90eb\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T08:58:51.333Z\"}" } }, - "Get-AzMySqlFlexibleServerFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { + "Get-AzMySqlFlexibleServerFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -115,10 +115,10 @@ "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}" } }, - "Get-AzMySqlFlexibleServerFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules?api-version=2020-07-01-preview+4": { + "Get-AzMySqlFlexibleServerFirewallRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules?api-version=2020-07-01-preview+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "17" ], @@ -154,10 +154,10 @@ "Content": "{\"value\":[{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}]}" } }, - "Get-AzMySqlFlexibleServerFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { + "Get-AzMySqlFlexibleServerFirewallRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "18" ], @@ -193,10 +193,10 @@ "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}" } }, - "Get-AzMySqlFlexibleServerFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { + "Get-AzMySqlFlexibleServerFirewallRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "19" ], @@ -232,10 +232,10 @@ "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}" } }, - "Get-AzMySqlFlexibleServerFirewallRule+[NoContext]+GetViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+2": { + "Get-AzMySqlFlexibleServerFirewallRule+[NoContext]+GetViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+2": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "20" ], diff --git a/src/MySql/test/Get-AzMySqlFlexibleServerReplica.Recording.json b/src/MySql/test/Get-AzMySqlFlexibleServerReplica.Recording.json index 99073c0e2ce5..f4665c81392b 100644 --- a/src/MySql/test/Get-AzMySqlFlexibleServerReplica.Recording.json +++ b/src/MySql/test/Get-AzMySqlFlexibleServerReplica.Recording.json @@ -1,8 +1,8 @@ { - "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview+1": { + "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "2" ], @@ -35,14 +35,14 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"gleefulOrange3\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-22T05:14:07.5764396+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"gleefulOrange3\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-22T05:14:07.5764396+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } }, - "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-replica?api-version=2020-07-01-preview+2": { + "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-replica?api-version=2020-07-01-preview+2": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-replica?api-version=2020-07-01-preview", - "Content": "{\r\n \"location\": \"West US 2\",\r\n \"properties\": {\r\n \"sourceServerId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\r\n \"createMode\": \"Replica\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-replica?api-version=2020-07-01-preview", + "Content": "{\r\n \"location\": \"West US 2\",\r\n \"properties\": {\r\n \"sourceServerId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\r\n \"createMode\": \"Replica\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { @@ -515,10 +515,10 @@ "Content": "{\"name\":\"e3a30412-f29d-44e2-9fe7-f4472b075024\",\"status\":\"Succeeded\",\"startTime\":\"2020-12-22T05:28:34.363Z\"}" } }, - "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-replica?api-version=2020-07-01-preview+14": { + "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-replica?api-version=2020-07-01-preview+14": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-replica?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-replica?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -551,13 +551,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"gleefulOrange3\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-replica.mysql.database.azure.com\",\"sourceServerId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-22T05:39:37.6590114+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"Replica\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-replica\",\"name\":\"mysql-test-100-replica\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"gleefulOrange3\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-replica.mysql.database.azure.com\",\"sourceServerId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-22T05:39:37.6590114+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"Replica\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-replica\",\"name\":\"mysql-test-100-replica\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } }, - "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/replicas?api-version=2020-07-01-preview+15": { + "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/replicas?api-version=2020-07-01-preview+15": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/replicas?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100/replicas?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "16" ], @@ -590,13 +590,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"gleefulOrange3\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-replica.mysql.database.azure.com\",\"sourceServerId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-22T05:39:37.9089826+00:00\",\"replicationRole\":\"Replica\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-replica\",\"name\":\"mysql-test-100-replica\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}]}" + "Content": "{\"value\":[{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"gleefulOrange3\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-replica.mysql.database.azure.com\",\"sourceServerId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-22T05:39:37.9089826+00:00\",\"replicationRole\":\"Replica\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-replica\",\"name\":\"mysql-test-100-replica\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}]}" } }, - "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview+16": { + "Get-AzMySqlFlexibleServerReplica+[NoContext]+List+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview+16": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "17" ], diff --git a/src/MySql/test/Get-AzMySqlReplica.Recording.json b/src/MySql/test/Get-AzMySqlReplica.Recording.json index 5846d470f5f1..44fc928b7efd 100644 --- a/src/MySql/test/Get-AzMySqlReplica.Recording.json +++ b/src/MySql/test/Get-AzMySqlReplica.Recording.json @@ -1,8 +1,8 @@ { - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1" ], @@ -35,14 +35,14 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } }, - "Get-AzMySqlReplica+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+2": { + "Get-AzMySqlReplica+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+2": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"createMode\": \"Replica\",\n \"sourceServerId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\"\n },\n \"location\": \"eastus\"\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"createMode\": \"Replica\",\n \"sourceServerId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100\"\n },\n \"location\": \"eastus\"\n}", "Headers": { }, "ContentHeaders": { @@ -795,10 +795,10 @@ "Content": "{\"name\":\"ff8b1ac5-5dfc-475a-a2c3-1fe41ef74520\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:50:07.763Z\"}" } }, - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+21": { + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+21": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21" ], @@ -831,13 +831,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100-replica.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T08:01:19.783+00:00\",\"replicationRole\":\"Replica\",\"masterServerId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica\",\"name\":\"mysql-test-100-replica\",\"type\":\"Microsoft.DBForMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100-replica.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T08:01:19.783+00:00\",\"replicationRole\":\"Replica\",\"masterServerId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica\",\"name\":\"mysql-test-100-replica\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } }, - "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/replicas?api-version=2017-12-01+22": { + "Get-AzMySqlReplica+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/replicas?api-version=2017-12-01+22": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/replicas?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/replicas?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "22" ], @@ -870,13 +870,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100-replica.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T08:01:19.783+00:00\",\"replicationRole\":\"Replica\",\"masterServerId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica\",\"name\":\"mysql-test-100-replica\",\"type\":\"Microsoft.DBForMySQL/servers\"}]}" + "Content": "{\"value\":[{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100-replica.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T08:01:19.783+00:00\",\"replicationRole\":\"Replica\",\"masterServerId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica\",\"name\":\"mysql-test-100-replica\",\"type\":\"Microsoft.DBForMySQL/servers\"}]}" } }, - "Get-AzMySqlReplica+[NoContext]+List+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+23": { + "Get-AzMySqlReplica+[NoContext]+List+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+23": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "23" ], diff --git a/src/MySql/test/Get-AzMySqlServer.Recording.json b/src/MySql/test/Get-AzMySqlServer.Recording.json index 148db15a7ef2..c8bc13a42cab 100644 --- a/src/MySql/test/Get-AzMySqlServer.Recording.json +++ b/src/MySql/test/Get-AzMySqlServer.Recording.json @@ -35,13 +35,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"sku\":{\"name\":\"B_Gen5_2\",\"tier\":\"Basic\",\"family\":\"Gen5\",\"capacity\":2},\"properties\":{\"administratorLogin\":\"lucas\",\"storageProfile\":{\"storageMB\":51200,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"azuremysql-dev.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-17T06:07:08.9960907+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/azureps-manual-test/providers/Microsoft.DBForMySQL/servers/azuremysql-dev\",\"name\":\"azuremysql-dev\",\"type\":\"Microsoft.DBForMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"dbadmin\",\"storageProfile\":{\"storageMB\":102400,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"xdmmysql.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-17T06:07:08.9960907+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/dixue/providers/Microsoft.DBForMySQL/servers/xdmmysql\",\"name\":\"xdmmysql\",\"type\":\"Microsoft.DBForMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"adminuser\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test01.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T02:00:15.2+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/lucas-manual-test/providers/Microsoft.DBForMySQL/servers/mysql-test01\",\"name\":\"mysql-test01\",\"type\":\"Microsoft.DBForMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"adminuser\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test05.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T02:26:40.383+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/lucas-manual-test/providers/Microsoft.DBForMySQL/servers/mysql-test05\",\"name\":\"mysql-test05\",\"type\":\"Microsoft.DBForMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"adminuser\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test03.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T02:30:31.007+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/lucas-manual-test/providers/Microsoft.DBForMySQL/servers/mysql-test03\",\"name\":\"mysql-test03\",\"type\":\"Microsoft.DBForMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"adminuser\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test04.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T02:43:20.62+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/lucas-manual-test/providers/Microsoft.DBForMySQL/servers/mysql-test04\",\"name\":\"mysql-test04\",\"type\":\"Microsoft.DBForMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"adminuser\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test06.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T02:58:37.123+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/lucas-manual-test/providers/Microsoft.DBForMySQL/servers/mysql-test06\",\"name\":\"mysql-test06\",\"type\":\"Microsoft.DBForMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"adminuser\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test07.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:03:29.807+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/lucas-manual-test/providers/Microsoft.DBForMySQL/servers/mysql-test07\",\"name\":\"mysql-test07\",\"type\":\"Microsoft.DBForMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"adminuser\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-888.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T04:06:02.24+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/lucas-manual-test/providers/Microsoft.DBForMySQL/servers/mysql-test-888\",\"name\":\"mysql-test-888\",\"type\":\"Microsoft.DBForMySQL/servers\"}]}" + "Content": "{\"value\":[{\"sku\":{\"name\":\"B_Gen5_2\",\"tier\":\"Basic\",\"family\":\"Gen5\",\"capacity\":2},\"properties\":{\"administratorLogin\":\"lucas\",\"storageProfile\":{\"storageMB\":51200,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"azuremysql-dev.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-17T06:07:08.9960907+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/azureps-manual-test/providers/Microsoft.DBForMySQL/servers/azuremysql-dev\",\"name\":\"azuremysql-dev\",\"type\":\"Microsoft.DBForMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"dbadmin\",\"storageProfile\":{\"storageMB\":102400,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"xdmmysql.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-17T06:07:08.9960907+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"tags\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/dixue/providers/Microsoft.DBForMySQL/servers/xdmmysql\",\"name\":\"xdmmysql\",\"type\":\"Microsoft.DBForMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"adminuser\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test01.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T02:00:15.2+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/lucas-manual-test/providers/Microsoft.DBForMySQL/servers/mysql-test01\",\"name\":\"mysql-test01\",\"type\":\"Microsoft.DBForMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"adminuser\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test05.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T02:26:40.383+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/lucas-manual-test/providers/Microsoft.DBForMySQL/servers/mysql-test05\",\"name\":\"mysql-test05\",\"type\":\"Microsoft.DBForMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"adminuser\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test03.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T02:30:31.007+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/lucas-manual-test/providers/Microsoft.DBForMySQL/servers/mysql-test03\",\"name\":\"mysql-test03\",\"type\":\"Microsoft.DBForMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"adminuser\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test04.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T02:43:20.62+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/lucas-manual-test/providers/Microsoft.DBForMySQL/servers/mysql-test04\",\"name\":\"mysql-test04\",\"type\":\"Microsoft.DBForMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"adminuser\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test06.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T02:58:37.123+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/lucas-manual-test/providers/Microsoft.DBForMySQL/servers/mysql-test06\",\"name\":\"mysql-test06\",\"type\":\"Microsoft.DBForMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"adminuser\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test07.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:03:29.807+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/lucas-manual-test/providers/Microsoft.DBForMySQL/servers/mysql-test07\",\"name\":\"mysql-test07\",\"type\":\"Microsoft.DBForMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"},{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"adminuser\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-888.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T04:06:02.24+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/lucas-manual-test/providers/Microsoft.DBForMySQL/servers/mysql-test-888\",\"name\":\"mysql-test-888\",\"type\":\"Microsoft.DBForMySQL/servers\"}]}" } }, - "Get-AzMySqlServer+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { + "Get-AzMySqlServer+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2" ], @@ -74,13 +74,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } }, - "Get-AzMySqlServer+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers?api-version=2017-12-01+1": { + "Get-AzMySqlServer+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "3" ], @@ -113,13 +113,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}]}" + "Content": "{\"value\":[{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"\",\"masterServerId\":\"\",\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}]}" } }, - "Get-AzMySqlServer+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { + "Get-AzMySqlServer+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "4" ], @@ -152,7 +152,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } } } \ No newline at end of file diff --git a/src/MySql/test/Get-AzMySqlVirtualNetworkRule.Recording.json b/src/MySql/test/Get-AzMySqlVirtualNetworkRule.Recording.json index 94cc692c38fe..6613c977e62f 100644 --- a/src/MySql/test/Get-AzMySqlVirtualNetworkRule.Recording.json +++ b/src/MySql/test/Get-AzMySqlVirtualNetworkRule.Recording.json @@ -1,9 +1,9 @@ { - "Get-AzMySqlVirtualNetworkRule+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { + "Get-AzMySqlVirtualNetworkRule+[NoContext]+List+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\n }\n}", "Headers": { }, "ContentHeaders": { @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/569cb4f0-1275-4372-9370-179d5ddc5b42?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/569cb4f0-1275-4372-9370-179d5ddc5b42?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/569cb4f0-1275-4372-9370-179d5ddc5b42?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/569cb4f0-1275-4372-9370-179d5ddc5b42?api-version=2017-12-01" ], "x-ms-request-id": [ "569cb4f0-1275-4372-9370-179d5ddc5b42" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T06:07:42.957Z\"}" } }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/569cb4f0-1275-4372-9370-179d5ddc5b42?api-version=2017-12-01+2": { + "Get-AzMySqlVirtualNetworkRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/569cb4f0-1275-4372-9370-179d5ddc5b42?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/569cb4f0-1275-4372-9370-179d5ddc5b42?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/569cb4f0-1275-4372-9370-179d5ddc5b42?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1", "2" ], @@ -76,10 +76,10 @@ "Content": "{\"name\":\"569cb4f0-1275-4372-9370-179d5ddc5b42\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:07:42.957Z\"}" } }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+3": { + "Get-AzMySqlVirtualNetworkRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1", "2", "3" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBForMySQL/servers/virtualNetworkRules\"}" + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBForMySQL/servers/virtualNetworkRules\"}" } }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules?api-version=2017-12-01+4": { + "Get-AzMySqlVirtualNetworkRule+[NoContext]+List+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "4" ], @@ -151,13 +151,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBForMySQL/servers/virtualNetworkRules\"}]}" + "Content": "{\"value\":[{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBForMySQL/servers/virtualNetworkRules\"}]}" } }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+List+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+5": { + "Get-AzMySqlVirtualNetworkRule+[NoContext]+List+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+5": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "5" ], @@ -274,11 +274,11 @@ "Content": null } }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+Get+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { + "Get-AzMySqlVirtualNetworkRule+[NoContext]+Get+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\n }\n}", "Headers": { }, "ContentHeaders": { @@ -291,9 +291,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/eca86a26-160c-4b90-9c07-b010bad8e44b?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/eca86a26-160c-4b90-9c07-b010bad8e44b?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/eca86a26-160c-4b90-9c07-b010bad8e44b?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/eca86a26-160c-4b90-9c07-b010bad8e44b?api-version=2017-12-01" ], "x-ms-request-id": [ "eca86a26-160c-4b90-9c07-b010bad8e44b" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], @@ -311,10 +311,10 @@ "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T06:08:34.003Z\"}" } }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/eca86a26-160c-4b90-9c07-b010bad8e44b?api-version=2017-12-01+2": { + "Get-AzMySqlVirtualNetworkRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/eca86a26-160c-4b90-9c07-b010bad8e44b?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/eca86a26-160c-4b90-9c07-b010bad8e44b?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/eca86a26-160c-4b90-9c07-b010bad8e44b?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "8", "9" ], @@ -351,10 +351,10 @@ "Content": "{\"name\":\"eca86a26-160c-4b90-9c07-b010bad8e44b\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:08:34.003Z\"}" } }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+3": { + "Get-AzMySqlVirtualNetworkRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "8", "9", "10" ], @@ -387,13 +387,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBForMySQL/servers/virtualNetworkRules\"}" + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBForMySQL/servers/virtualNetworkRules\"}" } }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+4": { + "Get-AzMySqlVirtualNetworkRule+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "11" ], @@ -426,13 +426,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBForMySQL/servers/virtualNetworkRules\"}" + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBForMySQL/servers/virtualNetworkRules\"}" } }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+Get+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+5": { + "Get-AzMySqlVirtualNetworkRule+[NoContext]+Get+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+5": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "12" ], @@ -549,11 +549,11 @@ "Content": null } }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { + "Get-AzMySqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\n }\n}", "Headers": { }, "ContentHeaders": { @@ -566,9 +566,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/c7a1a2cb-254e-4524-957d-a0325f03d984?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/c7a1a2cb-254e-4524-957d-a0325f03d984?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c7a1a2cb-254e-4524-957d-a0325f03d984?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c7a1a2cb-254e-4524-957d-a0325f03d984?api-version=2017-12-01" ], "x-ms-request-id": [ "c7a1a2cb-254e-4524-957d-a0325f03d984" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], @@ -586,10 +586,10 @@ "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T06:09:23.787Z\"}" } }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c7a1a2cb-254e-4524-957d-a0325f03d984?api-version=2017-12-01+2": { + "Get-AzMySqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c7a1a2cb-254e-4524-957d-a0325f03d984?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c7a1a2cb-254e-4524-957d-a0325f03d984?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/c7a1a2cb-254e-4524-957d-a0325f03d984?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "15", "16" ], @@ -626,10 +626,10 @@ "Content": "{\"name\":\"c7a1a2cb-254e-4524-957d-a0325f03d984\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:09:23.787Z\"}" } }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+3": { + "Get-AzMySqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "15", "16", "17" ], @@ -662,13 +662,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBForMySQL/servers/virtualNetworkRules\"}" + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBForMySQL/servers/virtualNetworkRules\"}" } }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+4": { + "Get-AzMySqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "18" ], @@ -701,13 +701,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBForMySQL/servers/virtualNetworkRules\"}" + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBForMySQL/servers/virtualNetworkRules\"}" } }, - "Get-AzMySqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+5": { + "Get-AzMySqlVirtualNetworkRule+[NoContext]+GetViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+5": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "19" ], diff --git a/src/MySql/test/New-AzMySqlFirewallRule.Recording.json b/src/MySql/test/New-AzMySqlFirewallRule.Recording.json index 5e4cc5ff0114..dc0759ad9162 100644 --- a/src/MySql/test/New-AzMySqlFirewallRule.Recording.json +++ b/src/MySql/test/New-AzMySqlFirewallRule.Recording.json @@ -1,8 +1,8 @@ { - "New-AzMySqlFirewallRule+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { + "New-AzMySqlFirewallRule+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": "{\r\n \"properties\": {\r\n \"endIpAddress\": \"0.0.0.1\",\r\n \"startIpAddress\": \"0.0.0.0\"\r\n }\r\n}", "Headers": { }, @@ -76,10 +76,10 @@ "Content": "{\"name\":\"7905d7ea-2033-455a-91a4-7780d0e6c19b\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-11T13:27:05.877Z\"}" } }, - "New-AzMySqlFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { + "New-AzMySqlFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "94", "95", "96" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBForMySQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBForMySQL/servers/firewallRules\"}" } }, - "New-AzMySqlFirewallRule+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+4": { + "New-AzMySqlFirewallRule+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "97" ], @@ -235,10 +235,10 @@ "Content": null } }, - "New-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { + "New-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": "{\r\n \"properties\": {\r\n \"endIpAddress\": \"0.0.0.1\",\r\n \"startIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -312,10 +312,10 @@ "Content": "{\"name\":\"7829f89e-24fe-4760-af09-60a52c725ace\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-11T13:27:42.36Z\"}" } }, - "New-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { + "New-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "100", "101", "102" ], @@ -348,13 +348,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.1\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBForMySQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.1\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBForMySQL/servers/firewallRules\"}" } }, - "New-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+4": { + "New-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "103" ], @@ -471,10 +471,10 @@ "Content": null } }, - "New-AzMySqlFirewallRule+[NoContext]+AllowAll+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01+1": { + "New-AzMySqlFirewallRule+[NoContext]+AllowAll+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01", "Content": "{\r\n \"properties\": {\r\n \"endIpAddress\": \"255.255.255.255\",\r\n \"startIpAddress\": \"0.0.0.0\"\r\n }\r\n}", "Headers": { }, @@ -548,10 +548,10 @@ "Content": "{\"name\":\"8a4de3fa-c25f-4b3a-9c9a-fc8b40491ef9\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-11T13:28:19.243Z\"}" } }, - "New-AzMySqlFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01+3": { + "New-AzMySqlFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "106", "107", "108" ], @@ -584,13 +584,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"255.255.255.255\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19\",\"name\":\"AllowAll_2020-08-11_21-28-19\",\"type\":\"Microsoft.DBForMySQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"255.255.255.255\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19\",\"name\":\"AllowAll_2020-08-11_21-28-19\",\"type\":\"Microsoft.DBForMySQL/servers/firewallRules\"}" } }, - "New-AzMySqlFirewallRule+[NoContext]+AllowAll+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01+4": { + "New-AzMySqlFirewallRule+[NoContext]+AllowAll+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/AllowAll_2020-08-11_21-28-19?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "109" ], diff --git a/src/MySql/test/New-AzMySqlFlexibleServer.Recording.json b/src/MySql/test/New-AzMySqlFlexibleServer.Recording.json index 7ca357285dc3..d938df967896 100644 --- a/src/MySql/test/New-AzMySqlFlexibleServer.Recording.json +++ b/src/MySql/test/New-AzMySqlFlexibleServer.Recording.json @@ -1,8 +1,8 @@ { - "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+1": { + "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", "Content": "{\r\n \"location\": \"eastus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_D2ds_v4\",\r\n \"tier\": \"GeneralPurpose\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 12,\r\n \"storageMB\": 102400\r\n },\r\n \"administratorLogin\": \"mysql_test\",\r\n \"administratorLoginPassword\": \"Pasword01!!2020\",\r\n \"version\": \"5.7\",\r\n \"createMode\": \"Default\"\r\n }\r\n}", "Headers": { }, @@ -356,10 +356,10 @@ "Content": "{\"name\":\"46a5c82d-e040-419c-a08f-c771c5b4af8d\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T20:41:29.477Z\"}" } }, - "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+10": { + "New-AzMySqlFlexibleServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -392,13 +392,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_D2ds_v4\",\"tier\":\"GeneralPurpose\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":102400,\"storageIops\":0,\"backupRetentionDays\":12,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T20:49:33.3741322+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_D2ds_v4\",\"tier\":\"GeneralPurpose\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":102400,\"storageIops\":0,\"backupRetentionDays\":12,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T20:49:33.3741322+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"East US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-AllAzure+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+1": { + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-AllAzure+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"administratorLogin\": \"gleefulRaisins2\",\r\n \"administratorLoginPassword\": \"[H))p3{XBo]=PCov\",\r\n \"version\": \"5.7\"\r\n }\r\n}", "Headers": { }, @@ -672,10 +672,10 @@ "Content": "{\"name\":\"00e985ee-47ea-4e62-ad62-21a6f6b4f83e\",\"status\":\"Succeeded\",\"startTime\":\"2020-12-10T17:12:12.477Z\"}" } }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-AllAzure+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+8": { + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-AllAzure+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -708,13 +708,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"gleefulRaisins2\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-10T17:18:13.4574098+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"gleefulRaisins2\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-10T17:18:13.4574098+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-AllAzure+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2/firewallRules?api-version=2020-07-01-preview+9": { + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-AllAzure+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2/firewallRules?api-version=2020-07-01-preview+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2/firewallRules?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2/firewallRules?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "16" ], @@ -750,10 +750,10 @@ "Content": "{\"value\":[{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.0\"},\"name\":\"AllowAllAzureServicesAndResourcesWithinAzureIps_2020-12-10_09-18-31\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}]}" } }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-AllAzure+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+10": { + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-AllAzure+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+10": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "17" ], @@ -950,10 +950,10 @@ "Content": null } }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-FirewallRule+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+1": { + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-FirewallRule+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"administratorLogin\": \"wornoutFalcon0\",\r\n \"administratorLoginPassword\": \"$)AZ/G4}dwk5h*T$\",\r\n \"version\": \"5.7\"\r\n }\r\n}", "Headers": { }, @@ -1227,10 +1227,10 @@ "Content": "{\"name\":\"349feb74-6c8e-47d5-ba1e-930b7b171fab\",\"status\":\"Succeeded\",\"startTime\":\"2020-12-10T17:27:48.943Z\"}" } }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-FirewallRule+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+8": { + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-FirewallRule+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -1263,13 +1263,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"wornoutFalcon0\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-3.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-10T17:33:49.9577256+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-3\",\"name\":\"mysql-test-100-3\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"wornoutFalcon0\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-3.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-10T17:33:49.9577256+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-3\",\"name\":\"mysql-test-100-3\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-FirewallRule+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3/firewallRules?api-version=2020-07-01-preview+9": { + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-FirewallRule+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3/firewallRules?api-version=2020-07-01-preview+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3/firewallRules?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3/firewallRules?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "37" ], @@ -1305,10 +1305,10 @@ "Content": "{\"value\":[{\"properties\":{\"startIpAddress\":\"10.10.10.10\",\"endIpAddress\":\"10.10.10.12\"},\"name\":\"FirewallIPAddress_2020-12-10_09-34-07\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}]}" } }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-FirewallRule+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+10": { + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-FirewallRule+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+10": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "38" ], @@ -1505,10 +1505,10 @@ "Content": null } }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-AllowAll+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+1": { + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-AllowAll+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"administratorLogin\": \"vibrantFerret1\",\r\n \"administratorLoginPassword\": \"T[aH8)xv%b@AS][y\",\r\n \"version\": \"5.7\"\r\n }\r\n}", "Headers": { }, @@ -1782,10 +1782,10 @@ "Content": "{\"name\":\"2927c68b-93ef-4c14-84b1-a57f6dfdc2f3\",\"status\":\"Succeeded\",\"startTime\":\"2020-12-10T17:43:27.277Z\"}" } }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+8": { + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -1818,13 +1818,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"vibrantFerret1\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-10T17:49:28.2061324+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"vibrantFerret1\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-10T17:49:28.2061324+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2/firewallRules?api-version=2020-07-01-preview+9": { + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2/firewallRules?api-version=2020-07-01-preview+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2/firewallRules?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2/firewallRules?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "58" ], @@ -1860,10 +1860,10 @@ "Content": "{\"value\":[{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"255.255.255.255\"},\"name\":\"AllowAll_2020-12-10_09-49-45\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}]}" } }, - "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-AllowAll+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+10": { + "New-AzMySqlFlexibleServer+[NoContext]+PublicAccessScenario-AllowAll+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+10": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "59" ], @@ -2736,11 +2736,11 @@ "Content": null } }, - "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnet+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+1": { + "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnet+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", - "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"delegatedSubnetArguments\": {\r\n \"subnetArmResourceId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/mysqlvnet/subnets/Subnetmysql-test-100-2\"\r\n },\r\n \"administratorLogin\": \"starchyGerbil2\",\r\n \"administratorLoginPassword\": \"bt}?fKf(oV\\u0026%V#PK\",\r\n \"version\": \"5.7\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"delegatedSubnetArguments\": {\r\n \"subnetArmResourceId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.Network/virtualNetworks/mysqlvnet/subnets/Subnetmysql-test-100-2\"\r\n },\r\n \"administratorLogin\": \"starchyGerbil2\",\r\n \"administratorLoginPassword\": \"bt}?fKf(oV\\u0026%V#PK\",\r\n \"version\": \"5.7\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { @@ -3213,10 +3213,10 @@ "Content": "{\"name\":\"55da5e84-6c55-47b9-be20-d8937251b51f\",\"status\":\"Succeeded\",\"startTime\":\"2020-12-10T18:19:15.79Z\"}" } }, - "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+13": { + "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -3249,13 +3249,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"starchyGerbil2\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-10T18:30:17.4498227+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/mysqlvnet/subnets/Subnetmysql-test-100-2\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"starchyGerbil2\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-10T18:30:17.4498227+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.Network/virtualNetworks/mysqlvnet/subnets/Subnetmysql-test-100-2\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } }, - "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnet+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+14": { + "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnet+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+14": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "108" ], @@ -3452,11 +3452,11 @@ "Content": null } }, - "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnetNotExist+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+1": { + "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnetNotExist+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", - "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"delegatedSubnetArguments\": {\r\n \"subnetArmResourceId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/nonexistingvnetforpowershelltest/subnets/Subnetmysql-test-100-3\"\r\n },\r\n \"administratorLogin\": \"amusedStork9\",\r\n \"administratorLoginPassword\": \"*/KH%8/UgA@M@lbt\",\r\n \"version\": \"5.7\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", + "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"delegatedSubnetArguments\": {\r\n \"subnetArmResourceId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.Network/virtualNetworks/nonexistingvnetforpowershelltest/subnets/Subnetmysql-test-100-3\"\r\n },\r\n \"administratorLogin\": \"amusedStork9\",\r\n \"administratorLoginPassword\": \"*/KH%8/UgA@M@lbt\",\r\n \"version\": \"5.7\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { @@ -3969,10 +3969,10 @@ "Content": "{\"name\":\"f2590f2b-9744-4dfb-8ebe-b7de4c3629cd\",\"status\":\"Succeeded\",\"startTime\":\"2020-12-10T18:39:57.793Z\"}" } }, - "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+14": { + "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+14": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -4005,13 +4005,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"amusedStork9\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-3.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-10T18:51:59.4816441+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/nonexistingvnetforpowershelltest/subnets/Subnetmysql-test-100-3\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-3\",\"name\":\"mysql-test-100-3\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"amusedStork9\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-3.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-10T18:51:59.4816441+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.Network/virtualNetworks/nonexistingvnetforpowershelltest/subnets/Subnetmysql-test-100-3\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-3\",\"name\":\"mysql-test-100-3\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } }, - "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnetNotExist+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+15": { + "New-AzMySqlFlexibleServer+[NoContext]+VnetNameScenario-ValidVnetNotExist+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+15": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "132" ], @@ -4208,11 +4208,11 @@ "Content": null } }, - "New-AzMySqlFlexibleServer+[NoContext]+VnetIdScenario-ValidVnet+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+1": { + "New-AzMySqlFlexibleServer+[NoContext]+VnetIdScenario-ValidVnet+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", - "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"delegatedSubnetArguments\": {\r\n \"subnetArmResourceId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/nonexistingvnetforpowershelltest/subnets/Subnetmysql-test-100-2\"\r\n },\r\n \"administratorLogin\": \"aboardHyena4\",\r\n \"administratorLoginPassword\": \"a$zs2)@M[%61L9=a\",\r\n \"version\": \"5.7\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"delegatedSubnetArguments\": {\r\n \"subnetArmResourceId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.Network/virtualNetworks/nonexistingvnetforpowershelltest/subnets/Subnetmysql-test-100-2\"\r\n },\r\n \"administratorLogin\": \"aboardHyena4\",\r\n \"administratorLoginPassword\": \"a$zs2)@M[%61L9=a\",\r\n \"version\": \"5.7\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { @@ -4685,10 +4685,10 @@ "Content": "{\"name\":\"d7ea8409-3d50-439f-93a1-3ce13331b417\",\"status\":\"Succeeded\",\"startTime\":\"2020-12-10T19:01:08.583Z\"}" } }, - "New-AzMySqlFlexibleServer+[NoContext]+VnetIdScenario-ValidVnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+13": { + "New-AzMySqlFlexibleServer+[NoContext]+VnetIdScenario-ValidVnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -4721,13 +4721,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"aboardHyena4\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-10T19:12:10.6964326+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/nonexistingvnetforpowershelltest/subnets/Subnetmysql-test-100-2\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"aboardHyena4\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-10T19:12:10.6964326+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.Network/virtualNetworks/nonexistingvnetforpowershelltest/subnets/Subnetmysql-test-100-2\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } }, - "New-AzMySqlFlexibleServer+[NoContext]+VnetIdScenario-ValidVnet+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+14": { + "New-AzMySqlFlexibleServer+[NoContext]+VnetIdScenario-ValidVnet+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+14": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "156" ], @@ -4924,11 +4924,11 @@ "Content": null } }, - "New-AzMySqlFlexibleServer+[NoContext]+VnetIdScenario-ValidVnetNotExist+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+1": { + "New-AzMySqlFlexibleServer+[NoContext]+VnetIdScenario-ValidVnetNotExist+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", - "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"delegatedSubnetArguments\": {\r\n \"subnetArmResourceId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/mysqlvnet/subnets/Subnetmysql-test-100-3\"\r\n },\r\n \"administratorLogin\": \"ajarBustard9\",\r\n \"administratorLoginPassword\": \"Z*=LuT+ysU$b(*8T\",\r\n \"version\": \"5.7\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", + "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"delegatedSubnetArguments\": {\r\n \"subnetArmResourceId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.Network/virtualNetworks/mysqlvnet/subnets/Subnetmysql-test-100-3\"\r\n },\r\n \"administratorLogin\": \"ajarBustard9\",\r\n \"administratorLoginPassword\": \"Z*=LuT+ysU$b(*8T\",\r\n \"version\": \"5.7\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { @@ -5401,10 +5401,10 @@ "Content": "{\"name\":\"a204228e-f626-4473-bc66-dd96bae5b939\",\"status\":\"Succeeded\",\"startTime\":\"2020-12-10T19:21:21.743Z\"}" } }, - "New-AzMySqlFlexibleServer+[NoContext]+VnetIdScenario-ValidVnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+13": { + "New-AzMySqlFlexibleServer+[NoContext]+VnetIdScenario-ValidVnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -5437,13 +5437,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"ajarBustard9\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-3.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-10T19:32:23.9299229+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/mysqlvnet/subnets/Subnetmysql-test-100-3\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-3\",\"name\":\"mysql-test-100-3\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"ajarBustard9\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-3.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-10T19:32:23.9299229+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.Network/virtualNetworks/mysqlvnet/subnets/Subnetmysql-test-100-3\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-3\",\"name\":\"mysql-test-100-3\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } }, - "New-AzMySqlFlexibleServer+[NoContext]+VnetIdScenario-ValidVnetNotExist+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+14": { + "New-AzMySqlFlexibleServer+[NoContext]+VnetIdScenario-ValidVnetNotExist+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+14": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "179" ], @@ -5640,11 +5640,11 @@ "Content": null } }, - "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnet+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+1": { + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnet+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", - "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"delegatedSubnetArguments\": {\r\n \"subnetArmResourceId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/mysqlvnet/subnets/mysql-test-subnet\"\r\n },\r\n \"administratorLogin\": \"emptyPlover3\",\r\n \"administratorLoginPassword\": \"0t3]pDh}=H%Y*wh]\",\r\n \"version\": \"5.7\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"delegatedSubnetArguments\": {\r\n \"subnetArmResourceId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.Network/virtualNetworks/mysqlvnet/subnets/mysql-test-subnet\"\r\n },\r\n \"administratorLogin\": \"emptyPlover3\",\r\n \"administratorLoginPassword\": \"0t3]pDh}=H%Y*wh]\",\r\n \"version\": \"5.7\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { @@ -6197,10 +6197,10 @@ "Content": "{\"name\":\"c5e16c96-7352-482f-a057-e11ff5486cb3\",\"status\":\"Succeeded\",\"startTime\":\"2020-12-10T19:57:06.507Z\"}" } }, - "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+15": { + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+15": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -6233,13 +6233,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"emptyPlover3\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-10T20:10:10.5088206+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/mysqlvnet/subnets/mysql-test-subnet\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"emptyPlover3\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-10T20:10:10.5088206+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.Network/virtualNetworks/mysqlvnet/subnets/mysql-test-subnet\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } }, - "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnet+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+16": { + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnet+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+16": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "204" ], @@ -6436,10 +6436,10 @@ "Content": null } }, - "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetDifferentRg+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+1": { + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetDifferentRg+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"delegatedSubnetArguments\": {\r\n \"subnetArmResourceId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest2/providers/Microsoft.Network/virtualNetworks/mysqlvnet/subnets/mysql-test-subnet\"\r\n },\r\n \"administratorLogin\": \"pensiveLollies1\",\r\n \"administratorLoginPassword\": \"p0lVSe*[@{Aru#=8\",\r\n \"version\": \"5.7\"\r\n }\r\n}", "Headers": { }, @@ -6873,10 +6873,10 @@ "Content": "{\"name\":\"c0dffba5-d7a6-47b8-8923-3e7b9981d951\",\"status\":\"Succeeded\",\"startTime\":\"2020-12-10T20:19:21.483Z\"}" } }, - "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetDifferentRg+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+12": { + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetDifferentRg+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -6909,13 +6909,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"pensiveLollies1\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-3.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-10T20:29:23.5471033+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest2/providers/Microsoft.Network/virtualNetworks/mysqlvnet/subnets/mysql-test-subnet\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-3\",\"name\":\"mysql-test-100-3\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"pensiveLollies1\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-3.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-10T20:29:23.5471033+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest2/providers/Microsoft.Network/virtualNetworks/mysqlvnet/subnets/mysql-test-subnet\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-3\",\"name\":\"mysql-test-100-3\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } }, - "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetDifferentRg+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+13": { + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetDifferentRg+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+13": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "226" ], @@ -7112,11 +7112,11 @@ "Content": null } }, - "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetDelegation+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+1": { + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetDelegation+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", - "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"delegatedSubnetArguments\": {\r\n \"subnetArmResourceId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/mysqlvnet/subnets/mysql-test-subnet\"\r\n },\r\n \"administratorLogin\": \"adoringSnipe1\",\r\n \"administratorLoginPassword\": \"vw@7!#\\u0026O4@61aL5*\",\r\n \"version\": \"5.7\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"delegatedSubnetArguments\": {\r\n \"subnetArmResourceId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.Network/virtualNetworks/mysqlvnet/subnets/mysql-test-subnet\"\r\n },\r\n \"administratorLogin\": \"adoringSnipe1\",\r\n \"administratorLoginPassword\": \"vw@7!#\\u0026O4@61aL5*\",\r\n \"version\": \"5.7\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { @@ -7629,10 +7629,10 @@ "Content": "{\"name\":\"3e687c6b-f9a4-48b6-9a8f-19694cb532ea\",\"status\":\"Succeeded\",\"startTime\":\"2020-12-10T20:38:43.163Z\"}" } }, - "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetDelegation+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+14": { + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetDelegation+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+14": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -7665,13 +7665,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"adoringSnipe1\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-10T20:50:45.8541144+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/mysqlvnet/subnets/mysql-test-subnet\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"adoringSnipe1\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-10T20:50:45.8541144+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.Network/virtualNetworks/mysqlvnet/subnets/mysql-test-subnet\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } }, - "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetDelegation+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+15": { + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetDelegation+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+15": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "249" ], @@ -7868,11 +7868,11 @@ "Content": null } }, - "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetNotExist+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+1": { + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetNotExist+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", - "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"delegatedSubnetArguments\": {\r\n \"subnetArmResourceId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/nonexistingvnetforpowershelltest/subnets/nonexistingsubnetforpowershelltest\"\r\n },\r\n \"administratorLogin\": \"machoBaboon3\",\r\n \"administratorLoginPassword\": \"H9mrz?}!07hb@$]8\",\r\n \"version\": \"5.7\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", + "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"delegatedSubnetArguments\": {\r\n \"subnetArmResourceId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.Network/virtualNetworks/nonexistingvnetforpowershelltest/subnets/nonexistingsubnetforpowershelltest\"\r\n },\r\n \"administratorLogin\": \"machoBaboon3\",\r\n \"administratorLoginPassword\": \"H9mrz?}!07hb@$]8\",\r\n \"version\": \"5.7\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { @@ -8305,10 +8305,10 @@ "Content": "{\"name\":\"1240290d-20c3-4177-a597-da4d67bfd4cd\",\"status\":\"Succeeded\",\"startTime\":\"2020-12-10T20:59:59.84Z\"}" } }, - "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+12": { + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -8341,13 +8341,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"machoBaboon3\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-3.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-10T21:10:02.5102491+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/nonexistingvnetforpowershelltest/subnets/nonexistingsubnetforpowershelltest\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-3\",\"name\":\"mysql-test-100-3\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"machoBaboon3\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-3.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-10T21:10:02.5102491+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.Network/virtualNetworks/nonexistingvnetforpowershelltest/subnets/nonexistingsubnetforpowershelltest\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-3\",\"name\":\"mysql-test-100-3\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } }, - "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetNotExist+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+13": { + "New-AzMySqlFlexibleServer+[NoContext]+SubnetIdScenario-ValidSubnetNotExist+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+13": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "270" ], @@ -8544,11 +8544,11 @@ "Content": null } }, - "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnetNotExist+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+1": { + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnetNotExist+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", - "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"delegatedSubnetArguments\": {\r\n \"subnetArmResourceId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/mysqlvnet/subnets/mysql-test-subnet\"\r\n },\r\n \"administratorLogin\": \"playfulCheetah5\",\r\n \"administratorLoginPassword\": \"pyZ%P@emO(\\u0026v?SE#\",\r\n \"version\": \"5.7\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", + "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"delegatedSubnetArguments\": {\r\n \"subnetArmResourceId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.Network/virtualNetworks/mysqlvnet/subnets/mysql-test-subnet\"\r\n },\r\n \"administratorLogin\": \"playfulCheetah5\",\r\n \"administratorLoginPassword\": \"pyZ%P@emO(\\u0026v?SE#\",\r\n \"version\": \"5.7\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { @@ -8981,10 +8981,10 @@ "Content": "{\"name\":\"60c7412f-d36d-4799-96af-4aa3e16efcd8\",\"status\":\"Succeeded\",\"startTime\":\"2020-12-10T21:19:16.98Z\"}" } }, - "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+12": { + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnetNotExist+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -9017,13 +9017,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"playfulCheetah5\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-3.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-10T21:29:20.1336367+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/mysqlvnet/subnets/mysql-test-subnet\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-3\",\"name\":\"mysql-test-100-3\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"playfulCheetah5\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-3.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-10T21:29:20.1336367+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.Network/virtualNetworks/mysqlvnet/subnets/mysql-test-subnet\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-3\",\"name\":\"mysql-test-100-3\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } }, - "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnetNotExist+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+13": { + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnetNotExist+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview+13": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-3?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "292" ], @@ -9220,11 +9220,11 @@ "Content": null } }, - "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+1": { + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", - "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"delegatedSubnetArguments\": {\r\n \"subnetArmResourceId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/mysqlvnet/subnets/mysql-test-subnet\"\r\n },\r\n \"administratorLogin\": \"solemnAuk3\",\r\n \"administratorLoginPassword\": \"FnH+y{HG!Y5%a*{w\",\r\n \"version\": \"5.7\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"delegatedSubnetArguments\": {\r\n \"subnetArmResourceId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.Network/virtualNetworks/mysqlvnet/subnets/mysql-test-subnet\"\r\n },\r\n \"administratorLogin\": \"solemnAuk3\",\r\n \"administratorLoginPassword\": \"FnH+y{HG!Y5%a*{w\",\r\n \"version\": \"5.7\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { @@ -10577,11 +10577,11 @@ "Content": "{\"name\":\"ab2d83cc-9ed8-4a42-9791-0a1231703d31\",\"status\":\"InProgress\",\"startTime\":\"2020-12-10T21:30:33.07Z\"}" } }, - "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2222?api-version=2020-07-01-preview+1": { + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2222?api-version=2020-07-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2222?api-version=2020-07-01-preview", - "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"delegatedSubnetArguments\": {\r\n \"subnetArmResourceId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/mysqlvnet/subnets/mysql-test-subnet\"\r\n },\r\n \"administratorLogin\": \"untrueDonkey7\",\r\n \"administratorLoginPassword\": \"rvS}C/[CdGBTo[{=\",\r\n \"version\": \"5.7\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2222?api-version=2020-07-01-preview", + "Content": "{\r\n \"location\": \"westus2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"delegatedSubnetArguments\": {\r\n \"subnetArmResourceId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.Network/virtualNetworks/mysqlvnet/subnets/mysql-test-subnet\"\r\n },\r\n \"administratorLogin\": \"untrueDonkey7\",\r\n \"administratorLoginPassword\": \"rvS}C/[CdGBTo[{=\",\r\n \"version\": \"5.7\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { @@ -11054,10 +11054,10 @@ "Content": "{\"name\":\"b6f01090-de61-4d65-8212-6d6286635176\",\"status\":\"Succeeded\",\"startTime\":\"2020-12-10T22:59:03.657Z\"}" } }, - "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2222?api-version=2020-07-01-preview+13": { + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2222?api-version=2020-07-01-preview+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2222?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2222?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -11090,13 +11090,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"untrueDonkey7\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-2222.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-10T23:10:25.6015349+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/mysqlvnet/subnets/mysql-test-subnet\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-2222\",\"name\":\"mysql-test-100-2222\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"untrueDonkey7\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-2222.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Disabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-10T23:10:25.6015349+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"delegatedSubnetArguments\":{\"subnetArmResourceId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.Network/virtualNetworks/mysqlvnet/subnets/mysql-test-subnet\"},\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-2222\",\"name\":\"mysql-test-100-2222\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } }, - "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2222?api-version=2020-07-01-preview+14": { + "New-AzMySqlFlexibleServer+[NoContext]+VnetSubnetScenario-ValidVnetSubnet+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2222?api-version=2020-07-01-preview+14": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2222?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2222?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "18" ], diff --git a/src/MySql/test/New-AzMySqlFlexibleServerDatabase.Recording.json b/src/MySql/test/New-AzMySqlFlexibleServerDatabase.Recording.json index bcb408ab5cfb..f639e4b82504 100644 --- a/src/MySql/test/New-AzMySqlFlexibleServerDatabase.Recording.json +++ b/src/MySql/test/New-AzMySqlFlexibleServerDatabase.Recording.json @@ -1,8 +1,8 @@ { - "New-AzMySqlFlexibleServerDatabase+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+1": { + "New-AzMySqlFlexibleServerDatabase+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", "Content": "{\r\n \"properties\": {\r\n \"charset\": \"latin1\"\r\n }\r\n}", "Headers": { }, @@ -76,10 +76,10 @@ "Content": "{\"name\":\"e46feaf8-5c78-4845-a914-9e0a0918b170\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T22:04:07.337Z\"}" } }, - "New-AzMySqlFlexibleServerDatabase+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+3": { + "New-AzMySqlFlexibleServerDatabase+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" + "Content": "{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" } }, - "New-AzMySqlFlexibleServerDatabase+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+4": { + "New-AzMySqlFlexibleServerDatabase+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "13" ], @@ -233,7 +233,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" + "Content": "{\"properties\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" } } } \ No newline at end of file diff --git a/src/MySql/test/New-AzMySqlFlexibleServerFirewallRule.Recording.json b/src/MySql/test/New-AzMySqlFlexibleServerFirewallRule.Recording.json index ecff833c29df..d9ffb40424f7 100644 --- a/src/MySql/test/New-AzMySqlFlexibleServerFirewallRule.Recording.json +++ b/src/MySql/test/New-AzMySqlFlexibleServerFirewallRule.Recording.json @@ -1,8 +1,8 @@ { - "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { + "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -76,10 +76,10 @@ "Content": "{\"name\":\"2a262625-b6dc-474b-9caa-cb5139c88e0a\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T09:20:09.57Z\"}" } }, - "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { + "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -115,10 +115,10 @@ "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}" } }, - "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+4": { + "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "4" ], @@ -235,10 +235,10 @@ "Content": null } }, - "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { + "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.1\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -312,10 +312,10 @@ "Content": "{\"name\":\"038168bb-6845-4a35-be4c-4e4f72457add\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T09:22:12.733Z\"}" } }, - "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { + "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -351,10 +351,10 @@ "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.1\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}" } }, - "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+4": { + "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "10" ], @@ -471,10 +471,10 @@ "Content": null } }, - "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+AllowAll+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { + "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+AllowAll+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"255.255.255.255\"\r\n }\r\n}", "Headers": { }, @@ -548,10 +548,10 @@ "Content": "{\"name\":\"57b64c53-c8a9-471b-b47a-c10c7591b0d4\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T09:24:14.72Z\"}" } }, - "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { + "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+AllowAll+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -587,10 +587,10 @@ "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"255.255.255.255\"},\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}" } }, - "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+AllowAll+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+4": { + "New-AzMySqlFlexibleServerFirewallRule+[NoContext]+AllowAll+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "16" ], diff --git a/src/MySql/test/New-AzMySqlFlexibleServerReplica.Recording.json b/src/MySql/test/New-AzMySqlFlexibleServerReplica.Recording.json index f10c02cc3a05..a299f66e17e5 100644 --- a/src/MySql/test/New-AzMySqlFlexibleServerReplica.Recording.json +++ b/src/MySql/test/New-AzMySqlFlexibleServerReplica.Recording.json @@ -1,8 +1,8 @@ { - "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview+1": { + "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "2" ], @@ -35,14 +35,14 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"gleefulOrange3\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-flexible-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-22T05:12:15.3040713+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\"name\":\"mysql-flexible-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"gleefulOrange3\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-flexible-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-22T05:12:15.3040713+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\"name\":\"mysql-flexible-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } }, - "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-replica?api-version=2020-07-01-preview+2": { + "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-replica?api-version=2020-07-01-preview+2": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-replica?api-version=2020-07-01-preview", - "Content": "{\r\n \"location\": \"West US 2\",\r\n \"properties\": {\r\n \"sourceServerId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\r\n \"createMode\": \"Replica\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-replica?api-version=2020-07-01-preview", + "Content": "{\r\n \"location\": \"West US 2\",\r\n \"properties\": {\r\n \"sourceServerId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\r\n \"createMode\": \"Replica\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { @@ -515,10 +515,10 @@ "Content": "{\"name\":\"d8133f0f-f476-4fcb-9178-ec041aba8bf0\",\"status\":\"Succeeded\",\"startTime\":\"2020-12-22T05:12:16.46Z\"}" } }, - "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-replica?api-version=2020-07-01-preview+14": { + "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-replica?api-version=2020-07-01-preview+14": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-replica?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-replica?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -551,13 +551,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"gleefulOrange3\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-replica.mysql.database.azure.com\",\"sourceServerId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-22T05:23:19.0409909+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"Replica\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-replica\",\"name\":\"mysql-test-100-replica\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"gleefulOrange3\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-replica.mysql.database.azure.com\",\"sourceServerId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-12-22T05:23:19.0409909+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"Replica\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-replica\",\"name\":\"mysql-test-100-replica\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } }, - "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-replica?api-version=2020-07-01-preview+15": { + "New-AzMySqlFlexibleServerReplica+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-replica?api-version=2020-07-01-preview+15": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-replica?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-replica?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "16" ], diff --git a/src/MySql/test/New-AzMySqlReplica.Recording.json b/src/MySql/test/New-AzMySqlReplica.Recording.json index 827b7334eb1d..39b1f35f4e7b 100644 --- a/src/MySql/test/New-AzMySqlReplica.Recording.json +++ b/src/MySql/test/New-AzMySqlReplica.Recording.json @@ -1,8 +1,8 @@ { - "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { + "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "112" ], @@ -35,14 +35,14 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-04-08T11:03:09.983+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-04-08T11:03:09.983+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } }, - "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+2": { + "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+2": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"createMode\": \"Replica\",\n \"sourceServerId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\"\n },\n \"location\": \"eastus\"\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"createMode\": \"Replica\",\n \"sourceServerId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100\"\n },\n \"location\": \"eastus\"\n}", "Headers": { "x-ms-unique-id": [ "113" ], "x-ms-client-request-id": [ "4aa2cfae-328b-4480-bb80-e295fb82387f" ], @@ -842,10 +842,10 @@ "Content": "{\"name\":\"c76c579e-55b4-4fe9-b19d-75093eeca064\",\"status\":\"Succeeded\",\"startTime\":\"2020-04-08T11:13:22.287Z\"}" } }, - "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+22": { + "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+22": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "113", "114", "115", "116", "117", "118", "119", "120", "121", "122", "123", "124", "125", "126", "127", "128", "129", "130", "131", "132", "133" ], @@ -878,13 +878,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100-replica.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-04-08T11:25:23.023+00:00\",\"replicationRole\":\"Replica\",\"masterServerId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica\",\"name\":\"mysql-test-100-replica\",\"type\":\"Microsoft.DBForMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100-replica.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-04-08T11:25:23.023+00:00\",\"replicationRole\":\"Replica\",\"masterServerId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica\",\"name\":\"mysql-test-100-replica\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } }, - "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+23": { + "New-AzMySqlServerReplica+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+23": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "134" ], diff --git a/src/MySql/test/New-AzMySqlServer.Recording.json b/src/MySql/test/New-AzMySqlServer.Recording.json index 75a1618b1d96..c392506fb3e9 100644 --- a/src/MySql/test/New-AzMySqlServer.Recording.json +++ b/src/MySql/test/New-AzMySqlServer.Recording.json @@ -1,8 +1,8 @@ { - "New-AzMySqlServer+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-2?api-version=2017-12-01+1": { + "New-AzMySqlServer+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100-2?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-2?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100-2?api-version=2017-12-01", "Content": "{\n \"properties\": {\n \"createMode\": \"Default\",\n \"administratorLogin\": \"pwsh\",\n \"administratorLoginPassword\": \"Pa88word!\"\n },\n \"sku\": {\n \"name\": \"GP_Gen5_4\"\n },\n \"location\": \"eastus\"\n}", "Headers": { }, @@ -116,10 +116,10 @@ "Content": "{\"name\":\"4d7c6645-81d7-4604-99db-387dedcedfbf\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:20:48.23Z\"}" } }, - "New-AzMySqlServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-2?api-version=2017-12-01+4": { + "New-AzMySqlServer+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100-2?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-2?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100-2?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1", "2", "3", "4" ], @@ -152,13 +152,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"pwsh\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T06:30:50.09+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBForMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"pwsh\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T06:30:50.09+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } }, - "New-AzMySqlServer+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-2?api-version=2017-12-01+5": { + "New-AzMySqlServer+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100-2?api-version=2017-12-01+5": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-2?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100-2?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "5" ], diff --git a/src/MySql/test/New-AzMySqlServerReplica.Recording.json b/src/MySql/test/New-AzMySqlServerReplica.Recording.json index 2aaba8b4840c..e4e2ea1b0a5b 100644 --- a/src/MySql/test/New-AzMySqlServerReplica.Recording.json +++ b/src/MySql/test/New-AzMySqlServerReplica.Recording.json @@ -1,8 +1,8 @@ { - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1" ], @@ -35,14 +35,14 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+2": { + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+2": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"createMode\": \"Replica\",\n \"sourceServerId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\"\n },\n \"location\": \"eastus\"\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"createMode\": \"Replica\",\n \"sourceServerId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100\"\n },\n \"location\": \"eastus\"\n}", "Headers": { }, "ContentHeaders": { @@ -875,10 +875,10 @@ "Content": "{\"name\":\"d6ce3561-ffa0-4bc6-bd34-ef770b816a4a\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T09:41:35.77Z\"}" } }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+23": { + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+23": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23" ], @@ -911,13 +911,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100-replica.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T09:53:36.52+00:00\",\"replicationRole\":\"Replica\",\"masterServerId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica\",\"name\":\"mysql-test-100-replica\",\"type\":\"Microsoft.DBForMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100-replica.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T09:53:36.52+00:00\",\"replicationRole\":\"Replica\",\"masterServerId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica\",\"name\":\"mysql-test-100-replica\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } }, - "New-AzMySqlReplica+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+24": { + "New-AzMySqlReplica+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+24": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "24" ], diff --git a/src/MySql/test/New-AzMySqlVirtualNetworkRule.Recording.json b/src/MySql/test/New-AzMySqlVirtualNetworkRule.Recording.json index 80833a7a45e2..ae8071dc94d5 100644 --- a/src/MySql/test/New-AzMySqlVirtualNetworkRule.Recording.json +++ b/src/MySql/test/New-AzMySqlVirtualNetworkRule.Recording.json @@ -1,9 +1,9 @@ { - "New-AzMySqlVirtualNetworkRule+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { + "New-AzMySqlVirtualNetworkRule+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\n }\n}", "Headers": { }, "ContentHeaders": { @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/e68a0466-f700-4a65-b792-1903767f0d72?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/e68a0466-f700-4a65-b792-1903767f0d72?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/e68a0466-f700-4a65-b792-1903767f0d72?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/e68a0466-f700-4a65-b792-1903767f0d72?api-version=2017-12-01" ], "x-ms-request-id": [ "e68a0466-f700-4a65-b792-1903767f0d72" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T06:24:37.15Z\"}" } }, - "New-AzMySqlVirtualNetworkRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/e68a0466-f700-4a65-b792-1903767f0d72?api-version=2017-12-01+2": { + "New-AzMySqlVirtualNetworkRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/e68a0466-f700-4a65-b792-1903767f0d72?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/e68a0466-f700-4a65-b792-1903767f0d72?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/e68a0466-f700-4a65-b792-1903767f0d72?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1", "2" ], @@ -76,10 +76,10 @@ "Content": "{\"name\":\"e68a0466-f700-4a65-b792-1903767f0d72\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:24:37.15Z\"}" } }, - "New-AzMySqlVirtualNetworkRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+3": { + "New-AzMySqlVirtualNetworkRule+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1", "2", "3" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBForMySQL/servers/virtualNetworkRules\"}" + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBForMySQL/servers/virtualNetworkRules\"}" } }, - "New-AzMySqlVirtualNetworkRule+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+4": { + "New-AzMySqlVirtualNetworkRule+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "4" ], diff --git a/src/MySql/test/Remove-AzMySqlFirewallRule.Recording.json b/src/MySql/test/Remove-AzMySqlFirewallRule.Recording.json index 0480d0062157..3d687a4743c2 100644 --- a/src/MySql/test/Remove-AzMySqlFirewallRule.Recording.json +++ b/src/MySql/test/Remove-AzMySqlFirewallRule.Recording.json @@ -1,8 +1,8 @@ { - "Remove-AzMySqlFirewallRule+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { + "Remove-AzMySqlFirewallRule+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": "{\n \"properties\": {\n \"endIpAddress\": \"0.0.0.1\",\n \"startIpAddress\": \"0.0.0.0\"\n }\n}", "Headers": { }, @@ -76,10 +76,10 @@ "Content": "{\"name\":\"028ac200-d31d-46e6-9aaf-01ff4f7b09a7\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:29:15.293Z\"}" } }, - "Remove-AzMySqlFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { + "Remove-AzMySqlFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1", "2", "3" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBForMySQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBForMySQL/servers/firewallRules\"}" } }, - "Remove-AzMySqlFirewallRule+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+4": { + "Remove-AzMySqlFirewallRule+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "4" ], @@ -235,10 +235,10 @@ "Content": null } }, - "Remove-AzMySqlFirewallRule+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { + "Remove-AzMySqlFirewallRule+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": "{\n \"properties\": {\n \"endIpAddress\": \"0.0.0.1\",\n \"startIpAddress\": \"0.0.0.0\"\n }\n}", "Headers": { }, @@ -312,10 +312,10 @@ "Content": "{\"name\":\"3f510b53-f32e-4aed-84e3-aef22c9c55cd\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:29:50.197Z\"}" } }, - "Remove-AzMySqlFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { + "Remove-AzMySqlFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "7", "8", "9" ], @@ -348,13 +348,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBForMySQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBForMySQL/servers/firewallRules\"}" } }, - "Remove-AzMySqlFirewallRule+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+4": { + "Remove-AzMySqlFirewallRule+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "10" ], diff --git a/src/MySql/test/Remove-AzMySqlFlexibleServer.Recording.json b/src/MySql/test/Remove-AzMySqlFlexibleServer.Recording.json index 56206257df5f..7726502f3484 100644 --- a/src/MySql/test/Remove-AzMySqlFlexibleServer.Recording.json +++ b/src/MySql/test/Remove-AzMySqlFlexibleServer.Recording.json @@ -1,8 +1,8 @@ { - "Remove-AzMySqlFlexibleServer+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview+1": { + "Remove-AzMySqlFlexibleServer+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview", "Content": "{\r\n \"location\": \"eastus2euap\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\",\r\n \"tier\": \"Burstable\"\r\n },\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 7,\r\n \"storageMB\": 10240\r\n },\r\n \"administratorLogin\": \"mysql_test\",\r\n \"administratorLoginPassword\": \"Pasword01!!2020\",\r\n \"version\": \"5.7\",\r\n \"createMode\": \"Default\"\r\n }\r\n}", "Headers": { }, @@ -76,10 +76,10 @@ "Content": "{\"name\":\"bdca3d03-d749-4999-9f97-9e9e51e4c414\",\"status\":\"Failed\",\"startTime\":\"2020-11-11T06:51:56.037Z\",\"error\":{\"code\":\"ServiceBusy\",\"message\":\"Service is temporarily busy and the operation cannot be performed. Please try again later.\"}}" } }, - "Remove-AzMySqlFlexibleServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview+3": { + "Remove-AzMySqlFlexibleServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":7,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Stopped\",\"haState\":\"\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } }, - "Remove-AzMySqlFlexibleServer+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+1": { + "Remove-AzMySqlFlexibleServer+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+1": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "18" ], @@ -475,10 +475,10 @@ "Content": null } }, - "Remove-AzMySqlFlexibleServer+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+1": { + "Remove-AzMySqlFlexibleServer+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview+1": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-2?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "23" ], diff --git a/src/MySql/test/Remove-AzMySqlFlexibleServerDatabase.Recording.json b/src/MySql/test/Remove-AzMySqlFlexibleServerDatabase.Recording.json index 844e0dba704a..6f47f5153beb 100644 --- a/src/MySql/test/Remove-AzMySqlFlexibleServerDatabase.Recording.json +++ b/src/MySql/test/Remove-AzMySqlFlexibleServerDatabase.Recording.json @@ -1,8 +1,8 @@ { - "Remove-AzMySqlFlexibleServerDatabase+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+1": { + "Remove-AzMySqlFlexibleServerDatabase+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", "Content": "{\r\n \"properties\": {\r\n \"charset\": \"latin1\"\r\n }\r\n}", "Headers": { }, @@ -76,10 +76,10 @@ "Content": "{\"name\":\"9a03a575-bc13-408a-8bf7-fc0752b3213c\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T22:04:40.043Z\"}" } }, - "Remove-AzMySqlFlexibleServerDatabase+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+3": { + "Remove-AzMySqlFlexibleServerDatabase+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" + "Content": "{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" } }, - "Remove-AzMySqlFlexibleServerDatabase+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+4": { + "Remove-AzMySqlFlexibleServerDatabase+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "19" ], @@ -233,13 +233,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" + "Content": "{\"properties\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" } }, - "Remove-AzMySqlFlexibleServerDatabase+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+1": { + "Remove-AzMySqlFlexibleServerDatabase+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", "Content": "{\r\n \"properties\": {\r\n \"charset\": \"latin1\"\r\n }\r\n}", "Headers": { }, @@ -313,10 +313,10 @@ "Content": "{\"name\":\"8ff93cff-ab9d-4a74-82cf-f3dc286df95f\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T22:05:11.433Z\"}" } }, - "Remove-AzMySqlFlexibleServerDatabase+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+3": { + "Remove-AzMySqlFlexibleServerDatabase+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -349,13 +349,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" + "Content": "{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" } }, - "Remove-AzMySqlFlexibleServerDatabase+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+4": { + "Remove-AzMySqlFlexibleServerDatabase+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "25" ], @@ -470,7 +470,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" + "Content": "{\"properties\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" } } } \ No newline at end of file diff --git a/src/MySql/test/Remove-AzMySqlFlexibleServerFirewallRule.Recording.json b/src/MySql/test/Remove-AzMySqlFlexibleServerFirewallRule.Recording.json index 9750e23046b7..dbc490ea4cc0 100644 --- a/src/MySql/test/Remove-AzMySqlFlexibleServerFirewallRule.Recording.json +++ b/src/MySql/test/Remove-AzMySqlFlexibleServerFirewallRule.Recording.json @@ -1,8 +1,8 @@ { - "Remove-AzMySqlFlexibleServerFirewallRule+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { + "Remove-AzMySqlFlexibleServerFirewallRule+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -76,10 +76,10 @@ "Content": "{\"name\":\"c9876e71-00f7-42b9-a772-660c5061b600\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T09:28:20.113Z\"}" } }, - "Remove-AzMySqlFlexibleServerFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { + "Remove-AzMySqlFlexibleServerFirewallRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -115,10 +115,10 @@ "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}" } }, - "Remove-AzMySqlFlexibleServerFirewallRule+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+4": { + "Remove-AzMySqlFlexibleServerFirewallRule+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "4" ], @@ -235,10 +235,10 @@ "Content": null } }, - "Remove-AzMySqlFlexibleServerFirewallRule+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { + "Remove-AzMySqlFlexibleServerFirewallRule+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -312,10 +312,10 @@ "Content": "{\"name\":\"db072919-e68c-46c6-aeba-c8363014728e\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T09:30:22.8Z\"}" } }, - "Remove-AzMySqlFlexibleServerFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { + "Remove-AzMySqlFlexibleServerFirewallRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -351,10 +351,10 @@ "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}" } }, - "Remove-AzMySqlFlexibleServerFirewallRule+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+4": { + "Remove-AzMySqlFlexibleServerFirewallRule+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "10" ], diff --git a/src/MySql/test/Remove-AzMySqlServer.Recording.json b/src/MySql/test/Remove-AzMySqlServer.Recording.json index 53f87dad616c..aef6560648a5 100644 --- a/src/MySql/test/Remove-AzMySqlServer.Recording.json +++ b/src/MySql/test/Remove-AzMySqlServer.Recording.json @@ -1,8 +1,8 @@ { - "Remove-AzMySqlServer+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-2?api-version=2017-12-01+1": { + "Remove-AzMySqlServer+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100-2?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-2?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100-2?api-version=2017-12-01", "Content": "{\n \"properties\": {\n \"createMode\": \"Default\",\n \"administratorLogin\": \"pwsh\",\n \"administratorLoginPassword\": \"Pa88word!\"\n },\n \"sku\": {\n \"name\": \"GP_Gen5_4\"\n },\n \"location\": \"eastus\"\n}", "Headers": { }, @@ -116,10 +116,10 @@ "Content": "{\"name\":\"151e2111-8c01-41f2-b1c4-10650c66ab6c\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:32:38.043Z\"}" } }, - "Remove-AzMySqlServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-2?api-version=2017-12-01+4": { + "Remove-AzMySqlServer+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100-2?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-2?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100-2?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1", "2", "3", "4" ], @@ -152,13 +152,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"pwsh\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T06:42:38.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBForMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"pwsh\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100-2.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T06:42:38.307+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100-2\",\"name\":\"mysql-test-100-2\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } }, - "Remove-AzMySqlServer+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-2?api-version=2017-12-01+5": { + "Remove-AzMySqlServer+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100-2?api-version=2017-12-01+5": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-2?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100-2?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "5" ], @@ -275,10 +275,10 @@ "Content": null } }, - "Remove-AzMySqlServer+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysqldelete?api-version=2017-12-01+1": { + "Remove-AzMySqlServer+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysqldelete?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysqldelete?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysqldelete?api-version=2017-12-01", "Content": "{\n \"properties\": {\n \"createMode\": \"Default\",\n \"administratorLogin\": \"pwsh\",\n \"administratorLoginPassword\": \"Pa88word!\"\n },\n \"sku\": {\n \"name\": \"GP_Gen5_4\"\n },\n \"location\": \"eastus\"\n}", "Headers": { }, @@ -392,10 +392,10 @@ "Content": "{\"name\":\"8185fd38-6088-4c65-8794-54b454afd13e\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:35:02.823Z\"}" } }, - "Remove-AzMySqlServer+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysqldelete?api-version=2017-12-01+4": { + "Remove-AzMySqlServer+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysqldelete?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysqldelete?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysqldelete?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "8", "9", "10", "11" ], @@ -428,13 +428,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"pwsh\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysqldelete.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T06:45:03.153+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysqldelete\",\"name\":\"mysqldelete\",\"type\":\"Microsoft.DBForMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"pwsh\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Enabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysqldelete.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T06:45:03.153+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysqldelete\",\"name\":\"mysqldelete\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } }, - "Remove-AzMySqlServer+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysqldelete?api-version=2017-12-01+5": { + "Remove-AzMySqlServer+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysqldelete?api-version=2017-12-01+5": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysqldelete?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysqldelete?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "12" ], diff --git a/src/MySql/test/Remove-AzMySqlVirtualNetworkRule.Recording.json b/src/MySql/test/Remove-AzMySqlVirtualNetworkRule.Recording.json index 83e97bbed231..233e4b5d6af9 100644 --- a/src/MySql/test/Remove-AzMySqlVirtualNetworkRule.Recording.json +++ b/src/MySql/test/Remove-AzMySqlVirtualNetworkRule.Recording.json @@ -1,9 +1,9 @@ { - "Remove-AzMySqlVirtualNetworkRule+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { + "Remove-AzMySqlVirtualNetworkRule+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\n }\n}", "Headers": { }, "ContentHeaders": { @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/9e644f70-57e5-4b70-9db2-db45be70fdcd?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/9e644f70-57e5-4b70-9db2-db45be70fdcd?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9e644f70-57e5-4b70-9db2-db45be70fdcd?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9e644f70-57e5-4b70-9db2-db45be70fdcd?api-version=2017-12-01" ], "x-ms-request-id": [ "9e644f70-57e5-4b70-9db2-db45be70fdcd" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T06:38:10.287Z\"}" } }, - "Remove-AzMySqlVirtualNetworkRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9e644f70-57e5-4b70-9db2-db45be70fdcd?api-version=2017-12-01+2": { + "Remove-AzMySqlVirtualNetworkRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9e644f70-57e5-4b70-9db2-db45be70fdcd?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9e644f70-57e5-4b70-9db2-db45be70fdcd?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/9e644f70-57e5-4b70-9db2-db45be70fdcd?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1", "2" ], @@ -76,10 +76,10 @@ "Content": "{\"name\":\"9e644f70-57e5-4b70-9db2-db45be70fdcd\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:38:10.287Z\"}" } }, - "Remove-AzMySqlVirtualNetworkRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+3": { + "Remove-AzMySqlVirtualNetworkRule+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1", "2", "3" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBForMySQL/servers/virtualNetworkRules\"}" + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBForMySQL/servers/virtualNetworkRules\"}" } }, - "Remove-AzMySqlVirtualNetworkRule+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+4": { + "Remove-AzMySqlVirtualNetworkRule+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "4" ], @@ -235,11 +235,11 @@ "Content": null } }, - "Remove-AzMySqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { + "Remove-AzMySqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\n }\n}", "Headers": { }, "ContentHeaders": { @@ -252,9 +252,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/008d17b6-eda7-4894-8595-97c3ab6fd9e5?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/008d17b6-eda7-4894-8595-97c3ab6fd9e5?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/008d17b6-eda7-4894-8595-97c3ab6fd9e5?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/008d17b6-eda7-4894-8595-97c3ab6fd9e5?api-version=2017-12-01" ], "x-ms-request-id": [ "008d17b6-eda7-4894-8595-97c3ab6fd9e5" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], @@ -272,10 +272,10 @@ "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T06:39:00.223Z\"}" } }, - "Remove-AzMySqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/008d17b6-eda7-4894-8595-97c3ab6fd9e5?api-version=2017-12-01+2": { + "Remove-AzMySqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/008d17b6-eda7-4894-8595-97c3ab6fd9e5?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/008d17b6-eda7-4894-8595-97c3ab6fd9e5?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/008d17b6-eda7-4894-8595-97c3ab6fd9e5?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "7", "8" ], @@ -312,10 +312,10 @@ "Content": "{\"name\":\"008d17b6-eda7-4894-8595-97c3ab6fd9e5\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T06:39:00.223Z\"}" } }, - "Remove-AzMySqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+3": { + "Remove-AzMySqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "7", "8", "9" ], @@ -348,13 +348,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBForMySQL/servers/virtualNetworkRules\"}" + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBForMySQL/servers/virtualNetworkRules\"}" } }, - "Remove-AzMySqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+4": { + "Remove-AzMySqlVirtualNetworkRule+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "10" ], diff --git a/src/MySql/test/Restart-AzMySqlFlexibleServer.Recording.json b/src/MySql/test/Restart-AzMySqlFlexibleServer.Recording.json index 02e0ad470f7d..0e32486c92d3 100644 --- a/src/MySql/test/Restart-AzMySqlFlexibleServer.Recording.json +++ b/src/MySql/test/Restart-AzMySqlFlexibleServer.Recording.json @@ -1,8 +1,8 @@ { - "Restart-AzMySqlFlexibleServer+[NoContext]+Restart+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/restart?api-version=2020-07-01-preview+1": { + "Restart-AzMySqlFlexibleServer+[NoContext]+Restart+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/restart?api-version=2020-07-01-preview+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/restart?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/restart?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "1" ], @@ -160,10 +160,10 @@ "Content": "{\"name\":\"mysql-flexible-test-100\",\"type\":\"MySQL\"}" } }, - "Restart-AzMySqlFlexibleServer+[NoContext]+RestartViaIdentity+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/restart?api-version=2020-07-01-preview+1": { + "Restart-AzMySqlFlexibleServer+[NoContext]+RestartViaIdentity+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/restart?api-version=2020-07-01-preview+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/restart?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/restart?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "5" ], diff --git a/src/MySql/test/Restart-AzMySqlServer.Recording.json b/src/MySql/test/Restart-AzMySqlServer.Recording.json index ae0d4b601f16..67f11271e3c9 100644 --- a/src/MySql/test/Restart-AzMySqlServer.Recording.json +++ b/src/MySql/test/Restart-AzMySqlServer.Recording.json @@ -1,8 +1,8 @@ { - "Restart-AzMySqlServer+[NoContext]+Restart+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/restart?api-version=2017-12-01+1": { + "Restart-AzMySqlServer+[NoContext]+Restart+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/restart?api-version=2017-12-01+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/restart?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/restart?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1" ], @@ -239,10 +239,10 @@ "Content": null } }, - "Restart-AzMySqlServer+[NoContext]+RestartViaIdentity+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/restart?api-version=2017-12-01+1": { + "Restart-AzMySqlServer+[NoContext]+RestartViaIdentity+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/restart?api-version=2017-12-01+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/restart?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/restart?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "7" ], diff --git a/src/MySql/test/Restore-AzMySqlFlexibleServer.Recording.json b/src/MySql/test/Restore-AzMySqlFlexibleServer.Recording.json index 508b8c988546..3ed48b09de15 100644 --- a/src/MySql/test/Restore-AzMySqlFlexibleServer.Recording.json +++ b/src/MySql/test/Restore-AzMySqlFlexibleServer.Recording.json @@ -1,8 +1,8 @@ { - "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview+1": { + "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "1" ], @@ -35,14 +35,14 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":13,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-flexible-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\"name\":\"mysql-flexible-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":13,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-flexible-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\"name\":\"mysql-flexible-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } }, - "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-restore?api-version=2020-07-01-preview+2": { + "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-restore?api-version=2020-07-01-preview+2": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-restore?api-version=2020-07-01-preview", - "Content": "{\r\n \"location\": \"West US 2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\"\r\n },\r\n \"properties\": {\r\n \"sourceServerId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\r\n \"restorePointInTime\": \"2020-11-11T22:22:36.1235805-08:00\",\r\n \"createMode\": \"PointInTimeRestore\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-restore?api-version=2020-07-01-preview", + "Content": "{\r\n \"location\": \"West US 2\",\r\n \"sku\": {\r\n \"name\": \"Standard_B1ms\"\r\n },\r\n \"properties\": {\r\n \"sourceServerId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\r\n \"restorePointInTime\": \"2020-11-11T22:22:36.1235805-08:00\",\r\n \"createMode\": \"PointInTimeRestore\"\r\n }\r\n}", "Headers": { }, "ContentHeaders": { @@ -795,10 +795,10 @@ "Content": "{\"name\":\"115199eb-e3bb-41d3-bd52-c3062c8bf172\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-12T06:32:36.307Z\"}" } }, - "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-restore?api-version=2020-07-01-preview+21": { + "Restore-AzMySqlFlexibleServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-restore?api-version=2020-07-01-preview+21": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-restore?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-test-100-restore?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -831,7 +831,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":13,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-restore.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-12T06:47:41.5737856+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-restore\",\"name\":\"mysql-test-100-restore\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":13,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-test-100-restore.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-12T06:47:41.5737856+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-test-100-restore\",\"name\":\"mysql-test-100-restore\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } } } \ No newline at end of file diff --git a/src/MySql/test/Restore-AzMySqlServer.Recording.json b/src/MySql/test/Restore-AzMySqlServer.Recording.json index b389a3b689e5..a184101d0a1b 100644 --- a/src/MySql/test/Restore-AzMySqlServer.Recording.json +++ b/src/MySql/test/Restore-AzMySqlServer.Recording.json @@ -1,8 +1,8 @@ { - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1" ], @@ -35,14 +35,14 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+2": { + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+2": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"createMode\": \"Replica\",\n \"sourceServerId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\"\n },\n \"location\": \"eastus\"\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"createMode\": \"Replica\",\n \"sourceServerId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100\"\n },\n \"location\": \"eastus\"\n}", "Headers": { }, "ContentHeaders": { @@ -795,10 +795,10 @@ "Content": "{\"name\":\"d2e05dac-052c-4b23-a050-142294b6ed7a\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T08:17:20.127Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+21": { + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01+21": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21" ], @@ -831,14 +831,14 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100-replica.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T08:28:33.737+00:00\",\"replicationRole\":\"Replica\",\"masterServerId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica\",\"name\":\"mysql-test-100-replica\",\"type\":\"Microsoft.DBForMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Enabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100-replica.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T08:28:33.737+00:00\",\"replicationRole\":\"Replica\",\"masterServerId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"replicaCapacity\":0,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica\",\"name\":\"mysql-test-100-replica\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+22": { + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+22": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"createMode\": \"GeoRestore\",\n \"sourceServerId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica\"\n },\n \"location\": \"eastus\"\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"createMode\": \"GeoRestore\",\n \"sourceServerId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100-replica\"\n },\n \"location\": \"eastus\"\n}", "Headers": { }, "ContentHeaders": { @@ -908,14 +908,14 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } }, - "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+24": { + "Restore-AzMySqlServer+[NoContext]+GeoRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+24": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "22", "23", "24" ], @@ -948,13 +948,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "25" ], @@ -987,14 +987,14 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-restore-2?api-version=2017-12-01+2": { + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100-restore-2?api-version=2017-12-01+2": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-restore-2?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"createMode\": \"PointInTimeRestore\",\n \"restorePointInTime\": \"2020-07-24T08:16:43.7672952+00:00\",\n \"sourceServerId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\"\n },\n \"location\": \"eastus\"\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100-restore-2?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"createMode\": \"PointInTimeRestore\",\n \"restorePointInTime\": \"2020-07-24T08:16:43.7672952+00:00\",\n \"sourceServerId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100\"\n },\n \"location\": \"eastus\"\n}", "Headers": { }, "ContentHeaders": { @@ -2147,10 +2147,10 @@ "Content": "{\"name\":\"9d76273c-1381-4238-9c08-650cf41d34b8\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T08:26:51.053Z\"}" } }, - "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-restore-2?api-version=2017-12-01+31": { + "Restore-AzMySqlServer+[NoContext]+PointInTimeRestore+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100-restore-2?api-version=2017-12-01+31": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-restore-2?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100-restore-2?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55" ], @@ -2183,7 +2183,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100-restore-2.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T08:36:51.303+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100-restore-2\",\"name\":\"mysql-test-100-restore-2\",\"type\":\"Microsoft.DBForMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100-restore-2.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T08:36:51.303+00:00\",\"replicationRole\":\"None\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100-restore-2\",\"name\":\"mysql-test-100-restore-2\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } } } \ No newline at end of file diff --git a/src/MySql/test/Start-AzMySqlFlexibleServer.Recording.json b/src/MySql/test/Start-AzMySqlFlexibleServer.Recording.json index 9c01ef12220b..f2d4b3dc2f77 100644 --- a/src/MySql/test/Start-AzMySqlFlexibleServer.Recording.json +++ b/src/MySql/test/Start-AzMySqlFlexibleServer.Recording.json @@ -1,8 +1,8 @@ { - "Start-AzMySqlFlexibleServer+[NoContext]+Start+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/stop?api-version=2020-07-01-preview+1": { + "Start-AzMySqlFlexibleServer+[NoContext]+Start+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/stop?api-version=2020-07-01-preview+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/stop?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/stop?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "1" ], @@ -200,10 +200,10 @@ "Content": "{\"name\":\"mysql-flexible-test-100\",\"type\":\"MySQL\"}" } }, - "Start-AzMySqlFlexibleServer+[NoContext]+Start+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/start?api-version=2020-07-01-preview+6": { + "Start-AzMySqlFlexibleServer+[NoContext]+Start+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/start?api-version=2020-07-01-preview+6": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/start?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/start?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "6" ], @@ -361,10 +361,10 @@ "Content": "{\"name\":\"mysql-flexible-test-100\",\"type\":\"MySQL\"}" } }, - "Start-AzMySqlFlexibleServer+[NoContext]+StartViaIdentity+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/stop?api-version=2020-07-01-preview+1": { + "Start-AzMySqlFlexibleServer+[NoContext]+StartViaIdentity+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/stop?api-version=2020-07-01-preview+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/stop?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/stop?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "10" ], @@ -602,10 +602,10 @@ "Content": "{\"name\":\"mysql-flexible-test-100\",\"type\":\"MySQL\"}" } }, - "Start-AzMySqlFlexibleServer+[NoContext]+StartViaIdentity+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/start?api-version=2020-07-01-preview+7": { + "Start-AzMySqlFlexibleServer+[NoContext]+StartViaIdentity+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/start?api-version=2020-07-01-preview+7": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/start?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/start?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "16" ], diff --git a/src/MySql/test/Stop-AzMySqlFlexibleServer.Recording.json b/src/MySql/test/Stop-AzMySqlFlexibleServer.Recording.json index 23871ac312c4..b228eb0de1a1 100644 --- a/src/MySql/test/Stop-AzMySqlFlexibleServer.Recording.json +++ b/src/MySql/test/Stop-AzMySqlFlexibleServer.Recording.json @@ -1,8 +1,8 @@ { - "Stop-AzMySqlFlexibleServer+[NoContext]+Stop+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/stop?api-version=2020-07-01-preview+1": { + "Stop-AzMySqlFlexibleServer+[NoContext]+Stop+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/stop?api-version=2020-07-01-preview+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/stop?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/stop?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "1" ], @@ -200,10 +200,10 @@ "Content": "{\"name\":\"mysql-flexible-test-100\",\"type\":\"MySQL\"}" } }, - "Stop-AzMySqlFlexibleServer+[NoContext]+Stop+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/start?api-version=2020-07-01-preview+6": { + "Stop-AzMySqlFlexibleServer+[NoContext]+Stop+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/start?api-version=2020-07-01-preview+6": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/start?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/start?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "6" ], @@ -321,10 +321,10 @@ "Content": "{\"name\":\"mysql-flexible-test-100\",\"type\":\"MySQL\"}" } }, - "Stop-AzMySqlFlexibleServer+[NoContext]+StopViaIdentity+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/stop?api-version=2020-07-01-preview+1": { + "Stop-AzMySqlFlexibleServer+[NoContext]+StopViaIdentity+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/stop?api-version=2020-07-01-preview+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/stop?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/stop?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "9" ], @@ -522,10 +522,10 @@ "Content": "{\"name\":\"mysql-flexible-test-100\",\"type\":\"MySQL\"}" } }, - "Stop-AzMySqlFlexibleServer+[NoContext]+StopViaIdentity+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/start?api-version=2020-07-01-preview+6": { + "Stop-AzMySqlFlexibleServer+[NoContext]+StopViaIdentity+$POST+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/start?api-version=2020-07-01-preview+6": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/start?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/start?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "6" ], diff --git a/src/MySql/test/Update-AzMySqlConfiguration.Recording.json b/src/MySql/test/Update-AzMySqlConfiguration.Recording.json index f9728a6f7d18..640573803d89 100644 --- a/src/MySql/test/Update-AzMySqlConfiguration.Recording.json +++ b/src/MySql/test/Update-AzMySqlConfiguration.Recording.json @@ -1,8 +1,8 @@ { - "Update-AzMySqlConfiguration+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/net_retry_count?api-version=2017-12-01+1": { + "Update-AzMySqlConfiguration+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/net_retry_count?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/net_retry_count?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/net_retry_count?api-version=2017-12-01", "Content": "{\n \"properties\": {\n \"value\": \"15\"\n }\n}", "Headers": { }, @@ -76,10 +76,10 @@ "Content": "{\"name\":\"12d527f8-26da-4367-af99-9420131c5e00\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T08:03:18.063Z\"}" } }, - "Update-AzMySqlConfiguration+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/net_retry_count?api-version=2017-12-01+3": { + "Update-AzMySqlConfiguration+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/net_retry_count?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/net_retry_count?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/net_retry_count?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1", "2", "3" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"value\":\"15\",\"description\":\"If a read or write on a communication port is interrupted, retry this many times before giving up.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/net_retry_count\",\"name\":\"net_retry_count\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"}" + "Content": "{\"properties\":{\"value\":\"15\",\"description\":\"If a read or write on a communication port is interrupted, retry this many times before giving up.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/net_retry_count\",\"name\":\"net_retry_count\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"}" } }, - "Update-AzMySqlConfiguration+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/wait_timeout?api-version=2017-12-01+1": { + "Update-AzMySqlConfiguration+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/wait_timeout?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/wait_timeout?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/wait_timeout?api-version=2017-12-01", "Content": "{\n \"properties\": {\n \"value\": \"150\"\n }\n}", "Headers": { }, @@ -192,10 +192,10 @@ "Content": "{\"name\":\"843d746e-2b2d-4130-ab79-dfdf85d1ec6a\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T08:03:35.11Z\"}" } }, - "Update-AzMySqlConfiguration+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/wait_timeout?api-version=2017-12-01+3": { + "Update-AzMySqlConfiguration+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/wait_timeout?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/wait_timeout?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/wait_timeout?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "4", "5", "6" ], @@ -228,7 +228,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"value\":\"150\",\"description\":\"The number of seconds the server waits for activity on a noninteractive connection before closing it.\",\"defaultValue\":\"120\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/wait_timeout\",\"name\":\"wait_timeout\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"}" + "Content": "{\"properties\":{\"value\":\"150\",\"description\":\"The number of seconds the server waits for activity on a noninteractive connection before closing it.\",\"defaultValue\":\"120\",\"dataType\":\"Integer\",\"allowedValues\":\"1-2147483\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"False\",\"isDynamicConfig\":\"True\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/configurations/wait_timeout\",\"name\":\"wait_timeout\",\"type\":\"Microsoft.DBForMySQL/servers/configurations\"}" } } } \ No newline at end of file diff --git a/src/MySql/test/Update-AzMySqlFirewallRule.Recording.json b/src/MySql/test/Update-AzMySqlFirewallRule.Recording.json index 13f6b85e979e..499fe160803b 100644 --- a/src/MySql/test/Update-AzMySqlFirewallRule.Recording.json +++ b/src/MySql/test/Update-AzMySqlFirewallRule.Recording.json @@ -1,8 +1,8 @@ { - "Update-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { + "Update-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": "{\n \"properties\": {\n \"endIpAddress\": \"0.0.0.1\",\n \"startIpAddress\": \"0.0.0.0\"\n }\n}", "Headers": { }, @@ -76,10 +76,10 @@ "Content": "{\"name\":\"8e22193e-3d9c-4e45-bf1d-61bd3b5e29d8\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:10:12.05Z\"}" } }, - "Update-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { + "Update-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1", "2", "3" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBForMySQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBForMySQL/servers/firewallRules\"}" } }, - "Update-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+4": { + "Update-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+4": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": "{\n \"properties\": {\n \"endIpAddress\": \"0.0.0.2\",\n \"startIpAddress\": \"0.0.0.2\"\n }\n}", "Headers": { }, @@ -192,10 +192,10 @@ "Content": "{\"name\":\"e5917bef-26e5-48bd-a3d4-ccfd236ebb4b\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:10:29.63Z\"}" } }, - "Update-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+6": { + "Update-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "4", "5", "6" ], @@ -228,13 +228,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.2\",\"endIpAddress\":\"0.0.0.2\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBForMySQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.2\",\"endIpAddress\":\"0.0.0.2\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBForMySQL/servers/firewallRules\"}" } }, - "Update-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+7": { + "Update-AzMySqlFirewallRule+[NoContext]+ClientIPAddress+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+7": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "7" ], @@ -351,10 +351,10 @@ "Content": null } }, - "Update-AzMySqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { + "Update-AzMySqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": "{\n \"properties\": {\n \"endIpAddress\": \"0.0.0.1\",\n \"startIpAddress\": \"0.0.0.0\"\n }\n}", "Headers": { }, @@ -428,10 +428,10 @@ "Content": "{\"name\":\"2ad7e857-dd21-4321-935f-cf1966d0c230\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:11:04.723Z\"}" } }, - "Update-AzMySqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { + "Update-AzMySqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "10", "11", "12" ], @@ -464,13 +464,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBForMySQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBForMySQL/servers/firewallRules\"}" } }, - "Update-AzMySqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+4": { + "Update-AzMySqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+4": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": "{\n \"properties\": {\n \"endIpAddress\": \"0.0.0.3\",\n \"startIpAddress\": \"0.0.0.2\"\n }\n}", "Headers": { }, @@ -544,10 +544,10 @@ "Content": "{\"name\":\"50b53200-9ac0-4795-9a50-fec3a74287c7\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:11:22.347Z\"}" } }, - "Update-AzMySqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+6": { + "Update-AzMySqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "13", "14", "15" ], @@ -580,13 +580,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.2\",\"endIpAddress\":\"0.0.0.3\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBForMySQL/servers/firewallRules\"}" + "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.2\",\"endIpAddress\":\"0.0.0.3\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01\",\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBForMySQL/servers/firewallRules\"}" } }, - "Update-AzMySqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+7": { + "Update-AzMySqlFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01+7": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/firewallRules/mysqlrule01?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "16" ], diff --git a/src/MySql/test/Update-AzMySqlFlexibleServer.Recording.json b/src/MySql/test/Update-AzMySqlFlexibleServer.Recording.json index 4afec1e5600a..9417f0a830ca 100644 --- a/src/MySql/test/Update-AzMySqlFlexibleServer.Recording.json +++ b/src/MySql/test/Update-AzMySqlFlexibleServer.Recording.json @@ -1,8 +1,8 @@ { - "Update-AzMySqlFlexibleServer+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview+1": { + "Update-AzMySqlFlexibleServer+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview+1": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview", "Content": "{\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 12\r\n }\r\n }\r\n}", "Headers": { }, @@ -76,10 +76,10 @@ "Content": "{\"name\":\"9d9b1caf-9e73-4135-a4a6-2965ea2d6888\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T20:35:01.193Z\"}" } }, - "Update-AzMySqlFlexibleServer+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview+3": { + "Update-AzMySqlFlexibleServer+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":12,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-flexible-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\"name\":\"mysql-flexible-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":12,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-flexible-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\"name\":\"mysql-flexible-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } }, - "Update-AzMySqlFlexibleServer+[NoContext]+UpdateViaIdentityExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview+1": { + "Update-AzMySqlFlexibleServer+[NoContext]+UpdateViaIdentityExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview+1": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview", "Content": "{\r\n \"properties\": {\r\n \"storageProfile\": {\r\n \"backupRetentionDays\": 13\r\n }\r\n }\r\n}", "Headers": { }, @@ -192,10 +192,10 @@ "Content": "{\"name\":\"8138b975-7745-4fb6-a775-faa1d8fc95ed\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-11T20:36:02.39Z\"}" } }, - "Update-AzMySqlFlexibleServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview+3": { + "Update-AzMySqlFlexibleServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -228,7 +228,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":13,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-flexible-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\"name\":\"mysql-flexible-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" + "Content": "{\"sku\":{\"name\":\"Standard_B1ms\",\"tier\":\"Burstable\",\"capacity\":0},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":10240,\"storageIops\":0,\"backupRetentionDays\":13,\"storageAutogrow\":\"Disabled\",\"fileStorageSkuName\":\"Premium_LRS\"},\"version\":\"5.7\",\"state\":\"Ready\",\"haState\":\"NotEnabled\",\"fullyQualifiedDomainName\":\"mysql-flexible-test-100.mysql.database.azure.com\",\"sourceServerId\":\"\",\"publicNetworkAccess\":\"Enabled\",\"sslEnforcement\":\"Disabled\",\"haEnabled\":\"Disabled\",\"earliestRestoreDate\":\"2020-11-11T01:19:49.1443505+00:00\",\"maintenanceWindow\":{\"customWindow\":\"Disabled\",\"dayOfWeek\":0,\"startHour\":0,\"startMinute\":0},\"replicationRole\":\"None\",\"replicaCapacity\":10,\"byokEnforcement\":\"Disabled\"},\"location\":\"West US 2\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100\",\"name\":\"mysql-flexible-test-100\",\"type\":\"Microsoft.DBforMySQL/flexibleServers\"}" } } } \ No newline at end of file diff --git a/src/MySql/test/Update-AzMySqlFlexibleServerConfiguration.Recording.json b/src/MySql/test/Update-AzMySqlFlexibleServerConfiguration.Recording.json index 321f64aac390..cf8ee35f1070 100644 --- a/src/MySql/test/Update-AzMySqlFlexibleServerConfiguration.Recording.json +++ b/src/MySql/test/Update-AzMySqlFlexibleServerConfiguration.Recording.json @@ -1,8 +1,8 @@ { - "Update-AzMySqlFlexibleServerConfiguration+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/configurations/net_retry_count?api-version=2020-07-01-preview+1": { + "Update-AzMySqlFlexibleServerConfiguration+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/configurations/net_retry_count?api-version=2020-07-01-preview+1": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/configurations/net_retry_count?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/configurations/net_retry_count?api-version=2020-07-01-preview", "Content": "{\r\n \"properties\": {\r\n \"value\": \"15\",\r\n \"source\": \"user-override\"\r\n }\r\n}", "Headers": { }, @@ -76,10 +76,10 @@ "Content": "{\"name\":\"c2c8fea9-861e-4a2a-93a9-32bfe2c50359\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T22:20:08.817Z\"}" } }, - "Update-AzMySqlFlexibleServerConfiguration+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/configurations/net_retry_count?api-version=2020-07-01-preview+3": { + "Update-AzMySqlFlexibleServerConfiguration+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/configurations/net_retry_count?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/configurations/net_retry_count?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/configurations/net_retry_count?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"value\":\"15\",\"description\":\"If a read or write on a communication port is interrupted, retry this many times before giving up.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/net_retry_count\",\"name\":\"net_retry_count\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"}" + "Content": "{\"properties\":{\"value\":\"15\",\"description\":\"If a read or write on a communication port is interrupted, retry this many times before giving up.\",\"defaultValue\":\"10\",\"dataType\":\"Integer\",\"allowedValues\":\"1-4294967295\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/net_retry_count\",\"name\":\"net_retry_count\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"}" } }, - "Update-AzMySqlFlexibleServerConfiguration+[NoContext]+UpdateViaIdentityExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/configurations/wait_timeout?api-version=2020-07-01-preview+1": { + "Update-AzMySqlFlexibleServerConfiguration+[NoContext]+UpdateViaIdentityExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/configurations/wait_timeout?api-version=2020-07-01-preview+1": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/configurations/wait_timeout?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/configurations/wait_timeout?api-version=2020-07-01-preview", "Content": "{\r\n \"properties\": {\r\n \"value\": \"150\",\r\n \"source\": \"user-override\"\r\n }\r\n}", "Headers": { }, @@ -192,10 +192,10 @@ "Content": "{\"name\":\"17658c10-7926-4252-af2b-a6705e16a61d\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T22:20:24.987Z\"}" } }, - "Update-AzMySqlFlexibleServerConfiguration+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/configurations/wait_timeout?api-version=2020-07-01-preview+3": { + "Update-AzMySqlFlexibleServerConfiguration+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/configurations/wait_timeout?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/configurations/wait_timeout?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/configurations/wait_timeout?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -228,7 +228,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"value\":\"150\",\"description\":\"The number of seconds the server waits for activity on a noninteractive connection before closing it.\",\"defaultValue\":\"28800\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/wait_timeout\",\"name\":\"wait_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"}" + "Content": "{\"properties\":{\"value\":\"150\",\"description\":\"The number of seconds the server waits for activity on a noninteractive connection before closing it.\",\"defaultValue\":\"28800\",\"dataType\":\"Integer\",\"allowedValues\":\"1-31536000\",\"source\":\"user-override\",\"isConfigPendingRestart\":\"True\",\"isDynamicConfig\":\"True\",\"isReadOnly\":\"False\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/configurations/wait_timeout\",\"name\":\"wait_timeout\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/configurations\"}" } } } \ No newline at end of file diff --git a/src/MySql/test/Update-AzMySqlFlexibleServerDatabase.Recording.json b/src/MySql/test/Update-AzMySqlFlexibleServerDatabase.Recording.json index cd360594bcfc..3eb510e08cb1 100644 --- a/src/MySql/test/Update-AzMySqlFlexibleServerDatabase.Recording.json +++ b/src/MySql/test/Update-AzMySqlFlexibleServerDatabase.Recording.json @@ -1,8 +1,8 @@ { - "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+1": { + "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", "Content": "{\r\n \"properties\": {\r\n \"charset\": \"latin1\"\r\n }\r\n}", "Headers": { }, @@ -76,10 +76,10 @@ "Content": "{\"name\":\"3de3b321-423d-4c95-a378-650e50329f94\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T22:05:43.777Z\"}" } }, - "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+3": { + "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" + "Content": "{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" } }, - "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+4": { + "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+4": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", "Content": "{\r\n \"properties\": {\r\n \"charset\": \"latin1\"\r\n }\r\n}", "Headers": { }, @@ -192,10 +192,10 @@ "Content": "{\"name\":\"5bbcdeb3-0e9a-47a2-8352-0c41f0e89497\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T22:05:59.623Z\"}" } }, - "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+6": { + "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -228,13 +228,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" + "Content": "{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" } }, - "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+1": { + "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", "Content": "{\r\n \"properties\": {\r\n \"charset\": \"latin1\"\r\n }\r\n}", "Headers": { }, @@ -308,10 +308,10 @@ "Content": "{\"name\":\"7ddc2bd0-8517-4716-9c2f-a95d5e868312\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T22:06:15.67Z\"}" } }, - "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+3": { + "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -344,13 +344,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" + "Content": "{\"properties\":{\"charset\":\"latin1\",\"collation\":\"latin1_swedish_ci\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" } }, - "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateViaIdentityExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+4": { + "Update-AzMySqlFlexibleServerDatabase+[NoContext]+UpdateViaIdentityExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview+4": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/databases/mysqldb?api-version=2020-07-01-preview", "Content": null, "Headers": { "x-ms-unique-id": [ "37" ], @@ -465,7 +465,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" + "Content": "{\"properties\":{},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBforMySQL/flexibleServers/mysql-flexible-test-100/databases/mysqldb\",\"name\":\"mysqldb\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/databases\"}" } } } \ No newline at end of file diff --git a/src/MySql/test/Update-AzMySqlFlexibleServerFirewallRule.Recording.json b/src/MySql/test/Update-AzMySqlFlexibleServerFirewallRule.Recording.json index 206bf379c1ee..ec09a4050c95 100644 --- a/src/MySql/test/Update-AzMySqlFlexibleServerFirewallRule.Recording.json +++ b/src/MySql/test/Update-AzMySqlFlexibleServerFirewallRule.Recording.json @@ -1,8 +1,8 @@ { - "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { + "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"0.0.0.1\"\r\n }\r\n}", "Headers": { }, @@ -76,10 +76,10 @@ "Content": "{\"name\":\"81845aae-a3cc-4718-811b-e582aa0d9bad\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T09:04:27.96Z\"}" } }, - "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { + "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -115,10 +115,10 @@ "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.0\",\"endIpAddress\":\"0.0.0.1\"},\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}" } }, - "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+4": { + "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+4": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.2\",\r\n \"endIpAddress\": \"0.0.0.3\"\r\n }\r\n}", "Headers": { }, @@ -192,10 +192,10 @@ "Content": "{\"name\":\"9eb03ca4-1e3a-47b4-8ba7-9926e93b32ab\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T09:05:29.207Z\"}" } }, - "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+6": { + "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -231,10 +231,10 @@ "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.2\",\"endIpAddress\":\"0.0.0.3\"},\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}" } }, - "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { + "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.2\",\r\n \"endIpAddress\": \"0.0.0.2\"\r\n }\r\n}", "Headers": { }, @@ -308,10 +308,10 @@ "Content": "{\"name\":\"e10feaa3-578f-4e7d-af3c-9b04961d387a\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T09:06:30.02Z\"}" } }, - "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { + "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddress+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -347,10 +347,10 @@ "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.2\",\"endIpAddress\":\"0.0.0.2\"},\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}" } }, - "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { + "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.4\",\r\n \"endIpAddress\": \"0.0.0.5\"\r\n }\r\n}", "Headers": { }, @@ -424,10 +424,10 @@ "Content": "{\"name\":\"86ce3bad-3990-41f6-8f5c-df8d17a0c7ca\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T09:07:31.163Z\"}" } }, - "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { + "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], @@ -463,10 +463,10 @@ "Content": "{\"properties\":{\"startIpAddress\":\"0.0.0.4\",\"endIpAddress\":\"0.0.0.5\"},\"name\":\"mysqlrule01\",\"type\":\"Microsoft.DBforMySQL/flexibleServers/firewallRules\"}" } }, - "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddressViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { + "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddressViaIdentity+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.9\",\r\n \"endIpAddress\": \"0.0.0.9\"\r\n }\r\n}", "Headers": { }, @@ -540,10 +540,10 @@ "Content": "{\"name\":\"06304514-0e03-4375-8437-d2622a29d571\",\"status\":\"Succeeded\",\"startTime\":\"2020-11-10T09:09:01.047Z\"}" } }, - "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddressViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { + "Update-AzMySqlFlexibleServerFirewallRule+[NoContext]+ClientIPAddressViaIdentity+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySql/flexibleServers/mysql-flexible-test-100/firewallRules/mysqlrule01?api-version=2020-07-01-preview", "Content": null, "Headers": { "Authorization": [ "[Filtered]" ], diff --git a/src/MySql/test/Update-AzMySqlServer.Recording.json b/src/MySql/test/Update-AzMySqlServer.Recording.json index ea85080801b6..07acb3ff6513 100644 --- a/src/MySql/test/Update-AzMySqlServer.Recording.json +++ b/src/MySql/test/Update-AzMySqlServer.Recording.json @@ -1,8 +1,8 @@ { - "Update-AzMySqlServer+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { + "Update-AzMySqlServer+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": "{\n \"properties\": {\n \"sslEnforcement\": \"Disabled\"\n }\n}", "Headers": { }, @@ -76,10 +76,10 @@ "Content": "{\"name\":\"c235c4a7-107f-4565-9b27-6860f50cc315\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:21:57.153Z\"}" } }, - "Update-AzMySqlServer+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+3": { + "Update-AzMySqlServer+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1", "2", "3" ], @@ -112,13 +112,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } }, - "Update-AzMySqlServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { + "Update-AzMySqlServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "4" ], @@ -151,13 +151,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":7,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } }, - "Update-AzMySqlServer+[NoContext]+UpdateViaIdentityExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+2": { + "Update-AzMySqlServer+[NoContext]+UpdateViaIdentityExpanded+$PATCH+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+2": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": "{\n \"properties\": {\n \"storageProfile\": {\n \"backupRetentionDays\": 23\n }\n }\n}", "Headers": { }, @@ -231,10 +231,10 @@ "Content": "{\"name\":\"764ecc56-a76f-47d1-bc51-0ab7fc8c90c2\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:23:01.107Z\"}" } }, - "Update-AzMySqlServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+4": { + "Update-AzMySqlServer+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "5", "6", "7" ], @@ -267,7 +267,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" + "Content": "{\"sku\":{\"name\":\"GP_Gen5_4\",\"tier\":\"GeneralPurpose\",\"family\":\"Gen5\",\"capacity\":4},\"properties\":{\"administratorLogin\":\"mysql_test\",\"storageProfile\":{\"storageMB\":5120,\"backupRetentionDays\":23,\"geoRedundantBackup\":\"Disabled\",\"storageAutogrow\":\"Disabled\"},\"version\":\"5.7\",\"sslEnforcement\":\"Disabled\",\"minimalTlsVersion\":\"TLSEnforcementDisabled\",\"userVisibleState\":\"Ready\",\"fullyQualifiedDomainName\":\"mysql-test-100.mysql.database.azure.com\",\"earliestRestoreDate\":\"2020-07-24T03:52:43.253+00:00\",\"replicationRole\":\"Master\",\"masterServerId\":\"\",\"replicaCapacity\":5,\"byokEnforcement\":\"Disabled\",\"privateEndpointConnections\":[],\"infrastructureEncryption\":\"Disabled\",\"publicNetworkAccess\":\"Enabled\"},\"location\":\"eastus\",\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100\",\"name\":\"mysql-test-100\",\"type\":\"Microsoft.DBForMySQL/servers\"}" } } } \ No newline at end of file diff --git a/src/MySql/test/Update-AzMySqlVirtualNetworkRule.Recording.json b/src/MySql/test/Update-AzMySqlVirtualNetworkRule.Recording.json index 6e8b67da184e..15ed53111d5a 100644 --- a/src/MySql/test/Update-AzMySqlVirtualNetworkRule.Recording.json +++ b/src/MySql/test/Update-AzMySqlVirtualNetworkRule.Recording.json @@ -1,9 +1,9 @@ { - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\n }\n}", "Headers": { }, "ContentHeaders": { @@ -16,9 +16,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/630106f5-1b26-4eda-a58c-cbaf968992b2?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/630106f5-1b26-4eda-a58c-cbaf968992b2?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/630106f5-1b26-4eda-a58c-cbaf968992b2?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/630106f5-1b26-4eda-a58c-cbaf968992b2?api-version=2017-12-01" ], "x-ms-request-id": [ "630106f5-1b26-4eda-a58c-cbaf968992b2" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], @@ -36,10 +36,10 @@ "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T07:27:21.587Z\"}" } }, - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/630106f5-1b26-4eda-a58c-cbaf968992b2?api-version=2017-12-01+2": { + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/630106f5-1b26-4eda-a58c-cbaf968992b2?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/630106f5-1b26-4eda-a58c-cbaf968992b2?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/630106f5-1b26-4eda-a58c-cbaf968992b2?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1", "2" ], @@ -76,10 +76,10 @@ "Content": "{\"name\":\"630106f5-1b26-4eda-a58c-cbaf968992b2\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:27:21.587Z\"}" } }, - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+3": { + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "1", "2", "3" ], @@ -112,14 +112,14 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBForMySQL/servers/virtualNetworkRules\"}" + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBForMySQL/servers/virtualNetworkRules\"}" } }, - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+4": { + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+4": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet2\"\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet2\"\n }\n}", "Headers": { }, "ContentHeaders": { @@ -132,9 +132,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/4643d496-aa9a-4edc-b014-679e5e1aeae4?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/4643d496-aa9a-4edc-b014-679e5e1aeae4?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/4643d496-aa9a-4edc-b014-679e5e1aeae4?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/4643d496-aa9a-4edc-b014-679e5e1aeae4?api-version=2017-12-01" ], "x-ms-request-id": [ "4643d496-aa9a-4edc-b014-679e5e1aeae4" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], @@ -152,10 +152,10 @@ "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T07:27:54.073Z\"}" } }, - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/4643d496-aa9a-4edc-b014-679e5e1aeae4?api-version=2017-12-01+5": { + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/4643d496-aa9a-4edc-b014-679e5e1aeae4?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/4643d496-aa9a-4edc-b014-679e5e1aeae4?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/4643d496-aa9a-4edc-b014-679e5e1aeae4?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "4", "5" ], @@ -192,10 +192,10 @@ "Content": "{\"name\":\"4643d496-aa9a-4edc-b014-679e5e1aeae4\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:27:54.073Z\"}" } }, - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+6": { + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "4", "5", "6" ], @@ -228,13 +228,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet2\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBForMySQL/servers/virtualNetworkRules\"}" + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet2\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBForMySQL/servers/virtualNetworkRules\"}" } }, - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+7": { + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+7": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "7" ], @@ -351,11 +351,11 @@ "Content": null } }, - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\"\n }\n}", "Headers": { }, "ContentHeaders": { @@ -368,9 +368,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/d1087740-15b7-4fbe-bd3b-cd12fb123e2d?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/d1087740-15b7-4fbe-bd3b-cd12fb123e2d?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d1087740-15b7-4fbe-bd3b-cd12fb123e2d?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d1087740-15b7-4fbe-bd3b-cd12fb123e2d?api-version=2017-12-01" ], "x-ms-request-id": [ "d1087740-15b7-4fbe-bd3b-cd12fb123e2d" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1194" ], @@ -388,10 +388,10 @@ "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T07:28:43.823Z\"}" } }, - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d1087740-15b7-4fbe-bd3b-cd12fb123e2d?api-version=2017-12-01+2": { + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d1087740-15b7-4fbe-bd3b-cd12fb123e2d?api-version=2017-12-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d1087740-15b7-4fbe-bd3b-cd12fb123e2d?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/d1087740-15b7-4fbe-bd3b-cd12fb123e2d?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "10", "11" ], @@ -428,10 +428,10 @@ "Content": "{\"name\":\"d1087740-15b7-4fbe-bd3b-cd12fb123e2d\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:28:43.823Z\"}" } }, - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+3": { + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "10", "11", "12" ], @@ -464,14 +464,14 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBForMySQL/servers/virtualNetworkRules\"}" + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet1\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBForMySQL/servers/virtualNetworkRules\"}" } }, - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+4": { + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$PUT+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+4": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", - "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet2\"\n }\n}", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "Content": "{\n \"properties\": {\n \"virtualNetworkSubnetId\": \"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet2\"\n }\n}", "Headers": { }, "ContentHeaders": { @@ -484,9 +484,9 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/444b75d7-e999-40ab-8ab2-b92e9ea1e3a2?api-version=2017-12-01" ], + "Location": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/locations/eastus/operationResults/444b75d7-e999-40ab-8ab2-b92e9ea1e3a2?api-version=2017-12-01" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/444b75d7-e999-40ab-8ab2-b92e9ea1e3a2?api-version=2017-12-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/444b75d7-e999-40ab-8ab2-b92e9ea1e3a2?api-version=2017-12-01" ], "x-ms-request-id": [ "444b75d7-e999-40ab-8ab2-b92e9ea1e3a2" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1193" ], @@ -504,10 +504,10 @@ "Content": "{\"operation\":\"UpsertElasticServerVnetFirewallRule\",\"startTime\":\"2020-07-24T07:29:16.323Z\"}" } }, - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/444b75d7-e999-40ab-8ab2-b92e9ea1e3a2?api-version=2017-12-01+5": { + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/444b75d7-e999-40ab-8ab2-b92e9ea1e3a2?api-version=2017-12-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/444b75d7-e999-40ab-8ab2-b92e9ea1e3a2?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/locations/eastus/azureAsyncOperation/444b75d7-e999-40ab-8ab2-b92e9ea1e3a2?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "13", "14" ], @@ -544,10 +544,10 @@ "Content": "{\"name\":\"444b75d7-e999-40ab-8ab2-b92e9ea1e3a2\",\"status\":\"Succeeded\",\"startTime\":\"2020-07-24T07:29:16.323Z\"}" } }, - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+6": { + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "13", "14", "15" ], @@ -580,13 +580,13 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet2\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBForMySQL/servers/virtualNetworkRules\"}" + "Content": "{\"properties\":{\"virtualNetworkSubnetId\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.Network/virtualNetworks/MySqlVNet/subnets/MysqlSubnet2\",\"ignoreMissingVnetServiceEndpoint\":false,\"state\":\"Ready\"},\"id\":\"/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet\",\"name\":\"mysqlvnet\",\"type\":\"Microsoft.DBForMySQL/servers/virtualNetworkRules\"}" } }, - "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+7": { + "Update-AzMySqlVirtualNetworkRule+[NoContext]+UpdateViaIdentityExpanded+$DELETE+https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01+7": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTest/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", + "RequestUri": "https://management.azure.com/subscriptions/7fec3109-5b78-4a24-b834-5d47d63e2596/resourceGroups/MySqlTestGroup/providers/Microsoft.DBForMySQL/servers/mysql-test-100/virtualNetworkRules/mysqlvnet?api-version=2017-12-01", "Content": null, "Headers": { "x-ms-unique-id": [ "16" ], diff --git a/src/MySql/test/env.json b/src/MySql/test/env.json index 41bd25ab7477..f98d16ad8afe 100644 --- a/src/MySql/test/env.json +++ b/src/MySql/test/env.json @@ -3,7 +3,7 @@ "flexibleSku": "Standard_B1ms", "serverName": "mysql-test-100", "flexibleServerName": "mysql-flexible-test-100", - "resourceGroup": "MySqlTest", + "resourceGroup": "MySqlTestGroup", "location": "eastus2euap", "firewallRuleName": "mysqlrule01", "serverName3": "mysql-test-100-3", diff --git a/src/MySql/test/localEnv.json b/src/MySql/test/localEnv.json index a4fccfc3ed04..301f1a752d03 100644 --- a/src/MySql/test/localEnv.json +++ b/src/MySql/test/localEnv.json @@ -12,7 +12,7 @@ "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", "serverName2": "mysql-test-100-2", "VNetName": "mysqlvnet", - "resourceGroup": "MySqlTest", + "resourceGroup": "MySqlTestGroup", "location": "eastus2euap", "Sku": "GP_Gen5_4" } diff --git a/src/MySql/test/utils.ps1 b/src/MySql/test/utils.ps1 index 2249728f519d..d8f4673eb8c1 100644 --- a/src/MySql/test/utils.ps1 +++ b/src/MySql/test/utils.ps1 @@ -26,7 +26,7 @@ function setupEnv() { # Create the test group write-host "start to create test group." - $resourceGroup = "MySqlTest" + $resourceGroup = "MySqlTestGroup" $location = "eastus2euap" $env.Add("resourceGroup", $resourceGroup) $env.Add("location", $location) From 43fcdeb17eb6569ce421bc497f3195b2495d8b28 Mon Sep 17 00:00:00 2001 From: Daeun Yim Date: Mon, 4 Jan 2021 15:56:17 -0800 Subject: [PATCH 47/51] customized server object for creation cmdlet --- src/MySql/custom/FlexibleServer.cs | 28 +++++++ .../custom/New-AzMySqlFlexibleServer.ps1 | 21 +---- src/MySql/docs/New-AzMySqlFlexibleServer.md | 76 ++++++------------- .../examples/New-AzMySqlFlexibleServer.md | 75 +++++------------- 4 files changed, 76 insertions(+), 124 deletions(-) create mode 100644 src/MySql/custom/FlexibleServer.cs diff --git a/src/MySql/custom/FlexibleServer.cs b/src/MySql/custom/FlexibleServer.cs new file mode 100644 index 000000000000..d35898629e5e --- /dev/null +++ b/src/MySql/custom/FlexibleServer.cs @@ -0,0 +1,28 @@ +namespace Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview +{ + using static Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Extensions; + using System.Security; + + /// Represents a server. + public partial class ServerAgitutoGenerated + { + private SecureString _SecuredPassword; + // The user password in secure string. Convert the secure string into plain text if necessary. + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.DoNotFormat] + public SecureString SecuredPassword {get => this._SecuredPassword; set => this._SecuredPassword = value;} + + private string _FirewallRuleName; + // The name of the firewall rule of the server + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.DoNotFormat] + public string FirewallRuleName {get => this._FirewallRuleName; set => this._FirewallRuleName = value;} + + private string _DatabaseName; + // The name of the default database created for the server + [Microsoft.Azure.PowerShell.Cmdlets.MySql.Origin(Microsoft.Azure.PowerShell.Cmdlets.MySql.PropertyOrigin.Inlined)] + [Microsoft.Azure.PowerShell.Cmdlets.MySql.DoNotFormat] + public string DatabaseName {get => this._DatabaseName; set => this._DatabaseName = value;} + + } +} \ No newline at end of file diff --git a/src/MySql/custom/New-AzMySqlFlexibleServer.ps1 b/src/MySql/custom/New-AzMySqlFlexibleServer.ps1 index b621e2fe64ce..0ca98f3deccc 100644 --- a/src/MySql/custom/New-AzMySqlFlexibleServer.ps1 +++ b/src/MySql/custom/New-AzMySqlFlexibleServer.ps1 @@ -304,24 +304,11 @@ process { # Create Firewallrules $FirewallRuleName = CreateFirewallRule $NetworkParameters - $Msg = " -`"databaseName`": `"$DEFAULT_DB_NAME`", -`"id`": `"/subscriptions/$($PSBoundParameters.SubscriptionId)/resourceGroups/$($PSBoundParameters.ResourceGroupName)/providers/Microsoft.DBForMySql/flexibleServers/$($PSBoundParameters.Name)`", -`"location`": `"$($PSBoundParameters.Location)`", -`"password`": `"$($PSBoundParameters.AdministratorLoginPassword)`", -`"resourceGroup`": `"$($PSBoundParameters.ResourceGroupName)`", -`"skuname`": `"$($PSBoundParameters.SkuName)`", -`"username`": `"$($PSBoundParameters.AdministratorLogin)`", -`"version`": `"$($PSBoundParameters.Version)`" -" - - If ($PSBoundParameters.ContainsKey('DelegatedSubnetArgumentSubnetArmResourceId')) { - $Msg += "`"subnetId`": `"$($PSBoundParameters.DelegatedSubnetArgumentSubnetArmResourceId)`"" + If (![string]::IsNullOrEmpty($FirewallRuleName)) { + $Server.FirewallRuleName = $FirewallRuleName } - ElseIf (![string]::IsNullOrEmpty($FirewallRuleName)) { - $Msg += "`"firewallName`": `"$FirewallRuleName`"" - } - Write-Host $Msg + $Server.DatabaseName = $DEFAULT_DB_NAME + $Server.SecuredPassword = $PSBoundParameters.AdministratorLoginPassword | ConvertTo-SecureString -AsPlainText -Force return $Server diff --git a/src/MySql/docs/New-AzMySqlFlexibleServer.md b/src/MySql/docs/New-AzMySqlFlexibleServer.md index 946bc30e9ed3..83563ca0f694 100644 --- a/src/MySql/docs/New-AzMySqlFlexibleServer.md +++ b/src/MySql/docs/New-AzMySqlFlexibleServer.md @@ -36,15 +36,9 @@ Resource group PowershellMySqlTest exists ? : True Creating MySQL server mysql-test in group MySqlTest... Your server mysql-test is using sku Standard_B1ms (Paid Tier). Please refer to https://aka.ms/mysql-pricing for pricing details - -"databaseName": "flexibleserverdb", -"id": "/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test", -"location": "westus2", -"password": "***************", -"resourceGroup": "MySqlTest", -"skuname": "Standard_B1ms", -"username": "mysqltest", -"version": "5.7" +Name Location SkuName SkuTier AdministratorLogin Version StorageProfileStorageMb +---- -------- ------- ------- ------------------ ------- ----------------------- +mysql-test West US 2 Standard_B1ms Burstable mysqltest 5.7 10240 ``` @@ -61,19 +55,19 @@ Creating MySQL server server00000000 in group group00000000... Your server mysql-test is using sku Standard_B1ms (Paid Tier). Please refer to https://aka.ms/mysql-pricing for pricing details Creating database flexibleserverdb... -"databaseName": "flexibleserverdb", -"id": "/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/group00000000/providers/Microsoft.DBForMySql/flexibleServers/server00000000", -"location": "westus2", -"password": "***************", -"resourceGroup": "group00000000", -"skuname": "Standard_B1ms", -"username": "seemlyHyena2", -"version": "5.7" +Name Location SkuName SkuTier AdministratorLogin Version StorageProfileStorageMb +---- -------- ------- ------- ------------------ ------- ----------------------- +mysql-test West US 2 Standard_B1ms Burstable mysqltest 5.7 10240 ``` This cmdlet creates MySql flexible server with default parameter values and provision the server inside a new virtual network and have a subnet delegated to the server. The default values of location is West US 2, Sku is Standard_B1ms, Sku tier is Burstable, and storage size is 10GiB. + +If you want to find the auto-generated password for your server, use ConvertFrom-SecureString to convert 'SecuredPassword' property to plain text. + +(E.g., $server.SecuredPassword | ConvertFrom-SecureString -AsPlainText) + ### Example 3: Create a new MySql flexible server with virtual network ```powershell PS C:\> $Vnet = 'vnetname' @@ -92,15 +86,9 @@ Creating MySQL server server00000000 in group PowershellMySqlTest... Your server server00000000 is using sku Standard_B1ms (Paid Tier). Please refer to https://aka.ms/mysql-pricing for pricing details Creating database flexibleserverdb... -"databaseName": "flexibleserverdb", -"id": "/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test", -"location": "westus2", -"password": "***************", -"resourceGroup": "PowershellMySqlTest", -"skuname": "Standard_B1ms", -"username": "seemlyHyena2", -"version": "5.7" -"subnetId": "/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/PowershellMySqlTest/providers/Microsoft.Network/virtualNetwork/vnetname/subnets/Subnetserver00000000" +Name Location SkuName SkuTier AdministratorLogin Version StorageProfileStorageMb +---- -------- ------- ------- ------------------ ------- ----------------------- +mysql-test West US 2 Standard_B1ms Burstable mysqltest 5.7 10240 ``` @@ -118,15 +106,9 @@ Creating MySQL server mysql-test in group PowershellMySqlTest... Your server mysql-test is using sku Standard_B1ms (Paid Tier). Please refer to https://aka.ms/mysql-pricing for pricing details Creating database flexibleserverdb... -"databaseName": "flexibleserverdb", -"id": "/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test", -"location": "westus2", -"password": "***************", -"resourceGroup": "PowershellMySqlTest", -"skuname": "Standard_B1ms", -"username": "seemlyHyena2", -"version": "5.7" -"subnetId": "/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/PowershellMySqlTest/providers/Microsoft.Network/virtualNetwork/mysql-vnet/subnets/mysql-subnet" +Name Location SkuName SkuTier AdministratorLogin Version StorageProfileStorageMb +---- -------- ------- ------- ------------------ ------- ----------------------- +mysql-test West US 2 Standard_B1ms Burstable mysqltest 5.7 10240 ``` @@ -143,15 +125,9 @@ Your server mysql-test is using sku Standard_B1ms (Paid Tier). Please refer to h Creating database flexibleserverdb... Configuring server firewall rule to accept connections from 0.0.0.0 to 255.255.255.255 -"databaseName": "flexibleserverdb", -"id": "/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test", -"location": "westus2", -"password": "***************", -"resourceGroup": "PowershellMySqlTest", -"skuname": "Standard_B1ms", -"username": "seemlyHyena2", -"version": "5.7" -"firewallName": "AllowAll_2020_00_00-00_00-00-00" +Name Location SkuName SkuTier AdministratorLogin Version StorageProfileStorageMb +---- -------- ------- ------- ------------------ ------- ----------------------- +mysql-test West US 2 Standard_B1ms Burstable mysqltest 5.7 10240 ``` This cmdlet creates MySql flexible server open to all IP addresses. @@ -166,15 +142,9 @@ Your server mysql-test is using sku Standard_B1ms (Paid Tier). Please refer to h Creating database flexibleserverdb... Configuring server firewall rule to accept connections from 10.10.10.10 to 10.10.10.12 -"databaseName": "flexibleserverdb", -"id": "/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test", -"location": "westus2", -"password": "***************", -"resourceGroup": "PowershellMySqlTest", -"skuname": "Standard_B1ms", -"username": "seemlyHyena2", -"version": "5.7" -"firewallName": "FirewallIPAddress__2020_00_00-00_00-00-00" +Name Location SkuName SkuTier AdministratorLogin Version StorageProfileStorageMb +---- -------- ------- ------- ------------------ ------- ----------------------- +mysql-test West US 2 Standard_B1ms Burstable mysqltest 5.7 10240 ``` diff --git a/src/MySql/examples/New-AzMySqlFlexibleServer.md b/src/MySql/examples/New-AzMySqlFlexibleServer.md index 5498dd490ea8..417eede91cff 100644 --- a/src/MySql/examples/New-AzMySqlFlexibleServer.md +++ b/src/MySql/examples/New-AzMySqlFlexibleServer.md @@ -8,19 +8,12 @@ Resource group PowershellMySqlTest exists ? : True Creating MySQL server mysql-test in group MySqlTest... Your server mysql-test is using sku Standard_B1ms (Paid Tier). Please refer to https://aka.ms/mysql-pricing for pricing details - -"databaseName": "flexibleserverdb", -"id": "/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test", -"location": "westus2", -"password": "***************", -"resourceGroup": "MySqlTest", -"skuname": "Standard_B1ms", -"username": "mysqltest", -"version": "5.7" +Name Location SkuName SkuTier AdministratorLogin Version StorageProfileStorageMb +---- -------- ------- ------- ------------------ ------- ----------------------- +mysql-test West US 2 Standard_B1ms Burstable mysqltest 5.7 10240 ``` - ### Example 2: Create a new MySql flexible server with default setting ```powershell PS C:\> New-AzMySqlFlexibleServer @@ -32,17 +25,15 @@ Creating MySQL server server00000000 in group group00000000... Your server mysql-test is using sku Standard_B1ms (Paid Tier). Please refer to https://aka.ms/mysql-pricing for pricing details Creating database flexibleserverdb... -"databaseName": "flexibleserverdb", -"id": "/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/group00000000/providers/Microsoft.DBForMySql/flexibleServers/server00000000", -"location": "westus2", -"password": "***************", -"resourceGroup": "group00000000", -"skuname": "Standard_B1ms", -"username": "seemlyHyena2", -"version": "5.7" +Name Location SkuName SkuTier AdministratorLogin Version StorageProfileStorageMb +---- -------- ------- ------- ------------------ ------- ----------------------- +mysql-test West US 2 Standard_B1ms Burstable mysqltest 5.7 10240 ``` This cmdlet creates MySql flexible server with default parameter values and provision the server inside a new virtual network and have a subnet delegated to the server. The default values of location is West US 2, Sku is Standard_B1ms, Sku tier is Burstable, and storage size is 10GiB. +If you want to find the auto-generated password for your server, use ConvertFrom-SecureString to convert 'SecuredPassword' property to plain text. +(E.g., $server.SecuredPassword | ConvertFrom-SecureString -AsPlainText) + ### Example 3: Create a new MySql flexible server with virtual network ```powershell PS C:\> $Vnet = 'vnetname' @@ -61,15 +52,9 @@ Creating MySQL server server00000000 in group PowershellMySqlTest... Your server server00000000 is using sku Standard_B1ms (Paid Tier). Please refer to https://aka.ms/mysql-pricing for pricing details Creating database flexibleserverdb... -"databaseName": "flexibleserverdb", -"id": "/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test", -"location": "westus2", -"password": "***************", -"resourceGroup": "PowershellMySqlTest", -"skuname": "Standard_B1ms", -"username": "seemlyHyena2", -"version": "5.7" -"subnetId": "/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/PowershellMySqlTest/providers/Microsoft.Network/virtualNetwork/vnetname/subnets/Subnetserver00000000" +Name Location SkuName SkuTier AdministratorLogin Version StorageProfileStorageMb +---- -------- ------- ------- ------------------ ------- ----------------------- +mysql-test West US 2 Standard_B1ms Burstable mysqltest 5.7 10240 ``` This cmdlet creates MySql flexible server with vnet id or vnet name provided by a user. If the virtual network doesn't exist, the cmdlet creates one. @@ -85,15 +70,9 @@ Creating MySQL server mysql-test in group PowershellMySqlTest... Your server mysql-test is using sku Standard_B1ms (Paid Tier). Please refer to https://aka.ms/mysql-pricing for pricing details Creating database flexibleserverdb... -"databaseName": "flexibleserverdb", -"id": "/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test", -"location": "westus2", -"password": "***************", -"resourceGroup": "PowershellMySqlTest", -"skuname": "Standard_B1ms", -"username": "seemlyHyena2", -"version": "5.7" -"subnetId": "/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/PowershellMySqlTest/providers/Microsoft.Network/virtualNetwork/mysql-vnet/subnets/mysql-subnet" +Name Location SkuName SkuTier AdministratorLogin Version StorageProfileStorageMb +---- -------- ------- ------- ------------------ ------- ----------------------- +mysql-test West US 2 Standard_B1ms Burstable mysqltest 5.7 10240 ``` This cmdlet creates MySql flexible server with vnet name, subnet name, vnet prefix, and subnet prefix. If the virtual network and subnet don't exist, the cmdlet creates one. @@ -108,15 +87,9 @@ Your server mysql-test is using sku Standard_B1ms (Paid Tier). Please refer to h Creating database flexibleserverdb... Configuring server firewall rule to accept connections from 0.0.0.0 to 255.255.255.255 -"databaseName": "flexibleserverdb", -"id": "/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test", -"location": "westus2", -"password": "***************", -"resourceGroup": "PowershellMySqlTest", -"skuname": "Standard_B1ms", -"username": "seemlyHyena2", -"version": "5.7" -"firewallName": "AllowAll_2020_00_00-00_00-00-00" +Name Location SkuName SkuTier AdministratorLogin Version StorageProfileStorageMb +---- -------- ------- ------- ------------------ ------- ----------------------- +mysql-test West US 2 Standard_B1ms Burstable mysqltest 5.7 10240 ``` This cmdlet creates MySql flexible server open to all IP addresses. @@ -130,15 +103,9 @@ Your server mysql-test is using sku Standard_B1ms (Paid Tier). Please refer to h Creating database flexibleserverdb... Configuring server firewall rule to accept connections from 10.10.10.10 to 10.10.10.12 -"databaseName": "flexibleserverdb", -"id": "/subscriptions/00000000-0000-0000-0000-0000000000/resourceGroups/PowershellMySqlTest/providers/Microsoft.DBForMySql/flexibleServers/mysql-test", -"location": "westus2", -"password": "***************", -"resourceGroup": "PowershellMySqlTest", -"skuname": "Standard_B1ms", -"username": "seemlyHyena2", -"version": "5.7" -"firewallName": "FirewallIPAddress__2020_00_00-00_00-00-00" +Name Location SkuName SkuTier AdministratorLogin Version StorageProfileStorageMb +---- -------- ------- ------- ------------------ ------- ----------------------- +mysql-test West US 2 Standard_B1ms Burstable mysqltest 5.7 10240 ``` This cmdlet creates MySql flexible server open to specified IP addresses. From 8e5d27003d7c16142d671b979022f753ec804731 Mon Sep 17 00:00:00 2001 From: Daeun Yim <69321306+DaeunYim@users.noreply.github.com> Date: Mon, 4 Jan 2021 16:47:45 -0800 Subject: [PATCH 48/51] Update FlexibleServer.cs Fixed typo --- src/MySql/custom/FlexibleServer.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MySql/custom/FlexibleServer.cs b/src/MySql/custom/FlexibleServer.cs index d35898629e5e..ed2cc3a02214 100644 --- a/src/MySql/custom/FlexibleServer.cs +++ b/src/MySql/custom/FlexibleServer.cs @@ -4,7 +4,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20200701Preview using System.Security; /// Represents a server. - public partial class ServerAgitutoGenerated + public partial class ServerAutoGenerated { private SecureString _SecuredPassword; // The user password in secure string. Convert the secure string into plain text if necessary. @@ -25,4 +25,4 @@ public partial class ServerAgitutoGenerated public string DatabaseName {get => this._DatabaseName; set => this._DatabaseName = value;} } -} \ No newline at end of file +} From a746aadf61a0afb1734863ff8629709081d2aeb9 Mon Sep 17 00:00:00 2001 From: Daeun Yim Date: Tue, 5 Jan 2021 10:50:49 -0800 Subject: [PATCH 49/51] dynamically assign a server name for live testing --- src/MySql/test/utils.ps1 | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/MySql/test/utils.ps1 b/src/MySql/test/utils.ps1 index d8f4673eb8c1..2fa6edb2c874 100644 --- a/src/MySql/test/utils.ps1 +++ b/src/MySql/test/utils.ps1 @@ -35,8 +35,16 @@ function setupEnv() { #[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] $password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force $serverName = "mysql-test-100" - $env.Add("serverName", $serverName) $flexibleServerName = "mysql-flexible-test-100" + if ($TestMode -eq 'live') { + $serverName = "server" + $flexibleServerName = "flexibleserver" + for($i = 0; $i -lt 10; $i++){ + $serverName += Get-Random -Maximum 10 + $flexibleServerName += Get-Random -Maximum 10 + } + } + $env.Add("serverName", $serverName) $env.Add("flexibleServerName", $flexibleServerName) $Sku = "GP_Gen5_4" $FlexibleSku = "Standard_B1ms" From 75ceac8b76e16d63f1d2ca633170983a9a53ad27 Mon Sep 17 00:00:00 2001 From: Daeun Yim Date: Tue, 5 Jan 2021 21:07:36 -0800 Subject: [PATCH 50/51] dynamically assign live test variables --- src/MySql/test/utils.ps1 | 76 +++++++++++++++++++++++++--------------- 1 file changed, 47 insertions(+), 29 deletions(-) diff --git a/src/MySql/test/utils.ps1 b/src/MySql/test/utils.ps1 index 2fa6edb2c874..909f340a1e66 100644 --- a/src/MySql/test/utils.ps1 +++ b/src/MySql/test/utils.ps1 @@ -13,43 +13,61 @@ function setupEnv() { $env.SubscriptionId = (Get-AzContext).Subscription.Id $env.Tenant = (Get-AzContext).Tenant.Id # For any resources you created for test, you should add it to $env here. - $env.Add("serverName2", "mysql-test-100-2") - $env.Add("serverName3", "mysql-test-100-3") - $env.Add("restoreName", "mysql-test-100-restore") - $env.Add("restoreName2", "mysql-test-100-restore-2") - $env.Add("replicaName", "mysql-test-100-replica") - $env.Add("firewallRuleName", "mysqlrule01") - $env.Add("firewallRuleName2", "mysqlrule02") - $env.Add("databaseName", "mysqldb") - $env.Add("VNetName", "mysqlvnet") - $env.Add("SubnetName", "mysql-test-subnet") - - # Create the test group - write-host "start to create test group." $resourceGroup = "MySqlTestGroup" $location = "eastus2euap" - $env.Add("resourceGroup", $resourceGroup) - $env.Add("location", $location) - New-AzResourceGroup -Name $resourceGroup -Location $location - - #[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] - $password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force $serverName = "mysql-test-100" $flexibleServerName = "mysql-flexible-test-100" + $serverName = "mysql-test-100-2" + $serverName = "mysql-test-100-3" + $restoreName = "mysql-test-100-restore" + $restoreName2 = "mysql-test-100-restore-2" + $replicaName = "mysql-test-100-replica" + $firewallRuleName = "mysqlrule01" + $firewallRuleName = "mysqlrule02" + $databaseName = "mysqldb" + $VNetName = "mysqlvnet" + $SubnetName = "mysql-test-subnet" + $Sku = "GP_Gen5_4" + $FlexibleSku = "Standard_B1ms" if ($TestMode -eq 'live') { - $serverName = "server" - $flexibleServerName = "flexibleserver" - for($i = 0; $i -lt 10; $i++){ - $serverName += Get-Random -Maximum 10 - $flexibleServerName += Get-Random -Maximum 10 - } + $PowershellPrefix = "powershell-pipeline-mysql-" + $RandomNumbers = "" + for($i = 0; $i -lt 10; $i++){ $RandomNumbers += Get-Random -Maximum 10 } + $serverName = $PowershellPrefix + "server" + $RandomNumbers + $serverName2 = $PowershellPrefix + "2-flexibleserver" + $RandomNumbers + $serverName3 = $PowershellPrefix + "3-flexibleserver" + $RandomNumbers + $flexibleServerName = $PowershellPrefix + "flexibleserver" + $RandomNumbers + $resourceGroup = $PowershellPrefix + "group" + $RandomNumbers + $restoreName = $PowershellPrefix + "restore-server" + $RandomNumbers + $restoreName2 = $PowershellPrefix + "2-restore-server" + $RandomNumbers + $restoreName = $PowershellPrefix + "replica-server" + $RandomNumbers + $firewallRuleName = $PowershellPrefix + "firewallrule" + $RandomNumbers } + $env.Add("serverName", $serverName) $env.Add("flexibleServerName", $flexibleServerName) - $Sku = "GP_Gen5_4" - $FlexibleSku = "Standard_B1ms" + $env.Add("serverName2", $serverName2) + $env.Add("serverName3", $serverName3) + $env.Add("restoreName", $restoreName) + $env.Add("restoreName2", $restoreName2) + $env.Add("replicaName", $replicaName) + $env.Add("firewallRuleName", $firewallRuleName) + $env.Add("firewallRuleName2", $firewallRuleName2) + $env.Add("databaseName", $databaseName) + $env.Add("VNetName", $VNetName) + $env.Add("SubnetName", $SubnetName) $env.Add("Sku", $Sku) $env.Add("flexibleSku", $FlexibleSku) + $env.Add("resourceGroup", $resourceGroup) + $env.Add("location", $location) + + # Create the test group + write-host "start to create test group." + New-AzResourceGroup -Name $resourceGroup -Location $location + + #[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] + $password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force + # Create the test Vnet write-host "Deploy Vnet template" New-AzDeployment -Mode Incremental -TemplateFile .\test\deployment-templates\virtual-network\template.json -TemplateParameterFile .\test\deployment-templates\virtual-network\parameters.json -Name vn -ResourceGroupName $resourceGroup @@ -59,8 +77,8 @@ function setupEnv() { write-host "New-AzMySqlServer -Name $serverName -ResourceGroupName $resourceGroup -Location $location -AdministratorUserName mysql_test -AdministratorLoginPassword $password -Sku $Sku" New-AzMySqlServer -Name $serverName -ResourceGroupName $resourceGroup -Location $location -AdministratorUserName mysql_test -AdministratorLoginPassword $password -Sku $Sku - write-host "New-AzMySqlFlexibleServer -Name $flexibleServerName -ResourceGroupName $resourceGroup -AdministratorUserName mysql_test -AdministratorLoginPassword $password -PubclicAccess all -Location eastus2euap" - New-AzMySqlFlexibleServer -Name $flexibleServerName -ResourceGroupName $resourceGroup -AdministratorUserName mysql_test -AdministratorLoginPassword $password -PublicAccess all -Location eastus2euap + write-host "New-AzMySqlFlexibleServer -Name $flexibleServerName -ResourceGroupName $resourceGroup -AdministratorUserName mysql_test -AdministratorLoginPassword $password -PublicAccess all -Location $location" + New-AzMySqlFlexibleServer -Name $flexibleServerName -ResourceGroupName $resourceGroup -AdministratorUserName mysql_test -AdministratorLoginPassword $password -PublicAccess all -Location $location $envFile = 'env.json' if ($TestMode -eq 'live') { From 3ebe5c8ee7c63720ef1931a8fa34c3623f5ef0dc Mon Sep 17 00:00:00 2001 From: Daeun Yim Date: Tue, 5 Jan 2021 21:28:01 -0800 Subject: [PATCH 51/51] if else case consistent --- ...lFlexibleServerLocationBasedCapability.ps1 | 10 +- .../custom/New-AzMySqlFlexibleServer.ps1 | 160 +++++++++--------- .../test/New-AzMySqlFlexibleServer.Tests.ps1 | 42 ++--- .../Remove-AzMySqlFlexibleServer.Tests.ps1 | 4 +- 4 files changed, 108 insertions(+), 108 deletions(-) diff --git a/src/MySql/custom/Get-AzMySqlFlexibleServerLocationBasedCapability.ps1 b/src/MySql/custom/Get-AzMySqlFlexibleServerLocationBasedCapability.ps1 index fe5009fa089c..465ac1394624 100644 --- a/src/MySql/custom/Get-AzMySqlFlexibleServerLocationBasedCapability.ps1 +++ b/src/MySql/custom/Get-AzMySqlFlexibleServerLocationBasedCapability.ps1 @@ -94,18 +94,18 @@ process { $SkusTiers = $Result[0].SupportedFlexibleServerEdition $TableResult = @() - ForEach ($Skus in $SkusTiers) { + foreach ($Skus in $SkusTiers) { $TierName = $Skus.Name - Try { + try { $Keys = $Skus.SupportedServerVersion[0].SupportedVcore - ForEach ($Key in $Keys) { + foreach ($Key in $Keys) { $NewEntry = New-Object -TypeName PSCustomObject -Property @{SKU=$Key.Name; Tier=$TierName; vCore=$Key.Vcore; Memory=$Key.SupportedMemoryPerVcoreMb} $TableResult += $NewEntry } } - Catch { - Throw "No SKU info for this location" + catch { + throw "No SKU info for this location" } } diff --git a/src/MySql/custom/New-AzMySqlFlexibleServer.ps1 b/src/MySql/custom/New-AzMySqlFlexibleServer.ps1 index 0ca98f3deccc..c6497b5d99a2 100644 --- a/src/MySql/custom/New-AzMySqlFlexibleServer.ps1 +++ b/src/MySql/custom/New-AzMySqlFlexibleServer.ps1 @@ -183,18 +183,18 @@ param( process { try { - If (!$PSBoundParameters.ContainsKey('Location')) { + if (!$PSBoundParameters.ContainsKey('Location')) { $PSBoundParameters.Location = 'westus2' } - If (!$PSBoundParameters.ContainsKey('AdministratorLoginPassword')) { + if (!$PSBoundParameters.ContainsKey('AdministratorLoginPassword')) { $Password = Get-GeneratePassword $PSBoundParameters.AdministratorLoginPassword = $Password | ConvertTo-SecureString -AsPlainText -Force } $PSBoundParameters.AdministratorLoginPassword = . "$PSScriptRoot/../utils/Unprotect-SecureString.ps1" $PSBoundParameters['AdministratorLoginPassword'] Import-Module -Name Az.Resources - If(!$PSBoundParameters.ContainsKey('ResourceGroupName')) { + if(!$PSBoundParameters.ContainsKey('ResourceGroupName')) { $PSBoundParameters.ResourceGroupName = Get-RandomNumbers -Prefix 'group' -Length 10 $Msg = "Creating Resource Group {0}..." -f $PSBoundParameters.ResourceGroupName Write-Host $Msg @@ -202,15 +202,15 @@ process { $null = New-AzResourceGroup -Name $PSBoundParameters.ResourceGroupName -Location $PSBoundParameters.Location -Force } } - Else { + else { $Msg = 'Checking the existence of the resource group {0} ...' -f $PSBoundParameters.ResourceGroupName Write-Host $Msg - Try { + try { $null = Get-AzResourceGroup -Name $PSBoundParameters.ResourceGroupName -ErrorAction Stop $Msg = 'Resource group {0} exists ? : True' -f $PSBoundParameters.ResourceGroupName Write-Host $Msg } - Catch { + catch { $Msg = 'Resource group {0} exists ? : False' -f $PSBoundParameters.ResourceGroupName Write-Host $Msg $Msg = "Creating Resource Group {0}..." -f $PSBoundParameters.ResourceGroupName @@ -222,19 +222,19 @@ process { } } - If (!$PSBoundParameters.ContainsKey('Name')) { + if (!$PSBoundParameters.ContainsKey('Name')) { $PSBoundParameters.Name = Get-RandomNumbers -Prefix 'server' -Length 10 } - If ($PSBoundParameters.ContainsKey('Sku')) { + if ($PSBoundParameters.ContainsKey('Sku')) { $PSBoundParameters.SkuName = $PSBoundParameters['Sku'] $null = $PSBoundParameters.Remove('Sku') } - Else { + else { $PSBoundParameters.SkuName = 'Standard_B1ms' } - If ($PSBoundParameters.ContainsKey('BackupRetentionDay')) { + if ($PSBoundParameters.ContainsKey('BackupRetentionDay')) { $PSBoundParameters.StorageProfileBackupRetentionDay = $PSBoundParameters['BackupRetentionDay'] $null = $PSBoundParameters.Remove('BackupRetentionDay') } @@ -242,7 +242,7 @@ process { $PSBoundParameters.StorageProfileBackupRetentionDay = 7 } - If ($PSBoundParameters.ContainsKey('StorageInMb')) { + if ($PSBoundParameters.ContainsKey('StorageInMb')) { $PSBoundParameters.StorageProfileStorageMb = $PSBoundParameters['StorageInMb'] $null = $PSBoundParameters.Remove('StorageInMb') } @@ -250,39 +250,39 @@ process { $PSBoundParameters.StorageProfileStorageMb = 10240 } - If (!$PSBoundParameters.ContainsKey('Version')) { + if (!$PSBoundParameters.ContainsKey('Version')) { $PSBoundParameters.Version = '5.7' } - If (!$PSBoundParameters.ContainsKey('SkuTier')) { + if (!$PSBoundParameters.ContainsKey('SkuTier')) { $PSBoundParameters.SkuTier = 'Burstable' } - If ($PSBoundParameters.ContainsKey('AdministratorUserName')) { + if ($PSBoundParameters.ContainsKey('AdministratorUserName')) { $PSBoundParameters.AdministratorLogin = $PSBoundParameters['AdministratorUserName'] $null = $PSBoundParameters.Remove('AdministratorUserName') } - Else { + else { $PSBoundParameters.AdministratorLogin = Get-RandomName } # Handling Vnet & Subnet $NetworkKeys = 'PublicAccess', 'Subnet', 'Vnet', 'SubnetPrefix', 'VnetPrefix' $NetworkParameters = @{} - ForEach($Key in $NetworkKeys){ - If ($PSBoundParameters.ContainsKey($Key)){ + foreach($Key in $NetworkKeys){ + if ($PSBoundParameters.ContainsKey($Key)){ $NetworkParameters[$Key] = $PSBoundParameters[$Key] $null = $PSBoundParameters.Remove($Key) } } $RequiredKeys = 'SubscriptionId', 'ResourceGroupName', 'Name', 'Location' - ForEach($Key in $RequiredKeys){ $NetworkParameters[$Key] = $PSBoundParameters[$Key] } + foreach($Key in $RequiredKeys){ $NetworkParameters[$Key] = $PSBoundParameters[$Key] } - If(!$NetworkParameters.ContainsKey('PublicAccess')){ + if(!$NetworkParameters.ContainsKey('PublicAccess')){ $VnetSubnetParameters = CreateNetworkResource $NetworkParameters $SubnetId = GetSubnetId $VnetSubnetParameters.ResourceGroupName $VnetSubnetParameters.VnetName $VnetSubnetParameters.SubnetName $PSBoundParameters.DelegatedSubnetArgumentSubnetArmResourceId = $SubnetId - If ([string]::IsNullOrEmpty($PSBoundParameters.DelegatedSubnetArgumentSubnetArmResourceId)) { + if ([string]::IsNullOrEmpty($PSBoundParameters.DelegatedSubnetArgumentSubnetArmResourceId)) { $null = $PSBoundParameters.Remove('DelegatedSubnetArgumentSubnetArmResourceId') } } @@ -304,7 +304,7 @@ process { # Create Firewallrules $FirewallRuleName = CreateFirewallRule $NetworkParameters - If (![string]::IsNullOrEmpty($FirewallRuleName)) { + if (![string]::IsNullOrEmpty($FirewallRuleName)) { $Server.FirewallRuleName = $FirewallRuleName } $Server.DatabaseName = $DEFAULT_DB_NAME @@ -325,7 +325,7 @@ function CreateNetworkResource($NetworkParameters) { # 1. Error Handling # Raise error when user passes values for both parameters if ($NetworkParameters.Containskey('Subnet') -And $NetworkParameters.ContainsKey('PublicAccess')) { - Throw "Incorrect usage : A combination of the parameters -Subnet and -PublicAccess is invalid. Use either one of them." + throw "Incorrect usage : A combination of the parameters -Subnet and -PublicAccess is invalid. Use either one of them." } # When address space parameters are passed, the only valid combination is : --vnet, --subnet, --vnet-address-prefix, --subnet-address-prefix @@ -333,39 +333,39 @@ function CreateNetworkResource($NetworkParameters) { if (($NetworkParameters.ContainsKey('VnetPrefix') -And !$NetworkParameters.ContainsKey('SubnetPrefix')) -Or (!$NetworkParameters.ContainsKey('VnetPrefix') -And $NetworkParameters.ContainsKey('SubnetPrefix')) -Or ($NetworkParameters.ContainsKey('VnetPrefix') -And $NetworkParameters.ContainsKey('SubnetPrefix') -And (!$NetworkParameters.ContainsKey('Vnet') -Or !$NetworkParameters.ContainsKey('Subnet')))){ - Throw "Incorrect usage : -Vnet, -Subnet, -VnetPrefix, -SubnetPrefix must be supplied together." + throw "Incorrect usage : -Vnet, -Subnet, -VnetPrefix, -SubnetPrefix must be supplied together." } } #Handle Vnet, Subnet scenario - If ($NetworkParameters.ContainsKey('Vnet') -Or $NetworkParameters.ContainsKey('Subnet')) { + if ($NetworkParameters.ContainsKey('Vnet') -Or $NetworkParameters.ContainsKey('Subnet')) { # Only the Subnet ID provided.. - If (!$NetworkParameters.ContainsKey('Vnet') -And $NetworkParameters.ContainsKey('Subnet')) { - If (IsValidSubnetId $NetworkParameters.Subnet) { + if (!$NetworkParameters.ContainsKey('Vnet') -And $NetworkParameters.ContainsKey('Subnet')) { + if (IsValidSubnetId $NetworkParameters.Subnet) { Write-Host "You have supplied a subnet Id. Verifying its existence..." $ParsedResult = ParseResourceId $NetworkParameters.Subnet $NetworkParameters.VnetName = $ParsedResult.VnetName $NetworkParameters.SubnetName = $ParsedResult.SubnetName $NetworkParameters.ResourceGroupName = $ParsedResult.ResourceGroupName $SubnetFlag = $true - Try { # Valid Subnet ID is provided + try { # Valid Subnet ID is provided $Subnet = Get-AzVirtualNetworkSubnetConfig -ResourceId $NetworkParameters.Subnet -ErrorAction Stop } - Catch { # Invalid subnet ID is provided, creating a new one. + catch { # Invalid subnet ID is provided, creating a new one. $SubnetFlag = $false Write-Host "The subnet doesn't exist. Creating the subnet" $Subnet = CreateVnetSubnet $NetworkParameters } - If ($SubnetFlag){ + if ($SubnetFlag){ $Delegations = Get-AzDelegation -Subnet $Subnet - If ($null -ne $Delegations){ # Valid but incorrect delegation - $Delegations | ForEach-Object {If ($PSItem.ServiceName -ne $DELEGATION_SERVICE_NAME) { + if ($null -ne $Delegations){ # Valid but incorrect delegation + $Delegations | ForEach-Object {if ($PSItem.ServiceName -ne $DELEGATION_SERVICE_NAME) { $Msg = "Can not use subnet with existing delegations other than {0}" -f $DELEGATION_SERVICE_NAME - Throw $Msg + throw $Msg }} } - Else { # Valid but no delegation + else { # Valid but no delegation $Vnet = Get-AzVirtualNetwork -ResourceGroupName $NetworkParameters.ResourceGroupName -Name $NetworkParameters.VnetName $Subnet = Get-AzVirtualNetworkSubnetConfig -Name $NetworkParameters.SubnetName -VirtualNetwork $Vnet $Subnet = Add-AzDelegation -Name $DELEGATION_SERVICE_NAME -ServiceName $DELEGATION_SERVICE_NAME -Subnet $Subnet @@ -373,12 +373,12 @@ function CreateNetworkResource($NetworkParameters) { } } } - Else { - Throw "The Subnet ID is not a valid form of resource id." + else { + throw "The Subnet ID is not a valid form of resource id." } } - ElseIf ($NetworkParameters.ContainsKey('Vnet') -And !$NetworkParameters.ContainsKey('Subnet')) { - If (IsValidVnetId $NetworkParameters.Vnet){ + elseif ($NetworkParameters.ContainsKey('Vnet') -And !$NetworkParameters.ContainsKey('Subnet')) { + if (IsValidVnetId $NetworkParameters.Vnet){ Write-Host "You have supplied a vnet Id. Verifying its existence..." IsValidRgLocation $NetworkParameters.Vnet $NetworkParameters $ParsedResult = ParseResourceId $NetworkParameters.Vnet @@ -386,34 +386,34 @@ function CreateNetworkResource($NetworkParameters) { $NetworkParameters.SubnetName = 'Subnet' + $NetworkParameters.Name $Subnet = CreateVnetSubnet $NetworkParameters } - ElseIf ($NetworkParameters.Vnet -Match $AZURE_ARMNAME) { + elseif ($NetworkParameters.Vnet -Match $AZURE_ARMNAME) { Write-Host "You have supplied a vnet Name. Verifying its existence..." $NetworkParameters.VnetName = $NetworkParameters.Vnet $NetworkParameters.SubnetName = 'Subnet' + $NetworkParameters.Name $Subnet = CreateVnetSubnet $NetworkParameters IsValidRgLocation $Subnet.Id $NetworkParameters } - Else { - Throw "Incorrectly formed Vnet id or Vnet name" + else { + throw "Incorrectly formed Vnet id or Vnet name" } } - Else { # Both Vnet and Subnet provided - IF ($NetworkParameters.Vnet -Match $AZURE_ARMNAME -And $NetworkParameters.Subnet -Match $AZURE_ARMNAME) { + else { # Both Vnet and Subnet provided + if ($NetworkParameters.Vnet -Match $AZURE_ARMNAME -And $NetworkParameters.Subnet -Match $AZURE_ARMNAME) { $NetworkParameters.VnetName = $NetworkParameters.Vnet $NetworkParameters.SubnetName = $NetworkParameters.Subnet $Subnet = CreateVnetSubnet $NetworkParameters } - Else { - If ($NetworkParameters.ContainsKey('SubnetPrefix') -And $NetworkParameters.ContainsKey('VnetPrefix')) { - $Msg = "If you pass an address prefix, please consider passing a name (instead of Id) for a subnet or vnet." + else { + if ($NetworkParameters.ContainsKey('SubnetPrefix') -And $NetworkParameters.ContainsKey('VnetPrefix')) { + $Msg = "if you pass an address prefix, please consider passing a name (instead of Id) for a subnet or vnet." } - Else { $Msg = "If you pass both --vnet and --subnet, consider passing names instead of ids." } - Throw $Msg + else { $Msg = "if you pass both --vnet and --subnet, consider passing names instead of ids." } + throw $Msg } } } # Handling create command without arguments - ElseIf (!$NetworkParameters.ContainsKey('PublicAccess') -And !$NetworkParameters.ContainsKey('Subnet') -And !$NetworkParameters.ContainsKey('Vnet')) { + elseif (!$NetworkParameters.ContainsKey('PublicAccess') -And !$NetworkParameters.ContainsKey('Subnet') -And !$NetworkParameters.ContainsKey('Vnet')) { $NetworkParameters.VnetName = 'VNET' + $NetworkParameters.Name $NetworkParameters.SubnetName = 'Subnet' + $NetworkParameters.Name $NetworkParameters.VnetPrefix = $DEFAULT_VNET_PREFIX @@ -425,22 +425,22 @@ function CreateNetworkResource($NetworkParameters) { } function GetSubnetId($ResourceGroupName, $VnetName, $SubnetName){ - If (!($ResourceGroupName -is [String])){ $ResourceGroupName = $ResourceGroupName[0]} + if (!($ResourceGroupName -is [String])){ $ResourceGroupName = $ResourceGroupName[0]} $Vnet = Get-AzVirtualNetwork -Name $VnetName -ResourceGroupName $ResourceGroupName $Subnet = Get-AzVirtualNetworkSubnetConfig -Name $SubnetName -VirtualNetwork $Vnet - Return $Subnet.Id + return $Subnet.Id } function CreateVnetSubnet($Parameters) { - If (!$Parameters.ContainsKey('SubnetPrefix')){$Parameters.SubnetPrefix = $DEFAULT_SUBNET_PREFIX} - If (!$Parameters.ContainsKey('VnetPrefix')){$Parameters.VnetPrefix = $DEFAULT_VNET_PREFIX} + if (!$Parameters.ContainsKey('SubnetPrefix')){$Parameters.SubnetPrefix = $DEFAULT_SUBNET_PREFIX} + if (!$Parameters.ContainsKey('VnetPrefix')){$Parameters.VnetPrefix = $DEFAULT_VNET_PREFIX} - Try { + try { Get-AzVirtualNetwork -Name $Parameters.VnetName -ResourceGroupName $Parameters.ResourceGroupName -ErrorAction Stop $Msg = "The provided vnet does exist." Write-Host $Msg } - Catch { + catch { $Msg = "Creating new vnet {0} in resource group {1}" -f $Parameters.VnetName, $Parameters.ResourceGroupName Write-Host $Msg if($PSCmdlet.ShouldProcess($Parameters.VnetName)) { @@ -450,36 +450,36 @@ function CreateVnetSubnet($Parameters) { $Subnet = CreateAndDelegateSubnet $Parameters - Return $Subnet + return $Subnet } function CreateAndDelegateSubnet($Parameters) { $SubnetFlag = $true $Vnet = Get-AzVirtualNetwork -Name $Parameters.VnetName -ResourceGroupName $Parameters.ResourceGroupName -ErrorAction Stop - Try { + try { $Subnet = Get-AzVirtualNetworkSubnetConfig -VirtualNetwork $Vnet -Name $Parameters.SubnetName -ErrorAction Stop $Msg = "The provided subnet does exist." Write-Host $Msg } - Catch { + catch { $SubnetFlag = $false $Msg = 'Creating new subnet {0} in resource group {1} and delegating it to {2}' -f $Parameters.SubnetName, $Parameters.ResourceGroupName, $DELEGATION_SERVICE_NAME Write-Host $Msg } - If (!$SubnetFlag) { + if (!$SubnetFlag) { $Delegation = New-AzDelegation -Name $DELEGATION_SERVICE_NAME -ServiceName $DELEGATION_SERVICE_NAME Add-AzVirtualNetworkSubnetConfig -Name $Parameters.SubnetName -VirtualNetwork $Vnet -AddressPrefix $Parameters.SubnetPrefix -Delegation $Delegation | Set-AzVirtualNetwork } - Else { # check if existing subnet is delegated + else { # check if existing subnet is delegated $Delegations = Get-AzDelegation -Subnet $Subnet - If ($null -ne $Delegations){ - $Delegations | ForEach-Object {If ($PSItem.ServiceName -ne $DELEGATION_SERVICE_NAME) { + if ($null -ne $Delegations){ + $Delegations | ForEach-Object {if ($PSItem.ServiceName -ne $DELEGATION_SERVICE_NAME) { $Msg = "Can not use subnet with existing delegations other than {0}" -f $DELEGATION_SERVICE_NAME - Throw $Msg + throw $Msg }} } - Else { # Valid but no delegation + else { # Valid but no delegation $Subnet = Add-AzDelegation -Name $DELEGATION_SERVICE_NAME -ServiceName $DELEGATION_SERVICE_NAME -Subnet $Subnet $Vnet | Set-AzVirtualNetwork } @@ -490,49 +490,49 @@ function CreateAndDelegateSubnet($Parameters) { function CreateFirewallRule($Parameters) { # # Adding firewall rule - If ($Parameters.ContainsKey('PublicAccess') -And $Parameters.PublicAccess.ToLower() -ne 'none') { + if ($Parameters.ContainsKey('PublicAccess') -And $Parameters.PublicAccess.ToLower() -ne 'none') { $Date = Get-Date -Format "yyyy-MM-dd_HH-mm-ss" - If ($Parameters.PublicAccess.ToLower() -eq 'all'){ + if ($Parameters.PublicAccess.ToLower() -eq 'all'){ $StartIp = '0.0.0.0' $EndIp = '255.255.255.255' $RuleName = "AllowAll_" + $Date $FirewallRule = New-AzMySqlFlexibleServerFirewallRule -Name $RuleName -ResourceGroupName $Parameters.ResourceGroupName -ServerName $Parameters.Name -EndIPAddress $EndIp -StartIPAddress $StartIp } - Else { + else { $Parsed = $Parameters.PublicAccess -split "-" - If ($Parsed.length -eq 1) { + if ($Parsed.length -eq 1) { $StartIp = $Parsed[0] $EndIp = $Parsed[0] } - ElseIf ($Parsed.length -eq 2) { + elseif ($Parsed.length -eq 2) { $StartIp = $Parsed[0] $EndIp = $Parsed[1] } - Else { Throw "incorrect usage: --public-access. Acceptable values are \'all\', \'none\',\'\' and \'-\' where startIP and destinationIP ranges from 0.0.0.0 to 255.255.255.255" } + else { throw "incorrect usage: --public-access. Acceptable values are \'all\', \'none\',\'\' and \'-\' where startIP and destinationIP ranges from 0.0.0.0 to 255.255.255.255" } - If ($StartIp -eq '0.0.0.0' -And $EndIp -eq '0.0.0.0') { + if ($StartIp -eq '0.0.0.0' -And $EndIp -eq '0.0.0.0') { $RuleName = "AllowAllAzureServicesAndResourcesWithinAzureIps_" + $Date $Msg = 'Configuring server firewall rule to accept connections from all Azure resources...' } - ElseIf ($StartIP -eq $EndIP) { + elseif ($StartIP -eq $EndIP) { $Msg = 'Configuring server firewall rule to accept connections from ' + $StartIP } - Else { + else { $Msg = 'Configuring server firewall rule to accept connections from {0} to {1}' -f $StartIP, $EndIp $RuleName = "FirewallIPAddress_" + $Date } Write-Host $Msg $FirewallRule = New-AzMySqlFlexibleServerFirewallRule -Name $RuleName -ResourceGroupName $Parameters.ResourceGroupName -ServerName $Parameters.Name -EndIPAddress $EndIp -StartIPAddress $StartIp } - Return $FirewallRule.Name + return $FirewallRule.Name } - ElseIf ($Parameters.ContainsKey('PublicAccess') -And $Parameters.PublicAccess.ToLower() -ne 'none') { + elseif ($Parameters.ContainsKey('PublicAccess') -And $Parameters.PublicAccess.ToLower() -ne 'none') { Write-Host "No firewall rule was set" } } function IsValidVnetId($Rid){ $VnetFormat = "\/subscriptions\/[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}\/resourceGroups\/[-\w\._\(\)]+\/providers\/Microsoft.Network\/virtualNetworks\/[^<>%&:\\?/]{1,260}$" - If ( $Rid -match $VnetFormat ) { + if ( $Rid -match $VnetFormat ) { return $True } return $False @@ -547,11 +547,11 @@ function IsValidSubnetId($Rid){ function ParseResourceId($Rid){ $Splits = $Rid -split "/" $ParsedResults = @{} - If ($Splits.length -gt 1){ + if ($Splits.length -gt 1){ $ParsedResults["SubscriptionId"] = $Splits[2] $ParsedResults["ResourceGroupName"] = $Splits[4] $ParsedResults["VnetName"] = $Splits[8] - If ($Splits.length -eq 11) { + if ($Splits.length -eq 11) { $ParsedResults["SubnetName"] = $Splits[10] } } @@ -562,10 +562,10 @@ function IsValidRgLocation($ResourceId, $Parameters){ $Group = Get-AzResourceGroup -Name $ParsedResults["ResourceGroupName"] $ParsedResults["Location"] = $Group.Location - If ($Parameters.SubscriptionId -eq $ParsedResults.SubscriptionId -And $Parameters.Location -eq $ParsedResults.Location) { - Return $True + if ($Parameters.SubscriptionId -eq $ParsedResults.SubscriptionId -And $Parameters.Location -eq $ParsedResults.Location) { + return $True } - Throw "Incorrect Usage : The location and subscription of the server, Vnet and Subnet should be same." + throw "Incorrect Usage : The location and subscription of the server, Vnet and Subnet should be same." } function Get-RandomNumbers($Prefix, $Length) { diff --git a/src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 b/src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 index 592162f1865a..8a0ea554c317 100644 --- a/src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 +++ b/src/MySql/test/New-AzMySqlFlexibleServer.Tests.ps1 @@ -16,8 +16,8 @@ $DELEGATION_SERVICE_NAME = "Microsoft.DBforMySQL/flexibleServers" $DEFAULT_VNET_PREFIX = '10.0.0.0/16' $DEFAULT_SUBNET_PREFIX = '10.0.0.0/24' -If ($TestMode -eq 'live' -or $TestMode -eq 'record') { - If (!(Get-Module -ListAvailable -Name Az.Network)) { +if ($TestMode -eq 'live' -or $TestMode -eq 'record') { + if (!(Get-Module -ListAvailable -Name Az.Network)) { Write-Host "Installing the network module to resolve any dependency issue." Install-Module -Name Az.Network } @@ -26,7 +26,7 @@ If ($TestMode -eq 'live' -or $TestMode -eq 'record') { Describe 'New-AzMySqlFlexibleServer' { function WaitServerDelete(){ - If ($TestMode -eq 'live' -or $TestMode -eq 'record') { + if ($TestMode -eq 'live' -or $TestMode -eq 'record') { Start-Sleep -Seconds 450 } } @@ -52,7 +52,7 @@ Describe 'New-AzMySqlFlexibleServer' { It 'CreateExpanded' { { - If ($TestMode -eq 'live' -or $TestMode -eq 'record') { + if ($TestMode -eq 'live' -or $TestMode -eq 'record') { # [SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] $password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force $server = New-AzMySqlFlexibleServer -Location $env.location -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -AdministratorUserName mysql_test -AdministratorLoginPassword $password -SkuTier GeneralPurpose -BackupRetentionDay 12 -StorageInMb 102400 -Location eastus2 @@ -65,7 +65,7 @@ Describe 'New-AzMySqlFlexibleServer' { It 'PublicAccessScenario-AllAzure' { { - If ($TestMode -eq 'live' -or $TestMode -eq 'record') { + if ($TestMode -eq 'live' -or $TestMode -eq 'record') { # Public Access 0.0.0.0 New-AzMySqlFlexibleServer -Location $env.location -ResourceGroupName $env.resourceGroup -Name $env.serverName2 -PublicAccess 0.0.0.0 $FirewallRules = Get-AzMySqlFlexibleServerFirewallRule -ResourceGroupName $env.resourceGroup -ServerName $env.serverName2 @@ -80,7 +80,7 @@ Describe 'New-AzMySqlFlexibleServer' { It 'PublicAccessScenario-FirewallRule' { { - If ($TestMode -eq 'live' -or $TestMode -eq 'record') { + if ($TestMode -eq 'live' -or $TestMode -eq 'record') { # Public Access 10.10.10.10-10.10.10.12 New-AzMySqlFlexibleServer -Location $env.location -ResourceGroupName $env.resourceGroup -Name $env.serverName3 -PublicAccess 10.10.10.10-10.10.10.12 $FirewallRules = Get-AzMySqlFlexibleServerFirewallRule -ResourceGroupName $env.resourceGroup -ServerName $env.serverName3 @@ -95,7 +95,7 @@ Describe 'New-AzMySqlFlexibleServer' { It 'PublicAccessScenario-AllowAll' { { - If ($TestMode -eq 'live' -or $TestMode -eq 'record') { + if ($TestMode -eq 'live' -or $TestMode -eq 'record') { # Public Access All New-AzMySqlFlexibleServer -Location $env.location -ResourceGroupName $env.resourceGroup -Name $env.serverName2 -PublicAccess All $FirewallRules = Get-AzMySqlFlexibleServerFirewallRule -ResourceGroupName $env.resourceGroup -ServerName $env.serverName2 @@ -110,7 +110,7 @@ Describe 'New-AzMySqlFlexibleServer' { It 'NoArgumentsScenario' { { - If ($TestMode -eq 'live' -or $TestMode -eq 'record') { + if ($TestMode -eq 'live' -or $TestMode -eq 'record') { $Server = New-AzMySqlFlexibleServer -Location $env.location $Splits = $Server.Id -Split "/" $ResourceGroupName = $Splits[4] @@ -144,7 +144,7 @@ Describe 'New-AzMySqlFlexibleServer' { It 'VnetNameScenario-ValidVnet' { { - If ($TestMode -eq 'live' -or $TestMode -eq 'record') { + if ($TestMode -eq 'live' -or $TestMode -eq 'record') { # valid vnet name and the vnet exists $Vnet = New-AzVirtualNetwork -Name $env.VNetName -ResourceGroupName $env.resourceGroup -Location $env.location -AddressPrefix $DEFAULT_VNET_PREFIX -Force $Server = New-AzMySqlFlexibleServer -Location $env.location -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Vnet $Vnet.Name @@ -158,7 +158,7 @@ Describe 'New-AzMySqlFlexibleServer' { It 'VnetNameScenario-ValidVnetNotExist' { { - If ($TestMode -eq 'live' -or $TestMode -eq 'record') { + if ($TestMode -eq 'live' -or $TestMode -eq 'record') { # valid vnet name but the vnet doesn't exist $Server = New-AzMySqlFlexibleServer -Location $env.location -Name $env.serverName3 -ResourceGroupName $env.resourceGroup -Vnet nonexistingvnetforpowershelltest @@ -170,7 +170,7 @@ Describe 'New-AzMySqlFlexibleServer' { } It 'VnetNameScenario-InvalidVnet' { - If ($TestMode -eq 'live' -or $TestMode -eq 'record') { + if ($TestMode -eq 'live' -or $TestMode -eq 'record') { { # invalid vnet name $InvalidName = "hi/df!@$@#$@" @@ -182,7 +182,7 @@ Describe 'New-AzMySqlFlexibleServer' { It 'VnetIdScenario-ValidVnet' { { - If ($TestMode -eq 'live' -or $TestMode -eq 'record') { + if ($TestMode -eq 'live' -or $TestMode -eq 'record') { # valid vnet Id but the vnet doesn't exist $VnetId = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.Network/virtualNetworks/nonexistingvnetforpowershelltest" $Server = New-AzMySqlFlexibleServer -Location $env.location -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Vnet $VnetId @@ -196,7 +196,7 @@ Describe 'New-AzMySqlFlexibleServer' { It 'VnetIdScenario-ValidVnetNotExist' { { - If ($TestMode -eq 'live' -or $TestMode -eq 'record') { + if ($TestMode -eq 'live' -or $TestMode -eq 'record') { # valid vnet Id and the vnet exists (subnet does not exist) $Vnet = New-AzVirtualNetwork -Name $env.VNetName -ResourceGroupName $env.resourceGroup -Location $env.Location -AddressPrefix $DEFAULT_VNET_PREFIX -Force $Server = New-AzMySqlFlexibleServer -Location $env.location -Name $env.serverName3 -ResourceGroupName $env.resourceGroup -Vnet $Vnet.Id @@ -209,7 +209,7 @@ Describe 'New-AzMySqlFlexibleServer' { } It 'VnetIdScenario-InvalidVnet' { - If ($TestMode -eq 'live' -or $TestMode -eq 'record') { + if ($TestMode -eq 'live' -or $TestMode -eq 'record') { { # invalid vnet Id $VnetId = "/subscriptions/00000-000-000000000000/resourceGroups/providers/Microsoft.Network/virtualNetworks/Vnet/Wrong/Vnet/itis" @@ -220,7 +220,7 @@ Describe 'New-AzMySqlFlexibleServer' { It 'SubnetIdScenario-ValidSubnet' { { - If ($TestMode -eq 'live' -or $TestMode -eq 'record') { + if ($TestMode -eq 'live' -or $TestMode -eq 'record') { # valid subnet Id and the subnet exists without delegation $Subnet = New-AzVirtualNetworkSubnetConfig -Name $env.SubnetName -AddressPrefix $DEFAULT_SUBNET_PREFIX New-AzVirtualNetwork -Name $env.VNetName -ResourceGroupName $env.resourceGroup -Location $env.location -AddressPrefix $DEFAULT_VNET_PREFIX -Subnet $Subnet -Force @@ -235,7 +235,7 @@ Describe 'New-AzMySqlFlexibleServer' { It 'SubnetIdScenario-ValidSubnetDifferentRg' { { - If ($TestMode -eq 'live' -or $TestMode -eq 'record') { + if ($TestMode -eq 'live' -or $TestMode -eq 'record') { # valid subnet Id and the subnet exists without delegation, different resource group New-AzResourceGroup -Name MySqlTest2 -Location $env.location $Subnet = New-AzVirtualNetworkSubnetConfig -Name $env.SubnetName -AddressPrefix $DEFAULT_SUBNET_PREFIX @@ -261,7 +261,7 @@ Describe 'New-AzMySqlFlexibleServer' { It 'SubnetIdScenario-ValidSubnetDelegation' { { - If ($TestMode -eq 'live' -or $TestMode -eq 'record') { + if ($TestMode -eq 'live' -or $TestMode -eq 'record') { # valid subnet Id and the subnet exists with delegation $Subnet = New-AzVirtualNetworkSubnetConfig -Name $env.SubnetName -AddressPrefix $DEFAULT_SUBNET_PREFIX $Vnet = New-AzVirtualNetwork -Name $env.VNetName -ResourceGroupName $env.resourceGroup -Location $env.location -AddressPrefix $DEFAULT_VNET_PREFIX -Subnet $Subnet -Force @@ -278,7 +278,7 @@ Describe 'New-AzMySqlFlexibleServer' { It 'SubnetIdScenario-ValidSubnetNotExist' { { - If ($TestMode -eq 'live' -or $TestMode -eq 'record') { + if ($TestMode -eq 'live' -or $TestMode -eq 'record') { # valid subnet Id but the subnet doesn't exist $SubnetId = "/subscriptions/$($env.SubscriptionId)/resourceGroups/$($env.resourceGroup)/providers/Microsoft.Network/virtualNetworks/nonexistingvnetforpowershelltest/subnets/nonexistingsubnetforpowershelltest" $Server = New-AzMySqlFlexibleServer -Location $env.location -Name $env.serverName3 -ResourceGroupName $env.resourceGroup -Subnet $SubnetId @@ -290,7 +290,7 @@ Describe 'New-AzMySqlFlexibleServer' { } It 'SubnetIdScenario-InvalidSubnet' { - If ($TestMode -eq 'live' -or $TestMode -eq 'record') { + if ($TestMode -eq 'live' -or $TestMode -eq 'record') { { # invalid subnet Id $SubnetId = "/subscriptions/00000-000-000000000000/resourceGroups/providers/Microsoft.Network/VirtualNetworks/Wrong/subnetss/wrong" @@ -313,7 +313,7 @@ Describe 'New-AzMySqlFlexibleServer' { It 'VnetSubnetScenario-ValidVnetSubnetNotExist' { { - If ($TestMode -eq 'live' -or $TestMode -eq 'record') { + if ($TestMode -eq 'live' -or $TestMode -eq 'record') { # vnet name and subnet name resource do not exist $Server = New-AzMySqlFlexibleServer -Location $env.location -Name $env.serverName3 -ResourceGroupName $env.resourceGroup -Vnet $env.VNetName -Subnet $env.SubnetName -VnetPrefix $DEFAULT_VNET_PREFIX -SubnetPrefix $DEFAULT_SUBNET_PREFIX @@ -325,7 +325,7 @@ Describe 'New-AzMySqlFlexibleServer' { It 'VnetSubnetScenario-ValidVnetSubnet' { { - If ($TestMode -eq 'live' -or $TestMode -eq 'record') { + if ($TestMode -eq 'live' -or $TestMode -eq 'record') { # vnet name and subnet name, resource exist $Server = New-AzMySqlFlexibleServer -Location $env.location -Name $env.serverName2 -ResourceGroupName $env.resourceGroup -Vnet $env.VNetName -Subnet $env.SubnetName diff --git a/src/MySql/test/Remove-AzMySqlFlexibleServer.Tests.ps1 b/src/MySql/test/Remove-AzMySqlFlexibleServer.Tests.ps1 index dd60359fce2b..d085d34a106d 100644 --- a/src/MySql/test/Remove-AzMySqlFlexibleServer.Tests.ps1 +++ b/src/MySql/test/Remove-AzMySqlFlexibleServer.Tests.ps1 @@ -16,7 +16,7 @@ while(-not $mockingPath) { Describe 'Remove-AzMySqlFlexibleServer' { It 'Delete' { { - If ($TestMode -eq 'live' -or $TestMode -eq 'record') { + if ($TestMode -eq 'live' -or $TestMode -eq 'record') { #[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] $password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force New-AzMySqlFlexibleServer -Location $env.location -ResourceGroupName $env.resourceGroup -Name $env.serverName2 -AdministratorUserName mysql_test -AdministratorLoginPassword $password @@ -27,7 +27,7 @@ Describe 'Remove-AzMySqlFlexibleServer' { It 'DeleteViaIdentity' { { - If ($TestMode -eq 'live' -or $TestMode -eq 'record') { + if ($TestMode -eq 'live' -or $TestMode -eq 'record') { #[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")] $password = 'Pasword01!!2020' | ConvertTo-SecureString -AsPlainText -Force New-AzMySqlFlexibleServer -Location $env.location -ResourceGroupName $env.resourceGroup -Name $env.serverName2 -AdministratorUserName mysql_test -AdministratorLoginPassword $password